You are not logged in.

#1 2005-08-24 13:22:41

Lowe
Member
Registered: 2005-07-11
Posts: 89

[Request] Netbrake

Anyone intrested in creating a package for this? So I can stop those damn leechers.  :twisted:

Netbrake is an utility to limit the bandwidth used by a process. It does not require to modify the kernel, nor to be root in order to work. It is useful when you need to download a very big file from a fast server to avoid a network congestion that will result in a too slow web/irc/... experience. I use it mostly to download big files (like the kernel source code) with wget.

Netbrake also implements a very simple HTTP filesystem extension, so you can use the standard text utils against some URL, without to change the code, nor recompile.

Netbrake consists of a little dynamic library (libnetbrake.so). This library provides wrappers for important system calls, this makes possible the bandwidth limitation. To override the libc syscalls wrappers with the netbrake's ones you need to use LD_PRELOAD. To improve the easy of use a simple program (netbrake), that exports the right LD_PRELOAD environ variable and run the specified command (the one you need to limit) is included in the distribution.

Found it by chance, not sure if it's even usable but looked intresting.

http://www.hping.org/netbrake/netbrake-0.2.tar.gz

Offline

#2 2005-08-25 11:12:08

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: [Request] Netbrake


Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#3 2005-08-26 07:26:47

Lowe
Member
Registered: 2005-07-11
Posts: 89

Re: [Request] Netbrake

Thanks. Seems to work quite well.

Offline

Board footer

Powered by FluxBB