aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_ng.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid_ng.xml')
-rw-r--r--packages/squid_ng.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/squid_ng.xml b/packages/squid_ng.xml
index c3d4907f..6803f527 100644
--- a/packages/squid_ng.xml
+++ b/packages/squid_ng.xml
@@ -13,14 +13,12 @@
<section>Services</section>
<url>/pkg_edit.php?xml=squid_ng.xml&amp;id=0</url>
</menu>
- <!--
<menu>
<name>Squid stats</name>
<tooltiptext>Show Squid statistics</tooltiptext>
<section>Services</section>
<url>/cachemgr.cgi</url>
</menu>
- -->
<service>
<name>squid</name>
<rcfile>squid.sh</rcfile>
@@ -192,6 +190,13 @@
<option><name>Turkish</name><value>Turkish</value></option>
</options>
</field>
+ <field>
+ <fielddescr>Enable cachemgr</fielddescr>
+ <fieldname>cachemgr_enabled</fieldname>
+ <description>Enable Squid's cachemgr.cgi to provide stats. Once enabled you can access this from the pfSense menus. <b>Note:</b> This page is not secured by pfSense, any user with access to the pfSense admin port can view the stats. The page prompts for a password but it only required for shutting down Squid.</description>
+ <type>checkbox</type>
+ </field>
+
</fields>
<custom_add_php_command_late>
global_write_squid_config();