Ich habe genau das Gegenteil, also eine Blacklist (Porno) und meine squid.conf sieht so aus:
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
http_port 192.168.10.1:3128
http_port 127.0.0.1:3128
udp_incoming_address 192.168.10.1
udp_outgoing_address 0.0.0.0
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localsrc src 127.0.0.1 192.168.10.0/255.255.255.0
acl localdst dst 127.0.0.1 192.168.10.0/255.255.255.0
acl wgwlan src 192.168.10.2/30
acl SSL_ports port 443 563
acl Safe_ports port 21 70 80 81 119 210 443 563 980 1024-65535
acl CONNECT method CONNECT
acl webdav method PROPFIND TRACE PURGE PROPPATCH MKCOL COPY MOVE LOCK UNLOCK
pid_filename /var/log/squid/squid.pid
logfile_rotate 0
append_domain .test
cache_mgr admin@test
ftp_user nobody@test
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
http_access allow manager localsrc
http_access deny manager
acl PornSites url_regex "/usr/local/squid/etc/pornlist1"
http_access deny PornSites wgwlan
http_access deny CONNECT !SSL_ports
http_access allow localsrc
http_access deny all
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
icp_access allow all
miss_access allow all
emulate_httpd_log on
store_avg_object_size 3 KB
always_direct allow webdav
always_direct allow all
Du benötigst einen ACL Eintrag für die IP oder den IP Adressbereich. acl wgwlan src 192.168.10.2/30
Dann benötigst du die Liste, aber in /usr/local/squid/etc/...
In /etc/ funktioniert das nicht, Stichpunkt Rechte.
Dann benötigst du als drittes die Verlinkung der Liste zum acl (PornSites). acl PornSites url_regex "/usr/local/squid/etc/pornlist1"
http_access deny PornSites wgwlan
Für die korrekte Einstellung deiner WhiteList, findest du genug Beispiele über google.
Mfg Igi