[squid-users] Squid Proxy - Block Access Why ?

Alex Rousskov rousskov at measurement-factory.com
Fri Jul 21 14:21:09 UTC 2023


On 7/21/23 04:46, Morad, Marc wrote:

> I am sending a request from Server A (IP: 192.10.16.20) via the squid
> proxy to Server B (IP: 192.10.16.21) in the same internal Subnet
> (192.10.16.0/22). This request is getting blocked, which is a
> behaviour we want to have. Why is it like that ? I read through all
> my configuration settings and looked what they do but cannot find a
> definite answer to that.

In most cases where Squid denies a request, that request matches an 
"http_access deny" rule. That rule may be implicit or explicit. Without 
seeing your configuration or debugging (combined with request details), 
it is impossible to tell you which deny rule (if any) matched the 
request in question.

One way to make progress here if for you to post your http_access rules 
and explain which "http_access allow" rule you expect the request to 
match (and _why_). We may be able to find a flaw in that explanation.

See also:

* https://wiki.squid-cache.org/SquidFaq/SquidAcl#access-lists

* 
https://wiki.squid-cache.org/SquidFaq/SquidAcl#how-do-i-allow-my-clients-to-use-the-cache


HTH,

Alex.



More information about the squid-users mailing list