Search squid archive

username from external_acl to url_rewrite_program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, everyone!

In my configuration of squid not used authorization based on auth_param but user name was fetched from database throught self writed script. In squid 3.3 all works fine, but in 3.5 i have a problem, user name returned from script not sended to redirector program.
squid.conf:
...

url_rewrite_program /usr/bin/tee /tmp/squid.log
url_rewrite_children 10 startup=5 idle=1 concurrency=0
url_rewrite_bypass on

external_acl_type ip_auth ttl=120 negative_ttl=1 children-max=8 children-startup=2 protocol=2.5 %SRC /usr/local/bin/squid_ip_auth.pl

acl authorized_ips external ip_auth
http_access allow authorized_ips
...

/tmp/squid.log:
http://awaps.yandex.ru/8/8980/336280 192.168.0.114/grey-xp.int.rdw.ru - GET myip=192.168.0.226 myport=3128

/var/log/squid/access.log:
1454582114.059     11 192.168.0.114 TCP_MISS/200 5137 GET http://awaps.yandex.ru/8/8980/336280 TECHCENTER\\sas HIER_DIRECT/87.250.250.131 application/x-_javascript_

any suggestions?
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux