opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.07k stars 700 forks source link

Captive Portal: "Allowed MAC-Address" ignored #7438

Open white-rabbit07 opened 1 month ago

white-rabbit07 commented 1 month ago

Hi. There's a problem with our Captive Portal and the Whitelist for the MAC-addresses. Since one the last update the whitelisted MAC-addresses are ignored. The same problem was reported here last year.

Another problem: The list -> Service: Captive Portal: Sessions is empty now but I found this error-message in the Logfiles: tail /var/log/configd/latest.log

Script action failed with Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/listClients.py /zoneid '0' /output_type 'json'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 44, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/listClients.py /zoneid '0' /output_type 'json'' returned non-zero exit status 1. (often repeated)

Can anybody confirm this? Versions: OPNsense 24.1.6-amd64 FreeBSD 13.2-RELEASE-p11 OpenSSL 3.0.13

OPNsense-bot commented 1 month ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.

white-rabbit07 commented 1 month ago

temporary solution until it is fixed: https://forum.opnsense.org/index.php?topic=19012.0