Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Thomas Jacob <jacob@internet24.de>
To: netfilter@lists.netfilter.org
Subject: Re: netfilter optimization.
Date: Sun, 26 Aug 2007 01:21:24 +0200	[thread overview]
Message-ID: <20070825232124.GA26316@internet24.de> (raw)
In-Reply-To: <20070825225837.GA26251@internet24.de>

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

Ehm, you're original question was about
setting conntrack values :-)

Originally you couldn't change the hash bucket 
number after the ipt_conntrack module had been loaded,
you needed to do that at load time (for
instance through /etc/sysctl.cnf), but
I gather that current netfilter versions
allow changing the number of hash buckets
at runtime through:

/sys/module/ip_conntrack/parameters/hashsize

Setting #hash buckets=conntrack max should be
fine that's what we do as well.

Maybe you want to carefully reduce some of
the /proc/sys/net/ipv4/netfilter/ip_conntrack_*timeout* parameters
to reduce the number of entries in the connection
tracking hash.



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2007-08-25 23:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-25 17:38 netfilter optimization Gary W. Smith
2007-08-25 17:57 ` Leonardo Rodrigues Magalhães
2007-08-25 18:51   ` Gary W. Smith
2007-08-25 22:58     ` Thomas Jacob
2007-08-25 23:21       ` Thomas Jacob [this message]
2007-08-25 23:29         ` Gary W. Smith
2007-08-26  0:03         ` Gary W. Smith
2007-08-26 10:58           ` Thomas Jacob
2007-08-26 20:27             ` Gary W. Smith
2007-08-27 16:48             ` David Lang
2007-08-25 23:27       ` Gary W. Smith
     [not found] <200708252302.l7PN2U2S011637@mail3.jubileegroup.co.uk>
2007-08-26  7:38 ` G.W. Haywood

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=20070825232124.GA26316@internet24.de \
    --to=jacob@internet24.de \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox