Networking Forums

Networking Forums > Computer Networking > Linux Networking > ECN and websites, how to turn if off selectively

Reply
Thread Tools Display Modes

ECN and websites, how to turn if off selectively

 
 
H. S.
Guest
Posts: n/a

 
      12-13-2003, 10:37 PM
Hi,

I noticed that after compiling a recent kernel (made some changes to the
config file) I wasn't able to reach some websites, eg:
http://www.simpleware.co.uk/

After some extensive search (took a while since I wasn't sure exactly
where the problem is), I found out that the ECN option (echo 1 >
/proc/sys/net/ipv4/tcp_ecn) is still not treated well by some websites.
As soon as I turned ECN off in my firewall(echo 0 >
/proc/sys/net/ipv4/tcp_ecn), those sites were accessible.

So, till all the websites conform to this specification, will I have to
keep ECN turned off, or is there a way to selectively turn off ECN for
particular websites only?

I am using 2.4.22-i386 custom compiled kernel on Debian (Sarge).

thanks,
->HS
--
(Please remove all underscores from my email address to get the correct
one. Apologies for the inconvenience, but this is to reduce spam.)

 
Reply With Quote
 
 
 
 
Rich Piotrowski
Guest
Posts: n/a

 
      12-14-2003, 03:21 AM
On Sat, 13 Dec 2003 18:37:08 -0500, H. S. wrote:

> Hi,
>
> I noticed that after compiling a recent kernel (made some changes to the
> config file) I wasn't able to reach some websites, eg:
> http://www.simpleware.co.uk/
>
> After some extensive search (took a while since I wasn't sure exactly
> where the problem is), I found out that the ECN option (echo 1 >
> /proc/sys/net/ipv4/tcp_ecn) is still not treated well by some websites.
> As soon as I turned ECN off in my firewall(echo 0 >
> /proc/sys/net/ipv4/tcp_ecn), those sites were accessible.
>
> So, till all the websites conform to this specification, will I have to
> keep ECN turned off, or is there a way to selectively turn off ECN for
> particular websites only?
>
> I am using 2.4.22-i386 custom compiled kernel on Debian (Sarge).
>
> thanks,
> ->HS


Yes there is. Here is one way in my crude fashion. This assumes that the
ipt_ECN module exists.


############## start #################

#!/bin/bash
#
for IP in \
192.208.45.167 \
129.253.170.30 \
198.175.96.226 \
63.77.98.76 \
80.68.34.2 \
210.210.19.110 \
216.61.164.89 \
216.23.181.230 \
63.127.20.35 \
195.92.247.210 \
216.61.164.68 \
216.23.181.202 \
208.152.64.44 \
216.23.181.147 \
208.152.64.40 \
65.161.188.152 \
198.175.96.225 \
198.175.96.32 \
139.60.220.32 \
209.137.157.33 \
213.191.72.7 \
64.37.137.83
#
do

# first, flush
/sbin/iptables -t mangle -D POSTROUTING -p tcp \
-d $IP -j ECN --ecn-tcp-remove
# then, reload
/sbin/iptables -t mangle -A POSTROUTING -p tcp \
-d $IP -j ECN --ecn-tcp-remove


done

echo -n "Done loading the ECN list"
echo

########### end ###############

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IMPORTANT WEBSITES ARE FOUND OPEN ALL WEBSITES AND MAKE MORE USE OF IT....... 1.latest antivirussoftware 2.library softwares 3.software projects 4.software cracks 5.download accelerator plus 6.mobile themes 7.mobile softwares(for nokia,samsun vp_rajan@yahoo.com Linux Networking 0 07-19-2007 05:40 PM
How to selectively hide Wireless Network Connection icon James Wireless Networks 1 10-27-2005 10:18 PM
Use router to selectively block file sharing on one of my computers? Roger Wireless Networks 2 02-17-2005 12:01 AM
Selectively Cache roaming profiles =?Utf-8?B?SmVycnk=?= Windows Networking 1 02-13-2004 07:45 PM
websites IP log Raj Windows Networking 2 12-27-2003 02:13 PM



1 2 3 4 5 6 7 8 9 10 11