Commit Graph

205 Commits

Author SHA1 Message Date
shortcutme 353ddd3105
Sync site checking for not so active sites 2017-02-27 00:06:40 +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 4ec0209dd7
Invalid request detect 2017-02-09 01:54:24 +01:00
shortcutme 277d16eabb
Bad action increment on invalid file update request 2017-02-09 01:54:04 +01:00
shortcutme 4988d31aff
Rev1859, Update more active sites first 2017-02-05 18:36:58 +01:00
shortcutme ee0176e730 Increase connection bad action on bad file location 2017-01-05 02:25:06 +01:00
shortcutme bd51c61eb6 Findhashfield optimization and limit 2016-11-07 23:20:08 +01:00
shortcutme 9fcd456205 Return file send stats 2016-11-07 23:19:33 +01:00
shortcutme c727443ea3 Log connection cpu time usage for non io heavy commands 2016-11-07 23:19:17 +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
shortcutme cb20280530 Less verbose logging on filerequest 2016-09-05 13:54:17 +02:00
shortcutme 6806eed2ae Dont reload the whole site on content.json update 2016-09-05 13:54:03 +02:00
shortcutme a12c639bed Dont check files on startup 2016-09-04 17:51:00 +02:00
shortcutme d6cc40cf3b List modified files using content.db 2016-09-04 17:50:29 +02:00
shortcutme 1557d3c390 Always keep connections for the sites 2016-08-26 11:41:45 +02:00
shortcutme 3524198599 Don't log owned local file reload 2016-08-16 19:56:35 +02:00
shortcutme 16ed55a745 Dont recalculate site size on owned site update 2016-08-15 13:55:45 +02:00
shortcutme 64febc7f61 Publish incoming modifications only to 2 peers 2016-08-15 13:54:00 +02:00
shortcutme 4975ef82d7 Fix port open checking 2016-08-15 13:53:20 +02:00
HelloZeroNet 432aa037cb Rev1276, Skip last_content_json_update while pending file parsing 2016-04-27 09:45:32 +02:00
HelloZeroNet 75a5ab9441 Track used site per connection 2016-04-25 02:23:06 +02:00
HelloZeroNet 21cfa653ca Mark files updates currently working on to avoid double update on slow systems 2016-04-20 23:38:22 +02:00
HelloZeroNet c7b8ec5667 Allow only content.json update 2016-04-20 23:35:51 +02:00
HelloZeroNet 82b960c641 Pass diffs to other users 2016-04-06 13:59:53 +02:00
HelloZeroNet 7c3e470ea7 Calculate and send diff on startup commands 2016-04-06 13:58:43 +02:00
Fil 7a4472db4c typo: "time wrap" should be "time warp" 2016-04-03 10:32:13 +02:00
HelloZeroNet 17ddbd8b32 Only start onions in passive mode 2016-03-30 23:19:46 +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 646eba930f Change update spam rate limit to 20 secs 2016-03-30 23:01:05 +02:00
HelloZeroNet 33430ee67b Force find more peer for optional task after 15sec 2016-03-23 13:05:48 +01:00
Erkan Yilmaz b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet f3c8d5e541 Better internet outage detection based on last message from connections 2016-03-19 18:14:09 +01:00
HelloZeroNet 231578b887 Internet outage detection to fixed 5 min 2016-03-19 12:23:52 +01:00
HelloZeroNet 09b3d6ffca More clean force port checking 2016-03-19 12:23:29 +01:00
HelloZeroNet bdd658dddb Internet outage detection 2016-03-19 01:36:01 +01:00
HelloZeroNet 50708c16de Dont allow checkSites run in parallel 2016-03-18 20:03:38 +01:00
HelloZeroNet f27e58395b Dont check site files on wakeup 2016-03-18 20:03:19 +01:00
HelloZeroNet 77ac1ae796 Keep connections opened regardless prot opened status 2016-03-16 23:24:57 +01:00
HelloZeroNet 7707c42a02 On same version content.json update dont add peer to optional files 2016-03-16 00:38:26 +01:00
HelloZeroNet 555c136143 Simple connection karma to avoid update flood 2016-03-12 23:09:26 +01:00
HelloZeroNet 0897154584 Rev966, New Greenlet debug hook to support Gevent 1.1.0, Publish to 8 peers on external publish request, Dont try to download banned user files, Check user files even if its own site 2016-03-11 12:39:39 +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 7d25812087 Rev859, Don't display port closed warning in Tor always mode, Reload trackers files every minute, Log users.json save time, Use Udp connect to avoid Gevent lockdown bug, Site needfile startup command, Log uPnP punch targets 2016-01-19 20:42:00 +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 5b316180e6 Rev663, Faster SitePublish from command line if fileserver already running, Better OpenSSL lib close for update via webui, Close pyelliptic OpenSSL lib before update 2015-12-12 16:39:22 +01:00
HelloZeroNet 85c2799cb6 Rev618, Changed 2 dead torrent trackers, Better exception display on webui, Better broken site with missing files handling, Possible re-check open port using ZeroHello, 5sec udp timeout 2015-11-17 12:48:03 +01:00
HelloZeroNet 6763d6e74c Rev582, Fix my ip sending on findHashIds, Only start workers for optional files if peers found 2015-11-12 23:01:35 +01:00
HelloZeroNet ae98522855 Version 0.3.3, Rev580, DB recreate bugfix, Get empty hashfields, Better stat formatting, Query hashfield right after content.json downloaded 2015-11-12 02:04:45 +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 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 9c5fda6ed2 Rev505, FindHashIds also checks in self hashfield, Fix optional file bug when task already finished, Reset peer last hashfield download time when found hashid using findHashIds 2015-10-28 01:28:29 +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 39413b9755 Rev452, Auto hide no peers found info message, Raise error on invalid file location, Test PEX, Test invalid file downloads, Test peer download and ping 2015-09-28 00:22:27 +02:00
HelloZeroNet 3173313ca2 Rev450, PEX quickfix 2015-09-27 12:42:53 +02:00
HelloZeroNet 4b403da056 Rev448, Better file download priority method, Some potential programming error fix, Renamed utils to helper, Moved pack and unpackaddress to helper package, Test new privatekey creation, Test site file download order, Spy test helper to log called parameters, Remove unnecessary fat arrows 2015-09-27 02:08:53 +02:00
HelloZeroNet 8fdc431b0b Rev445, Fix ConnectionServer peer_id handling, Faster startup by creating ssl certs on FileServer start, Per-site connection_server, Fix double Db opening, Test site downloading, Sign testsite properly, Test ConnectionServer, Test FileRequest 2015-09-24 22:08:08 +02:00
HelloZeroNet 917393c022 Rev409, Delete files removed from content.json, Start download user files right after content.json downloaded, New API command: fileDelete, Better notification input auto focus 2015-09-16 00:01:23 +02:00
HelloZeroNet fa37f58982 Rev395, Trackers_file parameter that allows to specify dynamically loaded bottstrap trackers 2015-09-12 17:13:34 +02:00
HelloZeroNet 0de6496f96 Rev390, Fix sidebar error on non locatable IPs, Configurable bootstrap torrent trackers, Multi-line config file settings, Evenly distributed tracker announce to work better on passive connections, Avoid iframe sandbox escape by using nonces, Better html error messages, Display proper error on invalid startup parameters 2015-09-10 23:25:09 +02:00
HelloZeroNet b83d6ba2ff Version 0.3.2, rev351, Sidebar to display site infos an modify settings, Per-site upload/download bytes statistics, Deny different origin media requests, Allow 10sec to finish query modifications, Websocket display errors to client instead of disconnecting, Allow specify notification id to server-side messages, Track every command response time 2015-08-16 11:51:00 +02:00
HelloZeroNet d331eea384 rev324, Store and display peers last found time, Fix UiPassword plugin cleanup bug, Experimental option to use tempfiles when downloading, Experimental option to stream files out of msgpack context, FileRequest streamFile command, Cleanup peers if not found for 4 hours, Don't reopen openssl in every 5min, Peer fileGet benchmark option 2015-07-25 13:38:58 +02:00
HelloZeroNet b5ecb62bc6 rev280, The whole project reformatted to PEP8, UiRequest getPosted to query posted variables 2015-07-12 20:36:46 +02:00
HelloZeroNet 3bd1c119eb Rev267, Hotfix for problems caused by changes in rev260, Fix unhandled exception on failed port checking 2015-07-02 02:31:52 +02:00
Matthew Bell 31b6dc4516 partial cleanup of FileRequest.py 2015-06-17 22:44:20 +01:00
HelloZeroNet a78907cc9d Version 0.3.1, rev238, Connection encryption using TLS, One click site clone feature, Encryption stats, Disable encryption startup parameter, Disable ssl compression startup parameter, Exchange supported encryption methods at handshake, Alternative open port checker, Option to store site privatekey in users.json, Torrent tracker swap, Test for bip32 based site creation, cloning and sslcert creation, Fix for Chrome plugin on OSX, Separate siteSign websocket command, Update pybitcointools to major speedup, Re-add sslwrap for python 0.2.9+, Disable SSL compression to save memory and better performance 2015-06-10 00:29:30 +02:00
HelloZeroNet 66eca389bf rev 196, Configurable data dir, log dir and config file, fix for getFile unhandled exceptions, add http://zeronet.io to readme 2015-05-31 15:52:21 +02:00
HelloZeroNet 7e4f6bd38e version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update 2015-05-25 01:26:33 +02:00
HelloZeroNet eddf3eb8fc rev134, Removed ZeroMQ dependency and support, GC after every stat page, GC call stat command, Streaming files directly to socket without msgpack overhead, Use listModified to query changed content.json files, Fix urllib memory leak onolder pythons, Fix security tests, Sitemanager testsuite, Announce on site resume, Site publish serves files max 60s 2015-05-03 13:06:43 +02:00
HelloZeroNet 34b7cb0292 rev126, Renamed disable_openssl to use_openssl, Renamed modified Peer command to listModified 2015-04-30 11:49:03 +02:00
HelloZeroNet 099fe575a0 rev125, Class statistics, OpenSSL disabled on OSX by default because of possible segfault, --disable_openssl command line parameter, Save memory on Connection, Peer and FileRequest objects using slots, Dont store modification time from the far future, Able to query modified files from peer, Allow reannounce in 30secs, Use with command in SiteStorage, Always create dir before write file, PeerCmd shell command to query specific command from peer 2015-04-29 23:12:45 +02:00
HelloZeroNet f7717b1de8 rev119, Protection against update flood, Cache webfonts, Publish batching, Task failed holds Peer objects, Remove peer from failed on addTask, Noparallel memory leak fix 2015-04-24 02:36:00 +02:00
HelloZeroNet 60bfac63da rev100, Revision numbering for sub-versions, Assign connection to peer on filerequest/pex, Pex count bugfix, Disable unnecessary topright button click animation, Topright burger utf8 character change to more supported one 2015-04-17 23:12:22 +02:00
HelloZeroNet 6e081d95f5 Version 0.2.9, Only send peers over pex that worked within 2 hours, Mark peer as bad on publish 5sec timeout, Starting typo fix, Only ask peers from 2 sources every 20 min, Maybe fixed notification icon crashing 2015-04-15 23:33:21 +02:00
HelloZeroNet 30281c8fb5 Sexy system trac icon instead of ugly console, Total received/sent stat, List all site peer, Dont sent passive peers over pex, Dont store passive peers on trackers, Dont monkey patch thread at all, Allow main command plugins 2015-04-15 02:54:10 +02:00
HelloZeroNet 804fed2659 on updates connect to real peer ip, connect using pex in passive mode, referrer typo fix 2015-04-14 02:37:31 +02:00
HelloZeroNet 44d5ac784d Trackerless peer exchange between peers, fix event once bug 2015-04-13 23:08:57 +02:00
HelloZeroNet 4f7e048413 socks proxy support, disable udp connections support, http bittorrent tracker support, port opened, external ip to stats, only need zeroname site if dont have, dont try to download file that not in content.json, store external ip even if port closed, recreate uirequest class to avoid unfinished requests in some cases 2015-04-12 23:59:22 +02:00
HelloZeroNet 67783bd494 total object stat, proper zeronet updater timeout catch, connection using connectionserver logger, trigger sitestorage onupdated when signing new file, named once events, only publish once same updated files, retry bad files every 20 min, trigger connection error on failed connection 2015-04-08 01:57:55 +02:00
HelloZeroNet 9c5176a8cb site connection stats, msgpack unpacker stats, make sure we dont skip any namecoin blocks, no more sha1 hash to content.json, keep 5 open connection in passive mode, publish got content to 5 peers, upnp retry 3 times, keep connection loggers 2015-04-03 02:47:51 +02:00
HelloZeroNet b122f47100 version 0.2.8, Namecoin domains using internal resolver site, --disable_zeromq option to skip backward compatiblity layer and save some memory, connectionserver firstchar error fixes, missing unpacker crash fix, sitemanager class to allow extensions, add loaded plugin list to websocket api, faster content publishing, mark updating file as bad, remove coppersurfer tracker add eddie4, internal server error with error displaying, allow site domains in UiRequest, better progress bar, wait for siteinfo before before using localstorage, csslater hide only if opacity is 0 2015-03-30 23:44:29 +02:00
HelloZeroNet 78f97dcbe8 version 0.2.7, plugin system, multiuser plugin for zeroproxies, reworked imports, cookie parse, stats moved to plugin, usermanager class, dont generate site auth on listing, multiline notifications, allow server side prompt from user, update script keep plugins disabled status 2015-03-24 01:33:09 +01:00
HelloZeroNet 3b8d49207e version 0.2.6, database support, dbrebuild and dbquery startup commands, connection firstchar error bugfix, log python gevent msgpack lib versions, sitestorage class for site file operations, dbquery websocket api command 2015-03-19 21:19:14 +01:00
HelloZeroNet bce0f56d45 Save significant amount of memory by remove unused msgpack unpackers, Log unhandled exceptions, Connectionserver checker error bugfix 2015-03-15 00:48:06 +01:00
HelloZeroNet bd7e76628b version 0.2.5, download and update progress bar, we are on gitter, log on filerequest error, faster update 2015-02-26 01:32:27 +01:00
ZeroNet 34f6d1ee7c Merge pull request #53 from sirMackk/master
Python-only Upnp solution
2015-02-25 19:28:16 +01:00
HelloZeroNet e8368a8da1 more detailed connection statistics, first char recv bugfix, double connection bugfix, websocket send queue, loading screen hide bugfix on slow connection, disable user reload 2015-02-25 03:22:10 +01:00
sirMackk 218ceb4bdd Merging in upnp_punch_squashed 2015-02-24 08:02:05 -05:00
HelloZeroNet 31d4609a3b version 0.2.4, peerPing and peerGetFile commands, old content update bugfix, new network code and protocol, connection share between sites, connection reuse, dont retry bad file more than 3 times in 20 min, multi threaded include file download, shuffle peers before publish, simple internal stats page, dont retry on failed peers, more than 10 peers publish bugfix 2015-02-23 23:33:31 +01:00
HelloZeroNet 531bf68ddd Version 0.2.3, One click updater from github, Clean FileServer and UiServer shutdown, Count UiServer http connections to clean close, serverUpdate WrapperAPI command, randomize peers before work start and publish, switched to upnpc-shared it has better virustotal reputation 2015-02-20 01:37:12 +01:00
HelloZeroNet fa7164a0f0 version 0.2.1, better browser open, site size limit, save number of peers to sites.json to faster warmup, silent wsgihandler error, siteSetLimit API comment, grant ADMIN permissions to wrapper, display site changetime from includes too, loading screen warning support 2015-02-14 14:05:00 +01:00
HelloZeroNet 639b9f4961 version 0.2.0, new lib for bitcoin ecc, dont display or track notify errors, dont reload again within 1 sec, null peer ip fix, signingmoved to ContentManager, content.json include support, content.json multisig ready, content.json proper bitcoincore compatible signing, content.json include permissions, multithreaded publish, publish timeout 60s, no exception on invalid bitcoin address, testcase for new lib, bip32 based persite privatekey generation, multiuser ready, simple json database query command, websocket api fileGet, wrapper loading title stuck bugfix 2015-02-09 02:09:02 +01:00
HelloZeroNet 655c104130 50 sec send timeout, force activate keepalive, reworked websocket api to make it unified and allow named and unnamed parameters, reload on content.json fileWrite 2015-01-27 22:37:13 +01:00
HelloZeroNet a977feec33 version 0.1.5, install as user to readme, more debug on filerequests, if upnpc fail try without -e, announce interval from 10 to 20 min, detect computer wakeup and acts as startup, delete sites files websocket command support, pause stop all current downloads, wrapper confirmation dialog support 2015-01-21 12:58:26 +01:00
HelloZeroNet b37e309eda limitations and irc to readme, version 0.1.2, socket debugging option, Notify exceptions support, better error logging, retry on socket error, dont expose external ip to websocket api, kill workers if no task, log time to console 2015-01-17 18:50:56 +01:00
HelloZeroNet 185424b815 version bump, allow to publihs to specified peer, log sendCmd, add zeronet version to content.js, version to websocket api, force start worker specificed for specificed peer 2015-01-16 11:52:42 +01:00
HelloZeroNet aae1022c79 more logging on update requests, only add peer to already peer locked tasks, no traceback on peer send error, only allow 1 sec timeout when publishing, request 50 peers from tracker, peer limited startworkers, sitePublish to 20 peers 2015-01-15 23:24:51 +01:00
HelloZeroNet d28e1cb4a6 First release, remove not used lines from gitignore 2015-01-12 02:03:45 +01:00