summaryrefslogtreecommitdiffhomepage
path: root/internal/deepprint
AgeCommit message (Collapse)AuthorFilesLines
2021-01-14all: convert from []wgcfg.Endpoint to stringJosh Bleecher Snyder1-6/+1
This eliminates a dependency on wgcfg.Endpoint, as part of the effort to eliminate our wireguard-go fork. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-12-28all: replace wgcfg.IP and wgcfg.CIDR with netaddr typesJosh Bleecher Snyder1-1/+1
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-07-31all: dns refactor, add Proxied and PerDomain flags from control (#615)Dmytro Shynkevych1-1/+2
Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
2020-07-28ipn: fix netmap change tracking and dns map generation (#609)Dmytro Shynkevych1-2/+12
Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
2020-07-14wgengine/router: dns: unify on *BSD, multimode on Linux, Magic DNS (#536)Dmytro Shynkevych1-1/+4
Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
2020-06-29internal/deepprint: update copyright header to appease license checker scriptBrad Fitzpatrick1-1/+7
Plus mention that it's not an exact copy.
2020-06-29internal/deepprint: add missing copyright headersBrad Fitzpatrick2-0/+8
2020-06-28wgengine, internal/deepprint: replace UAPI usage as hash func; add deepprintBrad Fitzpatrick3-0/+370
The new deepprint package just walks a Go data structure and writes to an io.Writer. It's not pretty like go-spew, etc. We then use it to replace the use of UAPI (which we have a TODO to remove) to generate signatures of data structures to detect whether anything changed (without retaining the old copy). This was necessary because the UAPI conversion ends up trying to do DNS lookups which an upcoming change depends on not happening.