All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borja Pacheco <bpacheco@acisa.es>
To: Netfilter-Devel <netfilter-devel@lists.netfilter.org>
Subject: issue with the quota match
Date: Mon, 28 Mar 2005 19:14:15 +0200	[thread overview]
Message-ID: <1112030055.6205.23.camel@localhost> (raw)

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.

             reply	other threads:[~2005-03-28 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-28 17:14 Borja Pacheco [this message]
2005-03-29  8:51 ` issue with the quota match Pablo Neira
2005-03-29 15:53   ` Brad Fisher
2005-04-03 18:20     ` 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=1112030055.6205.23.camel@localhost \
    --to=bpacheco@acisa.es \
    --cc=netfilter-devel@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 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.