On 5/01/2016 11:15 p.m., Nir Krakowski wrote: > I meant to hack rewrite to supply more header information at rewrite > instead of just URL and method. > > for squid3-3.3.8 it would look like > sz = snprintf(buf, MAX_REDIRECTOR_REQUEST_STRLEN*2, "%s %s/%s %s %s > myip=%s myport=%d ua=%s cookie=%s\n", What you are speaking of is the key-extras feature of Squid-3.5. <http://www.squid-cache.org/Doc/config/url_rewrite_extras/> Please upgrade, 3.3 has been deprecated for several years now. But you asked about eCAP/ICAP filters. The answer to that is that you need a REQMOD pre-cache adaptor, the code examples for that should be the same as for any other adaptor it just requives request headers from Squid and sends back the reply to deliver to the client. Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users