New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.34.0] mirrorbrain detects and rejects downloads through aria2, despite disguise as wget #1298
Comments
PS: Is there a way to make aria2 "follow" Metalink content in this very case? |
aria2 by default follows metalink. Doesn't |
PS: Found the docs on # /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.5 --split=1 --max-connection-per-server=1 --uri-selector=inorder --follow-metalink=mem https://download.gnome.org/sources/meld/3.18/meld-3.18.3.tar.xz
/usr/bin/aria2c: unrecognized option '--follow-metalink=mem'
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
See 'aria2c -h'. I don't see why, please advise. |
It downloads a
|
I just found that my system aria2 was compiled with |
Needed for downloads from GNOME servers running mirrorbrain, see: aria2/aria2#1298 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
…mirrorbrain Related aria2 ticket: aria2/aria2#1298
You are right that Accept header for metalink is sent regardless of whether metalink feature is built-in or not. |
Cool, thanks for the quick fix! |
Hi!
I'm using aria2 to download source tarballs (of GNOME Meld) with fetchcommandwrapper. The precise call to aria2 is this:
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:
The text was updated successfully, but these errors were encountered: