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/net
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
..
address_info.cpp Remote util::Printer and related cruft 2 years ago
address_info.hpp Remote util::Printer and related cruft 2 years ago
exit_info.cpp Remote util::Printer and related cruft 2 years ago
exit_info.hpp Remote util::Printer and related cruft 2 years ago
ip.cpp standardize include format and pragma once 3 years ago
ip.hpp standardize include format and pragma once 3 years ago
ip_address.cpp Replace logging with oxen-logger 2 years ago
ip_address.hpp Replace logging with oxen-logger 2 years ago
ip_packet.cpp clean up ip packet code 2 years ago
ip_packet.hpp alignas 2 years ago
ip_range.cpp Crank oxen-mq to (1.2.)11; switch to oxen-encoding 2 years ago
ip_range.hpp * add mockable network functions 2 years ago
ip_range_map.hpp make comments with colins in them not have them in it 2 years ago
net.cpp this code needs to detect the first non-existing interface by name, not the first existing one. this remidies this. sorry testnet for breaking you 2 years ago
net.h standardize include format and pragma once 3 years ago
net.hpp * add mockable network functions 2 years ago
net_bits.hpp * add mockable network functions 2 years ago
net_if.hpp standardize include format and pragma once 3 years ago
net_int.cpp * add mockable network functions 2 years ago
net_int.hpp * add mockable network functions 2 years ago
sock_addr.cpp refactor dns subsystem 2 years ago
sock_addr.hpp refactor dns subsystem 2 years ago
traffic_policy.cpp win32 fix 3 years ago
traffic_policy.hpp initial commit for #1595 3 years ago
uint128.hpp Remote util::Printer and related cruft 2 years ago