PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Verbindungserror bei Squid



scriper
08.06.05, 10:15
Hi!

Mein erster Beitrag hier und schon hab ich ein Problem.

Naja, ich hoffe ihr könnt mir helfen.


Folgendes:

Ich hab mir unter SuSe 9.x den Squit installiert.

Hab ihn in der squid.conf konfiguriert und gestartet.

Dann den Proxyserver im Browser eingegeben und eine URL eingetippt.

Doch da kommt nur:


ERROR


The requested URL could not be retrieved


While trying to retrieve the URL: http://www.google.de/


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 Wed, 08 Jun 2005 08:01:57 GMT by scriper.site (squid/2.5.STABLE5)


Woher kann das kommen?

Hab im Browser wie in der Konfiguration den Port 5555 (testweise) eingetragen und als IP natürlich die des Proxyservers (der Squid und der Browser zum testen laufen auf dem selben Rechner).


Habt ihr da evtl. ne Lösung parat?

Danke schonmal! :)


MfG,
Scriper

Tomek
08.06.05, 10:19
Kannst du deine Squid-Konfiguration mit folgendem Befehl hier bitte posten?

egrep -v "^#|^$" /etc/squid/squid.conf

scriper
08.06.05, 10:21
Hier ist es:



scriper:~ # egrep -v "^#|^$" /etc/squid/squid.conf
http_port 5555
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /var/cache/squid 100 16 256
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
emulate_httpd_log on
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname scriper.site
forwarded_for off
coredump_dir /var/cache/squid

Tomek
08.06.05, 10:24
Du hast in der Squid-Konfiguration dein Netzwerk nicht eingetragen.

Wenn z.B. alle Rechner aus dem Netzwerk 192.168.1.0 Squid benutzen sollen, solltest du folgendes hinzufügen:

acl mein_netzwerk src 192.168.1.0/24
http_access allow mein_netzwerk

scriper
08.06.05, 10:52
ah, danke!

Es funktioniert!