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

    Block all IPv6 Log Entries - please help me to suppress

    Scheduled Pinned Locked Moved Firewalling
    19 Posts 4 Posters 5.9k 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.
    • J
      jpvonhemel
      last edited by

      I am seeing quite a few log entries for Block all IPv6 on my firewall log.    I am a home users and do fine with IPv4.

      I would like to suppress these messages and continue to use Block all IPv6 on WAN/LAN firewall rules, but the rules (1000000004, 1000000003) seems to be in a place where users cannot disable logging.

      If I turn Block IPv6 off and reboot, the messages naturally stop.

      Is there a compelling reason to leave IPv6 turned on, say for performance or is it redundant on my home LAN?

      Looks like I may have to block IPv6 with my own rule.    Would appreciate some guidance if this is the case.

      Thanks

      Jerold

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

        If you do not want to see blocks for ipv6 by the default rule that seems IPv6 traffic.  Then turn of default rule logging and create your own rule that logs what you wan to see, ie only ipv4

        Your other option if you say your not using ipv6 is to disable it on your clients so they don't send ipv6 traffic, if no ipv6 traffic seen by pfsense default rule, then it won't be logging any ;)

        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

        I 1 Reply Last reply Reply Quote 0
        • J
          jpvonhemel
          last edited by

          So the only IPv6 I should be seeing in logs are clients are asking the router for a DCHP IPv6 address?  Just trying to understand.

          If that is the case, I should be able to narrow down clients with IPv6 turned on in the log, is this correct?

          1 Reply Last reply Reply Quote 0
          • J
            jpvonhemel
            last edited by

            IPv6 Addresses in the firewall log do not seem to resolve nor gives an error unable to resolve.  They do nothing.  I am missing something.

            1 Reply Last reply Reply Quote 0
            • J
              jpvonhemel
              last edited by

              I disabled IPv6 from command line for my two macs and one windows machine.  I have a load of other LAN clients, cams, wemo, etc that I may not have access to for turning IPv6 off.

              I am seeing the following in the log.

              Cannot seem to embed screenshots from dropbox here, not sure why.  Here is a URL

              https://www.dropbox.com/s/4u9ggdx7hu8qihh/Screenshot%202016-05-23%2008.40.14.png?dl=0

              I think these are happening between the Surfboard and the router, considering the WAN tag.  None of the addresses resolve.

              Thanks,

              Jerold

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

                Those are roots servers.. Your doing dns query too.

                So you have resolver running, and pfsense clearly has an IPv6 address.  What do you have setup on your wan interface?

                Source:  whois.arin.net
                Name:  B-GTLD-SERVERS-NET
                Handle:  NET6-2001-503-C27-1

                And that source IP is comcast

                Source:  whois.arin.net
                Name:  COMCAST6NET

                So yeah you are getting an IPv6 on your wan.. And pfsense is wanting to use that to resolve dns..

                If you don't want ipv6 on your wan, then set that to none.

                wannoipv6.png
                wannoipv6.png_thumb

                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
                • J
                  jpvonhemel
                  last edited by

                  My WAN IP is supplied by Comcast via DHCP.

                  WAN 1000baseT <full-duplex>67.190.xxx.xxx
                  2001:558:6040:6c:1c2d:xxxx:xxxx:xxxx

                  I turned IPv6 off in the WAN interface and now it only shows the IPv4 public IP.

                  I have All IPv6 traffic will be blocked by the firewall unless this box is checked CHECKED to get rid of the log messages I was receiving

                  So now if I turn IPv6 off on the various clients on my LAN, my SG-2440 should not see any requests in IPv6 form, correct?

                  Thanks for taking the time to help me!!</full-duplex>

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

                    Yup.. But as you mentioned it might be possible that there are some devices that continue to try ipv6 with no way to turn it off..  I personally wouldn't want such devices on my network that does not allow you to control such a basic thing.

                    But turning it off your clients should yes drastically reduce any ipv6 noise you see.

                    If your still seeing too much noise, there is nothing wrong with turning off the logging of default rules and creating your own rules to only log what you want.  I for example don't log anything blocked at my wan other than tcp IPv4 syn traffic.  I don't really care to see all the udp noise that is out there.

                    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
                    • J
                      jpvonhemel
                      last edited by

                      How would you recommend I resolve an IPv6 request in my log to a hardware client device?  Clicking resolve didn't seem to help me to figure out where the request was coming from.

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

                        You would most likely need to track it down by mac..  Do a packet capture for the traffic, then find it via its mac address.  You can look up the mac address to what hardware it is, ie the vendor that owns that mac range.  Once you have the mac, if you have smart switch you can find it in your switches mac address table.

                        Or see what device has the Ipv4 with that same mac.

                        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
                        • J
                          jpvonhemel
                          last edited by

                          Thank you very much for helping a pfSense beginner!  I've donated 10 dollars to FreeBSD Foundation as thanks!

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

                            That is fantastic..  Sure every little bit helps..  If you have any other questions, that is what we are here for..

                            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
                            • P
                              paftdunk
                              last edited by

                              I was going to start the same thread, but found this request. It seems like a perfectly reasonable option to at least offer to disable logging for the global IPv6 switch. Renewing that request.

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

                                "Renewing that request"

                                So you put in a feature request in redmine to disable just ipv6 default rule logging vs default rule logging all together?

                                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
                                • I
                                  imthenachoman @johnpoz
                                  last edited by

                                  @johnpoz said in Block all IPv6 Log Entries - please help me to suppress:

                                  Then turn of default rule logging

                                  Can you help me with where this setting is? And what else will it suppress?

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

                                    It would not log the default deny rules..

                                    Its under the log settings.

                                    logs.png

                                    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

                                    I 1 Reply Last reply Reply Quote 1
                                    • I
                                      imthenachoman @johnpoz
                                      last edited by

                                      @johnpoz Where can I see the default deny/pass rules?

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

                                        You don't see them in the gui, they are hidden rules. If there is not a rule that allows - then it is denied.

                                        If you want to see the full list of rules.

                                        https://docs.netgate.com/pfsense/en/latest/firewall/pf-ruleset.html

                                        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

                                        I 1 Reply Last reply Reply Quote 1
                                        • I
                                          imthenachoman @johnpoz
                                          last edited by

                                          @johnpoz Awesome. Thank you so much!

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