cTorrent for the Kindle Keyboard. (with OpenSSL)
I would like to outline at this time that this package is to move legal files
(as demonstrated by the example torrent included, A huge 150Mb, Audio Book version of "Emerald city of Oz")
The launcher script "torrent" *is* included. and is required.
If you put the launcher script (and other files) in a folder NOT in your default PATH you will be advised how to temporarily fix it. (It's not essential but makes typing "torrent" much easier)
[root@kindle bin]#
/mnt/us/cTorrent/torrent -h
Quote:
Gentle Warning: The working directory /mnt/us/cTorrent is not in your path.
Preventing you from simply typing: torrent {blah}
You could temporarily fix this by running the following command
export PATH=/mnt/us/cTorrent:$PATH
Enhanced CTorrent dnh3.3.2
Original code Copyright: YuHong(992126018601033)
WARNING: THERE IS NO WARRANTY FOR CTorrent. USE AT YOUR OWN RISK!!!
|
PHP Code:
General Options:
-h/-H Show this message
-x Decode metainfo (torrent) file only, dont download
-c Check pieces only, dont download
-v Verbose output (for debugging)
Download Options:
-e int Exit while seed <int> hours later (default 72 hours)
-E num Exit after seeding to <num> ratio (UL:DL)
-i ip Listen for connections on specific IP address (default all/any)
-p port Listen port (default 2706 -> 2106)
-I ip Specify public/external IP address for peer connections
-u num or URL Use an alternate announce (tracker) URL
-s filename Download ("save as") to a different file or directory
-C cache_size Cache size, unit MB (default 16MB)
-f Force saved bitfield or seed mode (skip initial hash check)
-b filename Specify bitfield save file (default is torrent+".bf")
-M max_peers Max peers count (default 100)
-m min_peers Min peers count (default 1)
-z slice_size Download slice/block size, unit KB (default 16, max 128)
-n file_list Specify file number(s) to download
-D rate Max bandwidth down (unit KB/s)
-U rate Max bandwidth up (unit KB/s)
-P peer_id Set Peer ID prefix (default "-CD0303-")
-A user_agent Set User-Agent header (default "Enhanced-CTorrent/dnh3.3.2")
-S host:port Use CTCS server at host:port
-a Preallocate files on disk
-T Convert foreign filenames to printable text
-X command Run command upon download completion ("user exit")
-d Daemon mode (fork to background)
-dd Daemon mode with I/O redirection
Make metainfo (torrent) file options:
-t Create a new torrent file
-u URL Trackers URL
-l piece_len Piece length (default 262144)
-s filename Specify metainfo file name
-p Private (disable peer exchange)
-c comment Include a comment/description
For actual use (when you have the PATH set up right):
[root@kindle cTorrent]#
torrent -e 1 -C 32 -p 6881 -s torrents/oz ./oz.torrent
Quote:
Gentle Warning: The working directory /mnt/us/cTorrent is not in your path.
Preventing you from simply typing: torrent {blah}
You could temporarily fix this by running the following command
export PATH=/mnt/us/cTorrent:$PATH
META INFO
Announce: http://tracker001.clearbits.net:7070/announce
Created On: Mon Jun 7 02:42:20 2010
Piece length: 65536
Comment: ClearBits(TM) provides hosting and distribution for open licensed media.
FILES INFO
Directory: torrents/oz
Total: 150 MB
Found bit field file; verifying previous state.
Listening on 0.0.0.0:6881
Press 'h' or '?' for help (display/control client options).
- 4/1/6 [150/2406/2406] 0MB,0MB | 15,0K/s | 16,0K E:0,1 Checking: 92%
Checking completed.
FILES INFO
Directory: torrents/oz
|
4/0/6 [213/2406/2406] 3MB,0MB | 17,0K/s | 16,0K E:0,1
Works just fine without actually doing any "sharing"
If you **want** to punch holes in your firewall? well..
sobeit...