From: James Sneeringer <james+netfilter@vincentsystems.com>
To: NetFilter List <netfilter@lists.netfilter.org>
Subject: Re: "CE" - Where's the snot?
Date: Sun, 25 Jul 2004 00:26:24 -0500 [thread overview]
Message-ID: <20040725052624.GA31277@valjean.si.ocslink.com> (raw)
In-Reply-To: <1090700564.10960.2.camel@dchws.tqmcube.com>
On Sat, Jul 24, 2004 at 04:22:44PM -0400, David Cary Hart wrote:
> Jul 24 16:21:01 mail kernel: - Firewall: IN=eth0 OUT=
> MAC=00:4f:4e:12:f9:93:00:09:5b:c9:37:54:08:00 SRC=68.236.163.19 D
> ST=192.168.0.31 LEN=41 TOS=00 PREC=0x00 TTL=126 ID=59477 CE DF PROTO=TCP
> SPT=4694 DPT=135 SEQ=4252944646 ACK=3536024229 WIND
> OW=64320 ACK URGP=0
>
> Note the "CE" just in front of "DF" = Congestion Experienced
Sounds like ECN, Explicit Congestion Notification. CE is one of the bits
it can set. Linux has had support for it for some time, but it's a
compile-time option that's disabled by default because not all firewalls
understand it, and many won't deal with ECN negotiation properly. If you
have a /proc/sys/net/ipv4/tcp_ecn, then your kernel supports ECN. If
tcp_ecn is set to 1, it's turned on (which is the default if you compile
it in).
The remote source, 68.236.163.19, is either the host you were speaking to,
or some router along the way, and it was trying to notify you that the
path between you and them might be congested.
http://www.faqs.org/rfcs/rfc2481.html
http://www.faqs.org/rfcs/rfc3168.html
It's complicated, but if this was traffic you were going to drop anyway,
it's not worth worrying about. If ECN caused you to incorrectly drop the
packet, there's an ECN match and target in the stock kernel you might find
useful, though you might need to recompile to get them
(CONFIG_IP_NF_MATCH_ECN and CONFIG_IP_NF_TARGET_ECN).
-James
prev parent reply other threads:[~2004-07-25 5:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 15:15 "CE" - Where's the snot? David Cary Hart
2004-07-24 15:44 ` Antony Stone
2004-07-24 20:22 ` David Cary Hart
2004-07-24 20:37 ` Antony Stone
2004-07-24 20:55 ` David Cary Hart
2004-07-24 21:12 ` Antony Stone
2004-07-25 2:15 ` Bob Hockney
2004-07-25 5:26 ` James Sneeringer [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=20040725052624.GA31277@valjean.si.ocslink.com \
--to=james+netfilter@vincentsystems.com \
--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