H
H
HawK2017-04-02 11:57:41
Mikrotik
HawK, 2017-04-02 11:57:41

How can u32 functionality be implemented in RouterOS?

iptables -t raw -A PREROUTING -p tcp --sport 443 -m u32 --u32 "0x4=0x00010000 && 0x20&0xFFFF0000=0x50040000" -m comment --comment "Rostelecom HTTPS" -j DROP

iptables has a u32 module that takes 4 bytes starting at a given offset (Start), applies a mask (Mask) and compares with the result (Result). "Start&Mask=Result".
Is there any way in RouterOS to implement such a task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2017-04-02
@CityCat4

RouterOS does not allow you to work with the raw table. At all. Of course, you can ask around on the Mikrotik forum - they did IKEv2 in the end :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question