[squid-users] allowing headers per ip and block headers on others

Alex Rousskov rousskov at measurement-factory.com
Sat Jul 13 12:10:33 UTC 2019


On 7/13/19 7:37 AM, Amos Jeffries wrote:
> On 13/07/19 9:55 pm, --Ahmad-- wrote:
>> i want it when squid access / contact with 1.2.3.4

> Use "dst" ACL for destination IP's.

> However, requests are generated before sending. Squid does not know
> which IP will *in future* be used to deliver the request.

request_header_access is applied _after_ the connection to the origin
server or peer is established. Squid does know the destination IP when
applying request_header_access rules.

Alex.


More information about the squid-users mailing list