OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: tong2x on February 16, 2023, 07:11:14 AM

Title: OPNsense 23.1.1 Captive Portal
Post by: tong2x on February 16, 2023, 07:11:14 AM
OPNsense 23.1.1-amd64

anyone having issues with captive portal after upgrade?
there was no obvious change to firewall settings but hen connecting
the portal does not show up, the dns is up and if portal is disable there is internet
firewall rules for portal is set up and has not been changed

captive portal seems running

connecting to the captive portal does not show the portal itself

I have already tried removing and recreating the zone to no avail
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: Klaus2002 on February 16, 2023, 06:30:46 PM
I have the same problem.
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: BondiBlueBalls on February 16, 2023, 08:57:25 PM
Same issue here. No changes at all to my config other than the upgrade itself.
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: pand-herber on February 17, 2023, 11:25:02 AM
We have the same problem. Was working with OPNsense 23.1_6amd64, but is broken after upgrade to 23.1.1-amd64

No changes in the config during upgrade.

Recreating the zone doesn't help, neither does deleting the sqlite database under /var/captiveportal.

Any ideas how to get it running again?
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: franco on February 17, 2023, 11:53:20 AM
There will be a hotfix in an hour. The lighttpd update removed a plugin used by captive portal to limit connections.


Cheers,
Franco
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: pand-herber on February 17, 2023, 12:44:35 PM
Nice!
Thanks for the fast fix and reply!

edit: Just installed the hotfix - captive portal is working again as expected! ;D
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: tong2x on February 17, 2023, 01:14:42 PM
QuoteA hotfix release was issued as 23.1.1_2:

captive portal: remove mod_evasion use which was discontinued by lighttpd
unbound: wait for pipe in logger (contributed by kulikov-a)

updated, captive portal is back and working

thank you!
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: BondiBlueBalls on February 17, 2023, 03:13:32 PM
Thank you so much, OPNsense team!

Edit: I updated to 23.1.1_2, but my portal hasn't returned. Is the firewall rule mentioned in the release notes necessary for it to work? I attempted to set it up, but the portal still isn't showing up. Thanks in advance! :)
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: hloiter on February 17, 2023, 08:25:12 PM
Same problem here. Hotfix 23.1.1_2 installed, but the portal does not show up, the dns is up and if portal is disable there is internet ...

Ok, i hope i found my problem .... Disabled my portal and enabled it again ... then the portal page is up again ....
Title: Re: OPNsense 23.1.1 Captive Portal
Post by: BondiBlueBalls on February 17, 2023, 09:02:29 PM
Quote from: hloiter on February 17, 2023, 08:25:12 PM
Ok, i hope i found my problem .... Disabled my portal and enabled it again ... then the portal page is up again ....

I ended up rebooting OPNsense, but the end result was the same. Thanks for the heads up!