]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
firewall: Add option to create VRRP rules firewall-fixes
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Jun 2015 16:48:26 +0000 (18:48 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Jun 2015 16:48:26 +0000 (18:48 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/connections.cgi
html/cgi-bin/firewall.cgi

index 4eb9cd7bfe8a8cfadc953facfce9eee53e3acc5a..c6b57bb1cd68cffea990fd8cea4393603e9c91c0 100644 (file)
@@ -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 {
index c207ec74873aff8c68185fe199eb9ca30afcdb7d..61fd5400928df11eb390b86c5284cbbdf9145756 100644 (file)
@@ -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";