Jeff Becker
22e4aef4f9
initial windows platform specific bits for lokinet-vpn
2020-08-24 20:19:48 -04:00
Jeff Becker
37e16291cb
working on linux with root
2020-08-24 20:19:48 -04:00
Jeff Becker
a8239af73a
initial lokinet-vpn tool rewrite
2020-08-24 20:19:48 -04:00
Jeff Becker
576c6ec9d4
fix serialize order of dict in peer stats and make the unit tests match this change
2020-08-24 20:19:48 -04:00
Jeff Becker
fa37c7c9b5
use std::array in unit test and initialize it to be all zero so that when we use it the string we cast to is probably null terminated.
...
also apply clang format
2020-08-24 20:19:48 -04:00
Jeff Becker
e9aa200e8c
make formatting happy
2020-08-24 20:19:48 -04:00
Jeff
1a74c190b6
Merge pull request #1327 from despair86/win32-scm-daemon
...
Win32 scm daemon
2020-08-23 19:54:33 -04:00
Rick V
98241c6c1a
this is what c-f v10 thinks it should look like
2020-08-13 12:06:57 -05:00
Rick V
59b8b1ba6d
add service description
2020-08-12 20:00:54 -05:00
Rick V
7de4c509d7
haha lokinet is cursed now
2020-08-12 19:49:26 -05:00
Rick V
7bd3731e98
first draft of daemon control code
2020-08-12 15:27:39 -05:00
Rick V
d56706b626
more daemon fluff
2020-08-12 14:55:03 -05:00
Rick V
8c62a726c0
stupid trampoline to return control to lokinet
...
after SCM starts
2020-08-12 14:11:47 -05:00
Rick V
ca9984cc69
win32 daemon install/remove goo
2020-08-12 13:03:52 -05:00
Rick V
5c34665fce
move win32 lokimq patch
2020-08-10 13:51:48 -05:00
Jeff
671e01c028
Merge pull request #1324 from majestrate/libunbound-win32-fix-2020-08-04
...
attempt fix for libunbound on win32
2020-08-04 18:14:10 -04:00
Jeff Becker
4bb214eba0
attempt fix for libunbound on win32
...
* run unbound stuff in another thread because LOL windows
* because unbound runs in another thread callbacks for libunbound need to be wrapped in a deferred call so they are done in the logic thread
* bump sqlite3 dep because it's gone, repin hash.
2020-08-04 10:53:32 -04:00
Jason Rhinelander
6f3d881a0f
Merge pull request #1323 from majestrate/freebsd-fix-unit-tests-2020-07-31
...
disable thread safety anonations for freebsd + gtest
2020-07-31 19:27:57 -03:00
Jeff Becker
9050085165
disable thread safety anonations for freebsd + gtest
2020-07-31 14:26:40 -04:00
Jeff
07b994a767
Merge pull request #1321 from majestrate/bind-ip-port-config-2020-07-30
...
fix issue #1320 (allow providing ip/port in bind section of config)
2020-07-30 10:43:51 -04:00
Jeff Becker
301cb6d32f
fix issue #1320 (allow providing ip/port in bind section of config)
2020-07-30 10:36:36 -04:00
Jeff
998d4c4ec3
Merge pull request #1318 from notlesh/peer-stats-follow-up-2020-07-09
...
Peer stats follow up 2020 07 09
2020-07-27 07:17:00 -04:00
Stephen Shelton
83d337ddfd
Send response on error conditions in API request
2020-07-24 11:55:15 -06:00
Stephen Shelton
b037cf0ae4
Handle get_peer_stats request's list of router ids
2020-07-24 11:49:14 -06:00
Stephen Shelton
4699280d97
Crude attempt at retrying lokid connection
2020-07-23 10:54:39 -06:00
Stephen Shelton
1d9c337021
Grab lokimq::ConnectionID on connection attempt
2020-07-23 10:53:34 -06:00
Stephen Shelton
607d04a314
Use str instead of lokimq::ConnectionID in pybind
2020-07-23 10:52:53 -06:00
Stephen Shelton
eedf7ca599
Add implementation of get_peer_stats API
2020-07-20 13:48:57 -06:00
Stephen Shelton
bbc1cd5a31
Stub out get_peer_stats LMQ API request
2020-07-16 16:48:26 -06:00
Stephen Shelton
c07dcaa2ef
Handle service node privkeys response correctly
2020-07-16 16:48:04 -06:00
Stephen Shelton
acb0248f94
Use LMQ request instead of command for lokid ping
2020-07-16 16:46:59 -06:00
Stephen Shelton
9deee9e542
Add bencoding serialization to PeerStats
2020-07-09 13:06:31 -06:00
Stephen Shelton
baac6bf3bd
Update python test code to reflect HiveRouter API
2020-07-06 18:11:53 -06:00
Stephen Shelton
159447b984
Don't "safely" visit relays in RouterHive
2020-07-06 18:11:15 -06:00
Stephen Shelton
56e2bc2c47
Acquire python's Global Interpreter Lock in callbacks
2020-07-06 17:40:42 -06:00
Stephen Shelton
a88dc9f026
Prevent pybind from deleting HiveRouter pointers
2020-07-06 17:39:22 -06:00
Stephen Shelton
305795315b
Specify disabling RC gossiping (testing only) properly
2020-07-06 17:38:41 -06:00
Stephen Shelton
0e99f5bc86
Configure HiveContext it pybind correctly
2020-07-06 16:10:42 -06:00
Stephen Shelton
90ec789fe9
Avoid lokid in router hive
2020-07-06 13:41:21 -06:00
Stephen Shelton
0f074cff8c
Remove ambguity WRT loading and passing of Config
2020-07-06 13:38:02 -06:00
Stephen Shelton
f607b99dbe
Fixes to Context::Configure with default config
2020-07-02 12:25:16 -06:00
Stephen Shelton
ced2ac64fb
Remove last remnants of 'worker'
2020-07-02 11:25:53 -06:00
Stephen Shelton
fb75329b88
Update SessionEstablished function sig in test_iwp_session.cpp
2020-07-02 11:12:35 -06:00
Stephen Shelton
97c14d81fd
Refactor test_llarp_exit_context.cpp to remove C API usage
2020-07-02 11:12:04 -06:00
Stephen Shelton
cdaa28bfd3
Use QueueDiskIO instead of diskworker for db flushing
2020-07-02 10:36:12 -06:00
Stephen Shelton
88c3e9ce00
Remove worker thread parameter from Router constructors
2020-07-02 10:35:44 -06:00
Stephen Shelton
ec20d94c6b
Fix Context::Configure()
2020-07-02 10:26:53 -06:00
Stephen Shelton
343252c48d
Use HiveContext and HiveRouter properly
2020-07-02 10:26:53 -06:00
Stephen Shelton
ed47ba998f
Minor fixes around Context
2020-07-02 10:26:52 -06:00
Stephen Shelton
552dcce5fd
Use inheritance to handle Hive injection
2020-07-02 10:25:10 -06:00