Search squid archive

Re: limit conn

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

 



Tek Bahadur Limbu wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 25 Jun 2007 12:02:01 +0700
"ArioS" <christian@xxxxxxxxx> wrote:

Dear,


Is it possible to apply limit conn in squid ? ex : i want to limit only accept 10 connection each ip.


Hi ArioS,

I don't think that Squid can limit connections based on individual IPs. However from this FAQ below, you can limit the number of connnections based on a network.

http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-1860f23748bd13d5c26b127a78559d1b068835f9
Yes it can, you just need specify IP address instead of network adress for example

acl losers src 1.2.3.1/32
acl 5CONN maxconn 5
http_access deny 5CONN losers


Which OS are you running Squid? If on Linux, I think you can limit connections per IP using IPTABLES. In BSDs, you can do that with PF.

As always, Google is your friend!


Thanking you...


Thx b4



- --

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFGf2HOVrOl+eVhOvYRArwAAJ4tkv9mvOUcQmV4vthzMhGKrMB+IgCeKr4f
TRonUIe2iRzaHoJk6WfMsb8=
=alS8
-----END PGP SIGNATURE-----


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

  Powered by Linux