netdev
[Top] [All Lists]

[RFC] Options for ECN target

To: netfilter-devel@xxxxxxxxxxxxxxxxxxx
Subject: [RFC] Options for ECN target
From: Harald Welte <laforge@xxxxxxxxxxxx>
Date: Tue, 6 Aug 2002 08:35:41 +0200
Cc: netdev@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.3.17i
Hi!

Some time ago I've written an ECN target for the iptables mangle table. 
It has now undergone some final bugfixes and I intend to submit it to
the kernel.

The main goal of this target is to be able to selectively work around 
known ECN blackholes rather than disabling ECN for the whole host using
"echo 0 > /proc/sys/net/ipv4/tcp_ecn".

There is one question left: How much flexibility do we want to give the user?

The ECN target currently allows:

--ecn-tcp-remove        Remove CWR+ECE bits from TCP header. Should be used
                        on TCP syn packets to prevent ECN negotiation

--ecn-ip-ect [0..3]     Allows arbitrary setting of the ECT codepoint
--ecn-tcp-cwr [0|1]     Allows setting or clearing the TCP CWR bit
--ecn-tcp-ece [0|1]     Allows setting or clearing the TCP ECE bit


The first option is necessarry and is the primary use of the target.
The last three options are more experimental and would allow somebody
to play with 'simulated congestion' by setting the ECT in IP, etc.

However, this is potentially very dangerous and I'm not sure if it was
a good idea to give this power directly to the user.  

Do you suggest removing the last three options and just keep the 
--ecn-tcp-remove ?

Thanks for your assistance,

-- 
Live long and prosper
- Harald Welte / laforge@xxxxxxxxxxxx               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

Attachment: pgpo18JlpbhkZ.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>