Sqstat.php (from the lightsquid pkg) extracts the IP address of the first interface Squid is configured to listen on, and uses that as the target host for the “Realtime stat” page, i.e. it connects to that IP on the running port and issues “GET cache_object://localhost/active_requests HTTP/1.0”.
That’s fine, so far, except the generated squid.conf only contains “http_access allow manager localhost”; and since sqstat.php is running *on* the firewall, when it connects to A.B.C.D, the incoming request appear to come *from* A.B.C.D, not localhost. And thus, sqstat.php merely displays “Error (1): Cannot get data. Server answered: HTTP/1.0 403 Forbidden”. Any ideas on how to fix this or work around it? I can “solve” it by listening on loopback instead of LAN, but then I lose transparent proxying on the LAN. -Adam Thompson [email protected] <mailto:[email protected]>
_______________________________________________ List mailing list [email protected] http://lists.pfsense.org/mailman/listinfo/list
