Hi Adam,
I left out all default values, below is the squid.conf file including all
defaults.
ls -l /etc/passwd.squid
-rw-rw-rw- 1 root root 19 Sep 22 13:52 /etc/passwd.squid
*** squid.conf ***
http_port 128.0.0.19:8000
ssl_unclean_shutdown off
icp_port 3130
htcp_port 4827
udp_incoming_address 0.0.0.0
udp_outgoing_address 255.255.255.255
icp_query_timeout 0
maximum_icp_query_timeout 2000
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
fqdncache_size 1024
cache_replacement_policy lru
cache_dir ufs /var/spool/squid 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
cache_store_log /var/log/squid/store.log
emulate_httpd_log off
log_ip_on_direct on
mime_table /etc/squid/mime.conf
log_mime_hdrs off
pid_filename /var/run/squid.pid
debug_options ALL,1
log_fqdn off
client_netmask 255.255.0.0
ftp_user Squid@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
ftp_telnet_protocol on
cache_dns_program /usr/lib/squid/dnsserver
dns_children 5
dns_retransmit_interval 5 seconds
dns_timeout 2 minutes
dns_defnames off
dns_nameservers 158.152.1.43 158.152.1.58
hosts_file none
diskd_program /usr/lib/squid/diskd
unlinkd_program /usr/lib/squid/unlinkd
pinger_program /usr/lib/squid/pinger
redirect_children 5
redirect_rewrites_host_header on
auth_param basic program /usr/local/squid/libexec/ncsa_auth
/etc/passwd.squid
auth_param basic children 5
auth_param basic realm Minerva Dental Squid Proxy
auth_param basic credentialsttl 2 hours
wais_relay_port 0
request_header_max_size 10 KB
request_body_max_size 0 KB
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 1 minute
range_offset_limit 0 KB
forward_timeout 4 minutes
connect_timeout 1 minute
peer_connect_timeout 30 seconds
read_timeout 15 minutes
request_timeout 5 minutes
persistent_request_timeout 1 minute
client_lifetime 1 day
half_closed_clients on
pconn_timeout 120 seconds
ident_timeout 10 seconds
shutdown_lifetime 30 seconds
acl authuser proxy_auth REQUIRED
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
acl all src 0.0.0.0/0.0.0.0
http_access allow manager localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow authuser
http_access allow all
http_reply_access allow all
icp_access allow all
miss_access allow all
ident_lookup_access deny all
reply_body_max_size 0 allow all
cache_mgr root
cache_effective_user squid
cache_effective_group squid
visible_hostname fedoraproxy
unique_hostname fedoraproxy
announce_period 0
announce_host tracker.ircache.net
announce_port 3131
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy off
httpd_accel_uses_host_header off
dns_testnames netscape.com internic.net nlanr.net microsoft.com
logfile_rotate 0
tcp_recv_bufsize 0 bytes
memory_pools on
forwarded_for on
log_icp_queries on
icp_hit_stale off
minimum_direct_hops 4
minimum_direct_rtt 400
store_avg_object_size 13 KB
store_objects_per_bucket 20
client_db on
netdb_low 900
netdb_high 1000
netdb_ping_period 5 minutes
query_icmp off
test_reachability off
buffered_logs off
reload_into_ims off
icon_directory /usr/share/squid/icons
short_icon_urls off
error_directory /etc/squid/errors
maximum_single_addr_tries 1
snmp_port 0
snmp_access deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255
as_whois_server whois.ra.net
as_whois_server whois.ra.net
wccp_router 0.0.0.0
wccp_version 4
wccp_incoming_address 0.0.0.0
wccp_outgoing_address 255.255.255.255
delay_pools 0
max_open_disk_fds 0
offline_mode off
uri_whitespace strip
mcast_miss_addr 255.255.255.255
mcast_miss_ttl 16
mcast_miss_port 3135
mcast_miss_encode_key XXXXXXXXXXXXXXXX
nonhierarchical_direct on
prefer_direct off
strip_query_terms on
coredump_dir /var/spool/squid
redirector_bypass off
ignore_unknown_nameservers on
digest_generation on
digest_bits_per_entry 5
digest_rebuild_period 1 hour
digest_rewrite_period 1 hour
digest_swapout_chunk_size 4096 bytes
digest_rebuild_chunk_percentage 10
client_persistent_connections on
server_persistent_connections on
detect_broken_pconn off
pipeline_prefetch off
request_entities off
high_response_time_warning 0
high_page_fault_warning 0
high_memory_warning 0
store_dir_select_algorithm least-load
ie_refresh off
vary_ignore_expire off
sleep_after_fork 0
*** squid.conf ***
Thanks,
Gareth.
-----Original Message-----
From: Adam Aube <aaube01@baker.edu>
To: squid-users@squid-cache.org
Date: Thu, 23 Sep 2004 18:51:14 -0400
Subject: [squid-users] Re: ncsa_auth reject
> Gareth Evans wrote:
>
> > Squid.conf as follows
>
> This isn't complete - there is no setting of a cache directory or of
> the
> user/group Squid runs as. Please post the full squid.conf.
>
> Also, please post the output of "ls -l /etc/passwd.squid".
>
> Adam
>
Received on Fri Sep 24 2004 - 03:00:13 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT