Project

General

Profile

Actions

Feature #15374

open

Use of cachemgr.cgi within secure lightsquid access

Added by Jonathan Lee 29 days ago. Updated 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Lightsquid
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:

Description

Hello fellow pfSense redline members,

Can we please add Squid's cachemgr.cgi to the lightsquid package.

Please see attached. I found this while researching http://www.squid-cache.org/Doc/config/mime_table/ and I noticed there is icons for a guy I have not seen yet.

http://www.squid-cache.org/Doc/config/mime_table/ (icons are still not seen in cache manager)
http://www.squid-cache.org/Doc/config/cachemgr_passwd/

It can't be accessed unless you log in, it has an easy ability to run reports.

https://forum.netgate.com/topic/187107/how-to-guide-for-accessing-squid-s-cachemgr-cgi-over-https

Squid Proxy comes pre packaged with its own cache manger.

Here is how you can access it over https.

After some research, thank you to @bnangle

One inside of pfSense go to command line and create a linker file and place it inside of

/usr/local/www/lightsquid/
command

ln -s /usr/local/libexec/squid/cachemgr.cgi /usr/local/www/lightsquid/cachemgr.cgi
Setup some default acls set a password or not

acl localhost src 127.0.0.1/255.255.255.255 to acl localhost src 10.0.0.1/255.255.255.255
cachemgr_passwd disable offline_toggle reconfigure shutdown
cachemgr_passwd none all

access the cachemgr from pfsense under light squid

https://192.168.1.1:7445/cachemgr.cgi

when inside of pfsense click the lightsiquid and adapt the url to access the cache manger.

Has anyone seen this before??


Files

Screenshot 2024-04-01 at 14.08.44.png (338 KB) Screenshot 2024-04-01 at 14.08.44.png HTTP header stats Jonathan Lee, 04/01/2024 09:57 PM
Screenshot 2024-04-01 at 14.57.58.png (586 KB) Screenshot 2024-04-01 at 14.57.58.png Cache Manager menu Jonathan Lee, 04/01/2024 09:58 PM
Screenshot 2024-04-01 at 14.57.36.png (248 KB) Screenshot 2024-04-01 at 14.57.36.png Logon screen Jonathan Lee, 04/01/2024 09:58 PM
Actions #1

Updated by Jonathan Lee 29 days ago

Of course you can't access it with a GUI login session to light squid, is this something anyone wants to research at all?

Main goal a button light squid to access this without url adaption.

Actions

Also available in: Atom PDF