jeff
fac5502c55
if Router::SendToOrQueue fails propagate that failure in LRCM handler
2020-08-24 20:19:52 -04:00
jeff
b6d63968c4
* correct unit tests for exit context so they pass
...
* when providing an ip address for inbound links dont throw if they are valid
2020-08-24 20:19:52 -04:00
jeff
2aaed895f3
disable exits in RCs
2020-08-24 20:19:51 -04:00
jeff
0ee1c4a60a
use full path for ip on linux and report exit code
2020-08-24 20:19:51 -04:00
jeff
bc8e867dfb
use exec for lokinet-vpn
2020-08-24 20:19:51 -04:00
Jeff Becker
3619356406
attempt fixing 100% cpu use on relays
2020-08-24 20:19:51 -04:00
Jeff Becker
ff130e2b5e
die if we are a relay and don't have any inbound links
2020-08-24 20:19:51 -04:00
Jeff Becker
8c3621cead
fix issue #1328
2020-08-24 20:19:51 -04:00
Jeff Becker
d531769e39
disable long running unit test so ci doesn't take so long
2020-08-24 20:19:51 -04:00
Jeff Becker
9494315bc6
add lokinet-vpn to ci upload artifacts
2020-08-24 20:19:51 -04:00
Jeff Becker
1e8fcbb99b
make destructor virtual
2020-08-24 20:19:51 -04:00
Jeff Becker
da6ba86892
add destructor to fix CI builds on macos
2020-08-24 20:19:51 -04:00
Rick V
f283c565e7
make x.x.x.y+1 the default router on windows
2020-08-24 20:19:50 -04:00
Jeff Becker
400f5d3902
windows uses multiple commands for default route.
2020-08-24 20:19:50 -04:00
Jeff Becker
d1abee84d1
windows route hack because lol windows
2020-08-24 20:19:50 -04:00
Jeff Becker
611cc95f2b
add docs for exit setup
2020-08-24 20:19:50 -04:00
Jeff Becker
b2e5a178a4
verbose logging of executed commands
2020-08-24 20:19:50 -04:00
Jeff Becker
d9d63ba14b
add metric to windows
2020-08-24 20:19:50 -04:00
Jeff Becker
876b8db1a1
windows fixes
2020-08-24 20:19:50 -04:00
Jeff Becker
dde6bbeeb8
fix for windows as it is cursed
2020-08-24 20:19:50 -04:00
Jeff Becker
88de4c6f91
windows fixes
2020-08-24 20:19:50 -04:00
Jeff Becker
65b9b55335
fixes for windows
2020-08-24 20:19:50 -04:00
Jeff Becker
7e562a5b37
add netmask for macos
2020-08-24 20:19:49 -04:00
Jeff Becker
49eb42d63f
formatting and typo fix
2020-08-24 20:19:49 -04:00
Jeff Becker
9e24a5bfca
add check for no default route on down
...
fix macos bits for down
install lokinet-vpn with cmake
2020-08-24 20:19:49 -04:00
Jeff Becker
c49e11031a
fix variable name
2020-08-24 20:19:49 -04:00
Jeff Becker
778792f8fc
fix compile error on macos and exclude excluded interface
2020-08-24 20:19:49 -04:00
Jeff Becker
c2e484d14b
fix apple build
2020-08-24 20:19:49 -04:00
Jeff Becker
847fdb4f6b
add initial macos bits for lokinet-vpn (apple made macos so that man may suffer)
2020-08-24 20:19:49 -04:00
Jeff Becker
34ffd8e869
dont put the "gateway" into the return value use the interface address instead because that is what we are looking for
2020-08-24 20:19:49 -04:00
Jeff Becker
45b6fcd7cb
forgot hunk
2020-08-24 20:19:49 -04:00
Jeff Becker
04392a5115
tweak windows bits so that they compile
2020-08-24 20:19:49 -04:00
Jeff Becker
36a2bc5d66
add forgotten array header
2020-08-24 20:19:48 -04:00
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