Commit graph

186 commits

Author SHA1 Message Date
shortcutme
46fb61c68c
Consider port opened if we have external ip on the interface 2019-01-30 14:58:11 +01:00
shortcutme
ef6f9b9d70
Don't try to open ports in Tor mode 2019-01-30 14:52:41 +01:00
shortcutme
9f701c8f35
IPv6 supported in tor mode 2019-01-30 14:52:26 +01:00
shortcutme
4631f2223b
Add public ips from local adapters to external ip list 2019-01-29 02:59:15 +01:00
shortcutme
f706f7508e
Store detected external ips to separate variable 2019-01-26 20:42:27 +01:00
shortcutme
de41efbaf8
Rev3818, Fix peerPing cli command 2019-01-26 03:13:47 +01:00
shortcutme
6460b7b0a1
Parse ip_external on portCheck function call 2019-01-25 01:23:46 +01:00
shortcutme
fdb06ad973
Cleaner way to record external ips from port checkers 2019-01-24 15:20:37 +01:00
shortcutme
37979b4f9c
Support multiple external ips 2019-01-24 15:20:08 +01:00
shortcutme
e8dbf1511b
More clean way to return locally found hash_ids for findHashId 2019-01-24 15:18:12 +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
1350096545
Support ipv6 for Checkport request 2019-01-20 16:23:53 +01:00
shortcutme
18b9df62e4
Support ipv6 in findHashIds request 2019-01-20 16:23:37 +01:00
shortcutme
42495a9914
Support ipv6 in Pex request 2019-01-20 16:22:32 +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
eecc257822
Make unknown site request a bad action everywhere 2018-11-26 00:12: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
0f567385a8
Only check size on file request for smaller files 2018-07-16 01:35:35 +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
82e6bc5d31
Use websocket connection instead of fileserver to execute commands from CLI 2018-04-03 14:49:40 +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
81e96d25ba
Handle request using global onion address 2018-03-14 22:30:08 +01:00
shortcutme
514f8396b7
Add missing import for port checking 2018-02-12 17:05:20 +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
a265c2a7ca
Pass peer discovery source to addPeer 2018-02-08 17:57:26 +01:00
shortcutme
97d1d0d63b
Fix cleanup sites with no modified date 2018-01-30 13:59:59 +01:00
shortcutme
c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +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
620d8caea9
Always use peer's real ip instead of reported one using update parameter 2017-11-19 18:18:08 +01:00
shortcutme
4465146615
Update server_info on port open status change 2017-11-05 23:43:51 +01:00