Your message dated Sun, 10 May 2026 16:32:25 +0000
with message-id <[email protected]>
and subject line Bug#1135891: fixed in debmirror 1:2.47+deb13u1
has caused the Debian Bug report #1135891,
regarding debmirror: User-Agent blocked by Ubuntu/Launchpad repositories
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1135891: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135891
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debmirror
Version: 1:2.48
Severity: important
Tags: patch

Dear developers,

Since last week-end's DDOS attack, Canonical made some changes in their infrastructure and libwww-perl's default User-Agent string (libwww-perl/X.XX) is now blocked, making debmirror unable to mirror Ubuntu and Launchpad repositories.

This simple patch adds a User-Agent header specific to debmirror (debmirror/version), making it work again with those repositories.

Regards,

--
Raphaël Halimi
From 26c7c1915090a3a81bba5bce21e299e66cb83154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Halimi?= <[email protected]>
Date: Thu, 7 May 2026 08:58:56 +0200
Subject: [PATCH] Add debmirror-specific User-Agent header

---
 debmirror | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debmirror b/debmirror
index a6dd865..bd4fdec 100755
--- a/debmirror
+++ b/debmirror
@@ -927,6 +927,7 @@ sub init_connection {
 
   downloads_via_http() && do {
     $ua = LWP::UserAgent->new(keep_alive => 1);
+    $ua->agent("debmirror/$version");
     $ua->timeout($timeout);
     $ua->proxy('http', $ENV{http_proxy}) if $ENV{http_proxy};
     $ua->proxy('http', $proxy) if $proxy;
@@ -941,6 +942,7 @@ sub init_connection {
   downloads_via_https() && do {
     $ua = LWP::UserAgent->new(keep_alive => 1, ssl_opts => {
                     verify_hostname => ! $disable_ssl_verification });
+    $ua->agent("debmirror/$version");
     $ua->timeout($timeout);
     $ua->proxy('https', $ENV{https_proxy}) if $ENV{https_proxy};
     $ua->proxy('https', $proxy) if $proxy;
@@ -956,6 +958,7 @@ sub init_connection {
   downloads_via_ftp() && do {
     if ($proxy || $ENV{ftp_proxy}) {
       $ua = LWP::UserAgent->new;
+    $ua->agent("debmirror/$version");
       $ua->timeout($timeout);
       $ua->proxy('ftp', $proxy ? $proxy : $ENV{ftp_proxy});
     }
@@ -972,6 +975,7 @@ sub init_connection {
 
   downloads_via_file() && do {
     $ua = LWP::UserAgent->new;
+    $ua->agent("debmirror/$version");
     $ua->timeout($timeout);
     $ua->show_progress($progress);
     $host='localhost';
-- 
2.53.0


--- End Message ---
--- Begin Message ---
Source: debmirror
Source-Version: 1:2.47+deb13u1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
debmirror, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated debmirror package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 07 May 2026 11:47:09 +0100
Source: debmirror
Architecture: source
Version: 1:2.47+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Colin Watson <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1135891
Changes:
 debmirror (1:2.47+deb13u1) trixie; urgency=medium
 .
   [ Raphaël Halimi ]
   * Add debmirror-specific User-Agent header (closes: #1135891).
Checksums-Sha1:
 e6d18f63b64b18b70956aab5104e488d745b0e40 1935 debmirror_2.47+deb13u1.dsc
 9d8cffaf692afcfb7ec1136346a7f4032bfdf158 57608 debmirror_2.47+deb13u1.tar.xz
 ba5aa6eed9d3734ba98a7a25cc7861bd591e6532 94120 
debmirror_2.47+deb13u1.git.tar.xz
 68f22ce44dcedf37542f0c0cd3942d64ba9c5ebd 17378 
debmirror_2.47+deb13u1_source.buildinfo
Checksums-Sha256:
 b3ad5b92885cf279f47da6aeb6964904ce16bdb9aeae16b27aba90c6c76de7dc 1935 
debmirror_2.47+deb13u1.dsc
 ae8dd7f590be0125d8b7e9cc871ffe91391bc1d3adf2afea43d90f88a5298518 57608 
debmirror_2.47+deb13u1.tar.xz
 fc8e71c7686921866aa5422d92e959124a3b4caa10b9d592aaf6446416b37550 94120 
debmirror_2.47+deb13u1.git.tar.xz
 5cae1d5551312e832478480595a2e599dc1718437d6655fdbbb0db936c2a6cd2 17378 
debmirror_2.47+deb13u1_source.buildinfo
Files:
 94b7cf3b1fd84cd18a4690135f6e545d 1935 net optional debmirror_2.47+deb13u1.dsc
 60a38c121d91eea05fffd00e62e23343 57608 net optional 
debmirror_2.47+deb13u1.tar.xz
 2a5c246ed7b3380275f9500e5de87f3a 94120 net optional 
debmirror_2.47+deb13u1.git.tar.xz
 541ef4419d504616d8d00af556d2406d 17378 net optional 
debmirror_2.47+deb13u1_source.buildinfo
Git-Tag-Info: tag=cdcbc496e3d0d244c15b4cf8a7f9466b93301e5f 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmoAkSMACgkQYG0ITkaD
wHm9zQ/+PmXGeTdn/u2mUdx0zKuLZS+1zPYKXS8gEfvU7bWIqDTuc8WsuP4EHnmf
xRdUBSryWe9dsFAGqZRc4KCuO+WNAhf+ILwusPdmYuteLlQyzcaHbcdPQ2qYicT3
oYKdhxyYJkHvwpeKFN6Ra6q181+F+daUIXNluhECzdRwatk1vGGp4qBB1ZtnkJZd
/MTyap4c2JG92ki2LF7erReSyBjAMyFijbWg2aKjAzqooZcUWaf0HPdhqUxo3jJM
rShpm9dj2/jmFjdTd39BtQduHLyzGmWNVplJfD50PAbYbAljNlnwFy2XOYwpd+Nd
64mrGAZHJkYD4oHfL9Ar4YZGRuA7dbILNxSG50GRo61iPyETC5feAAbpNDrHhBwj
PMYCBRqPeg5apt2Hfd8q8EGFr4iEzgYeM+sdFdsHhiBsivmDJwv8jpvfNeAlBuki
OI5rCrSMNVMmYZlA+M+nvU+4TLXLjac+m0L8Lk3pCj+S9pgmou6PZJD26DJlorhe
uNhjPG63PWKR0Nzn+mOqVR9JeYg0BWjh7hs19tibvn6xtgKuQb4FccY3EPxJYnrF
ze0d09sqDfN+l+n4vdLxr21DB3wOVWQdkMowq9l93UAfo0QqqQI8Dp9cZkWkAmX8
f5mPFxE/zKnriDKKWx5SyYuGhVkp8yMwVJUGQZi2+Zn9lF8CEPY=
=pOCr
-----END PGP SIGNATURE-----

Attachment: pgpNYYHFQDO9f.pgp
Description: PGP signature


--- End Message ---

Reply via email to