diff --git a/sisr1/tp05-proxy/squid.conf b/sisr1/tp05-proxy/squid.conf index 9d902ac..6140ccc 100644 --- a/sisr1/tp05-proxy/squid.conf +++ b/sisr1/tp05-proxy/squid.conf @@ -1352,6 +1352,13 @@ acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http +# Ban des mots clés : +acl mots_interdits url_regex -i chatgpt +acl mots_interdits url_regex -i twitch +# Ban des sites suviants : +acl sites_bloques dstdomain youtube.com +acl sites_bloques dstdomain facebook.com + # TAG: proxy_protocol_access # Determine which client proxies can be trusted to provide correct # information regarding real client IP address using PROXY protocol. @@ -1551,6 +1558,9 @@ include /etc/squid/conf.d/*.conf # from where browsing should be allowed http_access allow localnet http_access allow localhost +http_access deny mots_interdits +http_access deny sites_bloques +http_access deny plage_horaire # And finally deny all other access to this proxy http_access deny all