[LARTC] CONNTRACK problem

Ethy H. Brito ethy.brito at inexo.com.br
Wed Dec 21 18:04:29 CET 2005


Hi All

Take a look and please tell what is wrong:

root at prensa:~# $IPT -t mangle -F PREROUTING                   
root at prensa:~# $IPT -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables: No chain/target/match by that name
root at 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 at 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 at 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   / \ 


More information about the LARTC mailing list