Commit Graph

293 Commits (9f2f9e0f050ae941358fa9bad780ad77139a66e2)

Author SHA1 Message Date
Jeff a01a622fce
make drone ci use debian testing (#1413) 4 years ago
Jeff 53598ec0e9
dont serialize ephemeral members of service identity (#1370)
* prepare for keytool script

* dont serialize ephemeral members in service key file
* regnerate ephemeral members in service identity on load

* add keygen script

* use nacl for generating keys

* format
4 years ago
Jeff a9d23d3ac3
use absolute path for route command (#1354)
* ignore tun interfaces on windows for mitigating foot cannons

* add flag for git add -p when using format verifier as git hook

* use explicit path for route command on windows

* fix typo

* fix typo

* remove hunk for win32 route exclusion based off being a tun interface

* add metric to win32 route command

* * refactor win32 route poking to use a common function for iterating over routes

* put interface in route poking for default route

* mnake it compile

* use correct route command on windows

* use fs::path for service::Identity::EnsureKeys
4 years ago
Jason Rhinelander f5e5066bd5
Update deps (#1348)
* Update submodules/static deps to latest versions

* Add mingw zmq build patch

* Drop support for Windows 2000
4 years ago
cathugger 838d28c6ed
contrib: NetworkManager dnsmasq config (#1335) 4 years ago
cathugger 412821ed77
contrib: systemd-resolved config (#1334) 4 years ago
Jeff Becker 9494315bc6
add lokinet-vpn to ci upload artifacts 4 years ago
Rick V 5c34665fce
move win32 lokimq patch 4 years ago
Jeff Becker eb0f29223a
add docs to gdb-filter.py
turn off thread logging in gdb
make sure everything runs in gdb when running test
add note in contrib/format.sh about a GNU-ism
4 years ago
Jeff Becker 0d6e3bcd89
fix crashing tests 4 years ago
Jeff Becker 1ac7da294f
use bt full 4 years ago
Jeff Becker 52bc2facc2
add gdb to ci runners on debian to catch backtraces if they happen 4 years ago
Jeff Becker 5c039233db
remove the dreaded makefile and update docs 4 years ago
Jeff Becker c5dbb670ca
set sane defaults for config, implement lmq rpc server, update lokinetmon 4 years ago
Jeff Becker b1259e25c5
set sane defaults for config, implement lmq rpc server, update lokinetmon 4 years ago
Jason Rhinelander e2ad0e8f09 DRY out ci upload script 4 years ago
Jeff Becker d096f5375f
pass in WINDOWS_BUILD_NAME to uploader to mark 64bit and 32bit builds distinctly 4 years ago
Jeff Becker c323025722
set windows ci build output to include arch 4 years ago
Jeff Becker 809198636b
chmod +x the script 4 years ago
Jeff Becker 1b10e69b10
update ci to use zip for windows 4 years ago
Jeff Becker fdfdd2a1d2
turn off lto, add patches 4 years ago
Jeff Becker ba1265d94f
set ARCH_TRIPLET to CROSS_TARGET to please the cmake cross compile god 4 years ago
Jeff Becker 48c7d6fbe5
consolidate windows ci drone jizz 4 years ago
Jeff Becker 2e806cc145
set CMAKE_CROSSCOMPILE to on so we are cross compiling in ci 4 years ago
Rick V e43869d9a2
FUWAS 4 years ago
Linux User e6bcbf47b4
patch libsodium for windows the cmake way 4 years ago
Jeff Becker 6984cda3a6
add pybind and router hive to ci 4 years ago
Jeff 45cda241f0
Merge pull request #1272 from majestrate/exit-nodes-2020-05-16
exit traffic via snapps
4 years ago
Jeff Becker 242ab3caba
rename lokinet-exit too to lokinet-vpn
install lokinet-vpn tool for use with debian packaging
4 years ago
Rick V 5529371637 RouterContact::[Read|Write] now take a fs::path const ref 4 years ago
Jeff Becker b572e7a7cd
add lokinet-exit.py script 4 years ago
Jeff Becker 6af498092b
exit traffic via loki addresses 4 years ago
Jason Rhinelander 8851766c5d macos static build & upload 4 years ago
Jason Rhinelander cf447dc3a4 Build (and upload) debs by merging into the deb branches
Similar to the static files, the debs also end up under
builds.lokinet.dev/deb.
4 years ago
Jason Rhinelander f54beadaa9 Add tar+upload to builds.lokinet.dev of static build
Relies on an SSH_KEY secret being set in the repository.

Also move the linked library check to a bash script because escaping a
value in jsonnet (escape once) that gets passed through yaml (escape
twice) and then bash (escape again) is too painful.
4 years ago
Jason Rhinelander 5b7d194ff1 Merge remote-tracking branch 'origin/master' into dev 4 years ago
Jeff Becker 64157d5d44 track libcurl and libuv with cmake, add libuv submodule 4 years ago
Jeff Becker 57a737290c
relicense to GPL3 4 years ago
Jason Rhinelander 1a552d580e More macos uninstall hackery 4 years ago
Jason Rhinelander 86a67db87a After touching, macos needs some sleep 4 years ago
Jason Rhinelander 2be546557f Touch the magic file 4 years ago
Jason Rhinelander d48a54363d Restore DNS via signal handler
If we get signalled we still want to run it, but a signal on the script
could result in us exiting early.
4 years ago
Stephen Shelton 47806b4408
Handle no-explicitly-set-dns case in launchd script 4 years ago
Stephen Shelton b4b2e91bb5
Handle no-explicitly-set-dns case in launchd script 4 years ago
Jason Rhinelander dacea9a2bc Add stapling after notarization 4 years ago
Stephen Shelton b56ff52ad9 Include macos uninstall script 4 years ago
Jason Rhinelander 2036bcaf8f NOTARIZE only has one O 4 years ago
Jason Rhinelander 35197a7620 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
4 years ago
Jason Rhinelander d65a0c97ed Add simple installer readme 4 years ago
Jason Rhinelander 1221a24c25 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
4 years ago
Jason Rhinelander c9a8c67276 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
4 years ago
Stephen Shelton 0388a10f81 Bundle gui in mac installer 4 years ago
Stephen Shelton e80f20ecb8 MacOS installer / runtime nonsense 4 years ago
Jeff Becker 8cfc02ca56 add plist 4 years ago
Jeff Becker b630a3135a macos post install script that bootstraps, generates configs and registers plist 4 years ago
Jeff Becker dbaed61100 make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 4 years ago
Jason Rhinelander 4a0ee5c66f Add stapling after notarization 4 years ago
Jeff edc0d1a3ed
Merge pull request #1225 from majestrate/macos-cpack-setup-and-bootstrap-2020-04-10
macos cpack installer infra
4 years ago
Stephen Shelton 0b1c57f650 Include macos uninstall script 4 years ago
Jason Rhinelander 6da26bfa43 NOTARIZE only has one O 4 years ago
Rick V 96fc3cdd55
fix pybind 4 years ago
Jason Rhinelander 8d74407d11 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
4 years ago
Jason Rhinelander 0032f1fdde Add simple installer readme 4 years ago
Jason Rhinelander daf0174e53 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
4 years ago
Jason Rhinelander 93311fbc99 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
4 years ago
Stephen Shelton c20d5b186d Bundle gui in mac installer 4 years ago
Stephen Shelton dd3121d8ac MacOS installer / runtime nonsense 4 years ago
Jeff Becker b0936830d1 add plist 4 years ago
Jeff Becker 31f74b5ffb macos post install script that bootstraps, generates configs and registers plist 4 years ago
Jason Rhinelander 612c65f2ab hex-to-base32z.py: add -r flag to do reverse conversion 4 years ago
Jason Rhinelander 5e0a8cf738 Add ed25519 key to snode address script to contrib 4 years ago
Jeff Becker 3b26b8b24d
make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 4 years ago
Jeff 375b09486e
Merge pull request #1196 from majestrate/lokinetmon-update-2020-03-24
update lokinetmon to work again with dns rebinding protection
4 years ago
Jeff Becker 510053cbce
update lokinetmon to work again with dns rebinding protection 4 years ago
Jeff Becker e8c5a62ee8
remove unused cruft 4 years ago
Rick V 4cd7a22ca3
fix libsodium cross compile 4 years ago
Jeff 6f182c4b26
Merge pull request #1077 from majestrate/mock-lokid-rpc-2020-02-02
mock lokid for loopback testnet
4 years ago
Jeff Becker 7374f8f0fd
update lokinetmon 4 years ago
Jeff Becker fa15ab567d
update lokinetmon 4 years ago
Jeff Becker c60a83f7f4
update lokinet monitor to work with iwp 4 years ago
Jeff Becker ea3323a3ab
correct key 4 years ago
jeff 88e8b7f98c mock lokid for loopback testnet 4 years ago
Jeff Becker 6fd714d193
contrib/testnet: fix up testnet config generator to make super centralized topology
llarp/context.cpp, llarp/nodedb.{h,c}pp: load netdb AFTER whitelist
llarp/router/router.cpp: explore always
llarp/router/{i,}rc_lookup_handler.{h,c}pp explore with whitelist, update routers with lookup before stale
5 years ago
Jeff Becker 0afb3b320b
add bootstrap list functionality and utility 5 years ago
jeff 52757fef0e Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03 5 years ago
Rick V 9232cef300
remove old bootstrap code 5 years ago
Rick V 9ba4ecc42d
refactor lokinet-bootstrap
clean up and make more robust
5 years ago
Rick V 70dea71db6
new http parser 5 years ago
Rick V 8fd13577ba
Remove binaries, download them at runtime 5 years ago
Rick V 1a7212a745
add description to lokinet svc manifest 5 years ago
Michael 7d39f84ef3
Partial fixes for shadow 5 years ago
Michael 6e5cab971f
make windows fixes 5 years ago
Jeff Becker 94172e191e
redo commit 5 years ago
Jeff Becker 0a99a849a4
lokinet monitor 5 years ago
Michael 614b669fd5
Abandon debian 5 years ago
Michael df498c7bf8
try to make some windows 5 years ago
Jeff Becker 6496663d25
fix testnet scripts 5 years ago
Jeff Becker f79f5b9bb3
add ppc64le toolchain 5 years ago
Jeff Becker 7ef2462c0c
add forgotten file 5 years ago
Ryan Tharp fd20b33064
Update README.md 5 years ago