Commit Graph

149 Commits

Author SHA1 Message Date
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 de41efbaf8
Rev3818, Fix peerPing cli command 2019-01-26 03:13:47 +01:00
shortcutme 1824363f86
Support dual stack listening 2019-01-23 02:13:13 +01:00
shortcutme 447f5fd5c8
Store opened port status per IP version 2019-01-23 02:11:31 +01:00
shortcutme b2f25d7f0a
Store if there was an incoming connection for port open checker 2019-01-20 16:20:41 +01:00
shortcutme 30b71328b9
Turn ipv6 representation of ipv4 addresses to simple ips for incoming connections 2019-01-20 16:20:01 +01:00
shortcutme 7c97e37dc3
Support ipv6 binding for connection server 2019-01-20 16:19:14 +01:00
shortcutme f42d088fbc
Log supported ip types when binding 2019-01-20 16:18:48 +01:00
shortcutme a5e63de016
Check if there is ipv6 support in user's system 2019-01-20 16:18:24 +01:00
shortcutme f7d3718457
Set ConnectionServer default ip for tests based on ip_type 2019-01-20 16:16:55 +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 d89d770e73
Log less precise time for connection cleanup 2018-10-30 04:41:02 +01:00
shortcutme 083d64d151
Add site to connection log 2018-10-30 04:40:34 +01:00
tangdou1 807d461289
Fix bootstrapper is blocked by itself
Make the bootstrapper server can add its own ip and port in its own bootstrapper.db as a peer.
2018-09-21 14:05:27 +08:00
shortcutme 5f1e7ffd0c
Correct sent time with timecorrection value 2018-09-05 14:32:43 +02:00
shortcutme 21a80650b0
Cache timecorrection value 2018-09-05 14:32:23 +02:00
shortcutme 3b7ec3d913
Lowercased Timecorrection function 2018-09-05 14:32:01 +02:00
shortcutme 3869cb9bf3
Show incoming and outgoing connection separatley in stats page 2018-09-02 02:19:51 +02:00
shortcutme ee97eb6d27
Calculate media time correction from connections 2018-08-29 19:53:44 +02:00
shortcutme 16f7dafcdf
Only record offline internet if there was message received before 2018-08-29 19:53:24 +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 b87ad9cd2f
Fix disabled tor startup 2018-07-10 03:31:39 +02:00
shortcutme a0b2a8ba74
Optional connection timeout checker 2018-05-31 19:43:39 +02:00
shortcutme 3013ee083d
Longer timeouts in tor always mode 2018-05-31 19:43:09 +02:00
shortcutme 3f6b8def05
Move ConnectionServer listen to separate function to allow TorManager start before connections 2018-04-29 02:44:46 +02:00
shortcutme a19629d105
Start tor_manager with ConnectionServer 2018-04-29 01:00:37 +02:00
shortcutme 6e598c74f5
Fake utorrent peer_id to avoid possible tracker ban 2018-04-29 00:59:45 +02:00
shortcutme 8828f21f2e
Always create TorManager object with ConnectionServer, move tormanager start to sperate function 2018-04-28 21:51:14 +02:00
shortcutme e93f9eb080
Use tor connection for trackers if trackers_proxy enabled 2018-04-28 21:44:06 +02:00
shortcutme e95bc31def
Fix logging and shutdown 2018-04-12 19:25:50 +02:00
shortcutme 5285699a21
Rev3407, Fix connection timeout checker 2018-04-06 00:51:14 +02:00
shortcutme d927e85eca
ConnectionServer is not running by default 2018-04-04 15:33:02 +02:00
shortcutme 852aaae52e
Randomize fileserver port 2018-04-03 14:45:04 +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