On Tue, Apr 02, 2024 at 12:35:53PM +0200, Carsten Otto wrote:
Hi,
Hello.
I'm one of the admins of ftp.halifax.rwth-aachen.de, which offers
fedora
and fedora-epel among other distributions and projects. I've recently
noticed that many Fedora users (including EPEL, CentOS, and BlackArch)
frequently re-download "repodata" files that haven't been updated since
the previous request.
How are you determining this? From IP address?
Those could be a large number of different machines behind a nat proxy
no?
As some of those files are rather large ("filelists") and
others are hit
extremely often, I added fail2ban rules to deny users access to our
service for some time.
Recent versions of fedora do not even download the filelists unless a
user requests/looks up something that needs it. For normal install or
updates, it shouldn't be pulled. Can you tell what OS/versions this is
happening with?
In general clients should pull the repomd.xml file and check if it's
changed, if not, use their cached versions.
Please adjust your software so that file mirrors like ours are not
(ab)used like this. Files that haven't been changed usually shouldn't be
downloaded.
This should normally already be the case, so I wonder what is happening
here, could be a bug in some version/os or otherwise something
unexpected.
kevin