[squid-users] external ACL based on requested port?
Alex Rousskov
rousskov at measurement-factory.com
Thu Nov 29 23:43:26 UTC 2018
On 11/29/18 3:53 PM, Kevin Kretz wrote:
> I'd also like to base the access on the port of the destination.
> Is there a way to provide the desired port to the external ACL along
> with the other information?
How about using one of the following %codes?
[http::]>ru Request URL from client
[http::]>rP Request URL port from client
You may need to handle default ports on your own, and you may need be
careful about requests on pinned connections (e.g., bumped HTTPS traffic
and connection-based authentication), but I think it should work in
principle.
Alex.
More information about the squid-users
mailing list