summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-05-19 23:23:08 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-05-19 23:23:08 +0200
commit1055b951f37e4424f8c759f8cca4677e4fd8f02f (patch)
tree834962cc24af75bebc47ccf739af69ece8148d54 /sys/man
parentc994152a90f479a5f3165590f72b749017b6af3e (diff)
ip/torrent: fix usage, add -A option to set user-agent
trackers do like the new default Mozilla/5.0 (compatible) user agent. so force useragent to hjdicks and give option to override it in case trackers get even more clever in the future.
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/1/torrent11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/man/1/torrent b/sys/man/1/torrent
index f7708a4ae..e71964e86 100644
--- a/sys/man/1/torrent
+++ b/sys/man/1/torrent
@@ -26,6 +26,9 @@ torrent \- bittorrent client
.B -i
.I peer-id
] [
+.B -A
+.I user-agent
+] [
.I file
]
.SH DESCRIPTION
@@ -114,9 +117,15 @@ option allows you to set the 20-byte
.I peer-id
that is sent to trackers and peers. If less than 20 bytes, the
.I peer-id
-will be padded on the right with random ASCII numbers. This is
+will be padded on the right with random ASCII numbers. The
+.B -A
+option allows setting the http
+.I user-agent
+string that is used to contact the tracker. These options are
useful to fool trackers that filter clients based on the
.I peer-id
+or
+.I user-agent
.
.SH EXAMPLES
Create new torrent file