From: Michael <micolous@gmail.com>
To: netfilter@vger.kernel.org
Subject: Re: PREROUTING table and quota
Date: Fri, 14 Nov 2008 12:41:31 +1030 [thread overview]
Message-ID: <1226628691.3932.5.camel@localhost.localdomain> (raw)
In-Reply-To: <491C5FCE.9060001@plouf.fr.eu.org>
Hi,
On Thu, 2008-11-13 at 18:11 +0100, Pascal Hambourg wrote:
> Michael a écrit :
> > I'm having some issues using the quota module in the PREROUTING table.
>
> There is no such table. Do you mean the PREROUTING _chain_ in the 'nat'
> table ?
Yes.
> > As far as I can tell, not all packets are actually hitting my quota
> > rules. Instead only new connections seem to be managed correctly -
> > subsequent and return packets are unaffected, and thus uncounted.
>
> This looks like the normal behaviour of the 'nat' table.
Okay. Thanks for the clarification.
So I will have to implement some rules in the filter table. As far as I
can tell, though, the only way to share a quota counter between rules in
the nat table and filter table is to implement it in userspace. Is this
correct?
Thanks,
--michael
next prev parent reply other threads:[~2008-11-14 2:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 12:15 PREROUTING table and quota Michael
2008-11-13 17:11 ` Pascal Hambourg
2008-11-14 2:11 ` Michael [this message]
2008-11-14 10:15 ` Pascal Hambourg
2008-11-15 2:06 ` Alternate routing table and source IP address question bsilva
2008-11-15 11:57 ` Pascal Hambourg
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=1226628691.3932.5.camel@localhost.localdomain \
--to=micolous@gmail.com \
--cc=netfilter@vger.kernel.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