lokinet/llarp
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.
2022-09-19 20:26:37 -03:00
..
android standardize include format and pragma once 2021-03-09 19:01:41 -05:00
apple revise ./contrib/format.sh 2022-09-08 14:25:00 -04:00
config DNS: default to 127.3.2.1 & high port on Linux 2022-09-19 20:26:35 -03:00
consensus Apply some lipstick to llarp_buffer_t 2022-09-19 20:25:51 -03:00
constants disable lokinet-bootstrap on windows builds 2022-09-08 14:25:00 -04:00
crypto Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
dht llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
dns Windows DNS fixes 2022-09-19 20:26:37 -03:00
ev disable lokinet-bootstrap on windows builds 2022-09-08 14:25:00 -04:00
exit llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
handlers Windows DNS fixes 2022-09-19 20:26:37 -03:00
iwp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
link * add mockable network functions 2022-07-20 13:36:03 -04:00
linux restucture dbus parts 2022-09-08 14:23:53 -04:00
messages llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
net Simplify/fix ip_header layout 2022-09-19 20:26:35 -03:00
path changeset for windows port 2022-09-08 14:24:59 -04:00
peerstats Remove unused parameter names 2022-08-30 15:53:40 -03:00
quic Apply some lipstick to llarp_buffer_t 2022-09-19 20:25:51 -03:00
router changeset for windows port 2022-09-08 14:24:59 -04:00
routing llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
rpc changeset for windows port 2022-09-08 14:24:59 -04:00
service llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
simulation standardize include format and pragma once 2021-03-09 19:01:41 -05:00
tooling hive fmt/spdlog updates 2022-07-19 15:27:31 -03:00
util Slightly DRY thread-setting code, fix warning 2022-09-19 20:26:36 -03:00
vpn Windows DNS fixes 2022-09-19 20:26:37 -03:00
win32 Windows DNS fixes 2022-09-19 20:26:37 -03:00
app.xml stray tag ;-; 2018-12-24 22:39:34 -06:00
bootstrap.cpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
bootstrap.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
CMakeLists.txt De-inline vpn/win32.hpp 2022-09-19 20:26:37 -03:00
context.cpp fix up log statements 2022-08-22 16:50:46 -04:00
endpoint_base.cpp add untracked file 2021-04-19 07:02:44 -04:00
endpoint_base.hpp refactor dns subsystem 2022-09-08 14:23:52 -04:00
lokinet_shared.cpp changeset for windows port 2022-09-08 14:24:59 -04:00
nodedb.cpp remove invalid entries on loading nodedb 2022-07-26 11:05:31 -04:00
nodedb.hpp liblokinet additions: 2021-04-19 06:59:07 -04:00
pow.cpp Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
pow.hpp Remote util::Printer and related cruft 2022-07-18 14:56:09 -03:00
profiling.cpp far stricter profiling algorithm 2021-06-08 14:36:30 -04:00
profiling.hpp replace LLARP_PROTO_VERSION macro 2022-05-28 13:18:43 -04:00
router_contact.cpp llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
router_contact.hpp remove invalid entries on loading nodedb 2022-07-26 11:05:31 -04:00
router_id.cpp Crank oxen-mq to (1.2.)11; switch to oxen-encoding 2022-02-17 16:30:17 -04:00
router_id.hpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00
router_version.cpp Cleanup: avoid pointless copy of this pointer 2021-11-15 13:38:00 -04:00
router_version.hpp Replace logging with oxen-logger 2022-07-15 22:17:59 -03:00