Members

  • This project does not have any members.

Watchers

  • This project does not have any watchers.

Details

Description

DNS related

Recent Activity

Mon, Apr 1

robbat2 added a comment to T4444: dirmngr fails with keyservers specified by IP without rDNS; reported as dead host or uses wrong Host header.

HTTP/1.1 spec, RFC 7230, Section 5.4, paragraph 2:
https://tools.ietf.org/html/rfc7230#section-5.4

Mon, Apr 1, 8:24 PM · Keyserver, dns, dirmngr, Bug Report
werner added a comment to T4444: dirmngr fails with keyservers specified by IP without rDNS; reported as dead host or uses wrong Host header.

Please be so kind and point me to the specs stating that you should put the IP address into Host:

Mon, Apr 1, 8:01 PM · Keyserver, dns, dirmngr, Bug Report
robbat2 added a comment to T4444: dirmngr fails with keyservers specified by IP without rDNS; reported as dead host or uses wrong Host header.

It's up to GPG to send the Host header that shows the user's intent.

Mon, Apr 1, 6:20 PM · Keyserver, dns, dirmngr, Bug Report
werner added a comment to T4444: dirmngr fails with keyservers specified by IP without rDNS; reported as dead host or uses wrong Host header.

So in short you want:

  1. Allow to specify a keyserver by IP without any DNS lookups.
  2. When connecting via IP use the IP address for Host:.
Mon, Apr 1, 12:55 PM · Keyserver, dns, dirmngr, Bug Report
werner triaged T4443: IPv6 address with scope not accepted as keyserver as Normal priority.
Mon, Apr 1, 10:24 AM · gnupg (gpg23), dirmngr, dns, Bug Report

Sun, Mar 31

robbat2 created T4444: dirmngr fails with keyservers specified by IP without rDNS; reported as dead host or uses wrong Host header.
Sun, Mar 31, 10:35 PM · Keyserver, dns, dirmngr, Bug Report
robbat2 created T4443: IPv6 address with scope not accepted as keyserver.
Sun, Mar 31, 9:41 PM · gnupg (gpg23), dirmngr, dns, Bug Report

Mar 19 2019

wheelerlaw added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

Also might I add, this used to work perfectly fine in gnupg14. It seems that somewhere along the line a regression was introduced that is causing this erroneous non-compliant behavior in the HTTP client.

Mar 19 2019, 6:18 PM · gnupg (gpg22), dns, dirmngr
wheelerlaw added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

Why? Your explanation is invalid because it implicates dirmngr's HTTP client as not comforming to the spec laid out by the RFC. I've quite clearly explained--and backed up with the spec itself--that when a proxy variable is configured, a client should not be doing DNS lookup of the destination hostname. Is there something about that you are not understanding?

Mar 19 2019, 6:13 PM · gnupg (gpg22), dns, dirmngr
werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

Please show an example regarding something else than a failed access to a pool of keyservers. I explained why it can't work for pools for you.

Mar 19 2019, 7:59 AM · gnupg (gpg22), dns, dirmngr

Mar 18 2019

wheelerlaw reopened T3065: dirmngr: proxy issues with dnslookup causing failure as "Open".

Yes you can, and no you do not. Don't believe me? Then read the spec. At no point does the spec say that there is "nothing that can be done" when a hostname cannot be resolved when connecting through a proxy. In fact, it states precisely the opposite, describing the exact procedure a client should take when making a request through a proxy. See section 5.3, paragraph 3:

Mar 18 2019, 9:21 PM · gnupg (gpg22), dns, dirmngr
werner closed T3065: dirmngr: proxy issues with dnslookup causing failure as Invalid.

No we can't we need to know the IP addresses to handle the pools. I have given a workaround for you in my previous comment. You can also use install Tor which we can use for DNS resolving.

Mar 18 2019, 7:26 PM · gnupg (gpg22), dns, dirmngr

Dec 14 2018

wheelerlaw edited projects for T3065: dirmngr: proxy issues with dnslookup causing failure, added: gnupg (gpg22); removed FAQ.
Dec 14 2018, 7:29 PM · gnupg (gpg22), dns, dirmngr
wheelerlaw added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.
So if your DNS resolver does not tell us the IP addresses, we can't do anything about it.
Dec 14 2018, 7:25 PM · gnupg (gpg22), dns, dirmngr

Dec 11 2018

werner edited projects for T3065: dirmngr: proxy issues with dnslookup causing failure, added: FAQ; removed gnupg (gpg22).
Dec 11 2018, 3:48 PM · gnupg (gpg22), dns, dirmngr
werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

If you specify a pool of keyservers dirmngr selects a keyserver on its won from the pool. This is so that it can use its own heuristics to detect whether a keyserver is dead and then retry another one. Now the default is a pool and your specified keyserver.ubuntu.com is also a pool (of two servers). So if your DNS resolver does not tell us the IP addresses, we can't do anything about it.

Dec 11 2018, 3:48 PM · gnupg (gpg22), dns, dirmngr
werner added a project to T3168: dirmngr: gpg: keyserver receive failed: No keyserver available: dns.
Dec 11 2018, 12:40 PM · dns, dirmngr

Oct 25 2018

werner triaged T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open as Low priority.

It seems that this part of the code was not finished. Unfortunately upstream of the dns code is unresponsive and thus we started to maintain the code base by ourselves. There is still an open question whether we should do that to the full extend, in which case we would integrate the code closer into the GnuPG framework with its own logging subsystems.

Oct 25 2018, 5:06 PM · dns, gnupg

Aug 21 2018

wheelerlaw added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

A workaround for this until the HTTP client is fixed is to just use curl instead:

Aug 21 2018, 5:59 PM · gnupg (gpg22), dns, dirmngr
wheelerlaw added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

I am running into the same exact issue. It seems that dirmng is incorrectly attempting to resolve the addresses for the keyservers despite having been given an HTTP proxy to connect through.

Aug 21 2018, 5:31 PM · gnupg (gpg22), dns, dirmngr

Jul 12 2018

werner closed T4036: gnupg 2.2.9 release, a subtask of T3374: gpg recv-keys fail if first dns server end up with "Connection refused", as Resolved.
Jul 12 2018, 4:54 PM · dns, dirmngr, Bug Report
werner closed T4036: gnupg 2.2.9 release, a subtask of T3803: dirmngr issues malformed DNS queries, as Resolved.
Jul 12 2018, 4:54 PM · dns, dirmngr, Bug Report
werner closed T3803: dirmngr issues malformed DNS queries as Resolved.
Jul 12 2018, 3:27 PM · dns, dirmngr, Bug Report
werner closed T3374: gpg recv-keys fail if first dns server end up with "Connection refused" as Resolved.
Jul 12 2018, 3:26 PM · dns, dirmngr, Bug Report

Jun 20 2018

gniibe added a subtask for T3803: dirmngr issues malformed DNS queries: T4036: gnupg 2.2.9 release.
Jun 20 2018, 8:03 AM · dns, dirmngr, Bug Report
gniibe removed a parent task for T3803: dirmngr issues malformed DNS queries: T4036: gnupg 2.2.9 release.
Jun 20 2018, 8:03 AM · dns, dirmngr, Bug Report
gniibe added a subtask for T3374: gpg recv-keys fail if first dns server end up with "Connection refused": T4036: gnupg 2.2.9 release.
Jun 20 2018, 8:02 AM · dns, dirmngr, Bug Report
gniibe removed a parent task for T3374: gpg recv-keys fail if first dns server end up with "Connection refused": T4036: gnupg 2.2.9 release.
Jun 20 2018, 8:02 AM · dns, dirmngr, Bug Report
gniibe added a parent task for T3374: gpg recv-keys fail if first dns server end up with "Connection refused": T4036: gnupg 2.2.9 release.
Jun 20 2018, 8:01 AM · dns, dirmngr, Bug Report
gniibe added a parent task for T3803: dirmngr issues malformed DNS queries: T4036: gnupg 2.2.9 release.
Jun 20 2018, 7:58 AM · dns, dirmngr, Bug Report
gniibe changed the status of T3374: gpg recv-keys fail if first dns server end up with "Connection refused" from Open to Testing.

Applied to 2.2 branch.

Jun 20 2018, 4:34 AM · dns, dirmngr, Bug Report

Jun 19 2018

werner closed T3755: TLS hostname verification using hostname from DNS instead of supplied hostname as Resolved.
Jun 19 2018, 1:34 PM · gnupg (gpg22), dns, dirmngr

Jun 18 2018

gniibe changed the status of T3803: dirmngr issues malformed DNS queries from Open to Testing.

And 2.2 branch.

Jun 18 2018, 10:28 AM · dns, dirmngr, Bug Report
gniibe added a commit to T3803: dirmngr issues malformed DNS queries: rG87d0ecf8a1b8: libdns: Fix for non-FQDN hostname..
Jun 18 2018, 10:28 AM · dns, dirmngr, Bug Report
gniibe added a commit to T3374: gpg recv-keys fail if first dns server end up with "Connection refused": rG699fe4b36f62: libdns: Fix connect and try next nameserver when ECONNREFUSED..
Jun 18 2018, 10:28 AM · dns, dirmngr, Bug Report
gniibe added a comment to T3803: dirmngr issues malformed DNS queries.

Fixed in master.

Jun 18 2018, 8:11 AM · dns, dirmngr, Bug Report
gniibe added a commit to T3803: dirmngr issues malformed DNS queries: rGa4a054bf14fa: libdns: Fix for non-FQDN hostname..
Jun 18 2018, 3:16 AM · dns, dirmngr, Bug Report

Jun 15 2018

gniibe claimed T3803: dirmngr issues malformed DNS queries.

I'll fix for the non-FQDN case.

Jun 15 2018, 11:08 AM · dns, dirmngr, Bug Report
gniibe added a comment to T3803: dirmngr issues malformed DNS queries.

I think that I identified the issue. This is the libdns (dirmngr/dns.c) problem when hostname is not FQDN.
If you change it to FQDN, you can see that it tries to search adding the domain name.

Jun 15 2018, 8:18 AM · dns, dirmngr, Bug Report
gniibe added a commit to T3374: gpg recv-keys fail if first dns server end up with "Connection refused": rGbcdbf8b8ebe9: libdns: Fix connect and try next nameserver when ECONNREFUSED..
Jun 15 2018, 6:04 AM · dns, dirmngr, Bug Report
gniibe added a comment to T3374: gpg recv-keys fail if first dns server end up with "Connection refused".

Fixed in master.

Jun 15 2018, 6:04 AM · dns, dirmngr, Bug Report
gniibe claimed T3374: gpg recv-keys fail if first dns server end up with "Connection refused".

It is indirectly reported at the upstream: https://github.com/wahern/dns/issues/19

Jun 15 2018, 5:57 AM · dns, dirmngr, Bug Report

Apr 26 2018

werner changed the status of T3755: TLS hostname verification using hostname from DNS instead of supplied hostname from Open to Testing.
Apr 26 2018, 4:41 PM · gnupg (gpg22), dns, dirmngr
werner added a commit to T3755: TLS hostname verification using hostname from DNS instead of supplied hostname: rGcc66108253c5: dirmngr: Fix handling of CNAMEed keyserver pools..
Apr 26 2018, 12:41 PM · gnupg (gpg22), dns, dirmngr

Apr 17 2018

werner triaged T3722: gpg "No name" error as Normal priority.
Apr 17 2018, 8:21 PM · dns
werner triaged T3517: dirmngr: retry without SRV due to buggy routers as High priority.

An option to ignore SRV records would also be good for debugging. Thus I raised the priority and truned this into a feature request.

Apr 17 2018, 8:03 PM · Feature Request, dns, dirmngr
werner closed T3546: ERR 219 on --refresh-keys / --send-keys /... as Invalid.

@Beiri22: It was my fault to to tell you to use scdaemon.conf. The correct conf file is of course dirmngr.conf. However, with @BenM comments I don't think that it is a bug at all. I am thus closing this; please feel free to re-open if we were wrong

Apr 17 2018, 8:00 PM · dns, Bug Report

Apr 11 2018

BenM added a comment to T3546: ERR 219 on --refresh-keys / --send-keys /....

Since the initial redacted data for those four keys is still accessible, I checked all of those keys manually and none of them are on the keyservers. Since the OP was connecting to the specified keyserver successfully prior to that failure, I believe this is the cause of the error and not another DNS vs. Dirmngr conflict.

Apr 11 2018, 4:13 AM · dns, Bug Report

Apr 9 2018

werner edited projects for T3755: TLS hostname verification using hostname from DNS instead of supplied hostname, added: gnupg (gpg22); removed gnupg.

That slipped my attention due to the missing gpg22 tag I should have added. Sorry.

Apr 9 2018, 10:45 PM · gnupg (gpg22), dns, dirmngr
twforeman added a comment to T3755: TLS hostname verification using hostname from DNS instead of supplied hostname.

Is there any ETA for when this might get fixed? We are having the same issue with our keyserver since it's behind a cname.

Apr 9 2018, 2:43 PM · gnupg (gpg22), dns, dirmngr