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.
tailscale/net/dns
Brad Fitzpatrick 2b3e533048 util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl
This is step 4 of making syspolicy a build-time feature.

This adds a policyclient.Get() accessor to return the correct
implementation to use: either the real one, or the no-op one. (A third
type, a static one for testing, also exists, so in general a
policyclient.Client should be plumbed around and not always fetched
via policyclient.Get whenever possible, especially if tests need to use
alternate syspolicy)

Updates #16998
Updates #12614

Change-Id: Iaf19670744a596d5918acfa744f5db4564272978
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 months ago
..
publicdns
recursive net/dns/recursive: set EDNS on queries 6 months ago
resolvconffile
resolver net/*: remove Windows exceptions for when Resolver.PreferGo didn't work 7 months ago
config.go ipn/ipnlocal, net/dns: use slices.Equal to simplify code (#16641) 6 months ago
debian_resolvconf.go net/dns: don't link dbus, gonotify on Android 9 months ago
direct.go net/dns: don't link dbus, gonotify on Android 9 months ago
direct_linux.go net/dns: don't link dbus, gonotify on Android 9 months ago
direct_linux_test.go
direct_notlinux.go net/dns: don't link dbus, gonotify on Android 9 months ago
direct_test.go
direct_unix_test.go
flush_default.go
flush_windows.go
ini.go
ini_test.go
manager.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_darwin.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_default.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_freebsd.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_linux.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_linux_test.go
manager_openbsd.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_plan9.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_plan9_test.go net/dns: add Plan 9 support 10 months ago
manager_solaris.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_tcp_test.go
manager_test.go net/dns: cache dns.Config for reuse when compileConfig fails (#16059) 8 months ago
manager_windows.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
manager_windows_test.go util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
nm.go net/dns: don't link dbus, gonotify on Android 9 months ago
noop.go
nrpt_windows.go
openresolv.go net/dns: don't link dbus, gonotify on Android 9 months ago
osconfig.go
osconfig_test.go
resolvconf-workaround.sh
resolvconf.go
resolvconfpath_default.go
resolvconfpath_gokrazy.go
resolvd.go
resolved.go net/dns: don't link dbus, gonotify on Android 9 months ago
utf.go
utf_test.go
wsl_windows.go