Skip to contentSkip to conversation

2.6.9 NAT problem

DISCUSSION Bodo Eggert 2 participants 2 messages Dec 21, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · Bill Davidsen
Quoted 4 lines · Antonio Pérez

add this:
echo 0 > /proc/sys/net/ipv4/tcp_bic
echo 0 > /proc/sys/net/ipv4/tcp_ecn
echo 0 > /proc/sys/net/ipv4/tcp_vegas_conf_avoid

Quoted 5 lines

I've seen this and similar advice for other problems, and have disabled=

ecn for several systems with networking ailments myself. Would it be better to have some of these off by default rather than have multiple versions of these problems appear into the future?

Disabeling ecn is a workaround for b0rken firewalls and may result in using more bandwidth than nescensary. If disabeling ecn helps, dump the firewall and get something that supports basic internet standards (or ask the owner to do this).

#3 lore raw
Quoted 17 lines · Bodo Eggert
Quoted 8 lines · Bill Davidsen
Quoted 4 lines · Antonio Pérez

add this:
echo 0 > /proc/sys/net/ipv4/tcp_bic
echo 0 > /proc/sys/net/ipv4/tcp_ecn
echo 0 > /proc/sys/net/ipv4/tcp_vegas_conf_avoid

Quoted 5 lines

I've seen this and similar advice for other problems, and have disabled=

ecn for several systems with networking ailments myself. Would it be better to have some of these off by default rather than have multiple versions of these problems appear into the future?

Quoted 5 lines

Disabeling ecn is a workaround for b0rken firewalls and may result in using more bandwidth than nescensary. If disabeling ecn helps, dump the firewall and get something that supports basic internet standards (or ask the owner to do this).

Like many other parameters, ecn can improve performance but may result in a non-functional network. Based on that I still think it's better for the default to be "works" and use of ecn or other tuning parameters such as reducing timeouts should be "tuning" instead.

Adding a few printk's seems to show that ecn is not so common that it needs to be on by default. I suspect that the main use of ecn code is in fighting with those broken routers and firewalls rather than improving performance.

Signature · 3 lines
   -bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me