forked from extern/shorewall_code
Fix handling of 'all' or '-' in the PROTO column of an action file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1096 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d116d04fb8
commit
76b5918a13
@ -19,3 +19,5 @@ Changes since 1.4.9
|
||||
8) Add multicast to 'detectnets' zones.
|
||||
|
||||
9) Don't add broadcasts to /0 groups.
|
||||
|
||||
10) Fix "-" in PROTO column of an action file.
|
||||
|
@ -2257,6 +2257,9 @@ add_an_action()
|
||||
[ x$cport = x- ] && cport=
|
||||
|
||||
case $proto in
|
||||
all|-)
|
||||
proto=
|
||||
;;
|
||||
tcp|TCP|6)
|
||||
do_ports
|
||||
[ "$target" = QUEUE ] && proto="$proto --syn"
|
||||
|
@ -16,6 +16,9 @@ Problems Corrected since version 1.4.9:
|
||||
4. Shorewall now tries to avoid sending an ICMP response to broadcasts
|
||||
and smurfs.
|
||||
|
||||
5. Specifying "-" or "all" in the PROTO column of an action no longer
|
||||
causes a startup error.
|
||||
|
||||
Migration Issues:
|
||||
|
||||
None.
|
||||
|
Loading…
Reference in New Issue
Block a user