From: "John Ratliff" <jratliff@bluemarble.net>
To: netfilter@vger.kernel.org
Subject: nf_conntrack_max
Date: Wed, 31 Aug 2016 18:15:55 -0400 [thread overview]
Message-ID: <000e01d203d5$3e576d00$bb064700$@bluemarble.net> (raw)
What are the implications of raising net.ipv4.netfilter.ip_conntrack_max?
I have a pair of firewalls in an active/passive failover setup (using
keepalived and conntrackd) that I want to use to NAT several services
behind. When I added DNS yesterday, I quickly exceeded the default 65536
value. It never appeared to exceed 85000, so I simply doubled it for the
time being.
When I was reading about this online, there were many suggestions for
putting DNS servers outside the firewall. I am ambivalent about this
solution. It will work, but it will require me to duplicate many rules from
my main firewall to the packet filter on the individual DNS servers that I
Would prefer not be duplicated.
Would there be a serious performance penalty to simply raising the
conntrack_max value to 256k, 512k, or 1024k? Is it best to try and avoid
large connection tracking tables like this? I do not know what my average
table would be, but I would expect 100k from the data I have so far.
Thanks.
--John
next reply other threads:[~2016-08-31 22:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-31 22:15 John Ratliff [this message]
2016-08-31 22:47 ` nf_conntrack_max /dev/rob0
2016-09-01 10:59 ` nf_conntrack_max Pablo Neira Ayuso
2016-09-01 15:18 ` nf_conntrack_max zrm
2016-09-01 17:05 ` nf_conntrack_max /dev/rob0
2016-09-02 15:05 ` nf_conntrack_max John Ratliff
2016-09-03 18:47 ` nf_conntrack_max John Ratliff
2016-09-05 9:33 ` nf_conntrack_max Pablo Neira Ayuso
2016-09-05 13:28 ` nf_conntrack_max /dev/rob0
2016-09-02 6:27 ` nf_conntrack_max André Paulsberg-Csibi (IBM Consultant)
2016-09-02 14:47 ` nf_conntrack_max zrm
2016-09-05 8:40 ` nf_conntrack_max André Paulsberg-Csibi (IBM Consultant)
2016-09-05 16:21 ` nf_conntrack_max zrm
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='000e01d203d5$3e576d00$bb064700$@bluemarble.net' \
--to=jratliff@bluemarble.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