captive portal force disconnect user

Started by tong2x, May 08, 2021, 04:43:45 PM

Previous topic - Next topic
using the following
System Information
Name    OPNsense.onghocgan.net
Versions    OPNsense 21.1.5-amd64
FreeBSD 12.1-RELEASE-p16-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type    Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 cores)

going to captive portal session
select the chexkbox and click the trash icon
show a dialog box confirimng the action but click yes does nothing.
does not rove the user/ip

also having constant disconnect even if i set the hard idle timedout at 600minutes...
so mow I set it to zero for the moment.

Quote from: tong2x on May 08, 2021, 04:43:45 PM

going to captive portal session
select the chexkbox and click the trash icon
show a dialog box confirimng the action but click yes does nothing.
does not rove the user/ip

also having constant disconnect even if i set the hard idle timedout at 600minutes...
so mow I set it to zero for the moment.

Same problem here with OPNsense 21.1.6 ....

Has anyone an solution?

hloiter

OK,

with the command "configctl captiveportal disconnect [zoneid] [session_id]" i am able to disconnect the user session via SSH shell .....
Where can i look to get this work via Web GUI?

hloiter

Just found this entry "https://github.com/opnsense/core/issues/4908" on GitHub.

Does that mean the bug is known and is being worked on?

hloiter



Not really, it was marked "support" (nobody dived into it yet). I just tried it on my end, could reproduce it and pushed a patch (see ticket for further info).

Best regards,

Ad

OK, applying the patch "45f440a" solves the problem.

opnsense-patch  45f440a

Thanks and best regards

hloiter