Re: How to use mark and connmark in one rule

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

 



that should be 2 separate lines.. stupid email

iptables -A INPUT -m mark --mark 1

iptables -A INPUT -m connmark --mark 2



Brian Austin - Standard Universal wrote:
to do this would be faster than patching and etc..

iptables -A INPUT -m mark --mark 1 iptables -A INPUT -m connmark --mark 2

regards

Brian


Tino Keitel wrote:
Hi folks,

when I try to use the mark and connmark extensions in one rule, I get
an error:

$ iptables -A INPUT -m mark --mark 1 -m connmark --mark 2
iptables v1.4.2: mark: "--mark" option may only be specified once

Is this intended? If not, is there a way to make this work with a stock
iptables, or do I have to patch the source and rename one of the
options?

Regards,

--
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
--
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