
http_port 3128 cache_mgr spillerm@localwurst.de cache_effective_user squid cache_effective_group squid error_directory /usr/pkg/share/squid/errors/German acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT acl localwurst-vpn src 10.0.16.0/24 http_access allow localhost http_access allow localwurst-vpn http_access deny all header_access User-Agent deny all header_replace User-Agent Gozilla/4711.0815 (CP/M; 11-bit; 42 KByte)
3 Comments
Danke für diese kleine howto, man richtet ja nicht jeden tag ne blacklist ein. nach einem jahr wars einfach raus aus dem kopf. hat sehr geholfen, das ganze flott wieder einzubinden.
Hmmm… für squid >= 2.5 sollte das aber eigentlich gehen, nur probiert hab ich’s noch nie. Müsste doch eigentlich reichen, wenn Du in der nsswitch.conf die Reihenfolge auf „files dns“ änderst? Nur mal so eine Idee…