Squid代理服务器管理界面

时间:2018-01-23 18:32:58

标签: linux security proxy open-source squid

我的客户端有Squid代理服务器,它运行正常。但是要查看访问日志和其他更改,我们只能通过命令提示符进行操作。此外,我是Squid服务器的新手。

客户希望我检查管理界面以查看

有多少人在使用Squid服务器?要了解他们记录的浏览器信息?以及其他数据,如webalizer。

所以我的问题是,

是否有任何管理界面可以在Squid服务器中安装?

非常感谢任何帮助。

感谢。

1 个答案:

答案 0 :(得分:1)

Squid cache provides a basic web interface for stats via Cache Manager.

Presuming you have a default install start by checking for the following file which you will need to edit to allow yourself access to the interface by setting the allow from line;

/etc/httpd/conf.d/squid.conf

Once you have reloaded your web server config you should be able to navigate too; http://<your host>/cgi-bin/cachemgr.cgi

You should then be able to access a number of stats and counters.

If you prefer squid also supports snmp via the config file at; /etc/squid/squid.conf where in you should add the following section (Customising as required)

snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic
snmp_access deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255

Information and the OID values can be found in the docs here.