[squid-users] Squid Send to Cache Peer based on Header Access if not matched .
--Ahmad--
ahmed.zaeem at netstream.ps
Tue Nov 26 22:24:35 UTC 2019
Hello Floks ,
i have squid ACL/TCP Outgoing based on incoming header .
as an example below :
acl requestheader5000 req_header X-Proxy 1.2.3.4
acl requestheader5001 req_header X-Proxy 1.2.3.5
acl requestheader5002 req_header X-Proxy 1.2.3.6
acl requestheader5003 req_header X-Proxy 1.2.3.7
#########################
tcp_outgoing_address 1.2.3.4 requestheader5000
tcp_outgoing_address 1.2.3.5 requestheader5001
tcp_outgoing_address 1.2.3.6 requestheader5002
tcp_outgoing_address 1.2.3.7 requestheader5003
So if an incoming request with X-Proxy header 1.2.3.4 , it will match the Acl requestheader5000 and will have outgoing address as 1.2.3.4 . ——> no problem here .
Now Say the incoming X-Proxy header was 9.9.9.9 which is a value not matched in the current ACL .
How can we let squid to send those Type of requests “ not match with ACL “ to remote Cache peer squid in case not “ matched X-proxy header” ?
Thanks
More information about the squid-users
mailing list