Jeff Becker
580f005f50
revert
2020-11-17 19:22:19 -04:00
Jeff Becker
3b3374fa4c
try watching trash for lokinet-gui.app and delete ourself if we see it
2020-11-17 19:22:19 -04:00
Jeff Becker
0afe9f0138
update packaging for macos add preinstall script that nukes any existing lokinet make uninstaller revert dns to "empty" make cpack use preinstall script in pkg file
2020-11-17 19:22:19 -04:00
Jeff
f18f18372a
stop lokinet before uninstalling service ( #1469 )
...
* stop lokinet before uninstalling service
* kill gui in uninstaller
* add helper script for building windows installers because i forgot how to most of the time.
2020-11-11 09:55:00 -05:00
Jason Rhinelander
4eb275324d
Fix deb snapshot builds + misc other CI updates ( #1462 )
...
* Remove unneeded libcurl-dev build dep
* Make apt-get operations quieter
* apt repo updates
- store the apt repo gpg pubkey in the repo rather than having to fetch
it every time
- add the apt repo for all the deb builds
- update apt repo URL to deb.loki.network instead of
deb.imaginary.stream
* Use http so that we don't need ca-certificates
The repo packages are already signed so using https really isn't
important.
* Add hack to ignore jsonnet conflicts in deb builds
* Add build machine name to build output
* We don't install any shared libs currently
2020-11-10 05:25:37 -05:00
Jason Rhinelander
eea0929077
Move resolvconf from deb branches to contrib/ ( #1439 )
...
* Move resolvconf from deb branches to contrib/
This script gets invoked by the systemd service after startup to update
resolvconf with the lokinet dns server.
It was previously living in debian/lokinet-resolvconf in the
debian/ubuntu branches, but really belongs in contrib/ instead.
* Disable LTO on sid gcc/clang-11
2020-10-31 05:21:55 -04:00
Jeff
e731eab4b6
bugfixes for lokinetmon ( #1426 )
...
* bugfixes for lokinetmon
* move call to fetch version to before mainloop
2020-10-27 15:03:06 -04:00
Jeff
a01a622fce
make drone ci use debian testing ( #1413 )
2020-10-21 17:31:42 -04:00
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
2020-09-28 11:15:07 -04:00
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
2020-09-23 07:06:11 -04:00
Jason Rhinelander
f5e5066bd5
Update deps ( #1348 )
...
* Update submodules/static deps to latest versions
* Add mingw zmq build patch
* Drop support for Windows 2000
2020-09-16 15:47:35 -04:00
cathugger
838d28c6ed
contrib: NetworkManager dnsmasq config ( #1335 )
2020-09-04 14:58:11 -04:00
cathugger
412821ed77
contrib: systemd-resolved config ( #1334 )
2020-09-04 14:02:16 -04:00
Jeff Becker
9494315bc6
add lokinet-vpn to ci upload artifacts
2020-08-24 20:19:51 -04:00
Rick V
5c34665fce
move win32 lokimq patch
2020-08-10 13:51:48 -05:00
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
2020-07-02 11:13:30 -04:00
Jeff Becker
0d6e3bcd89
fix crashing tests
2020-07-02 11:13:30 -04:00
Jeff Becker
1ac7da294f
use bt full
2020-07-02 11:10:06 -04:00
Jeff Becker
52bc2facc2
add gdb to ci runners on debian to catch backtraces if they happen
2020-07-02 11:10:06 -04:00
Jeff Becker
5c039233db
remove the dreaded makefile and update docs
2020-07-02 11:10:06 -04:00
Jeff Becker
c5dbb670ca
set sane defaults for config, implement lmq rpc server, update lokinetmon
2020-07-02 11:07:33 -04:00
Jeff Becker
b1259e25c5
set sane defaults for config, implement lmq rpc server, update lokinetmon
2020-07-02 11:07:31 -04:00
Jason Rhinelander
e2ad0e8f09
DRY out ci upload script
2020-06-22 11:30:38 -03:00
Jeff Becker
d096f5375f
pass in WINDOWS_BUILD_NAME to uploader to mark 64bit and 32bit builds distinctly
2020-06-18 07:30:07 -04:00
Jeff Becker
c323025722
set windows ci build output to include arch
2020-06-18 07:05:48 -04:00
Jeff Becker
809198636b
chmod +x the script
2020-06-17 11:47:31 -04:00
Jeff Becker
1b10e69b10
update ci to use zip for windows
2020-06-17 11:45:36 -04:00
Jeff Becker
fdfdd2a1d2
turn off lto, add patches
2020-06-17 10:37:41 -04:00
Jeff Becker
ba1265d94f
set ARCH_TRIPLET to CROSS_TARGET to please the cmake cross compile god
2020-06-17 09:48:57 -04:00
Jeff Becker
48c7d6fbe5
consolidate windows ci drone jizz
2020-06-17 09:42:11 -04:00
Jeff Becker
2e806cc145
set CMAKE_CROSSCOMPILE to on so we are cross compiling in ci
2020-06-17 09:10:50 -04:00
Rick V
e43869d9a2
FUWAS
2020-06-12 16:03:45 -05:00
Linux User
e6bcbf47b4
patch libsodium for windows the cmake way
2020-06-12 15:19:11 -05:00
Jeff Becker
6984cda3a6
add pybind and router hive to ci
2020-06-08 15:50:12 -04:00
Jeff
45cda241f0
Merge pull request #1272 from majestrate/exit-nodes-2020-05-16
...
exit traffic via snapps
2020-06-01 14:42:43 -04:00
Jeff Becker
242ab3caba
rename lokinet-exit too to lokinet-vpn
...
install lokinet-vpn tool for use with debian packaging
2020-05-29 12:31:57 -04:00
Rick V
5529371637
RouterContact::[Read|Write] now take a fs::path const ref
2020-05-26 22:39:01 -05:00
Jeff Becker
b572e7a7cd
add lokinet-exit.py script
2020-05-25 09:50:55 -04:00
Jeff Becker
6af498092b
exit traffic via loki addresses
2020-05-23 16:07:19 -04:00
Jason Rhinelander
8851766c5d
macos static build & upload
2020-05-23 14:21:05 -03:00
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.
2020-05-23 11:33:50 -03:00
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.
2020-05-23 00:36:30 -03:00
Jason Rhinelander
5b7d194ff1
Merge remote-tracking branch 'origin/master' into dev
2020-05-22 00:45:24 -03:00
Jeff Becker
64157d5d44
track libcurl and libuv with cmake, add libuv submodule
2020-05-17 14:53:28 -03:00
Jeff Becker
57a737290c
relicense to GPL3
2020-05-15 11:26:04 -04:00
Jason Rhinelander
1a552d580e
More macos uninstall hackery
2020-04-22 00:04:13 -03:00
Jason Rhinelander
86a67db87a
After touching, macos needs some sleep
2020-04-21 23:39:25 -03:00
Jason Rhinelander
2be546557f
Touch the magic file
2020-04-21 23:14:41 -03:00
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.
2020-04-21 22:55:11 -03:00
Stephen Shelton
47806b4408
Handle no-explicitly-set-dns case in launchd script
2020-04-21 14:51:17 -06:00
Stephen Shelton
b4b2e91bb5
Handle no-explicitly-set-dns case in launchd script
2020-04-21 14:47:36 -06:00
Jason Rhinelander
dacea9a2bc
Add stapling after notarization
2020-04-21 16:25:30 -03:00
Stephen Shelton
b56ff52ad9
Include macos uninstall script
2020-04-21 16:25:30 -03:00
Jason Rhinelander
2036bcaf8f
NOTARIZE only has one O
2020-04-21 16:25:30 -03:00
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.
2020-04-21 16:25:30 -03:00
Jason Rhinelander
d65a0c97ed
Add simple installer readme
2020-04-21 16:25:30 -03:00
Jason Rhinelander
1221a24c25
Change mac install prefix to /opt/lokinet
...
/usr/local is probably going to get stomped on by homebrew.
2020-04-21 16:25:30 -03:00
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).
2020-04-21 16:20:15 -03:00
Stephen Shelton
0388a10f81
Bundle gui in mac installer
2020-04-21 16:19:38 -03:00
Stephen Shelton
e80f20ecb8
MacOS installer / runtime nonsense
2020-04-21 16:19:38 -03:00
Jeff Becker
8cfc02ca56
add plist
2020-04-21 16:19:38 -03:00
Jeff Becker
b630a3135a
macos post install script that bootstraps, generates configs and registers plist
2020-04-21 16:19:38 -03:00
Jeff Becker
dbaed61100
make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now.
2020-04-21 16:11:39 -03:00
Jason Rhinelander
4a0ee5c66f
Add stapling after notarization
2020-04-21 15:53:46 -03:00
Jeff
edc0d1a3ed
Merge pull request #1225 from majestrate/macos-cpack-setup-and-bootstrap-2020-04-10
...
macos cpack installer infra
2020-04-21 14:50:16 -04:00
Stephen Shelton
0b1c57f650
Include macos uninstall script
2020-04-21 00:28:27 -03:00
Jason Rhinelander
6da26bfa43
NOTARIZE only has one O
2020-04-20 21:51:24 -03:00
Rick V
96fc3cdd55
fix pybind
2020-04-20 19:09:21 -05:00
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.
2020-04-19 23:18:48 -03:00
Jason Rhinelander
0032f1fdde
Add simple installer readme
2020-04-19 23:18:48 -03:00
Jason Rhinelander
daf0174e53
Change mac install prefix to /opt/lokinet
...
/usr/local is probably going to get stomped on by homebrew.
2020-04-19 23:18:48 -03:00
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).
2020-04-19 23:16:23 -03:00
Stephen Shelton
c20d5b186d
Bundle gui in mac installer
2020-04-19 23:16:23 -03:00
Stephen Shelton
dd3121d8ac
MacOS installer / runtime nonsense
2020-04-19 23:16:23 -03:00
Jeff Becker
b0936830d1
add plist
2020-04-19 23:16:23 -03:00
Jeff Becker
31f74b5ffb
macos post install script that bootstraps, generates configs and registers plist
2020-04-19 23:16:23 -03:00
Jason Rhinelander
612c65f2ab
hex-to-base32z.py: add -r flag to do reverse conversion
2020-04-14 12:44:09 -03:00
Jason Rhinelander
5e0a8cf738
Add ed25519 key to snode address script to contrib
2020-04-13 17:23:16 -03:00
Jeff Becker
3b26b8b24d
make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now.
2020-04-02 11:08:08 -04:00
Jeff
375b09486e
Merge pull request #1196 from majestrate/lokinetmon-update-2020-03-24
...
update lokinetmon to work again with dns rebinding protection
2020-03-24 11:43:07 -04:00
Jeff Becker
510053cbce
update lokinetmon to work again with dns rebinding protection
2020-03-24 11:12:41 -04:00
Jeff Becker
e8c5a62ee8
remove unused cruft
2020-03-24 10:44:04 -04:00
Rick V
4cd7a22ca3
fix libsodium cross compile
2020-03-03 15:33:04 -06:00
Jeff
6f182c4b26
Merge pull request #1077 from majestrate/mock-lokid-rpc-2020-02-02
...
mock lokid for loopback testnet
2020-02-19 12:01:00 -05:00
Jeff Becker
7374f8f0fd
update lokinetmon
2020-02-11 10:36:18 -05:00
Jeff Becker
fa15ab567d
update lokinetmon
2020-02-08 11:21:00 -05:00
Jeff Becker
c60a83f7f4
update lokinet monitor to work with iwp
2020-02-07 12:27:17 -05:00
Jeff Becker
ea3323a3ab
correct key
2020-02-02 12:44:56 -05:00
jeff
88e8b7f98c
mock lokid for loopback testnet
2020-02-02 11:32:15 -05:00
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
2020-01-14 15:12:47 -05:00
Jeff Becker
0afb3b320b
add bootstrap list functionality and utility
2019-12-06 12:32:46 -05:00
jeff
52757fef0e
Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03
2019-10-04 14:10:58 -04:00
Rick V
9232cef300
remove old bootstrap code
2019-09-23 21:22:29 -05:00
Rick V
9ba4ecc42d
refactor lokinet-bootstrap
...
clean up and make more robust
2019-09-23 21:22:25 -05:00
Rick V
70dea71db6
new http parser
2019-09-23 21:22:25 -05:00
Rick V
8fd13577ba
Remove binaries, download them at runtime
2019-09-23 21:22:09 -05:00
Rick V
1a7212a745
add description to lokinet svc manifest
2019-09-03 08:02:33 -05:00
Michael
7d39f84ef3
Partial fixes for shadow
2019-08-26 23:10:48 +00:00
Michael
6e5cab971f
make windows fixes
2019-08-13 10:02:48 +01:00
Jeff Becker
94172e191e
redo commit
2019-08-12 07:36:23 -04:00