From b903703d7f0853f7fc6bed630658d361c06acc16 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 17 Jan 2005 18:12:49 +0000 Subject: [PATCH] Update ECN Documentation to reflect kernel bug git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1907 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-docs2/ECN.xml | 44 ++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/Shorewall-docs2/ECN.xml b/Shorewall-docs2/ECN.xml index 41f930244..3d90d9d7d 100644 --- a/Shorewall-docs2/ECN.xml +++ b/Shorewall-docs2/ECN.xml @@ -15,7 +15,7 @@ - 2003-03-28 + 2005-01-17 2001 @@ -24,6 +24,8 @@ 2003 + 2005 + Thomas M. Eastep @@ -33,17 +35,24 @@ 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover, and with no Back-Cover Texts. A copy of the license is included in the section entitled - GNU Free Documentation License. + GNU Free Documentation + License. + + 2006-01-17. The ECN Netfilter target in recent 2.6 Linux Kernels is + broken. Symptoms are that you will be unable to establish a TCP connection + to hosts defined in the /etc/shorewall/ecn file. + +
Explicit Congestion Notification (ECN) Explicit Congestion Notification (ECN) is described in RFC 3168 and is a proposed internet standard. Unfortunately, not all sites support ECN - and when a TCP connection offering ECN is sent to sites that don't - support it, the result is often that the connection request is ignored. + and when a TCP connection offering ECN is sent to sites that don't support + it, the result is often that the connection request is ignored. To allow ECN to be used, Shorewall allows you to enable ECN on your Linux systems then disable it in your firewall when the destination @@ -51,7 +60,7 @@ You enable ECN by - echo 1 > /proc/sys/net/ipv4/tcp_ecn + echo 1 > /proc/sys/net/ipv4/tcp_ecn You must arrange for that command to be executed at system boot. Most distributions have a method for doing that -- on RedHat, you make an @@ -85,8 +94,29 @@ Your external interface is eth0 and you want to disable ECN for tcp connections to 192.0.2.0/24: - /etc/shorewall/ecnINTERFACEHOST(S)eth0192.0.2.0/24
+ + /etc/shorewall/ecn + + + + + INTERFACE + + HOST(S) + + + + + + eth0 + + 192.0.2.0/24 + + + +
+ + \ No newline at end of file