Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit bandwidth

Status
Not open for further replies.

UnknownPerson

Programmer
Dec 4, 2001
80
BR
I have a Linux router that serves as a ip masquerading and routing (for the Internet) server for our school and I was wondering how to enable this settings:

a) Set maximum bandwith per host
b) Block a host for comunicating
c) Check the web addresses they try to open
d) Modify data going to-from the host.

Any help would be appreciated. The item B is being handled by a script which add a line to hosts.deny and another one that removes it (blocking on or off). But item A, C and D are likely to have lots of variations.

Any help is greatelly appreciated.
 
For limiting and processing bandwidth, you will want some form of QoS - Quality of Service. In the 2.4 kernel you have iproute2 - for general info have a look at:



Genrally, have a look at proxies for processing connections to specific remote sites, see Squid:


and squid guard plugins:


They may have related tools for modifying the data. The basic tool you could use yourself to do this is netcat "nc" but this is very low level.
 
And what about NetSed for item D??. Anyone ever heard of it?

And Netcat, how would it perform? (I know netcat...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top