<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/methods/connect.cc, branch 1.3_rc2</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.3_rc2</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.3_rc2'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-08-10T23:34:39Z</updated>
<entry>
<title>block direct connections to .onion domains (RFC7687)</title>
<updated>2016-08-10T23:34:39Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-08-06T11:53:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8665dceb5cf2a197ae270b08066f05c8a2870223'/>
<id>urn:sha1:8665dceb5cf2a197ae270b08066f05c8a2870223</id>
<content type='text'>
Doing a direct connect to an .onion address (if you don't happen to use
it as a local domain, which you shouldn't) is bound to fail and does
leak the information that you do use Tor and which hidden service you
wanted to connect to to a DNS server. Worse, if the DNS is poisoned and
actually resolves tricking a user into believing the setup would work
correctly…

This does block also the usage of wrappers like torsocks with apt, but
with native support available and advertised in the error message this
shouldn't really be an issue.

Inspired-by: https://bugzilla.mozilla.org/show_bug.cgi?id=1228457
</content>
</entry>
<entry>
<title>keep trying with next if connection to a SRV host failed</title>
<updated>2016-07-06T13:53:59Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-06T12:49:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3af3ac2f5ec007badeded46a94be2bd06b9917a2'/>
<id>urn:sha1:3af3ac2f5ec007badeded46a94be2bd06b9917a2</id>
<content type='text'>
Instead of only trying the first host we get via SRV, we try them all as
we are supposed to and if that isn't working we try to connect to the
host itself as if we hadn't seen any SRV records. This was already the
intend of the old code, but it failed to hide earlier problems for the
next call, which would unconditionally fail then resulting in an all
around failure to connect. With proper stacking we can also keep the
error messages of each call around (and in the order tried) so if the
entire connection fails we can report all the things we have tried while
we discard the entire stack if something works out in the end.
</content>
</entry>
<entry>
<title>Do not remove a not working SrvRecords server twice</title>
<updated>2016-01-05T19:49:19Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2016-01-05T19:49:19Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0b7d34ee9dd467b23835377f911af47019d8f713'/>
<id>urn:sha1:0b7d34ee9dd467b23835377f911af47019d8f713</id>
<content type='text'>
The PopFromSrvRecs() already removed the entry from the active
list, so the extra SrvRecords.erase() was incorrect.

Git-Dch: ignore
</content>
</entry>
<entry>
<title>activate AI_IDN by default to support IDN domains</title>
<updated>2015-11-05T11:21:33Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-05T01:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=920c367267398945ff48cac6ea7196f7151f181e'/>
<id>urn:sha1:920c367267398945ff48cac6ea7196f7151f181e</id>
<content type='text'>
AI_IDN is a glibc extension, but we can worry about this at the time
actually anyone is seriously trying apt on non-glibc systems.

Closes: 763437
</content>
</entry>
<entry>
<title>allow getaddrinfo flag AI_ADDRCONFIG to be disabled</title>
<updated>2015-11-04T17:42:28Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-03T15:05:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=23d35ec15a849ee755f51a99939b0131e8faefa5'/>
<id>urn:sha1:23d35ec15a849ee755f51a99939b0131e8faefa5</id>
<content type='text'>
This flags is generally handy to avoid having to deal with ipv6 results on an
ipv4-only system, but it prevents e.g. the testcases from working if the
testsystem has no configured address at the moment (expect loopback), so
allow it to be sidestepped and let the testcases sidestep it.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>fix some unused parameter/variable warnings</title>
<updated>2015-08-31T15:48:54Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-08-31T15:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b830f576a81751f4b04bc889fa82aaca0e6fc3ea'/>
<id>urn:sha1:b830f576a81751f4b04bc889fa82aaca0e6fc3ea</id>
<content type='text'>
Reported-By: gcc
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2015-08-24T10:39:57Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2015-08-24T10:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c8ec5ab764e90565b58ba5f55f4d9d6939b44c69'/>
<id>urn:sha1:c8ec5ab764e90565b58ba5f55f4d9d6939b44c69</id>
<content type='text'>
Thanks: Julian Andres Klode
Git-Dch: ignore
</content>
</entry>
<entry>
<title>Add basic (non weight adjusted) shuffling for SrvRecords selection</title>
<updated>2015-08-20T09:41:51Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2015-08-20T08:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c29dbdffcb6f67812f823f1f844b87320cf6b437'/>
<id>urn:sha1:c29dbdffcb6f67812f823f1f844b87320cf6b437</id>
<content type='text'>
Also add "Debug::Acquire::SrvRecs" debug option and the option
"Acquire::EnableSrvRecods" to allow disabling this lookup.
</content>
</entry>
<entry>
<title>cleanup</title>
<updated>2015-08-18T13:41:02Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2015-08-18T13:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cdeb54d4626ddc841d8898a8283084a8de3b25ee'/>
<id>urn:sha1:cdeb54d4626ddc841d8898a8283084a8de3b25ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>when using srv records, use the next server if one fails to connect</title>
<updated>2014-05-23T14:46:32Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-05-23T14:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cc4800145b408de0b4afef88f4489a541024e75a'/>
<id>urn:sha1:cc4800145b408de0b4afef88f4489a541024e75a</id>
<content type='text'>
</content>
</entry>
</feed>
