diff options
Diffstat (limited to 'changes')
55 files changed, 133 insertions, 99 deletions
diff --git a/changes/bug22156 b/changes/bug22156 new file mode 100644 index 0000000000..685f2a551b --- /dev/null +++ b/changes/bug22156 @@ -0,0 +1,3 @@ + o Minor features (development): + - Tor's makefile now supports running the "clippy" Rust style tool + on our Rust code. Closes ticket 22156. diff --git a/changes/bug24891 b/changes/bug24891 deleted file mode 100644 index 403b2b1123..0000000000 --- a/changes/bug24891 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (compilation): - - Refrain from compiling unit testing related object files - when --disable-unittests is set to configure script. - Fixes bug 24891; bugfix on 0.2.5.1-alpha. diff --git a/changes/bug24977 b/changes/bug24977 deleted file mode 100644 index f8127a2a73..0000000000 --- a/changes/bug24977 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (onion services): - - Recompute some consensus information after clock skews or when we - transition from a non-live consensus to a live consensus. We do this to - avoid having an outdated state which could impact next-generation onion - services. Fixes bug 24977; bugfix on 0.3.2.1-alpha. diff --git a/changes/bug25477 b/changes/bug25477 new file mode 100644 index 0000000000..0eac06137f --- /dev/null +++ b/changes/bug25477 @@ -0,0 +1,3 @@ + o Minor bugfixes (logging): + - Refrain from mentioning bug 21018, as it is already fixed. + Fixes bug 25477; bugfix on 0.2.9.8. diff --git a/changes/bug25552 b/changes/bug25552 new file mode 100644 index 0000000000..8d0488a462 --- /dev/null +++ b/changes/bug25552 @@ -0,0 +1,5 @@ + o Major feature (onion services): + - Improve revision counter generation in next-gen onion services. Onion + services can now scale by hosting multiple instances on different hosts + without synchronization between them, which was previously impossible + because descriptors would get rejected by HSDirs. Addresses ticket 25552. diff --git a/changes/bug25686_diagnostic b/changes/bug25686_diagnostic deleted file mode 100644 index 96323145d8..0000000000 --- a/changes/bug25686_diagnostic +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (relay, diagnostic): - - Add several checks to detect whether Tor relays are uploading their - descriptors without specifying why they regenerated. Diagnostic for - ticket 25686. diff --git a/changes/bug25787 b/changes/bug25787 deleted file mode 100644 index 3041e8a603..0000000000 --- a/changes/bug25787 +++ /dev/null @@ -1,7 +0,0 @@ - o Minor bugfixes (testing): - - Instead of trying to read the geoip configuration files from within the - unit tests, instead create our own ersatz files with just enough - geoip data in the format we expect. Trying to read from the source - directory created problems on Windows with mingw, where the - build system's paths are not the same as the platform's paths. - Fixes bug 25787; bugfix on 0.3.4.1-alpha. diff --git a/changes/bug25886 b/changes/bug25886 new file mode 100644 index 0000000000..45f9a54069 --- /dev/null +++ b/changes/bug25886 @@ -0,0 +1,7 @@ + o Minor bugfixes (relay): + - In frac_nodes_with_descriptors(), add for_direct_connect, and replace + node_has_any_descriptor() with node_has_preferred_descriptor(). Also, + if we are using bridges and there is at least one bridge with a full + descriptor, set f_guard in compute_frac_paths_available() to 1.0. + Fixes bug 25886; bugfix on 0.3.5.1-alpha. Patch by Neel Chauhan. + diff --git a/changes/bug26152 b/changes/bug26152 new file mode 100644 index 0000000000..34fda09b25 --- /dev/null +++ b/changes/bug26152 @@ -0,0 +1,4 @@ + o Minor bugfixes (testing): + - When logging a version mismatch in our openssl_version tests, + report the actual offending version strings. Fixes bug 26152; bugfix on + 0.2.9.1-alpha. diff --git a/changes/bug26158 b/changes/bug26158 deleted file mode 100644 index 0d74cf1167..0000000000 --- a/changes/bug26158 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (relay): - - Relays now correctly block attempts to re-extend to the previous - relay by Ed25519 identity. Previously they would warn in this case, - but not actually reject the attempt. Fixes bug 26158; bugfix on - 0.3.0.1-alpha. diff --git a/changes/bug26196 b/changes/bug26196 deleted file mode 100644 index e63f09a2d6..0000000000 --- a/changes/bug26196 +++ /dev/null @@ -1,7 +0,0 @@ - o Minor bugfixes (testing, compilation): - - Refrain from trying to get an item from empty smartlist in - test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit - tests to catch improper smartlist usage. Furthermore, - enable DEBUG_SMARTLIST globally when build is configured - with fragile hardening. Fixes bug 26196; bugfix on - 0.3.4.1-alpha. diff --git a/changes/bug26214 b/changes/bug26214 deleted file mode 100644 index 4277b9c6ec..0000000000 --- a/changes/bug26214 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (correctness, flow control): - - Upon receiving a stream-level SENDME cell, verify that our window has - not grown too large. Fixes bug 26214; bugfix on svn r54 (pre-0.0.1) diff --git a/changes/bug26223 b/changes/bug26223 new file mode 100644 index 0000000000..e17b0529e3 --- /dev/null +++ b/changes/bug26223 @@ -0,0 +1,3 @@ + o Minor features (directory authority): + - There is no longer an artificial upper limit on the length of bandwidth + lines. Closes ticket 26223. diff --git a/changes/bug26245 b/changes/bug26245 deleted file mode 100644 index 7a14cea0bc..0000000000 --- a/changes/bug26245 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor features (compilation): - o The --enable-fatal-warnings flag now affects Rust code as well. - Closes ticket 26245. diff --git a/changes/bug26258_033 b/changes/bug26258_033 deleted file mode 100644 index ceca383335..0000000000 --- a/changes/bug26258_033 +++ /dev/null @@ -1,4 +0,0 @@ - o Major bugfixes (rust, testing): - - Fix a bug where a failure in the rust unit tests would not actually - cause the build to fail. Fixes bug 26258; bugfix on 0.3.3.4-alpha. - diff --git a/changes/bug26269 b/changes/bug26269 deleted file mode 100644 index 73dcdbf5c5..0000000000 --- a/changes/bug26269 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (compilation): - - Fix a compilation warning on some versions of GCC when - building code that calls routerinfo_get_my_routerinfo() twice, - assuming that the second call will succeed if the first one did. - Fixes bug 26269; bugfix on 0.2.8.2-alpha. diff --git a/changes/bug26282 b/changes/bug26282 new file mode 100644 index 0000000000..c278f0b60a --- /dev/null +++ b/changes/bug26282 @@ -0,0 +1,4 @@ + o Minor bugfixes (C correctness): + - Avoid casting smartlist index to int implicitly, as it may trigger + a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on + 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha. diff --git a/changes/bug26402 b/changes/bug26402 deleted file mode 100644 index b21283a2d2..0000000000 --- a/changes/bug26402 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (compilation): - - When linking the libtor_testing.a library, only include the dirauth - object files once. Previously, they were getting added twice. - Fixes bug 26402; bugfix on 0.3.4.1-alpha. diff --git a/changes/bug26415 b/changes/bug26415 deleted file mode 100644 index 497fbb7365..0000000000 --- a/changes/bug26415 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (testing): - - Fix compilation of the doctests in the Rust crypto crate. Fixes - bug 26415; bugfix on 0.3.4.1-alpha. diff --git a/changes/bug26435 b/changes/bug26435 deleted file mode 100644 index f66c503dd5..0000000000 --- a/changes/bug26435 +++ /dev/null @@ -1,5 +0,0 @@ - o Major bugfixes (directory authority): - - Fix a memory leak where directory authorities would leak a chunk - of memory for every router descriptor every time they considered - voting. This bug was taking down directory authorities due to - out-of-memory issues. Fixes bug 26435; bugfix on 0.3.3.6. diff --git a/changes/bug26437 b/changes/bug26437 new file mode 100644 index 0000000000..da4879b6d0 --- /dev/null +++ b/changes/bug26437 @@ -0,0 +1,3 @@ + o Testing: + - Fix forking tests on Windows when there is a space somewhere in the path. + Fixes bug 26437; bugfix on 0.2.2.4-alpha. diff --git a/changes/bug26488 b/changes/bug26488 new file mode 100644 index 0000000000..f93d4c6f00 --- /dev/null +++ b/changes/bug26488 @@ -0,0 +1,4 @@ + o Major bugfixes (directory authority): + - Actually check that address we get from DirAuthority configuration + line is valid IPv4. Explicitly disallow DirAuthority adress to be + DNS hostname. Fixes bug 26488; bugfix on 0.1.2.10-rc. diff --git a/changes/bug26502 b/changes/bug26502 new file mode 100644 index 0000000000..16d19095d3 --- /dev/null +++ b/changes/bug26502 @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - 'updateFallbackDirs.py' now ignores the blacklist file as it's not longer needed + Closes ticket 26502. diff --git a/changes/bug26522 b/changes/bug26522 new file mode 100644 index 0000000000..c6b30eed79 --- /dev/null +++ b/changes/bug26522 @@ -0,0 +1,6 @@ + o Minor bugfixes (security): + - Refrain from potentially insecure usage of strncat() in + configure_backtrace_handler(). Use snprintf() instead. + Fixes bug 26522; bugfix on + a969ce464dc23db39725a891d60537f3d3e51b50 (not in any tor + release). diff --git a/changes/bug26523 b/changes/bug26523 deleted file mode 100644 index a739d240e9..0000000000 --- a/changes/bug26523 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (hidden service, control port): - - The HSPOST command wasn't parsing properly the HSADDRESS= parameter and - thus not using it. It now handles it correctly. Fixes bug 26523; bugfix on - 0.3.3.1-alpha. Patch by "akwizgran". - diff --git a/changes/bug26525 b/changes/bug26525 new file mode 100644 index 0000000000..27862eee96 --- /dev/null +++ b/changes/bug26525 @@ -0,0 +1,4 @@ + o Minor bugfixes (code quality): + - Rename sandbox_getaddrinfo() and other functions to no longer + misleadingly suggest that they are sandbox-only. Fixes bug + 26525; bugfix on 0.2.7.1-alpha. diff --git a/changes/bug26535.029 b/changes/bug26535.029 deleted file mode 100644 index 111b539f17..0000000000 --- a/changes/bug26535.029 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (testing, compatibility): - - When running the ntor_ref.py test, make sure only to pass strings - (rather than "bytes" objects) to the Python subprocess module. - Python 3 on Windows seems to require this. Fixes bug 26535; bugfix on - 0.2.5.5-alpha. diff --git a/changes/bug26535.032 b/changes/bug26535.032 deleted file mode 100644 index 395d08d816..0000000000 --- a/changes/bug26535.032 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (testing, compatibility): - - When running the hs_ntor_ref.py test, make sure only to pass strings - (rather than "bytes" objects) to the Python subprocess module. - Python 3 on Windows seems to require this. Fixes bug 26535; bugfix on - 0.3.1.1-alpha. diff --git a/changes/bug26568 b/changes/bug26568 deleted file mode 100644 index 0c4c05d043..0000000000 --- a/changes/bug26568 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (controller): - - Report the port correctly when a port is configured to bind to "auto". - Fixes bug 26568; bugfix on 0.3.4.1-alpha. diff --git a/changes/doc26638 b/changes/doc26638 new file mode 100644 index 0000000000..d6f9b1de70 --- /dev/null +++ b/changes/doc26638 @@ -0,0 +1,4 @@ + o Minor features (development): + - Copy paragraph and URL to Tor's code of conduct document + from CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves + ticket 26638. diff --git a/changes/feature26372_029 b/changes/feature26372_029 deleted file mode 100644 index 150ac30555..0000000000 --- a/changes/feature26372_029 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (compilation): - - - When building Tor, prefer to use Python 3 over Python 2, and more - recent (contemplated) versions over older ones. Closes ticket 26372. diff --git a/changes/feature8323 b/changes/feature8323 new file mode 100644 index 0000000000..6fbc972d26 --- /dev/null +++ b/changes/feature8323 @@ -0,0 +1,3 @@ + o Minor features (controller): + - Implement 'GETINFO md/all' controller command to enable + getting all known microdesriptors. Closes ticket 8323. diff --git a/changes/full_include_paths b/changes/full_include_paths new file mode 100644 index 0000000000..c0ac0a05d3 --- /dev/null +++ b/changes/full_include_paths @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Include paths to header files within Tor are now qualified by directory + within the top-level src directory. diff --git a/changes/geoip-2018-07-03 b/changes/geoip-2018-07-03 deleted file mode 100644 index e921d63c99..0000000000 --- a/changes/geoip-2018-07-03 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (geoip): - - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2 - Country database. Closes ticket 26674. - diff --git a/changes/iphplapi b/changes/iphplapi new file mode 100644 index 0000000000..806f71c3f3 --- /dev/null +++ b/changes/iphplapi @@ -0,0 +1,4 @@ + o Removed features: + - Tor no longer attempts to run on Windows environments without the + GetAdaptersAddresses() function. This function has existed since + Windows XP, which is itself already older than we support. diff --git a/changes/rust_cross b/changes/rust_cross deleted file mode 100644 index d490403a28..0000000000 --- a/changes/rust_cross +++ /dev/null @@ -1,2 +0,0 @@ - o Minor feature (Rust, portability): - - Rust cross-compilation is now supported. Closes ticket 25895. diff --git a/changes/split_or_h b/changes/split_or_h new file mode 100644 index 0000000000..53d54ca6dd --- /dev/null +++ b/changes/split_or_h @@ -0,0 +1,5 @@ + o Code simplification and refactoring: + - Many structures have been removed from the centralized "or.h" header, + and moved into their own headers. This will allow us to reduce + the number of places in the code that rely on each structure's + contents and layout. Closes ticket 26383. diff --git a/changes/ticket19979 b/changes/ticket19979 new file mode 100644 index 0000000000..a6bf93f1a4 --- /dev/null +++ b/changes/ticket19979 @@ -0,0 +1,3 @@ + o Minor features (openssl): + - When possible, use RFC5869 HKDF implementation from OpenSSL. + Resolves ticket 19979. diff --git a/changes/ticket25928 b/changes/ticket25928 new file mode 100644 index 0000000000..30759fcb66 --- /dev/null +++ b/changes/ticket25928 @@ -0,0 +1,4 @@ + o Minor features (directory): + - Improved support for networks with only a single authority or a + single fallback directory. Patch from Gabriel Somlo. Closes + ticket 25928. diff --git a/changes/ticket25947 b/changes/ticket25947 deleted file mode 100644 index 68559a73f8..0000000000 --- a/changes/ticket25947 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor feature (unit tests): - - Test complete bandwidth measurements files and test that incomplete lines - only give warnings when the end of the header has not been - detected. Fixes bug 25947; bugfix on 0.2.2.1-alpha diff --git a/changes/ticket25960 b/changes/ticket25960 deleted file mode 100644 index 0d1be2119b..0000000000 --- a/changes/ticket25960 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor feature (directory authorities): - - Stop warning about incomplete bw lines before the first complete bw line - has been found, so that additional header lines can be ignored. - Fixes bug 25960; bugfix on 0.2.2.1-alpha - diff --git a/changes/ticket26426 b/changes/ticket26426 new file mode 100644 index 0000000000..05fa974943 --- /dev/null +++ b/changes/ticket26426 @@ -0,0 +1,4 @@ + o Removed features: + - Tor no longer supports building with the dmalloc library. For debugging + memory issues, we suggest using gperftools or msan instead. + Closes ticket 26426. diff --git a/changes/ticket26427 b/changes/ticket26427 new file mode 100644 index 0000000000..ff33f7bd4c --- /dev/null +++ b/changes/ticket26427 @@ -0,0 +1,6 @@ + o Minor features (code layout): + - Make a new lowest-level error-handling API for use by code invoked + from within the logging module. This interface it makes it so + the logging code is no longer at risk of calling into itself if + a failure occurs while trying to log something. + Closes ticket 26427. diff --git a/changes/ticket26467 b/changes/ticket26467 deleted file mode 100644 index 45883786c2..0000000000 --- a/changes/ticket26467 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (memory, correctness): - - Fix a number of small memory leaks identified by coverity. Fixes - bug 26467; bugfix on numerous Tor versions. diff --git a/changes/ticket26481 b/changes/ticket26481 new file mode 100644 index 0000000000..84d219ed86 --- /dev/null +++ b/changes/ticket26481 @@ -0,0 +1,12 @@ + o Major features (new code layout): + - Nearly all of Tor's source code has been moved around into more logical + places. The "common" directory is now divided into a set of libraries + in "lib", and files in the "or" directory have been split into "core" + (logic absolutely needed for onion routing), "feature" (independent + modules in Tor), and "app" (to configure and invoke the rest of Tor). + See doc/HACKING/CodeStructure.md for more information. Closes ticket + 26481. + + This refactoring is not complete: although the libraries have been + refactored to be acyclic, the main body of Tor is still too + interconnected. We will attempt to improve this in the future. diff --git a/changes/ticket26492 b/changes/ticket26492 new file mode 100644 index 0000000000..c6ab292d17 --- /dev/null +++ b/changes/ticket26492 @@ -0,0 +1,4 @@ + o Minor features (rust, code quality): + - Improve rust code quality in the Rust protover implementation by + making it more idiomatic. Includes changing an internal API to + take &str instead of &String. Closes ticket 26492. diff --git a/changes/ticket26510 b/changes/ticket26510 new file mode 100644 index 0000000000..f00457964d --- /dev/null +++ b/changes/ticket26510 @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Unify our bloom filter logic. Previously we had two copies of this + code: one for routerlist filtering, and one for address set + calculations. Closes ticket 26510. diff --git a/changes/ticket26526 b/changes/ticket26526 new file mode 100644 index 0000000000..447b581df8 --- /dev/null +++ b/changes/ticket26526 @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Utility functions that can perform a DNS lookup are now wholly + separated from those that can't, in separate headers and C + modules. Closes ticket 26526. diff --git a/changes/ticket26526_extra b/changes/ticket26526_extra new file mode 100644 index 0000000000..5495962ff7 --- /dev/null +++ b/changes/ticket26526_extra @@ -0,0 +1,3 @@ + o Minor features (tor-resolve): + - The tor-resolve utility can now be used with IPv6 SOCKS proxies. + Side-effect of the refactoring for ticket 26526. diff --git a/changes/ticket26527 b/changes/ticket26527 new file mode 100644 index 0000000000..ea1d650fef --- /dev/null +++ b/changes/ticket26527 @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Remove ATTR_NONNULL macro from codebase. Resolves + ticket 26527. diff --git a/changes/ticket26560 b/changes/ticket26560 new file mode 100644 index 0000000000..5b4fb1bfe7 --- /dev/null +++ b/changes/ticket26560 @@ -0,0 +1,3 @@ + o Minor features (continuous integration): + - Install libcap-dev and libseccomp2-dev so these optional + dependencies get tested on Travis CI. Closes ticket 26560. diff --git a/changes/ticket26626 b/changes/ticket26626 new file mode 100644 index 0000000000..84591342dc --- /dev/null +++ b/changes/ticket26626 @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Tor now assumes that you have standards-conformant stdint.h and + inttypes.h headers when compiling. Closes ticket 26626. diff --git a/changes/ticket26663 b/changes/ticket26663 new file mode 100644 index 0000000000..2e1b8db1f5 --- /dev/null +++ b/changes/ticket26663 @@ -0,0 +1,3 @@ + o Minor features(config): + - The "auto" keyword in torrc is now case insensitive. + Closes ticket 26663. diff --git a/changes/ticket26703 b/changes/ticket26703 new file mode 100644 index 0000000000..764b98b826 --- /dev/null +++ b/changes/ticket26703 @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Low log level of "Scheduler type KIST has been enabled" to INFO. + Ticket 26703 diff --git a/changes/ticket3569_part1 b/changes/ticket3569_part1 new file mode 100644 index 0000000000..4032aff4d2 --- /dev/null +++ b/changes/ticket3569_part1 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - Rework Tor SOCKS server code to use Trunnel and benefit from + autogenerated functions for parsing and generating SOCKS wire + format. New implementation is cleaner, more maintainable and + should be less prone to heartbleed-style vulnerabilities. + Implements a significant fraction of ticket 3569. |