Commit Graph

332 Commits (0d8c4d921188afd3a36c52c5966917ea75dcecfb)

Author SHA1 Message Date
Rick V 7136f77c2e
allow running lokinet as root on windows (#1347)
* - allow running lokinet as root on windows
  ($PROGRAMDATA/.lokinet/lokinet.ini)
- oops forgot to eat my own command line args

* cursed windows

* now that we eat our own startup options the entry in cxxopts is fully
ded

* aha our command line options get smashed up

* revert plus DRY fix
4 years ago
Jeff dfd8df5e7f
add uninstall target (#1340)
* add uninstall target

* * redo cmake uninstall
* remove lokinet-vpn python script
* don't install lokinet-vpn twice
4 years ago
jeff bbc749294e fix windows build typo 4 years ago
Jeff Becker 21bc3bd9a0
format 4 years ago
jeff f6f56029d3
working netlink route poker 4 years ago
jeff 099831719a
update macos command for default route poker. 4 years ago
jeff 528340e056
dont include sys/wait.h on windows 4 years ago
jeff d0374ce083
windows does not have fork/wait 4 years ago
jeff 6d91ac8e4e
rename r flag to router 4 years ago
jeff f5e4d8bd1b
execv needs program name as first argument 4 years ago
jeff 0ee1c4a60a
use full path for ip on linux and report exit code 4 years ago
jeff bc8e867dfb
use exec for lokinet-vpn 4 years ago
Rick V f283c565e7
make x.x.x.y+1 the default router on windows 4 years ago
Jeff Becker 400f5d3902
windows uses multiple commands for default route. 4 years ago
Jeff Becker d1abee84d1
windows route hack because lol windows 4 years ago
Jeff Becker b2e5a178a4
verbose logging of executed commands 4 years ago
Jeff Becker d9d63ba14b
add metric to windows 4 years ago
Jeff Becker 876b8db1a1
windows fixes 4 years ago
Jeff Becker dde6bbeeb8
fix for windows as it is cursed 4 years ago
Jeff Becker 88de4c6f91
windows fixes 4 years ago
Jeff Becker 65b9b55335
fixes for windows 4 years ago
Jeff Becker 7e562a5b37
add netmask for macos 4 years ago
Jeff Becker 49eb42d63f
formatting and typo fix 4 years ago
Jeff Becker 9e24a5bfca
add check for no default route on down
fix macos bits for down
install lokinet-vpn with cmake
4 years ago
Jeff Becker c49e11031a
fix variable name 4 years ago
Jeff Becker 778792f8fc
fix compile error on macos and exclude excluded interface 4 years ago
Jeff Becker c2e484d14b
fix apple build 4 years ago
Jeff Becker 847fdb4f6b
add initial macos bits for lokinet-vpn (apple made macos so that man may suffer) 4 years ago
Jeff Becker 34ffd8e869
dont put the "gateway" into the return value use the interface address instead because that is what we are looking for 4 years ago
Jeff Becker 45b6fcd7cb
forgot hunk 4 years ago
Jeff Becker 04392a5115
tweak windows bits so that they compile 4 years ago
Jeff Becker 36a2bc5d66
add forgotten array header 4 years ago
Jeff Becker 22e4aef4f9
initial windows platform specific bits for lokinet-vpn 4 years ago
Jeff Becker 37e16291cb
working on linux with root 4 years ago
Jeff Becker a8239af73a
initial lokinet-vpn tool rewrite 4 years ago
Rick V 98241c6c1a this is what c-f v10 thinks it should look like 4 years ago
Rick V 59b8b1ba6d add service description 4 years ago
Rick V 7de4c509d7 haha lokinet is cursed now 4 years ago
Rick V 7bd3731e98 first draft of daemon control code 4 years ago
Rick V d56706b626 more daemon fluff 4 years ago
Rick V 8c62a726c0 stupid trampoline to return control to lokinet
after SCM starts
4 years ago
Rick V ca9984cc69 win32 daemon install/remove goo 4 years ago
Stephen Shelton 0f074cff8c
Remove ambguity WRT loading and passing of Config 4 years ago
Stephen Shelton ec20d94c6b
Fix Context::Configure() 4 years ago
Stephen Shelton ed47ba998f
Minor fixes around Context 4 years ago
Jeff Becker 0f21eeccb0
* rework exit codepath to allow multiple exits
* rework net code for ip ranges to be cleaner
* clean up endpoint auth code
* refactor config to validate network configs before setting up endpoints
* remove buildone from path/pathbuilder.cpp so we don't spam connection attempts
4 years ago
Jeff Becker 3cdca30a74
more auth shit 4 years ago
Stephen Shelton 0aa43c6b07
Pass RuntimeOptions instead of 'bool isRelay' 4 years ago
Stephen Shelton 984015587d
"Rethrow" to promise using std::current_exception() 4 years ago
Stephen Shelton a448cbab4f
Pass on exceptions to exit_code future in main 4 years ago