Commit Graph

  • b1b03a0d77 factor out and unit test parts of the DHT routing table logic that handles the affinity of nodes to insert. Specifically, make sure the even distribution within routing table buckets works correctly arvidn 2019-07-27 14:20:33 -0700
  • c5d0ea6332 make node and tracker_node explicitly non-movable, since the node contains a non-movable std::mutex Arvid Norberg 2019-07-29 17:40:25 -0700
  • a4b2f636cc update changelog to include CVE references Arvid Norberg 2019-07-29 17:45:26 -0700
  • c9f953f487 saturate failed-bytes and redundant-bytes counters in torrent object, rather than asserting on overflow. This happens in the fuzzer, which keeps a torrent open for the entire run, causing it to max out redundant bytes arvidn 2019-07-29 14:51:44 -0700
  • 8e23f9cc92 improve file_storage::sanitize_symlinks arvidn 2019-07-21 15:50:57 -0700
  • 3995ffeafd similar to how low RTT DHT nodes are preferred over high RTT nodes, also have an affinity for nodes with node IDs derived from their IP arvidn 2019-01-11 01:43:45 +0100
  • ca27892111 avoid empty dht routing table buckets arvidn 2019-07-26 16:24:34 -0700
  • 929f727a6a fix dht_stats_alert routing table stats for multi-homed clients (temporary hack for 1.2.x series) arvidn 2019-07-26 13:13:13 -0700
  • 71c980957c fix entry assignment from bdecode_node and lazy_entry arvidn 2019-07-20 11:00:59 -0700
  • 057c6684f2 fix use-after-free issue in socket_type arvidn 2019-07-20 09:27:35 -0700
  • 178093f81b fix error code messages when building without deprecated functions arvidn 2019-07-20 16:36:05 -0700
  • 08a399306c fix simulator build with new version of boost arvidn 2019-07-20 09:25:47 -0700
  • 196588c7b8 add torrent_info constructor overloads to control torrent file limits Arvid Norberg 2019-07-14 11:33:46 -0400
  • 7a20850632 feature to disable DHT, PEX and LSD per torrent arvidn 2019-07-04 14:49:31 +0200
  • 7d00e80a7a Trivial, correct school spelling in comments Amir Abrams 2019-07-05 13:01:44 -0500
  • 8420f01eb4 Correct log verbiage for put_item Amir Abrams 2019-07-05 13:01:16 -0500
  • bcb26fd638 fix seeding of random number generator on mingw arvidn 2019-03-28 20:45:39 +0100
  • d113816ae6 fix issue where trackers from magnet links were not included in create_torrent() Arvid Norberg 2019-06-29 21:55:56 +0200
  • 462a288bdf make peer_info::client a byte array in python binding Arvid Norberg 2019-06-30 11:55:45 +0200
  • 9da041a24d extend the whole_pieces_threshold setting to also request contiguous pieces from fast peers arvidn 2019-03-28 14:28:15 +0100
  • 6fbeb93d50 fix error handling of moving storage to a drive letter that isn't mounted Arvid Norberg 2019-06-30 11:34:40 +0200
  • 10d061eb7f update Changelog Arvid Norberg 2019-07-01 10:18:24 +0200
  • 832857e384 set HTTP Host to request-target when using proxy patch3proxyheaders915360 2019-06-27 10:02:55 +0000
  • 0fbd6bf467 bump required boost version in configure.ac to 1.58 Arvid Norberg 2019-06-30 12:09:44 +0200
  • 186371f1a2 choke dishonest peer in anti-leech seeding algorithm (#3833) Monson Shao 2019-06-10 14:53:16 +0800
  • f9d31cf71b fix GCC-9 warnings arvidn 2019-06-02 19:26:49 +0200
  • d53caf51ab Replace unicode symbol by ascii Chocobo1 2019-05-31 16:15:40 +0800
  • 16acd9ebe1 don't leak exceptions out of handler callbacks in resolver Arvid Norberg 2019-05-13 22:46:17 -0700
  • 41a5940100 ensure headers build independently Arvid Norberg 2019-05-11 18:28:48 -0600
  • 7062a4f89e fix unit template's mutating operators to give them proper ref qualifiers Arvid Norberg 2019-05-06 22:39:59 -0600
  • 02c9e2f7ff fix unused-parameter warning with boost 1.70.0 Alden Torres 2019-05-05 15:41:16 -0400
  • 04223a6df2 Fix typo on main page LingMan 2019-05-04 08:25:59 +0200
  • 4b268297c4 add a build variant for quickly building a corpus for code coverage arvidn 2019-04-30 09:08:03 +0200
  • 94098566f6 fix (broken) DHT node fuzzer arvidn 2019-04-30 09:16:56 +0200
  • 7d1afa9b41 fix assert in DHT node arvidn 2019-04-30 09:11:00 +0200
  • b61b34a86a fix typo in generate_initial_corpus.py arvidn 2019-04-28 13:46:23 +0200
  • d97e1be6b2 bump version of RC_1_2 to 1.2.1 arvidn 2019-04-27 10:27:59 +0200
  • 5c6f027872 add fuzzer for peer connection arvidn 2019-04-21 21:38:23 +0200
  • 0cf2924230 add a few missing alerts to the python bindings arvidn 2019-04-27 09:48:23 +0200
  • b21eebbad7 minor simplification of power-of-2 test in create_torrent arvidn 2019-04-27 10:45:31 +0200
  • f21a39496d add script to minimize corpus arvidn 2019-04-26 09:59:01 +0200
  • ce52d9c685 remove left-over, rendant, encoding of the info-dict in create_torrent::generate() arvidn 2019-04-26 15:48:49 +0200
  • bb0ae48a75 initial documentation for bundled support for fuzzing arvidn 2019-04-25 11:02:11 +0200
  • ba731ef0cf make sure session cleanup releases all its references to torrents arvidn 2019-04-22 16:38:16 +0200
  • 8b925b8576 fix move pessimisation in python binding arvidn 2019-04-22 15:44:11 +0200
  • aec5c50282 Track the mapped port for each NAT mapping transport (#3793) Steven Siloti 2019-04-21 16:50:44 -0700
  • 27a49523a3 fix windows build with boost 1.70 Steven Siloti 2019-04-20 11:48:06 -0700
  • 039cc4809e buffer.hpp: fix build on uclibc Fabrice Fontaine 2019-04-20 17:02:29 +0200
  • 76c2794923
    fix build with boost-1.70 (#3788) Arvid Norberg 2019-04-19 20:56:19 +0200
  • 66b0ab9089 add fuzzers to the main repository arvidn 2019-04-06 19:02:31 +0200
  • 2ccb5d716a fix python bindings for block_uploaded_alert Joris Carrier 2019-04-18 08:47:04 +0200
  • 8506f93507 fix more warnings arvidn 2019-04-10 12:01:18 +0200
  • a845afe6d9 fix warnings arvidn 2019-04-09 23:56:31 +0200
  • 4441655bab optimize resolve_duplicate_filenames_slow() arvidn 2019-04-05 01:27:46 +0200
  • 212ea3db27 fix python binding of dht_settings Arvid Norberg 2019-04-07 15:16:40 +0200
  • fe2f7b1478 add 'block_uploaded_alert' to python bindings Joris Carrier 2019-04-06 18:19:11 +0200
  • 8508506f16 don't run the SHA-1 and SHA-512 test vector tests by default, as they are slow arvidn 2019-04-02 13:15:57 +0200
  • 5b021a849e use a more restrictive limit on number of pieces allowed in a torrent arvidn 2019-04-02 11:01:05 +0200
  • 33463a3ef5 improve sanitizer rules to cover more versions of clang and GCC arvidn 2019-03-31 15:03:13 +0200
  • f025c67185 fix memory leaks in test_http_connection simulation arvidn 2019-03-30 12:42:18 +0100
  • 1b79ce86e1 don't count connections and disconnections to ourself as sign of failure in tests arvidn 2019-03-29 23:17:34 +0100
  • 51f77cc0a1 fix printing priorities in test_priority.cpp arvidn 2019-03-29 09:27:50 +0100
  • 95937b28a7 add missing test torrent to tarball arvidn 2019-03-28 00:35:12 +0100
  • 3a093c5d27 improve disk I/O logging arvidn 2019-03-24 17:30:22 +0100
  • 5260128933 minor improvement to test_tracker. fix test output redirection on windows. tweak starting of web server in tests arvidn 2019-03-26 12:41:52 +0100
  • 102387f4a8 make all tests run cleanly with leak sanitizer arvidn 2019-03-26 12:29:04 +0100
  • 4dc2e6015d use flag to prevent multiple calls to abort_jobs even when asserts are disabled Steven Siloti 2019-03-25 19:49:35 -0700
  • 8d9c746149 always flush disk I/O job queue before shutdown Steven Siloti 2019-03-24 17:41:52 -0700
  • 64600f444b improve sanitizer rule in Jamfile. Some fixes for new clang sanitizr 'implicit-conversion' arvidn 2019-03-24 22:14:35 +0100
  • bb5c612180 fix typo in validation of reject messages. Make on_choke a bit more defensive arvidn 2019-03-25 18:26:06 +0100
  • 38ca4113ea fix python binding for create_torrent Arvid Norberg 2019-03-23 11:27:48 +0100
  • 3a4a7b742a deduplicate code implementing log2p1() Arvid Norberg 2019-03-23 12:53:36 +0100
  • 20cb26fcc1 remove duplicate copy of escape_string arvidn 2019-03-23 14:47:40 +0100
  • 19dbfce9c0 simplify and clean up the handling of name in internal_file_entry. move should be more efficient now, by not copying the name Arvid Norberg 2019-03-21 13:15:23 +0100
  • 808a615c87 forward port ssiloti's patch to make the BOOST_ASIO_ENABLE_CANCELIO define public arvidn 2019-03-22 12:39:06 +0100
  • 2990532d10 reduce the amount of hacky path/string handling code arvidn 2019-03-20 09:36:37 +0100
  • b6896cf337 tighten up validation of dont-have messages arvidn 2019-03-21 12:46:43 +0100
  • 972288340f tighten up validation of reject messages, to ensure consistency of stats counters arvidn 2019-03-20 12:49:29 +0100
  • 01feb32821 tighten up message size checks arvidn 2019-03-20 10:12:42 +0100
  • e435ffe04f Fixed peer_request.piece conversion in Python Martijn de Vos 2019-03-19 13:25:32 +0100
  • e5de81a6cb remove unused replace_extension() arvidn 2019-03-19 10:47:25 +0100
  • 57cd2882d4 update symlinks to conform to BEP 47 Arvid Norberg 2019-03-14 10:02:41 +0100
  • 5f85e40193 remove old, hacky and unused split_string() function arvidn 2019-03-18 17:52:55 +0100
  • 28d5b7d427 remove unused flags parameter to send_buffer() and send_message() on peer_connections Arvid Norberg 2019-03-18 12:09:27 +0100
  • ad540ead79 remove unused configuration macros Arvid Norberg 2019-03-18 11:12:32 +0100
  • bb10385e6c fix asserts in old merkle code arvidn 2019-03-17 17:21:28 +0100
  • 55d549d582 fix python bindings for peer_info arvidn 2019-03-15 22:59:25 +0100
  • e1dec52b35 fixes to the generated documentation arvidn 2019-03-13 09:35:58 +0100
  • c1aee6d477 force overwrite python@2 brew links Alden Torres 2019-03-11 07:56:42 -0400
  • 620eb39f2c missing changes Alden Torres 2019-03-10 16:56:08 -0400
  • 1fe763483e minor lint oriented refactor, moved a couple of functions to aux Alden Torres 2019-03-10 16:50:55 -0400
  • 381d5a3c5d add support for creating symlinks, for torrents with symlinks in them arvidn 2019-02-26 14:44:16 +0100
  • 57e56d5070 factor out logic around adding torrents to the session into insert_torrent() Arvid Norberg 2019-03-02 10:03:55 +0100
  • d733dd7e51 Add missing new line to DHT put test tool Amir Abrams 2019-03-02 05:56:41 -0600
  • 4dd9325277 minor fix for warning of infinite loops Arvid Norberg 2019-03-02 12:10:19 +0100
  • e106602f49 allow padfiles of equal size to share the same filename Arvid Norberg 2019-02-28 18:18:50 +0100
  • ed867e0062 improve test_torrent_info to make it easier to add more test cases for duplicate files Arvid Norberg 2019-02-28 17:23:11 +0100
  • 57017e3ace noreturn attribute is standard in C++11 Arvid Norberg 2019-02-26 20:48:23 +0100
  • 9bd5f424d3 use standard __func__ identifier instead of extensions arvidn 2019-02-26 15:00:40 +0100
  • f5cf102e3c Add examples, tools, and python binding binaries to gitignore Amir Abrams 2019-02-23 20:27:53 -0600