From 6517ebc432ef87e5205d246460ec8e6907f57639 Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Tue, 31 May 2022 01:24:37 +0400 Subject: [PATCH] reduce fingerprinting information sent to other nodes version and revision are still accessible to users to see, but not the other nodes. this will make it harder to collect information for both informational, but also malicious purposes --- src/Connection/Connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Connection/Connection.py b/src/Connection/Connection.py index 22bcf29c..4adb3227 100644 --- a/src/Connection/Connection.py +++ b/src/Connection/Connection.py @@ -362,14 +362,14 @@ class Connection(object): self.server.log.warning("Unknown target onion address: %s" % self.target_onion) handshake = { - "version": config.version, + "version": "conservancy", "protocol": "v2", "use_bin_type": True, "peer_id": peer_id, "fileserver_port": self.server.port, "port_opened": self.server.port_opened.get(self.ip_type, None), "target_ip": self.ip, - "rev": config.rev, + "rev": 8192, "crypt_supported": crypt_supported, "crypt": self.crypt, "time": int(time.time())