A parte -m u32
da linha de comando especifica o módulo. A parte --u32
especifica a expressão real. Então, a sintaxe que você está procurando é:
iptables -A INPUT -p tcp --dport 1000 -m u32 ! --u32 "xxxxxxxxxxx=0x11" -j REJECT
Veja também as páginas do manual iptables-extensions , trecho abaixo:
u32
U32 tests whether quantities of up to 4 bytes extracted from a
packet have specified values. The specification of what to
extract is general enough to find data at given offsets from
tcp headers or payloads.
[!] --u32 tests
The argument amounts to a program in a small language described below.