* On Fri, 15 Feb 2002 at 7:03 +0100, Blaufrosch@gmx.de wrote:
Ich möchte gerne per Squid nur ganz bestimmte URL zulassen. Die Datei soll dest.conf heißen. Ich habe das entsprechend in der squid.conf eingestellt, aber ich kann nach einen Restart immer noch nach überall hin surfen. Wasmache ich falsch?? Meine squid.conf: acl allowed_hosts src 192.168.2.0/255.255.255.0 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 SSL_ports port 443 563 acl Safe_ports port 80 21 443 563 70 210 1025-65535 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 erlaubt_rev dstdomain "/etc/squid/dest.conf"
http_access deny !erlaubt_rev http_access deny all # # # .eml-Dateien ausfiltern acl worm urlpath_regex -i \.eml$ http_access deny worm http_access allow localhost http_access allow allowed_hosts http_access deny all
Ich würde sagen, die Reihenfolge passt nicht ganz, deny !erlaubt_rev gehört AFAIk weiter nach unten: http_access deny all http_access deny worm http_access allow localhost http_access allow allowed_hosts http_access deny !erlaubt_rev http_access deny all -- Adalbert PGP welcome, request public key: mailto:adalbert+key@lopez.at