diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index c55886d54..f5cc717f6 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -3414,29 +3414,29 @@ usage() # $1 = exit status echo " restart [ -n ] [ -p ] [ -f ] [ ]" echo " restore [ -n ] [ ]" echo " save [ ]" - echo " show [ -b ] [ -x ] [ -t {filter|mangle|nat} ] [ {chain [ [ ... ]" - echo " show [ -f ] capabilities" - echo " show arptables" - echo " show classifiers" - echo " show config" - echo " show connections" - echo " show event [ ...]" - echo " show events" - echo " show filters" - echo " show ip" + echo " [ show | list | ls ] [ -b ] [ -x ] [ -t {filter|mangle|nat} ] [ {chain [ [ ... ]" + echo " [ show | list | ls ] [ -f ] capabilities" + echo " [ show | list | ls ] arptables" + echo " [ show | list | ls ] classifiers" + echo " [ show | list | ls ] config" + echo " [ show | list | ls ] connections" + echo " [ show | list | ls ] event [ ...]" + echo " [ show | list | ls ] events" + echo " [ show | list | ls ] filters" + echo " [ show | list | ls ] ip" if [ $g_family -eq 4 ]; then - echo " show ipa" + echo " [ show | list | ls ] ipa" fi - echo " show [ -m ] log []" - echo " show [ -x ] mangle|nat|raw|rawpost" - echo " show nfacct" - echo " show policies" - echo " show routing" - echo " show tc [ device ]" - echo " show vardir" - echo " show zones" + echo " [ show | list | ls ] [ -m ] log []" + echo " [ show | list | ls ] [ -x ] mangle|nat|raw|rawpost" + echo " [ show | list | ls ] nfacct" + echo " [ show | list | ls ] policies" + echo " [ show | list | ls ] routing" + echo " [ show | list | ls ] tc [ device ]" + echo " [ show | list | ls ] vardir" + echo " [ show | list | ls ] zones" echo " start [ -f ] [ -p ] [ ]" echo " stop" echo " status" @@ -3681,7 +3681,7 @@ shorewall_cli() { fatal_error "$g_product is not running" fi ;; - show|list) + show|list|ls) get_config Yes No Yes shift show_command $@ diff --git a/Shorewall-lite/manpages/shorewall-lite.xml b/Shorewall-lite/manpages/shorewall-lite.xml index 7f278ee88..e8d8524a9 100644 --- a/Shorewall-lite/manpages/shorewall-lite.xml +++ b/Shorewall-lite/manpages/shorewall-lite.xml @@ -335,7 +335,7 @@ -options - + @@ -357,7 +357,7 @@ -options - + @@ -371,7 +371,7 @@ -options - + @@ -384,7 +384,7 @@ -options - + event @@ -397,7 +397,7 @@ -options - + @@ -411,7 +411,7 @@ -options - + @@ -423,7 +423,7 @@ -options - + diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 355b6e763..ff66adf68 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -1982,6 +1982,7 @@ sub supplied( $ ) { # ensure that it has an appropriate number of columns. # supply '-' in omitted trailing columns. # Handles all of the supported forms of column/pair specification +# Handles segragating raw iptables input in INLINE rules # sub split_line1( $$;$$ ) { my ( $description, $columnsref, $nopad, $maxcolumns ) = @_; @@ -1993,7 +1994,7 @@ sub split_line1( $$;$$ ) { $inline_matches = ''; # - # First see if there is a semicolon on the line; what follows will be column/value paris + # First see if there is a semicolon on the line; what follows will be column/value pairs or raw iptables input # my ( $columns, $pairs, $rest ) = split( ';', $currentline ); diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 74b4accc2..161365747 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -1578,9 +1578,9 @@ usage() # $1 = exit status echo "where is one of:" echo " add [:] ... " echo " allow
..." - echo " check [ -e ] [ -r ] [ -p ] [ -r ] [ -T ] [ ]" + echo " [ check | ck ] [ -e ] [ -r ] [ -p ] [ -r ] [ -T ] [ ]" echo " clear" - echo " compile [ -e ] [ -p ] [ -t ] [ -c ] [ -d ] [ -T ] [ ] [ ]" + echo " [ compile | co ] [ -e ] [ -p ] [ -t ] [ -c ] [ -d ] [ -T ] [ ] [ ]" echo " delete [:] ... " echo " disable " echo " drop
..." @@ -1623,31 +1623,31 @@ usage() # $1 = exit status echo " safe-restart [ -t ] [ ]" echo " safe-start [ -t ] [ ]" echo " save [ ]" - echo " show [ -x ] [ -t {filter|mangle|nat|raw|rawpost} ] [ {chain [ [ ... ]" - echo " show actions" - echo " show [ -f ] capabilities" - echo " show classifiers" - echo " show config" - echo " show connections" - echo " show dynamic " - echo " show filters" - echo " show ip" + echo " [ show | list | ls ] [ -x ] [ -t {filter|mangle|nat|raw|rawpost} ] [ {chain [ [ ... ]" + echo " [ show | list | ls ] actions" + echo " [ show | list | ls ] [ -f ] capabilities" + echo " [ show | list | ls ] classifiers" + echo " [ show | list | ls ] config" + echo " [ show | list | ls ] connections" + echo " [ show | list | ls ] dynamic " + echo " [ show | list | ls ] filters" + echo " [ show | list | ls ] ip" if [ $g_family -eq 4 ]; then - echo " show ipa" + echo " [ show | list | ls ] ipa" fi - echo " show [ -m ] log []" - echo " show macro " - echo " show macros" - echo " show marks" - echo " show [ -x ] mangle|nat|raw|rawpost|routing" - echo " show nfacct" - echo " show policies" - echo " show routing" - echo " show tc [ device ]" - echo " show vardir" - echo " show zones" + echo " [ show | list | ls ] [ -m ] log []" + echo " [ show | list | ls ] macro " + echo " [ show | list | ls ] macros" + echo " [ show | list | ls ] marks" + echo " [ show | list | ls ] [ -x ] mangle|nat|raw|rawpost|routing" + echo " [ show | list | ls ] nfacct" + echo " [ show | list | ls ] policies" + echo " [ show | list | ls ] routing" + echo " [ show | list | ls ] tc [ device ]" + echo " [ show | list | ls ] vardir" + echo " [ show | list | ls ] zones" echo " start [ -f ] [ -n ] [ -p ] [ -c ] [ -T ] [ ]" echo " status" echo " stop" @@ -1661,7 +1661,7 @@ usage() # $1 = exit status compiler_command() { case $COMMAND in - compile) + compile|co) shift compile_command $@ ;; @@ -1670,7 +1670,7 @@ compiler_command() { shift refresh_command $@ ;; - check) + check|ck) shift check_command $@ ;; diff --git a/Shorewall/manpages/shorewall.xml b/Shorewall/manpages/shorewall.xml index 3e68e637f..b954a7165 100644 --- a/Shorewall/manpages/shorewall.xml +++ b/Shorewall/manpages/shorewall.xml @@ -54,7 +54,7 @@ -options - + @@ -88,7 +88,7 @@ -options - + @@ -502,7 +502,7 @@ -options - + @@ -524,7 +524,7 @@ -options - + @@ -538,7 +538,7 @@ -options - + @@ -551,7 +551,7 @@ -options - + event @@ -564,7 +564,7 @@ -options - + macro @@ -577,7 +577,7 @@ -options - + @@ -591,7 +591,7 @@ -options - + @@ -603,7 +603,7 @@ -options - + diff --git a/Shorewall6-lite/manpages/shorewall6-lite.xml b/Shorewall6-lite/manpages/shorewall6-lite.xml index 687376c7d..3d409e3d9 100644 --- a/Shorewall6-lite/manpages/shorewall6-lite.xml +++ b/Shorewall6-lite/manpages/shorewall6-lite.xml @@ -335,7 +335,7 @@ -options - + @@ -357,7 +357,7 @@ -options - + @@ -371,7 +371,7 @@ -options - + @@ -384,7 +384,7 @@ -options - + event @@ -397,7 +397,7 @@ -options - + @@ -411,7 +411,7 @@ -options - + @@ -423,7 +423,7 @@ -options - + diff --git a/Shorewall6/manpages/shorewall6.xml b/Shorewall6/manpages/shorewall6.xml index 4a974d263..9f3161e42 100644 --- a/Shorewall6/manpages/shorewall6.xml +++ b/Shorewall6/manpages/shorewall6.xml @@ -53,7 +53,7 @@ -options - + @@ -86,7 +86,7 @@ -options - + @@ -447,7 +447,7 @@ -options - + @@ -469,7 +469,7 @@ -options - + @@ -483,7 +483,7 @@ -options - + @@ -496,7 +496,7 @@ -options - + event @@ -509,7 +509,7 @@ -options - + @@ -521,7 +521,7 @@ -options - +