LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-30-2004, 01:48 AM   #1
PseudoX
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Netlimiter-like application for linux (gentoo)


ok here it goes.

i am new to linux and i have just recently installed Gentoo (no X) on my server (500 k6 amd, 192mb)

due to the excellent guide at gentoo.org, this was all relativily painless.

now, my server used to have win2k, and i used to use the server mainly for torrenting, using a combination of Netlimiter and Azeurus.

Netlimiter used to work like this (the way i have it and my network setup):

Netlimiter "caps" the upload and download speed of network connections on the computer it is running on only.

So if i capped javaw.exe (Azeurus) to 9kb up and 40kb down, the rest of my network would have 3kb up and 12kbs down (512/128 ADSL, bloody aust bband)


Now, what i am looking for is a program for linux (which will work under gentoo)
that has the same functionality. the ability to cap individual processes' network connections at different speeds, in realtime (so that you don't have to run the capping
program first, with the command of the program to cap (such as trickle)).

the only thing i can seem to find is trickle

now, trickled is great (daemon version of trickle), but only works on new connections, and doesn't seem to work with python scripts (im using TorrentFlux w/BitTornado).

something like wondershaper isn't any good, because all it does it prioritize, not set definite limits, which isn't any good for me,
as you can see from my diagram (or not see is more likely ):

Code:
Internet   ----  Server W/Netlimiter
                \
                 `'''' Other computers
if you can understand my problem (congrats)

is there anything that can fulfill my needs (being linux, i would be extremely surprised if not )

thank you very much
 
Old 11-30-2004, 10:26 AM   #2
davidbalt
Member
 
Registered: Feb 2004
Distribution: Gentoo -- always from stage1
Posts: 85

Rep: Reputation: 15
Look into TrafficControl (tc) and Ingress Policer.

I don't know if you can really limit by process, since Linux is more concerned about sockets and ports. But you should be able to limit the ports on which your programs communicate. For this, I think you could simply add an ipchains rule. Look into that.

Specifics I'm not sure about, but in principal it can be done.
 
  


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
how to link helpblocks application to gtk application m.harshavardhan Linux - Software 0 08-16-2005 08:39 AM
using dhcpcd on gentoo slows down application startup in KDE drowstar Linux - Networking 1 07-29-2005 12:59 PM
looking for a program like netlimiter Cozb Linux - Software 1 09-19-2004 06:35 AM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 03:34 AM
diff in Linux Driver n Linux Application abinash_y Linux - Hardware 2 05-18-2003 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:14 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