netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Iptables + quota patch
@ 2008-10-16  6:15 osu
  0 siblings, 0 replies; only message in thread
From: osu @ 2008-10-16  6:15 UTC (permalink / raw)
  To: netfilter

Hi!
We are temporary using quota patch to account out traffic.
But the reply from iptables is somewhere strange, for example, i 
consequently ask for current rule, and receive different --quota state,
it jumps from 23964119 bytes to 28167287 and back in undefined order, 
however in the left column the ammount of sended bytes remains constant.
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 23964119 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 28167287 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 28167287 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 28167287 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 23964119 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 28167287 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 23964119 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 28167287 -j ACCEPT
pastor@UProxy:/root/firewall$ sudo iptables-save -c | grep 130.84
[11332:7111480] -A OUTPUT -s 130.130.130.57/32 -d 130.130.130.84/32 -m 
quota --quota 28167287 -j ACCEPT

PS please don't pay attention to subnets and sorry for my english
p.f.

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

only message in thread, other threads:[~2008-10-16  6:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-16  6:15 Iptables + quota patch osu

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).