forked from extern/shorewall_code
Add more progress messages to generated script
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3261 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c38163a3dc
commit
d1bf397545
@ -5153,6 +5153,9 @@ process_actions3() {
|
|||||||
xaction1=$1
|
xaction1=$1
|
||||||
xlevel=$2
|
xlevel=$2
|
||||||
xtag=$3
|
xtag=$3
|
||||||
|
|
||||||
|
[ $COMMAND = generate ] && save_progress_message "Creating action chain $xaction1"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Handle Builtin actions
|
# Handle Builtin actions
|
||||||
#
|
#
|
||||||
@ -5277,8 +5280,6 @@ process_actions3() {
|
|||||||
|
|
||||||
echo "Processing $(find_file $f) for Chain $xchain..."
|
echo "Processing $(find_file $f) for Chain $xchain..."
|
||||||
|
|
||||||
[ $COMMAND = generate ] && save_progress_message "Creating action Chain $xchain..."
|
|
||||||
|
|
||||||
while read xtarget xclients xservers xprotocol xports xcports xratelimit xuserspec; do
|
while read xtarget xclients xservers xprotocol xports xcports xratelimit xuserspec; do
|
||||||
expandv xtarget
|
expandv xtarget
|
||||||
#
|
#
|
||||||
@ -7885,13 +7886,14 @@ initialize_netfilter () {
|
|||||||
|
|
||||||
[ -n "$DISABLE_IPV6" ] && disable_ipv6
|
[ -n "$DISABLE_IPV6" ] && disable_ipv6
|
||||||
|
|
||||||
|
[ $COMMAND = generate ] && save_progress_message "Enabling Loopback and DNS Lookups"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Enable the Loopback interface for now
|
# Enable the Loopback interface for now
|
||||||
#
|
#
|
||||||
run_iptables -A INPUT -i lo -j ACCEPT
|
run_iptables -A INPUT -i lo -j ACCEPT
|
||||||
run_iptables -A OUTPUT -o lo -j ACCEPT
|
run_iptables -A OUTPUT -o lo -j ACCEPT
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Allow DNS lookups during startup for FQDNs
|
# Allow DNS lookups during startup for FQDNs
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user