Linux Netfilter discussions
 help / color / mirror / Atom feed
* problem with expire patch
@ 2005-09-28  9:48 Justinas Bedžinskas
  0 siblings, 0 replies; only message in thread
From: Justinas Bedžinskas @ 2005-09-28  9:48 UTC (permalink / raw)
  To: netfilter

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"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-28  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28  9:48 problem with expire patch Justinas Bedžinskas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox