forked from extern/shorewall_code
Remove dynamic zone capability from development branch -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3198 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
e226e058c7
commit
47cf78cf76
@ -186,19 +186,6 @@ run_iptables2() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Quietly run iptables
|
|
||||||
#
|
|
||||||
qt_iptables() {
|
|
||||||
#
|
|
||||||
# Purge the temporary files that we use to prevent duplicate '-m' specifications
|
|
||||||
#
|
|
||||||
[ -n "$BRIDGING" ] && [ -f $TMP_DIR/physdev ] && rm -f $TMP_DIR/physdev
|
|
||||||
[ -n "$IPRANGE_MATCH" ] && [ -f $TMP_DIR/iprange ] && rm -f $TMP_DIR/iprange
|
|
||||||
|
|
||||||
qt $IPTABLES $@
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Run ip and if an error occurs, stop the firewall and quit
|
# Run ip and if an error occurs, stop the firewall and quit
|
||||||
#
|
#
|
||||||
@ -355,14 +342,6 @@ havechain() # $1 = name of chain
|
|||||||
eval test \"\$exists_${c}\" = Yes
|
eval test \"\$exists_${c}\" = Yes
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Query NetFilter about the existence of a filter chain
|
|
||||||
#
|
|
||||||
chain_exists() # $1 = chain name
|
|
||||||
{
|
|
||||||
qt $IPTABLES -L $1 -n
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Query NetFilter about the existence of a mangle chain
|
# Query NetFilter about the existence of a mangle chain
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user