From: Michael Tremer Date: Wed, 24 Jun 2015 16:48:26 +0000 (+0200) Subject: firewall: Add option to create VRRP rules X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6543f8e0b9b951477376a30d1849a4f3c0530abe;p=people%2Fms%2Fipfire-2.x.git firewall: Add option to create VRRP rules Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/connections.cgi b/html/cgi-bin/connections.cgi index 4eb9cd7bfe..c6b57bb1cd 100644 --- a/html/cgi-bin/connections.cgi +++ b/html/cgi-bin/connections.cgi @@ -450,6 +450,8 @@ foreach my $line (@conntrack) { $l4proto = 'ESP'; } elsif ($l4protonum eq '51') { $l4proto = 'AH'; + } elsif ($l4protonum eq '112') { + $l4proto = 'VRRP'; } elsif ($l4protonum eq '132') { $l4proto = 'SCTP'; } else { diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index c207ec7487..61fd540092 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -70,7 +70,7 @@ my %optionsfw=(); my %ifaces=(); my %rulehash=(); -my @PROTOCOLS = ("TCP", "UDP", "ICMP", "IGMP", "AH", "ESP", "GRE","IPv6","IPIP"); +my @PROTOCOLS = ("TCP", "UDP", "ICMP", "IGMP", "AH", "ESP", "GRE","IPv6","IPIP", "VRRP"); my $color; my $confignet = "${General::swroot}/fwhosts/customnetworks";