WinFuture-Forum.de: Suchmaschinen Funktionieren Nicht Mit Squid - WinFuture-Forum.de

Zum Inhalt wechseln

Nachrichten zum Thema: Linux
Seite 1 von 1

Suchmaschinen Funktionieren Nicht Mit Squid squid.conf


#1 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

  geschrieben 06. August 2008 - 06:14

Hey Leute

habe nochmals eine frage zu squid unter debian 4.0. ich hab den squid jetzt eingerichtet und komm mit meinen clients auch alle ins i-net..nur die ganzen suchmaschinen funktionieren nicht...google..msn...yahoo.... usw.

weiß einer woran das liegen könnte?

|mehrere clients| -------> squid server ------> anderer proxy server----> i-net /intranet

Zitat

squid.conf

http_port 3128
icp_port 0

cache_mem 64 MB
maximum_object_size 1024 KB
ipcache_size 1024

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

access_log /var/log/squid/access.log squid

hosts_file /etc/hosts

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 allowed_clients src ***.***.116.0/24
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # 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 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

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 allowed_clients
http_access deny all

cache_peer ***.***.177.97 parent 8080 0 default login=*****:*****

http_reply_access allow all

icp_access allow localhost
icp_access deny all

cache_effective_group proxy

coredump_dir /var/cache/squid


hab ich noch irgendein eintrag vergessen der extra für die suchmaschinen sind? oder ist irgendwas falsch?
0

Anzeige



#2 Mitglied ist offline   SpaceCowboy 

  • Gruppe: aktive Mitglieder
  • Beiträge: 762
  • Beigetreten: 17. August 04
  • Reputation: 1

geschrieben 06. August 2008 - 08:19

kannst du denn ausschliessen dass nicht der andere proxy die seiten sperrt?
in der standardeinstellung sperrt squid google und konsorten eigentlich nicht.
have you tried turning it off and on again?
0

#3 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

geschrieben 06. August 2008 - 08:30

der andere proxy läßt das durch..
bin ja mit dem grad selber hier im i-net ^^

das ist ja das komische..hmm
0

#4 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

geschrieben 06. August 2008 - 18:19

hat keiner nen plan? ^^hmpf
0

#5 Mitglied ist offline   bb83 

  • Gruppe: aktive Mitglieder
  • Beiträge: 1.874
  • Beigetreten: 30. August 05
  • Reputation: 24
  • Geschlecht:Männlich

geschrieben 06. August 2008 - 19:30

Was sagt denn der log bei einer Sperrung ?
BTW: Es gibt eine EDIT Funktion.

Dieser Beitrag wurde von bb83 bearbeitet: 06. August 2008 - 19:35

0

#6 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

geschrieben 07. August 2008 - 06:13

1218085858.244 1082 ***.***.116.211 TCP_MISS/200 7484 GET http://www.google.de/ - DEFAULT_PARENT/***.***.177.97 text/html

1218085862.381 ***.***.27.116.211 TCP_MISS/503 1577 GET http://www.google.de/search? - DIRECT/www.google.de text/html


oder hat vielleicht wer ne gute config die ich nur bissl umändern müsste ^^

Dieser Beitrag wurde von EliteU2 bearbeitet: 07. August 2008 - 06:14

0

#7 Mitglied ist offline   bb83 

  • Gruppe: aktive Mitglieder
  • Beiträge: 1.874
  • Beigetreten: 30. August 05
  • Reputation: 24
  • Geschlecht:Männlich

geschrieben 07. August 2008 - 17:02

Das sieht aber nicht nach permit aus ?
0

#8 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

geschrieben 09. August 2008 - 10:31

ahh ich hab es hinbekommen.........

hab ein paar zeilen gelöscht..die eh mehr oder weniger unnötig waren..dann hats auch geklappt...

hier mal meine fertige config die jetzt ohne probleme klappt

Zitat

http_port 3128
icp_port 0

cache_mem 256 MB
cache_dir ufs /var/spool/squid 2048 56 256
maximum_object_size 512 KB
ipcache_size 1024

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

access_log /var/log/squid/access.log squid
hosts_file /etc/hosts

client_netmask 255.255.255.0

cache_mgr *****@***.**

error_directory /etc/squid/errors/

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 allowed_clients src ***.**.116.0/24
acl surf1 src ***.**.116.68/255.255.255.255
acl surf2 src ***.**.116.69/255.255.255.255
acl surf3 src ***.**.116.208/255.255.255.255
acl surf4 src ***.**.116.61/255.255.255.255
acl surf5 src ***.**.116.62/255.255.255.255
acl surf6 src ***.**.116.41/255.255.255.255
acl surf7 src ***.**.116.52/255.255.255.255
acl surf8 src ***.**.116.66/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl gesperrt url_regex -i "/etc/squid/gesperrt.regexp"
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # 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 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access deny gesperrt

http_access allow localhost
http_access allow surf1
http_access allow surf2
http_access allow surf3
http_access allow surf4
http_access allow surf5
http_access allow surf6
http_access allow surf7
http_access allow surf8
#http_access allow allowed_clients
http_access deny all

cache_peer ***.***.177.97 parent 8080 0 no-query default login=****:*****
never_direct allow all

icp_access allow localhost
icp_access deny all

0

Thema verteilen:


Seite 1 von 1

1 Besucher lesen dieses Thema
Mitglieder: 0, Gäste: 1, unsichtbare Mitglieder: 0