Stephen Shelton
2a30e7dac2
Add PeerDb to Router
4 years ago
Jeff Becker
a9109aa91b
* deprecate old unused lokid rpc options
...
* use lokimq::address in config and in lokid rpc
* bump lokimq submodule
4 years ago
Jeff Becker
80919a3b76
address feedback.
...
* use exceptions when fetching identity key instead of std::optional, will throw on fail
* fix up config options for endpoint auth and add better docs
* add llarp::serive::AuthType enum for controlling what kind of endpoint auth to use
4 years ago
Jeff Becker
0f21eeccb0
* rework exit codepath to allow multiple exits
...
* rework net code for ip ranges to be cleaner
* clean up endpoint auth code
* refactor config to validate network configs before setting up endpoints
* remove buildone from path/pathbuilder.cpp so we don't spam connection attempts
4 years ago
Jeff Becker
5abf111159
endpoint auth whitelist
4 years ago
Jeff Becker
a42d3d51c3
more
4 years ago
Stephen Shelton
daecd6eda5
Remove llarp_config and llarp_main
4 years ago
Jeff Becker
800668348a
add regression test for key backup bug
4 years ago
Jeff Becker
6af498092b
exit traffic via loki addresses
4 years ago
Stephen Shelton
ffdeca5378
Initialize all primitive values in Config
4 years ago
Stephen Shelton
aee96e53a3
Refactor Addr -> IpAddress/SockAddr
4 years ago
Stephen Shelton
f2a26adcaa
Move all [endpoint] options to [network]
4 years ago
Stephen Shelton
dd9ab0f1d5
Remove ability to have multiple endpoints/snodes from config
4 years ago
Stephen Shelton
b7451b7632
Rip out tag, prefetch tags/addrs from Endpoint
4 years ago
Stephen Shelton
3198a8b139
Handle blacklist-snode validation in config
4 years ago
Stephen Shelton
2730491641
Remove NetworkConfig's freehand options
4 years ago
Stephen Shelton
2bc908cd40
Remove [dns]:local-dns in favor of [dns]:bind
4 years ago
Stephen Shelton
779658edd0
Refactor ExitEndpoint's config, mv dns ops from [network] to [dns]
4 years ago
Stephen Shelton
21ad442b55
Remove NetConfig_t
4 years ago
Stephen Shelton
df01770466
Rename SnappConfig -> EndpointConfig
4 years ago
Stephen Shelton
93b35c92a7
Eradicate service::Config
4 years ago
Stephen Shelton
cbd93fcb09
Find "-snapp" conf sections, add more snapp conf options
4 years ago
Jason Rhinelander
1697bf90fe
C++17
...
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
4 years ago
Stephen Shelton
517922e4c3
Reintroduce support for configurable key files
4 years ago
Stephen Shelton
331770b348
Add ability to tolerate (ignore) old config options
...
This allows us to explicitly ignore (with a warning) old options
that are no longer supported.
4 years ago
Stephen Shelton
526b1320b7
Some maybe-fixes for RouterHive post config cleanup
4 years ago
Stephen Shelton
dfcf8fb62e
Update RouterHive to reflect config changes
5 years ago
Stephen Shelton
de8e44ba21
Re-apply clang-format rules after rebasing
5 years ago
Stephen Shelton
a66f502ed6
Remove [netdb] conf and place it under data-dir
...
This does three things:
1) Remove the [netdb] conf section,
2) Rename the subdir 'netdb' -> 'nodedb'
3) Place 'nodedb' under 'data-dir'
5 years ago
Stephen Shelton
be014175e9
Consolidate logging initialization logic
5 years ago
Stephen Shelton
d3bcc05aa6
Organize some constants and default values
5 years ago
Stephen Shelton
7ea8d62640
Use fs::path over std::string for files
5 years ago
Stephen Shelton
a8671cf9c7
Rename config classes for clarity
...
ConfigDefinition -> OptionDefiniton
Configuration -> ConfigDefinition
5 years ago
Stephen Shelton
f250b7adcb
Remove pidfile support
5 years ago
Stephen Shelton
4f77080f75
Remove optional<> from block-bogons
5 years ago
Stephen Shelton
4d053231d3
Define config defaults as constexpr
5 years ago
Stephen Shelton
adfcbd1d0b
Slight cleanup of k:v option maps
5 years ago
Stephen Shelton
6fd270ba09
Rip out link type spec and factory
...
We only support IWP now, so this is all effectively dead code.
5 years ago
Stephen Shelton
f2a8dd10ce
Modernize Snapp config
5 years ago
Stephen Shelton
c8c940b0f5
Replace individual file locations with dataDir
5 years ago
Stephen Shelton
5d0b53e1be
Remove environment variable support in config
5 years ago
Stephen Shelton
05257126fe
Make distinction between config dir and data dir
5 years ago
Stephen Shelton
923e73f693
Plumb isRelay CLI arg through to config
5 years ago
Stephen Shelton
028e55e997
Remove pre-refactor config test
5 years ago
Stephen Shelton
1653b73ee5
Clean up the logic around generating default confs
5 years ago
Stephen Shelton
feacde7864
Hook up 'undeclared handlers' to mop up loosely-structured INI values
5 years ago
Stephen Shelton
ffc58fcedb
Remove dead code (serverOptions)
5 years ago
Stephen Shelton
2e47262350
Demystify LinksConfig
5 years ago
Stephen Shelton
cd1e7713de
Clean up / consolidate config logging logic
5 years ago
Stephen Shelton
4c00c6238e
Join config definition and config parser
5 years ago