Commit Graph

149 Commits (d90194359311060325b8a5af9849d16d48687c1a)

Author SHA1 Message Date
Jason Rhinelander 3efaf9ff76 Add string header (reportedly needed for libc++) 4 years ago
Jason Rhinelander 5cf2126bb9 make format 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 f0f9b1abdd
Allow 0 as outbound port 4 years ago
Stephen Shelton f8439dab61
Misc aesthetic tweaks 4 years ago
Stephen Shelton 7d83611a0a
Default outbound port to 0, not 1090 4 years ago
Stephen Shelton c4de0f8493
Add more ignored config options 4 years ago
Stephen Shelton 517922e4c3
Reintroduce support for configurable key files 4 years ago
Stephen Shelton 320564d792
Specialize ConfigOption for bool to accept "truthy" / "falsy" values 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 cdd4439cff
Temporary fix for [dns]bind and [dns]local-dns 4 years ago
Stephen Shelton 936fbb2424
Fix config not falling back to undeclared handler for missing option 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 6909e20588
Fix logging initialization and flush at program exit 5 years ago
Stephen Shelton d3bcc05aa6
Organize some constants and default values 5 years ago
Stephen Shelton da6bda15a1
Where did rc.signed come from?! 5 years ago
Stephen Shelton 7ea8d62640
Use fs::path over std::string for files 5 years ago
Stephen Shelton 7ce256d846
Prefer fs::path over std::string @ KeyManager 5 years ago
Stephen Shelton 0a9515a94a
Proper support for multiple values @ ConfigDefinition 5 years ago
Stephen Shelton 28c1ca9c7a
Handle missing IP address in conf properly 5 years ago
Stephen Shelton 0697d57190
Important TODO 5 years ago
Stephen Shelton 0e5e9a1222
Silently ignore config file if it exists already 5 years ago
Stephen Shelton 1fc7c61d1f
Share common conf comments for client and relay 5 years ago
Stephen Shelton 3739fc1d70
Reinstate multi-valued option 5 years ago
Stephen Shelton a6787657be
Refactor config comments to take list of strings 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 e06c2e4502
Check that [router]min-connections <= [router]max 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 9e850705b4
Add 'AssignmentAcceptor' convenience for simple config acceptors 5 years ago
Stephen Shelton f2a8dd10ce
Modernize Snapp config 5 years ago
Stephen Shelton 733efbab40
Reflect removal of accessors on config structs 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 6301fefd43
Add router-specific config comments 5 years ago
Stephen Shelton 5b520a4dff
Simplify connection limit constants 5 years ago
Stephen Shelton 14e7789847
Add padding to config file generated output 5 years ago
Stephen Shelton 1273f11ce8
First pass at updating comments to lokinet config 5 years ago
Stephen Shelton 18ee23c2a3
Support for comments in config definition 5 years ago
Stephen Shelton 1653b73ee5
Clean up the logic around generating default confs 5 years ago