Jason Rhinelander
e11f5018c2
Fix negative integer parsing
1 year ago
Jason Rhinelander
a17753fddb
Merge pull request #2180 from majestrate/fix-2179-ipv6-upstream-dns-2023-05-20
...
libunbound ipv6 upstream dns syntax error
1 year ago
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.
1 year ago
Jason Rhinelander
7f9b425332
Merge pull request #2182 from dr7ana/incomplete-issues
...
Added workflow to remove stale, incomplete issues
1 year ago
dan
0a98fb943d
added workflow to remove stale issues
1 year ago
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.
1 year ago
Jason Rhinelander
559fa8aec4
Merge pull request #2173 from longyap/dev
...
add #include <cstdint>
1 year ago
GNU/LongYap
89c5c73be4
add #include <cstdint>
...
add #include <cstdint> to fix build error
1 year ago
Jason Rhinelander
a294c81f0d
Python <3.11 compat fix
1 year ago
Jason Rhinelander
b48e8b23ea
Merge pull request #2106 from majestrate/fix-config-comment-typo-2023-01-05
...
fix typo in config comments
2 years ago
majestrate
24bfbd5bc6
Merge pull request #2142 from jagerman/bencode-hex
...
Add automatic hex decoding to bencode-dump.py
2 years 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.
2 years ago
majestrate
7d2ad5621b
Merge pull request #2139 from majestrate/fix-issue-2138-with-loop-call-2023-02-15
...
fix issue #2138
2 years ago
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()
2 years ago
Jason Rhinelander
366d0c1be9
Merge pull request #2128 from majestrate/oxend-defer-ping-2023-01-29
...
ping oxend after getting identity keys
2 years ago
majestrate
3de23c3eba
Merge pull request #2130 from XutaxKamay/dev
...
fix openwrt mips32 static build
2 years 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)
2 years ago
Jason Rhinelander
7fb36782dc
Merge pull request #2121 from drouhana/rpc-refactor
...
RPC refactor
2 years ago
dan
9bfe881a35
OMQ_Request handling logic change
2 years ago
dan
b2e8cde64b
working new endpoints
...
- added hotswap functionality
- map_exit and unmap_exit working
2 years ago
dan
0632e88de0
Make new header for json type conversions
2 years ago
Jeff Becker
02b392881b
add llarp::service::Endpoint::map_exit
2 years ago
Jeff Becker
031e173f1a
ping oxend after getting identity keys
...
fixes #2125
2 years ago
dan
d3e69fe3c5
added unmapexit and listexit endpoints
2 years ago
dan
d37398a915
review comments
2 years ago
drouhana
f6aa58482a
Merge branch 'dev' into rpc-refactor
2 years 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
2 years ago
Jeff Becker
c682247f87
fix typo in config comments
...
lokinetN -> lokitunN
2 years ago
majestrate
7ae1a1a83b
Merge pull request #2108 from majestrate/service-refactor-2023-01-08
...
[internals refactor] docs and reorganize compilation units
2 years ago
Jeff Becker
cd8316e287
add commented out line in clang-form for header reorg later
2 years ago
Jeff Becker
2498a085db
rearrange cmake libraries
...
define relations and document them.
make responsibilies clear and consice.
2 years ago
Jeff Becker
4508c59cd3
redo includes to be consistent
2 years ago
Jeff Becker
0ab050647f
overview of refactor plan and new component structure.
2 years 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)
2 years ago
majestrate
245f968d33
Merge pull request #2120 from tewinget/fix_syslog_target_arg
...
Fix incorrect usage of oxen-logging syslog
2 years 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.
2 years ago
majestrate
ae9fd9a739
Merge pull request #2113 from drouhana/cli-refactor
...
testnet fixes
2 years ago
dan
b31a266be8
testnet fixes
...
-- add ability to pass .ini path without --config flag
-- -r flag runs lokinet in router mode
2 years ago
drouhana
a6b2172e54
Fix accepting config file as positional argument
...
re-add ability to pass .ini path without --config flag
2 years ago
Jason Rhinelander
d1b6ccfbc3
Merge pull request #2109 from drouhana/cli-refactor
...
CLI Fixes
2 years ago
dan
ea740ffd79
options.overwrite and options.force are redundant given refactor. they are now combined
2 years ago
dan
26beebca97
logic fix, commit to be stashed
2 years 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
2 years ago
Jason Rhinelander
96c7f13744
Merge pull request #2107 from drouhana/cli-refactor
...
Command Line Interface Refactor
2 years 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.
2 years ago
dan
dc7f3cee22
Replace cxxopts with CLI11
...
- Simiplifies CLI code for future modification
- filesystem library linked in cmake check_for_std_filesystem file
2 years ago
Jason Rhinelander
bf0dc52df7
Merge pull request #2104 from majestrate/openwrt-aarch64-fix-2023-01-03
...
add case for openwrt aarch64 in static deps
2 years ago
Jeff Becker
dcd4623d2e
[win32 ci pipeline]
...
bookworm has no need for alternatives for mingw.
remove update-alternatives from the pipeline
2 years ago
Jeff Becker
1d84d630ea
add case for openwrt aarch64 in static deps
...
fixes #2103
2 years ago
Jason Rhinelander
9929445970
Fix poll_block_hash being set in the wrong place
2 years ago