AW: [squid-users] deny_info for duplicate logins

From: Rost, Werner <Werner.Rost@dont-contact.us>
Date: Wed, 24 Jul 2002 08:59:00 +0200

ok, I found the answer in the archive:

http://list.cineca.it/cgi-bin/wa?A2=ind0204&L=squid&P=R37639

Can be done in Squid-2.5. authenticate_ip_ttl_is_strict has
been replaced by a acl, allowing you to use deny_info to control the
error message to return.

Regards
Henrik

> Mit freundlichen Grüßen / regards
> Werner Rost
>
> ---------------------------------------------------------------------
> ZF Boge GmbH
> Werner Rost
> IT
> Friesdorfer Str. 175
> D-53175 Bonn
>
>
> phone: +49/228/3825 420
> fax: +49/228/3825 398
> werner.rost@zfboge.com
>
> www.boge-vibrationcontrol.com
> ---------------------------------------------------------------------
>

> -----Ursprüngliche Nachricht-----
> Von: Rost, Werner
> Gesendet am: Montag, 22. Juli 2002 11:03
> An: 'squid-users@squid-cache.org'
> Betreff: [squid-users] deny_info for duplicate logins
>
> Hi all,
>
> I configured SQUID to deny access if a user ties a second
> logon from another
> PC:
>
> authenticate_ip_ttl 90 seconds
> authenticate_ip_ttl_is_strict on
>
> This works pretty good. Now I want to create special error
> messages in case
> of duplicate logins. Therefore I created a file
> \errors\BOGE_ERR_DUP_LOGON
> and modified squid.conf:
>
> deny_info ERR_BOGE_DUP_LOGON authenticate_ip_ttl
> deny_info ERR_BOGE_DUP_LOGON authenticate_ip_ttl_is_strict
>
> Unfortunately this does not work. User gets the standard
> message "Access
> denied. Access control configuration prevents your request grom being
> allowed at this time."
>
> access.log shows:
>
> Mon Jul 22 10:49:01 2002 1 192.125.128.156 TCP_DENIED/403 990 GET
> http://www.google.de/ rost NONE/- -
> Mon Jul 22 10:49:01 2002 10 192.125.128.156
> TCP_DENIED/403 1006 GET
> http://www.google.com/search? rost NONE/- -
>
>
> cache.log shows:
>
> 2002/07/22 10:49:01| aclMatchProxyAuth: user 'rost' tries to
> use multple IP
> addresses!
>
>
> Indeed I did a "squid -k rekonfigure".
> Version of Squid is 2.4 Stable 3
>
> Any ideas?
>
> > Mit freundlichen Grüßen / regards
> > Werner Rost
> >
> >
> ---------------------------------------------------------------------
> > ZF Boge GmbH
> > Werner Rost
> > IT
> > Friesdorfer Str. 175
> > D-53175 Bonn
> >
> >
> > phone: +49/228/3825 420
> > fax: +49/228/3825 398
> > werner.rost@zfboge.com
> >
> > www.boge-vibrationcontrol.com
> >
> ---------------------------------------------------------------------
> >
> >
>
>
> ---------------------------------------------------------
> This Mail has been checked for Viruses
> Attention: Encrypted mails can NOT be checked!
>
> **
>
> Diese Mail wurde auf Viren geprueft
> Hinweis: Verschluesselte mails koennen NICHT auf Viren
> geprueft werden!
> ---------------------------------------------------------
>
>
>
> ---------------------------------------------------------
> This Mail has been checked for Viruses
> Attention: Encrypted mails can NOT be checked!
>
> **
>
> Diese Mail wurde auf Viren geprueft
> Hinweis: Verschluesselte mails koennen NICHT auf Viren
> geprueft werden!
> ---------------------------------------------------------
>

---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!

**

Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------
Received on Wed Jul 24 2002 - 01:00:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:20 MST