Commit Graph

497 Commits

Author SHA1 Message Date
Kevin Froman
6500229000 added attack simulation scripts 2020-02-02 21:21:51 -06:00
Kevin Froman
c58bbbb10f Add missing import in daemon launch 2020-02-02 19:16:30 -06:00
Kevin Froman
d4dd964069 don't restart tor unless its our own 2020-02-02 19:07:48 -06:00
Kevin Froman
5b78a8810d only nuke data on node shutdown 2020-02-02 19:00:49 -06:00
Kevin Froman
8a82e76182 fix tor dir being too open 2020-02-02 03:23:59 -06:00
Kevin Froman
8e5152a14e added support to wipe data directory on exit 2020-02-02 02:48:23 -06:00
Kevin Froman
567af997d7 Added dev config scripts 2020-02-02 00:55:39 -06:00
Kevin Froman
88146a5690 use thread instead of greenlet to start run time tests 2020-01-31 22:57:53 -06:00
Kevin Froman
cd671feb92 tor can now be attached 2020-01-31 22:14:26 -06:00
Kevin Froman
ea47ae456b work on the ability to attach to existing Tor 2020-01-31 18:23:48 -06:00
Kevin Froman
840563f75c work on the ability to attach to existing Tor 2020-01-31 07:35:44 -06:00
Kevin Froman
bffef46e89 Added boilerplate to gettransports 2020-01-31 07:35:44 -06:00
Kevin Froman
d0bdeca7c4 fixed hide blocks being broken in some cases 2020-01-30 00:54:43 -06:00
Kevin Froman
8649231860 fix cmd recommend to use f string 2020-01-29 23:22:23 -06:00
Kevin Froman
8a3f84097a + now require runtime tests to generate unittest result that is somewhat fresh
+ add runtime test for webpass needing to be set
2020-01-29 22:56:47 -06:00
Kevin Froman
6624a80c68 remove signed stats from stats command 2020-01-29 20:20:02 -06:00
Kevin Froman
2bc14b5c63 add gzip to exec bigbrother for sites and fix passphase print in site creator 2020-01-29 15:44:44 -06:00
Kevin Froman
a958b99fef remove sent mail from sentbox when block is blacklisted 2020-01-29 13:48:45 -06:00
Kevin Froman
c636e87b2c improve formatting in removeblock and blacklist 2020-01-29 13:48:45 -06:00
Kevin Froman
2732c3a149 reenable client security (OOPS) 2020-01-29 13:45:31 -06:00
Kevin Froman
0059c91b06 use fp symbol instead, merge master changes before merging back to improve circles 2020-01-28 00:29:20 -06:00
Kevin Froman
2bc996f660 supress gevent error from sses 2020-01-27 23:52:35 -06:00
Kevin Froman
a1fd5f2648 remove defunct test, add random bint ip test, and fix offline mode 2020-01-27 19:32:25 -06:00
Kevin Froman
ef25377e15 improved formatting in miscclient endpoints 2020-01-27 17:30:22 -06:00
Kevin Froman
11d97a12d0 give stats module more specific name 2020-01-27 02:20:09 -06:00
Kevin Froman
b1a7641db9 removed defunct communicator methods 2020-01-27 02:09:28 -06:00
Kevin Froman
5c636246fb added tor circuit stats to main page 2020-01-25 02:23:18 -06:00
Kevin Froman
57f233d856 added work on new main page with tor statistics. Added TorStats class to access tor statistics suck as circuit information 2020-01-21 02:36:19 -06:00
Kevin Froman
dd0ebd9238 add forgotten blocknoncestart file 2020-01-19 21:55:58 -06:00
Kevin Froman
07ab85698d raise exceptions instead of false return in blockimporter 2020-01-19 21:10:51 -06:00
Kevin Froman
3aeb305994 disable pool for mixing and announce node sooner after start 2020-01-19 21:10:01 -06:00
Kevin Froman
c7bbd054e4 make deniable blocks larger on average 2020-01-19 21:06:22 -06:00
Kevin Froman
4afa3d87e5 delete disk usage file after soft reset 2020-01-19 21:05:55 -06:00
Kevin Froman
f3b22dad56 remove DataPOW and make POW use non hard coded start int value 2020-01-19 21:02:51 -06:00
Kevin Froman
7db8193bf6 remove POW for annoncements 2020-01-19 21:02:04 -06:00
Kevin Froman
1c6893e297 fix variable misspelling when clearing wait for share session 2020-01-15 00:26:10 -06:00
Kevin Froman
828f7682b8 added server sent events wrapper and example 2020-01-14 02:29:42 -06:00
Kevin Froman
29421d678e KISS startup delete plaintext blocks based on config, no blacklist 2020-01-10 03:42:04 -06:00
Kevin Froman
f78809fa2a added config observers, delete plaintext blocks when plaintext storage is disabled 2020-01-07 05:44:53 -06:00
Kevin Froman
2e31155a5d fix insert queue removal not using json mode 2020-01-06 18:40:44 -06:00
Kevin Froman
27ef1d9ce4 remove never added daemon event function from pluginapi 2020-01-06 18:26:31 -06:00
Kevin Froman
88fe605762 finish up removing daemon queue, migrate shutdown to event system 2020-01-06 18:25:51 -06:00
Kevin Froman
a801960179 moved all but shutdown over to new daemon events system 2020-01-06 06:09:33 -06:00
Kevin Froman
c975d27906 switched to upload event api 2020-01-04 06:13:10 -06:00
Kevin Froman
1ba8b4c707 * fleshed out daemon events; also is now used for insertion queue removal
* deprecated daemon queue and removed unused daemon queue commands
2020-01-03 04:26:36 -06:00
Kevin Froman
6529d3e622 json mode added to local command 2020-01-03 04:15:20 -06:00
Kevin Froman
d7be2ca16d delete upload memory file file on shutdown if upload queue is empty 2020-01-03 04:14:04 -06:00
Kevin Froman
ee7b68c844 added new daemon events files 2020-01-01 20:07:34 -06:00
Kevin Froman
66aafb6deb added new daemon events work 2019-12-30 18:57:14 -06:00
Kevin Froman
e9f0e60608 added toggle bootstrap command 2019-12-29 11:21:18 -06:00
Kevin Froman
01f9b9b470 work on block insertion mixing 2019-12-27 01:53:18 -06:00
Kevin Froman
87ea8d137b minor bug fixes and linting improvements 2019-12-23 01:51:24 -06:00
Kevin Froman
9329b07e3b added mixmate to improve base routing 2019-12-22 13:42:10 -06:00
Kevin Froman
f71f2f6246 fix env home regression and made identifyhome lint compliant 2019-12-20 15:50:56 -06:00
Kevin Froman
c469c5d871 made communicator init have better lint compliance 2019-12-20 02:59:27 -06:00
Kevin Froman
b5a8f295c9 made uploadqueue lint compliant 2019-12-20 02:43:18 -06:00
Kevin Froman
1019ff0773 * made api servers lint compliant
* made bigbrother lint compliant
2019-12-20 02:37:12 -06:00
Kevin Froman
9571ea519d identify home better supports env home in non daemon 2019-12-20 02:33:42 -06:00
Kevin Froman
e5f3866f9e linting refactoring communicator(utils) and reduced TOCTOU issus with online peer picking 2019-12-20 01:24:38 -06:00
Kevin Froman
9fbee668aa fix regression exposing socks port to daemon instead of api server 2019-12-20 01:21:43 -06:00
Kevin Froman
eb294dd9ae fix big brother docstrings and disable_hooks default arg 2019-12-19 23:28:12 -06:00
Kevin Froman
0484655e2e fix ofexec not properly checking for windows for tor kill os.system 2019-12-19 23:26:29 -06:00
Kevin Froman
f5a98fba13 fix ofexec auditor docstrings 2019-12-19 23:22:51 -06:00
Kevin Froman
906219fe30 * Refactored onionrcommands py to be linting compliant (started using mypy)
+ git ignore mypy cache
2019-12-19 20:46:11 -06:00
Kevin Froman
6d123b93fc made parser flake8 compliant 2019-12-19 04:32:40 -06:00
Kevin Froman
e77e213589 made keyadders pep8 compliant 2019-12-19 03:13:41 -06:00
Kevin Froman
027abd3f13 None is not a type 2019-12-18 04:13:38 -06:00
Kevin Froman
c1dd2a7213 flake8 log style for connect fails 2019-12-18 04:10:00 -06:00
Kevin Froman
00e20c54b0 don't try to connect to peers in offline mode 2019-12-18 04:09:37 -06:00
Kevin Froman
f7e2a94502 flake8 refactors get onlinePeers 2019-12-18 04:08:33 -06:00
Kevin Froman
9707d5e320 fix flake8 ofcommunication line len 2019-12-18 04:07:20 -06:00
Kevin Froman
aa51a2fea6 var for netCheckTimer and commented code removal 2019-12-18 04:06:52 -06:00
Kevin Froman
a1c68fabe7 set isOnline to false if offline mode 2019-12-18 04:05:37 -06:00
Kevin Froman
f42e777408 make network check obey offline mode 2019-12-18 04:03:55 -06:00
Kevin Froman
abe1dde57e pep8 refactor netcheck 2019-12-18 04:03:26 -06:00
Kevin Froman
8f1df8c371 make daemon launch obey offline mode and pep8 refactor it 2019-12-18 04:02:08 -06:00
Kevin Froman
a36885c806 pep8 formatted daemon launch boilerplate 2019-12-18 04:00:39 -06:00
Kevin Froman
9af3f06b56 added block system auditor 2019-12-18 03:58:47 -06:00
Kevin Froman
743e735c48 add big brother readme and test 2019-12-18 03:52:52 -06:00
Kevin Froman
9790785c08
made runtests init flake8/pylint conforming 2019-12-17 19:31:41 -06:00
Kevin Froman
ae416bc650 added big brother security auditing to prevent some RCE and leaks 2019-12-14 13:45:18 -06:00
Kevin Froman
47e69bab99 added big brother event auditor 2019-12-13 12:24:29 -06:00
Kevin Froman
bb87bc192e refactored netcontroller and split module 2019-12-12 02:47:33 -06:00
Kevin Froman
6b0c88aff9 added custom torrc support 2019-12-10 04:52:32 -06:00
Kevin Froman
15872f8f7c added watchdog, use it to kill tor 2019-12-10 00:29:16 -06:00
Kevin Froman
fd6096a93c default plugins now have navbar removal logic 2019-12-06 01:21:30 -06:00
Kevin Froman
1eb47a4584 onboarding work 2019-12-03 00:00:15 -06:00
Kevin
8a4102cbd1 Merge nick's fixes 2019-12-01 08:10:00 +00:00
Kevin Froman
1de668a9e5 onboarding work, now waits to start daemon timers 2019-11-30 02:42:49 -06:00
Kevin Froman
fb975dc52c fix time skew message formatting 2019-11-30 01:11:46 -06:00
KF
316b01ea85 properly delete run files when tor is not found 2019-11-29 17:49:14 -06:00
Kevin Froman
13c34a1c04 adjust tests for upload queue exception 2019-11-27 14:07:51 -06:00
Kevin Froman
f401518d24 fix insertion upload check when daemon is not running 2019-11-27 13:53:06 -06:00
Kevin Froman
00baf30141 add check and daemon api endpoint to fix #41 2019-11-27 13:39:48 -06:00
Kevin Froman
d1f9911fd4 when resetting plugins, dont copy until onionr is ran again 2019-11-26 18:36:50 -06:00
Kevin Froman
ee5f4409af work on onboarding and pep8 compliance. re-worded about 2019-11-26 18:01:32 -06:00
Kevin Froman
720efe4fca renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00