dennis kok
2007-11-10 19:13:53 UTC
Hi All,
I used MasterShaper (The frontend of tc), after setting the high priority on ack packets, our university website just can't be accessed while all the other website got no problems.
The website is hosted on IIS 6.0, Windows 2003
The tc code below just make our university website can't be accessed:
tc qdisc add dev eth1 handle 1: root htb default 1
tc class add dev eth1 parent 1: classid 1:1 htb rate 1024Kbit
tc filter add dev eth1 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
######### boost ACK packets
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 64Kbit prio 1 quantum 1532
tc qdisc add dev eth1 handle 2: parent 1:2 sfq
tc filter add dev eth1 parent 1:1 protocol ip prio 1 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:2
######### Incoming Rules
tc qdisc add dev eth0 handle 1: root htb default 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 512Kbit
tc filter add dev eth0 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
However, the scripts below is OK for our university website:
tc qdisc add dev eth1 handle 1: root htb default 1
tc class add dev eth1 parent 1: classid 1:1 htb rate 1024Kbit
tc filter add dev eth1 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
######### Incoming Rules
tc qdisc add dev eth0 handle 1: root htb default 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 512Kbit
tc filter add dev eth0 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
The difference is
######### boost ACK packets
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 64Kbit prio 1 quantum 1532
tc qdisc add dev eth1 handle 2: parent 1:2 sfq
tc filter add dev eth1 parent 1:1 protocol ip prio 1 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:2
Is it possible that MTU(1532) caused issue for IIS on windows?
Thanks
Dennis
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I used MasterShaper (The frontend of tc), after setting the high priority on ack packets, our university website just can't be accessed while all the other website got no problems.
The website is hosted on IIS 6.0, Windows 2003
The tc code below just make our university website can't be accessed:
tc qdisc add dev eth1 handle 1: root htb default 1
tc class add dev eth1 parent 1: classid 1:1 htb rate 1024Kbit
tc filter add dev eth1 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
######### boost ACK packets
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 64Kbit prio 1 quantum 1532
tc qdisc add dev eth1 handle 2: parent 1:2 sfq
tc filter add dev eth1 parent 1:1 protocol ip prio 1 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:2
######### Incoming Rules
tc qdisc add dev eth0 handle 1: root htb default 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 512Kbit
tc filter add dev eth0 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
However, the scripts below is OK for our university website:
tc qdisc add dev eth1 handle 1: root htb default 1
tc class add dev eth1 parent 1: classid 1:1 htb rate 1024Kbit
tc filter add dev eth1 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
######### Incoming Rules
tc qdisc add dev eth0 handle 1: root htb default 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 512Kbit
tc filter add dev eth0 parent 1:0 protocol all u32 match u32 0 0 classid 1:1
The difference is
######### boost ACK packets
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 64Kbit prio 1 quantum 1532
tc qdisc add dev eth1 handle 2: parent 1:2 sfq
tc filter add dev eth1 parent 1:1 protocol ip prio 1 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:2
Is it possible that MTU(1532) caused issue for IIS on windows?
Thanks
Dennis
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com