-
Notifications
You must be signed in to change notification settings - Fork 19
End user
Leak is a torrent library, but it also delivers some end-user tools to demonstrate all its features.
The application is limited working client to communicate with the swarm. It allows you to download entire resource by specifing its hash, trackers and destination folder. It connects to the swarm, receives data and shuts down when the download is completed. It does not upload anything. It has not been implemented yet.
leak.exe download --hash 73b38c5f82a28d47efef94c04d0a839b180f9ca0
--trackers http://bttracker.debian.org:6969/announce
--destination d:\leak
--connector (on|off) (default: on)
Actively search for peers and connect to them.
--listener (on|off) (default: off)
Listen to incomming connections and accept them.
--port #value (default: random)
Listen on specified port.
--accept #countries (default: all)
Accept only peers from the given countries; example: RU UA
--metadata (on|off) (default: on)
Use ut_metadata extension.
--exchange (on|off) (default: on)
Use ut_pex extension.
--strategy (sequential|rarest-first) (default: rarest-first)
Schedule pieces using specified algorithm.
--logging (compact|verbose) (default: compact)
Control the number of logs printed out.
The application is very limited working client to communicate with exactly one peer. It allows to download entire resource specifing its hash, remote peer address and destination folder. It connects to the peer, receives data and shuts down when the download is completed. It does not upload anything. It has not been implemented yet.
leak-direct.exe download --hash 73b38c5f82a28d47efef94c04d0a839b180f9ca0
--host 195.154.118.14 --port 51413
--destination d:\leak