From 8eded3ca18ebb9c715fbe661eb1632d83945b72f Mon Sep 17 00:00:00 2001 From: "timeo.collado" Date: Wed, 26 Mar 2025 17:10:15 +0100 Subject: [PATCH] ajout des banwords --- sisr1/tp05-squid/squid.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sisr1/tp05-squid/squid.conf b/sisr1/tp05-squid/squid.conf index cf6bf2a..0d50406 100644 --- a/sisr1/tp05-squid/squid.conf +++ b/sisr1/tp05-squid/squid.conf @@ -1340,6 +1340,8 @@ # acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl localnet src 172.16.0.0/24 #autorise le réseau interne à passer +acl mots_cles_refuses url-regex -i twitch twitch chatgpt + acl SSL_ports port 443 acl Safe_ports port 80 # http @@ -1550,6 +1552,7 @@ include /etc/squid/conf.d/*.conf # Example rule allowing access from your local networks. # Adapt localnet in the ACL section to list your (internal) IP networks # from where browsing should be allowed +http_access deny mots_cles_refuses http_access allow localnet http_access allow localhost