diff options
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug16274 | 5 | ||||
-rw-r--r-- | changes/bug16286 | 8 | ||||
-rw-r--r-- | changes/bug16389 | 12 | ||||
-rw-r--r-- | changes/bug16524 | 3 | ||||
-rw-r--r-- | changes/bug16539 | 4 | ||||
-rw-r--r-- | changes/bug16644 | 3 | ||||
-rw-r--r-- | changes/bug16697 | 10 | ||||
-rw-r--r-- | changes/bug16741 | 3 | ||||
-rw-r--r-- | changes/bug16742 | 3 | ||||
-rw-r--r-- | changes/callgraph | 5 | ||||
-rw-r--r-- | changes/chutney-coverage | 3 | ||||
-rw-r--r-- | changes/decouple-write-handle_write | 7 | ||||
-rw-r--r-- | changes/decouple_dir_all_unreachable | 4 | ||||
-rw-r--r-- | changes/decouple_init_keys | 3 | ||||
-rw-r--r-- | changes/decouple_lost_owner | 4 | ||||
-rw-r--r-- | changes/decouple_retry_directory | 6 | ||||
-rw-r--r-- | changes/early-check-paths | 3 | ||||
-rw-r--r-- | changes/feature16533 | 4 | ||||
-rw-r--r-- | changes/feature16535 | 4 | ||||
-rw-r--r-- | changes/microdesc_cycle | 4 | ||||
-rw-r--r-- | changes/move_formatting_functions | 3 | ||||
-rw-r--r-- | changes/test-full | 3 | ||||
-rw-r--r-- | changes/test-workqueue-windows | 3 | ||||
-rw-r--r-- | changes/ticket13338 | 6 | ||||
-rw-r--r-- | changes/windows_only_files | 4 |
25 files changed, 117 insertions, 0 deletions
diff --git a/changes/bug16274 b/changes/bug16274 new file mode 100644 index 0000000000..4eec571761 --- /dev/null +++ b/changes/bug16274 @@ -0,0 +1,5 @@ + o Minor bugfix (open file limit): + - Fix set_max_file_descriptors() to set by default the max open file + limit to the current limit in case setrlimit() fails so we at least + have a usable value; Fixes #16274; bugfix on tor-0.2.0.10-alpha~71; + Patch by dgoulet. diff --git a/changes/bug16286 b/changes/bug16286 new file mode 100644 index 0000000000..7b30493576 --- /dev/null +++ b/changes/bug16286 @@ -0,0 +1,8 @@ + o Minor bugfixes (authority): + - Downgrade log messages about Ed25519 key issues, if they are in + old cached router descriptors. Fixes part of bug 16286; bugfix on + 0.2.7.2-alpha. + + - When we find an Ed25519 key issue in a cached descriptor, stop saying + the descriptor was just "uploaded". Fixes another part of bug 16286; + bugfix on 0.2.7.2-alpha. diff --git a/changes/bug16389 b/changes/bug16389 new file mode 100644 index 0000000000..b7eb35034a --- /dev/null +++ b/changes/bug16389 @@ -0,0 +1,12 @@ + o Hidden Service Enhancement + Client now uses an introduction point failure cache to know when to + fetch or keep a descriptor in their cache. + + When fetching a descriptor, for every introduction points in it, we look + them up in the failure cache to know if we keep the descriptor or not. + For this to work, everytime an introduction points is discarded (ex: + receiving a NACK), we note it down in our introduction cache. If all + introduction points for an onion service are in our failure cache, we + discard the descriptor and fetch a new one. + + See rendcache.c for a detailed explanation of the cache's behavior. diff --git a/changes/bug16524 b/changes/bug16524 new file mode 100644 index 0000000000..1268fe8ca9 --- /dev/null +++ b/changes/bug16524 @@ -0,0 +1,3 @@ + o Minor bugfixes (authority): + - Don't assign "HSDir" to a router if it isn't Valid and Running. + Fixes bug 16524; bugfix on 0.2.7.2-alpha.
\ No newline at end of file diff --git a/changes/bug16539 b/changes/bug16539 new file mode 100644 index 0000000000..8a0b6d251c --- /dev/null +++ b/changes/bug16539 @@ -0,0 +1,4 @@ + o Minor bugfixes (Ed25519): + - Fix a memory leak when reading router descriptors with + expired Ed25519 certificate. Fixes bug 16539; bugfix on 0.2.7.2-alpha. + diff --git a/changes/bug16644 b/changes/bug16644 new file mode 100644 index 0000000000..f7126bdc9d --- /dev/null +++ b/changes/bug16644 @@ -0,0 +1,3 @@ + o Minor bugfixes (relay): + - Unblock threads before releasing the mutex to ensure predictable + scheduling behavior. Fixes bug 16644; bugfix on 0.2.6.3-alpha. diff --git a/changes/bug16697 b/changes/bug16697 new file mode 100644 index 0000000000..ae6cf2b83e --- /dev/null +++ b/changes/bug16697 @@ -0,0 +1,10 @@ + o Minor bugfixes + - Control port was using set_max_file_descriptors() with a limit set to + 0 to get the max value. A recent fix made this use case return an + error and introduced dead code in that function. This triggered a + warning that our limit (ConnLimit) was invalid but in reality it was + not. + + Now, to the control port uses a specific getter function to query the + value and set_max_file_descriptors() should never be used again for + that purpose. Fixes #16697; bugfix on 0.2.7.2-alpha. diff --git a/changes/bug16741 b/changes/bug16741 new file mode 100644 index 0000000000..ce3dfdcfc7 --- /dev/null +++ b/changes/bug16741 @@ -0,0 +1,3 @@ + o Minor bugfixes: + - Check correctly for windows socket errors in the workqueue backend. + Fixes bug 16741; bugfix on 0.2.6.3-alpha. diff --git a/changes/bug16742 b/changes/bug16742 new file mode 100644 index 0000000000..2002cb7c72 --- /dev/null +++ b/changes/bug16742 @@ -0,0 +1,3 @@ + o Documentation: + - Recommend a 40 GB example AccountingMax in torrc.sample rather + than a 4 GB max. Closes ticket 16742. diff --git a/changes/callgraph b/changes/callgraph new file mode 100644 index 0000000000..64f7f9cf24 --- /dev/null +++ b/changes/callgraph @@ -0,0 +1,5 @@ + o Testing: + - Add a new set of callgraph analysis scripts that use clang to + produce a list of which Tor functions are reachable from which + other Tor functions. We're planning to use these to help simplify + our code structure by identifying illogical dependencies. diff --git a/changes/chutney-coverage b/changes/chutney-coverage new file mode 100644 index 0000000000..53983c87ff --- /dev/null +++ b/changes/chutney-coverage @@ -0,0 +1,3 @@ + o Testing: + - When building Tor with testing coverage enabled, run Chutney tests + (if any) using the 'tor-cov' coverage binary. diff --git a/changes/decouple-write-handle_write b/changes/decouple-write-handle_write new file mode 100644 index 0000000000..4ef9b3fbad --- /dev/null +++ b/changes/decouple-write-handle_write @@ -0,0 +1,7 @@ + o Removed features: + - Remove the code that would try to aggressively flush controller + connections while writing to them. This code was introduced in + 0.1.2.7-alpha, in order to keep output buffers from exceeding their + limits. But there is no longer a maximum output buffer size, and + flushing data in this way caused some undesirable recursions + in our call graph. Closes ticket 16480. diff --git a/changes/decouple_dir_all_unreachable b/changes/decouple_dir_all_unreachable new file mode 100644 index 0000000000..1e57b3dfbd --- /dev/null +++ b/changes/decouple_dir_all_unreachable @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Simply the control graph further by deferring the inner body of + directory_all_unreachable() into a callback. Closes ticket + 16762.
\ No newline at end of file diff --git a/changes/decouple_init_keys b/changes/decouple_init_keys new file mode 100644 index 0000000000..7f48d2b9d3 --- /dev/null +++ b/changes/decouple_init_keys @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Move the client-only parts of init_keys() into a separate function. + Closes ticket 16763. diff --git a/changes/decouple_lost_owner b/changes/decouple_lost_owner new file mode 100644 index 0000000000..88adb18546 --- /dev/null +++ b/changes/decouple_lost_owner @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Treat the loss of an owning controller as equivalent to a SIGTERM + signal. This removes a tiny amount of duplicated code, and simplifies + our callgraph. Closes ticekt 16788. diff --git a/changes/decouple_retry_directory b/changes/decouple_retry_directory new file mode 100644 index 0000000000..11f901b04f --- /dev/null +++ b/changes/decouple_retry_directory @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - Change the function that's called when we need to retry all downloads + so that it only reschedules the downloads to happen immediately, rather + than launching them all at once itself. This further simplifies + Tor's callgraph. + diff --git a/changes/early-check-paths b/changes/early-check-paths new file mode 100644 index 0000000000..44bebbe660 --- /dev/null +++ b/changes/early-check-paths @@ -0,0 +1,3 @@ + o Testing: + - When running test-network or test-stem, check for the absence + of stem/chutney before doing any build operations.
\ No newline at end of file diff --git a/changes/feature16533 b/changes/feature16533 new file mode 100644 index 0000000000..e9fea94c7e --- /dev/null +++ b/changes/feature16533 @@ -0,0 +1,4 @@ + o Minor features (performance) + - Improve the runtime speed of Ed25519 signature verification by using + Ed25519-donna's batch verification support when there are a lot of + signatures to verify at once. Implements ticket 16533. diff --git a/changes/feature16535 b/changes/feature16535 new file mode 100644 index 0000000000..3df46b658a --- /dev/null +++ b/changes/feature16535 @@ -0,0 +1,4 @@ + o Minor features (performance) + - Improve the runtime speed of Ed25519 operations and Curve25519 keypair + generation when built targeting 32 bit x86 platforms with SSE2 + available. Implements ticket 16535. diff --git a/changes/microdesc_cycle b/changes/microdesc_cycle new file mode 100644 index 0000000000..fddc2be609 --- /dev/null +++ b/changes/microdesc_cycle @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Simplify the microdesc_free() implementation so that it no longer + appears (to code analysis tools) to potentially invoke a huge suite + of other microdesc functions. diff --git a/changes/move_formatting_functions b/changes/move_formatting_functions new file mode 100644 index 0000000000..4ad5806f23 --- /dev/null +++ b/changes/move_formatting_functions @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Move some format-parsing functions out of crypto.c and + crypto_curve25519.c into crypto_format.c and/or util_format.c. diff --git a/changes/test-full b/changes/test-full new file mode 100644 index 0000000000..5ff51db803 --- /dev/null +++ b/changes/test-full @@ -0,0 +1,3 @@ + o Testing: + - Add new 'test-full' and 'test-full-online' targets to run all tests, + including integration tests with stem and chutney. diff --git a/changes/test-workqueue-windows b/changes/test-workqueue-windows new file mode 100644 index 0000000000..8d7b7f664b --- /dev/null +++ b/changes/test-workqueue-windows @@ -0,0 +1,3 @@ + o Testing: + - Make the test-workqueue test work on windows by initializing the + network before we begin. diff --git a/changes/ticket13338 b/changes/ticket13338 new file mode 100644 index 0000000000..a1d242fcca --- /dev/null +++ b/changes/ticket13338 @@ -0,0 +1,6 @@ + o Removed code: + - The internal pure-C tor-fw-helper tool is now removed from the + Tor distribution, in favor of the pure-Go clone available from + https://github.com/Yawning/tor-fw-helper . The libraries used + by the C tor-fw-helper are not, in our opinion, very confidence- + inspiring in their secure-proggramming techniques. Closes ticket 13338. diff --git a/changes/windows_only_files b/changes/windows_only_files new file mode 100644 index 0000000000..0ec64b9c43 --- /dev/null +++ b/changes/windows_only_files @@ -0,0 +1,4 @@ + o Code simplification and refactoring: + - Wrap windows-only C files inside '#ifdef _WIN32' so that tools that + try to scan or compile every file on Unix won't decide that they + are broken. |