CONNTRACK problem

Ethy H. Brito
Wed, 21 Dec 2005 17:04:29 -0000

Hi All

Take a look and please tell what is wrong:

root@prensa:~# $IPT -t mangle -F PREROUTING
root@prensa:~# $IPT -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables: No chain/target/match by that name
root@prensa:~# $IPT -t mangle -A PREROUTING -j CONNMARK
iptables v1.3.4: CONNMARK target: No operation specified
Try `iptables -h'' or ''iptables --help'' for more
information.

root@prensa:~# strings /usr/lib/iptables/libipt_CONNMARK.so | grep restore
restore-mark
CONNMARK restore
--restore-mark
  --restore-mark [--mask mask]  Restore saved nfmark value
CONNMARK target: Can''t specify --restore-mark twice

root@prensa:~# iptables -j CONNMARK -h

bla bla bla

CONNMARK target v1.3.4 options:
  --set-mark value[/mask]       Set conntrack mark value
  --save-mark [--mask mask]     Save the packet nfmark in the connection
  --restore-mark [--mask mask]  Restore saved nfmark value

Thanks in advance

Regards

--

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3941-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \