LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2010, 02:14 AM   #1
iksik
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
SQUID - connection limit per user not per IP adress


Hi!

I running Squid 2.7. I using NCSA veryfication so only registered users may use proxy server.

I want to allow only 1 connection to proxy for 1 user.

Why not per ip ? Alot of users have dynamic IP's and i want to avoid password sharing beetween users.

Any idea how to do it in squid ? Mb other autentyfication system connected to squid granting access to proxy server ?


Thx for all answers!

Last edited by iksik; 03-09-2010 at 02:15 AM.
 
Old 03-09-2010, 06:50 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by iksik View Post
Hi!

I running Squid 2.7. I using NCSA veryfication so only registered users may use proxy server.

I want to allow only 1 connection to proxy for 1 user.

Why not per ip ? Alot of users have dynamic IP's and i want to avoid password sharing beetween users.

Any idea how to do it in squid ? Mb other autentyfication system connected to squid granting access to proxy server ?

Thx for all answers!
Spell your words out.

And you can do it by user, based on authentication. But you don't say anything about how they're doing it now. Check the Squid documentation about access control lists, and how to implement them.
 
Old 03-10-2010, 01:28 AM   #3
iksik
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Spell your words out.

And you can do it by user, based on authentication. But you don't say anything about how they're doing it now. Check the Squid documentation about access control lists, and how to implement them.
Thx for your reply. At this moment users dont have any limits and as o wrote before im using Password Authentication with NCSA keeping username and passwords in file.

I was trying to find limiting users by login with ACL and found nothing :/ Any hints ?
 
Old 03-10-2010, 09:52 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by iksik View Post
Thx for your reply. At this moment users dont have any limits and as o wrote before im using Password Authentication with NCSA keeping username and passwords in file.
Again, spell out your words.
Quote:
I was trying to find limiting users by login with ACL and found nothing :/ Any hints ?
Look at the delay_pools directive. Explanations can be found via Google, examples on the Squid website:

http://www.faqs.org/docs/Linux-HOWTO...ing-HOWTO.html
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql giving max connection errors, server has no connection limit. Jukas Linux - Server 1 03-26-2008 04:06 AM
How to prevent concurrent user connection accessing squid proxy? suhas! Linux - Server 1 07-12-2007 06:46 AM
Squid proxy(2)-How to limit connection make by Flashget, DAP, IDM,..--please help me b:z Linux - Networking 4 04-05-2005 09:34 PM
Squid - Maximum time limit per user vkothiyal Linux - Software 0 05-29-2004 07:36 AM
More IP adresse on 1 NIC iloncare Linux - Networking 0 01-14-2004 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration