Bandwidth restriction on Captive Portal
-
Is this Bug still not fixed? This is a Problem when you enable Bandwidth restriction on Captive Portal...
- $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, true);
- $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, false);
-
You mean this? https://redmine.pfsense.org/issues/13488
-
Yes...
Iam using this Patch in 25.0.5. Could this maybe generate the Problem with i Postet here?
https://forum.netgate.com/topic/176647/kern-ipc-maxsockets-limit-reached/10?_=1672841686125 -
@stephenw10
and is there a Patch to fix this for Version 25.0.5? -
@opit-gmbh said in Bandwidth restriction on Captive Portal:
and is there a Patch to fix this for Version 25.0.5?
Can't be.
This patch :
@stephenw10 said in Bandwidth restriction on Captive Portal:
You mean this? https://redmine.pfsense.org/issues/13488
can be retrofitted into 22.05, if that is the version you have.
-
you mean this?
https://redmine.pfsense.org/projects/pfsense/repository/1/revisions/c0f216b9b1b6455afc96cb37e6319a23bf28a98d/diff/src/usr/local/captiveportal/index.php -
@opit-gmbh said in Bandwidth restriction on Captive Portal:
c0f216b9b1b6455afc96cb37e6319a23bf28a98d
Yep.
Save.
Apply.
Done.Btw : pipes are now created for each portal user.
I did not use/test a bandwidth for each user, though. -
Ahh OK, i see this is fixed in Beta
What i Patched before
- $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, true);
- $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, false);
Has changed with this Patch, so i use this now for my other Netgate's with Stable version
-
@opit-gmbh said in Bandwidth restriction on Captive Portal:
What i Patched before
$pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, true);
$pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, false);
Ah, you've been reading https://forum.netgate.com/topic/174489/22-05-cp-clients-have-connectivity-issues-after-x-amount-of-time/25 I guess.
When applying patches posted on the forum, stay on the subject, even if "it works" for you.
Far better info and solutions is nearly always available on redmine. Like this patch.Btw : it was not only a change 'false' to true' (or the other way around), there were more things to change.
-
OK THX