Commit Graph

6720 Commits (9e05e245e0f20adfa20dfc985799f023aed9e0f1)
 

Author SHA1 Message Date
Jeff Becker b9d439558f
dont include lokinet-bootstrap.ps1 in ci builds 3 years ago
Jeff Becker 4540c964f5
rework cmake install targets
* redo setcap on linux so that it's required to do install targets on linux
* add -DWITH_SETCAP=OFF option to bypass setcap requirement on linux
* remove lokinet-bootstrap.ps1 as we bundle the bootstrap in the win32 installer now
* remove references to lokinet-bootstrap.ps1 in cmake
3 years ago
Jeff 32ed709839
Merge pull request #1565 from majestrate/ci-fixup-2021-03-04
explicitly turn off setcap on ci builds so they pass
3 years ago
Jeff Becker 7060a60c84
enable route poker poking before going "up" 3 years ago
Jeff Becker 849c8b6aa8
explicitly turn off setcap on ci builds so they pass 3 years ago
Jeff Becker f77cbfb48e
fixes for ipv4 traffic: dont use new range because that breaks backwards comapt 3 years ago
Jeff Becker f67668f0a6
use lowest latency path for send context 3 years ago
Jeff f2b234d6c3
Merge pull request #1539 from majestrate/path-algorithm-flavors-2021-02-18
add option to enforce unique netblocks per path.
3 years ago
Jeff b4b8b84e57
Merge pull request #1548 from majestrate/lns-mx-records-2021-02-25
add mx records to lns names
3 years ago
Jeff Becker d6567614e3
use mutable lambda instead of shared_ptr for handling mx dns reply for lns 3 years ago
Jeff d0e4069762
Merge pull request #1554 from majestrate/cmake-check-for-setcap-2021-03-01
add explicit check for setcap
3 years ago
Thomas Winget 49037e8be9
Merge pull request #1560 from jagerman/gradle-cache
Allow multiple gradles to run on the same box
3 years ago
Jason Rhinelander 6c176330a4 Allow multiple gradles to run on the same box
/cache is shared among multiple runners that can potentiall run at
once, but gradle's cache is retarded and just completely blocks anything
from using the cache for the span of the entire build.  Work around it
by sticking the unique builder identifier in the cache path.
3 years ago
Jason Rhinelander c2689ee7e6
Merge pull request #1558 from majestrate/disallow-ci-fail-android-2021-03-02
disallow fail on ci pipeline for android builds
3 years ago
Jeff Becker b8d7d0327f
disallow fail on ci pipeline for android builds 3 years ago
Jeff f685d615bf
Merge pull request #1537 from majestrate/android-works-now-2021-02-11
Android
3 years ago
Jeff 7c02b6ea08
Merge pull request #1550 from majestrate/docker-ci-jizz-2021-02-25
speed up ci pipeline
3 years ago
Thomas Winget 4c630e0437 Large collection of changes to make android work
- Previous android java and jni code updated to work, but with much love
  still needed to make it work nicely, e.g. handling when the VPN is
  turned off.

- DNS handling refactored to allow android to intercept and handle DNS
  requests as we can't set the system DNS to use a high port
  (and apparently Chrome ignores system DNS settings anyway)

- add packet router structure to allow separate handling of specific
  intercepted traffic, e.g. UDP traffic to port 53 gets handled by our
  DNS handler rather than being naively forwarded as exit traffic.

- For now, android lokinet is exit-only and hard-coded to use exit.loki
  as its exit.  The exit will be configurable before release, but
  allowing to not use exit-only mode is more of a challenge.

- some old gitignore remnants which were matching to things we don't
  want them to (and are no longer relevant) removed

- some minor changes to CI configuration
3 years ago
Jeff Becker d4112b157c
add explicit check for setcap binary when doing setcap so when it's missing it's not a nop / silent failure 3 years ago
Jeff Becker 2655a64da0
redo ci pipeline:
* make cached docker containers for ci
* remove old docker files from root of repo
* use cached docker containers for ci
3 years ago
Jeff Becker b59a92aa01
add mx records to lns names 3 years ago
Jeff Becker ed97d29c97
fix up pyllarp parts
* expose paths config in pyllarp
* fix up pyllarp unit tests
3 years ago
Jeff Becker 0fa91381ba
add llarp::CSRNG for cryptographically secure random number generator for use in std::shuffle 3 years ago
Jeff Becker a88aec5f01
fix typo 3 years ago
Jeff Becker a3585caa70
add value 0 to disable unique-range-size 3 years ago
Jeff Becker f7424b8bbe
dont use std::optional 3 years ago
Jeff Becker 4478cf6f72
use pointers to entries instead of lookups by key 3 years ago
Jeff Becker b865ffb736
use 64-bit Mersenne Twister instead of 32 bit flavor in nodedb 3 years ago
Jeff Becker e584cbe44d
make non 64 bit platforms happy 3 years ago
Jeff Becker 3425069b41
feedback from jason
* use emplace in PeerSectionConfig::Acceptable use insert everywhere else
* use const l-value references
* fix typos and spelling mistakes
3 years ago
Jeff Becker 5d465264a8
truly random access in nodedb iteration 3 years ago
Jeff Becker 9457da27d9
add option to enforce unique netblocks per path. 3 years ago
Jeff f2f0486f13
Merge pull request #1555 from majestrate/lokimq-oxenmq-rename-2021-03-01
loki-mq -> oxen-mq
3 years ago
Jeff Becker 979a652446
loki-mq -> oxen-mq 3 years ago
Jeff 4565f31990
Merge pull request #1549 from jagerman/no-siit-tests
Fix SockAddr test code
3 years ago
Jason Rhinelander e2f96631a6 Fix SockAddr test code
Exception error messages changed and broke tests

Also adds two test cases for the separate string/port constructor.
3 years ago
Jeff 541912326b
Merge pull request #1545 from jagerman/no-siit
SockAddr fixes and cleanups
3 years ago
Jason Rhinelander 56cbef6086 SockAddr fixes and cleanups
- Remove SIIT from method names & comments because we're doing IPv4
mapped addresses (::ffff:0:0/96) rather than actual SIIT
(::ffff:0:0:0/96).

- add constructor taking a string+numeric port (and then don't allow a
port in the string).

- simplify IP string parsing by using parse_int()

- replace addrIsV4 with call to ipv6_is_mapped_ipv4 (this also fixes a
bug where addrIsV4 was not checking for leading 0s and so could return
true for a public IPv6 that happened to have ffff in the wrong spot).
3 years ago
Jeff 291aa2e56d
Merge pull request #1526 from majestrate/interactive-auth-2021-01-01
feedback auth result via lmq rpc
3 years ago
Jeff Becker dcdd147e74
use static_cast with enum class 3 years ago
Jeff Becker 5fe7e00765
make AuthResultCode an enum class 3 years ago
Jeff Becker 94b8743b1c
fix typo 3 years ago
Jeff Becker 5b2abce86f
add string reason to auth messages 3 years ago
Jeff Becker 2cb889013b
revise lambda captures 3 years ago
Jeff Becker 85867bd7be
make service restart 3 years ago
Jeff Becker 6d5f1b0c6a
feedback auth result via lmq rpc 3 years ago
Jeff c76f2fe8de
Merge pull request #1496 from majestrate/rpc-kill-endpoint-sessions-2020-11-28
add llarp.endpoint rpc command
3 years ago
Jeff 59aa0768c8
Merge pull request #1544 from majestrate/only-set-public-address-when-provided-2021-02-23
only set public address when provided
3 years ago
Jeff Becker 785b4258ed
only set public address when provided 3 years ago
Jeff 4fc1f8e4bf
Merge pull request #1543 from majestrate/try-remove-cpu-bottleneck-2021-02-22
remove packet rate based cpu bottleneck
3 years ago