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

    if_pppoe problems with php-fpm causing loops. (resolved)

    Scheduled Pinned Locked Moved General pfSense Questions
    85 Posts 5 Posters 17.3k Views 8 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.
    • C Offline
      chrcoluk @ajtuk
      last edited by

      @ajtuk Forgot to ask, do you have any additional IP's added as virtual IP's on your install?

      pfSense CE 2.8.1

      A 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator @chrcoluk
        last edited by

        @chrcoluk said in if_pppoe problems with php-fpm causing loops. (resolved):

        Looks like VIP is the culprit, after I removed it, pppoe2 down worked, and up then brought it back up.

        Hmm, that's good info. Let me see....

        1 Reply Last reply Reply Quote 1
        • A Offline
          ajtuk @chrcoluk
          last edited by

          @chrcoluk Yes, I have 3 VIP's setup. Also not had any drops for a good few weeks, but could just be that both AAISP and City Fibre have been stable.

          C 1 Reply Last reply Reply Quote 1
          • C Offline
            chrcoluk @ajtuk
            last edited by

            @ajtuk Yep I have not had any outages either, I updated to 2.8.1 then decided to test those commands as it was something I wanted to do to further diagnose.

            I think we may have found the reason then. Hopefully Netgate can repeat this.

            pfSense CE 2.8.1

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

              Yep. So to be clear you have IPAlias VIPs on the PPPoE interface?

              C 2 Replies Last reply Reply Quote 0
              • C Offline
                chrcoluk @stephenw10
                last edited by chrcoluk

                @stephenw10 Yep IP alias for me.

                pfSense CE 2.8.1

                1 Reply Last reply Reply Quote 1
                • C Offline
                  chrcoluk @stephenw10
                  last edited by

                  @stephenw10 Hi again, is there any news on this? like has it being tested as confirmed or anything like that yet? Thanks.

                  pfSense CE 2.8.1

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

                    Sorry not yet. Let me see what I can do....

                    1 Reply Last reply Reply Quote 1
                    • C Offline
                      chrcoluk @w0w
                      last edited by

                      @w0w said in if_pppoe problems with php-fpm causing loops. (resolved):

                      @chrcoluk said in if_pppoe problems with php-fpm causing loops. (resolved):

                      issue related to fragments

                      What issue?

                      A little bit more info now as to why if_pppoe fixed it.

                      I think mpd tcpmssfix wasnt working properly, if_pppoe uses scrub instead for same feature. I did a little bit of testing with iperf and that reports a weird mss value when using mpd combined with tcpmssfix.

                      I havent however confirmed on the cloudflare icmpcheck.popcount test yet as site seems to be down now.

                      pfSense CE 2.8.1

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

                        Hmm, interesting. So with mpd5 you ended up with both mssfix methods and that created an unknown situation?

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

                          Ok we replicated this VIP loop scenario and are working on it....

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

                            Ok I think we have a fix for this, we are testing it internally. It should be in the next 25.11 build.

                            fireodoF C 2 Replies Last reply Reply Quote 1
                            • fireodoF Offline
                              fireodo @stephenw10
                              last edited by

                              @stephenw10 said in if_pppoe problems with php-fpm causing loops. (resolved):

                              Ok I think we have a fix for this, we are testing it internally. It should be in the next 25.11 build.

                              BTW. Anything new in this matter?:

                              https://redmine.pfsense.org/issues/16229

                              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                              pfsense 2.8.1 CE
                              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

                                Not yet. The issue is more complex that initially thought. Enabling the pppoe encapsulation there prevents it crashing out but it never matches any traffic.

                                fireodoF 1 Reply Last reply Reply Quote 1
                                • fireodoF Offline
                                  fireodo @stephenw10
                                  last edited by

                                  @stephenw10 said in if_pppoe problems with php-fpm causing loops. (resolved):

                                  Not yet. The issue is more complex that initially thought. Enabling the pppoe encapsulation there prevents it crashing out but it never matches any traffic.

                                  Thanks for the Info & explanation!

                                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                  pfsense 2.8.1 CE
                                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    chrcoluk @stephenw10
                                    last edited by chrcoluk

                                    @stephenw10 said in if_pppoe problems with php-fpm causing loops. (resolved):

                                    Ok I think we have a fix for this, we are testing it internally. It should be in the next 25.11 build.

                                    Thank you very much for this. Is there a possibility of a 2.8.2 for this?

                                    I think j I found the patch here, so I can manually add to system patches I guess.

                                    https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/63566d0b473c6399376de6b97e0e06b9a6fb2550

                                    Also on the MPD thing, it has its own build in tcpmssfix, which I learnt about when examining the scrub changes made for if_pppoe, as you guys replaced that feature with scrub for if_pppoe. From what I can tell it behaves absolutely fine on if_pppoe, but when doing some tests on iperf3, I was seeing some weird results with mpd on the negotiated mss whilst its tcpmssfix was enabled. Which I think is why if_pppoe fixed my fragmentation issues. This becomes irrelevant anyway as if_pppoe is the future. :)

                                    Since its not a kernel change, perhaps it can be added to system patches package for CE? I have added patch manually, but it will be useful to others.

                                    pfSense CE 2.8.1

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

                                      Yup might do that if the next CE release looks too far out.

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