squidServices: Proxy ServerSecurity2.5.10_4installedpackages->package->squidng->configuration->settings/pkg_edit.php?xml=squid_ng.xml&id=0squidsquid.sh/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_cache.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_nac.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_ng.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_traffic.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_upstream.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_auth.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/squid_auth.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/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.checkboxLog Enabledlog_enabledThis enables the Web Proxy logging feature. All clients requests will be written to a log file viewable under Services -> Proxy Log.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 FilteringcheckboxLog 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.select
require_once("/usr/local/pkg/squid_ng.inc");
stop_service("squid");
global_write_squid_config();
mwexec("/usr/local/sbin/squid -k reconfigure");
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");