Debian Patches
Status for netselect/0.3.ds1-31
Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
debian.patch | Improvements to netselect in Debian Improvements introduced to netselect in Debian including the following: * netselect-apt: - debian/control: Add ca-certificates as a dependency as it is required to validate Debian's certificates. Otherwise the wget call will fail when accessing www.debian.org as it now redirects from http to https (Closes: #999711) - Add the Debian releases which were missing: buster, bullseye, bookworm and trixie - Move the code of checking root permissions after the parsing of options to allow the --help option to be run without being root (Closes: #768568) - Fix bug that makes it output some hosts with negative value (Closes: 920907) - Fix bug in the Pelr parsing which prevented it from processing properly the mirrors listed in the Debian website (Closes: 989674) - Add 'stretch' (current testing) as a valid codename for a release - Add 'jessie' to netselect to make it possible to search mirrors of that codename (Closes: #713838) - Ignore corrupted results (negative score) and throw them out. Netselect does not handle gracefully mirrors which use a Round Robin DNS (see bug #755238). The fix prevents netselect-apt from selecting mirrors with a '-' in some cases (Closes: #750952) - Return with an error in test_host if curl is not available or if an empty host is provided (as suggested by doekia in #750952) - Fix minor typos spotted by Cyril Brulebois - modify regular expression to parse newest mirrors list with rel="nofollow" in href links. Thanks to "Nameless" for the patch (Closes: #667985, #665876) - more verbose output when netselect-apt fails indicating possible causes of errors - Add a -d (debug) option as well as logging if debug is enabled - Extend the host validation routine by making netselect-apt download the 'README' file in the remote server and have it check if the contents there are what one would expect of a Debian mirror. - Fix the parsing of the -t option - Ensure that the netselect options are defined *after* the command line parsing to make it possible to modify them through the command line. - Add a -c option to make it possible to filter by country (Closes: #273688) - Do not settle for only one server as indicated by netselect but, instead, retrieve the top-10 hosts (configurable through a '-t' option) and select the fastest hosts which can be accessed through the defined protocol. Tests are done using curl, and ensure that the hosts HTTP or FTP requests. This makes use of the '-s' option in netselect in a way similar to what was requested in #117265. The fastests servers are listed in addition to the server chosen after verifying they are reachable (Closes: #117265) - Make the script more robust by having it check and detect some common issues when running netselect: * No hosts are found to use with netselect, due to an incorrect file being provided or an error when downloading the mirror list, or, * Netselect does not return any host to netselect-apt Now the script will at least abort with a (hopefully useful) error message instead of writing a useless sources.list (Closes: 238888) - Use the -D option (see above) by default so that the information introduced is always a name and not an IP address as many Debian servers use DNS round robin and the servers cannot be accessed using an IP address (Closes: 420252) - Use dpkg-architecture if available, otherwise fall back to "dpkg --print-architecture" instead (Closes: 609342) - Add 'wheezy' as a valid distribution (Closes: 623180) - Introduce a way to provide options to netselect through -O - Check if netselect exists - Abort if not being run as root and netselect is not setuid - Use -I per default as many debian mirrors do not actually allow traceroute tests - Only use standard output when parsing netselect's output, stderr gets thrown out as we do not need it (but the user might have set it with -v calls in -O) - Stricter filtering of netselect output to prevent picking up wrong data by mistake - Anchor regexp to exclude non-us/debian-volatile mirrors (Closes: #518334) - Remove non-us generation - Use a temporary file instead of mirrors_full by default and put a note in NEWS (Closes: #466721) * netselect: - Fix an alignment bug in netselect.c, the struct icmp might be padded to a 64 byte boundary leaving the ICMP_TYPE filled in by 0s (ICMP_REPLY). Thanks for Dan Merillat for the patch (Closes: 645703) - Add a new -D option to force netselect to provide, if required, the DNS names for hosts that resolve to multiple IP addresses. Modify the code so that the dnsname is kept on the host struct and printed, if this option is used, when netselect finishes. (Closes: #136849) - Notify through stderr if the number of hosts found are (at least) the number of hosts and also return with error 1 if no hosts are found. This helps clarify the situation when all the probed hosts are considered invalid and no one is returned (Closes: 467303) - Implement a -I option to make netselect use ICMP probes instead of UDP. This option is useful to test servers when there is some element that does not allow traceroute tests in the intermediate path (including the local computer, through it's firewall). (Closes: 601227, 217256, 384218) - Do not printout verbose messages detailing hosts to stdout but to stderr ( and other fixes, see the debian/changelog file) Not all of the changes have been added upstream. Last import of Debian patches was done of patches in version 12.1 (see https://github.com/apenwarr/netselect/commit/ef658e211c746464ed4440091627af467f992a43) Consequently, we are marking this patchs as not applied upstream fully. |
Javier Fernández-Sanguino Peña <jfs@debian.org> | no | vendor | 2025-01-09 | |
debian-ipv6-support.patch | Add IPv6 support to netselect Patch to add IPv6 support to netselect. The patch makes it possible to query IPv6 hosts and determine if they are elligible for testing. It avoids the errors that netselect finds when the DNS query returns both a IPv4 and an IPv6 address. The patch also introduced two new options to netselect: -4, to test only IPv4 hosts and -6 to test only IPv6 hosts. Patch is available in Github at https://github.com/rahcollabora/netselect/commit/0420717c3aebcb9a517fcfc7cd62cce95783ec58 |
Bob Ham <bob.ham@collabora.com> | yes | debian upstream | vendor | 2025-01-09 |
All known versions for source package 'netselect'
- 0.3.ds1-31 (sid, forky, trixie)
- 0.3.ds1-30.1 (bookworm)