Commit Graph

7085 Commits (afe55f0932adf587f62d988fba881cb4ca77319b)
 

Author SHA1 Message Date
Jeff Becker d563e3b340
if a path's latency is zero dont use it because it's not actually a zero latency path it's probably about to be failed or timed out
increase default path alignment timeout
3 years ago
Jeff Becker 397d8b01fc
try fixing std::shared_ptr leak with paths 3 years ago
Jeff d514f30eaa
Merge pull request #1620 from majestrate/default-log-level-warn-2021-05-01
make default log level warn
3 years ago
Jeff 16237466af
Merge pull request #1619 from majestrate/configurable-path-alignment-timeout-2021-05-01
make path alignment timeout configuable
3 years ago
Jeff Becker ed707eecf9
change granularity to seconds 3 years ago
Jeff 34c939dfd6
Merge pull request #1618 from majestrate/win32-installer-tun-component-2021-05-01
win32 installer fixes
3 years ago
Jeff Becker 2968caf7af
make default log level warn fixes #1593 3 years ago
Jeff Becker 54f9e1b44e
make path alignment timeout configuable
adds [network] section parameter called path-alignment-timeout that allows configring the timeout
for optional name lookup + introset lookup + aligned path build, used by tun endpoint dns, provided
as milliseconds.
3 years ago
Jeff Becker 94f24b2fde
win32 installer
* make tuntap driver its own install component so that we can optionally not install it
3 years ago
Jeff f89c3f6b21
Merge pull request #1614 from majestrate/client-tweaks-2021-04-28
Client tweaks for 0.9.1
3 years ago
Jeff Becker f9fe6f7e3b
consmetic fixes
* print names in lookup jobs instead of yyyyyy
* update syntax in construction of objects
3 years ago
Jeff Becker f2e8b5547d
compat for lokinet 0.8.x
* don't send messages back that aren't expected
3 years ago
Jeff Becker e0185bab09
don't rehash decaying hashsets that is no bueno and probably leaks like the pipes in tom's apartment 3 years ago
Jeff Becker c6320724d3
parameterize traffic alignement timeout in dns lookups 3 years ago
Jeff Becker f69ccb73a8
limit path reanimation
* wait for a limited time for dead paths to reanimate and then remove them after that forever
3 years ago
Jeff Becker b31a484bc9
fix up outbound session
* prevent introset lookup spam
* change return values to void becuase bool doesn't mean fucking shit at all
3 years ago
Jeff Becker 6b115913bc
lokinetmon updates
* add country flags to lokinetmon
* expose hop ip addresses via rpc introspection for geoip in lokinetmon
3 years ago
Jeff fdc204d3f4
Merge pull request #1617 from tewinget/document_outbound_message_handler
Fixes subtle memory leak, adds comments
3 years ago
Thomas Winget cecbddc912 Fixes subtle memory leak, adds comments
Fixes a subtle memory leak that was a result of outbound messages which
were in the shared queue (not yet sorted into a per-path queue) when a
path was removed, resulting in a ghost path queue (and thus round-robin
order entry as well).

Adds much needed documentation to the outbound message handler class.
3 years ago
Jeff ef28de8c9f
Merge pull request #1610 from majestrate/android-fixes-2021-04-26
Android fixes
3 years ago
Jeff 8a3e3a0c39
Merge pull request #1615 from jagerman/lokinet-systemd-resolved
Lokinet systemd-resolved support
3 years ago
Jason Rhinelander 7963cd0181 Fix headers & grammar for non-systemd 3 years ago
Jason Rhinelander cdc90a2296
Merge pull request #1612 from jagerman/job-limiting
Limit builds to 6 jobs (4 for arm)
3 years ago
Jason Rhinelander 1d48cd6d35 format 3 years ago
Jason Rhinelander b9363c8d21 Put systemd ifdef around the headers, too 3 years ago
Jason Rhinelander 4ef25ef679 Add systemd-resolved dynamic DNS updating
Wires up systemd support to configure DNS on startup and when
enabling/disabling exit mode.

On startup (and when turning off an exit) we tell systemd-resolved to
direct .loki and .snode lookups to lokinet (leaving other DNS traffic
alone).

On exit enabling, we reconfigure it to resolve "." (i.e. the root DNS
domain) so that all lookups come into it.
3 years ago
Jason Rhinelander 35e4e8817b Add missing getIPv6 implementation 3 years ago
Jason Rhinelander 4b4d261c02 Limit builds to 6 jobs (4 for arm)
The CI runners don't use fixed CPU cores anymore, so that they can
better allocate jobs across idle cores, but this means ninja's default
is running an insane number of parallel compilations that likely just
makes things slower.

Add 6-job limiting to match the core limits that used to be in place.
3 years ago
Jason Rhinelander 38f0c8091b
Merge pull request #1611 from majestrate/oxencore-fetch-list-if-stale-2021-04-26
limit service node list updates
3 years ago
Jeff Becker 8a74b55af3
limit calls to service node list updates for when we are synching the chain we dont spam with list updates 3 years ago
Jeff Becker 8f588c9638
remove test case 3 years ago
Jeff Becker d750f68328
prepare for ipv6 on android
* remove 21/8 from ipv4 bogon ranges as it is being sold by DoD
* start adding ipv6 bogon ranges
3 years ago
Jeff Becker 3e7137ad96
fix regression: llarp::Context::CallSafe was not deferring call on startup 3 years ago
Jeff Becker 6d12a7a712
fixes for android jni 3 years ago
Jeff 380adae39c
Merge pull request #1608 from jagerman/missing-header
Add missing <optional> header
3 years ago
Jason Rhinelander 86dcdde8d3 Add missing <optional> header
Reported by TechnicalTumbleweed as needed to fix a build.
3 years ago
Thomas Winget 277794950c
Lokinet version bump to 0.9.0 3 years ago
Jeff 537fadc9aa
Merge pull request #1605 from jagerman/v090-update-deps
Update submodules and static build deps
3 years ago
Jeff Becker 16ff8b4149
link against core foundation as a fix for static macos build 3 years ago
Jeff Becker c4dad12f2e
libunbound patch no longer needed as fixes have been upstreamed 3 years ago
Jason Rhinelander b54d608b3f Fix curl hash
Hash was for the bz2 instead of xz
3 years ago
Jeff Becker ecd41e7a31
bump libuv version to match the tarball fetched 3 years ago
Jeff ddac3b2de2
add link to demo repo
add a link to a repo full of quick lokinet 'aware' application demos in many languages.
3 years ago
Jason Rhinelander b2b0e904d7 😡 3 years ago
Jason Rhinelander 41e5cf09ed ngtcp2 compat update 3 years ago
Jason Rhinelander ed1a80170a Update submodules and static build deps
Static deps:
- expat 2.3.0
- unbound 1.13.1
- sqlite 3.35.5
- libuv 1.41.0
- curl 7.76.1

Submodules:
- ghc-filesystem 1.5.4
- ngtcp2 (latest master)
- oxenmq 1.2.5
- pybind11 2.6.2
- sqlite_orm 1.6
3 years ago
Jason Rhinelander af4ab3a7bc Remove stable old debian/ dir
Debian packaging has been on separate debian/* and ubuntu/* branches for
a long time.
3 years ago
Jeff 4273fb0208
Merge pull request #1602 from majestrate/rpc-block-notify-fix-2021-04-20
add_command instead of add_request_command
3 years ago
Jason Rhinelander 532343bfbc
Merge pull request #1601 from majestrate/deconstexpr-2021-04-19
deconstexpr ip range bogon check
3 years ago
Jeff Becker 7f93b95080
add_command instead of add_request_command 3 years ago