
a) altlastenThink4UrS11 wrote:a) wozu läßt du squid auf beiden Ports laufen?
b) transparenter oder expliziter Proxy?
c) zeig mal deine squid.conf
Code: Select all
http_port 10.20.30.13:3128
http_port 10.20.30.13:8080
http_port 10.20.30.23:8081
https_port 10.20.30.23:8080
cache_peer 10.20.30.23 parent 8080 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
cache_swap_low 90
cache_swap_high 95
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 none
emulate_httpd_log on
mime_table /etc/squid/mime.conf
pid_filename /var/run/squid.pid
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 localnet src 10.20.30.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 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
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 deny to_localhost
http_access allow localhost
http_access allow localnet
http_access deny all
http_reply_access allow all
icp_access allow all
miss_access allow all
tcp_outgoing_address 10.20.30.23
cache_effective_user squid
visible_hostname proxy.foo.de
error_directory /etc/squid/errors
snmp_port 0
coredump_dir /var/cache/squid
Code: Select all
[07/Feb/2009:22:05:16 +0100] "CONNECT bugzilla.mozilla.org:443 HTTP/1.1" 200 82669 TCP_MISS:DIRECTCode: Select all
tcp 0 0 10.20.30.23:8080 0.0.0.0:* LISTEN
tcp 0 0 10.20.30.13:8080 0.0.0.0:* LISTEN
tcp 0 0 10.20.30.23:8081 0.0.0.0:* LISTEN
tcp 0 0 10.20.30.13:3128 0.0.0.0:* LISTEN
Code: Select all
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j REDIRECT --to-port 3128

Code: Select all
http_port 10.20.30.13:3128
http_port 10.20.30.13:8080
http_port 10.20.30.23:8081
https_port 10.20.30.23:8080
cache_peer 10.20.30.23 parent 8080 3128
Ok ist raus aber es geht noch immer nicht richtig.Think4UrS11 wrote:Das ist doch was ich sage - eine Konfig die auf sich selbst als Parent zeigt und das noch dazu falsch kann nicht zielführend sein.
schmeiß https_port und cache_peer raus dann sollte es gehen.

Oder anders gesagt - im Einsatz als Forwarding-Proxy wie in deinem Fall eher 'not really useful'This is really only useful for situations where you are running squid in accelerator mode and you want to do the SSL work at the accelerator level.
Das war es eigentlich nie. Genaugenommen ist alles!="Installation (eines Pakets)" kein GentooproblemEvildad wrote:Ist ja jetzt nicht mehr wirklich ein Gentoo only Problem.
Code: Select all
http_port 10.20.30.13:3128
http_port 10.20.30.13:8080 Das war es eigentlich nie. Genaugenommen ist alles!="Installation (eines Pakets)" kein Gentooproblem
