From 6e598c74f598f8e2bd30da6de2c4e5becc4d4ead Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sun, 29 Apr 2018 00:59:45 +0200 Subject: [PATCH] Fake utorrent peer_id to avoid possible tracker ban --- src/Connection/ConnectionServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connection/ConnectionServer.py b/src/Connection/ConnectionServer.py index e432de6b..dc5d3c00 100644 --- a/src/Connection/ConnectionServer.py +++ b/src/Connection/ConnectionServer.py @@ -49,7 +49,7 @@ class ConnectionServer(object): self.num_sent = 0 # Bittorrent style peerid - self.peer_id = "-ZN0%s-%s" % (config.version.replace(".", ""), CryptHash.random(12, "base64")) + self.peer_id = "-UT3530-%s" % CryptHash.random(12, "base64") # Check msgpack version if msgpack.version[0] == 0 and msgpack.version[1] < 4: