squidauthServices: Proxy Server -> Authentication SettingsSecurity2.5.10_4installedpackages->package->squidauth->configuration->settings/pkg_edit.php?xml=squid_auth.xml&id=0General Settings/pkg_edit.php?xml=squid_ng.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.php?xml=squid_extauth.xml&id=0Authentication Methodsauth_methodSelect a valid authentication method. This will allow users to be authenticated by external entities or a minimum, a local password in order to access websites. The default value is "None".selectNumber of Authentication Processesauth_processesThe number of authenticator processes to spawn at one time. If many authentications are expected within a short timeframe, increase this number accordingly. The default value is 5.input4Authentication Cache TTL (in minutes)auth_cache_ttlThis specifies how long Squid assumes an externally validated username and password combination is valid for. Upon reaching the timeframe set within this value, user(s) will be re-prompted to authenticate.input4Limit IP Addresses per Userlimit_ip_addrA number can be specified to enforce restrictions to prevent potential replay attacks limiting the number of times a user can login from a different source IP address. The default value is 2.input4User/IP Cache TTL (in minutes)user_ip_cache_ttlThis value controls how long the proxy will remember the IP address that is associated with a user. This is used in conjuction with the above option.input4Require Authentication for Unrestricted Source Addressesreq_unrestricted_authcheckboxAuthentication Realm Promptauth_realm_promptThis text will be displayed at the top of the authentication request window.input40Domains Without Authenticationno_domain_authtextarea550
require_once("/usr/local/pkg/squid_ng.inc");
require_once("/usr/local/pkg/squid_auth.inc");
global_eval_auth_options();
global_write_squid_config();
mwexec_bg("/usr/local/sbin/squid -k reconfigure");