squidServices: Proxy ServerSecurity2.5.12_4/usr/local/pkg/squid_ng.incinstalledpackages->package->squidng->configuration->settings/pkg_edit.php?xml=squid_ng.xml&id=0squidsquid.sh/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_cache.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_nac.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_ng.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_traffic.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_upstream.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_auth.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_auth.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid/squid_extauth.xmlGeneral Settings/pkg_edit.php?xml=squid.xml&id=0Upstream Proxy/pkg_edit.php?xml=squid_upstream.xml&id=0Cache Mgmt/pkg_edit.php?xml=squid_cache.xml&id=0Network Access Control/pkg_edit.php?xml=squid_nac.xml&id=0Traffic Mgmt/pkg_edit.php?xml=squid_traffic.xml&id=0Auth Settings/pkg_edit.php?xml=squid_auth.xml&id=0Extended Auth Settings/pkg_edit.php?xml=squid_extauth.xml&id=0Proxy Listening Interfaceactive_interfaceThis defines the active listening interface to which the proxy server will listen for its requests.interfaces_selectionTransparent Proxytransparent_proxyIf transparent mode is enabled; all requests for destination port 80 will be forwarded to the proxy server without any additional configuration necessary.checkboxURL Filtering Enabledurlfilter_enableThis enables the advanced functionality in conjunction with squidGuard to provide an array of URL filtering options. This squidGuard functionality can be additionally configured from Services -> Advanced Proxy FilteringcheckboxDisable Access Logaccesslog_disabledDisable the access log entirely. By default, Squid keeps a log of all requests it processes in /var/log/access.log. This can grow to be fairly large. If you do not require this logging, check this box to disable.checkboxLog Query Termslog_query_termsThis will log the complete URL rather than the part of the URL containing dynamic queries.checkboxLog User Agentslog_user_agentsThis will enable the useragent string to be written to a separate log. The results are not shown in the GUI and should only be used for debugging purposes.checkboxtrueProxy Portproxy_portThis is the port the Proxy Server will listen for client requests on. The default is 3128.4inputICP Porticp_portThis is the port the Proxy Server will send and receive ICP queries to and from neighbor caches. The default value is 0, which means this function is disabled.4inputVisible Hostnamevisible_hostnameThis URL is displayed on the Proxy Server error messages.35inputCache Administrator E-Mailcache_admin_emailThis E-Mail address is displayed on the Proxy Server error messages.35inputError Messages Languageerror_languageSelect the language in which the Proxy Server shall display error messages to users.selectEnable cachemgrcachemgr_enabledEnable 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.checkbox
global_write_squid_config();
mwexec("/usr/local/sbin/squid -k reconfigure");
start_service("squid");
custom_php_install_command();
write_static_squid_config();
mwexec("/usr/local/sbin/squid -k reconfigure");
start_service("squid");
custom_php_deinstall_command();
stop_service("squid");