authentication - How to configure squid to pass client ip to authenticate program? -


After the

I want to use my own certified program in squid like the following.

  auth_param basic program / usr / bin / dragon python_script_location auth_param Basic children 20 auth_param basic scope user name and password auth_param basic credentialsttl 5 hours  

but default Satire only pass the username and password for python_script_location (see example here).

Is it possible to pass values ​​built into something as additional logic? Like the client IP, the IP of the squid server (I want to know which IP client is reaching, there are many outgoing IP addresses)

It looks like Squid 3.5 will add this new feature :. Key_extras for auth_param

% LA: Local IP addresses where the request was accepted

Then we have a certified program command line You can add "Local IP Addresses" to the following: digest key_extras auth_param "% la"


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -