Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to hide ipv6 entries in firewall logs?

    Scheduled Pinned Locked Moved General pfSense Questions
    33 Posts 7 Posters 7.0k Views
    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.
    • NogBadTheBadN
      NogBadTheBad
      last edited by NogBadTheBad

      Try changing the IPv6 src to any rather than LAN2 net.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      MikeV7896M 1 Reply Last reply Reply Quote 0
      • MikeV7896M
        MikeV7896 @NogBadTheBad
        last edited by

        @nogbadthebad said in How to hide ipv6 entries in firewall logs?:

        Try changing the IPv6 src to any rather than LAN2 net.

        This will likely fix it as it’s likely that you’re seeing the logs with multicast addresses, which aren’t LAN2 addresses.

        The S in IOT stands for Security

        1 Reply Last reply Reply Quote 0
        • emammadovE
          emammadov
          last edited by

          Which one should I choose?

          0_1539351576397_1.jpg

          Elvin

          1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad
            last edited by

            Any

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 0
            • emammadovE
              emammadov
              last edited by

              I did as you said. But it didn't help. There are ipv6 logs running in firewall logs.
              Do I always have to choose "any" as source address by default?
              0_1539442611590_Screenshot from 2018-10-13 18-54-52.png

              Elvin

              1 Reply Last reply Reply Quote 0
              • MikeV7896M
                MikeV7896
                last edited by

                Yes, you’ll need to choose “any” as the source. Link-local (fe80:) and multicast IPv6 addresses don’t meet the “LAN2 net” address range. That’s why those addresses still show up in the firewall logs for the LAN2 interface.

                The S in IOT stands for Security

                1 Reply Last reply Reply Quote 0
                • emammadovE
                  emammadov
                  last edited by

                  I have chosen "any" as the source. I am attaching photos. Please have a look and let me know where I am wrong. By the way, I have unchecked "Allow IPv6" and checked "Prefer IPv4 over IPv6" in System / Advanced / Networking.

                  0_1539586327369_1.jpg
                  0_1539586333424_2.jpg
                  0_1539586339149_3.jpg
                  0_1539586344646_4.jpg

                  Elvin

                  1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by

                    Try doing the same from your other LAN interfaces.

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                    1 Reply Last reply Reply Quote 0
                    • emammadovE
                      emammadov
                      last edited by

                      Other interfaces has the same settings as others.
                      I have WAN, LAN, LAN2, LAN3, OPENVPN, IPSEC.

                      Elvin

                      1 Reply Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad
                        last edited by NogBadTheBad

                        Hmm should work, have you killed the firewall states ?

                        There aren't any hits against that firewall rule.

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz

                          Doesn't matter what you put on your interfaces since its being blocked by the BLOCK ALL IPv6 rule you have enabled.

                          0_1539597335020_blockALL.png

                          0_1539597274368_blockallIPv6.png

                          That is what is logging it - I do not believe you can enable that and not log off the top of my head.. if you don't want any logging blocked ipv6.. Just undo that setting.. Then don't allow it.. If your seeing stuff being blocked by the default log, then as stated create an IPv6 block rule for any IPv6 and don't log it.

                          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 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • NogBadTheBadN
                            NogBadTheBad
                            last edited by

                            @johnpoz said in How to hide ipv6 entries in firewall logs?:

                            That is what is logging it - I do not believe you can enable that and not log off the top of my head.. if you don't want any logging blocked ipv6.. Just undo that setting.. Then don't allow it.. If your seeing stuff being blocked by the default log, then as stated create an IPv6 block rule for any IPv6 and don't log it

                            Drat didn't notice 1000000003, good spot John

                            Andy

                            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @emammadov
                              last edited by johnpoz

                              @emammadov said in How to hide ipv6 entries in firewall logs?:

                              We don't use IPv6 in our network.

                              Do you control all the devices in your network? If so and your not wanting to use IPv6 I would actually try and turn it off at the devices. Windows is one chatty kathy that when it comes to noise - out of the box it just doubles all that noise via IPv6. And if your not using it - its pointless to leave all that noise out there..

                              Simple reg entry or can be disabled in group policy.. Prob a good thing to see the noise so you can turn it off at the source ;)

                              Linux is not anywhere as chatty... You prob won't hear a peep out of it if you don't have IPv6 at the router.

                              547 is dhcpv6 - and 5355 is LLMNR, NOISE!!! if your not actually using it. You for sure can turn that off on ipv6.. And that screams windows clients ;)

                              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 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • emammadovE
                                emammadov
                                last edited by emammadov

                                I have checked "Allow IPv6", now I see this entries in firewall logs:

                                Oct 15 14:08:40 WAN Block ULA networks from WAN block fc00::/7 (12000) 10.128.0.2 my public ip ICMP

                                You said: if you don't want any logging blocked ipv6.. Just undo that setting.. Then don't allow it

                                It means, I have to check "Allow IPv6" and then uncheck "Allow IPv6"? I have rules in interfaces that block ipv6.

                                Elvin

                                1 Reply Last reply Reply Quote 0
                                • NogBadTheBadN
                                  NogBadTheBad
                                  last edited by

                                  @emammadov said in How to hide ipv6 entries in firewall logs?:

                                  I have checked "Allow IPv6", now I see this entries in firewall logs:
                                  Oct 15 14:08:40 WAN Block ULA networks from WAN block fc00::/7 (12000) 10.128.0.2 my public ip ICMP
                                  You said: if you don't want any logging blocked ipv6.. Just undo that setting.. Then don't allow it
                                  It means, I have to check "Allow IPv6" and then uncheck "Allow IPv6"? I have rules in interfaces that block ipv6.

                                  Status -> System Logs -> Settings

                                  0_1539598961397_Screenshot 2018-10-15 at 11.22.22.png

                                  Guessing you had these ticked.

                                  Andy

                                  1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by johnpoz

                                    @emammadov said in How to hide ipv6 entries in firewall logs?:

                                    Then don't allow it

                                    If you do not have Allow rules then ALL is blocked - all interfaces have default deny both ipv6 and Ipv4.. not allowed... Only things that are allowed are hidden like dhcp if you enable dhcp on that interface.. This is just common sense rules because most users are idiots ;) And if they enabled dhcp and it didn't work they would have a no clue how to create the firewall rules ;) I personally think they should be shown.. But that is another topic.

                                    All interfaces will block traffic if not allowed... Not blocking IPv6 just removes that stupid rule :) Then as long as you don't allow it or you put in a block rule on your own.. And don't log then no iPv6 will be allowed or working..

                                    But again - vs just not logging it at the the firewall doesn't remove the NOISE.. your just not logging it - still traffic on your network for no reason if your not using... Why should a client continue to bang its head asking for dhcpv6 if you don't have any dhcpv6 running. Why should it bother with LLMNR if nobody is using it?

                                    Security 101 is do not enable protocols and services your not using. If your NOT using ipv6 - then why should it be enabled and why should it be sending out just craptastic amounts of noise? Turn it off at the client level if you have control of the clients and they allow for it. You could for sure run into some shitty iot device that doesn't allow you to disable something like ipv6.. But from that traffic I would guess windows boxes..

                                    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 24.11 | Lab VMs 2.8, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • emammadovE
                                      emammadov
                                      last edited by

                                      Thank you. Now there are no ipv6 logs.

                                      0_1539601687040_1.jpg

                                      Elvin

                                      1 Reply Last reply Reply Quote 0
                                      • RangoR
                                        Rango
                                        last edited by

                                        Guys. There are two screenshots pointing to the same solution. One suggested by NogBadTheBad and second emammadov so i'm confused which one resolves seeing 1000000003 in firewall log?

                                        My ipv6 is disabled in the general - network settings.

                                        Should i just uncheck: "Log packets matched from default block rules in the ruleset" ???

                                        1 Reply Last reply Reply Quote 0
                                        • NogBadTheBadN
                                          NogBadTheBad
                                          last edited by NogBadTheBad

                                          If you disable IPv6 on the firewall you will see IPv6 from clients on the network hitting the lan interface.

                                          If you don’t want to see IPv6 in the logs block them and set the rule not to log if you want to see the IPv4 default deny blocks.

                                          Otherwise set don’t log the default deny.

                                          Andy

                                          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                          RangoR 1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @emammadov
                                            last edited by

                                            @emammadov said in How to hide ipv6 entries in firewall logs?:

                                            We don't use IPv6 in our network....

                                            "You" don't use IPv6. Me neither. No one does actually.
                                            But your systems, these days, started to use the default IPv6 for about everything - and if that doesn't work out, they fall back to IPv4.
                                            ☺

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

                                            stephenw10S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.