Commit Graph

8246 Commits

Author SHA1 Message Date
dr7ana
0260da6bd9 cleaning up after tom 2023-08-28 10:39:40 -07:00
dr7ana
620f916e65 Bump oxen-libquic to latest PR's 2023-08-28 10:17:44 -07:00
dan
4992b9b02c Added path-build to documentation
- re-structure docs
- add diagrams
2023-08-28 09:25:40 -07:00
Jason Rhinelander
c997ca2b60
Don't rely on cmake search path for StaticBuild
Resolves a conflict with libquic's StaticBuild.
2023-08-28 13:15:36 -03:00
dr7ana
1346ce5326 oxen-libquic bump for cmake fix 2023-08-28 09:03:49 -07:00
Thomas Winget
ab86318404 Partial implementation of libquic as wire protocol
TODO:

- set up all the callbacks for libquic

- define control message requests, responses, commands

- plug new control messages into lokinet (path creation, network state, etc)

- plug connection state changes (established, failed, closed, etc.) into lokinet

- lots of cleanup and miscellanea
2023-08-28 11:06:10 -04:00
dr7ana
ad5055b85f cmake tweaks for redundant dependencies (WIP) 2023-08-28 11:06:06 -04:00
Thomas Winget
22ac3cd26e initial quic wire proto Endpoint skeleton 2023-08-28 10:59:13 -04:00
Thomas Winget
9b42a21ca2 initial quic wire proto Connection skeleton 2023-08-28 10:59:13 -04:00
Thomas Winget
3c46b07bfe Add oxen-libquic submodule
TODO: correctly plug it into CMake and remove ngtcp2 submodule from lokinet
as it will now come from oxen-libquic, if even used directly by lokinet at all.
2023-08-28 10:59:13 -04:00
Jason Rhinelander
178ac1757b
Merge pull request #2199 from dr7ana/oxen-logging-bump
Oxen-logging version bump
2023-08-11 19:05:23 -03:00
dr7ana
9acac2c33e CI fixes
- oxen-logging updated to bump fmt version
- version bump oxen-logging to fix fmt version
- version bump oxen-mq to solve uniform distribution error
- misc errors introduced by above version bumps
- clang-format 14 -> 15
2023-08-11 14:01:07 -07:00
Jason Rhinelander
e11f5018c2
Fix negative integer parsing 2023-06-02 00:11:28 -03:00
Jason Rhinelander
a17753fddb
Merge pull request #2180 from majestrate/fix-2179-ipv6-upstream-dns-2023-05-20
libunbound ipv6 upstream dns syntax error
2023-05-31 18:04:15 -03:00
Jason Rhinelander
ab606c48d4
Rename add_braces -> ipv6_brackets
"Braces" seemed misleading as usually that terms refers to `{}` rather
than `[]`, and also this only affects ipv6 addresses.
2023-05-30 17:42:56 -03:00
Jason Rhinelander
7f9b425332
Merge pull request #2182 from dr7ana/incomplete-issues
Added workflow to remove stale, incomplete issues
2023-05-30 17:33:05 -03:00
dan
0a98fb943d added workflow to remove stale issues 2023-05-25 07:16:22 -07:00
Jeff Becker
fc050b3a09
fix issue #2179
when setting libunbound's upstream dns, we need to not pass in the square braces of an ipv6 address.
we also net udp handles have ipv6 address for the local ip.
2023-05-20 18:21:20 -04:00
Jason Rhinelander
559fa8aec4
Merge pull request #2173 from longyap/dev
add #include <cstdint>
2023-05-11 10:12:01 -03:00
GNU/LongYap
89c5c73be4
add #include <cstdint>
add #include <cstdint> to fix build error
2023-05-11 20:47:00 +08:00
Jason Rhinelander
a294c81f0d
Python <3.11 compat fix 2023-05-03 21:12:19 -03:00
Jason Rhinelander
b48e8b23ea
Merge pull request #2106 from majestrate/fix-config-comment-typo-2023-01-05
fix typo in config comments
2023-03-01 12:31:18 -04:00
majestrate
24bfbd5bc6
Merge pull request #2142 from jagerman/bencode-hex
Add automatic hex decoding to bencode-dump.py
2023-02-28 12:50:10 -05:00
Jason Rhinelander
e255b87992
Add automatic hex decoding to bencode-dump.py
This allows bencode-dump.py autodetect hex input and decode it on the
fly, which is quite convenient when working with binary-containing
bencoded data strings.
2023-02-28 12:34:17 -04:00
majestrate
7d2ad5621b
Merge pull request #2139 from majestrate/fix-issue-2138-with-loop-call-2023-02-15
fix issue #2138
2023-02-16 12:22:51 -05:00
Jeff Becker
d7d3a4e774
fix issue #2138
in rpc client, contention on a null lock happened.
fix this by making the sending of pings always done in the logic
thread. this is done by wrapping the lambda we made with EventLoop::make_caller()
2023-02-15 17:31:14 -05:00
Jason Rhinelander
366d0c1be9
Merge pull request #2128 from majestrate/oxend-defer-ping-2023-01-29
ping oxend after getting identity keys
2023-02-06 12:44:43 -04:00
majestrate
3de23c3eba
Merge pull request #2130 from XutaxKamay/dev
fix openwrt mips32 static build
2023-02-05 15:56:26 -05:00
Kamay Xutax
742b66c300 fix openwrt mips32 static build
libunbound needs to link against libatomic because of openssl
crypto (says EVP_sha256 missing otherwise in libunbound during build)
2023-02-05 18:31:33 +01:00
Jason Rhinelander
7fb36782dc
Merge pull request #2121 from drouhana/rpc-refactor
RPC refactor
2023-02-01 19:55:18 -04:00
dan
9bfe881a35 OMQ_Request handling logic change 2023-02-01 15:52:37 -08:00
dan
b2e8cde64b working new endpoints
- added hotswap functionality
- map_exit and unmap_exit working
2023-02-01 15:52:37 -08:00
dan
0632e88de0 Make new header for json type conversions 2023-02-01 15:52:37 -08:00
Jeff Becker
02b392881b add llarp::service::Endpoint::map_exit 2023-02-01 15:52:30 -08:00
Jeff Becker
031e173f1a
ping oxend after getting identity keys
fixes #2125
2023-01-29 18:25:49 -05:00
dan
d3e69fe3c5 added unmapexit and listexit endpoints 2023-01-24 09:44:02 -08:00
dan
d37398a915 review comments 2023-01-24 07:23:01 -08:00
drouhana
f6aa58482a
Merge branch 'dev' into rpc-refactor 2023-01-24 06:54:36 -08:00
dan
13b01c86a6 Updated RpcServer Initialization and Logic
-- Moved all RPCServer initialization logic to rpcserver constructor
    -- Fixed config logic, fxn binding to rpc address, fxn adding rpc cats
    -- router hive failed CI/CD resulting from outdated reference to rpcBindAddr
    -- ipc socket as default hidden from windows (for now)
refactored config endpoint
    - added rpc call script (contrib/omq-rpc.py)
    - added new fxns to .ini config stuff
    - added delete .ini file functionality to config endpoint
    - added edge case control for config endpoint

add commented out line in clang-form for header reorg later
2023-01-24 06:50:46 -08:00
Jeff Becker
c682247f87
fix typo in config comments
lokinetN -> lokitunN
2023-01-23 09:24:21 -05:00
majestrate
7ae1a1a83b
Merge pull request #2108 from majestrate/service-refactor-2023-01-08
[internals refactor] docs and reorganize compilation units
2023-01-21 09:53:34 -05:00
Jeff Becker
cd8316e287
add commented out line in clang-form for header reorg later 2023-01-20 15:58:07 -05:00
Jeff Becker
2498a085db
rearrange cmake libraries
define relations and document them.
make responsibilies clear and consice.
2023-01-20 15:58:07 -05:00
Jeff Becker
4508c59cd3
redo includes to be consistent 2023-01-20 13:26:22 -05:00
Jeff Becker
0ab050647f
overview of refactor plan and new component structure. 2023-01-20 13:26:22 -05:00
drouhana
0edfe8ff83
IPC Socket Fixes (#2111)
* Updated RpcServer Initialization and Logic

-- Moved all RPCServer initialization logic to rpcserver constructor
-- Fixed config logic, fxn binding to rpc address, fxn adding rpc cats
-- router hive failed CI/CD resulting from outdated reference to rpcBindAddr
-- ipc socket as default hidden from windows (for now)
2023-01-20 14:15:18 -04:00
majestrate
245f968d33
Merge pull request #2120 from tewinget/fix_syslog_target_arg
Fix incorrect usage of oxen-logging syslog
2023-01-17 19:20:37 -05:00
Thomas Winget
fbfd70a35a Fix incorrect usage of oxen-logging syslog
Previously oxen-logging was erroneously hard-coded to use the target
"lokinet" for system logs.  Obviously this is wrong for anything else
which uses oxen-logging and the system log.  This changes our call to
add_sink to pass "lokinet" as the target rather than the config
filename, and updates oxen-logging to use that argument correctly.
2023-01-17 17:04:53 -05:00
majestrate
ae9fd9a739
Merge pull request #2113 from drouhana/cli-refactor
testnet fixes
2023-01-11 09:37:06 -05:00
dan
b31a266be8 testnet fixes
-- add ability to pass .ini path without --config flag
-- -r flag runs lokinet in router mode
2023-01-10 14:03:41 -08:00