. 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 here Describe your package requirements here Currently there are no FAQ items provided. squid 2.5.12_4 Services: Proxy Server Security /pkg_edit.php?xml=squid_ng.xml&id=0 /usr/local/pkg/squid_ng.inc Squid Modify settings for Proxy Server
Services
/pkg_edit.php?xml=squid_ng.xml&id=0
Squid stats Show Squid statistics
Services
/cachemgr.cgi
squid squid.sh General Settings /pkg_edit.php?xml=squid.xml&id=0 Upstream Proxy /pkg_edit.php?xml=squid_upstream.xml&id=0 Cache Mgmt /pkg_edit.php?xml=squid_cache.xml&id=0 Network Access Control /pkg_edit.php?xml=squid_nac.xml&id=0 Traffic Mgmt /pkg_edit.php?xml=squid_traffic.xml&id=0 Auth /pkg_edit.php?xml=squid_auth.xml&id=0 Extended Auth /pkg_edit.php?xml=squid_extauth.xml&id=0 installedpackages->package->squidng->configuration->settings /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_cache.xml /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_nac.xml /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_ng.inc /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_traffic.xml /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_upstream.xml /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_auth.xml /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_auth.inc /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/squid/squid_extauth.xml Proxy Listening Interface active_interface This defines the active listening interface to which the proxy server will listen for its requests. interfaces_selection Transparent Proxy transparent_proxy If transparent mode is enabled; all requests for destination port 80 will be forwarded to the proxy server without any additional configuration necessary. checkbox URL Filtering Enabled urlfilter_enable This 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 Filtering checkbox Disable Access Log accesslog_disabled Disable 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. checkbox Log Query Terms log_query_terms This will log the complete URL rather than the part of the URL containing dynamic queries. checkbox Log User Agents log_user_agents This 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. checkbox Proxy Port proxy_port This is the port the Proxy Server will listen for client requests on. The default is 3128. input 4 true ICP Port icp_port This 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. input 4 Visible Hostname visible_hostname This URL is displayed on the Proxy Server error messages. input 35 Cache Administrator E-Mail cache_admin_email This E-Mail address is displayed on the Proxy Server error messages. input 35 Error Messages Language error_language Select the language in which the Proxy Server shall display error messages to users. select Enable cachemgr cachemgr_enabled 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. 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");