Some external helper for squid 3.4+.
Digest authentication helper for squid 3.4+.
- It get a line input from squid by sys.stdin,
- Then fetch the auth info from redis-server,
- And finally send the info back to squid by sys.stdout.
- Input line from squid:
"username":"realm" [key-extras]
- Output line send back to squid:
OK ha1="xxx"
orERR message="xxx"
orBH message="xxx"
- key-value in redis:
realm:username ==> ha1
auth_param digest program /path_to/digest_redis_auth.py -f /path_to/logfile.log -l DEBUG