Selon Israel Junior <[EMAIL PROTECTED]>:

> On 4/3/07, Pierre Schmitz <[EMAIL PROTECTED]> wrote:
> > So, what do we need:
> > * a torrent server running as a daemon
> > * it should write log files
> See this [1] to know how to run the bittorrent client as a daemon and
> log the output.
>
> > * a traffic limit per month
> Can't you do this using Iptables+HTB? I wrote an article [2] last year
> for college that explains how to use HTB to control VoIP traffic. The
> only problem: it's in portuguese, but I can help you.
>
> > * it should run in the background without any user interaction
> See [1].
>
> [1] http://wiki.theory.org/BASH_script_to_run_bittorrent_as_a_daemon
> [2] http://archlinux-br.org/people/zael/gpwm/qos_voip_htb.pdf
>
Hi,

rtorrent might be of help to do this
As you can see on linuxtracker.org, it is used by quite some of Arch's ISOs
leechers.

Config file is quite easy.
A good ewample is available at :
http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest
It allows one to control things such as :
# Maximum and minimum number of peers to connect to per torrent.
# Maximum number of simultanious uploads per torrent.
# Watch a directory for new torrents, and stop those that have been deleted.
# Stop torrents when reaching upload ratio in percent, when also reaching total
upload in bytes, or when reaching final upload ratio in percent.
# Alternative calls to bind and ip that should handle dynamic ip's.

Hope this helps a bit.

kozaki

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to