niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Squid
Squid / ident / dansguardian
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
REMY Julien
*nix forums beginner


Joined: 16 May 2006
Posts: 5

PostPosted: Wed May 17, 2006 9:52 am    Post subject: RE: Squid / ident / dansguardian Reply with quote

Bonjour,

Somebody advised me to position DansGuardian between Squid and Internet
(instead of placing it between customers and Squid). That requires to
configure Squid so that it makes call to DansGuardian as with a proxy
relative. The stations will be connected then directly to Squid, it
will allow to use all the functionalities of authentification and of
ACLs de Squid.

Do you have a small idea? Can you explain to me how to make?

Thank you


Hello,

Quote:
I removed the file msntauth.allowusers. Only the users present in the
ACL
UtilAutorises Ident are taken into account.

If I go on Internet, that functions but when I stopped the service
Ident, I
should not authenticate myself. It is always the same problem.

What exactly do you mean: "It is always the same problem"? When you stop

ident, Squid will of course deny access (as you only allow users which
can be
identified).

I haven't used DansGuardian so far. Did you try to do the authentication
with
Squid alone (not involving DansGuardian at all)? I'd try something like
this:

ACL ServiceInfo ident /etc/squid/listeUtilisateurs
ACL authenticate proxy_auth REQUIRED

http_access allow ServiceInfo
http_access allow authenticate
http_access deny all

Then configure your external authenticator (auth_param).

Regards,

Peter

--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
Back to top
REMY Julien
*nix forums beginner


Joined: 16 May 2006
Posts: 5

PostPosted: Tue May 16, 2006 2:03 pm    Post subject: RE: Squid / ident / dansguardian Reply with quote

When Ident turns, normally I should not authenticate myself because I am in the ACL ident. Of course, I put in my navigator the port of dansguardian (8081). If I stopped Ident I must normally authenticate myself. However it is not the case. It's my problem.

I use Dansguardian because it is a good software of filtering of contents of Web pages. It is a good means of safety for the company.

ACL ServiceInfo ident /etc/squid/listeUtilisateurs
ACL authenticate proxy_auth REQUIRED

http_access allow ServiceInfo
http_access allow authenticate
http_access deny all

Then I configured my external authenticator (auth_param basic program msntauth). msntauth functions, I tested it thanks to the order /

/usr/lib/squid/msntauth
Util Password
OK



-----Message d'origine-----
De : Peter Albrecht [mailto:peter.albrecht@novell.com]
Envoyé : mardi 16 mai 2006 14:24
À : REMY Julien
Objet : Re: [squid-users] Squid / ident / dansguardian

Hello,

Quote:
I removed the file msntauth.allowusers. Only the users present in the ACL
UtilAutorises Ident are taken into account.

If I go on Internet, that functions but when I stopped the service Ident, I
should not authenticate myself. It is always the same problem.

What exactly do you mean: "It is always the same problem"? When you stop
ident, Squid will of course deny access (as you only allow users which can be
identified).

I haven't used DansGuardian so far. Did you try to do the authentication with
Squid alone (not involving DansGuardian at all)? I'd try something like this:

ACL ServiceInfo ident /etc/squid/listeUtilisateurs
ACL authenticate proxy_auth REQUIRED

http_access allow ServiceInfo
http_access allow authenticate
http_access deny all

Then configure your external authenticator (auth_param).

Regards,

Peter

--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
Back to top
REMY Julien
*nix forums beginner


Joined: 16 May 2006
Posts: 5

PostPosted: Tue May 16, 2006 11:40 am    Post subject: RE: Squid / ident / dansguardian Reply with quote

Hello

I removed the file msntauth.allowusers. Only the users present in the ACL UtilAutorises Ident are taken into account.

If I go on Internet, that functions but when I stopped the service Ident, I should not authenticate myself. It is always the same problem.

Quote:
So, you want those users which are not running an ident service on their
machines to authenticate manually? Why not denying access at all (and
therefore force them to run the ident service)?

Because in my company, There are fixed stations and stations as a TSE (terminal Server) which not support Ident.

In dansguardian.conf file :

Usernameidmethodproxyauth = off
Usernameidmethodident = on


-----Message d'origine-----
De : Peter Albrecht [mailto:peter.albrecht@novell.com]
Envoyé : mardi 16 mai 2006 11:52
À : squid-users@squid-cache.org
Objet : Re: [squid-users] Squid / ident / dansguardian

Hello,

I'm not sure if I got everything correctly ...

Quote:
In the file squid.conf, I specified the following ACL :

ACL ServiceInfo ident listeUtilisateurs
http_access allow ServiceInfo

You need to specify the absolute path of your file, e.g. something like:

ACL ServiceInfo ident /etc/squid/listeUtilisateurs

(or whereever the file is located).

Quote:
In the file of configuration of msnt (msntauth.allowusers), I specified
the list of the authorized users.

What is this file msntauth.allowusers? The list of authorised users needs to
be in the file you specify in the ACL above.

Quote:
Thus normally, if the Ident service turns on my machine and that I am in
the ACL ServiceInfo and the file msntauth.allowusers, I can reach
Internet without me to authenticate. However it is not the case.

So, you want those users which are not running an ident service on their
machines to authenticate manually? Why not denying access at all (and
therefore force them to run the ident service)?

Regards,

Peter

--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
Back to top
Peter Albrecht
*nix forums beginner


Joined: 17 Mar 2005
Posts: 18

PostPosted: Tue May 16, 2006 9:51 am    Post subject: Re: Squid / ident / dansguardian Reply with quote

Hello,

I'm not sure if I got everything correctly ...

Quote:
In the file squid.conf, I specified the following ACL :

ACL ServiceInfo ident listeUtilisateurs
http_access allow ServiceInfo

You need to specify the absolute path of your file, e.g. something like:

ACL ServiceInfo ident /etc/squid/listeUtilisateurs

(or whereever the file is located).

Quote:
In the file of configuration of msnt (msntauth.allowusers), I specified
the list of the authorized users.

What is this file msntauth.allowusers? The list of authorised users needs to
be in the file you specify in the ACL above.

Quote:
Thus normally, if the Ident service turns on my machine and that I am in
the ACL ServiceInfo and the file msntauth.allowusers, I can reach
Internet without me to authenticate. However it is not the case.

So, you want those users which are not running an ident service on their
machines to authenticate manually? Why not denying access at all (and
therefore force them to run the ident service)?

Regards,

Peter

--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
Back to top
REMY Julien
*nix forums beginner


Joined: 16 May 2006
Posts: 5

PostPosted: Tue May 16, 2006 8:36 am    Post subject: Squid / ident / dansguardian Reply with quote

hello

I am French

I would like to know if Dansguardian functions with Ident because my
problem my problem is as follows.

I set up a proxy with Squid (version 2.5) and Dansguardian (version
2.Cool. Each station Windows customer has a service Ident (version
1.1.0).I chose like mode of authentification msnt_auth. I use the OS
Redhat ES4 (core: 2.6.9-11.EL).

In the file squid.conf, I specified the following ACL :

ACL ServiceInfo ident listeUtilisateurs
http_access allow ServiceInfo

In the file of configuration of msnt (msntauth.allowusers), I specified
the list of the authorized users.

Thus normally, if the Ident service turns on my machine and that I am in
the ACL ServiceInfo and the file msntauth.allowusers, I can reach
Internet without me to authenticate. However it is not the case.

I tried in the file dansguardian.conf to specify 127.0.0.1 for the field
proxyip and I do not require more to authenticate to me to reach to
Internet, but on the other hand, if I kill the service Ident, I can
reach the Net without authentification. That is thus not normal.

What I would like, it is that when a user present in the ACL and the
file of msnt and having Ident who turn, it can reach the Net without
authentification. On the other hand, the other users will have to
authenticate themselves

Thank you for your assistance
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Wed Jan 07, 2009 7:58 pm | All times are GMT
navigation Forum index » Apps » Squid
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Insert header and footer in every page served by squid ehmedk Squid 0 Tue Apr 22, 2008 6:16 pm
No new posts Urgent and imp. Making Squid 2.6 stable as tranpsarent proxy SHERDIL Squid 0 Thu Aug 03, 2006 11:18 am
No new posts Help required for making squid 2.6 stable 2 transparent SHERDIL Squid 0 Tue Aug 01, 2006 6:55 am
No new posts Help required for making squid 2.6 stable 2 transparent SHERDIL Squid 0 Tue Aug 01, 2006 6:52 am
No new posts Shortening URLs passing through a squid hierarchy Irvine, Doug - Resources Squid 0 Fri Jul 21, 2006 10:15 am

Overstock Coupons | Free Advertising | Bleach | Car Credit | Magazine Subscriptions
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1919s ][ Queries: 20 (0.0929s) ][ GZIP on - Debug on ]