mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Fix exclusion of single MAC address
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3941 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
469c882f1d
commit
f37238d0d1
@ -10,6 +10,8 @@ Changes in 3.2.0 Beta 8
|
|||||||
|
|
||||||
5) Fix for white-space in log prefix.
|
5) Fix for white-space in log prefix.
|
||||||
|
|
||||||
|
6) Fix rule parsing of single excluded MAC address.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Changes in 3.2.0 Beta 7
|
Changes in 3.2.0 Beta 7
|
||||||
|
|
||||||
|
@ -5184,6 +5184,10 @@ __EOF__
|
|||||||
*!*!*)
|
*!*!*)
|
||||||
fatal_error "Invalid SOURCE in rule \"$rule\""
|
fatal_error "Invalid SOURCE in rule \"$rule\""
|
||||||
;;
|
;;
|
||||||
|
!~*)
|
||||||
|
excludesource=${clients#!}
|
||||||
|
clients=
|
||||||
|
;;
|
||||||
!*)
|
!*)
|
||||||
if [ $(list_count $clients) -gt 1 ]; then
|
if [ $(list_count $clients) -gt 1 ]; then
|
||||||
excludesource=${clients#!}
|
excludesource=${clients#!}
|
||||||
|
@ -50,6 +50,9 @@ Problems Corrected in 3.2.0 Beta 8
|
|||||||
3) The 'trace' keyword now causes the execution of the compiled script to
|
3) The 'trace' keyword now causes the execution of the compiled script to
|
||||||
be traced when the command is 'start' or 'restart'.
|
be traced when the command is 'start' or 'restart'.
|
||||||
|
|
||||||
|
4) In the rules file, it is now possible to exclude a single source MAC
|
||||||
|
address using !<MAC address>. Previously, a startup error occurred.
|
||||||
|
|
||||||
Other changes in 3.2.0 Beta 8
|
Other changes in 3.2.0 Beta 8
|
||||||
|
|
||||||
1) In /etc/shorewall/rules, the values "all-" and "all+-" may now be
|
1) In /etc/shorewall/rules, the values "all-" and "all+-" may now be
|
||||||
|
Loading…
Reference in New Issue
Block a user