![]() |
CTorrent Control Server (CTCS) is an interface for monitoring and managing Enhanced CTorrent clients. It can manage allocation of bandwidth, provide status information, and allow changes to the running configuration of each client. Communication with CTorrent is via a TCP connection, and the user interface is a web browser. CTCS was developed by Daniel Holmes, the creator of Enhanced CTorrent. The original sources are available at http://www.rahul.net/dholmes/ctorrent/ctcs.html. The current version available for Optware is 1.4.1. InstallationIf you want to install it, just update the list of packages available for ipkg and then install it: ipkg update
ipkg install ctcs
Init scriptThe package for the nslu2 includes a init script that starts CTCS when the slug boots. It is located at The script starts CTCS in the background using the default port (2780) and redirects all output to /dev/null. CTCS writes messages to the console, something unappropriate for a server running in the background. If you want to log the output, then change the destination at the init script. If you upgrade to the latest version of CTCS and you have edited your init script, ipkg will warn you about the changed file with a message like this:
Since the command line options have not changed in version 1.2, you can safely keep your modified file by answering "N" or "O". Command line options
ctcs [-d <dlimit>] [-u <ulimit>] [-i <interval>] [-p <port>] [-P]
-d dlimit
Overall download bandwidth limit, in KB/s (default 100).
-u ulimit
Overall upload bandwidth limit, in KB/s (default 25). Use a value
that is less than the maximum capacity of your network line.
-i interval
Bandwidth management change interval, in seconds (default 5). The
recommended minimum value is 3. Higher values will reduce
oscillation of individual torrent limits, but a value that is too
high will cause very slow reactions to changes in bandwidth usage.
-p port
The TCP port on which to listen for connections (default 2780).
-P
Prompt for an authorization password.
SecurityCTCS has an option ("-P") to prompt for a password when the server starts. This password is then used to authenticate Enhanced CTorrent clients, but not for web browser authentication. If you are using the init script provided by the package, you will not be able to use this option, since CTCS will be started from the init script with no user intervention. Using Enhanced CTorrent with CTCSWhen you start Enhanced CTorrent, the Known issuesThese are the known issues, as of August 13, 2006:
|