Re: squid and different parents for different procotols?

From: Marc Haber <Marc.Haber-lists@dont-contact.us>
Date: Wed, 24 Feb 1999 00:57:35 GMT

On Thu, 18 Feb 1999 18:58:43 GMT, you wrote:
>On Sun, 31 Jan 1999 19:01:07 +0100, you wrote:
>>Marc Haber wrote:
>>See cache_peer_acl, always_direct and never_direct in squid.conf.
>
>I tried the following:
>
>|mh@torres:/usr/local/stow > pgrep -v "(^#)|(^$)" /etc/squid.conf
>|http_port 3128
>|icp_port 3130
>|htcp_port 4827
>|cache_peer junkbuster.provider.de parent 8000 3130 no-query default
>|cache_peer www-cache.provider.de parent 8080 3130 no-query default
>
>junkbuster.provider.de is a junkbuster; www-cache.provider.de is a
>squid; junkbuster can't do ftp.
>
>|cache_mem 8 MB
>|cache_dir /var/squid/cache 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
>|mime_table /usr/local/etc/mime.conf
>|pid_filename /var/run/squid.pid
>|acl manager proto cache_object
>|acl localhost src 127.0.0.1/255.255.255.255
>|acl all src 0.0.0.0/0.0.0.0
>|acl allowed_hosts src 192.168.130.0/255.255.255.0
>|acl myexample dst_as 1241
>|acl SSL_ports port 443 563
>|acl Safe_ports port 80 21 70 1025-65535
>|acl CONNECT method CONNECT
>|acl password proxy_auth 300
>|acl http proto http
>|acl ftp proto ftp
>|http_access deny CONNECT !SSL_ports
>|http_access deny !Safe_ports
>|http_access allow allowed_hosts
>|http_access allow manager allowed_hosts
>|http_access deny all
>|icp_access allow allowed_hosts
>|icp_access deny all
>|cache_peer_access junkbuster.provider.de allow http
>|cache_peer_access www-cache.provider.de allow ftp
>|cache_mgr Marc.Haber-usenet@gmx.de
>|cache_effective_user nobody
>|cache_effective_group nogroup
>|visible_hostname www-cache.gf1.internal
>|acl local-intranet dstdomain gf1.internal
>|always_direct allow local-intranet
>|never_direct allow all
>|mh@torres:/usr/local/stow >
>
>When I try to access a ftp:// url, my local squid reports back "zero
>sized reply".
>
>What am I doing wrong?

Is that so hard a question or so dumb a question? Come on, which FAQ
did I miss?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Received on Tue Feb 23 1999 - 17:56:47 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:40 MST