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/win32
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
..
dll.cpp Simplify dll loading via static function pointers 2 years ago
dll.hpp Simplify dll loading via static function pointers 2 years ago
exception.cpp changeset for windows port 2 years ago
exception.hpp Fail if wintun can't retrieve its version 2 years ago
exec.cpp changeset for windows port 2 years ago
exec.hpp changeset for windows port 2 years ago
guid.hpp changeset for windows port 2 years ago
handle.hpp changeset for windows port 2 years ago
version.rc.in generate windows rc for each executable target so we can set the executable name right for each one 2 years ago
win32_inet.c standardize include format and pragma once 3 years ago
win32_intrnl.c standardize include format and pragma once 3 years ago
windivert.cpp Windows DNS fixes 2 years ago
windivert.hpp Windows DNS fixes 2 years ago
wintun.cpp Simplify dll loading via static function pointers 2 years ago
wintun.hpp format 2 years ago