[curl/curl] e9d9f6: metalink: remove
Daniel Stenberg <[email protected]> Wed, 02 Jun 2021 07:09:12 -0700
| Newsgroups | gmane.comp.web.curl.cvs |
|---|---|
| Message-ID | <curl/curl/push/refs/heads/bagder/rm-metalink/[email protected]> |
Branch: refs/heads/bagder/rm-metalink
Home: https://github.com/curl/curl
Commit: e9d9f6ed8e7c6db340dadb1aa1aa5f1b3f3d5daf
https://github.com/curl/curl/commit/e9d9f6ed8e7c6db340dadb1aa1aa5f1b3f3d5daf
Author: Daniel Stenberg <[email protected]>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M .cirrus.yml
M .github/workflows/macos.yml
M .lgtm.yml
M configure.ac
M docs/FEATURES.md
M docs/MANUAL.md
M docs/cmdline-opts/metalink.d
M docs/cmdline-opts/page-header
M docs/cmdline-opts/version.d
M docs/examples/Makefile.m32
M packages/vms/gnv_link_curl.com
M src/Makefile.am
M src/Makefile.inc
M src/Makefile.m32
M src/Makefile.netware
M src/tool_cfgable.h
M src/tool_getparam.c
M src/tool_help.c
M src/tool_main.c
R src/tool_metalink.c
R src/tool_metalink.h
M src/tool_operate.c
M src/tool_operate.h
M src/tool_operhlp.c
M src/tool_sdecls.h
M tests/FILEFORMAT.md
M tests/data/Makefile.inc
R tests/data/test2005
R tests/data/test2006
R tests/data/test2007
R tests/data/test2008
R tests/data/test2009
R tests/data/test2010
R tests/data/test2011
R tests/data/test2012
R tests/data/test2013
R tests/data/test2014
R tests/data/test2015
R tests/data/test2016
R tests/data/test2017
R tests/data/test2018
R tests/data/test2019
R tests/data/test2020
R tests/data/test2021
R tests/data/test2022
M tests/libtest/test1013.pl
M tests/runtests.pl
M tests/unit/Makefile.inc
Log Message:
-----------
metalink: remove
Warning: this will make existing curl command lines that use metalink to
stop working.
Reasons for removal:
1. We've found several security problems and issues involving the
metalink support in curl. The issues are not detailed here. When
working on those, it become apparent to the team that several of the
problems are due to the system design, metalink library API and what
the metalink RFC says. They are very hard to fix on the curl side
only.
2. The metalink usage with curl was only very briefly documented and was
not following the "normal" curl usage pattern in several ways, making
it surprising and non-intuitive which could lead to further security
issues.
3. The metalink library was last updated 6 years ago and wasn't so
active the years before that either. An unmaintained library means
there's a security problem waiting to happen. This is probably reason
enough.
4. Metalink requires an XML parsing library, which is complex code (even
the smaller alternatives) and to this day often gets security
updates.
5. Metalink is not a widely used curl feature. In the 2020 curl user
survey, only 1.4% of the responders said that they'd are using
it. Searching the web also show very few traces of it being used,
even with other tools.
6. The torrent format and associated technology clearly won for
downloading large files from multiple sources in parallel.
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits