From: Thomas Jacob <jacob@internet24.de>
To: netfilter@lists.netfilter.org
Subject: Re: netfilter optimization.
Date: Sun, 26 Aug 2007 12:58:55 +0200 [thread overview]
Message-ID: <20070826105855.GB15249@internet24.de> (raw)
In-Reply-To: <57F9959B46E0FA4D8BA88AEDFBE5829024F4BC@pxtbenexd01.pxt.primeexalia.com>
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
> net.netfilter.nf_conntrack_max=1048576
> net.netfilter.nf_conntrack_buckets=1048576
>
> But it only does for nf_conntrack_max. I did overwrite it by going to
> /sys/modules/nf_conntrack/parameters/hashsize and it did take it on the
> second try. The first time it complained about file descriptors. The
> second time it seemed to set it, which I verified by looking at
> /proc/sys/net/netfilter/nf_conntrack_buckets.
>
> Is there a way to set this on startup?
Oh yes sorry, you can't set it in sysctl.conf then, since the
module must probably already be loaded if you can use that. Try
the module load parameters instead (options ip_conntrack hashsize=XXXX
in /etc/modprobe.d/somefile worked in older kernels).
I am actually just patching the numbers in to the kernel version myself,
since I don't want to have a module-based kernel on my firewall box.
Thomas
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2007-08-26 10:58 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
2007-08-25 23:29 ` Gary W. Smith
2007-08-26 0:03 ` Gary W. Smith
2007-08-26 10:58 ` Thomas Jacob [this message]
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=20070826105855.GB15249@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