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

    how to stop logging blocked LAN IGMP?

    Scheduled Pinned Locked Moved General pfSense Questions
    78 Posts 7 Posters 3.8k Views 9 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.
    • johnpozJ Offline
      johnpoz LAYER 8 Global Moderator @dennypage
      last edited by

      @dennypage said in how to stop logging blocked LAN IGMP?:

      It will show "block/ip-option" in the tooltip if the packet was blocked due to the presence of IP options.

      Isn't that kind of obvious when the rule name is pass, but its a block and the protocol is IGMP ;)

      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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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

        Yes, I 'apply changes' and wait for the filter to reload.

        Update: after the last round of changes (moving rule to floating etc.) things were worse: the silent block rule was logging the blocked packets too.

        I rebooted. The excess logging stopped.

        Is there some part of the firewall that reads the rules on startup and does not re-read on a filter reload?

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

          @JeremyJ-0 said in how to stop logging blocked LAN IGMP?:

          Is there some part of the firewall that reads the rules on startup and does not re-read on a filter reload?

          Not that I am aware of.

          The reload of rules failing would explain your results however.

          1 Reply Last reply Reply Quote 0
          • johnpozJ johnpoz referenced this topic on
          • keyserK keyser referenced this topic on
          • M Offline
            Mission-Ghost
            last edited by

            Ran into the same problem today. I tried the suggestions in this thread, short of rebooting, but none work for me on 25.07.1.

            I was trying to get the rules and packages right to pass HDHomeRun traffic from my Entertainment VLAN to the other VLANs.

            I have had no logging of IGMP packets before doing the following:

            I added package avahi but that didn't do it, so I removed that.

            I then found and did discussed in the following referenced Reddit thread that solved the problem with passing HDHomeRun traffic to my other VLANs:

            https://www.reddit.com/r/PFSENSE/comments/1g2c9qb/hd_homerun_across_vlans/

            1. Added package udpbroadcastrelay, which, by itself did not allow the HDHomeRun traffic to pass across my VLANs.

            2. Added a floating rule as specified. This rule does not log and allows the desired traffic.

            Doing the above seems to have triggered the IGMP logging and there seems to be nowhere to turn it off. I get IGMP packet blocks on the Entertainment VLAN interface logged with a rule number I cannot locate anywhere. I went through all of my explicitly defined rules and none have the number referenced in the logs. (Aside: it would be EXTREMELY helpful to make these numbers hyperlinks that link back to the rule definition.)

            I cannot reboot now but maybe will get a maintenance time at some point in the not-too-distant future.

            This appears to be a noxious bug that would be valuable to fix. It consumes disk and log space with no value added, no request to do so, and no way to shut it off short of disrupting production with a reboot...assuming that works.

            I'll be happy to take a stab at any other ideas to try to find this rule and shut off the logging.

            Thanks in advance!

            dennypageD 1 Reply Last reply Reply Quote 0
            • dennypageD Offline
              dennypage @Mission-Ghost
              last edited by

              @Mission-Ghost Specifically on the IGMP issue, you have to add a pass rule for IGMP with IP options enabled. Like this:

              Screenshot 2025-10-26 at 15.30.03.png

              NB: Local on my firewall is an interface group that contains all the local networks (non WANs).

              As to your parent problem, I am not familiar with HDHomeRun so I cannot offer advice regarding that.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Mission-Ghost @dennypage
                last edited by Mission-Ghost

                @dennypage Thank you for taking the time to reply.

                I did as you suggested but it does not stop the logging (which is coming from a Roku box (and only one, of two, Roku boxes). I applied the rule before 16:46:30, but it keeps going and going...

                Note I did not have a pass IGMP rule prior to setting up the HDHomeRun box (which does work btw...and is not the one sending out the IGMP packets that apparently are getting blocked by a rule I can't find and can't control).

                The new rule you suggested is at the top of the 50 (Entertainment) subnet rule list.

                I'll attempt a reboot as suggested works earlier but I can't now due to network usage.

                ca071760-3bb4-448f-9844-562e5606bf2a-image.png

                9fbd210e-db64-4a3f-ad2e-7b77e28e1887-image.png

                johnpozJ dennypageD 2 Replies Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator @Mission-Ghost
                  last edited by

                  @Mission-Ghost is the pass rule you creating actually seeing evaluations? ie is the states going up vs 0/0?

                  Creating a rule does not take effect until the rules are reloading - if for some reason your rules are not loading, then no they wouldn't work.

                  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 25.07.1 | Lab VMs 2.8.1, 25.07.1

                  M 1 Reply Last reply Reply Quote 0
                  • dennypageD Offline
                    dennypage @Mission-Ghost
                    last edited by

                    @Mission-Ghost did you apply the changes after creating the rule?

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mission-Ghost @dennypage
                      last edited by Mission-Ghost

                      @dennypage I did apply the rule.

                      Here's something interesting. I just went back and put a new rule in at the top of the interface 50_ENT list, ending in 718, to block IGMP any any and LOG it.

                      It did log it, but it ALSO logs the 2040 rule being activated. (Fig. 1) So how is a top rule on an interface taking effect AND an invisible rule I can't find anywhere (including floating) both take effect? Interesting, too, that my rule is prefaced with USER_RULE and the 2040 rule is not.

                      Then I edited rule 718 and just changed it to PASS instead of BLOCK, and I get BOTH a PASS and BLOCK USER_RULE (in the same second of time) log in addition to the mystery rule 2040 block log entries, which keep going on. (Fig 2)

                      My understanding of how rules work suggests this is not consistent with how the system is documented to work...

                      Fig 1:
                      bfc8dbf8-46af-4f09-89df-b7d866653305-image.png

                      Fig 2:
                      175eb0b5-ce60-4ef8-8dd1-3a457323f2e6-image.png

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Mission-Ghost @johnpoz
                        last edited by

                        @johnpoz it appears not.

                        I now have a floating and interface rule to block these and log and both show 0 packets but a handful of state creations.

                        The floating rule (...5020) appears to be taking precedence of any activity and logging on the interface rule, as I would expect it to. Floating rule is logging both passes and blocks as the interface rule did in a previous experiment.

                        fa72d324-a3e3-45fa-8c79-451ab1ac7688-image.png

                        af231fd1-95cc-4277-a806-ae2c8d7ade10-image.png

                        cd9ad8e3-337c-4db9-b3cb-0276c332fe8a-image.png

                        dennypageD 1 Reply Last reply Reply Quote 0
                        • dennypageD Offline
                          dennypage @Mission-Ghost
                          last edited by

                          @Mission-Ghost We can't fully see your rules, as they are blocked by the pop-up. Does the floating rule have IP options enabled? If not, then it isn't going to match.

                          M 2 Replies Last reply Reply Quote 0
                          • M Offline
                            Mission-Ghost @dennypage
                            last edited by

                            @dennypage Good catch. I think I forgot them. Hang on...

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Mission-Ghost @dennypage
                              last edited by

                              @dennypage

                              63c1e2ec-d264-4d2a-aacf-d817d6950b21-image.png

                              Floating rule:
                              3afbd9ad-66cc-42b1-b317-654423c71f80-image.png

                              (Applied, both...)

                              Same story:

                              b3896cd8-e450-4985-9218-70acfa0e3d78-image.png

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                Mission-Ghost
                                last edited by Mission-Ghost

                                Curiously, the switch that the Roku box (and the router-on-a-stick) plug into reports no Multicast packets. The Roku box is on Port 4.

                                Is pfSense hallucinating?

                                7ecd1eba-ffa4-4dda-940d-b1d9bf2d02e4-image.png

                                johnpozJ dennypageD M 4 Replies Last reply Reply Quote 0
                                • johnpozJ Offline
                                  johnpoz LAYER 8 Global Moderator @Mission-Ghost
                                  last edited by johnpoz

                                  @Mission-Ghost so it prob just not logging 224.0.0.2 which is all routers.

                                  edit:

                                  Curious what settings you have in your roku - because I am sniffing on interface my rokus are on - and not seeing any 224.0.0.2 traffic. I have 2 ultras currently being used, and they are not sending that.

                                  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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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

                                    @johnpoz said in how to stop logging blocked LAN IGMP?:

                                    Curious what settings you have in your roku - because I am sniffing on interface my rokus are on - and not seeing any 224.0.0.2 traffic. I have 2 ultras currently being used, and they are not sending that.

                                    IGMP v2 leave messages are sent the all routers group. You will see it only when a host turns off a multicast subscription.

                                    Edit:

                                    And just to be clear, all IGMPv2 and IGMPv3 messages, whether queries, reports or leaves, are sent with the router alert option. They will all trigger the rule.

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • dennypageD Offline
                                      dennypage @Mission-Ghost
                                      last edited by

                                      @Mission-Ghost Can you do a quick packet capture?

                                      Something like this:

                                      tcpdump -i igc0 -w /tmp/igmp.pcap igmp
                                      

                                      where igc0 is the interface in question.

                                      Be sure that the packet capture includes a time during which you are seeing entries logged.

                                      M 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        MoonKnight @Mission-Ghost
                                        last edited by MoonKnight

                                        @Mission-Ghost

                                        Try to edit your rule again an add this into the advanced session:

                                        a4239d85-5aa3-4fbe-a4ad-e361c761e4a2-image.png

                                        I don't use floating rules on this one. This is just from one of my vlan interfaces.

                                        --- 25.07.1 ---
                                        Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                                        Kingston DDR4 2666MHz 16GB ECC
                                        2 x HyperX Fury SSD 120GB (ZFS-mirror)
                                        2 x Intel i210 (ports)
                                        4 x Intel i350 (ports)

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

                                          @dennypage said in how to stop logging blocked LAN IGMP?:

                                          You will see it only when a host turns off a multicast subscription.

                                          Why is his doing it every few seconds?

                                          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 25.07.1 | Lab VMs 2.8.1, 25.07.1

                                          J dennypageD 2 Replies Last reply Reply Quote 0
                                          • J Offline
                                            JeremyJ 0 @johnpoz
                                            last edited by

                                            original poster here. love when an old thread comes back to life!

                                            I resolved my problem by replacing all of my Dlink access points with other brands.

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