]> git.saurik.com Git - apt.git/commit
abort connection on '.' target replies in SRV
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 4 Sep 2016 16:53:26 +0000 (18:53 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sun, 4 Sep 2016 20:00:48 +0000 (22:00 +0200)
commit99fdd8034b4a5cdb0100a33d0b3d5e26079c1695
treed780cb2857d67af3009990ba7f730736312390ad
parent7ce2af82bb83a9f46df560db601a028024dc1567
abort connection on '.' target replies in SRV

Commit 3af3ac2f5ec007badeded46a94be2bd06b9917a2 (released in 1.3~pre1)
implements proper fallback for SRV, but that works actually too good
as the RFC defines that such an SRV record should indicate that the
server doesn't provide this service and apt should respect this.

The solution is hence to fail again as requested even if that isn't what
the user (and perhaps even the server admins) wanted. At least we will
print a message now explicitly mentioning SRV to point people in the
right direction.

Reported-In: https://bugs.kali.org/view.php?id=3525
Reported-By: Raphaƫl Hertzog
methods/connect.cc