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/dns
Jason Rhinelander 9ddf7413af
Windows DNS fixes
- windivert was being set up *before* DNS is set up, so the DNS port was
  nullopt and thus we couldn't properly identify upstream DNS traffic.
- close() doesn't close a socket on Windows, so the socket-bind-close
  approach to get a free UDP port wasn't actually closing, and thus
  unbound upstream constrained to the given port were completely
  failing.
- The unbound thread was accessing the same shared_ptr instance as the
  outer code, which isn't thread-safe; changed it to copy a weak_ptr
  into the lambda instead.
- Exclude upstream DNS traffic in the filter rather than capturing and
  reinjecting it.
2 years ago
..
dns.hpp standardize include format and pragma once 4 years ago
message.cpp llarp/dns logging refactor 2 years ago
message.hpp refactor dns subsystem 2 years ago
name.cpp DNS message parsing fixes and cleanup 2 years ago
name.hpp DNS message parsing fixes and cleanup 2 years ago
nm_platform.cpp changeset for windows port 2 years ago
nm_platform.hpp disable lokinet-bootstrap on windows builds 2 years ago
platform.cpp llarp/dns logging refactor 2 years ago
platform.hpp changeset for windows port 2 years ago
query.hpp standardize include format and pragma once 4 years ago
question.cpp llarp/dns logging refactor 2 years ago
question.hpp DNS message parsing fixes and cleanup 2 years ago
rr.cpp llarp/dns logging refactor 2 years ago
rr.hpp DNS message parsing fixes and cleanup 2 years ago
sd_platform.cpp changeset for windows port 2 years ago
sd_platform.hpp disable lokinet-bootstrap on windows builds 2 years ago
serialize.cpp standardize include format and pragma once 4 years ago
serialize.hpp macos sort of works now 3 years ago
server.cpp Windows DNS fixes 2 years ago
server.hpp Fix backwards from/to in PacketSource_Wrapper 2 years ago
srv_data.cpp llarp/dns logging refactor 2 years ago
srv_data.hpp srv records 3 years ago
string.hpp standardize include format and pragma once 4 years ago
unbound_resolver.cpp llarp/dns logging refactor 2 years ago
unbound_resolver.hpp Forward-declare ub_ctx/ub_result 3 years ago
win32_platform.cpp changeset for windows port 2 years ago
win32_platform.hpp changeset for windows port 2 years ago