All of lore.kernel.org
 help / color / mirror / Atom feed
* issue with the quota match
@ 2005-03-28 17:14 Borja Pacheco
  2005-03-29  8:51 ` Pablo Neira
  0 siblings, 1 reply; 4+ messages in thread
From: Borja Pacheco @ 2005-03-28 17:14 UTC (permalink / raw)
  To: Netfilter-Devel

Hi all,

I've tried the quota extension and I have a big question about it,
because the module and the kernel counter doesn't agree with the packets
number that have traversed the interfaces...

Here it's the example I tried:


In a first moment I insert a rule with an initial quota of 1000 bytes...
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0           quota: 1000 bytes

Next, I generate packets and here it's the amazing result....
    8   448 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0           quota: 712 bytes

Theoretically, 1000 assigned bytes minus total traffic generated (448
bytes), must originate the remaining quota the rule has: 552. 
BUT IT SAYS 712 BYTES!!!!!

What's wrong????


Thanks in advance for your clarifications.
Best regards.

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

end of thread, other threads:[~2005-04-03 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28 17:14 issue with the quota match Borja Pacheco
2005-03-29  8:51 ` Pablo Neira
2005-03-29 15:53   ` Brad Fisher
2005-04-03 18:20     ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.