Shorewall doesn’t create the correct rule when using MARK(range) in mangle

Trying the following rule: 

MARK(0x100-0x200/0xff00)        10.0.0.0/8      0.0.0.0/0

fails with error:
Bad argument `0x100/0xff00'
Error occurred at line: 90
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
   ERROR: iptables-restore Failed. Input is in 
/var/lib/shorewall/.iptables-restore-input

The rule created is "-A tcpre -s 10.0.0.0/8 -m statistic --mode nth --every 2 
--packet 0 -j MARK 0x100/0xff00”

Its missing —set-mark after -j MARK directive

Thanks,

Hesham
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to