Rozdiely pre scripts/shell/firewall/fw-universal.sh medzi verziami 2.43 a 2.45
verzia 2.43, 2006/08/09 11:41:13 |
verzia 2.45, 2006/08/09 16:38:13 |
|
|
mkdir -p "$DEFAULT_CACHE_DIR"; |
mkdir -p "$DEFAULT_CACHE_DIR"; |
fi |
fi |
|
|
config=`cat $DEFAULT_FIREWALL_CONFIG`; |
config=`cat $DEFAULT_FIREWALL_CONFIG $0`; # config file and firewalling script |
md5key=`echo "config = '$config' parsed_interfaces ='$parsed_interfaces' parsed_routes='$parsed_routes'" | md5sum | $AWK '{ print $1; }'`; |
md5key=`echo "config = '$config' parsed_interfaces ='$parsed_interfaces' parsed_routes='$parsed_routes'" | md5sum | $AWK '{ print $1; }'`; |
CACHE_FILE="$DEFAULT_CACHE_DIR/$md5key" |
CACHE_FILE="$DEFAULT_CACHE_DIR/$md5key" |
|
|
Riadok 728 configure_special_rules() |
|
Riadok 728 configure_special_rules() |
|
|
|
echo -en "Loading special rules: " |
echo -en "Loading special rules: " |
## |
## |
## for DSL from slovanet (Slovak DSL provider) you must add following rule for proper ssh connect to your machine |
## for DSL from Slovanet (Slovak DSL provider) and DSL modem DLINK DSL-360T you must add following rule for proper ssh connect to your machine |
## |
## |
# echo -en "slovanet " |
# echo -en "slovanet " |
# $IPTABLES -t mangle -A OUTPUT -s 0/0 -j DSCP --set-dscp 0 |
# $IPTABLES -t mangle -A OUTPUT -s 0/0 -j DSCP --set-dscp 0 |
Platon Group <platon@platon.sk> http://platon.sk/
|
|