<div dir="ltr">Hi Alex, I meant that the filter is of the HTTP of the client-request and not the client-response or server-response.<div>From what I've seen there is no example that monitors headers if at all possible.</div><div><br></div><div>what I'm looking for is something like url_rewrite/redirect but based on headers as input to my filter.</div><div>headers such as User-Agent for example.</div><div><br></div><div>Any of examples like those exist via ecap or redirect ? or does it require a hack into squid ?</div><div><br></div><div>Thanks,</div><div>Nir.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 2, 2016 at 8:33 PM, Alex Rousskov <span dir="ltr"><<a href="mailto:rousskov@measurement-factory.com" target="_blank">rousskov@measurement-factory.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 01/01/2016 04:46 PM, Nir Krakowski wrote:<br>
> anybody have a link to an example of a  ecap code that filters incoming<br>
> requests by filter ?<br>
><br>
> or what do I look for ?<br>
<br>
</div></div>This is not a Squid-specific question. However, the eCAP ClamAV adapter<br>
does "filter" messages (requests and/or responses):<br>
<br>
    <a href="http://www.e-cap.org/Market" rel="noreferrer" target="_blank">http://www.e-cap.org/Market</a><br>
<br>
If that is not what you are looking for, then please detail what you<br>
mean by "filters requests by filter".<br>
<br>
<br>
Thank you,<br>
<br>
Alex.<br>
<br>
</blockquote></div><br></div>