sshuttle/docs
Scott Kuhl 502960d796 Intercept DNS requests sent by systemd-resolved.
Previously, we would find DNS servers we wish to intercept traffic on
by reading /etc/resolv.conf. On systems using systemd-resolved,
/etc/resolv.conf points to localhost and then systemd-resolved
actually uses the DNS servers listed in
/run/systemd/resolve/resolv.conf. Many programs will route the DNS
traffic through localhost as /etc/resolv.conf indicates and sshuttle
would capture it. However, systemd-resolved also provides other
interfaces for programs to resolve hostnames besides the localhost
server in /etc/resolv.conf.

This patch adds systemd-resolved's servers into the list of DNS
servers when --dns is used.

Note that sshuttle will continue to fail to intercept any traffic sent
to port 853 for DNS over TLS (which systemd-resolved also supports).

For more info, see:
sshuttle issue #535
https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html
https://github.com/systemd/systemd/issues/6076
2020-10-25 12:29:32 -04:00
..
changes.rst Get version for sphinx from sshuttle.version 2017-07-09 09:08:48 +10:00
chromeos.rst works on ChromeOS with Crostini VM (#262) 2018-08-25 10:30:45 +10:00
conf.py Get version for sphinx from sshuttle.version 2017-07-09 09:08:48 +10:00
how-it-works.rst Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
index.rst Add date and version to docs 2016-03-03 10:30:20 +11:00
installation.rst Fix formatting in installation.rst 2020-07-15 08:14:51 +10:00
make.bat Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
Makefile Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
manpage.rst Intercept DNS requests sent by systemd-resolved. 2020-10-25 12:29:32 -04:00
openwrt.rst Add missing package in OpenWRT documentation 2020-08-10 16:35:05 +02:00
overview.rst Adds support for tunneling specific port ranges (#144) 2017-05-07 13:18:13 +10:00
platform.rst Fix various errors in documentation 2020-02-09 19:45:13 +11:00
requirements.rst nft IPv6 documentation (and other minor doc updates) 2020-10-22 20:17:09 -04:00
support.rst Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
tproxy.rst Add Windows documentation 2016-01-20 20:55:10 +11:00
trivia.rst Remove references to number of years 2016-01-21 08:42:34 +11:00
usage.rst Fix formatting typos in usage docs 2020-07-04 12:02:44 +02:00
windows.rst Fix description of excludes in Windows setup 2016-01-21 08:38:38 +11:00