LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-04-2007, 11:35 AM   #1
xaviero
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
linux auth + traffic shaping server


Hi all,

i need some advice.

i want build a server that have features :

- login authentication
- traffic shaping / bandwidth management
- billing
- proxy

this is the scenario in my imagination,

user who want to connect to a LAN, s/he must be login via server.
say it http://192.168.1.1 or http://office.net
from the authentication, he got a IP from DHCP.

before that, we already configure group of IP.
192.168.1.5 - 192.168.1.25 --> accounting that only need bandwidth 32kb/32kb, each user in that IP range is assumed from accounting division.

192.168.1.26 - 192.168.1.50 --> supervisor need bandwidth 32kb/64kb
and so on...


And the server in above scenario can do :

if a user login, ex. user "John" , after he login, he got a IP, 192.168.1.5 which is he is a group of accounting.
Now, the server will filter that "John" traffic, which one is local traffic and internet traffic. for local traffic, he got full speed, but not with internet traffic.

about above case, which distro or package can suitable my expectations ??
enlightenment please...

thanks
 
Old 11-05-2007, 10:58 PM   #2
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
What you want is a transparent squid proxy server with authentication. I have never used bandwidth shaping with it, my experience has been mostly with squid/dansguardian. Squid should be able to do the things you need.
 
Old 11-05-2007, 11:10 PM   #3
xaviero
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
afaik, transparent proxy can not combine with authentication... cmiiw

so, which package of authentication that can i use?
 
Old 11-06-2007, 02:28 PM   #4
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
Your right, it cannot be transparent if you are asked authenticate. However you can block direct access to 80 so they have to use the proxy setting you set up. What authentication do you have available? I see (though never personally set up) that some people are using active directory for authentication. Here is a howto with ncsa authentication:
http://www.cyberciti.biz/tips/linux-...ntication.html
Could be real useful if you only had a few users.

Let me ask you a question what is your real goal? To punish a few bad users (I understand), to get your network bandwidth usage down, or control who has access to the internet?
 
Old 11-06-2007, 11:12 PM   #5
xaviero
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
just like i said above, i use it to limit each user (login name) bandwidth based on their authentication... not by IP or MAC...

i want to combine this authentication with a smoothwall distro, or ipcop distro... but there are no mod for this auth.

thanks
 
  


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
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
Traffic Shaping With Linux marvin00001 Linux - Networking 1 02-19-2006 12:59 PM
Traffic Shaping With Linux marvin00001 Linux - Networking 1 09-21-2005 05:08 AM
Traffic Shaping nemesisza Linux - Networking 1 03-21-2004 05:52 PM
Traffic Shaping ?? DocKane Linux - Networking 2 08-24-2001 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:40 PM.

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