Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Place for ipt_ACCOUNT/ipt_NETFLOW
Date: Mon, 07 Feb 2011 10:20:45 -0600	[thread overview]
Message-ID: <4D501BDD.5000108@riverviewtech.net> (raw)
In-Reply-To: <4D4F9735.6080006@linux.vnet.ibm.com>

On 02/07/11 00:54, Srinivasa T N wrote:
> This will double the number of rules a packet has to traverse (One rule
> for accounting and one rule for accept). Is there are other alternative?

I'd have to see an example of your rules to say for sure...

I'm using the counters of the number of packets / bytes that are matched 
by the rule for accounting.  I'm not adding any additional rules.

Further, you can engineer your rule structure so that the fewest rules / 
tests per rule are traverse by the largest number of packets.



Grant. . . .

      reply	other threads:[~2011-02-07 16:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03  8:50 Place for ipt_ACCOUNT/ipt_NETFLOW Srinivasa T N
2011-02-03 16:55 ` Bob Miller
2011-02-04  5:25   ` Srinivasa T N
2011-02-03 20:18 ` Grant Taylor
2011-02-04  5:22   ` Srinivasa T N
2011-02-05  3:38     ` Grant Taylor
2011-02-07  6:54       ` Srinivasa T N
2011-02-07 16:20         ` Grant Taylor [this message]

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=4D501BDD.5000108@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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