cache peer questions

From: <[email protected]>
Date: Fri, 13 Aug 1999 12:26:36 -0400

Hello,

I am confused regarding cache parent. We have a firewall. Squid v2.2.Stable3 is running on a separate system inside the firewall. The firewall accepts http/ftp only from the system running the squid server. We are not using icp or siblings. Squid is running fine. It is ideal to use a cache. I've looked at the newsgroup archives and read the faq.

My questions are:

Is it necessary to specify a cache_peer parent? Do I need to have a cache_peer parent.foo.net parent 3128 7 type config entry?

What is going on with or without the above entry

Also, I am not sure about prefer_dierct on, so this option in Squid conf is not enabled.

*** Any explainations or help on the above would be fantastic - thank you.

http_port 3128

cache_mem 8 MB

cache_swap_low 90

cache_swap_high 95

maximum_object_size 4096 KB

cache_dir /usr/local/squid/cache 100 16 256

cache_access_log /usr/local/squid/logs/access.log

cache_log /usr/local/squid/logs/cache.log

cache_store_log /usr/local/squid/logs/store.log

emulate_httpd_log on

pid_filename /usr/local/squid/logs/squid.pid

ftp_user squid@nowehre.com

ftp_list_width 32

cache_dns_program /usr/local/squid/bin/dnsserver

dns_children 5

authenticate_program /usr/local/squid/bin/ncsa_auth /usr/local/squid/etc/users

authenticate_children 5

authenticate_ttl 3600

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 80 21 443 563 70 210 1025-65535

acl CONNECT method CONNECT

acl FTP proto FTP

acl passwd proxy_auth REQUIRED

http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow passwd

http_access deny all

http_access allow passwd

miss_access allow all

proxy \_auth_realm Squid proxy-caching web server

cache_mgr username@domain.com

cache_effective_user squid

cache_effective_group squid
Received on Fri Aug 13 1999 - 10:00:46 MDT

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