Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Justinas Bedžinskas" <justasb@patikimi.lt>
To: netfilter@lists.netfilter.org
Subject: problem with expire patch
Date: Wed, 28 Sep 2005 12:48:01 +0300	[thread overview]
Message-ID: <1127900881.15747.4.camel@biesas> (raw)

I have compiled 2.6.12 kernel with iptables expire support, I also have
recompiled iptables with expire support. 
And I encounter a strange problem with time

xxx:/home/digis#modprobe ipt_expire
xxx:/home/digis#/usr/local/sbin/iptables -t nat -A POSTROUTING -m expire
--expiration +30 -o eth1 -j MASQUERADE

Then I wait more than 30 seconds....

xxx:/home/digis#/usr/local/sbin/iptables -t nat -L
Chain PREROUTING (policy ACCEPT)


Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere            expires in
-2s


and it keeps counting...
What I am doing wrong?





-- 
Justinas Bedzinskas <justasb@patikimi.lt>
"Patikimi Sprendimai"



                 reply	other threads:[~2005-09-28  9:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1127900881.15747.4.camel@biesas \
    --to=justasb@patikimi.lt \
    --cc=netfilter@lists.netfilter.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