Home GnuPG
Diffusion GnuPG 9850124c7bdf

dirmngr: Allow reverse DNS lookups in Tor-mode.
9850124c7bdfUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Allow reverse DNS lookups in Tor-mode.

* dirmngr/dns-stuff.c (resolve_dns_name): Move up in the file.
(resolve_addr_libdns): New.
(resolve_dns_addr): Divert to resolve_dns_addr.

In the old code reverse lookups where disabled in Tor mode. By
implementing the reverse lookups via libdns it is now possible to do
them also in Tor mode.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 16 2017, 7:03 PM
Parents
rGdaae97bc1474: dirmngr: Avoid network queries for literal IP addresses.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG9850124c7bdf: dirmngr: Allow reverse DNS lookups in Tor-mode. (authored by Werner Koch <wk@gnupg.org>).Jan 16 2017, 7:12 PM