programming

A new program: Ldthrottle - LD_PRELOAD bandwidth throttler

I just finished the first version of a throttling program that uses the environmental variable LD_PRELOAD to overwrite the read/recv and write/send (and many others) in order to throttle the banwidth used by that program.

It's just a test but it still works surprisingly well (for one day of coding :)

Ldthrottle - LD_PRELOAD bandwidth throttler

Disable sharing in rtorrent

If, for some reason, you need to totally disable sharing in rtorrent (and every other application using libtorrent) and look as if you always had 0% of the files you are downloading, download the source of libtorrent and patch it with the attached diff.

Syndicate content