I have Squid installed at my site, and upon upgrading from Squid
2.5-STABLE4 to STABLE6, my client domain names (I use reverse lookups)
appear truncated.

For example I have (STABLE4 -> STABLE6):

l900c1.dhcp.internal.hawkerc.net -> l900c1.d

but I still get:

nicola.internal.hawkerc.net -> nicola.internal.hawkerc.net

The only thing that changed was the Squid version.  (The new version was
compiled with --enable-snmp).  I was using RCS to track squid.conf
changes, and the patch since a known good point is attached. (In case it
matters, but I don't think it does).

Andrew Bartlett
-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Authentication Developer, Samba Team            http://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
--- /etc/squid/squid.conf	2004/05/18 06:19:07	1.8
+++ /etc/squid/squid.conf	2004/07/20 04:38:09
@@ -13,6 +13,7 @@
 #          hostname             type     port   port  options
 #          -------------------- -------- ----- -----  -----------
 cache_peer csn-proxy.internal.hawkerc.net parent 3128 3130 login=hawker:adf1t6 no-query
+cache_peer proxy.interact.com.au parent 3128 3130
 
 #InterACT is *much* faster, but CSN is a very good backup (when it's there...)
 nonhierarchical_direct off
@@ -33,7 +34,7 @@
 cache_dir aufs /var/spool/squid2 4000 16 256
 
 # We run a script that moves stuff from access.log.in to access.log
- cache_access_log /var/log/squid/access.log.in
+ cache_access_log /var/log/squid/access.log.fifo
 
 logfile_rotate 0
 
@@ -75,7 +76,8 @@
 #auth_param ntlm program /usr/local/squid/libexec/wb_ntlmauth
 auth_param ntlm program /usr/local/samba/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
 auth_param ntlm children 30
-auth_param ntlm max_challenge_reuses 20
+auth_param ntlm max_challenge_reuses 0
+auth_param ntlm use_ntlm_negotiate on
 auth_param ntlm max_challenge_lifetime 2 minutes
 auth_param basic program /usr/local/samba/bin/ntlm_auth --helper-protocol=squid-2.5-basic
 auth_param basic children 5
@@ -142,6 +144,13 @@
 
 ident_lookup_access allow hawkerc-internal-srv
 
+#SNMP is used to monitor squid's performance:
+
+acl snmppublic snmp_community public
+snmp_port 3401
+snmp_access allow snmppublic localhost
+snmp_access deny all
+
 cache_mgr [EMAIL PROTECTED]
 
 cache_effective_user squid

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to