PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Squid Proxy sperrt alle Seiten!



VanLoewen
07.03.06, 11:37
Hallo,

hab einen Squid Proxy Server unter gentoo installiert. Der soll anhand einer blacklist gewisse Seiten sperren. Er sperrt aber alle Seiten die ich aufrufen will. Könnt ihr mir weiterhelfen und evtl. noch sagen was ich noch weglassen kann?
Hier meine Squid.conf:

http_port 3128
http_port 8080

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 16 MB
cache_dir ufs /var/cache/squid 500 16 256

emulate_httpd_log off

protocol=squid-2.5-ntlmssp

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

acl all src 192.168.0.0/255.255.255.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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

acl gesperrt url_regex -i /etc/squid/gesperrt

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow all
http_access deny gesperrt

http_reply_access allow all

icp_access allow all

cache_mgr <email>

visible_hostname <Proxy>

forwarded_for off

mbo
08.03.06, 13:42
Was heißt gesperrt?
Wie sehen die Logs aus?

cu/2

VanLoewen
09.03.06, 08:14
Hab das Problem schon gefixt. Der die erlaubten, und die von mir durch eine Blacklist gesperrten seiten gesperrt. Aber jetzt läufts, hab nur was vergessen.

Windoofsklicker
09.03.06, 08:31
http_access allow all
http_access deny gesperrt


In meiner Squid.conf heist es: http_access allow all all