netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: Re: [netfilter-core] Bug on conntrack?]
@ 2009-11-19 16:03 alex
  2009-11-19 16:17 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: alex @ 2009-11-19 16:03 UTC (permalink / raw)
  To: netfilter-devel


 Hy i'm trying to add a rule in firewall but i receive this error:

 iptables v1.4.2: conntrack: Bad value for "--expires" option: "1:1000"
 Try `iptables -h' or 'iptables --help' for more information.
 iptables v1.4.2: conntrack: Bad value for "--expires" option: "1:1000"
 Try `iptables -h' or 'iptables --help' for more information.

 The lines that i want to add are:
 $IPTABLES -A RST_LOOP_OUT -d $IP_LOOP -p tcp --sport $PORT_LOOP
--tcp-flags ALL PSH,ACK -m conntrack --ctexpire 1:1000 -j REJECT
--reject-with tcp-reset

 $IPTABLES -A RST_LOOP_OUT -d $IP_LOOP -p tcp --sport $PORT_LOOP
--tcp-flags ALL FIN,PSH,ACK -j REJECT -m conntrack --ctexpire 1:1000
--reject-with tcp-reset

 If  i give a single value to --ctexpire it works (ex: --ctexpire 1 ) I've
searched on google a lot of days but without any result. could you help
me? Thank's






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-19 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-19 16:03 [Fwd: Re: [netfilter-core] Bug on conntrack?] alex
2009-11-19 16:17 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).