Skip to content

Commit

Permalink
Fix ICMPv6 ingress ACL rules (#865)
Browse files Browse the repository at this point in the history
Signed-off-by: Lugossy Zoltan <[email protected]>
  • Loading branch information
zolug authored May 3, 2023
1 parent be897fe commit 1f825a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/vppinit/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@ func ingressACLAddDelete() *acl.ACLAddReplace {
SrcPrefix: ipv6zeroPrefix,
DstPrefix: ipv6zeroPrefix,
Proto: ip_types.IP_API_PROTO_ICMP6,
DstportOrIcmpcodeFirst: 134,
DstportOrIcmpcodeLast: 134,
SrcportOrIcmptypeFirst: 134,
SrcportOrIcmptypeLast: 134,
},
{
// Allow ingress ICMPv6 Neighbor Advertisement Message
IsPermit: acl_types.ACL_ACTION_API_PERMIT,
SrcPrefix: ipv6zeroPrefix,
DstPrefix: ipv6zeroPrefix,
Proto: ip_types.IP_API_PROTO_ICMP6,
DstportOrIcmpcodeFirst: 136,
DstportOrIcmpcodeLast: 136,
SrcportOrIcmptypeFirst: 136,
SrcportOrIcmptypeLast: 136,
},
{
IsPermit: acl_types.ACL_ACTION_API_DENY,
Expand Down

0 comments on commit 1f825a5

Please sign in to comment.