Re: [squid-users] request_header_replace and acl

From: FredB <fredbmail_at_free.fr>
Date: Tue, 24 Jan 2012 12:32:18 +0100 (CET)

>
> request_header_access is a fast ACL so it can't do DNS lookups to
> find
> the dst IP address itself.
> It also only has access to details in the HTTP request headers and
> src
> IP address.
>
> Using dstdomain ACL on the requested domain name it should work.
>
> NP: using the server connection details should be technically
> possible
> at that point however. Please file an enhancement bug request
> (preferrably with patch) if it is important.
>
>

Ok thanks

> PS. I really, really hope Via is not the header you are actually
> forging. It is depended on by servers and clients to be an accurate
> representation of the protocol feature support along the transfer
> path
> and a list of servers to test when things go wrong.

No it's just a test, actually I removed the Via header

 
Received on Tue Jan 24 2012 - 11:32:32 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 24 2012 - 12:00:04 MST