nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Restrict number of simultaneous proxy connections in SQUID proxy

This is a discussion on Restrict number of simultaneous proxy connections in SQUID proxy within the Getting started tutorials forums, part of the Linux Getting Started category; We have configured SQUID proxy in Fedora Linux (FC5). We have IP address based restriction. How to restrict the number ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-15-2007, 03:49 PM
Junior Member
User
 
Join Date: Jun 2007
My distro: Fedora
Posts: 1
Rep Power: 0
pkvmreddy is on a distinguished road
Default Restrict number of simultaneous proxy connections in SQUID proxy

We have configured SQUID proxy in Fedora Linux (FC5). We have IP address based restriction. How to restrict the number of users connected to Internet at a time? We have given internet conection through proxy to around 50 users. We would like to configure proxy in such a way that at a time only 30 users sholud be able to connect to proxy. How to configure this in SQUID proxy? Pl. help me, if any body used this control. Thanks in advance
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-15-2007, 04:52 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

If you need to limit the number of connections from a client PC use maxconn option.
Code:
acl restictourusers src 192.168.1.0/24
acl 3CONNONLY maxconn 3
http_access deny 3CONNONLY restictourusers
Any user in 192.168.1.0/24 subnet will make max 3 connection in a single session. So if 20 user connects to proxy at a time you will get only 20x3=60 connections. This is the only option available in Squid, AFAIK.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to Squid 2.6 transparent proxy? alex.inoa Networking, Firewalls and Security 5 10-30-2007 04:41 AM
Squid Proxy Server lacloai Linux software 3 06-02-2007 11:19 PM
How to allow MSN messenger through squid proxy bubloob_13 Linux software 4 04-08-2007 10:37 AM
Problems With SQUID Proxy rcordeiro Linux software 25 01-04-2007 02:39 PM
Squid Proxy bubloob_13 Linux software 4 12-04-2006 12:26 AM


All times are GMT +5.5. The time now is 03:06 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36