]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix documentation for key_extras authentication helper parameter
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 30 Jan 2014 21:24:44 +0000 (23:24 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 30 Jan 2014 21:24:44 +0000 (23:24 +0200)
src/cf.data.pre

index 47eaf70db85255c1dd462f37138ef519462f62bf..829c22d2e28448dc8a2db1e505a315cb3e7076cf 100644 (file)
@@ -334,6 +334,16 @@ DOC_START
        sent before the required macro information is available to Squid.
        By default, Squid uses request formats provided in scheme-specific
        examples below (search for %credentials).
+       The expanded key_extras value is added to the Squid credentials
+       cache and, hence, will affect authentication. It can be used to
+       autenticate different users with identical user names (e.g., when user
+       authentication depends on http_port).
+       Avoid adding frequently changing information to key_extras. For
+       example, if you add user source IP, and it changes frequently
+       in your environment, then max_user_ip ACL is going to treat every
+       user+IP combination as a unique "user", breaking the ACL and
+       wasting a lot of memory on those user records. It will also force
+       users to authenticate from scratch whenever their IP changes.
 
        === Parameters for the basic scheme follow. ===