Skip to content

v2.1.3

Latest

Choose a tag to compare

@arvidn arvidn released this 23 Nov 18:25

Changelog since 2.1.2

* apply the IP filter to WebRTC peers
* fix pread_disk_io use-after-free when a cached piece is evicted while another thread flushes it
* fix race between removing a torrent and a hash job parked in the pread disk cache
* fix file order when creating hybrid torrents
* fix web seed redirects
* limit the size of the allowed-fast set received from a peer
* validate the listen port in a peer's extension handshake (range, port filter and no_connect_privileged_ports)
* fix auto managed seeds being paused before they can be classified as inactive
* fix restoring scrape counters from resume data, and save unknown counters as -1
* ignore i2p peers with invalid destinations
* fix out of bounds write in the C binding's torrent handle table after removing torrents
* fix use-after-free reading a UPnP response body after the HTTP receive buffer grew
* fix i2p endpoints in alerts
* fix force_recheck() reusing stale hashes from the pread disk cache
* fix signed overflow in merkle_get_layer() for the largest v2 merkle trees
* fix memory leak verifying SSL torrent peer certificates with subject alt names
* fix web seed SSRF mitigation not applying to IPv6 addresses
* fix signed overflow validating a peer request with a length of INT_MAX
* fix pread disk I/O flushing stalls when disable_hash_checks is enabled.
  The setting is now latched when a torrent is added
* fix close_file_interval for pread_disk_io
* fix pread disk I/O delaying a piece's writes after hashing it on a hashing thread
* fix (rare) data race with part files
* mitigate DHT peer storage flooding from a single IPv6 prefix
* fix CPU issue when tracker list includes invalid entries
* fix out of bounds write in the alert_message C binding on non-positive size
* fix pread disk I/O holding back write completions until the end of a flush
* fix pread disk I/O async_hash2() of a cached block that ends in a pad file
* improve copy_file throughput with dynamic buffer size
* fix disk.num_blocks_written over-counting with pread disk I/O
* fix uTP sockets stalling when the socket is closed while waiting for it to become writable

* harden HTTP redirects
* on POSIX, pass filenames to the OS as UTF-8, independent of the locale
* fix is_i2p_url() treating IPv6 literals with a crafted zone ID as i2p URLs
* fix DHT put of an item erasing from an empty table when dht_max_dht_items is 0
* fix announce_to_all_tiers and announce_to_all_trackers names being swapped
* only count the final timeout of a DHT request as a node failure, not the short timeout
* fix a few DHT routing table and storage bugs
* fix DHT traversals sending requests to our own node ID
* fix DHT put with a public key but no signature being stored under the mutable item's target
* fix outgoing i2p connections on v2-only torrents
* reject loading v2 torrents where files of different sizes share a pieces root
* fix byte counts of a seed's re-created piece picker leaving out pad bytes
  (a v2 torrent rechecked after a skipped file was deleted stayed below 100%)
* fix bind_to_device on windows
* fix rollback of move-storage
* fix renaming sanitized files back to their original name

What's Changed

New Contributors

Full Changelog: v2.1.2...v2.1.3