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

    Unable to stop IGMP traffic logging

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 4 Posters 1.1k 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
      jch
      last edited by

      Hello,

      version pfSense+ 23.05
      hardware : Netgate 1537

      Logs are flooded with IGMP traffic, there are hundreds of records, as shown below :

      LAN Default allow LAN to any rule (100000101) 192.168.20.145 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.71 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.167 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.72 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.171 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.150 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.146 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.207 224.0.0.22 IGMP
      LAN Default allow LAN to any rule (100000101) 192.168.20.189 224.0.0.22 IGMP

      I do not log traffic in pass filter rules
      "Log packets matched from the default pass rules put in the ruleset" is not checked under 'System Logs/Settings'
      Adding a filter rule to block IGMP traffic on the LAN interface or in floating rules doesn't change anything (IGMP is still logged as Pass traffic, rule as no impact ..)

      I've done a lot of research but I can't find anything to solve this problem, any idea ?

      Thanks for your help :)

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

        @jch can you post your rules?

        What is set here.. Your saying this is not checked..

        log.jpg

        Is it set on the rule itself, or on a rule in floating? Please post screenshot of your lan and floating rules.

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          jch @johnpoz
          last edited by

          @johnpoz

          Here are the screenshots :
          Capture d’écran du 2023-06-22 12-12-19.png
          Capture d’écran du 2023-06-22 12-13-46.png
          Capture d’écran du 2023-06-22 12-14-55.png

          What i did :
          Status / Filter reload
          System log / Settings / Reset log Files

          Same result, IGMP flow are still logged :
          Capture d’écran du 2023-06-22 12-15-55.png

          P 1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by stephenw10

            Did you ever have logging enabled on the default rule?

            When you ran Status > Filter Reload does it complete without error? Do you have any alerts/notices showing?

            Steve

            J 1 Reply Last reply Reply Quote 0
            • J
              jch @stephenw10
              last edited by

              @stephenw10

              Yes, I had activated it at the beginning for debugging purposes, then i disabled it.

              Filter reload do not produce any error as you can see :
              Capture d’écran du 2023-06-22 14-11-16.png

              And there is nothing relevant in the system logs either

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ok, and no alerts showing after running that?

                Check the ruleset file dircetly:

                grep 100000101 /tmp/rules.debug
                

                Does it show logging on that rule?

                J 1 Reply Last reply Reply Quote 0
                • J
                  jch @stephenw10
                  last edited by

                  @stephenw10

                  yes, i confirm there is no alert after running 'Reload filter' and no logging option on this rule :

                  Capture d’écran du 2023-06-22 14-29-23.png

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, OK. And just to confirm you are still seeing new entries being logged in the firewall log for that?

                    Just for completeness check:

                    pfctl -vsr | grep 100000101
                    

                    Make sure that actual running rule also shows that.

                    Also check the IGMP block rule you added is present there. That should prevent anything hitting the pass rule anyway.

                    J 1 Reply Last reply Reply Quote 1
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Also to confirm can I assume you did not see these logged before you enabled logging n the rule during testing?

                      And that you have rebooted the firewall since this started and it makes no difference?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jch @stephenw10
                        last edited by

                        @stephenw10

                        Yes, i confirm :
                        Capture d’écran du 2023-06-22 15-02-02.png

                        In addition :
                        Capture d’écran du 2023-06-22 15-04-05.png

                        Block rules :
                        Capture d’écran du 2023-06-22 15-03-38.png

                        The filter block rules has no effect

                        1 Reply Last reply Reply Quote 0
                        • J
                          jch @stephenw10
                          last edited by

                          @stephenw10

                          Right, it was after using the logging options in the rules that the logs appeared.
                          I haven't performed a reroot or reboot since the production deployment, but i can't do it now, i have to wait until tonight, i'll let you know

                          Many thanks for your help !

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            The floating rule is not set as quick so it would still hit the pass rule on LAN after that. Though it shouldn't because the block rule on LAN should catch it.

                            Try setting that floating rule to 'quick' though.

                            J 1 Reply Last reply Reply Quote 0
                            • P
                              pst @jch
                              last edited by

                              @jch have you tried removing the destination in the rule, it is a broadcast address? Your rules shows that the the the IGMP rule is never triggered, states = 0/0. I found an old and disabled IGMP reject rule among my rules and I remember that one working. It is defined without destination address.

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jch @stephenw10
                                last edited by

                                @stephenw10

                                I added the 'Quick' option but the problem remains :
                                Capture d’écran du 2023-06-22 15-27-31.png

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jch @pst
                                  last edited by

                                  @pst

                                  Same result :
                                  Capture d’écran du 2023-06-22 15-34-09.png

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Hmm, try enabling 'IP Options' in the advanced settings on that floating block rule.

                                    Normally you would need to enable IP Options to pass multicast traffic like that.

                                    J 2 Replies Last reply Reply Quote 0
                                    • J
                                      jch @stephenw10
                                      last edited by

                                      @stephenw10

                                      Thanks for this advice, i checked this option but IGMP flows continue to be logged as 'Pass' traffic.
                                      I'm going to do a reboot later, i'll let you know, Thanks !

                                      1 Reply Last reply Reply Quote 1
                                      • J
                                        jch @stephenw10
                                        last edited by

                                        @stephenw10

                                        Problem solved, IGMP logs flooding disappeared after reboot, it's some kind of bug ..
                                        Thanks again for your help :)

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Hmm, bizarre! Glad it was solved.

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