forked from extern/shorewall_code
Don't strip files if the perl compiler will be used
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5745 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
eb3ef2e636
commit
3271f183e8
@ -862,8 +862,13 @@ setup_ecn() # $1 = file name
|
||||
flushmangle $chain
|
||||
else
|
||||
createmanglechain $chain
|
||||
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
||||
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
||||
|
||||
if [ -n "$MANGLE_FORWARD" ]; then
|
||||
run_iptables -t mangle -A PREROUTING -p tcp -o $interface -j $chain
|
||||
else
|
||||
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
||||
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -2087,44 +2087,42 @@ do_initialize() {
|
||||
strip_file hosts
|
||||
|
||||
if [ $PROGRAM = compiler ]; then
|
||||
strip_file_and_lib_load accounting accounting
|
||||
if [ $SHOREWALL_COMPILER = 'shell' ]; then
|
||||
strip_file_and_lib_load accounting accounting
|
||||
|
||||
if [ -n "$USE_ACTIONS" ]; then
|
||||
strip_file actions
|
||||
strip_file actions.std ${SHAREDIR}/actions.std
|
||||
fi
|
||||
if [ -n "$USE_ACTIONS" ]; then
|
||||
strip_file actions
|
||||
strip_file actions.std ${SHAREDIR}/actions.std
|
||||
fi
|
||||
|
||||
strip_file blacklist
|
||||
strip_file ecn
|
||||
strip_file maclist
|
||||
strip_file_and_lib_load masq nat
|
||||
strip_file_and_lib_load nat nat
|
||||
strip_file_and_lib_load netmap nat
|
||||
strip_file policy
|
||||
strip_file_and_lib_load providers providers && strip_file route_rules
|
||||
strip_file_and_lib_load proxyarp proxyarp
|
||||
strip_file rfc1918
|
||||
strip_file routestopped
|
||||
strip_file rules
|
||||
strip_file blacklist
|
||||
strip_file ecn
|
||||
strip_file maclist
|
||||
strip_file_and_lib_load masq nat
|
||||
strip_file_and_lib_load nat nat
|
||||
strip_file_and_lib_load netmap nat
|
||||
strip_file policy
|
||||
strip_file_and_lib_load providers providers && strip_file route_rules
|
||||
strip_file_and_lib_load proxyarp proxyarp
|
||||
strip_file rfc1918
|
||||
strip_file routestopped
|
||||
strip_file rules
|
||||
|
||||
if [ "$TC_ENABLED" = Internal ]; then
|
||||
strip_file_and_lib_load tcdevices tc
|
||||
strip_file_and_lib_load tcclasses tc
|
||||
fi
|
||||
|
||||
strip_file_and_lib_load tcrules tcrules
|
||||
strip_file tos
|
||||
strip_file_and_lib_load tunnels tunnels
|
||||
if [ "$SHOREWALL_COMPILER" = perl ]; then
|
||||
if [ "$TC_ENABLED" = Internal ]; then
|
||||
strip_file_and_lib_load tcdevices tc
|
||||
strip_file_and_lib_load tcclasses tc
|
||||
fi
|
||||
|
||||
strip_file_and_lib_load tcrules tcrules
|
||||
strip_file tos
|
||||
strip_file_and_lib_load tunnels tunnels
|
||||
FW=
|
||||
else
|
||||
report_capabilities1 > $TMP_DIR/capabilities
|
||||
export TMP_DIR
|
||||
export CONFIG_PATH
|
||||
export VERSION
|
||||
export FW
|
||||
fi
|
||||
fi
|
||||
#
|
||||
# Clear $FW
|
||||
#
|
||||
FW=
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user