squid.incsquidauthProxy server: AuthenticationGeneral settings/pkg_edit.php?xml=squid.xml&id=0Upstream proxy/pkg_edit.php?xml=squid_upstream.xml&id=0Cache management/pkg_edit.php?xml=squid_cache.xml&id=0Access control/pkg_edit.php?xml=squid_nac.xml&id=0Traffic management/pkg_edit.php?xml=squid_traffic.xml&id=0Auth settings/pkg_edit.php?xml=squid_auth.xml&id=0Local users/pkg.php?xml=squid_users.xmlAuthentication methodauth_methodSelect an authentication method. This will allow users to be authenticated by local or external services.noneselecton_auth_method_changed()auth_serverAuthentication serverEnter here the IP or hostname of the server that will perform the authentication.input60auth_server_portAuthentication server portEnter here the port to use to connect to the authentication server. Leave this field blank to use the authentication method's default port.input60ldap_userLDAP server user DNEnter here the user DN to use to connect to the LDAP server.input60ldap_passwordLDAP passwordEnter here the password to use to connect to the LDAP server.password60ldap_basedomainLDAP base domainFor LDAP authentication, enter here the base domain in the LDAP server.input60radius_secretRADIUS secretThe RADIUS secret for RADIUS authentication.password60msnt_secondarySecondary NT serversComma-separated list of secondary servers to be used for NT domain authentication.input60auth_promptAuthentication promptThis string will be displayed at the top of the authentication request window.Please enter your credentials to access the proxyinputauth_processesAuthentication processesThe number of authenticator processes to spawn. If many authentications are expected within a short timeframe, increase this number accordingly.5input60auth_ttlAuthentication TTLThis specifies for how long (in minutes) the proxy server assumes an externally validated username and password combination is valid (Time To Live). When the TTL expires, the user will be prompted for credentials again.60input60unrestricted_authRequiere authentication for unrestricted hostsIf this option is enabled, even users tagged as unrestricted through access control are required to authenticate to use the proxy.checkboxno_auth_hostsSubnets that don't need authenticationA comma-separated list of subnets (in CIDR range, e.g.: 10.5.0.0/16, 192.168.1.50/32) whose hosts won't be asked for authentication to access the proxy.textarea550
$transparent_proxy = ($config['installedpackages']['squid']['config'][0]['transparent_proxy'] == 'on');
if($transparent_proxy)
$input_errors[] = "Authentication cannot be enabled while transparent proxy mode is enabled";
squid_print_javascript_auth();
squid_validate_auth($_POST, &$input_errors);
squid_print_javascript_auth2();
squid_print_javascript_auth2();
squid_resync();