Version in base suite: 6.7-3.1+deb13u3 Version in overlay suite: 6.7-3.1+deb13u4 Base version: brltty_6.7-3.1+deb13u4 Target version: brltty_6.7-3.1+deb13u5 Base file: /srv/ftp-master.debian.org/ftp/pool/main/b/brltty/brltty_6.7-3.1+deb13u4.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/b/brltty/brltty_6.7-3.1+deb13u5.dsc changelog | 7 +++++++ patches/git-localhost-timeout2 | 23 +++++++++++++++++++++++ patches/series | 1 + 3 files changed, 31 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpyehpuw8d/brltty_6.7-3.1+deb13u4.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpyehpuw8d/brltty_6.7-3.1+deb13u5.dsc: no acceptable signature found diff -Nru brltty-6.7/debian/changelog brltty-6.7/debian/changelog --- brltty-6.7/debian/changelog 2026-09-19 12:27:54.000000000 +0000 +++ brltty-6.7/debian/changelog 2026-11-14 20:59:38.000000000 +0000 @@ -1,3 +1,10 @@ +brltty (6.7-3.1+deb13u5) trixie; urgency=medium + + * patches/git-localhost-timeout2: Fix connections to localhost for IPv6 + (Closes: Bug#1153378) + + -- Samuel Thibault Sat, 14 Nov 2026 21:59:38 +0100 + brltty (6.7-3.1+deb13u4) trixie; urgency=medium * patches/git-localhost-timeout: Make connections to localhost timeout after diff -Nru brltty-6.7/debian/patches/git-localhost-timeout2 brltty-6.7/debian/patches/git-localhost-timeout2 --- brltty-6.7/debian/patches/git-localhost-timeout2 1970-01-01 00:00:00.000000000 +0000 +++ brltty-6.7/debian/patches/git-localhost-timeout2 2026-11-14 20:59:38.000000000 +0000 @@ -0,0 +1,23 @@ +commit b3c93ca73cf82558c9a0735c8b525af58861aee7 +Author: Komorebi Aware +Date: Sat Nov 7 21:48:45 2026 +0100 + + Compare the IPv6 address field when applying the localhost timeout + + The existing guard compares the sockaddr_in6 header to an in6_addr, so it + does not recognize ::1 and never sets the short timeout for IPv6 loopback. + Compare sin6_addr instead, preserving the IPv4 test and the existing timeout. + +diff --git a/Programs/brlapi_client.c b/Programs/brlapi_client.c +index e0dca7ee8..b9745dac5 100644 +--- a/Programs/brlapi_client.c ++++ b/Programs/brlapi_client.c +@@ -935,7 +935,7 @@ static int tryHost(brlapi_handle_t *handle, const char *hostAndPort) { + && (ntohl(((struct sockaddr_in *)cur->ai_addr)->sin_addr.s_addr) & IN_CLASSA_NET) + == (INADDR_LOOPBACK & IN_CLASSA_NET)) + || (cur->ai_family == AF_INET6 +- && !memcmp(cur->ai_addr, &ip6_localhost, sizeof(ip6_localhost)))) { ++ && !memcmp(&((struct sockaddr_in6 *)cur->ai_addr)->sin6_addr, &ip6_localhost, sizeof(ip6_localhost)))) { + /* Local connection, it should be fast, otherwise it means we have a + * firewall blocking us, and then better not wait unnecessarily. */ + struct timeval tv = { .tv_usec = 100000 }; diff -Nru brltty-6.7/debian/patches/series brltty-6.7/debian/patches/series --- brltty-6.7/debian/patches/series 2026-09-19 12:27:29.000000000 +0000 +++ brltty-6.7/debian/patches/series 2026-11-14 20:59:38.000000000 +0000 @@ -9,3 +9,4 @@ noverbose-usbfs systemd-vtnr git-localhost-timeout +git-localhost-timeout2