Commit Graph

485 Commits

Author SHA1 Message Date
Kevin F
f740d475c4 Specify that Onionr's pid is a pid in log 2022-03-20 12:51:54 -05:00
Kevin F
a53c31fda7 peer.get_socket implementations now must take timeout arg used for initial connection 2022-03-20 12:51:25 -05:00
Kevin F
568a192c97 Fix license docstring boilerplate spacing 2022-03-17 19:56:31 -05:00
Kevin F
6c2b1e49a2 Implemented dandelion stemout stream building 2022-03-14 10:04:28 -05:00
Kevin F
9bf16c5758 Work on stemout 2022-03-13 00:35:22 -06:00
Kevin F
19159ffa06 Work on stemout 2022-03-12 19:28:18 -06:00
Kevin F
4c54677387 Use tuple of queues for block queues instead of list for clarity that queues cannot be added 2022-03-11 11:15:18 -06:00
Kevin F
fefec8bdc8 added block store function used when not in stem phase 2022-03-10 01:10:13 -06:00
Kevin F
9d17c7bd64 Implemented server dandelion++ stem portion 2022-03-04 18:05:12 -06:00
Kevin F
17b268d9e4 lots of work on gossip 2022-03-02 07:29:59 -06:00
Kevin F
4f3da58a60 Only 1 command per peer connection should be handled 2022-02-27 13:36:39 -06:00
Kevin F
1a7ce7d386 Try mulitiple times and log an error if we can't bootstrap to anyone 2022-02-27 13:36:02 -06:00
Kevin F
44f6b90777 When checking for peer online to add to peer pool, make sure it closes and avoid attempting if its already in the pool 2022-02-27 13:34:16 -06:00
Kevin F
5337b0aba4 bootstrap logic separated out of plugin and announcement logic mostly completed 2022-02-26 01:07:18 -06:00
Kevin F
34f9ffbf6b Made peers hashable and comparable for their use in the peer set 2022-02-26 01:06:17 -06:00
Kevin F
8d394c76a7 Peer announcing client side done 2022-02-25 01:02:04 -06:00
Kevin F
df3568fc15 Scaffolding before implementing peer exchange logic 2022-02-24 01:03:50 -06:00
Kevin F
850468dc39 Scaffolding before implementing peer exchange logic 2022-02-23 11:47:01 -06:00
Kevin F
d6b1c98cbd Ping loop while brainstorming. 2022-02-22 14:34:19 -06:00
Kevin F
8eec2167c8 Tor can now initialize peers 2022-02-21 15:15:26 -06:00
Kevin F
d48af45210 better error handling in plugin importing 2022-02-18 14:40:00 -06:00
Kevin F
15875d26c6 Work on gossip system and tor transport 2022-02-16 23:58:04 -06:00
Kevin F
2bcfbf0d79 Tor address generation completed. New system stores the priv key in config as a cleaner method 2022-02-16 00:49:32 -06:00
Kevin F
e5b396fc11 Work on gossip system and tor transport 2022-02-14 17:47:54 -06:00
Kevin F
713aeb199d Added DandelionPhase to pick stem mode or not 2022-02-12 14:36:45 -06:00
Kevin F
026f39b680 Work on new gossip system 2022-02-11 00:56:19 -06:00
Kevin F
ebb75b136d Fix sigterm handler shutdown call 2022-02-10 17:38:22 -06:00
Kevin F
ed6e2d05b4 ignore another python path in big brother disk ministry 2022-02-10 17:37:58 -06:00
Kevin F
d388bba646 Added files for new dandelion++ gossip and transport system 2022-02-09 19:29:16 -06:00
Kevin F
cbd9a3cbec bump version codename 2022-02-09 19:28:52 -06:00
Kevin F
e55beec18c Adjusted onionrthreads to take kwargs 2022-02-09 19:28:31 -06:00
Kevin F
cedd01c98f Removed netcontroller
Removed etc (moving most to onionrutils)
Small refactoring
2022-02-06 19:18:53 -06:00
Kevin F
29b28accf1 Started test for blockdb 2022-02-05 13:25:28 -06:00
Kevin F
79639ba0af Added unittest for onionr subprocess module 2022-02-05 00:24:31 -06:00
Kevin F
061e2d1e01 Added generic multiprocess wrapper
Corrected blocks after timeout function
2022-02-04 00:18:57 -06:00
Kevin F
eb763cf293 Work on blockdb functions 2022-02-03 12:55:07 -06:00
Kevin F
ff9eb13579 Added block type iteration generator 2022-02-03 00:32:26 -06:00
Kevin F
844723cea9 Remove tests associated with removed code 2022-02-02 14:45:27 -06:00
Kevin F
44d5eeab2a Remove tests associated with removed code 2022-02-02 00:34:50 -06:00
Kevin F
21d1f69bbe Removed some dead scripts 2022-01-31 22:55:50 -06:00
Kevin F
fd93f6151e + Add pijion support
* Fix shutdown
2022-01-30 23:59:34 -06:00
Kevin F
1d22b43ef9 Removed old block system 2022-01-30 19:39:24 -06:00
Kevin F
e99056afac More cleanup 2022-01-19 18:47:28 -06:00
Kevin F
cb647daa85 Cleaning up transport remnants 2022-01-11 18:13:19 -06:00
Kevin F
4bd9bd6e9d Removed lan and tor transports 2022-01-11 01:20:15 -06:00
Kevin F
2352e066cc work on moving to vdf 2022-01-06 14:48:22 -06:00
Kevin F
6a8ab46815 Added vdf create wrapper
Removed some dead code
2021-12-31 15:46:56 -06:00
Kevin Froman
9306143e4c dont check hostname if not bound to loopback in client api security 2021-01-23 04:00:03 +00:00
Kevin Froman
7303cf041e if binding to 0.0.0.0, don't validate source ip in client api 2021-01-23 04:00:03 +00:00
Kevin Froman
4e96d18396 print tor errors to stdout 2021-01-23 04:00:03 +00:00
Duncan X Simpson
3a98183fa0 Compare uid not username in create_dirs() 2021-01-23 04:00:03 +00:00
Kevin Froman
07d9207808 Fix regression when opening homepage 2021-01-16 06:38:12 +00:00
Kevin Froman
ad91a3222f show web url every time onionr daemon starts 2021-01-16 02:08:36 +00:00
Kevin Froman
87685fd728 add license to disk ministry 2021-01-15 21:36:57 +00:00
Kevin Froman
b267d3028e bump version to 8.0.2 2021-01-15 08:55:42 +00:00
Kevin Froman
76f1d164e7 + added basic dev guide
* fixes #22
* When restarting from cli, always output to previous process' terminal
2021-01-15 07:30:38 +00:00
Kevin Froman
79b46b62eb add SO link to err msg when sqlite is not installed 2021-01-13 09:37:47 +00:00
Kevin Froman
ae84d09e8e * detect stale run file
fixes #27
2020-12-22 08:57:15 -06:00
Kevin Froman
9d55c62d68 * revert pow to 5
* is is_alive in sneakernet observer
* catch subprocess err in 3.9.x (dirty hack) in vanityonionr and block gen
* bump version
2020-12-22 01:53:04 +00:00
Kevin Froman
ae359de562 Added custom port and bind address args 2020-12-16 04:44:25 +00:00
Kevin Froman
9d6216e16b decrease pow, bump version 2020-12-04 09:41:40 +00:00
Kevin Froman
7820c87b79 bump version 2020-12-03 06:36:15 +00:00
Kevin Froman
93d176badc fix upload.py logging b_hash define 2020-12-03 06:12:06 +00:00
Kevin Froman
968f468027 Merge branch 'fixmultiprocessexit' of /home/user/win-merges/bare-onionr/onionr into fixmultiprocessexit 2020-12-03 05:24:42 +00:00
Kevin Froman
86fd936d52 exit faster from communicator 2020-12-03 05:20:03 +00:00
Kevin Froman
e34b499044 purge old blocks if POW increases 2020-12-02 20:46:36 -06:00
Kevin Froman
01ed4d49d0 fix wsl apport breaking sites 2020-12-03 01:25:24 -06:00
Kevin Froman
9db9c495c8 check block POW *before* syncning from lan 2020-12-02 23:01:12 -06:00
Kevin Froman
dcc304be9d fix wsl apport breaking sitecreator 2020-12-02 23:00:51 -06:00
Kevin Froman
eaf61c280a fixed subprocesspow not exiting on wsl 2020-12-01 16:24:10 -06:00
Kevin Froman
e831a27ae3 bug fixes in block creation and directory security 2020-11-23 03:47:50 +00:00
Kevin Froman
28044f2bd7 bump version 2020-11-22 01:11:14 +00:00
Kevin Froman
30a4285b92 - Removed direct connections (will be a different project in the future)
- removed chat for now
- removed onionrcommunicatortimers
2020-11-21 05:31:19 +00:00
Kevin Froman
59330149e1 removed netcheck comm timer 2020-11-18 22:16:37 -06:00
Kevin Froman
a775f3b26d dont upload blocks that arent valid (anymore?), progress removing communicator timers 2020-11-16 06:57:38 +00:00
Kevin Froman
cc703fc404 progress removing communicator timers 2020-11-15 18:52:52 +00:00
Kevin Froman
ecd2cc54da progress removing communicator timers 2020-11-15 18:26:25 +00:00
Kevin Froman
bbd76da333 added flood fill work, misc bug fixes and removing communicator timers 2020-11-13 08:17:48 +00:00
Kevin Froman
8d839f62c9 bump version 2020-11-03 04:21:17 +00:00
Kevin Froman
a0ae62d0a3 added togglenetwork module in torcontrol 2020-11-03 03:56:24 +00:00
Kevin Froman
a9d0524ccc + added sandbox script
* handle sigterm
2020-11-02 23:47:38 +00:00
Kevin Froman
130e9de5e9 remove disablenetwork for now 2020-11-02 02:09:52 +00:00
Kevin Froman
f0cd2fb2b9 moved blockmetadata to onionrblocks 2020-11-02 01:31:11 +00:00
Kevin Froman
44112750ec Merge branch 'master' into flood-fill 2020-10-29 20:58:17 +00:00
Kevin Froman
f2d7075b3a bump version 2020-10-28 08:28:56 +00:00
Kevin Froman
256c402223 fix connectnewpeers not using specified peer 2020-10-28 07:54:11 +00:00
Kevin Froman
2601263b87 disable forward secrecy for now, fix autocomplete for to address in mail 2020-10-28 02:49:21 +00:00
Kevin Froman
2837210cf4 blockapi decrypt fix 2020-10-27 15:58:06 +00:00
Kevin Froman
f7f4732789 added floodfill network visualization script 2020-10-26 08:32:36 +00:00
Kevin Froman
4a831a4a4d fixed closeness calculation 2020-10-26 06:11:24 +00:00
Kevin Froman
da11c74f6c finished closeness measurement 2020-10-25 04:12:42 +00:00
Kevin Froman
299980f126 work on flood fill network 2020-10-24 08:07:54 +00:00
Kevin Froman
eec8c356ad fix systemrandom shuffle 2020-10-22 15:16:19 +00:00
Kevin Froman
cf0507b82d ensure whole tree is made in createdirs 2020-10-22 14:52:49 +00:00
Kevin Froman
862b39c217 fix systemrandom shuffle 2020-10-22 14:25:57 +00:00
Kevin Froman
4847d9bddf added cpu optimize onboarding option 2020-10-22 12:51:20 +00:00
Kevin Froman
8a4c138eed don't netcheck if tor disabled 2020-10-22 12:45:19 +00:00
Kevin Froman
5dddeb3f10 remove random shuffle function for systemrandom equivalent 2020-10-21 09:46:05 +00:00
Kevin Froman
183e6491d0 use SystemRandom for randomshuffle instead of own rolled implementation 2020-10-19 07:28:38 +00:00
Kevin Froman
c23b286540 added file reader offset 2020-10-17 07:51:28 +00:00