unfiy edit_rule

This commit is contained in:
Kay Marquardt (Gnadelwartz)
2017-06-28 14:06:06 +02:00
parent 2ba020877c
commit f267d4e02a
2 changed files with 14 additions and 0 deletions

View File

@@ -44,6 +44,14 @@ else {
'--physdev-in',
'--physdev-out');
@ipvx_rtypes = ( "icmp-net-unreachable", "icmp-host-unreachable",
"icmp-port-unreachable", "icmp-proto-unreachable",
"icmp-net-prohibited", "icmp-host-prohibited",
"echo-reply", "tcp-reset" );
$ipvx_todestpattern='^([0-9\.]+)(\-([0-9\.]+))?(:(\d+)(\-(\d+))?)?$';
# set IP Version
&set_ipvx_version('ipv4');

View File

@@ -44,6 +44,12 @@ else {
'--physdev-in',
'--physdev-out');
@ipvx_rtypes = ( "icmp6-no-route", "icmp6-adm-prohibited",
"icmp6-addr-unreachable", "icmp6-port-unreachable",
"echo-reply", "tcp-reset" );
$ipvx_todestpattern='^\[([0-9A-Fa-f:]+)](\-([0-9A-Fa-f:]+))?(:(\d+)(\-(\d+))?)?$';
# set IP Version
&set_ipvx_version('ipv6');