mirror of https://github.com/oxen-io/lokinet
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.
9ddf7413af
- 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 | 2 years ago | |
dll.hpp | 2 years ago | |
exception.cpp | 2 years ago | |
exception.hpp | 2 years ago | |
exec.cpp | 2 years ago | |
exec.hpp | 2 years ago | |
guid.hpp | 2 years ago | |
handle.hpp | 2 years ago | |
version.rc.in | 2 years ago | |
win32_inet.c | 4 years ago | |
win32_intrnl.c | 4 years ago | |
windivert.cpp | 2 years ago | |
windivert.hpp | 2 years ago | |
wintun.cpp | 2 years ago | |
wintun.hpp | 2 years ago |