RE: [squid-users] Squid NTLM Auth --> Dansguardian --> Squid Cache

From: TAVAKOLI, Amin <Amin.TAVAKOLI@dont-contact.us>
Date: Thu, 4 Nov 2004 13:30:25 +0330

Although I am not an expert to point you to a step-by-step procedure, I have the following configuration. I wish it helps.
I am using Dansguardian v 2.8.0 with Squid v 2.5.STABLE6 and my domain is Win2k with ldap authentication.

In Dansguardian Config file (./dansguardian/dansguardian.conf):
# Network Settings
filterip = 127.0.0.1
filterport = 3128
proxyip = 127.0.0.1
proxyport = 8081

You need more configuration in Squid. (/squid/squid.conf). Something like:
# Connection from LAN (auth, no cache) [ACL: FRONT]
http_port XXX.XXX.XXX.XXX:8080
# Feed back by DansGuardian (no auth, cache) [ACL: BACK]
http_port 127.0.0.1:8081

auth_param basic program /usr/lib/squid/ldap_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 20 minutes

acl FRONT myport 8080
acl BACK myport 8081

# pass the request to DansGuardian
cache_peer 127.0.0.1 parent 3128 0 proxy-only no-query
cache_peer_access 127.0.0.1 allow FRONT
cache_peer_access 127.0.0.1 deny all

follow_x_forwarded_for allow all

no_cache deny FRONT

http_access allow BACK
http_access allow FRONT

Best regards,
A. Tavakoli

-----Original Message-----
From: Matt Alexander [mailto:lowbassman@gmail.com]
Sent: Wednesday, November 03, 2004 3:33 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Squid NTLM Auth --> Dansguardian --> Squid Cache

Since Dansguardian doesn't support NTLM authentication, could someone
give me step-by-step directions or point me to a HOWTO for configuring
two squid processes on the same box? The first squid would handle the
authentication and then pass the request to Dansguardian which would
then pass it to the second squid for caching.
Thanks,
~M

-- 
Get Firefox!
http://www.mozilla.org/products/firefox/
Received on Thu Nov 04 2004 - 03:00:50 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST