forked from extern/shorewall_code
More fiddling with generate/compile stuff
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3260 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3a9f54fdf1
commit
c38163a3dc
@ -4038,7 +4038,15 @@ process_accounting_rule() {
|
|||||||
|
|
||||||
if do_iptables -A $chain $(fix_bang $rule) ; then
|
if do_iptables -A $chain $(fix_bang $rule) ; then
|
||||||
[ -n "$rule2" ] && run_iptables2 -A $jumpchain $rule2
|
[ -n "$rule2" ] && run_iptables2 -A $jumpchain $rule2
|
||||||
|
case $COMMAND in
|
||||||
|
generate)
|
||||||
|
progress_message " Accounting rule" $action $chain $source $dest $proto $port $sport $user Compiled
|
||||||
|
save_progress_message_short " Accounting rule $action $chain $source $dest $proto $port $sport $user Added"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
progress_message " Accounting rule" $action $chain $source $dest $proto $port $sport $user Added
|
progress_message " Accounting rule" $action $chain $source $dest $proto $port $sport $user Added
|
||||||
|
;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
accounting_error
|
accounting_error
|
||||||
fi
|
fi
|
||||||
|
@ -57,6 +57,10 @@ New Features:
|
|||||||
which may then be executed (either directly or using the 'shorewall restore'
|
which may then be executed (either directly or using the 'shorewall restore'
|
||||||
command) to configure the firewall.
|
command) to configure the firewall.
|
||||||
|
|
||||||
|
'compile' is a synonym for 'generate':
|
||||||
|
|
||||||
|
shorewall [ -q ] compile [ <config directory> ] <script file>
|
||||||
|
|
||||||
WARNING: The generated script HAS ABSOLUTELY NO ERROR CHECKING so if there
|
WARNING: The generated script HAS ABSOLUTELY NO ERROR CHECKING so if there
|
||||||
are errors in your configuration files that result in errors when
|
are errors in your configuration files that result in errors when
|
||||||
the script is run then you may not be able to access your firewall
|
the script is run then you may not be able to access your firewall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user