From 74dcc91ea7a4f5a4d110c157d8c079ecc2ecb70a Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Tue, 28 Dec 2021 17:00:52 +0300 Subject: [PATCH] cherry-pick: all: imp uniq validation err msgs Updates #3975. Squashed commit of the following: commit f8578c2afb1bb5786e7b855a1715e0757bc08510 Author: Ainar Garipov Date: Tue Dec 28 16:39:13 2021 +0300 aghalgo: imp docs commit d9fc625f7c4ede2cf4b0683ad5efd0ddf9b966b1 Author: Ainar Garipov Date: Tue Dec 28 16:21:24 2021 +0300 all: imp uniq validation err msgs --- CHANGELOG.md | 6 +++ internal/aghalgo/aghalgo.go | 75 ++++++++++++++++++++++++++++++++ internal/dnsforward/access.go | 68 +++++++++++------------------ internal/home/config.go | 24 +++++++--- internal/home/controlinstall.go | 18 +++++--- internal/home/home.go | 15 ++++--- internal/home/portsmap.go | 63 --------------------------- internal/home/service.go | 2 +- internal/home/service_openbsd.go | 2 +- internal/home/tls.go | 21 ++++++--- 10 files changed, 166 insertions(+), 128 deletions(-) create mode 100644 internal/aghalgo/aghalgo.go delete mode 100644 internal/home/portsmap.go diff --git a/CHANGELOG.md b/CHANGELOG.md index b42f1372..5d0b2ee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,11 @@ and this project adheres to - `windows/arm64` support ([#3057]). +### Changed + +- The validation error message for duplicated allow- and blocklists in DNS + settings now shows the duplicated elements ([#3975]). + ### Deprecated