mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Fix log rule generation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1984 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
9ce8fa2d66
commit
48ba931536
@ -8,11 +8,14 @@ Changes in 2.2.2
|
|||||||
3) All calls to 'clear' are now conditional on the output device being
|
3) All calls to 'clear' are now conditional on the output device being
|
||||||
a terminal.
|
a terminal.
|
||||||
|
|
||||||
4) Apply Juergen Kreileder's log/action patch.
|
4) Apply Juergen Kreileder's patch for logging.
|
||||||
|
|
||||||
5) Add the output of 'arp -na' to the 'shorewall status' display.
|
5) Add the output of 'arp -na' to the 'shorewall status' display.
|
||||||
|
|
||||||
6) Provide support for the Extended multiport match available in 2.6.11.
|
6) Provide support for the Extended multiport match available in
|
||||||
|
2.6.11.
|
||||||
|
|
||||||
|
7) Fix logging rule generation.
|
||||||
|
|
||||||
Changes in 2.2.1
|
Changes in 2.2.1
|
||||||
|
|
||||||
@ -20,8 +23,6 @@ Changes in 2.2.1
|
|||||||
|
|
||||||
2) Simon Matter's patch for umask.
|
2) Simon Matter's patch for umask.
|
||||||
|
|
||||||
3) Apply Juergen Kreileder's patch for logging.
|
|
||||||
|
|
||||||
Changes since 2.0.3
|
Changes since 2.0.3
|
||||||
|
|
||||||
1) Fix security vulnerability involving temporary files/directories.
|
1) Fix security vulnerability involving temporary files/directories.
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
# shorewall restart Restarts the firewall
|
# shorewall restart Restarts the firewall
|
||||||
# shorewall stop Stops the firewall
|
# shorewall stop Stops the firewall
|
||||||
# shorewall status Displays firewall status
|
# shorewall status Displays firewall status
|
||||||
# shorewall reset Resets iptabless packet and
|
# shorewall reset Resets iptables packet and
|
||||||
# byte counts
|
# byte counts
|
||||||
# shorewall clear Remove all Shorewall chains
|
# shorewall clear Remove all Shorewall chains
|
||||||
# and rules/policies.
|
# and rules/policies.
|
||||||
@ -1303,10 +1303,10 @@ log_rule_limit() # $1 = log level, $2 = chain, $3 = display Chain $4 = dispositi
|
|||||||
|
|
||||||
case $level in
|
case $level in
|
||||||
ULOG)
|
ULOG)
|
||||||
$IPTABLES $command $chain $@ $limit -j ULOG $LOGPARMS --ulog-prefix "$prefix"
|
run_iptables $command $chain $@ $limit -j ULOG $LOGPARMS --ulog-prefix "$prefix"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$IPTABLES $command $chain $@ $limit -j LOG $LOGPARMS --log-level $level --log-prefix "$prefix"
|
run_iptables $command $chain $@ $limit -j LOG $LOGPARMS --log-level $level --log-prefix "$prefix"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -9,6 +9,11 @@ Problems corrected in version 2.2.2
|
|||||||
2) If A is a user-defined action and you have file /etc/shorewall/A
|
2) If A is a user-defined action and you have file /etc/shorewall/A
|
||||||
then when that file is invoked, the $TAG value may be incorrect.
|
then when that file is invoked, the $TAG value may be incorrect.
|
||||||
|
|
||||||
|
3) If an iptables command that generates a logging rule failed
|
||||||
|
previously, the Shorewall [re]start was still successful. This error
|
||||||
|
is now considered fatal and Shorewall will be either restored from
|
||||||
|
the last save (if any) or it will be stopped.
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
New Features in version 2.2.2
|
New Features in version 2.2.2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user