lokinet/llarp/util
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
..
logging Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
meta Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
thread Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
algorithm.hpp add forgotten file again 2021-04-19 07:02:44 -04:00
aligned.hpp Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
bencode.cpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
bencode.h standardize include format and pragma once 2021-03-09 19:01:41 -05:00
bencode.hpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
bits.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
buffer.cpp refactor dns subsystem 2022-09-08 14:23:52 -04:00
buffer.hpp refactor dns subsystem 2022-09-08 14:23:52 -04:00
common.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
compare_ptr.hpp refactor dns subsystem 2022-09-08 14:23:52 -04:00
copy_or_nullptr.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
decaying_hashset.hpp publish our rc out to the network when we regenerate them 2022-05-27 13:21:08 -04:00
decaying_hashtable.hpp Merge pull request #1541 from majestrate/lns-consensus-2021-02-19 2021-03-26 19:24:29 -04:00
exceptions.hpp fix up log statements 2022-08-22 16:50:46 -04:00
formattable.hpp Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
fs.cpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
fs.hpp Update fs.hpp 2021-10-06 14:37:09 -04:00
json.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
json.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
logging.hpp Add missing header to fix libc++ build 2022-07-18 17:23:35 -03:00
lokinet_init.c standardize include format and pragma once 2021-03-09 19:01:41 -05:00
lokinet_init.h standardize include format and pragma once 2021-03-09 19:01:41 -05:00
mem.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
mem.h standardize include format and pragma once 2021-03-09 19:01:41 -05:00
mem.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
priority_queue.hpp add util::ascending_priority_queue type 2022-05-02 15:27:08 -04:00
status.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
str.cpp Use more fmt 2022-07-18 17:13:04 -03:00
str.hpp Use more fmt 2022-07-18 17:13:04 -03:00
time.cpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
time.hpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
types.hpp add gossip info to systemd status 2022-05-27 13:21:08 -04:00