[squid-users] Squid white list

Amos Jeffries squid3 at treenet.co.nz
Thu Jul 14 12:38:25 UTC 2022


On 14/07/22 23:16, Ben Goz wrote:
> Can you please recommend on a programmatic way to list all links in case 
> that domain A links media also from domain B but I added manually only 
> domain A?
>>

For that you will need the list of domains to be in some dynamically 
generated database. Along with a content adaptation module (may or may 
not be available publicly) to parse and process all HTML going through 
the proxy that updates your database. Maybe also TLS decryption of 
traffic so it can be passed to the adapter.

You can in some situations check the Referer header URLs against your 
whitelist. But that is not available on TLS traffic, unpredictable 
whether Referer even arrives on non-TLS and can be easily forged by 
clients to bypass proxy rules.

HTH
Amos


More information about the squid-users mailing list