Troubles with MARK target in 2.6.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have troubles with "-j MARK --set-xmark" combination in mangle table. Particulary, I want set one bit in nf mark by means, say, --set-xmark 0x10/0x10, and it worked in kernels from at least 2.6.24 up to the last in 2.6.27.

I use: iptables -t mangle -A POSTROUTING -o eth1 -d 192.168.37.0/24 -j MARK --set-xmark 0x10/0x10

and get:

iptables v1.4.2: Unknown arg `(null)'
Try `iptables -h' or 'iptables --help' for more information.

When I try --or-mark, iptables says that my "kernel too old for --or-mark"

Same thing happens with -j CONNMARK.

Can someone advise what to do, I really need to set only one bit without altering the rest of the mark.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux