Re: [squid-users] How to use max_user_ip

2005-04-05 Thread Ytzhak Levy
I am using squid2.5 STABLE 9.

My acls and directives are:

authenticate_ttl 1 hour
authenticate_ip_ttl 1 hour

acl PROXYUSERS proxy_auth REQUIRED
acl MAX_IP max_user_ip -s 1
acl MYDOMAIN dstdomain .mydomain.com
acl NET10 dst 10.252.1.0/24
acl NET172 dst 172.25.0.0/16
acl RESTRICT_TIME time MTWHF 12:00-14:00
acl RESTRICT_TIME time MTWHF 18:00-23:59
acl RESTRICT_USERS external ldap_group "/squid/etc/RESTRICT_USERS.grp"

http_access deny MAX_IP
http_access allow MYDOMAIN
http_access allow REDE10
http_access allow REDE172
http_access deny RESTRICT_USERS !RESTRICT_TIME
http_access allow PROXYUSERS
http_access deny all



cheers,
-- 
___
Get your free email from http://mymail.bsdmail.com

Powered by Outblaze


Re: [squid-users] How to use max_user_ip

2005-04-04 Thread Henrik Nordstrom

On Mon, 4 Apr 2005, Ytzhak Levy wrote:
I want to block users to log from more than 1 ip, so I used max_user_ip strctly:
acl MAX_IP max_user_ip -s 1
and
http_access deny MAX_IP.
But does'nt work.
Where is this in relation to your other http_access directives?
Which version of Squid?
Regards
Henrik


[squid-users] How to use max_user_ip

2005-04-04 Thread Ytzhak Levy
Hello guys,

I want to block users to log from more than 1 ip, so I used max_user_ip strctly:

acl MAX_IP max_user_ip -s 1

and

http_access deny MAX_IP.

But does'nt work.

How should I use it ?

cheers,
-- 
___
Get your free email from http://mymail.bsdmail.com

Powered by Outblaze


Re: [squid-users] HOw to use max_user_ip

2003-06-25 Thread Henrik Nordstrom
On Wednesday 25 June 2003 08.00, Li Wei wrote:
> hi,all
>
> the option "max_user_ip" is a new function with Squid.2.5
> From its description, it seems very useful.
>
> However, I'm failed in using it.

What have you tried?

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org

If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [EMAIL PROTECTED]


Re: [squid-users] HOw to use max_user_ip

2003-06-24 Thread Lieven Marchand
"Li Wei" <[EMAIL PROTECTED]> writes:

> the option "max_user_ip" is a new function with Squid.2.5
> >From its description, it seems very useful.
> 
> However, I'm failed in using it. 
> Are there any advice to me about how to use it?

acl multiple max_user_ip -s 1
http_access deny multiple

will stop people using a userid on 2 machines simultaneously


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


[squid-users] HOw to use max_user_ip

2003-06-24 Thread Li Wei
hi,all

the option "max_user_ip" is a new function with Squid.2.5
From its description, it seems very useful.

However, I'm failed in using it. 
Are there any advice to me about how to use it?

Thanks in advance.
**
Li Wei   ^-^ HAVE A GOOD DAY ^-^
JFTT
E-mail: [EMAIL PROTECTED]
**