Jason Rhinelander
f5376e98c2
Lower minimum version for swift binary
...
CMake apparently doesn't do anything with CMAKE_OSX_DEPLOYMENT_TARGET
for swift, which results in a 12+ minimum version. This fixes it
(albeit in a hacky way since the only apple-sanctioned way to properly
set this appears to be "use xcode").
Shame on Apple, as usual.
2022-08-29 15:53:16 -03:00
Jason Rhinelander
039d1429f5
Build an installer dmg
2022-08-29 12:53:08 -03:00
Jason Rhinelander
182f1dccb9
Fix mac.sh defaults to make a signed, notarized build
2022-08-26 16:05:46 -03:00
Jason Rhinelander
8b157c304e
Remove obsolete mac packaging cruft
2022-08-26 16:05:46 -03:00
Jason Rhinelander
d6fe1f1610
Update gui submodule to dev branch
2022-08-26 16:05:46 -03:00
Jeff
4c897f583c
fix up log statements
...
* make socket bind errors have a distinct message reported when caught using their own exception type
* omit printing banner in setup when we run from the lokinet executable (but not the liblokinet.so entry point)
2022-08-22 16:50:46 -04:00
Jeff
a9abeb33cc
bump version to 0.9.10
...
* update release motto for 0.9.10
2022-08-22 16:50:34 -04:00
jeff
6929a02842
set up links to new docs pages
2022-08-21 12:25:15 -04:00
majestrate
256470229d
add more info
...
clarifiy what .loki and .snode gtld are
2022-08-21 12:18:10 -04:00
Jeff
f6613c9526
wire up new docs pages
...
reword a few things about the links rewired.
2022-08-21 12:18:10 -04:00
Jeff
f3533e9912
add initial high level usage docs
2022-08-21 12:18:09 -04:00
Jeff
badf72838e
move all code directory readmes into docs/project-structure.md
2022-08-21 12:18:09 -04:00
majestrate
13c71c3626
Merge pull request #1942 from jagerman/macos-sysex
...
macOS system extension
2022-08-16 11:32:51 -04:00
Jason Rhinelander
ab16d428cb
Don't use sign target for contrib/mac.sh
2022-08-12 21:18:46 -03:00
Jason Rhinelander
2b7b1fcc79
Working signed macOS GUI build
2022-08-12 21:13:39 -03:00
Jason Rhinelander
496c1d274c
Stub out the peer stats sqlite_orm code
...
This avoids needing to build it and include it in static builds since we
aren't currently making use of it.
2022-08-12 21:13:39 -03:00
Jason Rhinelander
8c2f4175d6
contrib/windows.sh: do a release build by default
2022-08-12 21:13:39 -03:00
jeff
181de210cd
Build apple/macos GUI from lokinet project
...
This adds the gui as a submodule, and consolidates the GUI handling a
bit between the two platforms.
2022-08-12 21:13:39 -03:00
Jason Rhinelander
7b2b114240
Remove disabled submodule check
...
It's easy enough to add -DSUBMODULE_CHECK=OFF yourself if you really
won't want it, and much more useful to have it enabled as a default.
2022-08-12 21:13:39 -03:00
Jason Rhinelander
c504c030cf
Update mingw zmq patch
...
The one we were applying for closesocket breaks on some versions.
2022-08-12 21:13:38 -03:00
jeff
b8896740de
build gui and assemble app bundles into one singular app bundle
2022-08-12 21:13:38 -03:00
jeff
279b5710cc
maker packet tunnel provider compile
2022-08-12 21:13:38 -03:00
Jason Rhinelander
5530ec3057
Handle Apple's trash servers when polling for notarization
...
Apple's servers have a gateway timeout a small but noticeable percentage
of the time, which was breaking the script. Detect such Apple flakiness
and keep trying.
2022-08-12 21:13:38 -03:00
Jason Rhinelander
09372994bb
macOS system extension support
...
Adds support for building Lokinet as a system extension, and fixes
various problems in the macos implementation found during development of
the system extension support.
2022-08-12 21:13:38 -03:00
Jeff
61d7ff3787
on apple write packets back to interface when it is for us because that does not have a route spec for the interace ip on loopback as apple finds having sensible defaults bothersome internally
2022-08-12 20:23:00 -03:00
Jason Rhinelander
e97752734d
Fix platform::is_apple
value
2022-08-12 20:23:00 -03:00
Jason Rhinelander
4c39a2d395
Make sure BUILD_SHARED_LIBS is a cache variable
...
Otherwise cmake warns about propagation of normal variables into cache
variables when it hits the option in the oxen-mq submodule.
2022-08-12 20:23:00 -03:00
Jason Rhinelander
93421c6eaf
Change permissions for system extension
2022-08-12 20:23:00 -03:00
Jason Rhinelander
49b2878209
Require explicit disabling of codesigning
...
Make the mac build require passing either an explicit -DCODESIGN=OFF or
the code signing identities.
2022-08-12 20:23:00 -03:00
Jeff
5dd71995c4
add lokinet.swift cli args
...
* add --start flag to start lokinet
* add --stop flag to stop
* by default lokinet on macos needs a flag or it will be a nop
2022-08-12 20:23:00 -03:00
majestrate
c81e950d13
Merge pull request #1973 from majestrate/nodedb-logic-fix-2022-08-07
...
do not clear out entries that are valid from nodedb when we are a service node
2022-08-07 17:28:18 -04:00
Jeff
4341b8c684
do not clear out entries that are valid from nodedb when we are a service node.
...
this logic was inverted.
2022-08-07 13:44:48 -04:00
majestrate
9917daa84d
Merge pull request #1972 from majestrate/happyify-ci-pipelin-2022-08-06
...
fix ci pipeline
2022-08-07 13:41:59 -04:00
Jeff
8d1d1d0b57
make unit tests happy
2022-08-06 16:04:25 -04:00
Jeff
2d1645bfe1
fix up sid ci pipeline
2022-08-06 16:04:25 -04:00
Jeff
58052f5b17
macos ci fixes
2022-08-06 16:04:25 -04:00
majestrate
7a8331e79d
Merge pull request #1961 from majestrate/rc-expiration-reeanble-07-18-2022
...
re enable rc expiration
2022-07-26 12:07:40 -04:00
majestrate
db961ac728
Merge pull request #1943 from majestrate/keygen-script-2022-06-26
...
simple keygen script
2022-07-26 12:07:06 -04:00
Jeff
d0408a1c4e
remove invalid entries on loading nodedb
2022-07-26 11:05:31 -04:00
Jason Rhinelander
f230a3f695
Add debug logging for RC removal
2022-07-26 11:26:35 -03:00
Jason Rhinelander
a190c14889
Fix comment
2022-07-26 11:26:07 -03:00
Jeff
cc2b4df676
kill log statements
2022-07-26 09:45:58 -04:00
Jeff
3337125110
re enable rc expiration
2022-07-26 09:43:45 -04:00
majestrate
4091fdb8bb
Merge pull request #1958 from majestrate/readmes-and-such-2022-07-16
...
add documentation on project structure
2022-07-26 09:30:13 -04:00
Jeff
23fd46c0db
add directory specific readmes
2022-07-26 09:26:28 -04:00
majestrate
769bc1e8df
Merge pull request #1962 from jagerman/dns-parsing-fixes
...
DNS message parsing fixes and cleanup
2022-07-24 11:16:39 -04:00
Jason Rhinelander
874221db70
Merge pull request #1965 from jagerman/fix-double-logging
...
Remove the initial sink before reconfiguring logging
2022-07-22 12:20:18 -03:00
Jason Rhinelander
884c5052a0
Merge pull request #1964 from jagerman/inbound-default-ip
...
Fix inbound IP handling; update [bind] docs
2022-07-22 12:20:00 -03:00
Jason Rhinelander
841abffaf5
Make outbound wildcard default to inbound IP
...
outbound=:1234
outbound=0.0.0.0:1234
outbound=
outbound=0.0.0.0
now all default to use the inbound= IP. (If multiple inbound= IPs are
given, we raise an exception to abort startup).
Only applies to routers (since clients don't have inbound IPs), and
eliminates potential weird edge cases with local system IP and routing
shenanigans.
2022-07-21 17:53:25 -03:00
Jason Rhinelander
f0590a9672
Remove the initial sink before reconfiguring logging
...
Without this, the original sink set up very early in daemon/lokinet.cpp
(which goes to stderr) is still around, and so we get double logging.
2022-07-21 15:02:23 -03:00