forked from extern/shorewall_code
Validate IPv4 port range in ADDRESSES column
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
7006c62892
commit
6ed1caedd0
@ -251,6 +251,7 @@ sub process_one_masq1( $$$$$$$$$$ )
|
|||||||
} else {
|
} else {
|
||||||
validate_address $ipaddr, 0;
|
validate_address $ipaddr, 0;
|
||||||
}
|
}
|
||||||
|
validate_portpair1( $proto, $rest ) if supplied $rest;
|
||||||
$addrlist .= "--to-source $addr ";
|
$addrlist .= "--to-source $addr ";
|
||||||
$exceptionrule = do_proto( $proto, '', '' ) if $addr =~ /:/;
|
$exceptionrule = do_proto( $proto, '', '' ) if $addr =~ /:/;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user