shorewall version (return code: 0)
5.0.15.6
shorewall (return code: 1)
Usage: shorewall [debug|trace] [nolock] [ -q ] [ -v[-1|{0-2}] ] [ -t ] <command>
where <command> is one of:
add <interface>[:<host-list>] ... <zone>
allow <address> ...
blacklist <address> [ <option> ... ]
[ check | ck ] [ -e ] [ -r ] [ -p ] [ -r ] [ -T ] [ -i ] [ <directory> ]
clear
[ compile | co ] [ -e ] [ -p ] [ -t ] [ -c ] [ -d ] [ -T ] [ -i ] [ <directory name> ] [ <path name> ]
close <source> <dest> [ <protocol> [ <port> ] ]
delete <interface>[:<host-list>] ... <zone>
disable <interface>
drop <address> ...
dump [ -x ] [ -l ] [ -m ]
enable <interface>
export [ <directory1> ] [<user>@]<system>[:<directory2>]
forget [ <file name> ]
help
ipcalc { <address>/<vlsm> | <address> <netmask> }
ipdecimal { <address> | <integer> }
iprange <address>-<address>
iptrace <iptables match expression>
load [ -s ] [ -c ] [ -r <root user> ] [ -T ] [ -i ] [ <directory> ] <system>
logdrop <address> ...
logreject <address> ...
logwatch [<refresh interval>]
noiptrace <iptables match expression>
open <source> <dest> [ <protocol> [ <port> ] ]
reenable <interface>
refresh [ -d ] [ -n ] [ -T ] [ -D <directory> ] [ <chain>... ]
reject <address> ...
reload [ -s ] [ -c ] [ -r <root user> ] [ -T ] [ -i ] [ <directory> ] <system>
remote-reload [ -s ] [ -c ] [ -r <root-name> ] [ -T ] [ -i ] [ <directory> ] <system>
remote-restart [ -s ] [ -c ] [ -r <root-name> ] [ -T ] [ -i ] [ <directory> ] <system>
remote-start [ -s ] [ -c ] [ -r <root-name> ] [ -T ] [ -i ] [ <directory> ] <system>
reset [ <chain> ... ]
restart [ -n ] [ -p ] [-d] [ -f ] [ -c ] [ -T ] [ -i ] [ -C ] [ <directory> ]
restore [ -n ] [ -p ] [ -C ] [ <file name> ]
run <command> [ <parameter> ... ]
safe-restart [ -t <timeout> ] [ <directory> ]
safe-start [ -t <timeout> ] [ <directory> ]
save [ -C ] [ <file name> ]
savesets
[ show | list | ls ] [ -b ] [ -x ] [ -t {filter|mangle|nat} ] [ {chain [<chain> [ <chain> ... ]
[ show | list | ls ] actions
[ show | list | ls ] arptables
[ show | list | ls ] [ -f ] capabilities
[ show | list | ls ] [ -x ] {bl|blacklists}
[ show | list | ls ] classifiers
[ show | list | ls ] config
[ show | list | ls ] connections
[ show | list | ls ] event [ <event> ...]
[ show | list | ls ] events
[ show | list | ls ] filters
[ show | list | ls ] ip
[ show | list | ls ] ipa
[ show | list | ls ] [ -m ] log [<regex>]
[ show | list | ls ] [ -x ] mangle|nat|raw|rawpost
[ show | list | ls ] macro <macro>
[ show | list | ls ] macros
[ show | list | ls ] nfacct
[ show | list | ls ] opens
[ show | list | ls ] policies
[ show | list | ls ] routing
[ show | list | ls ] tc [ device ]
[ show | list | ls ] vardir
[ show | list | ls ] zones
start [ -f ] [ -n ] [ -p ] [ -c ] [ -T ] [ -i ] [ -C ] [ <directory> ]
status [ -i ]
stop
try <directory> [ <timeout> ]
update [ -a ] [ -b ] [ -r ] [ -T ] [ -D ] [ -i ] [-t] [-s] [-n] [-A] [ <directory> ]
version [ -a ]