• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] SQUID blockiert alle HTTP-Seiten

danau

Member
Hallo,

habe ein paar Sorgen mit dem neu aufgesetzten SQUID unter SuSE 9.3:

Habe exakt nach den einschlägigen HowTo's gearbeitet aber trotzdem werden alle HTTP-Seiten abgelehnt (Error 403, Access Denied).

Hier meine squid.conf:

Code:
http_port 200.1.1.3:3128

icp_port 0

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 32 MB

cache_dir ufs /var/cache/squid 100 16 256

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log squid/store.log

emulate_httpd_log on

pid_filename /var/run/squid.pid

debug_options ALL,1     # Loglevel
#log_fqdn on            # Vollstaendiger Rechnername

client_netmask 255.255.255.255

ftp_user Squid@
ftp_passive on

cache_mgr webmaster

cache_effective_user squid
cache_effective_group squid

forwarded_for off

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          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https
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 591         # filemaker
acl Safe_ports port 777         # multilink http
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow !Safe_ports
http_access deny CONNECT !SSL_ports

acl our_networks src 200.1.1.0/24
http_access allow our_networks

acl badurl url_regex ^http://www.ebay*\.
http_access allow badurl

http_access allow all

Was mach ich falsch? Habe mit ALLOW und DENY schon verschiedene Sachen probiert, aber immer wurde folgendes am Client-Browser vom SQUID angezeigt:

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://beliebige_domain

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is webmaster.



--------------------------------------------------------------------------------

Generated Thu, 12 Oct 2006 13:04:20 GMT by linux.site (squid/2.5.STABLE9)
 
OP
D

danau

Member
Alles i.O.

Klappt nun perfekt. Fehler war: hatte nicht gesehen, dass weiter oben gleiche Befehle nicht auskommentiert waren.
 
Oben