mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 19:21:21 +02:00
Merge branch '4.6.9'
This commit is contained in:
commit
cccf6b4657
@ -320,7 +320,7 @@ sub generate_script_2() {
|
|||||||
set_global_variables(1,1);
|
set_global_variables(1,1);
|
||||||
|
|
||||||
if ( $global_variables & NOT_RESTORE ) {
|
if ( $global_variables & NOT_RESTORE ) {
|
||||||
handle_optional_interfaces(0);
|
handle_optional_interfaces(1);
|
||||||
emit ';;';
|
emit ';;';
|
||||||
pop_indent;
|
pop_indent;
|
||||||
pop_indent;
|
pop_indent;
|
||||||
|
@ -1516,7 +1516,7 @@ EOF
|
|||||||
" start_provider_$provider" );
|
" start_provider_$provider" );
|
||||||
}
|
}
|
||||||
|
|
||||||
emit ( ' elif [ -z $2 ]; then',
|
emit ( ' elif [ -z "$2" ]; then',
|
||||||
" startup_error \"Interface $providerref->{physical} is already enabled\"",
|
" startup_error \"Interface $providerref->{physical} is already enabled\"",
|
||||||
' fi',
|
' fi',
|
||||||
' ;;'
|
' ;;'
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# (c) 1999-2015 - Tom Eastep (teastep@shorewall.net)
|
# (c) 1999-2015 - Tom Eastep (teastep@shorewall.net)
|
||||||
#
|
#
|
||||||
# This program is part of Shorewall.
|
# This program is part of Shorewall.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by the
|
# it under the terms of the GNU General Public License as published by the
|
||||||
# Free Software Foundation, either version 2 of the license or, at your
|
# Free Software Foundation, either version 2 of the license or, at your
|
||||||
# option, any later version.
|
# option, any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
@ -17,41 +17,41 @@
|
|||||||
#
|
#
|
||||||
# Options are:
|
# Options are:
|
||||||
#
|
#
|
||||||
# -n Do not alter Routing
|
# -n Do not alter Routing
|
||||||
# -v and -q Standard Shorewall Verbosity control
|
# -v and -q Standard Shorewall Verbosity control
|
||||||
# -t Timestamp progress messages
|
# -t Timestamp progress messages
|
||||||
# -p Purge conntrack table
|
# -p Purge conntrack table
|
||||||
# -r Recover from failed start/restart
|
# -r Recover from failed start/restart
|
||||||
# -V <verbosity> Set verbosity level explicitly
|
# -V <verbosity> Set verbosity level explicitly
|
||||||
# -R <restore> Overrides RESTOREFILE setting
|
# -R <restore> Overrides RESTOREFILE setting
|
||||||
#
|
#
|
||||||
# Commands are:
|
# Commands are:
|
||||||
#
|
#
|
||||||
# clear Removes all firewall rules
|
# clear Removes all firewall rules
|
||||||
# disable Disable an optional interface
|
# disable Disable an optional interface
|
||||||
# down Stop an optional interface
|
# down Stop an optional interface
|
||||||
# enable Enable an optional interface
|
# enable Enable an optional interface
|
||||||
# help Show command syntax
|
# help Show command syntax
|
||||||
# reenable Disable then nable an optional
|
# reenable Disable then nable an optional
|
||||||
# interface
|
# interface
|
||||||
# refresh Refresh the firewall
|
# refresh Refresh the firewall
|
||||||
# reload Reload the firewall
|
# reload Reload the firewall
|
||||||
# restart Restarts the firewall
|
# restart Restarts the firewall
|
||||||
# restore Restore a saved configuration
|
# restore Restore a saved configuration
|
||||||
# reset Reset byte and packet counters
|
# reset Reset byte and packet counters
|
||||||
# run Call a function in this program
|
# run Call a function in this program
|
||||||
# savesets Save the ipset contents
|
# savesets Save the ipset contents
|
||||||
# status Displays firewall status
|
# status Displays firewall status
|
||||||
# start Starts the firewall
|
# start Starts the firewall
|
||||||
# stop Stops the firewall
|
# stop Stops the firewall
|
||||||
# up Start an optional interface
|
# up Start an optional interface
|
||||||
# version Displays the version of Shorewall that
|
# version Displays the version of Shorewall that
|
||||||
# generated this program
|
# generated this program
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
# Functions imported from /usr/share/shorewall/lib.core
|
# Functions imported from /usr/share/shorewall/lib.core
|
||||||
################################################################################
|
################################################################################
|
||||||
# Address family-neutral Functions
|
# Address family-neutral Functions
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Conditionally produce message
|
# Conditionally produce message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user