Commit graph

90 commits

Author SHA1 Message Date
shortcutme
81bf349871
Remove ipv6 and onion from pex result if not supported 2019-02-24 02:29:08 +01:00
shortcutme
9d849a16ec
Use defaultdict to for findHashId result 2019-02-24 02:28:42 +01:00
shortcutme
e8dbf1511b
More clean way to return locally found hash_ids for findHashId 2019-01-24 15:18:12 +01:00
shortcutme
06d679d1ca
Support ipv6 in findHashIds response parsing 2019-01-20 16:27:12 +01:00
shortcutme
33cf30a07b
Formatting 2019-01-20 16:26:17 +01:00
shortcutme
6ac1960c47
Support ipv6 for Pex request parsing 2019-01-20 16:26:04 +01:00
shortcutme
12d494bf38
Limit peer reputation increase from tracker 2018-09-04 15:43:20 +02:00
shortcutme
658aace8f1
Increase peer reputation when found by tracker 2018-09-02 02:22:35 +02:00
shortcutme
49562d43c3
Change peer reputation on connection success and error 2018-09-02 02:22:21 +02:00
shortcutme
4241b62760
Log peer reputation on connect 2018-09-02 02:21:48 +02:00
shortcutme
47fcee4df8
Limit peer reputation 2018-09-02 02:21:38 +02:00
shortcutme
e05c432d14
Store if it's tracker connection on connect 2018-08-26 02:52:23 +02:00
shortcutme
abbf6ae2c8
Fix peer added count 2018-02-08 18:08:08 +01:00
shortcutme
403ec56ef8
Remove from recent peers of peer remove 2018-02-08 18:07:09 +01:00
shortcutme
a265c2a7ca
Pass peer discovery source to addPeer 2018-02-08 17:57:26 +01:00
shortcutme
13e651c822
Store and prefer recent peers from trackers and local peer discovery 2018-02-08 17:53:17 +01:00
shortcutme
c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +01:00
shortcutme
814fa881d0
skip on invalid received hash ids 2018-01-19 02:20:20 +01:00
shortcutme
bc9bddf918
Make sure the hashfield response is correct 2017-10-04 17:25:33 +02:00
shortcutme
c494b01435
Update hashfiled more often 2017-10-03 15:26:53 +02:00
shortcutme
c0e69e91a1
Always use streamFile for files bigger than 512k, increase file reads to 1MB for larger files 2017-10-03 15:26:39 +02:00
shortcutme
1c029981ae
Raise exception when no response received 2017-10-03 15:23:25 +02:00
shortcutme
f9e64bc874
Log inner_path and location for peer request in verbose mode 2017-10-03 15:23:03 +02:00
shortcutme
fcfd428b54
Enable plugins for Peer class 2017-10-03 14:56:42 +02:00
shortcutme
a7b22e2055
Fix error on exit for peers without site 2017-06-20 20:28:35 +02:00
shortcutme
916709a7e4
Allow less peer error if for popular sites 2017-06-19 16:13:06 +02:00
shortcutme
f773bf3336
Add file_size to request to avoid unnecessary download 2017-06-19 16:10:18 +02:00
shortcutme
ae21f056d5
Error if no peer connection found 2017-06-13 14:12:48 +02:00
shortcutme
da49981ecd
Allow 6 failed requests before closing peer 2017-02-27 00:07:51 +01:00
shortcutme
e80887d779
Add reputation for old peers 2017-02-27 00:06:13 +01:00
shortcutme
bad2a79f05
Reason for connection closing 2017-02-27 00:02:24 +01:00
shortcutme
d39d6a2bd4 Mark if peer has hasfield 2016-11-07 22:34:46 +01:00
shortcutme
7d78623c92 Remove unnecessary logging 2016-09-09 12:23:26 +02:00
shortcutme
d5651f1df3 Lazy create peerhashfield objects 2016-09-07 17:41:33 +02:00
ZeroNet
07a6bd523c Accept only 30 peers on pex 2016-08-10 12:44:00 +02:00
HelloZeroNet
eac475d13f Increment connections peer number on findConnection result 2016-05-05 12:12:18 +02:00
HelloZeroNet
75a5ab9441 Track used site per connection 2016-04-25 02:23:06 +02:00
HelloZeroNet
c8b949cef5 Save last received update time from peer to avoid send the same update on publish 2016-03-30 23:05:43 +02:00
HelloZeroNet
f1c9eafd79 Fix streamfile error 2016-03-26 00:22:46 +01:00
HelloZeroNet
e891a10e54 Rev957, Sidebar displays onion peers in graph, Sidebar display bad file retry number, Sidebar site Update/Pause/Delete, Ratelimit sidebar update, Encoded typo, Fix onion findHashId, More retry for bad files, Log file path errors, Testcase for self findhashIds, Testcase for Tor findHashId, Better Tor version parse, UiWebsocket callback on update/pause/resume/delete, Skip invalid postMessage messages 2016-03-09 00:48:57 +01:00
HelloZeroNet
dba42f5f5e Rev943, Less verbose logging by default, Load ZeroBundle SSL lib, Log loaded SSL lib 2016-03-06 00:55:50 +01:00
HelloZeroNet
3f6f273fb1 Rev932, Skip news event from future, Disable siteSetOwned and setAutodownloadoptional when multiuser plugin enabled, Fix sidebar double click handlers, Log peer sent commands, Send modification to less peer if have enought peers, Close peers if more than 10 per site 2016-03-03 21:12:16 +01:00
HelloZeroNet
e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00
HelloZeroNet
3587777ea8 Rev571, Optional file sizes to sidebar, Download all optional files option in sidebar, Optional file number in peer stats, Delete removed or changed optional files, Auto download optional files if autodownloadoptional checked, SiteReload command, Peer use global file server if no site defined, Allow browser cache video files, Allow more keepalive connections, Gevent 1.1 ranged request bugfix, Dont sent optional files details on websocket, Remove files from workermanager tasks if no longer in bad_files, Notify local client about changes on external siteSign 2015-11-09 00:44:03 +01:00
HelloZeroNet
c2fc131cdc Rev546, Sidebar drag fix, Fix rebuild on dbschema changes, Test Dbschema changes, Fix atomicWrite error when old file already exists 2015-11-05 23:19:36 +01:00
Arend van Erk
ac0eb2551a fixed retry loop, instead of looping 3 times it looped 2 times. 2015-11-03 23:04:44 +01:00
HelloZeroNet
8e710beab1 Rev536, Fix stats page, Support ranged http requests for better video browser compatibility, setHashfield command, One by one send hashfield to connected peers if changed, Keep count hashfield changetime, PeerHashfield optimalizations, Wait for peers on checkmodification, Give more time to query trackers, Do not count udp trackers as error if udp disabled, Test hashfield push 2015-10-30 02:08:02 +01:00
HelloZeroNet
a8dae8dd85 Rev477, FindHashId command for optional files, Renaming some variables to make it more clear, Optional files downloading in WorkerManager, Test FindHash, Test Optional download, Test FindOptional 2015-10-22 11:42:55 +02:00
HelloZeroNet
9400e9f58f Rev470, Keep track downloaded optional files in hashfield, Peer getHashfield command, Check optional files on verifyFiles, Test hashfield, Test hashfield exchange 2015-10-11 02:22:53 +02:00
HelloZeroNet
9d7d4f1552 Rev467, requirements.txt accept newer dependecies, Boost dbschema.json, Move getDirname getFilename to helper, Verify optional files, Includes not allowed in user files, Optional files rules, Peer hashfield functions, Test optional files signing, Test file info, Test verify file, Test helpers 2015-10-01 01:35:13 +02:00