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

    IGMP strangeness

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 7 Posters 1.2k 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.
    • beerguzzleB
      beerguzzle
      last edited by

      In the past week or so, my 1100 (pfsense 24.03) has developed a problem with IGMP. It does one allow and two denys. This pattern repeats in my logs, see attached example.Screenshot 2024-05-04 at 8.09.46 AM.png

      I do not use IGMP proxy and I have only one rule that references IGMP, an allow IPv4+6 any-to-any with logging, in my internal interface group. That rule shows no traffic, see attached.Screenshot 2024-05-04 at 8.16.11 AM.png

      Is this a new feature/bug of 24.03? Or is something else going on that I don't understand?

      Netgate 1100 and Netgate 2100, latest pfsense+ version

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

        There s a change to the way multicast is handled in pf, yes. Traffic matching the pass rule but not passed because IP options are set will be blocked by that rule rather than a default rule. That's actually the correct behaviour but was broken in previous versions.
        So first make sure you have IP options enabled on that IGMP rule.

        https://docs.netgate.com/pfsense/en/latest/firewall/configure.html#ip-options

        Steve

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

          @stephenw10 But what is weird with this one is his rule is showing no hits. I would think if the rule is trigger it should how hits, even if doesn't actually allow because of IP options on the traffic. But the one it allowed per his rule, I take it without IP options, that should of shown in the rule as hits.. Maybe he put in the rule and posted the screen shot before it actually triggered.

          @beerguzzle does your rule now show hits, ie not 0/0 in the states column?

          But yeah you should go into advanced on that rule and allow for IP options.

          options.jpg

          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.7.2, 24.11

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

            Yeah I would expect to see something there given it does have some pass hits. Maybe the timeline of the screenshots is off.

            The fact it's on an interface group could mean the interface state binding has some affect there. 🤔

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

              @stephenw10 There is also an assertion here that something prevented the options setting from taking effect without a restart. I've not experienced this myself, but it's worth noting. Perhaps there is some underlying issue?

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

                Hmm, that's weird. It's just an option in pf. As long as the ruleset is reloaded after enabling it that should work fine. Nothing there should require a reboot.

                dennypageD L 2 Replies Last reply Reply Quote 0
                • beerguzzleB
                  beerguzzle
                  last edited by

                  stephanw10 et al, thank you for the clue that fixed this issue, ie the "Allow IP Options".

                  Before I clicked this option on, I checked the state details on my rule to see what happened today while I was out hiking. Short answer, nada. No hits.

                  Screenshot 2024-05-04 at 7.55.24 PM.png

                  So then I turned on "Allow IP Options", reloaded the rules and watched the logs for a while. All of the IGMP traffic started logging as "pass", yippee. The state details for the rule also started clicking:

                  Screenshot 2024-05-04 at 8.04.32 PM.png

                  Netgate 1100 and Netgate 2100, latest pfsense+ version

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

                    @stephenw10 said in IGMP strangeness:

                    As long as the ruleset is reloaded after enabling it that should work fine. Nothing there should require a reboot.

                    Agreed. Only thing I could think of is that something prevented the reload from completing…

                    dennypageD 1 Reply Last reply Reply Quote 1
                    • Bob.DigB
                      Bob.Dig LAYER 8
                      last edited by

                      Just for completeness, here is my block rule for not "polluting" my log.

                      Screenshot 2024-05-05 at 09-30-29 pfSense.aadf.de - Firewall Rules ISWITCH.png

                      S 1 Reply Last reply Reply Quote 1
                      • S
                        SteveITS Galactic Empire @Bob.Dig
                        last edited by

                        The setting page was linked above but since I just pasted it for someone else here is the troubleshooting page:
                        https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html#packets-with-ip-options

                        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                        Upvote 👍 helpful posts!

                        1 Reply Last reply Reply Quote 0
                        • bmeeksB bmeeks referenced this topic on
                        • L
                          louis2 @stephenw10
                          last edited by louis2

                          @stephenw10

                          Note that I did reboot the system. Thinking that that may reset states.
                          And did use options
                          And put it on the first line of the floating rules
                          And Never the less, it does not work !!
                          The IMGP package are denied in state of passed
                          PIMD is telling me that the message was refused, which is in line with that blokking

                          See also my this afternoon for you morning post!

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

                            This is your first post in this thread I'm not sure what you're seeing or referring to.

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

                              @stephenw10 First post is here. @bmeeks had pointed him at this thread to read.

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

                                Ah, OK. Do you have an example screenshot of the blocked rules?

                                You would still have needed IP Options set to pass that in 23.09.1. But the floating state binding probably passed it somewhere it now doesn't.

                                If you set the global state bindign back to floating does it work as before?

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

                                  @louis2 also would really suggest you actually post the rules you have vs just saying you have this..

                                  Users quite often say they did X, but then find out they did (Y^3+42)/12 etc.. Could be as simple as rule set to tcp vs any or igmp, etc. Or rule in floating set to outbound vs inbound or quick not selected on it

                                  Picture can say 10k words in such cases.

                                  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.7.2, 24.11

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

                                    @stephenw10 said in IGMP strangeness:

                                    You would still have needed IP Options set to pass that in 23.09.1. But the floating state binding probably passed it somewhere it now doesn't.

                                    IGMP is not required for multicast to work, it just makes it more efficient. I think what is very confusing to folk is that they didn't know that IGMP was being dropped previously, and since it isn't required they saw no adverse effects. Now they are seeing IGMP drops in the logs, and on a pass rule no less. Very confusing. Many will probably not know anything about IGMP until they search the term.

                                    I guess it's a great opportunity for folk to improve the efficiency of their networks. 😊

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

                                      @dennypage said in IGMP strangeness:

                                      Many will probably not know anything about IGMP until they search the term.

                                      They most likely won't know much more even after doing that ;) hehehe

                                      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.7.2, 24.11

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

                                        @dennypage said in IGMP strangeness:

                                        @stephenw10 said in IGMP strangeness:

                                        As long as the ruleset is reloaded after enabling it that should work fine. Nothing there should require a reboot.

                                        Agreed. Only thing I could think of is that something prevented the reload from completing…

                                        @stephenw10, In the other recent thread, the user indicated that after defining the rule, they needed to perform a state reset before the rule worked. Worth noting. This would also explain the situation with the user who asserted that they had to reboot.

                                        1 Reply Last reply Reply Quote 1
                                        • S SteveITS referenced this topic on
                                        • S SteveITS referenced this topic on
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.