Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    IPv6 neighbor solicitation with next header = "IPv6 Hop-by-Hop" option results in blocked entry in LAN Firewall

    Scheduled Pinned Locked Moved Firewalling
    25 Posts 4 Posters 1.8k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gambit100 @marcosm
      last edited by

      @dennypage This is definitely not my area of expertise but I did a bit of research on it.

      From what I can determine, the Router Alert is part of the network layer (layer 3) while the neighbor solicitation is an ICMPv6 message that is a payload (layer 4). It seems like RFC 4861 would only govern the layer 4 payload. RFC 8200 would govern the layer 3 IPv6 extension headers. Paragraph 4.3 covers the Hop-by-Hop extension header. RFC 2711 covers the IPv6 Router Alert option. I'm a little fuzzy on how the router alert type value is defined but apparently it's in the IANA registry. RFC 2711 section 2.1 defines the MLD value.

      +-------------------+----------------------+-----------------------+
      
      |  IPv6 Base Header |  Hop-by-Hop Header   | ICMPv6 Header & Body  |
      |                   | (Router Alert = MLD) | (Neighbor Solicitation)|
      +-------------------+----------------------+-----------------------+
      \_________________ LAYER 3 ________________/ \_______ LAYER 4 ______/
      
      

      So from all of this, it sounds like the hop-by-hop with the router alert of MLD was just placed in the same IPv6 packet with the layer 4 payload but has no particular relevance to the neighbor solicitation. It was just an efficient way to send both of them and could have been placed in other packets like multicast listener queries/reports or router solicitations.
      It is odd that the only packets that trigger my firewall log entries are neighbor solicitation packets. I've never actually seen the any other message types get logged due to the hop-by-hop extension header.

      I would like to note again that I'm not an expert on this but based on the above, I'm not sure I could submit a bug report to Microsoft with any conviction.

      dennypageD 1 Reply Last reply
      Reply Quote 0
      • dennypageD
        dennypage @gambit100
        last edited by

        @gambit100 said in IPv6 neighbor solicitation with next header = "IPv6 Hop-by-Hop" option results in blocked entry in LAN Firewall:

        From what I can determine, the Router Alert is part of the network layer (layer 3) while the neighbor solicitation is an ICMPv6 message that is a payload (layer 4).

        That isn't correct. IPv4/IPv6, and the associated core components, of which ICMPv6 (including Router Alert) is a part, are layer 3 in the ISO model. Layer 4 are things like UDP and TCP.

        FWIW, IMO the ISO model is principally useful for teaching networking theory. Practical applications are a lot more direct. ๐Ÿ˜Š

        G 1 Reply Last reply
        Reply Quote 1
        • G
          gambit100 @dennypage
          last edited by

          @dennypage said in IPv6 neighbor solicitation with next header = "IPv6 Hop-by-Hop" option results in blocked entry in LAN Firewall:

          That isn't correct. IPv4/IPv6, and the associated core components, of which ICMPv6 (including Router Alert) is a part, are layer 3 in the ISO model. Layer 4 are things like UDP and TCP.

          Agreed. Sorry about that.

          I'm still looking at the RFCs but while I'm finding the individual RFCs to be straight forward, there is a fair amount of inter-connection among them which makes it difficult to get a holistic view of how it all works together.

          johnpozJ dennypageD 2 Replies Last reply
          Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @gambit100
            last edited by

            @gambit100 said in IPv6 neighbor solicitation with next header = "IPv6 Hop-by-Hop" option results in blocked entry in LAN Firewall:

            fair amount of inter-connection among them which makes it difficult to get a holistic view of how it all works together.

            This is quite often true - and then you have MS that does their own thing many times - with little regard to whats in the rfc's anyway ;)

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 26.07.1 | Lab VMs 2.9.1, 26.07.1

            1 Reply Last reply
            Reply Quote 0
            • dennypageD
              dennypage @gambit100
              last edited by

              @gambit100 said in IPv6 neighbor solicitation with next header = "IPv6 Hop-by-Hop" option results in blocked entry in LAN Firewall:

              I'm still looking at the RFCs but while I'm finding the individual RFCs to be straight forward, there is a fair amount of inter-connection among them which makes it difficult to get a holistic view of how it all works together.

              Absolutely.

              If you want a fast-path verification of the issue at hand, you can see RFC 9805 which formally deprecated the IPv6 Router Alert option, and also contains a complete list of IPv6 protocols in which Router Alert was used.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better ๐Ÿ’—

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy