Commit graph

74 commits

Author SHA1 Message Date
shortcutme f7d3718457
Set ConnectionServer default ip for tests based on ip_type 2019-01-20 16:16:55 +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 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 e05c432d14
Store if it's tracker connection on connect 2018-08-26 02:52:23 +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 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 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 bca5d8a6c5
Use msgpack pip package everywhere 2018-02-27 02:48:15 +01:00
shortcutme cd822156c9
Rev3328, Fix CLI siteDownload, siteAnnounce, siteNeedFile commands 2018-02-13 13:18:40 +01:00
shortcutme 7e4a4459b4
Don't multiplex local connection 2018-02-08 17:59:27 +01:00
shortcutme 70fd33e587
Message from local peer does not means internet connection 2018-02-08 17:58:44 +01:00
shortcutme 4afb6b3d9c
Limit connections to 512 by default 2018-01-27 12:20:40 +01:00
shortcutme 18d3e8905e
Longer timeout for tor peers 2018-01-27 12:19:57 +01:00
shortcutme fd14a4ac80
Don't create connection to blacklisted peer 2018-01-27 12:19:37 +01:00
shortcutme 03c469ff3a
Formatting 2018-01-19 02:16:50 +01:00
shortcutme c122dc108a
Record received and sent requests 2018-01-19 02:16:33 +01:00
shortcutme de360a8585
Received and sent connection command statistics 2017-10-13 01:21:05 +02:00
shortcutme 24c1596048
Keep track last received command for connection 2017-10-13 01:19:34 +02:00
shortcutme 8b3ff6454f
Limit connections to 500, backlog to 100 2017-10-11 14:22:23 +02:00
shortcutme 52a468d9fd
Allow 10 second for reponse 2017-10-03 14:34:21 +02:00
shortcutme 2cf86642a2
Run connection cleanup every 15 seconds 2017-10-03 14:32:31 +02:00
shortcutme 71fbcee76c
Fix error on exiting when there is no stream_server started 2017-06-20 20:28:09 +02:00
shortcutme 10632c15ef
Fix target_onion on connection recovery 2017-04-10 12:19:23 +02:00
shortcutme c5c0df838f
Store requested onion address instead of site_lock 2017-04-09 12:02:24 +02:00
shortcutme 06ddf26d09
Increase command timeout 2017-02-27 00:05:27 +01:00
shortcutme bad2a79f05
Reason for connection closing 2017-02-27 00:02:24 +01:00
shortcutme d57d82f439
Rev1913, Support local address other than 127.0.0.1 2017-02-16 20:56:07 +01:00
shortcutme 9a1735f37d Rev1791, Fix gevent 1.2 compatibility 2016-12-27 11:37:58 +01:00
shortcutme 0774662689 Allow more connection backlog 2016-11-07 22:52:34 +01:00
shortcutme 31077eb346 Move uPnP port remove to fileserver 2016-10-02 14:22:01 +02:00
sirMackk bd5ebdb2de Integrates updated upnppunch with project; Makes project close ports using UPnP on exit. 2016-09-09 12:37:22 +02:00
ZeroNet 238cb25bb4 Small incoming connection optimization 2016-08-10 12:51:38 +02:00
HelloZeroNet e9af4a5f6b Cleanup not useful connections after 5 min 2016-04-25 02:24:05 +02:00
HelloZeroNet 1beb4fc2cb Less sensitive internet checker 2016-04-09 19:31:26 +02:00