netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: alex@dhost.ro
To: netfilter-devel@vger.kernel.org
Subject: [Fwd: Re: [netfilter-core] Bug on conntrack?]
Date: Thu, 19 Nov 2009 18:03:01 +0200	[thread overview]
Message-ID: <422110e23c4d48d73c9162967345ea58.squirrel@mail.dhost.ro> (raw)


 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






             reply	other threads:[~2009-11-19 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 16:03 alex [this message]
2009-11-19 16:17 ` [Fwd: Re: [netfilter-core] Bug on conntrack?] Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=422110e23c4d48d73c9162967345ea58.squirrel@mail.dhost.ro \
    --to=alex@dhost.ro \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).