Search squid archive

Re: Problems with maxconn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your answer...

I want to limited the number of connections to a webpage www.foo.com per IP address, for example i want to user only connect 5 times to a webpage per day.

acl badguy 192.168.1.2/255.255.255.255
acl toomuch maxconn 5
acl foodotcom dstdomain .foo.com
acl timelimit time SMTWHFA 08:00-23:00

http_access deny badguy toomuch foodotcom timelimit

Is this can work?

In cache.log i see this:

2005/08/26 17:01:54| aclMatchAclList: checking maxconn
2005/08/26 17:01:54| aclMatchAcl: checking 'acl maxconn maxconn 2'
2005/08/26 17:01:54| aclMatchAclList: no match, returning 0


Thanks!

Xavier C.


Joost de Heer wrote:

Xavier Cabrera said:
Hello i try to use maxconn acl but there is not block for the ip
configured.... Can anyone hellpme whit this issue?

Define what you want to do. You only limit the number of concurrent
sessions, not the number of browsers.

Joost



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux