os-stunnel not starting / status incorrect on 24.7.1
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
- [ x ] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [ x ] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [ x ] The title contains the plugin to which this issue belongs
Describe the bug
After updating to 24.7.1 (from 24.1.10), the stunnel plugin is inconsistently reported running or not running, and has trouble starting. I'm comparing the "Services" dashboard widget, the status in the top-right of the "VPN > Stunnel" page, and the output of sockstat -l checking for listening on the correct ports.
To Reproduce
- On reboot: the dashboard widget says stunnel is running, the "VPN > Stunnel" page says stunnel is not running, and
sockstat -lshows stunnel is listening on all configured ports. It appears the "VPN > Stunnel" page is wrong. - Using the dashboard widget, stop stunnel. All three checks indicate stunnel is stopped.
- Using either the dashboard widget or the "VPN > Stunnel" page, attempt to restart stunnel. Stunnel will not start according to any of the three checks.
Expected behavior I would expect the dashboard widget and the "VPN > Stunnel" page to be consistent with each other and show the correct status, and be able to stop and restart stunnel.
Screenshots Can provide if needed.
Relevant log files Can provide if needed.
Additional context Can provide if needed.
Environment
OPNsense 24.7.1 (amd64). os-stunnel version 1.0.5_3 Intel® N100 Network Intel® I226-V