Commit Graph

6296 Commits

Author SHA1 Message Date
jeff
5a8884cc2f
uncomment block 2020-08-24 20:21:55 -04:00
jeff
8472aea93f
initial netlink jizz 2020-08-24 20:21:55 -04:00
jeff
b0bb0b7609
initial route poking 2020-08-24 20:21:55 -04:00
jeff
2e7f9d1b87
remove convo tag when we invalidate it 2020-08-24 20:21:18 -04:00
jeff
3fbc46879d
Revert "don't send protocol discard message on fail"
This reverts commit ee2a42118c88bd7778cd6dc8694564c7d10e60d1.
2020-08-24 20:21:18 -04:00
jeff
78a4d361ab
don't send protocol discard message on fail 2020-08-24 20:21:18 -04:00
jeff
099831719a
update macos command for default route poker. 2020-08-24 20:21:18 -04:00
jeff
528340e056
dont include sys/wait.h on windows 2020-08-24 20:21:18 -04:00
jeff
d973ce9089
upgrade alpine container 2020-08-24 20:21:18 -04:00
jeff
d0374ce083
windows does not have fork/wait 2020-08-24 20:21:18 -04:00
jeff
30a6e901f5
add router.enable-peer-stats config option unconditionally 2020-08-24 20:21:18 -04:00
jeff
6d91ac8e4e
rename r flag to router 2020-08-24 20:21:17 -04:00
jeff
f5e4d8bd1b
execv needs program name as first argument 2020-08-24 20:19:52 -04:00
jeff
75f9643776
attempt to fix snode traffic ip rewrite bug 2020-08-24 20:19:52 -04:00
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