Skip to content

[1.34.0] mirrorbrain detects and rejects downloads through aria2, despite disguise as wget #1298

@hartwork

Description

@hartwork

Hi!

I'm using aria2 to download source tarballs (of GNOME Meld) with fetchcommandwrapper. The precise call to aria2 is this:

/usr/bin/aria2c -d /usr/portage/distfiles -o meld-3.18.3.tar.xz --allow-overwrite=true --max-tries=5 --max-file-not-found=2 --user-agent=Wget/1.19.1 --split=1 --max-connection-per-server=1 --uri-selector=inorder https://download.gnome.org/sources/meld/3.18/meld-3.18.3.tar.xz

Interestingly, the GNOME server runs mirrorbrain, detects aria2c somehow (despite the cheap disguise as wget) and returns metalink XML rather than the .xz file I requested. Does not happen with actual wget 1.19.5. Bumping the disguise user agent version to 1.19.5 does not help or change anything I would notice.

Because I'm only using a single connection and a single split, that use of aria2 seems perfectly ethical to me and don't really appreciate being blocked for something ethical. I wonder if you know about this behaviour and what you think about it.

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions