Ouaip c'est rien, si tu regarde le code tu comprendra vite fait
T'as moins d'erreurs car :
Code :
- if [ "$MANGLE_TOS" == "1" ]; then
- modprobe iptable_mangle # Implements the mangle table
- modprobe ipt_tos # Permits TOS checking on a packet
- fi
|
et le chargement de la table TOS est zappé :
Code :
- if [ "$MANGLE_TOS" == "1" ]; then
- # Mangles the TOS on standard ports so they get priority in routers
- ###################################################################
- [...]
|
Mais t'as des trucs non conditionnés que tu peux conditionner ou virer :
Code :
- [...]
- $IPTABLES -t mangle -Z
- [...]
- # Flush rules/delete user chains
- ################################
- [...]
- $IPTABLES -t mangle -F
- $IPTABLES -t mangle -X
- [...]
- # Set standard policies for the tables (drop = very secure)
- ###########################################################
- [...]
- $IPTABLES -t mangle -P OUTPUT ACCEPT
- $IPTABLES -t mangle -P PREROUTING ACCEPT
- [...]
- ## Flush Rules/Delete User Chains
- [...]
- $IPTABLES -t mangle -F
- $IPTABLES -t mangle -X
- [...]
|
Message édité par seb666 le 21-09-2004 à 17:04:30