LightSquid not open
-
@Jdwind the latest version of lightsquid has a bug.
If u check your certificates menu u will see a lot certs created by lightsquid, now we must see if the bug is reported...
-
@periko Yeah, I saw that so many certs. Thank you, and will wait for patch.
-
I see the problem here now and I pushed another fix for it that should work.
Though the root cause here is that it's trying to run Lightsquid as HTTPS when your GUI isn't using HTTPS. There are few legitimate cases where you wouldn't want your GUI to be using HTTPS.
If you fix that, it wouldn't be a problem either way since Lightsquid is trying to use the GUI certificate.
-
I committed a fix for this, though I had to work it slightly differently since Lightsquid on the dev snapshot branches already had this fixed but in a different way that can't be picked back to Plus 23.05.1/CE 2.7.0
If you don't want to wait for the fix, you can apply this using the System Patches package or make the changes by hand:
--- a/a/usr/local/pkg/lightsquid.inc +++ b/b/usr/local/pkg/lightsquid.inc @@ -258,7 +258,7 @@ EOF; // SSL is enabled if (!isset($lightsquid_config['lighttpd_ls_ssl']) || ($lightsquid_config['lighttpd_ls_ssl'] == "on")) { // Write out cert - $lscert = lookup_cert(config_get_path('system/webgui/certref', '')); + $lscert = lookup_cert(config_get_path('system/webgui/ssl-certref', '')); if (!is_array($lscert) || !$lscert['crt'] || !$lscert['prv']) { $lscert = system_webgui_create_certificate(); } @@ -527,8 +527,8 @@ function lightsquid_create_reportdir() { */ function lightsquid_validate_input($post, &$input_errors) { if ($post['navto_lightsquid'] == 'Open Lightsquid') { - $lightsquid_config = config_get_path('installedpackages/lightsquid/config/0'); - if (is_array($lightsquid_config)) { + $lightsquid_config = config_get_path('installedpackages/lightsquid/config/0', []); + if (empty($lightsquid_config)) { return; } list($server_host, $server_port) = explode(':', $_SERVER['HTTP_HOST']);
-
@jimp Hello.
My case pfsense runs https, I test a my lab, update lightsquid and test on VM and looks like is bee fix on both cases.
Thanks pfsense team!!! -
@periko After upgrade I can't still open Lightsquid page - wrote username, pass and it asks for the password and username again and again...
-
@Jdwind if u try change the password, use the deafult.
If continue, try to remove, restart pf and install again the package don't change the password. -
@periko Before todays upgrade I can't change password - when I save new one that was still default pass. After installed second upgrade, now that is correct. Thank you both so much for help.
-
@Jdwind the new update from lightsquid:
They fix: change password and user creation, I had test, can u check please. -
@periko you’re transparent proxy video is excellent.
-
@michmoor glad that help u.
-
@periko Yes, now it's working correct. Thank you once more.