Commit Graph

8038 Commits (dev)
 

Author SHA1 Message Date
jeff (codeaholic) 7825bd8266
v0.11.0 release candidate 1 2 weeks ago
jeff (codeaholic) a0c6cf9d67
bump copyright 2 weeks ago
jeff (codeaholic) 8aaba44b16
Merge branch 'route-poker-bugfix-duplicate-removals' into dev 2 weeks ago
jeff (codeaholic) 33a9275324
route poker will remove mapping when we have duplicate entries mapping to it.
add reference counts to simply logic on when we unpoke route holes so that if some other peer uses the mapping we wont unmap it until the reference count on the route poker's entry is zero.
2 weeks ago
jeff (codeaholic) 286e6bd335
Redo wire protocol race condition fix.
In commit a76acd4956 we attempted to fix
issues on service nodes that related to spamming service nodes with
traffc, but this caused a regression where clients could not connect
to the network.

However, we also did something idiotic with the protocol handshake.
The handshake logic was modified and caused client connections to
fail. This was due to a change in how we decided what a timed out
session is. We redo the close bug and revert the change to the
protocol handshake.
2 weeks ago
jeff 8cdaaa86eb
make lokinet client with strict-connect option provided explicitly connect out to snodes provided.
* create new component for selecting edge snodes as client (llarp::consensus::EdgeSelector)
* require llarp::AbstractRouter own a llarp::consensus::EdgeSelector
* make outbound_session_maker.cpp use llarp::consensus::EdgeSelector owned by llarp::AbstractRouter
2 weeks ago
jeff (codeaholic) 6fe8231e7f
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.
2 weeks ago
jeff (codeaholic) effbd3b617
wire up dns for .snode on service nodes 2 weeks ago
jeff (codeaholic) 8c3115de48
recuce number of jobs pushed through omq proxy thread.
when we queue cpu heavy work in lokinet to worker threads we make 1
job per function call. we call a lot of jobs so this coleases the jobs
into 1 job that we push off at the end of the event loop cycle,
reducing the number of jobs going across the omq proxy thread, in
theory reducing cpu usage.
2 weeks ago
dan 4eb0ee4960
Added path-build to documentation
- re-structure docs
    - add diagrams
2 weeks ago
Jason Rhinelander 559fa8aec4
Merge pull request #2173 from longyap/dev
add #include <cstdint>
4 weeks ago
GNU/LongYap 89c5c73be4
add #include <cstdint>
add #include <cstdint> to fix build error
4 weeks ago
Jason Rhinelander a294c81f0d
Python <3.11 compat fix 1 month ago
Jason Rhinelander b48e8b23ea
Merge pull request #2106 from majestrate/fix-config-comment-typo-2023-01-05
fix typo in config comments
3 months ago
majestrate 24bfbd5bc6
Merge pull request #2142 from jagerman/bencode-hex
Add automatic hex decoding to bencode-dump.py
3 months ago
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.
3 months ago
majestrate 7d2ad5621b
Merge pull request #2139 from majestrate/fix-issue-2138-with-loop-call-2023-02-15
fix issue #2138
4 months ago
jeff (codeaholic) 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()
4 months ago
Jason Rhinelander 366d0c1be9
Merge pull request #2128 from majestrate/oxend-defer-ping-2023-01-29
ping oxend after getting identity keys
4 months ago
majestrate 3de23c3eba
Merge pull request #2130 from XutaxKamay/dev
fix openwrt mips32 static build
4 months ago
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)
4 months ago
Jason Rhinelander 7fb36782dc
Merge pull request #2121 from drouhana/rpc-refactor
RPC refactor
4 months ago
dan 9bfe881a35 OMQ_Request handling logic change 4 months ago
dan b2e8cde64b working new endpoints
- added hotswap functionality
- map_exit and unmap_exit working
4 months ago
dan 0632e88de0 Make new header for json type conversions 4 months ago
jeff (codeaholic) 02b392881b add llarp::service::Endpoint::map_exit 4 months ago
jeff (codeaholic) 031e173f1a
ping oxend after getting identity keys
fixes #2125
4 months ago
dan d3e69fe3c5 added unmapexit and listexit endpoints 5 months ago
dan d37398a915 review comments 5 months ago
drouhana f6aa58482a
Merge branch 'dev' into rpc-refactor 5 months ago
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
5 months ago
jeff (codeaholic) c682247f87
fix typo in config comments
lokinetN -> lokitunN
5 months ago
majestrate 7ae1a1a83b
Merge pull request #2108 from majestrate/service-refactor-2023-01-08
[internals refactor] docs and reorganize compilation units
5 months ago
jeff (codeaholic) cd8316e287
add commented out line in clang-form for header reorg later 5 months ago
jeff (codeaholic) 2498a085db
rearrange cmake libraries
define relations and document them.
make responsibilies clear and consice.
5 months ago
jeff (codeaholic) 4508c59cd3
redo includes to be consistent 5 months ago
jeff (codeaholic) 0ab050647f
overview of refactor plan and new component structure. 5 months ago
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)
5 months ago
majestrate 245f968d33
Merge pull request #2120 from tewinget/fix_syslog_target_arg
Fix incorrect usage of oxen-logging syslog
5 months ago
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.
5 months ago
majestrate ae9fd9a739
Merge pull request #2113 from drouhana/cli-refactor
testnet fixes
5 months ago
dan b31a266be8 testnet fixes
-- add ability to pass .ini path without --config flag
-- -r flag runs lokinet in router mode
5 months ago
drouhana a6b2172e54
Fix accepting config file as positional argument
re-add ability to pass .ini path without --config flag
5 months ago
Jason Rhinelander d1b6ccfbc3
Merge pull request #2109 from drouhana/cli-refactor
CLI Fixes
5 months ago
dan ea740ffd79 options.overwrite and options.force are redundant given refactor. they are now combined 5 months ago
dan 26beebca97 logic fix, commit to be stashed 5 months ago
dan b6991bb59a lokinet.cpp CLI and logic fixes
- added single dash to one letter flags to fix CLI incorrectconstruction error
- fixed generate file error
5 months ago
Jason Rhinelander 96c7f13744
Merge pull request #2107 from drouhana/cli-refactor
Command Line Interface Refactor
5 months ago
Jason Rhinelander 3d0fe8ecb7 Rename 'package' target on macos to 'dmg' to avoid cpack conflict
CLI11 uses cpack, which makes us fail to configure on macos because of
the 'package' target.  Renaming it to 'dmg' should avoid the conflict.
5 months ago
dan dc7f3cee22 Replace cxxopts with CLI11
- Simiplifies CLI code for future modification
- filesystem library linked in cmake check_for_std_filesystem file
5 months ago