diff options
Diffstat (limited to 'changes')
85 files changed, 205 insertions, 211 deletions
diff --git a/changes/18105 b/changes/18105 new file mode 100644 index 0000000000..87e6e61d2f --- /dev/null +++ b/changes/18105 @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Introduce a function to call getsockname() and return + tor_addr_t, to save a little complexity throughout the codebase. + Closes ticket 18105. diff --git a/changes/24378 b/changes/24378 new file mode 100644 index 0000000000..663d27e969 --- /dev/null +++ b/changes/24378 @@ -0,0 +1,8 @@ + o Removed features: + + - Directory authorities will no longer support voting according to any + consensus method before consensus method 25. This keeps authorities + compatible with all authorities running 0.2.9.8 and later, and does + not break any clients or relays. Implements ticket 24378 and + proposal 290. + diff --git a/changes/bug18918 b/changes/bug18918 new file mode 100644 index 0000000000..c939168f49 --- /dev/null +++ b/changes/bug18918 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - In order to make the OR and dir checking function in router.c less + confusing we renamed some functions and consider_testing_reachability() + has been splitted into router_should_check_reachability() and + router_do_reachability_checks(). Also we improved the documentation in + some functions. Closes ticket 18918. diff --git a/changes/bug20887 b/changes/bug20887 new file mode 100644 index 0000000000..5d4e4ed233 --- /dev/null +++ b/changes/bug20887 @@ -0,0 +1,4 @@ + o Minor bugfixes (freebsd): + - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB + does not stringify on FreeBSD, so we switch to tor_asprintf(). Fixes + bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan. diff --git a/changes/bug21394.2 b/changes/bug21394.2 deleted file mode 100644 index b580d2a786..0000000000 --- a/changes/bug21394.2 +++ /dev/null @@ -1,7 +0,0 @@ - o Minor bugfix (Exit node DNS retries): - - Re-attempt timed-out DNS queries 3 times before failure, since our - timeout is 5 seconds for them, but clients wait 10-15. Also allow - slightly more timeouts per resolver before giving up on it in the - case where an exit has multiple resolvers configured. Fixes bug 21394; - bugfix on 0.3.1.9. - diff --git a/changes/bug22310 b/changes/bug22310 deleted file mode 100644 index c8017daffe..0000000000 --- a/changes/bug22310 +++ /dev/null @@ -1,8 +0,0 @@ - o Major bugfixes (performance, load balancing): - - Directory authorities no longer vote in favor of the Guard flag - for relays that don't advertise directory support. Starting in Tor - 0.3.0.1-alpha, Tor clients have been avoiding using such relays in - the Guard position, leading to increasingly broken load balancing - for the 5%-or-so of Guards that don't advertise directory support. - Fixes bug 22310; bugfix on 0.3.0.6. - diff --git a/changes/bug23909 b/changes/bug23909 new file mode 100644 index 0000000000..6b84e711e7 --- /dev/null +++ b/changes/bug23909 @@ -0,0 +1,4 @@ + o Minor features (directory authority): + - Directory authorities now open their key-pinning files as O_SYNC, + to prevent themselves from accidentally writing partial lines. + Closes ticket 23909. diff --git a/changes/bug24484 b/changes/bug24484 new file mode 100644 index 0000000000..35a2044923 --- /dev/null +++ b/changes/bug24484 @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Since Tor requires C99, remove our old workaround code for libc + implementations where free(NULL) doesn't work. Closes ticket 24484. + diff --git a/changes/bug24688 b/changes/bug24688 new file mode 100644 index 0000000000..c376fe6a03 --- /dev/null +++ b/changes/bug24688 @@ -0,0 +1,3 @@ + o Minor features (performance, 32-bit): + - Make our timing-wheel code run a tiny bit faster on 32-bit platforms, + by preferring 32-bit math to 64-bit. Closes ticket 24688. diff --git a/changes/bug24767 b/changes/bug24767 deleted file mode 100644 index 56fbe51a98..0000000000 --- a/changes/bug24767 +++ /dev/null @@ -1,5 +0,0 @@ - o Major bugfixes (relay, connection): - - Refuse to connect again to a relay from which we failed previously with - a connection refused, timeout or error (at the TCP level). The relay - won't be retried for 60 seconds after the failure occured. Fixes bug - 24767; bugfix on 0.0.6. diff --git a/changes/bug24769 b/changes/bug24769 deleted file mode 100644 index 2893e0ff07..0000000000 --- a/changes/bug24769 +++ /dev/null @@ -1,7 +0,0 @@ - o Minor bugfixes (performance): - - Reduce the number of circuits that can be opened at once during the - circuit build timeout phase. This is done by increasing the idle timeout - to 3 minutes, and lowering the maximum number of concurrent learning - circuits to 10. Fixes bug 24769; bugfix on 0.3.1.1-alpha. - - diff --git a/changes/bug24782 b/changes/bug24782 deleted file mode 100644 index 59bbdad123..0000000000 --- a/changes/bug24782 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (config options): - - Change the way the default value for MaxMemInQueues is calculated. We now - use 0.4 * RAM if the system have 8 GB RAM or more, otherwise we use the - former value of 0.75 * RAM. Closes ticket 24782. diff --git a/changes/bug24854 b/changes/bug24854 deleted file mode 100644 index 64e10772e0..0000000000 --- a/changes/bug24854 +++ /dev/null @@ -1,3 +0,0 @@ - o Code simplification and refactoring: - - Move the list of default directory authorities to their own file for - inclusion using the C preprocessor. Closes ticket 24854. Patch by "beastr0". diff --git a/changes/bug24903 b/changes/bug24903 deleted file mode 100644 index 01c9b53f23..0000000000 --- a/changes/bug24903 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (controller, reliability): - - Avoid a (nonfatal) assertion failure when extending a one-hop circuit - from the controller to become a multihop circuit. Fixes bug 24903; - bugfix on 0.2.5.2-alpha. - diff --git a/changes/bug24904 b/changes/bug24904 deleted file mode 100644 index 648d9a5834..0000000000 --- a/changes/bug24904 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfix (channel, client): - - Better identify client connection when reporting to the geoip client - cache. Fixes bug 24904; bugfix on 0.3.1.7. - diff --git a/changes/bug24910 b/changes/bug24910 new file mode 100644 index 0000000000..58574c0069 --- /dev/null +++ b/changes/bug24910 @@ -0,0 +1,7 @@ + o Minor bugfixes (relay statistics): + - When a relay is collecting internal statistics about how many + create cell requests it has seen of each type, accurately count the + requests from relays that temporarily fall out of the consensus. (To + be extra conservative, we were already ignoring requests from + clients in our counts, and we continue ignoring them here.) Fixes + bug 24910; bugfix on 0.2.4.17-rc. diff --git a/changes/bug24914 b/changes/bug24914 new file mode 100644 index 0000000000..ea441fd38c --- /dev/null +++ b/changes/bug24914 @@ -0,0 +1,3 @@ + o Minor features (performance): + - Avoid a needless call to malloc() when processing an incoming + relay cell. Closes ticket 24914. diff --git a/changes/bug24978 b/changes/bug24978 deleted file mode 100644 index 5dc45c7442..0000000000 --- a/changes/bug24978 +++ /dev/null @@ -1,7 +0,0 @@ - o Minor features (compatibility, OpenSSL): - - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released. - Previous versions of Tor would not have worked with OpenSSL - 1.1.1, since they neither disabled TLS 1.3 nor enabled any of the - ciphersuites it requires. Here we enable the TLS 1.3 ciphersuites. - Closes ticket 24978. - diff --git a/changes/bug24989 b/changes/bug24989 deleted file mode 100644 index a0ea6acf03..0000000000 --- a/changes/bug24989 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (hidden services): - - Re-instate counting pending client HSDir fetch circuits against the - MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix on - 0.3.3.0-alpha-dev. diff --git a/changes/bug25120 b/changes/bug25120 deleted file mode 100644 index 7215756ef3..0000000000 --- a/changes/bug25120 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (logging): - - Clarify the log messages produced when getrandom() or a related - entropy-generation mechanism gives an error. Closes ticket - 25120. diff --git a/changes/bug25213 b/changes/bug25213 deleted file mode 100644 index bb196ca724..0000000000 --- a/changes/bug25213 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (warnings, ipv6): - - Avoid a bug warning that could occur when trying to connect to - a relay over IPv6 on a Tor instance that downloads router descriptors, - but prefers to use microdescriptors. Fixes bug 25213; bugfix on - 0.3.3.1-alpha. diff --git a/changes/bug25223 b/changes/bug25223 deleted file mode 100644 index fdd5563500..0000000000 --- a/changes/bug25223 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (DoS mitigation): - - Make sure we don't modify consensus parameters if we aren't a public - relay when a new consensus arrives. Fixes bug 25223; bugfix on - 0.3.3.2-alpha. diff --git a/changes/bug25249 b/changes/bug25249 deleted file mode 100644 index b4153eeaef..0000000000 --- a/changes/bug25249 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (spec conformance): - - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on - 0.2.9.4-alpha. diff --git a/changes/bug25249.2 b/changes/bug25249.2 deleted file mode 100644 index 9058c11071..0000000000 --- a/changes/bug25249.2 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (spec conformance): - - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249; - bugfix on 0.2.9.4-alpha. diff --git a/changes/bug25296_032 b/changes/bug25296_032 deleted file mode 100644 index f60048ca66..0000000000 --- a/changes/bug25296_032 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (documentation): - - Document that the PerConnBW{Rate,Burst} options will fall back to their - corresponding consensus parameters only if those parameters are - set. Previously we had claimed that these values would always be - set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha. diff --git a/changes/bug25306 b/changes/bug25306 deleted file mode 100644 index a2e6306f42..0000000000 --- a/changes/bug25306 +++ /dev/null @@ -1,6 +0,0 @@ - o Minor bugfixes (hidden service v3): - - Avoid asserting when building descriptors in the next rotation time is - out of sync with the consensus valid after time. Instead, log a bug - warning with extra information to hunt down the cause of this assert. - Fixes bug 25306; bugfix on 0.3.2.1-alpha. - diff --git a/changes/bug25372 b/changes/bug25372 deleted file mode 100644 index 4cceab3a45..0000000000 --- a/changes/bug25372 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor features (log messages): - - Improve log message in the out of memory handler to include information - about memory usage from the different compression backends. Closes ticket 25372. diff --git a/changes/bug25373 b/changes/bug25373 new file mode 100644 index 0000000000..03e870e692 --- /dev/null +++ b/changes/bug25373 @@ -0,0 +1,7 @@ + o Major features (main loop, CPU wakeup): + - The bandwidth-limitation logic has been refactored so that + bandwidth calculations are performed on-demand, rather than + every TokenBucketRefillInterval milliseconds. + This change should improve the granularity of our bandwidth + calculations, and limit the number of times that the Tor process needs + to wake up when it is idle. Closes ticket 25373. diff --git a/changes/bug25378 b/changes/bug25378 deleted file mode 100644 index 4648a0a313..0000000000 --- a/changes/bug25378 +++ /dev/null @@ -1,4 +0,0 @@ - o Documentation: - - Update the documentation for "Log" to include the current list - of logging domains. Closes ticket 25378. - diff --git a/changes/bug25398 b/changes/bug25398 new file mode 100644 index 0000000000..227a95d21a --- /dev/null +++ b/changes/bug25398 @@ -0,0 +1,5 @@ + o New system requirements: + - Tor no longer tries to support systems without mmap() or some local + equivalent. Apparently, compilation on such systems has been broken for + some time, without anybody noticing or complaining. Closes ticket + 25398. diff --git a/changes/bug25399 b/changes/bug25399 new file mode 100644 index 0000000000..4554574939 --- /dev/null +++ b/changes/bug25399 @@ -0,0 +1,5 @@ + o Minor bugfixes (portability): + - Do not align mmap length, as it is not required by POSIX, and the + getpagesize function is deprecated. Fixes bug 25399; bugfix on + 0.1.1.23. + diff --git a/changes/bug25400 b/changes/bug25400 new file mode 100644 index 0000000000..cee7ea83b0 --- /dev/null +++ b/changes/bug25400 @@ -0,0 +1,5 @@ + o Minor bugfix (controler): + - Make CIRC_BW event reflect the total of all data sent on a circuit, + including padding and dropped cells. Also fix a mis-counting bug + when STREAM_BW events were enabled. Fixes bug 25400; bugfix on + 0.2.5.2-alpha. diff --git a/changes/bug25409 b/changes/bug25409 new file mode 100644 index 0000000000..093d8f58bd --- /dev/null +++ b/changes/bug25409 @@ -0,0 +1,12 @@ + o Removed features: + - The PortForwarding and PortForwardingHelper features have been + removed. The reasoning is, given that implementations of NAT traversal + protocols within common consumer grade routers are frequently buggy, and + that the target audience for a NAT punching feature is a perhaps + less-technically-inclined relay operator, when the helper fails to setup + traversal the problems are usually deep, ugly, and very router specific, + making them horrendously impossible for technical support to reliable + assist with, and thus resulting in frustration all around. Unfortunately, + relay operators who would like to run relays behind NATs will need to + become more familiar with the port forwarding configurations on their + local router. Closes 25409. diff --git a/changes/bug25415 b/changes/bug25415 new file mode 100644 index 0000000000..ec851aee8d --- /dev/null +++ b/changes/bug25415 @@ -0,0 +1,4 @@ + o Major bugfixes (directory authority): + - Avoid a crash when testing router reachability on a router that could + have an ed25519 ID, but which does not. Fixes bug 25415; bugfix on + 0.3.3.2-alpha. diff --git a/changes/bug25425 b/changes/bug25425 new file mode 100644 index 0000000000..41f1a47b15 --- /dev/null +++ b/changes/bug25425 @@ -0,0 +1,4 @@ + o Minor features (testing): + - A new unittests module specifically for testing the functions in the + (new-ish) bridges.c module has been created with new unittests, raising + the code coverage percentages. Closes 25425. diff --git a/changes/bug25450 b/changes/bug25450 deleted file mode 100644 index ae14135a72..0000000000 --- a/changes/bug25450 +++ /dev/null @@ -1,8 +0,0 @@ - o Minor bugfixes (testing): - - Avoid intermittent test failures due to relying on hidden service - introductory point creation within 5 seconds of real clock time. The - time limit for the test has been increased to 500 seconds, which may - still result in intermittent failures (e.g. if the system doing the - testing enters sleep/hibernation or experiences some other clock jump). - However, this should elliminate test failures currently happening on - developer and CI systems. Fixes bug 25450; bugfix on 0.3.1.3-alpha. diff --git a/changes/bug25474 b/changes/bug25474 deleted file mode 100644 index 7d3bd1c5f5..0000000000 --- a/changes/bug25474 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (compilation): - - Fix a c99 compliance issue in our configuration script that was - causing compilation issues when compiling Tor with certain - versions of xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha. - diff --git a/changes/bug25479 b/changes/bug25479 deleted file mode 100644 index e693b8ec7a..0000000000 --- a/changes/bug25479 +++ /dev/null @@ -1,4 +0,0 @@ - o Major bugfixes (benchmarks): - - Fix a crash when running benchmark tests on win32 systems which - was due to an uninitialised mutex before logging and options - were initialised. Fixes bug 25479; bugfix on 0.3.3.3-alpha. diff --git a/changes/bug25512 b/changes/bug25512 new file mode 100644 index 0000000000..4b6491867e --- /dev/null +++ b/changes/bug25512 @@ -0,0 +1,5 @@ + o Minor bugfixes (restart-in-process): + - When shutting down, Tor now clears all the flags in the control.c + module. This should prevent a bug where authentication cookies + are not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha. + diff --git a/changes/bug25560 b/changes/bug25560 deleted file mode 100644 index 5947fa03a3..0000000000 --- a/changes/bug25560 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (testing, rust): - - Some of our Rust crates were not having their tests run with `make - test-rust` due to a static string in the `src/test/test_rust.sh` script - specifying which crates to test. Rust crates are not automatically - detected and tested. Fixes bug 25560; bugfix on 0.3.3.3-alpha. diff --git a/changes/bug25581 b/changes/bug25581 deleted file mode 100644 index 86f2491db7..0000000000 --- a/changes/bug25581 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (configuration): - - Remove undescores from the _HSLayer{2,3}Nodes options. This expert-user - configuration can now be enabled as HSLayer{2,3}Nodes. Fixes bug 25581; - bugfix on 0.3.3.1-alpha diff --git a/changes/bug25582 b/changes/bug25582 deleted file mode 100644 index 609b94aac6..0000000000 --- a/changes/bug25582 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (documentation): - - Revert a misformatting issue in the ExitPolicy - documentation. Fixes bug 25582; bugfix on 0.3.3.1-alpha. diff --git a/changes/bug25617 b/changes/bug25617 deleted file mode 100644 index 5de655d69e..0000000000 --- a/changes/bug25617 +++ /dev/null @@ -1,5 +0,0 @@ - o Minor bugfixes (controller): - - Restore the correct operation of the RESOLVE command, which had - been broken since we added the ability to enable/disable DNS - on specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha. - diff --git a/changes/bug25629 b/changes/bug25629 deleted file mode 100644 index 190928a941..0000000000 --- a/changes/bug25629 +++ /dev/null @@ -1,3 +0,0 @@ - o Minor bugfixes (C correctness): - - Fix a very unlikely null pointer dereference. Fixes bug 25629; - bugfix on 0.2.9.15. Found by Coverity; this is CID 1430932. diff --git a/changes/bug25664 b/changes/bug25664 deleted file mode 100644 index c8b3ca6187..0000000000 --- a/changes/bug25664 +++ /dev/null @@ -1,3 +0,0 @@ - o New system requirements: - - When built with Rust, Tor now depends on version 0.2.39 of the libc - crate. Closes tickets 25310 and 25664. diff --git a/changes/bug25675 b/changes/bug25675 new file mode 100644 index 0000000000..d0f0287b59 --- /dev/null +++ b/changes/bug25675 @@ -0,0 +1,4 @@ + o Minor bugfixes (C correctness): + - Add a missing lock acquisition in the shutdown code of the + control subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found + by Coverity; this is CID 1433643. diff --git a/changes/bug25679 b/changes/bug25679 deleted file mode 100644 index 9247a29153..0000000000 --- a/changes/bug25679 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (compilation, rust): - - Build correctly when the rust dependencies submodule is loaded, - but the TOR_RUST_DEPENDENCIES environment variable is not set. - Fixes bug 25679; bugfix on 0.3.3.1-alpha. diff --git a/changes/bug25691 b/changes/bug25691 deleted file mode 100644 index 5f630d5032..0000000000 --- a/changes/bug25691 +++ /dev/null @@ -1,6 +0,0 @@ - o Minor bugfixes (client): - - When using a listed relay as a bridge, and also using - microdescriptors, and considering that relay as a non-bridge in - a circuit, consider its microdescriptor as a valid source of information - about that relay. Fixes bug 25691; bugfix on 0.3.3.4-alpha. - diff --git a/changes/bug25691_again b/changes/bug25691_again new file mode 100644 index 0000000000..3d0d91bfd3 --- /dev/null +++ b/changes/bug25691_again @@ -0,0 +1,6 @@ + o Minor bugfixes (path selection): + - Only select relays when they have the descriptors we prefer to + use for them. This change fixes a bug where we could select + a relay because it had _some_ descriptor, but reject it later with + a nonfatal assertion error because it didn't have the exact one we + wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha. diff --git a/changes/bug25732 b/changes/bug25732 deleted file mode 100644 index 49ffae29e5..0000000000 --- a/changes/bug25732 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (distribution, compilation): - - Actually include all of our Rust source in our source - distributions. (Previously, a few of the files were accidentally - omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha. diff --git a/changes/bug25828 b/changes/bug25828 new file mode 100644 index 0000000000..45cd1f4ae8 --- /dev/null +++ b/changes/bug25828 @@ -0,0 +1,7 @@ + o Minor bugfixes (bandwidth management): + - Consider ourselves "low on write bandwidth" if we have exhausted our + write bandwidth some time in the last second. This was the + documented behavior before, but the actual behavior was to change + this value every TokenBucketRefillInterval. Fixes bug 25828; bugfix on + 0.2.3.5-alpha. + diff --git a/changes/bugs_25036_25055 b/changes/bugs_25036_25055 deleted file mode 100644 index daa46321c0..0000000000 --- a/changes/bugs_25036_25055 +++ /dev/null @@ -1,7 +0,0 @@ - o Minor bugfixes (networking): - - Tor will not reject IPv6 address strings from TorBrowser when they - are passed as hostnames in SOCKS5 requests. Fixes bug 25036, - bugfix on Tor 0.3.1.2. - - string_is_valid_hostname() will not consider IP strings to be valid - hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5. - diff --git a/changes/feature25150 b/changes/feature25150 new file mode 100644 index 0000000000..eb65327a8d --- /dev/null +++ b/changes/feature25150 @@ -0,0 +1,4 @@ + o Minor features (performance, allocation): + - Avoid a needless malloc()/free() pair every time we handle an ntor + handshake. Closes ticket 25150. + diff --git a/changes/feature25313 b/changes/feature25313 deleted file mode 100644 index 90f421169f..0000000000 --- a/changes/feature25313 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (sandbox): - - Explicitly permit the poll() system call when the Linux seccomp2-based - sandbox is enabled: apparently, some versions of libc use poll() when - calling getpwnam(). Closes ticket 25313. diff --git a/changes/geoip-2018-03-08 b/changes/geoip-2018-03-08 deleted file mode 100644 index d9696aab53..0000000000 --- a/changes/geoip-2018-03-08 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (geoip): - - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2 - Country database. Closes ticket 25469. - diff --git a/changes/geoip-2018-04-03 b/changes/geoip-2018-04-03 deleted file mode 100644 index 987cc450bf..0000000000 --- a/changes/geoip-2018-04-03 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (geoip): - - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2 - Country database. Closes ticket 25718. - diff --git a/changes/isolate_libevent b/changes/isolate_libevent new file mode 100644 index 0000000000..852e533fd3 --- /dev/null +++ b/changes/isolate_libevent @@ -0,0 +1,5 @@ + o Code simplification and refactoring: + - Initial work to isolate Libevent usage to a handful of modules in our + codebase, to simplify our call structure, and so that we can more + easily change event loops in the future if needed. Closes ticket + 23750. diff --git a/changes/refactor23814 b/changes/refactor23814 deleted file mode 100644 index a67b6989f8..0000000000 --- a/changes/refactor23814 +++ /dev/null @@ -1,4 +0,0 @@ - o Code simplification and refactoring: - - Remove the old (deterministic) directory retry logic entirely: - We've used exponential backoff exclusively for some time. - Closes ticket 23814. diff --git a/changes/ticket23635 b/changes/ticket23635 deleted file mode 100644 index 54d303e4b8..0000000000 --- a/changes/ticket23635 +++ /dev/null @@ -1,3 +0,0 @@ - o Documentation: - - Improved the documentation of AccountingStart paremeter. - Closes ticket 23635. diff --git a/changes/ticket23873 b/changes/ticket23873 new file mode 100644 index 0000000000..ffe65e5ed4 --- /dev/null +++ b/changes/ticket23873 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - We remove the return value of node_get_prim_orport() and + node_get_prim_dirport(), and introduce node_get_prim_orport() + in node_ipv6_or_preferred() and node_ipv6_dir_preferred() in + order to check for a null address. Closes ticket 23873. Patch + by Neel Chauhan. diff --git a/changes/ticket24343 b/changes/ticket24343 deleted file mode 100644 index e62d65eb54..0000000000 --- a/changes/ticket24343 +++ /dev/null @@ -1,6 +0,0 @@ - o Minor bugfixes (man page, SocksPort): - - Remove dead code about the old "SocksSockets" option. To do so, the - SocksSocketsGroupWritable option has been renamed to - UnixSockssGroupWritable which does the same exact thing. The old option - is still usable but will warn that it is deprecated. Fixes bug 24343; - bugfix on 0.2.6.3. diff --git a/changes/ticket24714 b/changes/ticket24714 new file mode 100644 index 0000000000..60353abec9 --- /dev/null +++ b/changes/ticket24714 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - Rename two fields of connection_t struct. + timestamp_lastwritten is renamed to timestamp_last_write_allowed and + timestamp_lastread is renamed to timestamp_last_read_allowed. + Closes ticket 24714, patch by "valentecaio". + diff --git a/changes/ticket24740 b/changes/ticket24740 new file mode 100644 index 0000000000..253cdb65e2 --- /dev/null +++ b/changes/ticket24740 @@ -0,0 +1,5 @@ + o Minor bugfixes (directory server cert fetch): + - Fixed launching a certificate fetch always during the scheduled + periodic consensus fetch by fetching only in those cases when + consensus are waiting for certs. + Fixes bug 24740; bugfix on 0.2.9.1-alpha. diff --git a/changes/ticket25024 b/changes/ticket25024 new file mode 100644 index 0000000000..0e5069cf81 --- /dev/null +++ b/changes/ticket25024 @@ -0,0 +1,4 @@ + o Minor features (code quality): + - Add optional spell-checking for the Tor codebase, using the "misspell" + program. To use this feature, run "make check-typos". + Closes ticket 25024. diff --git a/changes/ticket25071 b/changes/ticket25071 deleted file mode 100644 index 5e2917e10b..0000000000 --- a/changes/ticket25071 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor features (testing): - - Add a "make test-rust" target to run the rust tests only. - Closes ticket 25071. - diff --git a/changes/ticket25081 b/changes/ticket25081 new file mode 100644 index 0000000000..b6e6c2a5a6 --- /dev/null +++ b/changes/ticket25081 @@ -0,0 +1,5 @@ + o Code simplification and refactoring: + - Remove extern declaration of stats_n_seconds_working variable from main, + protecting its accesses with get_uptime() and reset_uptime() functions. + Closes ticket 25081, patch by “valentecaio”. + diff --git a/changes/ticket25162 b/changes/ticket25162 new file mode 100644 index 0000000000..37019a7f8f --- /dev/null +++ b/changes/ticket25162 @@ -0,0 +1,6 @@ + o Minor features (compression, zstd): + - When running with zstd, Tor now considers using advanced functions that + the zstd maintainers have labeled as potentially unstable. To + prevent breakage, Tor will only use this functionality when + the runtime version of the zstd library matches the version + with which it were compiled. Closes ticket 25162. diff --git a/changes/ticket25202 b/changes/ticket25202 deleted file mode 100644 index ba64abad7b..0000000000 --- a/changes/ticket25202 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor bugfixes (DoS mitigation): - - Add extra safety checks when refilling the circuit creation bucket to - ensure we never set a value that is above the allowed burst. Fixes - bug 25202; bugfix on 0.3.3.2-alpha. diff --git a/changes/ticket25248 b/changes/ticket25248 deleted file mode 100644 index 67ccdb6313..0000000000 --- a/changes/ticket25248 +++ /dev/null @@ -1,4 +0,0 @@ - o Documentation (manpage, denial of service): - - Better detail the denial of service options by listing the different - mitigation in place. Closes ticket 25248. - diff --git a/changes/ticket25261 b/changes/ticket25261 new file mode 100644 index 0000000000..604a09d975 --- /dev/null +++ b/changes/ticket25261 @@ -0,0 +1,3 @@ + o Minor bugfix (Multiple includes): + - Fixed multiple includes of trasports.h in src/or/connection.c + Fixes bug 25261; bugfix on 0.2.5.1-alpha. diff --git a/changes/ticket25268 b/changes/ticket25268 new file mode 100644 index 0000000000..e444984dc4 --- /dev/null +++ b/changes/ticket25268 @@ -0,0 +1,7 @@ + o Removed features: + - The old "round-robin" circuit multiplexer (circuitmux) + implementation has been removed, along with a fairly large set of + code that existed to support it. It has not been the default + circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x, + but it still required an unreasonable amount of memory and CPU. + Closes ticket 25268. diff --git a/changes/ticket25290 b/changes/ticket25290 new file mode 100644 index 0000000000..5e44f5e05c --- /dev/null +++ b/changes/ticket25290 @@ -0,0 +1,5 @@ + o Code simplification and refactoring: + - We switch to should_record_bridge_info() in geoip_note_client_seen() and + options_need_geoip_info() instead of accessing the configuration values + directly. Fixes bug 25290; bugfix on 0.2.1.6-alpha. Patch by Neel + Chauhan. diff --git a/changes/ticket25323 b/changes/ticket25323 deleted file mode 100644 index 836825de5d..0000000000 --- a/changes/ticket25323 +++ /dev/null @@ -1,4 +0,0 @@ - o Code simplification and refactoring: - - Update the "rust dependencies" submodule to be an project-level - repository, rather than a user repository. Closes ticket 25323. - diff --git a/changes/ticket25374 b/changes/ticket25374 new file mode 100644 index 0000000000..5fc59d1589 --- /dev/null +++ b/changes/ticket25374 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - Our main loop has been simplified so that all important operations + happen inside events. Previously, some operations had to happen + outside the event loop, to prevent infinite sequences of event + activations. Closes ticket 25374. + diff --git a/changes/ticket25409 b/changes/ticket25409 new file mode 100644 index 0000000000..f0006fbc5d --- /dev/null +++ b/changes/ticket25409 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + We remove the PortForwsrding and PortForwardingHelper options, related + functions, and the port_forwarding tests. These options were used by + the now-deprecated Vidalia to help ordinary users become Tor relays or + bridges. Closes ticket 25409. Patch by Neel Chauhan. + diff --git a/changes/ticket25432 b/changes/ticket25432 new file mode 100644 index 0000000000..21ca201343 --- /dev/null +++ b/changes/ticket25432 @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - Merge functions used for describing nodes and suppress the functions + that do not allocate memory for the output buffer string. + NODE_DESC_BUF_LEN constant and format_node_description() function + cannot be used externally from router.c module anymore. + Closes ticket 25432. Patch by valentecaio. diff --git a/changes/ticket25511 b/changes/ticket25511 new file mode 100644 index 0000000000..0a24e265ca --- /dev/null +++ b/changes/ticket25511 @@ -0,0 +1,5 @@ + o Minor features (control port): + - Introduce GETINFO "current-time/{local,utc}" to return the local + and UTC times respectively in ISO format. This helps a controller + like Tor Browser detect a time-related error. Closes ticket 25511. + Patch by Neel Chauhan. diff --git a/changes/ticket25645 b/changes/ticket25645 new file mode 100644 index 0000000000..ab20a5ca4c --- /dev/null +++ b/changes/ticket25645 @@ -0,0 +1,4 @@ + o Minor bugfixes (channel_get_for_extend()): + - Remove the unused variable n_possible from the function + Fixes bug 25645; bugfix on 0.2.4.4-alpha + diff --git a/changes/ticket25714 b/changes/ticket25714 deleted file mode 100644 index 63823fc6ca..0000000000 --- a/changes/ticket25714 +++ /dev/null @@ -1,4 +0,0 @@ - o Minor feature (continuous integration): - - Update the Travis CI configuration to use the stable Rust - channel, now that we have decided to require that. Closes - ticket 25714. diff --git a/changes/ticket25760 b/changes/ticket25760 new file mode 100644 index 0000000000..504fd60de6 --- /dev/null +++ b/changes/ticket25760 @@ -0,0 +1,5 @@ + o Removed features: + - The TestingEnableTbEmptyEvent option has been removed. It was used + in testing simulations to measure how often connection buckets were + emptied, in order to improve our scheduling, but it has not + been actively used in years. Closes ticket 25760. diff --git a/changes/ticket25766 b/changes/ticket25766 new file mode 100644 index 0000000000..6382b6215e --- /dev/null +++ b/changes/ticket25766 @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Refactor token-bucket implementations to use a common backend. + Closes ticket 25766. diff --git a/changes/ticket4187 b/changes/ticket4187 new file mode 100644 index 0000000000..c5f795b1a6 --- /dev/null +++ b/changes/ticket4187 @@ -0,0 +1,3 @@ + o Minor bugfixes (directory client): + - When unverified-consensus is verified, rename it to cached-consenus. + Fixes bug 4187; bugfix on 0.2.0.3-alpha. diff --git a/changes/ticket6236 b/changes/ticket6236 new file mode 100644 index 0000000000..9dea07e696 --- /dev/null +++ b/changes/ticket6236 @@ -0,0 +1,4 @@ + o Minor bugfixes (Duplicate code): + - Remove duplicate code in parse_{c,s}method_line and bootstrap + their functionalities into a single function. Fixes + bug 6236; bugfix on 0.2.3.6-alpha. diff --git a/changes/trove-2018-001.1 b/changes/trove-2018-001.1 deleted file mode 100644 index f0ee92f409..0000000000 --- a/changes/trove-2018-001.1 +++ /dev/null @@ -1,6 +0,0 @@ - o Major bugfixes (denial-of-service, directory authority): - - Fix a protocol-list handling bug that could be used to remotely crash - directory authorities with a null-pointer exception. Fixes bug 25074; - bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001. - - diff --git a/changes/trove-2018-004 b/changes/trove-2018-004 deleted file mode 100644 index 37e0a89b0d..0000000000 --- a/changes/trove-2018-004 +++ /dev/null @@ -1,8 +0,0 @@ - o Minor bugfixes (denial-of-service): - - Fix a possible crash on malformed consensus. If a consensus had - contained an unparseable protocol line, it could have made clients - and relays crash with a null-pointer exception. To exploit this - issue, however, an attacker would need to be able to subvert the - directory-authority system. Fixes bug 25251; bugfix on - 0.2.9.4-alpha. Also tracked as TROVE-2018-004. - |