> acl From_Source_Domains srcdomain domain1 domain2 domain3
> acl To_Destination_Domains dstdomain domain4 domain5 domain6
> acl To_Destination_Domains dstdomain domain4 domain5 domain6
if:
> http_access allow From_Source_Domains
or, if:
> http_access allow To_Destination_Domains
or, deny all
> http_access allow From_Source_Domains
or, if:
> http_access allow To_Destination_Domains
or, deny all
According to your answer, if these are ORed, first http_access should allow connection to everywhere from domain1,domain2,domain3
Second http_access allow connections to from everywhere.
Is above statement correct ?
From: Amos Jeffries <squid3@xxxxxxxxxxxxx>
To: "squid-users@xxxxxxxxxxxxxxxxxxxxx" <squid-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 4, 2017 11:12 PM
Subject: Re: limit access with acl only based on source and destination domain
On 05/05/17 15:47, Blaxton wrote:
> What is the difference between :
That is documented in
<http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes>
if:
> http_access allow From_Source_Domains
or, if:
> http_access allow To_Destination_Domains
or, deny all
versus ...
if:
> http_access allow From_Source_Domains To_Destination_Domains
or, deny all.
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
> What is the difference between :
That is documented in
<http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes>
if:
> http_access allow From_Source_Domains
or, if:
> http_access allow To_Destination_Domains
or, deny all
versus ...
if:
> http_access allow From_Source_Domains To_Destination_Domains
or, deny all.
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users