Commit Graph

104 Commits

Author SHA1 Message Date
caryoscelus 6517ebc432 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
2022-05-31 01:24:37 +04:00
shortcutme ab9fe173a8
Don't use trackers proxy in tor always mode 2019-08-23 03:40:29 +02:00
shortcutme d93e89899b
Fix tracker proxy PySocks import 2019-08-15 03:05:46 +02:00
shortcutme d47e4a3e0e
More detailed error logging on ssl handshake fail 2019-04-10 19:58:37 +02:00
shortcutme b814a633c6
Don't reset broken ssl client list on cleanup 2019-03-29 02:28:46 +01:00
shortcutme cf354d59fb
Fix incoming connection implicit crypt 2019-03-27 03:06:46 +01:00
shortcutme af49404320
Remove support of old request type 2019-03-16 02:32:10 +01:00
shortcutme 717802860d
Create new unpacker object if client sending new-style, bin-type compatible msgpack streams 2019-03-16 02:31:49 +01:00
shortcutme edd3f35790
Use new Msgpack library for unpacking 2019-03-16 02:30:54 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 952a1a1da8
Rev3851, Fix typo with onion address detection 2019-02-16 20:50:49 +01:00
shortcutme 860ef650f9
Support IPv6 in Tor always mode by creating ipv4 sockets with ipv6 address 2019-01-30 14:53:33 +01:00
shortcutme 447f5fd5c8
Store opened port status per IP version 2019-01-23 02:11:31 +01:00
shortcutme 3fa0f1b9e8
Don't correct local time with p2p timecorrection value 2019-01-20 16:15:47 +01:00
shortcutme f1a54bd7d0
Set strict timeout for connection handshake 2019-01-20 16:15:32 +01:00
shortcutme 1803e47c02
Support creating ipv6 connections 2019-01-20 16:15:07 +01:00
shortcutme 296e44deec
Store ip_type in Connection variable 2019-01-20 16:14:00 +01:00
shortcutme 87503b875a
Set timeout for connection 2018-10-30 04:41:11 +01:00
shortcutme 083d64d151
Add site to connection log 2018-10-30 04:40:34 +01:00
shortcutme 5f1e7ffd0c
Correct sent time with timecorrection value 2018-09-05 14:32:43 +02:00
shortcutme 1cce926ef8
Record handshake time for connections 2018-08-29 19:52:55 +02:00
shortcutme 5887f90202
Wait handshake done before sending other request to connections 2018-08-26 22:54:45 +02:00
shortcutme ca3b01f898
Allow tracker connection to loopback to same client 2018-08-26 02:52:42 +02:00
shortcutme e05c432d14
Store if it's tracker connection on connect 2018-08-26 02:52:23 +02:00
shortcutme 7475fa69fa
Support custom proxy for tracker connections 2018-07-16 01:47:49 +02:00
shortcutme e93f9eb080
Use tor connection for trackers if trackers_proxy enabled 2018-04-28 21:44:06 +02:00
shortcutme 270922b460
Fix implicit ssl connection typo 2018-04-03 14:43:41 +02:00
shortcutme 6daf583b4b
Only log detailed message type error with debug_socket argument 2018-03-29 02:45:33 +02:00
shortcutme 1ad966bd80
In passive mode if we have send onion address for every connection not just for tor network 2018-03-14 22:29:00 +01:00
shortcutme 4f472982da
Use broken ssl ip list instead of peer_id 2018-03-14 22:26:59 +01:00
shortcutme f1396b65b9
Blacklist myself on peer id match 2018-03-14 22:26:08 +01:00
shortcutme ba12489c34
Log my and remote handshake 2018-03-14 22:25:53 +01:00
shortcutme 4586d3be78
Send my local time as int in the handshake 2018-03-14 22:25:27 +01:00
shortcutme 2204e0cf9c
Fix message parsing after data left in unpacker 2018-03-14 22:24:38 +01:00
shortcutme 8787774764
Use implicit ssl for connections 2018-03-14 22:24:06 +01:00
shortcutme 511731f0b4
Add current timestamp to handshake for future time consensus feature 2018-03-10 02:04:14 +01:00
shortcutme af57083afd
Handle ip change on onion connection correctly 2018-02-27 02:46:56 +01:00
shortcutme f10233a0a6
New msgpack compatible stream handling 2018-02-27 02:46:26 +01:00
shortcutme e85c5e3b36
Rev3327, Add compatbility with new msgpack version 2018-02-13 01:35:21 +01:00
shortcutme c39ff89fab
Read only what we need 2018-02-12 14:28:45 +01:00
shortcutme 3f19f64efd
Properly recover extra data from unpacker 2018-02-12 14:27:38 +01:00
shortcutme f9091ea951
Don't connect to myself 2018-02-08 18:01:48 +01:00
shortcutme 8b9d75d726
Don't mark passive local connections as not connectable 2018-02-08 18:01:34 +01:00
shortcutme 70fd33e587
Message from local peer does not means internet connection 2018-02-08 17:58:44 +01:00
shortcutme 6fb9c6ef05
Rev3234, Ignore unknown characters from connection logging 2018-01-30 18:59:26 +01:00
shortcutme ee30f78ab0
Fix logging utf8 chars in connections 2018-01-30 13:59:39 +01:00
shortcutme 566b689ca6
Don't connect to private ip addresses in tor always mode 2018-01-30 13:59:18 +01:00
shortcutme c122dc108a
Record received and sent requests 2018-01-19 02:16:33 +01:00
shortcutme 19c335e39a
Fix bytes sent stats 2017-10-13 01:22:16 +02:00
shortcutme d32303de57
Increase buffer size for file streaming 2017-10-13 01:21:45 +02:00