Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]

Author Topic: Multithreaded PPPoE coming to pfsense  (Read 66536 times)

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7571
  • AAISP CF
Re: Multithreaded PPPoE coming to pfsense
« Reply #15 on: October 04, 2025, 09:37:00 AM »

So it turns out there is 2 Virtual IP bugs with if_pppoe.  One was fixed and patched I mentioned earlier.  The other one with in my opinion is nasty, is not fixed, and there wont even respond on their redmine, I have actually noticed lately they are not responding to a lot of redmine issues now, they seem to be only picking up on specific things. 

So the unresolved bug is if you have more than one IP, and add the IP as a IP alias (it might also happen on CARP), then if the PPPoE interface needs to be taken down, it actually stays in an UP state, and you just end up with no WAN connectivity and the device stuck until there is manual intervention or a reboot.

Since this is on the actual kernel device, and the source code has not been released, then people like me have no chance of resolving it ourselves, and I expect because me and one other person using CE have reported the issue, no one on plus, and not a mass amount of users, they are just going to leave this broken code as the norm moving forward. 

So as an example a ifconfig command to shutdown the interface simply doesnt work, it will take it offline, as it removes the primary WAN IP and any routing config, but the interface itself will stay there in a UP state with any IP alias's still attached.

The real world issue here is if there is some kind of outage on the internet service, then there will be no automatic PPP recovery.  It will need manual intervention, either to reboot to flush out the dormant PPP interface, or disabling reenabling of WAN in the GUI which also seems to properly clear it out to allow a new session to start.

So in the end it was something that affects people who use IP aliases.  Pretty wild that VIP's were not tested at all for this.

The old PPP does this via MPD software, so a lot of it was handled external to the kernel, its now almost all kernel.  This is also why the new PPP is far less configurable as well.
« Last Edit: October 04, 2025, 09:39:05 AM by Chrysalis »
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5570
    • Thinkbroadband Quality Monitors
Re: Multithreaded PPPoE coming to pfsense
« Reply #16 on: October 05, 2025, 05:04:19 AM »

Wont this need to be referred upstream to FreeBSD?
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + GL.iNet GL-X3000
Network: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX WiFi: Zyxel NWA210AX + Ubiquity NanoHD
Broadband History & Ping Monitor

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7571
  • AAISP CF
Re: Multithreaded PPPoE coming to pfsense
« Reply #17 on: October 05, 2025, 07:28:10 AM »

No, its not even in FreeBSD and exclusive to pfSense.  Thats why the code isnt accessible as well, because they havent made the 2.8.0p and 2.8.1 kernel source public.  But hopefully they will fix it, the admin on netgate forums has taken an interest.
« Last Edit: October 05, 2025, 07:30:11 AM by Chrysalis »
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7571
  • AAISP CF
Re: Multithreaded PPPoE coming to pfsense
« Reply #18 on: October 27, 2025, 06:33:44 AM »

Ok so they have replicated and found a fix, so my previous sour attitude was unwarranted. :)
So great news.
Also there is an internal unbound update to 1.24.1 'pkg update' should bump it up.  Notice it as have a script that checks for pkg updates from the entire repo, not just GUI packages.
Logged
Pages: 1 [2]