Nikmatilah Ilmu dan Hargai

route

Max connection squid

with 2 comments

Berdasarkan case Sat Mar 21 03:25:33 WIT 2009, posisi client menggunakan download manager dengan 60 thread simultaneous connection, sekitar 4 bilik. Tidak perlu dbahas apa yang terjadi dengan mesin proxy server @_@.

# buka squid.conf
# vim -N /etc/squid/squid.conf

# code
acl localnet 192.168.0.0/24
acl limitconn maxconn 20
http_access deny localnet limitconn

# reconfigure / restart squid.
squid -k reconfigure atau /etc/init.d/squid restart

# note
- acl localnet 192.168.0.0/24 #network client.
- acl limitconn maxconn 20 # maximal connection per 1 ip atau /32.
- http_access deny localnet limitconn denied jika >= 20 connection.

Written by agusr

March 21, 2009 at 4:46 am

Posted in FreeBSD, Linux

Tagged with

2 Responses

Subscribe to comments with RSS.

  1. thx, saya add di blog ku.

    dwianta

    May 13, 2009 at 5:01 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.