[squid-users] clt_conn_tag and url_rewrite_program
David Touzeau
david at articatech.com
Wed Nov 16 12:50:22 UTC 2016
Hi,
I have my own redirector and i want to play with the clt_conn_tag but i
encounter some issues ( perhaps for misunderstanding )
url_rewrite_program /usr/share/artica-postfix/filter.py
url_rewrite_children 10 startup=1 idle=1 concurrency=4
url_rewrite_extras "%>a/%>A %un %>rm myip=%la myport=%lp mac=%>eui
sni=%ssl::>sni referer=%{Referer}>h tag=%et"
My plugin answer to squid with
ERR clt_conn_tag=123456\n
Or
OK status=302 url="http://blablabla.com" clt_conn_tag=123456\n
First question: clt_conn_tag=123456 in url_rewrite protocol is supported ?
Second: i have instructed squid to send the %et value.
Expected value returned should be 123456 but this not the case, squid sends
"-" value.
Is tag=%et is the correct token of url_rewrite_extras to retrieve the
clt_conn_tag value ?
Best regards.
More information about the squid-users
mailing list