.
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.squid2.5.12_4Services: Proxy ServerSecurity/pkg_edit.php?xml=squid_ng.xml&id=0/usr/local/pkg/squid_ng.incsquidsquid.shGeneral 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/pkg_edit.php?xml=squid_auth.xml&id=0Extended Auth/pkg_edit.php?xml=squid_extauth.xml&id=0installedpackages->package->squidng->configuration->settings/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.xmlProxy 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.checkboxProxy Portproxy_portThis is the port the Proxy Server will listen for client requests on. The default is 3128.input4trueICP 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.input4Visible Hostnamevisible_hostnameThis URL is displayed on the Proxy Server error messages.input35Cache Administrator E-Mailcache_admin_emailThis E-Mail address is displayed on the Proxy Server error messages.input35Error 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");