Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dnsproxy for openSUSE:Factory checked in at 2024-05-05 12:11:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dnsproxy (Old) and /work/SRC/openSUSE:Factory/.dnsproxy.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dnsproxy" Sun May 5 12:11:05 2024 rev:26 rq:1171936 version:0.71.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dnsproxy/dnsproxy.changes 2024-04-29 09:07:58.061523027 +0200 +++ /work/SRC/openSUSE:Factory/.dnsproxy.new.1880/dnsproxy.changes 2024-05-05 12:11:26.753310411 +0200 @@ -1,0 +2,6 @@ +Sat May 04 23:41:19 UTC 2024 - Eyad Issa <[email protected]> + +- Update to version 0.71.1: + * Ignored wildcard specifications for top-level domains + +------------------------------------------------------------------- Old: ---- dnsproxy-0.71.0.obscpio New: ---- dnsproxy-0.71.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dnsproxy.spec ++++++ --- /var/tmp/diff_new_pack.ztzooR/_old 2024-05-05 12:11:27.293329955 +0200 +++ /var/tmp/diff_new_pack.ztzooR/_new 2024-05-05 12:11:27.297330101 +0200 @@ -17,7 +17,7 @@ Name: dnsproxy -Version: 0.71.0 +Version: 0.71.1 Release: 0 Summary: A DNS proxy server License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ztzooR/_old 2024-05-05 12:11:27.329331258 +0200 +++ /var/tmp/diff_new_pack.ztzooR/_new 2024-05-05 12:11:27.333331403 +0200 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/AdguardTeam/dnsproxy.git</param> - <param name="revision">v0.71.0</param> + <param name="revision">v0.71.1</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionformat">@PARENT_TAG@</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.ztzooR/_old 2024-05-05 12:11:27.353332127 +0200 +++ /var/tmp/diff_new_pack.ztzooR/_new 2024-05-05 12:11:27.357332272 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/AdguardTeam/dnsproxy.git</param> - <param name="changesrevision">e35720fca466dd5b5f0110eef15cf89b4040f8f1</param></service></servicedata> + <param name="changesrevision">6a9f811b12b8ab9fe7b83c6f95cfcc7f4c58aabb</param></service></servicedata> (No newline at EOF) ++++++ dnsproxy-0.71.0.obscpio -> dnsproxy-0.71.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnsproxy-0.71.0/README.md new/dnsproxy-0.71.1/README.md --- old/dnsproxy-0.71.0/README.md 2024-04-26 13:31:22.000000000 +0200 +++ new/dnsproxy-0.71.1/README.md 2024-05-02 15:35:29.000000000 +0200 @@ -338,11 +338,12 @@ ``` Sends requests for `*.host.com` to `1.1.1.1:53` except for `host.com` which is -sent to `8.8.8.8:53` (along with other requests): +sent to `9.9.9.10:53`, and all other requests are sent to `8.8.8.8:53`: ```sh ./dnsproxy\ - -u "8.8.8.8:53" + -u "8.8.8.8:53"\ + -u "[/host.com/]9.9.9.10:53"\ -u "[/*.host.com/]1.1.1.1:53" ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnsproxy-0.71.0/proxy/upstreams.go new/dnsproxy-0.71.1/proxy/upstreams.go --- old/dnsproxy-0.71.0/proxy/upstreams.go 2024-04-26 13:31:22.000000000 +0200 +++ new/dnsproxy-0.71.1/proxy/upstreams.go 2024-05-02 15:35:29.000000000 +0200 @@ -383,17 +383,18 @@ return uc.Upstreams } - var ok bool fqdn = strings.ToLower(fqdn) - if strings.Count(fqdn, ".") < 2 { - ups, ok = uc.lookupUpstreams(fqdn) - if ok { - return ups - } + if uc.SubdomainExclusions.Has(fqdn) { + return uc.lookupSubdomainExclusion(fqdn) + } + ups, ok := uc.lookupUpstreams(fqdn) + if ok { + return ups + } + + if _, fqdn, _ = strings.Cut(fqdn, "."); fqdn == "" { fqdn = UnqualifiedNames - } else if uc.SubdomainExclusions.Has(fqdn) { - return uc.lookupSubdomainExclusion(fqdn) } for fqdn != "" { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnsproxy-0.71.0/proxy/upstreams_internal_test.go new/dnsproxy-0.71.1/proxy/upstreams_internal_test.go --- old/dnsproxy-0.71.0/proxy/upstreams_internal_test.go 2024-04-26 13:31:22.000000000 +0200 +++ new/dnsproxy-0.71.1/proxy/upstreams_internal_test.go 2024-05-02 15:35:29.000000000 +0200 @@ -22,8 +22,9 @@ topLevelDomain = "example" topLevelFQDN = topLevelDomain + "." - firstLevelDomain = "name." + topLevelDomain - firstLevelFQDN = firstLevelDomain + "." + firstLevelDomain = "name." + topLevelDomain + firstLevelFQDN = firstLevelDomain + "." + wildcardFirstLevelDomain = "*." + topLevelDomain subDomain = "sub." + firstLevelDomain subFQDN = subDomain + "." @@ -51,6 +52,7 @@ generalUpstream, "[//]" + unqualifiedUpstream, "[/" + topLevelDomain + "/]" + tldUpstream, + "[/" + wildcardFirstLevelDomain + "/]#", "[/" + firstLevelDomain + "/]" + domainUpstream, "[/" + wildcardDomain + "/]" + wildcardUpstream, "[/" + generalDomain + "/]#", @@ -82,7 +84,7 @@ }, { name: "unspecified_subdomain", in: unspecifiedFQDN + topLevelFQDN, - want: []string{tldUpstream}, + want: []string{generalUpstream}, }, { name: "domain", in: firstLevelFQDN, @@ -136,7 +138,7 @@ }, { name: "unspecified_subdomain", in: unspecifiedFQDN + topLevelFQDN, - want: []string{tldUpstream}, + want: []string{generalUpstream}, }, { name: "domain", in: firstLevelFQDN, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnsproxy-0.71.0/upstream/dnscrypt_internal_test.go new/dnsproxy-0.71.1/upstream/dnscrypt_internal_test.go --- old/dnsproxy-0.71.0/upstream/dnscrypt_internal_test.go 2024-04-26 13:31:22.000000000 +0200 +++ new/dnsproxy-0.71.1/upstream/dnscrypt_internal_test.go 2024-05-02 15:35:29.000000000 +0200 @@ -93,7 +93,7 @@ func TestUpstreamDNSCrypt(t *testing.T) { // AdGuard DNS (DNSCrypt) - address := "sdns://AQIAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20" + address := "sdns://AQMAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20" u, err := AddressToUpstream(address, &Options{Timeout: dialTimeout}) require.NoError(t, err) testutil.CleanupAndRequireSuccess(t, u.Close) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnsproxy-0.71.0/upstream/resolver_test.go new/dnsproxy-0.71.1/upstream/resolver_test.go --- old/dnsproxy-0.71.0/upstream/resolver_test.go 2024-04-26 13:31:22.000000000 +0200 +++ new/dnsproxy-0.71.1/upstream/resolver_test.go 2024-05-02 15:35:29.000000000 +0200 @@ -63,7 +63,7 @@ wantErrMsg: "", }, { name: "sdns", - addr: "sdns://AQIAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20", + addr: "sdns://AQMAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20", wantErrMsg: "", }, { name: "tcp", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnsproxy-0.71.0/upstream/upstream_internal_test.go new/dnsproxy-0.71.1/upstream/upstream_internal_test.go --- old/dnsproxy-0.71.0/upstream/upstream_internal_test.go 2024-04-26 13:31:22.000000000 +0200 +++ new/dnsproxy-0.71.1/upstream/upstream_internal_test.go 2024-05-02 15:35:29.000000000 +0200 @@ -159,11 +159,11 @@ }, { // AdGuard DNS (DNSCrypt) bootstrap: nil, - address: "sdns://AQIAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20", + address: "sdns://AQMAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20", }, { // AdGuard Family (DNSCrypt) bootstrap: googleBoot, - address: "sdns://AQIAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMjo1NDQzILgxXdexS27jIKRw3C7Wsao5jMnlhvhdRUXWuMm1AFq6ITIuZG5zY3J5cHQuZmFtaWx5Lm5zMS5hZGd1YXJkLmNvbQ", + address: "sdns://AQMAAAAAAAAAETk0LjE0MC4xNC4xNTo1NDQzILgxXdexS27jIKRw3C7Wsao5jMnlhvhdRUXWuMm1AFq6ITIuZG5zY3J5cHQuZmFtaWx5Lm5zMS5hZGd1YXJkLmNvbQ", }, { // Cloudflare DNS (DNS-over-HTTPS) bootstrap: googleBoot, ++++++ dnsproxy.obsinfo ++++++ --- /var/tmp/diff_new_pack.ztzooR/_old 2024-05-05 12:11:27.517338063 +0200 +++ /var/tmp/diff_new_pack.ztzooR/_new 2024-05-05 12:11:27.521338207 +0200 @@ -1,5 +1,5 @@ name: dnsproxy -version: 0.71.0 -mtime: 1714131082 -commit: e35720fca466dd5b5f0110eef15cf89b4040f8f1 +version: 0.71.1 +mtime: 1714656929 +commit: 6a9f811b12b8ab9fe7b83c6f95cfcc7f4c58aabb ++++++ vendor.tar.zstd ++++++ Binary files /var/tmp/diff_new_pack.ztzooR/_old and /var/tmp/diff_new_pack.ztzooR/_new differ
