You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp
Jeff 74362149eb
refactor dns subsystem
we want to be able to have multiple locally bound dns sockets in lokinet so
i restructured most of the dns subsystem in order to make this easier.

specifically, we have a new structure to dns subsystem:

* dns::QueryJob_Base

base type for holding a dns query and response with virtual methods
in charge of sending a reply to whoever requested.

* dns::PacketSource_Base

base type for reading and writing dns messages to and from wherever they came from

* dns::Resolver_Base

base type for filtering and handling of dns messages asynchronously.

* dns::Server

contextualized per endpoint dns object, responsible for all dns related isms.

this change hides all impelementation details of all of the dns components.
adds some more helper functions for parsing dns and dealing with OwnedBuffer.

overall dns becomes less of a pain with this new structure. probably.
2 years ago
..
android standardize include format and pragma once 3 years ago
apple Working signed macOS GUI build 2 years ago
config refactor dns subsystem 2 years ago
consensus Replace logging with oxen-logger 2 years ago
constants macOS system extension support 2 years ago
crypto Replace logging with oxen-logger 2 years ago
dht fix up sid ci pipeline 2 years ago
dns refactor dns subsystem 2 years ago
ev refactor dns subsystem 2 years ago
exit Replace logging with oxen-logger 2 years ago
handlers refactor dns subsystem 2 years ago
iwp Replace logging with oxen-logger 2 years ago
link * add mockable network functions 2 years ago
messages Replace logging with oxen-logger 2 years ago
net refactor dns subsystem 2 years ago
path Remote util::Printer and related cruft 2 years ago
peerstats Remove unused parameter names 2 years ago
quic Replace logging with oxen-logger 2 years ago
router refactor dns subsystem 2 years ago
routing replace LLARP_PROTO_VERSION macro 2 years ago
rpc refactor dns subsystem 2 years ago
service refactor dns subsystem 2 years ago
simulation standardize include format and pragma once 3 years ago
tooling hive fmt/spdlog updates 2 years ago
util refactor dns subsystem 2 years ago
vpn * add mockable network functions 2 years ago
win32 * add mockable network functions 2 years ago
CMakeLists.txt refactor dns subsystem 2 years ago
app.xml stray tag ;-; 6 years ago
bootstrap.cpp Replace logging with oxen-logger 2 years ago
bootstrap.hpp standardize include format and pragma once 3 years ago
context.cpp fix up log statements 2 years ago
endpoint_base.cpp add untracked file 3 years ago
endpoint_base.hpp refactor dns subsystem 2 years ago
lokinet_shared.cpp refactor dns subsystem 2 years ago
nodedb.cpp remove invalid entries on loading nodedb 2 years ago
nodedb.hpp liblokinet additions: 3 years ago
pow.cpp Remote util::Printer and related cruft 2 years ago
pow.hpp Remote util::Printer and related cruft 2 years ago
profiling.cpp far stricter profiling algorithm 3 years ago
profiling.hpp replace LLARP_PROTO_VERSION macro 2 years ago
router_contact.cpp remove invalid entries on loading nodedb 2 years ago
router_contact.hpp remove invalid entries on loading nodedb 2 years ago
router_id.cpp Crank oxen-mq to (1.2.)11; switch to oxen-encoding 2 years ago
router_id.hpp Replace logging with oxen-logger 2 years ago
router_version.cpp Cleanup: avoid pointless copy of `this` pointer 3 years ago
router_version.hpp Replace logging with oxen-logger 2 years ago