Commit Graph

7986 Commits (72ed0e552d282b64ffe9a9b350b9238f7d1d8fd7)
 

Author SHA1 Message Date
Jeff Becker 72ed0e552d
use pkgname in source dir 2 years ago
Jeff Becker 78658b6237
fixups 2 years ago
Jeff Becker 59cbf85718
run after modprobe@tun.service target 2 years ago
Jeff Becker 11c1ff5d36
require tun module via requires directive 2 years ago
Jeff Becker 9957f7bf1b
modprobe tun before startup 2 years ago
Jeff Becker 7a7347b10d
Revert "modprobe tun before startup"
This reverts commit db1397354e.
2 years ago
Jeff Becker c86cdda42a
modprobe tun before startup 2 years ago
Jeff Becker eee68e4cd8
fix up username in service file 2 years ago
Jeff Becker de455c850d
change branch to stable, set jason as maintainer 2 years ago
Jeff Becker 8699146d83
set pkgver 2 years ago
Jeff Becker 8b6978495a
make pkgver based off git revision 2 years ago
Jeff Becker 0551045ce7
disable "hardening" 2 years ago
Jeff Becker 68d246326f
use correct root directory for files 2 years ago
Jeff Becker da2c98936d
use makepkg branch 2 years ago
Jeff Becker 67c7f2f91e
do not build embedded lokinet 2 years ago
Jeff Becker b5a020c0e8
fix path for systemd-resolved files in PKGBUILD 2 years ago
Jeff Becker 5353ca7707
fix user/group in lokinet.tmpfiles to be proper name 2 years ago
Jeff Becker 887176f0f2
add initial pkgbuild jizz for archlinux so that we can help make sure it is not broken ALL the time 2 years ago
Jason Rhinelander 67863cd9a4
Merge branch 'dev' into stable 2 years ago
Jason Rhinelander 4f1f336e50
Bump openssl static build version 2 years ago
Jason Rhinelander 2660761ce2
Merge pull request #2047 from oxen-io/dev
lokinet v0.9.10
2 years ago
majestrate 7325878afd
Merge pull request #2048 from majestrate/simplify-ons-ready-logic-2022-11-03
simplify llarp::service::Endpoint::ReadyToDoLookup()
2 years ago
majestrate 29da2a9943
Update llarp/service/endpoint.cpp
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
2 years ago
Jeff Becker e5efe793ca
llarp::service::Endpoint::ReadyToDoLookup()
previously we had a checking style function that passes in an optional
defaulting to nullopt as a micro optimzation, this makes the code
unnessarily obtuse.

simplify this by splitting up into 2 functions,
one for getting the unique endpoints and one for checking if the
number of them is above the minimum.

add overload for ReadyToDoLookup() that checks against constant but
can do more in the future if desired to reduce the burden on future contributors.
2 years ago
Jason Rhinelander 9dfb4a389c
Update gui subproject 2 years ago
majestrate b67a70517d
Merge pull request #2046 from majestrate/fix-lokinet-vpn-2022-11-02
prevent throwing on no error in lokinet-vpn
2 years ago
Jeff Becker 0cf637178d
prevent throwing on no error in lokinet-vpn 2 years ago
Jeff Becker 0bb58b4ac0
dont hardcode keyid 2 years ago
Jeff Becker 88b5a84df3
explicitly select signing key used in source tarball signing script 2 years ago
Jeff Becker 9adf099d20
remove dead file 2 years ago
majestrate 8ec1a57dac
correct documentation
the `make format` target doesn't exist anymore as we moved it to a shell script.
2 years ago
majestrate bcaf9f886c
point to explicit link
linking to docs directory is technically not correct. we should link to the file github shows for preview which is docs/readme.md
2 years ago
majestrate 9ca0d7094e
update note about platform support
android is currently unsupported
2 years ago
majestrate 1c51bb1041
Merge pull request #2045 from majestrate/windows-service-issues
windows platform bug fixes
2 years ago
Jeff Becker d911e26b1d
remove duplicate log statement 2 years ago
Jeff Becker 3a8007cc3f
remove assert()
we_changed_our_state can accept the state we are in right now, so this
assert no longer is correct.
2 years ago
Jason Rhinelander 6a110a4f1b
RPC: fix "halt" command 2 years ago
Jason Rhinelander 3bc3ae9d84
patch unbound to fix windows shutdown crash 2 years ago
Jason Rhinelander 40348b24e1
Fix crash on unbound cleanup
We need to make a copy here because (see comment).
2 years ago
Jason Rhinelander b8678a767e
Fix crashy race condition in shutdown
Query->Cancel() will remove the Query, but that introduces a race
condition where unbound may still try to invoke the callback (with a
no-longer-valid pointer) if we do it before the ub_ctx_delete call.

Move to it afterwards so that we only cancel things that unbound didn't
2 years ago
Jeff Becker 9aa6b64c1e
use std::shared_ptr for pending queries 2 years ago
Jason Rhinelander c7a133ac9c
windivert: avoid trying to send during shutdown
Occasionally during shutdown windivert will crash because a thread tries
sending after we've called wd::shutdown, which isn't allowed.  Add an
atomic bool to prevent this.
2 years ago
Jason Rhinelander cdc4c486c4
Add more stopping signals 2 years ago
Jason Rhinelander 2b5f1ee029
Remove bad assert
We do and should be able to call this multiple times during shutdown to
signal that we are advancing through shutdown.
2 years ago
Jason Rhinelander 3d429b353a
Don't raise log level on shutdown
If already below info (e.g. debug) it should stay there; we only want to
*lower* it to info if above info.
2 years ago
Thomas Winget 9960aed45c
stop-time debug statements 2 years ago
Jeff Becker 57b77fecb3
fix crash on shutdown
we were calling llarp::Context::HandleSignal from a non mainloop
thread when running as a win32 service. this caused issues with a non
clean destruction.

call our signal handler instead of llarp::Context::HandleSignal
2 years ago
Thomas Winget dceef0b21e
remove dead dns resolver code 2 years ago
Jason Rhinelander 95c0c8a707
Improve windows running-as-a-service detection works
Get rid of the --win32-daemon hack (which was removed from the service
itself earlier in this PR, by mistake) and replace it with detection of
the error code for "not running as a service" that windows gives us back
if we try to set up service controller dispatching but aren't a service.
2 years ago
Jason Rhinelander 4ad66ac2a5
Remove unused VERSION_STR constant 2 years ago