Commit Graph

93 Commits

Author SHA1 Message Date
shortcutme 37979b4f9c
Support multiple external ips 2019-01-24 15:20:08 +01:00
shortcutme 4d60c61512
Rev3808, Use cjdns compatible ipv6 address to test route 2019-01-23 14:21:25 +01:00
shortcutme 1824363f86
Support dual stack listening 2019-01-23 02:13:13 +01:00
shortcutme 439d2bcf7f
Remove unused setIpExternal funtcion 2019-01-23 02:11:59 +01:00
shortcutme 447f5fd5c8
Store opened port status per IP version 2019-01-23 02:11:31 +01:00
shortcutme c7a468eb14
Bind file server to ipv6 interfaces according to fileserver_ip_type config value 2019-01-20 03:15:21 +01:00
shortcutme 1c5b5e3621
Move port checking to separate file, add ipv6 port check 2019-01-20 03:13:54 +01:00
shortcutme 035d70cf57
Spawn site announce to new async line 2018-10-30 04:44:43 +01:00
shortcutme 8c76e258d7
Give 10 second timeout for reannounce 2018-10-30 04:43:58 +01:00
shortcutme b96559b76f
Reduce connection requirements on startup 2018-08-29 19:55:04 +02:00
shortcutme 3a9ded9315
On startup don't run more than 5 checkSite at the same time 2018-08-29 19:54:31 +02:00
shortcutme 7738e6a381
Fix tracker annonce sleeping formatting 2018-08-26 02:53:15 +02:00
shortcutme 7e8a93e974
Load trackers files in announceSites loop 2018-07-10 03:32:37 +02:00
shortcutme 8b09a02028
Start ConnectinServer before loading site list 2018-04-29 13:04:38 +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 c0101933bd
Call pex announce from announcer class 2018-04-28 21:54:03 +02:00
shortcutme d4a1764d20
Rev3408, Use fixed 15441 port in tor always mode 2018-04-06 18:18:10 +02:00
shortcutme 852aaae52e
Randomize fileserver port 2018-04-03 14:45:04 +02:00
shortcutme 3561ddf7d3
Do check needConnection for evey site after startup to have up to date protected ip list 2018-03-14 22:31:21 +01:00
shortcutme 39568737dd
Tor connect error and uPnP punch error are not critical 2018-02-10 15:33:54 +01:00
shortcutme ae0a78dfb1
Message from local peer does not means internet connection 2018-02-08 18:12:08 +01:00
shortcutme 1ad021ffa9
Fix comment formatting 2018-02-08 18:11:56 +01:00
shortcutme ee6ab8e82a
Store site manager to file server 2018-02-08 18:11:45 +01:00
shortcutme b56c985a63
FileServer accept plugins 2018-02-08 18:09:57 +01:00
shortcutme 97d1d0d63b
Fix cleanup sites with no modified date 2018-01-30 13:59:59 +01:00
shortcutme d44677e46f
Don't keep connections for sites that not modified in last week 2018-01-27 12:21:25 +01:00
Ivanq 5d7b8cfd48 Return dict object, not single None value 2018-01-14 09:38:55 +03:00
Ivanq 6318c0889a Don't check error message for 'open' when checking port 2018-01-14 09:35:03 +03:00
shortcutme a2da8eca68
Master startup by waiting less between site update checks 2017-11-19 18:18:26 +01:00
shortcutme 4465146615
Update server_info on port open status change 2017-11-05 23:43:51 +01:00
shortcutme 02ad7542b3
Temporary disable P2P port checking until more client start supporting it 2017-10-03 14:39:04 +02:00
shortcutme 57c042ef79
Use recent peers for P2P port checking 2017-10-03 14:38:33 +02:00
grez911 8487056edb Small fix in P2P portcheck 2017-08-18 11:43:06 +03:00
grez911 1fc2a917d4 Fix P2P port check 2017-08-18 11:29:41 +03:00
Sergei Bondarenko c0a96983a7 Update FileServer.py 2017-08-16 14:32:47 +03:00
Sergei Bondarenko a4132c9cb1 Update FileServer.py 2017-08-16 09:40:54 +03:00
grez911 5c5e4b914c Added P2P portcheck 2017-08-15 20:17:42 +03:00
shortcutme de363b57ce
Rev2091, Port opening error should not prevent ZeroNet startup 2017-05-26 12:22:35 +02:00
shortcutme 89bb12de71
Search for success message instead of error when portchecking 2017-05-24 10:28:59 +02:00
shortcutme ed11ae283f
Use https for portchecker.co 2017-05-24 10:27:02 +02:00
shortcutme 438bdbc141
Protect peers for low traffic sites from closing 2017-05-07 18:15:23 +02:00
shortcutme ebd00bfb9f
Separate site cleanup and announce thread 2017-02-27 00:07:29 +01:00
shortcutme 353ddd3105
Sync site checking for not so active sites 2017-02-27 00:06:40 +01:00
shortcutme 4988d31aff
Rev1859, Update more active sites first 2017-02-05 18:36:58 +01:00
shortcutme efbd485f5f Update more hashfield on site check 2016-11-07 22:37:31 +01:00
shortcutme 3ba2ecedce Only try to close upnp opened port if necessary 2016-11-07 22:36:14 +01:00
shortcutme c9efcf7389 Catch socket errors on uPnP punch 2016-10-03 19:26:37 +02:00
shortcutme 1849547133 Rev1533, Add uPnP open protocols as parameter 2016-10-02 14:39:03 +02: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