From: Dave Taht <dave.taht@gmail.com>
To: cerowrt-devel@lists.bufferbloat.net
Subject: [Cerowrt-devel] dealing with nat and the crc issue I'd had
Date: Mon, 4 Feb 2013 08:46:24 -0800 [thread overview]
Message-ID: <CAA93jw7NQ9vGy3bRx1pxFgi0GoXPuauQcemeAyQv6sgQD0gQSg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]
It turns out to save on cpu and deal with some broken clients,
conttrack doesn't checksum by default. I just turned it back on.
echo 1 > /proc/sys/net/netfilter/nf_conntrack_checksum
echo 1 > /proc/sys/net/ipv4/netfilter/ip_conntrack_checksum
I think leaving it on is a good idea and will probably do so in
a follow on release, but am open to opinions.
AND:
I think this is a bug in cero on larger networks. I have seen in the field
timeouts (far) lower than 3600, and I think the rfc is 7200, and I have no
idea
why I put this in there... except that I used to (before I switched to mosh)
maintain a lot of long running ssh sessions.
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=432000
One behavior I've been battling, has been "after a while", a given radio
would be able to forward packets around the internal network just fine.
But: frequently you can get stuff through the gateway, but after a couple
hops
things would fail to return, so I first suspected crc (which I'm mostly
putting
down to the tcpdump tool not the network right now), then nat. So I can
see the above value exausting the nat table...
going to get rid of the double-nat today or tomorrow
--
Dave Täht
Fixing bufferbloat with cerowrt:
http://www.teklibre.com/cerowrt/subscribe.html
[-- Attachment #2: Type: text/html, Size: 1508 bytes --]
reply other threads:[~2013-02-04 16:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA93jw7NQ9vGy3bRx1pxFgi0GoXPuauQcemeAyQv6sgQD0gQSg@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=cerowrt-devel@lists.bufferbloat.net \
/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