lokinet/llarp
Jason Rhinelander 2aae56b0e0
Apple DNS configuration fix: don't obliterate trampoline
On Apple, the network extension is outside the tunnel routing, so we
cannot have libunbound talk directly to upstream (it would leak DNS when
exit mode is enabled).  Instead unbound *always* talks to a localhost
port where we have a "dns trampoline" that takes UDP packets and shoves
them through the tunnel.

We were doing that already, but recent changes here were overwriting the
libunbound settings with.

This also moves the upstream DNS configuration part of `Up()` into its
own method.
2022-09-19 20:26:40 -03:00
..
android standardize include format and pragma once 2021-03-09 19:01:41 -05:00
apple macos compilation fixes 2022-09-19 20:26:39 -03: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 Apple DNS configuration fix: don't obliterate trampoline 2022-09-19 20:26:40 -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 Set various -W flags on apple 2022-09-19 20:26:39 -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 remove hunk of win32 specific code, it is dead in this codepath 2022-09-19 20:26:39 -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 Add missing != operator to nuint_t 2022-09-19 20:26:38 -03:00
routing llarp_buffer_t: rename badly named operator== 2022-09-19 20:25:51 -03:00
rpc Linux route poker fixes 2022-09-19 20:26:38 -03: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 limit route poker 2022-09-19 20:26:38 -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