Update of /cvsroot/routingtools/tools/rc.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24419/rc.d
Modified Files:
shaper
Log Message:
- fixed the packet markers to classify all tcp packets correctly that are
needed for the 3-way tcp connection handshake
- this leads to highly improved p2p filesharing performance
- tuned the default bandwidth settings a little bit
Index: shaper
===================================================================
RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** shaper 18 Jun 2004 17:49:10 -0000 1.27
--- shaper 26 May 2005 20:56:11 -0000 1.28
***************
*** 10,14 ****
### BEGIN INIT INFO
# Provides: shaper
! # Required-Start: network syslog
# Required-Stop: network
# Default-Start: 2 3 5
--- 10,14 ----
### BEGIN INIT INFO
# Provides: shaper
! # Required-Start: network syslog smpppd
# Required-Stop: network
# Default-Start: 2 3 5
***************
*** 95,103 ****
echo -n " packet markers "
! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0
for class in $CLASSES; do
--- 95,107 ----
echo -n " packet markers "
! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN,ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN,ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0
! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0
for class in $CLASSES; do
***************
*** 277,280 ****
--- 281,290 ----
#
# $Log$
+ # Revision 1.28 2005/05/26 20:56:11 hurikhan
+ # - fixed the packet markers to classify all tcp packets correctly that are
+ # needed for the 3-way tcp connection handshake
+ # - this leads to highly improved p2p filesharing performance
+ # - tuned the default bandwidth settings a little bit
+ #
# Revision 1.27 2004/06/18 17:49:10 hurikhan
# * include new SuSE init script semantics
|