Re: [squid-users] block domains based on LDAP group and force re-authentication every 30 minutes

From: Wim Ramakers <wim.ramakers_at_lucine-os.be>
Date: Fri, 21 Feb 2014 15:43:07 +0100

Op 21-feb.-2014, om 14:00 heeft Wim Ramakers <wim.ramakers_at_lucine-os.be> het volgende geschreven:

> There is however still one thing i need to fix, I need to pass the client ip as parameter in the deny_info url. (to update the session db)
> http://www.squid-cache.org/Versions/v3/3.4/cfgman/deny_info.html tells me to use %i, but that returns a 0 instead of client ip
> http://www.squid-cache.org/Versions/v3/3.1/cfgman/deny_info.html mentions no URL FORMAT TAGS
> How does it work in v3.1 to get the client ip?
>
Found a solution, in php i use $_SERVER['HTTP_X_FORWARDED_FOR’] to get the header, with squid set to 'forward_for on’.
Received on Fri Feb 21 2014 - 14:43:14 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 21 2014 - 12:00:06 MST