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.
2022-09-08 14:23:52 -04:00
..
android standardize include format and pragma once 2021-03-09 19:01:41 -05:00
apple Working signed macOS GUI build 2022-08-12 21:13:39 -03:00
config refactor dns subsystem 2022-09-08 14:23:52 -04:00
consensus Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
constants macOS system extension support 2022-08-12 21:13:38 -03:00
crypto Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
dht fix up sid ci pipeline 2022-08-06 16:04:25 -04:00
dns refactor dns subsystem 2022-09-08 14:23:52 -04:00
ev refactor dns subsystem 2022-09-08 14:23:52 -04:00
exit Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
handlers refactor dns subsystem 2022-09-08 14:23:52 -04:00
iwp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
link * add mockable network functions 2022-07-20 13:36:03 -04:00
messages Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
net refactor dns subsystem 2022-09-08 14:23:52 -04:00
path Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
peerstats Remove unused parameter names 2022-08-30 15:53:40 -03:00
quic Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
router refactor dns subsystem 2022-09-08 14:23:52 -04:00
routing replace LLARP_PROTO_VERSION macro 2022-05-28 13:18:43 -04:00
rpc refactor dns subsystem 2022-09-08 14:23:52 -04:00
service refactor dns subsystem 2022-09-08 14:23:52 -04:00
simulation standardize include format and pragma once 2021-03-09 19:01:41 -05:00
tooling hive fmt/spdlog updates 2022-07-19 15:27:31 -03:00
util refactor dns subsystem 2022-09-08 14:23:52 -04:00
vpn * add mockable network functions 2022-07-20 13:36:03 -04:00
win32 * add mockable network functions 2022-07-20 13:36:03 -04:00
CMakeLists.txt refactor dns subsystem 2022-09-08 14:23:52 -04:00
app.xml stray tag ;-; 2018-12-24 22:39:34 -06:00
bootstrap.cpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
bootstrap.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
context.cpp fix up log statements 2022-08-22 16:50:46 -04:00
endpoint_base.cpp add untracked file 2021-04-19 07:02:44 -04:00
endpoint_base.hpp refactor dns subsystem 2022-09-08 14:23:52 -04:00
lokinet_shared.cpp refactor dns subsystem 2022-09-08 14:23:52 -04:00
nodedb.cpp remove invalid entries on loading nodedb 2022-07-26 11:05:31 -04:00
nodedb.hpp liblokinet additions: 2021-04-19 06:59:07 -04:00
pow.cpp Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
pow.hpp Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
profiling.cpp far stricter profiling algorithm 2021-06-08 14:36:30 -04:00
profiling.hpp replace LLARP_PROTO_VERSION macro 2022-05-28 13:18:43 -04:00
router_contact.cpp remove invalid entries on loading nodedb 2022-07-26 11:05:31 -04:00
router_contact.hpp remove invalid entries on loading nodedb 2022-07-26 11:05:31 -04:00
router_id.cpp Crank oxen-mq to (1.2.)11; switch to oxen-encoding 2022-02-17 16:30:17 -04:00
router_id.hpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
router_version.cpp Cleanup: avoid pointless copy of `this` pointer 2021-11-15 13:38:00 -04:00
router_version.hpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00