Re: Connecting to ftp.gnu.org ... failed: Connection refused.

"Eric Clothier" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 17 Aug 2025 09:14:35 -0400
Newsgroups gmane.linux.lfs.automated
Message-ID <CAAGwWFXwdRCb0iMGwssgzOE+Hu7QAuK6nShUDkFEzqYcR7AaJg@mail.gmail.com>
On Sun, Aug 17, 2025, 08:23 "md" <[email protected]>
wrote:

> Hi,
>
> For about a week downloads from ftp.gnu.org fail after about 10 attempts
> are
> made:
> wget https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz
> --2025-08-17 13:55:06--  https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz
> Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, 2001:470:142:3::b
> Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 885748 (865K) [application/x-xz]
> Saving to: ‘gzip-1.14.tar.xz’
>
> gzip-1.14.tar.xz           55%[==================>                 ]
> 476.02K
> 658KB/s               ^C
> ...
> wget https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz
> --2025-08-17 14:08:26--  https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz
> Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, 2001:470:142:3::b
> Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:443... failed:
> Connection refused.
> Connecting to ftp.gnu.org (ftp.gnu.org)|2001:470:142:3::b|:443... failed:
> Network is unreachable.
>
> You may be able to reproduce the problem by running:
> for i in $(seq 1 15); do timeout 0.5 wget
> https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz; done
>
> See also
>
> https://github.com/conan-io/conan-center-index/issues/27830#issuecomment-3179784766
>
> Marcin
> --
> http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
> Unsubscribe: See the above information page


I mentioned this on the BLFS support mailing list. The issue is a very
widespread and ongoing DDoS attack against GNU and FSF sites. As a work
around, there are a few options.

1. You could manually update the URL in your wget commands to use the
mirrors provided by LFS, assuming you are building from a stable book.
2. You could also manually update the URL in your wget commands to use
https://ftpmirror.gnu.org. That site is a mirror selector for GNU, and will
auto resolve to a mirror site.
3. You could also manually update the URL to use a mirror listed on the GNU
site instead of using the mirror selector.

From what was said in response to my report on the BLFS mailing list, it is
a known issue, and the LFS team has been in contact with the FSF/GNU team.

Here is a link, provided in my report to BLFS support by Rainer, that
details some of the issue GNU and the FSF are facing at the moment.

https://www.fsf.org/blogs/sysadmin/our-small-team-vs-millions-of-bots

I hope one of the suggestions above can help you retrieve the sources you
need.

Thanks,
Eric

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page