1 Changes in version 0.4.8.12 - 2024-06-06
2 This is a minor release with couple bugfixes affecting conflux and logging.
3 We also have the return of faravahar directory authority with new keys and
6 o Minor feature (dirauth):
7 - Add back faravahar with a new address and new keys. Closes 40689.
9 o Minor features (fallbackdir):
10 - Regenerate fallback directories generated on June 06, 2024.
12 o Minor features (geoip data):
13 - Update the geoip files to match the IPFire Location Database, as
14 retrieved on 2024/06/06.
16 o Minor bugfix (circuit):
17 - Remove a log_warn being triggered by a protocol violation that
18 already emits a protocol warning log. Fixes bug 40932; bugfix
21 o Minor bugfixes (conflux):
22 - Avoid a potential hard assert (crash) when sending a cell on a
23 Conflux set. Fixes bug 40921; bugfix on 0.4.8.1-alpha.
24 - Make sure we don't process a closed circuit when packaging data.
25 This lead to a non fatal BUG() spamming logs. Fixes bug 40908;
26 bugfix on 0.4.8.1-alpha.
29 Changes in version 0.4.8.11 - 2024-04-10
30 This is a minor release mostly to upgrade the fallbackdir list.
31 Directory authorities running this version will now automatically
32 reject relays running the end of life 0.4.7.x version.
34 o Minor features (directory authorities):
35 - Reject 0.4.7.x series at the authority level. Closes ticket 40896.
36 - New IP address and keys for tor26.
37 - Allow BandwidthFiles "node_id" KeyValue without the dollar sign at
38 the start of the hexdigit, in order to easier database queries
39 combining Tor documents in which the relays fingerprint does not
40 include it. Fixes bug 40891; bugfix on 0.4.7 (all supported
43 o Minor features (fallbackdir):
44 - Regenerate fallback directories generated on April 10, 2024.
46 o Minor features (geoip data):
47 - Update the geoip files to match the IPFire Location Database, as
48 retrieved on 2024/04/10.
50 o Minor bugfixes (directory authorities):
51 - Add a warning when publishing a vote or signatures to another
52 directory authority fails. Fixes bug 40910; bugfix on 0.2.0.3-alpha.
55 Changes in version 0.4.8.10 - 2023-12-08
56 This is a security release fixing a high severity bug (TROVE-2023-007)
57 affecting Exit relays supporting Conflux. We strongly recommend to update as
60 o Major bugfixes (TROVE-2023-007, exit):
61 - Improper error propagation from a safety check in conflux leg
62 linking led to a desynchronization of which legs were part of a
63 conflux set, ultimately causing a UAF and NULL pointer dereference
64 crash on Exit relays. Fixes bug 40897; bugfix on 0.4.8.1-alpha.
66 o Minor features (fallbackdir):
67 - Regenerate fallback directories generated on December 08, 2023.
69 o Minor features (geoip data):
70 - Update the geoip files to match the IPFire Location Database, as
71 retrieved on 2023/12/08.
73 o Minor bugfixes (bridges, statistics):
74 - Correctly report statistics for client count over pluggable
75 transports. Fixes bug 40871; bugfix on 0.4.8.4.
78 Changes in version 0.4.8.9 - 2023-11-09
79 This is another security release fixing a high severity bug affecting onion
80 services which is tracked by TROVE-2023-006. We are also releasing a guard
81 major bugfix as well. If you are an onion service operator, we strongly
82 recommend to update as soon as possible.
84 o Major bugfixes (guard usage):
85 - When Tor excluded a guard due to temporary circuit restrictions,
86 it considered *additional* primary guards for potential usage by
87 that circuit. This could result in more than the specified number
88 of guards (currently 2) being used, long-term, by the tor client.
89 This could happen when a Guard was also selected as an Exit node,
90 but it was exacerbated by the Conflux guard restrictions. Both
91 instances have been fixed. Fixes bug 40876; bugfix
94 o Major bugfixes (onion service, TROVE-2023-006):
95 - Fix a possible hard assert on a NULL pointer when recording a
96 failed rendezvous circuit on the service side for the MetricsPort.
97 Fixes bug 40883; bugfix on 0.4.8.1-alpha.
99 o Minor features (fallbackdir):
100 - Regenerate fallback directories generated on November 09, 2023.
102 o Minor features (geoip data):
103 - Update the geoip files to match the IPFire Location Database, as
104 retrieved on 2023/11/09.
107 Changes in version 0.4.8.8 - 2023-11-03
108 We are releasing today a fix for a high security issue, TROVE-2023-004, that
109 is affecting relays. Also a few minor bugfixes detailed below. Please upgrade
110 as soon as posssible.
112 o Major bugfixes (TROVE-2023-004, relay):
113 - Mitigate an issue when Tor compiled with OpenSSL can crash during
114 handshake with a remote relay. Fixes bug 40874; bugfix
117 o Minor features (fallbackdir):
118 - Regenerate fallback directories generated on November 03, 2023.
120 o Minor features (geoip data):
121 - Update the geoip files to match the IPFire Location Database, as
122 retrieved on 2023/11/03.
124 o Minor bugfixes (directory authority):
125 - Look at the network parameter "maxunmeasuredbw" with the correct
126 spelling. Fixes bug 40869; bugfix on 0.4.6.1-alpha.
128 o Minor bugfixes (vanguards addon support):
129 - Count the conflux linked cell as valid when it is successfully
130 processed. This will quiet a spurious warn in the vanguards addon.
131 Fixes bug 40878; bugfix on 0.4.8.1-alpha.
134 Changes in version 0.4.8.7 - 2023-09-25
135 This version fixes a single major bug in the Conflux subsystem on the client
136 side. See below for more information. The upcoming Tor Browser 13 stable will
139 o Major bugfixes (conflux):
140 - Fix an issue that prevented us from pre-building more conflux sets
141 after existing sets had been used. Fixes bug 40862; bugfix
144 o Minor features (fallbackdir):
145 - Regenerate fallback directories generated on September 25, 2023.
147 o Minor features (geoip data):
148 - Update the geoip files to match the IPFire Location Database, as
149 retrieved on 2023/09/25.
152 Changes in version 0.4.8.6 - 2023-09-18
153 This version contains an important fix for onion service regarding congestion
154 control and its reliability. Apart from that, unneeded BUG warnings have been
155 suppressed especially about a compression bomb seen on relays. We strongly
156 recommend, in particular onion service operators, to upgrade as soon as
157 possible to this latest stable.
159 o Major bugfixes (onion service):
160 - Fix a reliability issue where services were expiring their
161 introduction points every consensus update. This caused
162 connectivity issues for clients caching the old descriptor and
163 intro points. Bug reported and fixed by gitlab user
164 @hyunsoo.kim676. Fixes bug 40858; bugfix on 0.4.7.5-alpha.
166 o Minor features (debugging, compression):
167 - Log the input and output buffer sizes when we detect a potential
168 compression bomb. Diagnostic for ticket 40739.
170 o Minor features (fallbackdir):
171 - Regenerate fallback directories generated on September 18, 2023.
173 o Minor features (geoip data):
174 - Update the geoip files to match the IPFire Location Database, as
175 retrieved on 2023/09/18.
177 o Minor bugfix (defensive programming):
178 - Disable multiple BUG warnings of a missing relay identity key when
179 starting an instance of Tor compiled without relay support. Fixes
180 bug 40848; bugfix on 0.4.3.1-alpha.
182 o Minor bugfixes (bridge authority):
183 - When reporting a pseudo-networkstatus as a bridge authority, or
184 answering "ns/purpose/*" controller requests, include accurate
185 published-on dates from our list of router descriptors. Fixes bug
186 40855; bugfix on 0.4.8.1-alpha.
188 o Minor bugfixes (compression, zstd):
189 - Use less frightening language and lower the log-level of our run-
190 time ABI compatibility check message in our Zstd compression
191 subsystem. Fixes bug 40815; bugfix on 0.4.3.1-alpha.
194 Changes in version 0.4.8.5 - 2023-08-30
195 Quick second release after the first stable few days ago fixing minor
196 annoying bugfixes creating log BUG stacktrace. We also fix BSD compilation
197 failures and PoW unit test.
199 o Minor features (fallbackdir):
200 - Regenerate fallback directories generated on August 30, 2023.
202 o Minor features (geoip data):
203 - Update the geoip files to match the IPFire Location Database, as
204 retrieved on 2023/08/30.
206 o Minor bugfix (NetBSD, compilation):
207 - Fix compilation issue on NetBSD by avoiding an unnecessary
208 dependency on "huge" page mappings in Equi-X. Fixes bug 40843;
209 bugfix on 0.4.8.1-alpha.
211 o Minor bugfix (NetBSD, testing):
212 - Fix test failures in "crypto/hashx" and "slow/crypto/equix" on
213 x86_64 and aarch64 NetBSD hosts, by adding support for
214 PROT_MPROTECT() flags. Fixes bug 40844; bugfix on 0.4.8.1-alpha.
216 o Minor bugfixes (conflux):
217 - Demote a relay-side warn about too many legs to ProtocolWarn, as
218 there are conditions that it can briefly happen during set
219 construction. Also add additional set logging details for all
220 error cases. Fixes bug 40841; bugfix on 0.4.8.1-alpha.
221 - Prevent non-fatal assert stacktrace caused by using conflux sets
222 during their teardown process. Fixes bug 40842; bugfix
226 Changes in version 0.4.8.4 - 2023-08-23
227 Finally, this is the very first stable release of the 0.4.8.x series making
228 Proof-of-Work (prop#327) and Conflux (prop#329) available to the entire
229 network. Some major bugfixes since the release candidate detailed below.
231 o Major feature (denial of service):
232 - Extend DoS protection to partially opened channels and known
233 relays. Because re-entry is not allowed anymore, we can apply DoS
234 protections onto known IP namely relays. Fixes bug 40821; bugfix
237 o Major bugfixes (conflux):
238 - Fix a relay-side crash caused by side effects of the fix for bug
239 40827. Reverts part of that fix that caused the crash and adds
240 additional log messages to help find the root cause. Fixes bug
241 40834; bugfix on 0.4.8.3-rc.
243 o Major bugfixes (proof of work, onion service, hashx):
244 - Fix a very rare buffer overflow in hashx, specific to the dynamic
245 compiler on aarch64 platforms. Fixes bug 40833; bugfix
248 o Minor features (fallbackdir):
249 - Regenerate fallback directories generated on August 23, 2023.
251 o Minor features (geoip data):
252 - Update the geoip files to match the IPFire Location Database, as
253 retrieved on 2023/08/23.
255 o Minor features (testing):
256 - All Rust code is now linted (cargo clippy) as part of GitLab CI, and
257 existing warnings have been fixed. - Any unit tests written in Rust now
258 run as part of GitLab CI.
260 o Minor bugfix (FreeBSD, compilation):
261 - Fix compilation issue on FreeBSD by properly importing
262 sys/param.h. Fixes bug 40825; bugfix on 0.4.8.1-alpha.
264 o Minor bugfixes (compression):
265 - Right after compression/decompression work is done, check for
266 errors. Before this, we would consider compression bomb before
267 that and then looking for errors leading to false positive on that
268 log warning. Fixes bug 40739; bugfix on 0.3.5.1-alpha. Patch
272 Changes in version 0.4.8.3-rc - 2023-08-04
273 This is the first release candidate (and likely the only) of the 0.4.8.x
274 series. We fixed a major conflux bugfix which was a fatal asserts on the
275 relay Exit side. See below for more details. Couple minor bugfixes. Until
276 stable, name of the game here is stabilization.
278 o Major bugfixes (conflux):
279 - Fix a relay-side assert crash caused by attempts to use a conflux
280 circuit between circuit close and free, such that no legs were on
281 the conflux set. Fixed by nulling out the stream's circuit back-
282 pointer when the last leg is removed. Additional checks and log
283 messages have been added to detect other cases. Fixes bug 40827;
284 bugfix on 0.4.8.1-alpha.
286 o Minor features (fallbackdir):
287 - Regenerate fallback directories generated on August 04, 2023.
288 - Regenerate fallback directories generated on July 26, 2023.
290 o Minor features (geoip data):
291 - Update the geoip files to match the IPFire Location Database, as
292 retrieved on 2023/07/26.
293 - Update the geoip files to match the IPFire Location Database, as
294 retrieved on 2023/08/04.
296 o Minor features (bridge):
297 - warn when a bridge is also configure to be an exit relay.
300 o Minor bugfixes (compilation):
301 - Fix all -Werror=enum-int-mismatch warnings. No behavior change.
302 Fixes bug 40824; bugfix on 0.3.5.1-alpha.
304 o Minor bugfixes (protocol warn):
305 - Wrap a handful of cases where ProtocolWarning logs could emit IP
306 addresses. Fixes bug 40828; bugfix on 0.3.5.1-alpha.
309 Changes in version 0.4.8.2-alpha - 2023-07-12
310 This is our second alpha containing some minor bugfixes and one major bugfix
311 about L2 vanguard rotation. We believe this will be the last alpha before the
312 rc in a couple of weeks.
314 o Major bugfixes (vanguards):
315 - Rotate to a new L2 vanguard whenever an existing one loses the
316 Stable or Fast flag. Previously, we would leave these relays in
317 the L2 vanguard list but never use them, and if all of our
318 vanguards end up like this we wouldn't have any middle nodes left
319 to choose from so we would fail to make onion-related circuits.
320 Fixes bug 40805; bugfix on 0.4.7.1-alpha.
322 o Minor feature (hs):
323 - Fix compiler warnings in equix and hashx when building with clang.
326 o Minor features (fallbackdir):
327 - Regenerate fallback directories generated on July 12, 2023.
329 o Minor features (geoip data):
330 - Update the geoip files to match the IPFire Location Database, as
331 retrieved on 2023/07/12.
333 o Minor bugfix (congestion control):
334 - Reduce the accepted range of a circuit's negotiated 'cc_sendme_inc'
335 to be +/- 1 from the consensus parameter value. Fixes bug 40569;
336 bugfix on 0.4.7.4-alpha.
337 - Remove unused congestion control algorithms and BDP calculation
338 code, now that we have settled on and fully tuned Vegas. Fixes bug
339 40566; bugfix on 0.4.7.4-alpha.
340 - Update default congestion control parameters to match consensus.
341 Fixes bug 40709; bugfix on 0.4.7.4-alpha.
343 o Minor bugfixes (compilation):
344 - Fix "initializer is not a constant" compilation error that
345 manifests itself on gcc versions < 8.1 and MSVC. Fixes bug 40773;
346 bugfix on 0.4.8.1-alpha
348 o Minor bugfixes (conflux):
349 - Count leg launch attempts prior to attempting to launch them. This
350 avoids inifinite launch attempts due to internal circuit building
351 failures. Additionally, double-check that we have enough exits in
352 our consensus overall, before attempting to launch conflux sets.
353 Fixes bug 40811; bugfix on 0.4.8.1-alpha.
354 - Fix a case where we were resuming reading on edge connections that
355 were already marked for close. Fixes bug 40801; bugfix
357 - Fix stream attachment order when creating conflux circuits, so
358 that stream attachment happens after finishing the full link
359 handshake, rather than upon set finalization. Fixes bug 40801;
360 bugfix on 0.4.8.1-alpha.
361 - Handle legs being closed or destroyed before computing an RTT
362 (resulting in warns about too many legs). Fixes bug 40810; bugfix
364 - Remove a "BUG" warning from conflux_pick_first_leg that can be
365 triggered by broken or malicious clients. Fixes bug 40801; bugfix
368 o Minor bugfixes (KIST):
369 - Prevent KISTSchedRunInterval from having values of 0 or 1, neither
370 of which work properly. Additionally, make a separate
371 KISTSchedRunIntervalClient parameter, so that the client and relay
372 KIST values can be set separately. Set the default of both to 2ms.
373 Fixes bug 40808; bugfix on 0.3.2.1-alpha.
376 Changes in version 0.4.8.1-alpha - 2023-06-01
377 This is the first alpha of the 0.4.8.x series. Two major features in this
378 version which are Conflux and onion service Proof-of-Work (PoW). There are
379 also many small features in particular, worth noting, the MetricsPort is now
380 exporting more relay and onion service metrics. Finally, there are
381 also numerous minor bugfixes included in this version.
383 o Major features (onion service, proof-of-work):
384 - Implement proposal 327 (Proof-Of-Work). This is aimed at thwarting
385 introduction flooding DoS attacks by introducing a dynamic Proof-Of-Work
386 protocol that occurs over introduction circuits. This introduces several
387 torrc options prefixed with "HiddenServicePoW" in order to control this
388 feature. By default, this is disabled. Closes ticket 40634.
390 o Major features (conflux):
391 - Implement Proposal 329 (conflux traffic splitting). Conflux splits
392 traffic across two circuits to Exits that support the protocol.
393 These circuits are pre-built only, which means that if the pre-
394 built conflux pool runs out, regular circuits will then be used.
395 When using conflux circuit pairs, clients choose the lower-latency
396 circuit to send data to the Exit. When the Exit sends data to the
397 client, it maximizes throughput, by fully utilizing both circuits
398 in a multiplexed fashion. Alternatively, clients can request that
399 the Exit optimize for latency when transmitting to them, by
400 setting the torrc option 'ConfluxClientUX latency'. Onion services
401 are not currently supported, but will be in arti. Many other
402 future optimizations will also be possible using this protocol.
405 o Major features (dirauth):
406 - Directory authorities and relays now interact properly with
407 directory authorities if they change addresses. In the past, they
408 would continue to upload votes, signatures, descriptors, etc to
409 the hard-coded address in the configuration. Now, if the directory
410 authority is listed in the consensus at a different address, they
411 will direct queries to this new address. Implements ticket 40705.
413 o Minor feature (CI):
414 - Update CI to use Debian Bullseye for runners.
416 o Minor feature (client, IPv6):
417 - Make client able to pick IPv6 relays by default now meaning
418 ClientUseIPv6 option now defaults to 1. Closes ticket 40785.
420 o Minor feature (compilation):
421 - Fix returning something other than "Unknown N/A" as libc version
422 if we build tor on an O.S. like DragonFlyBSD, FreeBSD, OpenBSD
425 o Minor feature (cpuworker):
426 - Always use the number of threads for our CPU worker pool to the
427 number of core available but cap it to a minimum of 2 in case of a
428 single core. Fixes bug 40713; bugfix on 0.3.5.1-alpha.
430 o Minor feature (lzma):
431 - Fix compiler warnings for liblzma >= 5.3.1. Closes ticket 40741.
433 o Minor feature (MetricsPort, relay):
434 - Expose time until online keys expires on the MetricsPort. Closes
437 o Minor feature (MetricsPort, relay, onion service):
438 - Add metrics for the relay side onion service interactions counting
439 seen cells. Closes ticket 40797. Patch by "friendly73".
441 o Minor features (directory authorities):
442 - Directory authorities now include their AuthDirMaxServersPerAddr
443 config option in the consensus parameter section of their vote.
444 Now external tools can better predict how they will behave.
445 Implements ticket 40753.
447 o Minor features (directory authority):
448 - Add a new consensus method in which the "published" times on
449 router entries in a microdesc consensus are all set to a
450 meaningless fixed date. Doing this will make the download size for
451 compressed microdesc consensus diffs much smaller. Part of ticket
452 40130; implements proposal 275.
454 o Minor features (network documents):
455 - Clients and relays no longer track the "published on" time
456 declared for relays in any consensus documents. When reporting
457 this time on the control port, they instead report a fixed date in
458 the future. Part of ticket 40130.
460 o Minor features (fallbackdir):
461 - Regenerate fallback directories generated on June 01, 2023.
463 o Minor features (geoip data):
464 - Update the geoip files to match the IPFire Location Database, as
465 retrieved on 2023/06/01.
467 o Minor features (hs, metrics):
468 - Add tor_hs_rend_circ_build_time and tor_hs_intro_circ_build_time
469 histograms to measure hidden service rend/intro circuit build time
470 durations. Part of ticket 40757.
472 o Minor features (metrics):
473 - Add a `reason` label to the HS error metrics. Closes ticket 40758.
474 - Add service side metrics for REND and introduction request
475 failures. Closes ticket 40755.
476 - Add support for histograms. Part of ticket 40757.
478 o Minor features (pluggable transports):
479 - Automatically restart managed Pluggable Transport processes when
480 their process terminate. Resolves ticket 33669.
482 o Minor features (portability, compilation):
483 - Use OpenSSL 1.1 APIs for LibreSSL, fixing LibreSSL 3.5
484 compatibility. Fixes issue 40630; patch by Alex Xu (Hello71).
486 o Minor features (relay):
487 - Do not warn about configuration options that may expose a non-
488 anonymous onion service. Closes ticket 40691.
490 o Minor features (relays):
491 - Trigger OOS when bind fails with EADDRINUSE. This improves
492 fairness when a large number of exit connections are requested,
493 and properly signals exhaustion to the network. Fixes issue 40597;
494 patch by Alex Xu (Hello71).
496 o Minor features (tests):
497 - Avoid needless key reinitialization with OpenSSL during unit
498 tests, saving significant time. Patch from Alex Xu.
500 o Minor bugfix (relay, logging):
501 - The wrong max queue cell size was used in a protocol warning
502 logging statement. Fixes bug 40745; bugfix on 0.4.7.1-alpha.
504 o Minor bugfixes (logging):
505 - Avoid ""double-quoting"" strings in several log messages. Fixes
506 bug 22723; bugfix on 0.1.2.2-alpha.
507 - Correct a log message when cleaning microdescriptors. Fixes bug
508 40619; bugfix on 0.2.5.4-alpha.
510 o Minor bugfixes (metrics):
511 - Decrement hs_intro_established_count on introduction circuit
512 close. Fixes bug 40751; bugfix on 0.4.7.12.
514 o Minor bugfixes (pluggable transports, windows):
515 - Remove a warning `BUG()` that could occur when attempting to
516 execute a non-existing pluggable transport on Windows. Fixes bug
517 40596; bugfix on 0.4.0.1-alpha.
519 o Minor bugfixes (relay):
520 - Remove a "BUG" warning for an acceptable race between a circuit
521 close and considering that circuit active. Fixes bug 40647; bugfix
523 - Remove a harmless "Bug" log message that can happen in
524 relay_addr_learn_from_dirauth() on relays during startup. Finishes
525 fixing bug 40231. Fixes bug 40523; bugfix on 0.4.5.4-rc.
527 o Minor bugfixes (sandbox):
528 - Allow membarrier for the sandbox. And allow rt_sigprocmask when
529 compiled with LTTng. Fixes bug 40799; bugfix on 0.3.5.1-alpha.
530 - Fix sandbox support on AArch64 systems. More "*at" variants of
531 syscalls are now supported. Signed 32 bit syscall parameters are
532 checked more precisely, which should lead to lower likelihood of
533 breakages with future compiler and libc releases. Fixes bug 40599;
534 bugfix on 0.4.4.3-alpha.
536 o Minor bugfixes (state file):
537 - Avoid a segfault if the state file doesn't contains TotalBuildTimes
538 along CircuitBuildAbandonedCount being above 0. Fixes bug 40437;
539 bugfix on 0.3.5.1-alpha.
542 - Remove the RendPostPeriod option. This was primarily used in
543 Version 2 Onion Services and after its deprecation isn't needed
544 anymore. Closes ticket 40431. Patch by Neel Chauhan.
547 Changes in version 0.4.7.13 - 2023-01-12
548 This version contains three major bugfixes, two for relays and one for
549 client being a security fix, TROVE-2022-002. We have added, for Linux, the
550 support for IP_BIND_ADDRESS_NO_PORT for relays using OutboundBindAddress.
551 We strongly recommend to upgrade to this version considering the important
552 congestion control fix detailed below.
554 o Major bugfixes (congestion control):
555 - Avoid incrementing the congestion window when the window is not
556 fully in use. Thia prevents overshoot in cases where long periods
557 of low activity would allow our congestion window to grow, and
558 then get followed by a burst, which would cause queue overload.
559 Also improve the increment checks for RFC3742. Fixes bug 40732;
560 bugfix on 0.4.7.5-alpha.
562 o Major bugfixes (relay):
563 - When opening a channel because of a circuit request that did not
564 include an Ed25519 identity, record the Ed25519 identity that we
565 actually received, so that we can use the channel for other
566 circuit requests that _do_ list an Ed25519 identity. (Previously
567 we had code to record this identity, but a logic bug caused it to
568 be disabled.) Fixes bug 40563; bugfix on 0.3.0.1-alpha. Patch
571 o Major bugfixes (TROVE-2022-002, client):
572 - The SafeSocks option had its logic inverted for SOCKS4 and
573 SOCKS4a. It would let the unsafe SOCKS4 pass but not the safe
574 SOCKS4a one. This is TROVE-2022-002 which was reported on
575 Hackerone by "cojabo". Fixes bug 40730; bugfix on 0.3.5.1-alpha.
577 o Minor feature (authority):
578 - Reject 0.4.6.x series at the authority level. Closes ticket 40664.
580 o Minor features (fallbackdir):
581 - Regenerate fallback directories generated on January 12, 2023.
583 o Minor features (geoip data):
584 - Update the geoip files to match the IPFire Location Database, as
585 retrieved on 2023/01/12.
587 o Minor features (relays):
588 - Set the Linux-specific IP_BIND_ADDRESS_NO_PORT option on outgoing
589 sockets, allowing relays using OutboundBindAddress to make more
590 outgoing connections than ephemeral ports, as long as they are to
591 separate destinations. Related to issue 40597; patch by Alex
594 o Minor bugfixes (relay, metrics):
595 - Fix typo in a congestion control label on the MetricsPort. Fixes
596 bug 40727; bugfix on 0.4.7.12.
598 o Minor bugfixes (sandbox, authority):
599 - With the sandbox enabled, allow to write "my-consensus-
600 {ns|microdesc}" and to rename them as well. Fixes bug 40729;
601 bugfix on 0.3.5.1-alpha.
603 o Code simplifications and refactoring:
604 - Rely on actual error returned by the kernel when choosing what
605 resource exhaustion to log. Fixes issue 40613; Fix
606 on tor-0.4.6.1-alpha.
609 Changes in version 0.4.5.16 - 2023-01-12
610 This version has one major bugfix for relay and a security fix,
611 TROVE-2022-002, affecting clients. We strongly recommend to upgrade to our
612 0.4.7.x stable series. As a reminder, this series is EOL on February 15th,
615 o Major bugfixes (relay):
616 - When opening a channel because of a circuit request that did not
617 include an Ed25519 identity, record the Ed25519 identity that we
618 actually received, so that we can use the channel for other
619 circuit requests that _do_ list an Ed25519 identity. (Previously
620 we had code to record this identity, but a logic bug caused it to
621 be disabled.) Fixes bug 40563; bugfix on 0.3.0.1-alpha. Patch
624 o Major bugfixes (TROVE-2022-002, client):
625 - The SafeSocks option had its logic inverted for SOCKS4 and
626 SOCKS4a. It would let the unsafe SOCKS4 pass but not the safe
627 SOCKS4a one. This is TROVE-2022-002 which was reported on
628 Hackerone by "cojabo". Fixes bug 40730; bugfix on 0.3.5.1-alpha.
630 o Minor features (fallbackdir):
631 - Regenerate fallback directories generated on January 12, 2023.
633 o Minor features (geoip data):
634 - Update the geoip files to match the IPFire Location Database, as
635 retrieved on 2023/01/12.
638 Changes in version 0.4.7.12 - 2022-12-06
639 This version contains a major change that is a new key for moria1. Also, new
640 metrics are exported on the MetricsPort for the congestion control
643 o Directory authority changes (moria1):
644 - Rotate the relay identity key and v3 identity key for moria1. They
645 have been online for more than a decade and refreshing keys
646 periodically is good practice. Advertise new ports too, to avoid
647 confusion. Closes ticket 40722.
649 o Minor feature (Congestion control metrics):
650 - Add additional metricsport relay metrics for congestion control.
653 o Minor features (fallbackdir):
654 - Regenerate fallback directories generated on December 06, 2022.
656 o Minor features (geoip data):
657 - Update the geoip files to match the IPFire Location Database, as
658 retrieved on 2022/12/06.
660 o Minor bugfixes (cpuworker, relay):
661 - Fix an off by one overload calculation on the number of CPUs being
662 used by our thread pool. Fixes bug 40719; bugfix on 0.3.5.1-alpha.
665 Changes in version 0.4.5.15 - 2022-12-06
666 This version has several major changes for directory authorities. And a
667 major bugfix on OSX. Again, we strongly recommend to upgrade to our 0.4.7.x
668 series latest stable. This series is EOL on February 15th, 2023.
670 o Directory authority changes (dizum):
671 - Change dizum IP address. Closes ticket 40687.
673 o Directory authority changes (Faravahar):
674 - Remove Faravahar until its operator, Sina, set it back up online
675 outside of Team Cymru network. Closes ticket 40688.
677 o Directory authority changes (moria1):
678 - Rotate the relay identity key and v3 identity key for moria1. They
679 have been online for more than a decade and refreshing keys
680 periodically is good practice. Advertise new ports too, to avoid
681 confusion. Closes ticket 40722.
683 o Major bugfixes (OSX):
684 - Fix coarse-time computation on Apple platforms (like Mac M1) where
685 the Mach absolute time ticks do not correspond directly to
686 nanoseconds. Previously, we computed our shift value wrong, which
687 led us to give incorrect timing results. Fixes bug 40684; bugfix
690 o Major bugfixes (relay):
691 - Improve security of our DNS cache by randomly clipping the TTL
692 value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha.
694 o Minor features (fallbackdir):
695 - Regenerate fallback directories generated on December 06, 2022.
697 o Minor features (geoip data):
698 - Update the geoip files to match the IPFire Location Database, as
699 retrieved on 2022/12/06.
702 Changes in version 0.4.7.11 - 2022-11-10
703 This version contains several major fixes aimed at helping defend against
704 network denial of service. It is also extending drastically the MetricsPort
705 for relays to help us gather more internal data to investigate performance
708 We strongly recommend to upgrade to this version especially for Exit relays
709 in order to help the network defend against this ongoing DDoS.
711 o Directory authority changes (dizum, Faravahar):
712 - Change dizum IP address. Closes ticket 40687.
713 - Remove Faravahar until its operator, Sina, set it back up online
714 outside of Team Cymru network. Closes ticket 40688.
716 o Major bugfixes (geoip data):
717 - IPFire informed us on August 12th that databases generated after
718 (including) August 10th did not have proper ARIN network
719 allocations. We are updating the database to use the one generated
720 on August 9th, 2022. Fixes bug 40658; bugfix on 0.4.5.13.
722 o Major bugfixes (onion service):
723 - Set a much higher circuit build timeout for opened client rendezvous
724 circuit. Before this, tor would time them out very quickly leading to
725 unnecessary retries meaning more load on the network. Fixes bug 40694;
726 bugfix on 0.3.5.1-alpha.
728 o Major bugfixes (OSX):
729 - Fix coarse-time computation on Apple platforms (like Mac M1) where
730 the Mach absolute time ticks do not correspond directly to
731 nanoseconds. Previously, we computed our shift value wrong, which
732 led us to give incorrect timing results. Fixes bug 40684; bugfix
735 o Major bugfixes (relay):
736 - Improve security of our DNS cache by randomly clipping the TTL
737 value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha.
739 o Minor feature (Mac and iOS build):
740 - Change how combine_libs works on Darwin like platforms to make
741 sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED`
742 symbols on the archive before we repack and run ${RANLIB} on the
743 archive. This fixes a build issue with recent Xcode versions on
744 Mac Silicon and iOS. Closes ticket 40683.
746 o Minor feature (metrics):
747 - Add various congestion control counters to the MetricsPort. Closes
750 o Minor feature (performance):
751 - Bump the maximum amount of CPU that can be used from 16 to 128. Note
752 that NumCPUs torrc option overrides this hardcoded maximum. Fixes bug
753 40703; bugfix on 0.3.5.1-alpha.
755 o Minor feature (relay):
756 - Make an hardcoded value for the maximum of per CPU tasks into a
758 - Two new consensus parameters are added to control the wait time in
759 queue of the onionskins. One of them is the torrc
760 MaxOnionQueueDelay options which supersedes the consensus
761 parameter. Closes ticket 40704.
763 o Minor feature (relay, DoS):
764 - Apply circuit creation anti-DoS defenses if the outbound circuit
765 max cell queue size is reached too many times. This introduces two
766 new consensus parameters to control the queue size limit and
767 number of times allowed to go over that limit. Closes ticket 40680.
769 o Minor feature (relay, metrics):
770 - Add DoS defenses counter to MetricsPort.
771 - Add congestion control RTT reset counter to MetricsPort.
772 - Add counters to the MetricsPort how many connections, per type,
773 are currently opened and how many were created.
774 - Add relay flags from the consensus to the MetricsPort.
775 - Add total number of opened circuits to MetricsPort.
776 - Add total number of streams seen by an Exit to the MetricsPort.
777 - Add traffic stats as in number of read/written bytes in total.
778 - Related to ticket 40194.
780 o Minor features (fallbackdir):
781 - Regenerate fallback directories generated on November 10, 2022.
783 o Minor features (geoip data):
784 - Update the geoip files to match the IPFire Location Database, as
785 retrieved on 2022/11/10.
787 o Minor bugfixes (authorities, sandbox):
788 - Allow to write file my-consensus-<flavor-name> to disk when
789 sandbox is activated. Fixes bug 40663; bugfix on 0.3.5.1-alpha.
791 o Minor bugfixes (dirauth):
792 - Directory authorities stop voting a consensus "Measured" weight
793 for relays with the Authority flag. Now these relays will be
794 considered unmeasured, which should reserve their bandwidth for
795 their dir auth role and minimize distractions from other roles. In
796 place of the "Measured" weight, they now include a
797 "MeasuredButAuthority" weight (not used by anything) so the
798 bandwidth authority's opinion on this relay can be recorded for
799 posterity. Lastly, remove the AuthDirDontVoteOnDirAuthBandwidth
800 torrc option which never worked right. Fixes bugs 40698 and 40700;
801 bugfix on 0.4.7.2-alpha.
803 o Minor bugfixes (onion service client):
804 - A collapsing onion service circuit should be seen as an
805 "unreachable" error so it can be retried. Fixes bug 40692; bugfix
808 o Minor bugfixes (onion service):
809 - Make the service retry a rendezvous if the circuit is being
810 repurposed for measurements. Fixes bug 40696; bugfix
813 o Minor bugfixes (relay overload statistics):
814 - Count total create cells vs dropped create cells properly, when
815 assessing if our fraction of dropped cells is too high. We only
816 count non-client circuits in the denominator, but we would include
817 client circuits in the numerator, leading to surprising log lines
818 claiming that we had dropped more than 100% of incoming create
819 cells. Fixes bug 40673; bugfix on 0.4.7.1-alpha.
821 o Code simplification and refactoring (bridges):
822 - Remove unused code related to ExtPort connection ID. Fixes bug
823 40648; bugfix on 0.3.5.1-alpha.
826 Changes in version 0.4.7.10 - 2022-08-12
827 This version updates the geoip cache that we generate from IPFire location
828 database to use the August 9th, 2022 one. Everyone MUST update to this
829 latest release else circuit path selection and relay metrics are badly
832 o Major bugfixes (geoip data):
833 - IPFire informed us on August 12th that databases generated after
834 (including) August 10th did not have proper ARIN network allocations. We
835 are updating the database to use the one generated on August 9th, 2022.
836 Fixes bug 40658; bugfix on 0.4.7.9.
839 Changes in version 0.4.6.12 - 2022-08-12
840 This version updates the geoip cache that we generate from IPFire location
841 database to use the August 9th, 2022 one. Everyone MUST update to this
842 latest release else circuit path selection and relay metrics are badly
845 o Major bugfixes (geoip data):
846 - IPFire informed us on August 12th that databases generated after
847 (including) August 10th did not have proper ARIN network allocations. We
848 are updating the database to use the one generated on August 9th, 2022.
849 Fixes bug 40658; bugfix on 0.4.6.11.
852 Changes in version 0.4.5.14 - 2022-08-12
853 This version updates the geoip cache that we generate from IPFire location
854 database to use the August 9th, 2022 one. Everyone MUST update to this
855 latest release else circuit path selection and relay metrics are badly
858 o Major bugfixes (geoip data):
859 - IPFire informed us on August 12th that databases generated after
860 (including) August 10th did not have proper ARIN network allocations. We
861 are updating the database to use the one generated on August 9th, 2022.
862 Fixes bug 40658; bugfix on 0.4.5.13.
865 Changes in version 0.4.7.9 - 2022-08-11
866 This version contains several major fixes aimed at reducing memory pressure on
867 relays and possible side-channel. It also contains a major bugfix related to
868 congestion control also aimed at reducing memory pressure on relays.
869 Finally, there is last one major bugfix related to Vanguard L2 layer node
872 We strongly recommend to upgrade to this version especially for Exit relays
873 in order to help the network defend against this ongoing DDoS.
875 o Major bugfixes (congestion control):
876 - Implement RFC3742 Limited Slow Start. Congestion control was
877 overshooting the congestion window during slow start, particularly
878 for onion service activity. With this fix, we now update the
879 congestion window more often during slow start, as well as dampen
880 the exponential growth when the congestion window grows above a
881 capping parameter. This should reduce the memory increases guard
882 relays were seeing, as well as allow us to set lower queue limits
883 to defend against ongoing DoS attacks. Fixes bug 40642; bugfix
886 o Major bugfixes (relay):
887 - Remove OR connections btrack subsystem entries when the connections
888 close normally. Before this, we would only remove the entry on error and
889 thus leaking memory for each normal OR connections. Fixes bug 40604;
890 bugfix on 0.4.0.1-alpha.
891 - Stop sending TRUNCATED cell and instead close the circuit from which we
892 received a DESTROY cell. This makes every relay in the circuit path to
893 stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
895 o Major bugfixes (vanguards):
896 - We had omitted some checks for whether our vanguards (second layer
897 guards from proposal 333) overlapped. Now make sure to pick each
898 of them to be independent. Also, change the design to allow them
899 to come from the same family. Fixes bug 40639; bugfix
902 o Minor features (dirauth):
903 - Add a torrc option to control the Guard flag bandwidth threshold
904 percentile. Closes ticket 40652.
905 - Add an AuthDirVoteGuard torrc option that can allow authorities to
906 assign the Guard flag to the given fingerprints/country code/IPs.
907 This is a needed feature mostly for defense purposes in case a DoS
908 hits the network and relay start losing the Guard flags too fast.
909 - Make UPTIME_TO_GUARANTEE_STABLE, MTBF_TO_GUARANTEE_STABLE,
910 TIME_KNOWN_TO_GUARANTEE_FAMILIAR WFU_TO_GUARANTEE_GUARD tunable
913 o Minor features (fallbackdir):
914 - Regenerate fallback directories generated on August 11, 2022.
916 o Minor features (geoip data):
917 - Update the geoip files to match the IPFire Location Database, as
918 retrieved on 2022/08/11.
920 o Minor bugfixes (congestion control):
921 - Add a check for an integer underflow condition that might happen
922 in cases where the system clock is stopped, the ORconn is blocked,
923 and the endpoint sends more than a congestion window worth of non-
924 data control cells at once. This would cause a large congestion
925 window to be calculated instead of a small one. No security
926 impact. Fixes bug 40644; bugfix on 0.4.7.5-alpha.
928 o Minor bugfixes (defense in depth):
929 - Change a test in the netflow padding code to make it more
930 _obviously_ safe against remotely triggered crashes. (It was safe
931 against these before, but not obviously so.) Fixes bug 40645;
932 bugfix on 0.3.1.1-alpha.
934 o Minor bugfixes (relay):
935 - Do not propagate either forward or backward a DESTROY remote reason when
936 closing a circuit in order to avoid a possible side channel. Fixes bug
937 40649; bugfix on 0.1.2.4-alpha.
940 Changes in version 0.4.6.11 - 2022-08-11
941 This version contains two major fixes aimed at reducing memory pressure on
942 relays and possible side-channel. The rest of the fixes were backported for
943 stability or safety purposes.
945 This is the very LAST version of this series. As of August 1st 2022, it is
946 end-of-life (EOL). We thus strongly recommend to upgrade to the latest
947 stable of the 0.4.7.x series.
949 o Major bugfixes (relay):
950 - Remove OR connections btrack subsystem entries when the connections
951 close normally. Before this, we would only remove the entry on error and
952 thus leaking memory for each normal OR connections. Fixes bug 40604;
953 bugfix on 0.4.0.1-alpha.
954 - Stop sending TRUNCATED cell and instead close the circuit from which we
955 received a DESTROY cell. This makes every relay in the circuit path to
956 stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
958 o Minor features (fallbackdir):
959 - Regenerate fallback directories generated on August 11, 2022.
961 o Minor features (geoip data):
962 - Update the geoip files to match the IPFire Location Database, as
963 retrieved on 2022/08/11.
965 o Minor features (linux seccomp2 sandbox):
966 - Permit the clone3 syscall, which is apparently used in glibc-2.34
967 and later. Closes ticket 40590.
969 o Minor bugfixes (controller, path bias):
970 - When a circuit's path is specified, in full or in part, from the
971 controller API, do not count that circuit towards our path-bias
972 calculations. (Doing so was incorrect, since we cannot tell
973 whether the controller is selecting relays randomly.) Resolves a
974 "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
976 o Minor bugfixes (defense in depth):
977 - Change a test in the netflow padding code to make it more
978 _obviously_ safe against remotely triggered crashes. (It was safe
979 against these before, but not obviously so.) Fixes bug 40645;
980 bugfix on 0.3.1.1-alpha.
982 o Minor bugfixes (linux seccomp2 sandbox):
983 - Allow the rseq system call in the sandbox. This solves a crash
984 issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
985 40601; bugfix on 0.3.5.11.
987 o Minor bugfixes (metrics port, onion service):
988 - The MetricsPort line for an onion service with multiple ports are now
989 unique that is one line per port. Before this, all ports of an onion
990 service would be on the same line which violates the Prometheus rules of
991 unique labels. Fixes bug 40581; bugfix on 0.4.5.1-alpha.
993 o Minor bugfixes (onion service, client):
994 - Fix a fatal assert due to a guard subsystem recursion triggered by
995 the onion service client. Fixes bug 40579; bugfix on 0.3.5.1-alpha.
997 o Minor bugfixes (performance, DoS):
998 - Fix one case of a not-especially viable denial-of-service attack
999 found by OSS-Fuzz in our consensus-diff parsing code. This attack
1000 causes a lot small of memory allocations and then immediately
1001 frees them: this is only slow when running with all the sanitizers
1002 enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
1004 o Minor bugfixes (relay):
1005 - Do not propagate either forward or backward a DESTROY remote reason when
1006 closing a circuit in order to avoid a possible side channel. Fixes bug
1007 40649; bugfix on 0.1.2.4-alpha.
1010 Changes in version 0.4.5.13 - 2022-08-11
1011 This version contains two major fixes aimed at reducing memory pressure on
1012 relays and possible side-channel. The rest of the fixes were backported for
1013 stability or safety purposes. We strongly recommend to upgrade your relay to
1014 this version or, ideally, to the latest stable of the 0.4.7.x series.
1016 o Major bugfixes (relay):
1017 - Remove OR connections btrack subsystem entries when the connections
1018 close normally. Before this, we would only remove the entry on error and
1019 thus leaking memory for each normal OR connections. Fixes bug 40604;
1020 bugfix on 0.4.0.1-alpha.
1021 - Stop sending TRUNCATED cell and instead close the circuit from which we
1022 received a DESTROY cell. This makes every relay in the circuit path to
1023 stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
1025 o Minor features (fallbackdir):
1026 - Regenerate fallback directories generated on August 11, 2022.
1028 o Minor features (geoip data):
1029 - Update the geoip files to match the IPFire Location Database, as
1030 retrieved on 2022/08/11.
1032 o Minor features (linux seccomp2 sandbox):
1033 - Permit the clone3 syscall, which is apparently used in glibc-2.34
1034 and later. Closes ticket 40590.
1036 o Minor bugfixes (controller, path bias):
1037 - When a circuit's path is specified, in full or in part, from the
1038 controller API, do not count that circuit towards our path-bias
1039 calculations. (Doing so was incorrect, since we cannot tell
1040 whether the controller is selecting relays randomly.) Resolves a
1041 "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
1043 o Minor bugfixes (defense in depth):
1044 - Change a test in the netflow padding code to make it more
1045 _obviously_ safe against remotely triggered crashes. (It was safe
1046 against these before, but not obviously so.) Fixes bug 40645;
1047 bugfix on 0.3.1.1-alpha.
1049 o Minor bugfixes (linux seccomp2 sandbox):
1050 - Allow the rseq system call in the sandbox. This solves a crash
1051 issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
1052 40601; bugfix on 0.3.5.11.
1054 o Minor bugfixes (metrics port, onion service):
1055 - The MetricsPort line for an onion service with multiple ports are now
1056 unique that is one line per port. Before this, all ports of an onion
1057 service would be on the same line which violates the Prometheus rules of
1058 unique labels. Fixes bug 40581; bugfix on 0.4.5.1-alpha.
1060 o Minor bugfixes (onion service, client):
1061 - Fix a fatal assert due to a guard subsystem recursion triggered by
1062 the onion service client. Fixes bug 40579; bugfix on 0.3.5.1-alpha.
1064 o Minor bugfixes (performance, DoS):
1065 - Fix one case of a not-especially viable denial-of-service attack
1066 found by OSS-Fuzz in our consensus-diff parsing code. This attack
1067 causes a lot small of memory allocations and then immediately
1068 frees them: this is only slow when running with all the sanitizers
1069 enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
1071 o Minor bugfixes (relay):
1072 - Do not propagate either forward or backward a DESTROY remote reason when
1073 closing a circuit in order to avoid a possible side channel. Fixes bug
1074 40649; bugfix on 0.1.2.4-alpha.
1077 Changes in version 0.4.7.8 - 2022-06-17
1078 This version fixes several bugfixes including a High severity security issue
1079 categorized as a Denial of Service. Everyone running an earlier version
1080 should upgrade to this version.
1082 o Major bugfixes (congestion control, TROVE-2022-001):
1083 - Fix a scenario where RTT estimation can become wedged, seriously
1084 degrading congestion control performance on all circuits. This
1085 impacts clients, onion services, and relays, and can be triggered
1086 remotely by a malicious endpoint. Tracked as CVE-2022-33903. Fixes
1087 bug 40626; bugfix on 0.4.7.5-alpha.
1089 o Minor features (fallbackdir):
1090 - Regenerate fallback directories generated on June 17, 2022.
1092 o Minor features (geoip data):
1093 - Update the geoip files to match the IPFire Location Database, as
1094 retrieved on 2022/06/17.
1096 o Minor bugfixes (linux seccomp2 sandbox):
1097 - Allow the rseq system call in the sandbox. This solves a crash
1098 issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
1099 40601; bugfix on 0.3.5.11.
1101 o Minor bugfixes (logging):
1102 - Demote a harmless warn log message about finding a second hop to
1103 from warn level to info level, if we do not have enough
1104 descriptors yet. Leave it at notice level for other cases. Fixes
1105 bug 40603; bugfix on 0.4.7.1-alpha.
1106 - Demote a notice log message about "Unexpected path length" to info
1107 level. These cases seem to happen arbitrarily, and we likely will
1108 never find all of them before the switch to arti. Fixes bug 40612;
1109 bugfix on 0.4.7.5-alpha.
1111 o Minor bugfixes (relay, logging):
1112 - Demote a harmless XOFF log message to from notice level to info
1113 level. Fixes bug 40620; bugfix on 0.4.7.5-alpha.
1116 Changes in version 0.4.7.7 - 2022-04-27
1117 This is the first stable version of the 0.4.7.x series. This series includes
1118 several major bugfixes from previous series and one massive new feature:
1121 Congestion control should improve traffic speed and stability on the network
1122 once a majority of Exit upgrade. You can find more details about it in
1123 proposal 324 in the torspec.git repository.
1125 For a complete list of changes since 0.4.6.10, see the ReleaseNotes file.
1127 o Minor features (fallbackdir):
1128 - Regenerate fallback directories generated on April 27, 2022.
1130 o Minor features (geoip data):
1131 - Update the geoip files to match the IPFire Location Database, as
1132 retrieved on 2022/04/27.
1134 o Minor bugfixes (congestion control, client side logs):
1135 - Demote a warn about 1-hop circuits using congestion control down to
1136 info; Demote the 4-hop case to notice. Fixes bug 40598; bugfix on
1140 Changes in version 0.4.7.6-rc - 2022-04-07
1141 This is the first release candidate of the 0.4.7.x series. Only one minor
1142 bugfix went in since the last alpha couple weeks ago. We strongly recommend
1143 anyone running an alpha version to upgrade to this version. Unless major
1144 problems are found, the next release will finally be the stable!
1146 o Minor features (fallbackdir):
1147 - Regenerate fallback directories generated on April 07, 2022.
1149 o Minor features (geoip data):
1150 - Update the geoip files to match the IPFire Location Database, as
1151 retrieved on 2022/04/07.
1153 o Minor features (linux seccomp2 sandbox):
1154 - Permit the clone3 syscall, which is apparently used in glibc-2.34
1155 and later. Closes ticket 40590.
1158 Changes in version 0.4.7.5-alpha - 2022-03-25
1159 This version contains, of what we hope, the final work for congestion
1160 control paving the way to the stable version. We expect this to be the last
1161 alpha version of the 0.4.7.x series. Mostly minor bugfixes except one major
1162 bugfix that changes how Tor behaves with DNS timeouts for Exit relays. As
1163 always with an alpha, we recommend all relay operators to upgrade from
1164 previous alpha to this one.
1166 o Major bugfixes (onion service, congestion control):
1167 - Fix the onion service upload case where the congestion control
1168 parameters were not added to the right object. Fixes bug 40586;
1169 bugfix on 0.4.7.4-alpha.
1171 o Major bugfixes (relay, DNS):
1172 - Lower the DNS timeout from 3 attempts at 5 seconds each to 2
1173 attempts at 1 seconds each. Two new consensus parameters were
1174 added to control these values. This change should improve observed
1175 performance under DNS load; see ticket for more details. Fixes bug
1176 40312; bugfix on 0.3.5.1-alpha.
1178 o Minor features (control port):
1179 - Provide congestion control fields on CIRC_BW and STREAM control
1180 port events, for use by sbws. Closes ticket 40568.
1182 o Minor features (fallbackdir):
1183 - Regenerate fallback directories generated on March 25, 2022.
1185 o Minor features (geoip data):
1186 - Update the geoip files to match the IPFire Location Database, as
1187 retrieved on 2022/03/25.
1189 o Minor bugfixes (DNSPort, dormant mode):
1190 - A request on the DNSPort now wakes up a dormant tor. Fixes bug
1191 40577; bugfix on 0.3.5.1-alpha.
1193 o Minor bugfixes (metrics port, onion service):
1194 - Fix the metrics with a port label to be unique. Before this, all
1195 ports of an onion service would be on the same line which violates
1196 the Prometheus rules of unique labels. Fixes bug 40581; bugfix
1199 o Minor bugfixes (onion service congestion control):
1200 - Avoid a non-fatal assertion failure in the case where we fail to
1201 set up congestion control on a rendezvous circuit. This could
1202 happen naturally if a cache entry expired at an unexpected time.
1203 Fixes bug 40576; bugfix on 0.4.7.4-alpha.
1205 o Minor bugfixes (onion service, client):
1206 - Fix a rare but fatal assertion failure due to a guard subsystem
1207 recursion triggered by the onion service client. Fixes bug 40579;
1208 bugfix on 0.3.5.1-alpha.
1210 o Minor bugfixes (relay, overload):
1211 - Decide whether to signal overload based on a fraction and
1212 assessment period of ntor handshake drops. Previously, a single
1213 drop could trigger an overload state, which caused many false
1214 positives. Fixes bug 40560; bugfix on 0.4.7.1-alpha.
1217 Changes in version 0.4.7.4-alpha - 2022-02-25
1218 This version contains the negotiation congestion control work which is the
1219 final part needed before going stable. There are also various bugfixes
1220 including two major ones detailed below. Last, the Exit notice page layout
1221 has been modernized but the text is unchanged. We recommend that all relay
1222 operators running any previous alpha upgrade to this one.
1224 o Major features (relay, client, onion services):
1225 - Implement RTT-based congestion control for exits and onion
1226 services, from Proposal 324. Disabled by default. Enabled by the
1227 'cc_alg' consensus parameter. Closes ticket 40444.
1229 o Major bugfixes (client):
1230 - Stop caching TCP connect failures to relays/bridges when we
1231 initiated the connection as a client. Now we only cache connect
1232 failures as a relay or bridge when we initiated them because of an
1233 EXTEND request. Declining to re-attempt the client-based
1234 connections could cause problems when we lose connectivity and try
1235 to reconnect. Fixes bug 40499; bugfix on 0.3.3.4-alpha.
1237 o Major bugfixes (relay, overload):
1238 - Do not trigger a general overload on DNS timeout. Even after
1239 fixing 40527, some code remained that triggered the overload.
1240 Fixes bug 40564; bugfix on 0.4.7.1-alpha.
1242 o Minor feature (authority, relay):
1243 - Reject End-Of-Life relays running version 0.3.5.x. Closes
1246 o Minor features (fallbackdir):
1247 - Regenerate fallback directories generated on February 25, 2022.
1249 o Minor features (geoip data):
1250 - Update the geoip files to match the IPFire Location Database, as
1251 retrieved on 2022/02/25.
1253 o Minor bugfix (logging):
1254 - Update a log notice dead URL to a working one. Fixes bug 40544;
1255 bugfix on 0.3.5.1-alpha.
1257 o Minor bugfix (relay):
1258 - Remove the HSDir and HSIntro onion service v2 protocol versions so
1259 relay stop advertising that they support them. Fixes bug 40509;
1262 o Minor bugfixes (cell scheduling):
1263 - Avoid writing empty payload with NSS write.
1264 - Don't attempt to write 0 bytes after a cell scheduling loop. No
1265 empty payload was put on the wire. Fixes bug 40548; bugfix
1268 o Minor bugfixes (compilation):
1269 - Resume being able to build on old / esoteric gcc versions. Fixes
1270 bug 40550; bugfix on 0.4.7.1-alpha.
1272 o Minor bugfixes (compiler warnings):
1273 - Fix couple compiler warnings on latest Ubuntu Jammy. Fixes bug
1274 40516; bugfix on 0.3.5.1-alpha.
1277 - Provide an improved version of the tor-exit-notice.html file for
1278 exit relays to use as a landing page. The text is unchanged, but
1279 the page design and layout are significantly modernized, and
1280 several links are fixed. Patch from "n_user"; closes ticket 40529.
1283 Changes in version 0.4.6.10 - 2022-02-04
1284 This version contains minor bugfixes but one in particular is that relays
1285 don't advertise onion service v2 support at the protocol version level.
1287 o Minor features (fallbackdir):
1288 - Regenerate fallback directories generated on February 04, 2022.
1290 o Minor features (geoip data):
1291 - Update the geoip files to match the IPFire Location Database, as
1292 retrieved on 2022/02/04.
1294 o Minor bugfix (logging):
1295 - Update a log notice dead URL to a working one. Fixes bug 40544;
1296 bugfix on 0.3.5.1-alpha.
1298 o Minor bugfix (relay):
1299 - Remove the HSDir and HSIntro onion service v2 protocol versions so
1300 relay stop advertising that they support them. Fixes bug 40509;
1303 o Minor bugfixes (MetricsPort, Prometheus):
1304 - Add double quotes to the label values of the onion service
1305 metrics. Fixes bug 40552; bugfix on 0.4.5.1-alpha.
1308 Changes in version 0.4.5.12 - 2022-02-04
1309 This version contains mostly minor bugfixes for which you can find the
1310 details below. The previous release (0.4.5.11) was suppose to update the
1311 GeoIP and fallbackdir lists but a problem in our release pipeline prevented
1312 those files to be updated correctly. Thus, this release regenerates up to
1313 date lists. Furthermore, another fix to highlight is that relays don't
1314 advertise onion service v2 support at the protocol version level.
1316 o Minor feature (reproducible build):
1317 - The repository can now build reproducible tarballs which adds the
1318 build command "make dist-reprod" for that purpose. Closes
1321 o Minor features (compilation):
1322 - Give an error message if trying to build with a version of
1323 LibreSSL known not to work with Tor. (There's an incompatibility
1324 with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
1325 their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
1328 o Minor features (fallbackdir):
1329 - Regenerate fallback directories generated on February 04, 2022.
1331 o Minor features (geoip data):
1332 - Update the geoip files to match the IPFire Location Database, as
1333 retrieved on 2022/02/04.
1335 o Minor bugfix (logging):
1336 - Update a log notice dead URL to a working one. Fixes bug 40544;
1337 bugfix on 0.3.5.1-alpha.
1339 o Minor bugfix (relay):
1340 - Remove the HSDir and HSIntro onion service v2 protocol versions so
1341 relay stop advertising that they support them. Fixes bug 40509;
1344 o Minor bugfixes (compilation):
1345 - Fix a compilation error when trying to build Tor with a compiler
1346 that does not support expanding statically initialized const
1347 values in macro's. Fixes bug 40410; bugfix on 0.4.5.1-alpha
1348 - Fix our configuration logic to detect whether we had OpenSSL 3:
1349 previously, our logic was reversed. This has no other effect than
1350 to change whether we suppress deprecated API warnings. Fixes bug
1351 40429; bugfix on 0.3.5.13.
1353 o Minor bugfixes (MetricsPort, Prometheus):
1354 - Add double quotes to the label values of the onion service
1355 metrics. Fixes bug 40552; bugfix on 0.4.5.1-alpha.
1357 o Minor bugfixes (relay):
1358 - Reject IPv6-only DirPorts. Our reachability self-test forces
1359 DirPorts to be IPv4, but our configuration parser allowed them to
1360 be IPv6-only, which led to an assertion failure. Fixes bug 40494;
1361 bugfix on 0.4.5.1-alpha.
1364 Changes in version 0.4.7.3-alpha - 2021-12-15
1365 This third alpha release of the 0.4.7.x series fixes several bugs including
1366 two major ones affecting Bridges and Relays (see below). If you are running
1367 an earlier 0.4.7.x version, you should upgrade to this version.
1369 o Major bugfixes (bridges):
1370 - Make Tor work reliably again when you have multiple bridges
1371 configured and one or more of them are unreachable. The problem
1372 came because we require that we have bridge descriptors for both
1373 of our first two bridges (else we refuse to try to connect), but
1374 in some cases we would wait three hours before trying to fetch
1375 these missing descriptors, and/or never recover when we do try to
1376 fetch them. Fixes bugs 40396 and 40495; bugfix on 0.3.0.5-rc
1379 o Major bugfixes (relay, overload):
1380 - Change the MetricsPort DNS "timeout" label to be "tor_timeout" in
1381 order to indicate that this was a DNS timeout from tor perspective
1382 and not the DNS server itself.
1383 - Deprecate overload_dns_timeout_period_secs and
1384 overload_dns_timeout_scale_percent consensus parameters as well.
1385 They were used to assess the overload state which is no more now.
1386 - Don't make Tor DNS timeout trigger an overload general state.
1387 These timeouts are different from DNS server timeout. They have to
1388 be seen as timeout related to UX and not because of a network
1389 problem. Fixes bug 40527; bugfix on 0.4.6.1-alpha.
1391 o Minor feature (reproducible build):
1392 - The repository can now build reproducible tarballs which adds the
1393 build command "make dist-reprod" for that purpose. Closes
1396 o Minor features (compilation):
1397 - Give an error message if trying to build with a version of
1398 LibreSSL known not to work with Tor. (There's an incompatibility
1399 with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
1400 their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
1403 o Minor features (fallbackdir):
1404 - Regenerate fallback directories generated on December 15, 2021.
1406 o Minor features (geoip data):
1407 - Update the geoip files to match the IPFire Location Database, as
1408 retrieved on 2021/12/15.
1410 o Minor features (portability):
1411 - Try to prevent a compiler warning about printf arguments that
1412 could sometimes occur on MSYS2 depending on the configuration.
1413 Closes ticket 40355.
1415 o Minor bugfix (pluggable transport):
1416 - Do not kill a managed proxy if one of its transport configurations
1417 emits a method error. Instead log a warning and continue processing
1418 method arguments. Fixes bug 7362; bugfix on 0.2.3.6-alpha.
1420 o Minor bugfixes (bridges):
1421 - When we don't yet have a descriptor for one of our bridges,
1422 disable the entry guard retry schedule on that bridge. The entry
1423 guard retry schedule and the bridge descriptor retry schedule can
1424 conflict, e.g. where we mark a bridge as "maybe up" yet we don't
1425 try to fetch its descriptor yet, leading Tor to wait (refusing to
1426 do anything) until it becomes time to fetch the descriptor. Fixes
1427 bug 40497; bugfix on 0.3.0.3-alpha.
1429 o Minor bugfixes (compilation):
1430 - Fix our configuration logic to detect whether we had OpenSSL 3:
1431 previously, our logic was reversed. This has no other effect than
1432 to change whether we suppress deprecated API warnings. Fixes bug
1433 40429; bugfix on 0.3.5.13.
1435 o Minor bugfixes (controller, path bias):
1436 - When a circuit's path is specified, in full or in part, from the
1437 controller API, do not count that circuit towards our path-bias
1438 calculations. (Doing so was incorrect, since we cannot tell
1439 whether the controller is selecting relays randomly.) Resolves a
1440 "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
1442 o Minor bugfixes (logging):
1443 - When we no longer have enough directory information to use the
1444 network, we would log a notice-level message -- but we would not
1445 reliably log a message when we recovered and resumed using the
1446 network. Now make sure there is always a corresponding message
1447 about recovering. Fixes bug 40496; bugfix on 0.3.5.1-alpha.
1449 o Minor bugfixes (performance, DoS):
1450 - Fix one case of a not-especially viable denial-of-service attack
1451 found by OSS-Fuzz in our consensus-diff parsing code. This attack
1452 causes a lot small of memory allocations and then immediately
1453 frees them: this is only slow when running with all the sanitizers
1454 enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
1456 o Minor bugfixes (relay):
1457 - Reject IPv6-only DirPorts. Our reachability self-test forces
1458 DirPorts to be IPv4, but our configuration parser allowed them to
1459 be IPv6-only, which led to an assertion failure. Fixes bug 40494;
1460 bugfix on 0.4.5.1-alpha.
1462 o Minor bugfixes (sandbox):
1463 - Fix the sandbox on i386 by modifying it to allow the
1464 "clock_gettime64" and "statx" system calls and to filter the
1465 "chown32" and "stat64" system calls in place of "chown" and
1466 "stat", respectively. Fixes bug 40505; bugfix on 0.2.5.4-alpha.
1468 o Documentation (man, relay):
1469 - Missing "OverloadStatistics" in tor.1 manpage. Fixes bug 40504;
1470 bugfix on 0.4.6.1-alpha.
1473 Changes in version 0.4.6.9 - 2021-12-15
1474 This version fixes several bugs from earlier versions of Tor. One important
1475 piece is the removal of DNS timeout metric from the overload general signal.
1476 See below for more details.
1478 o Major bugfixes (relay, overload):
1479 - Don't make Tor DNS timeout trigger an overload general state.
1480 These timeouts are different from DNS server timeout. They have to
1481 be seen as timeout related to UX and not because of a network
1482 problem. Fixes bug 40527; bugfix on 0.4.6.1-alpha.
1484 o Minor feature (reproducible build):
1485 - The repository can now build reproducible tarballs which adds the
1486 build command "make dist-reprod" for that purpose. Closes
1489 o Minor features (compilation):
1490 - Give an error message if trying to build with a version of
1491 LibreSSL known not to work with Tor. (There's an incompatibility
1492 with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
1493 their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
1496 o Minor features (fallbackdir):
1497 - Regenerate fallback directories generated on December 15, 2021.
1499 o Minor features (geoip data):
1500 - Update the geoip files to match the IPFire Location Database, as
1501 retrieved on 2021/12/15.
1503 o Minor bugfixes (compilation):
1504 - Fix our configuration logic to detect whether we had OpenSSL 3:
1505 previously, our logic was reversed. This has no other effect than
1506 to change whether we suppress deprecated API warnings. Fixes bug
1507 40429; bugfix on 0.3.5.13.
1509 o Minor bugfixes (relay):
1510 - Reject IPv6-only DirPorts. Our reachability self-test forces
1511 DirPorts to be IPv4, but our configuration parser allowed them to
1512 be IPv6-only, which led to an assertion failure. Fixes bug 40494;
1513 bugfix on 0.4.5.1-alpha.
1515 o Documentation (man, relay):
1516 - Missing "OverloadStatistics" in tor.1 manpage. Fixes bug 40504;
1517 bugfix on 0.4.6.1-alpha.
1520 Changes in version 0.4.7.2-alpha - 2021-10-26
1521 This second alpha release of the 0.4.7.x series adds two major
1522 features: congestion control (prop324) for network performance, and
1523 the MiddleOnly flag (prop335) voted by the authorities to pin relays
1524 to the middle position for various network health reasons. This
1525 release also fixes numerous bugs.
1527 The congestion control feature, detailed in proposal 324, still needs
1528 more work before we can enable it by default. It is currently in its
1529 testing and tuning phase which means that you should expect more
1530 0.4.7.x alphas as congestion control gets stabilized and tuned for
1531 optimal performance. And so, at this release, it can not be used
1532 without a custom patch.
1534 o Major features (congestion control):
1535 - Implement support for flow control over congestion controlled
1536 circuits. This work comes from proposal 324. Closes ticket 40450.
1538 o Major features (directory authority):
1539 - Add a new consensus method to handle MiddleOnly specially. When
1540 enough authorities are using this method, then any relay tagged
1541 with the MiddleOnly flag will have its Exit, Guard, HSDir, and
1542 V2Dir flags automatically cleared, and will have its BadExit flag
1543 automatically set. Implements part of proposal 335.
1544 - Authorities can now be configured to label relays as "MiddleOnly".
1545 When voting for this flag, authorities automatically vote against
1546 Exit, Guard, HSDir, and V2Dir; and in favor of BadExit. Implements
1547 part of proposal 335. Based on a patch from Neel Chauhan.
1549 o Major bugfix (relay, metrics):
1550 - On the MetricsPort, the DNS error statistics are not reported by
1551 record type ("record=...") anymore due to a libevent bug
1552 (https://github.com/libevent/libevent/issues/1219). Fixes bug
1553 40490; bugfix on 0.4.7.1-alpha.
1555 o Major bugfixes (relay, overload state):
1556 - Relays report the general overload state for DNS timeout errors
1557 only if X% of all DNS queries over Y seconds are errors. Before
1558 that, it only took 1 timeout to report the overload state which
1559 was just too low of a threshold. The X and Y values are 1% and 10
1560 minutes respectively but they are also controlled by consensus
1561 parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
1563 o Minor feature (authority, relay):
1564 - Reject End-Of-Life relays running version 0.4.2.x, 0.4.3.x,
1565 0.4.4.x and 0.4.5 alphas/rc. Closes ticket 40480.
1567 o Minor feature (onion service v2):
1568 - Onion service v2 addresses are now not recognized anymore by tor
1569 meaning a bad hostname is returned when attempting to pass it on a
1570 SOCKS connection. No more deprecation log is emitted client side.
1571 Closes ticket 40476.
1572 - See https://blog.torproject.org/v2-deprecation-timeline for
1573 details on how to transition from v2 to v3.
1575 o Minor features (fallbackdir):
1576 - Regenerate fallback directories for October 2021. Closes
1579 o Minor features (logging, heartbeat):
1580 - When a relay receives a cell that isn't encrypted properly for it,
1581 but the relay is the last hop on the circuit, the relay now counts
1582 how many cells of this kind it receives, on how many circuits, and
1583 reports this information in the log. Previously, we'd log each
1584 cell at PROTOCOL_WARN level, which is far too verbose to be
1585 useful. Fixes part of ticket 40400.
1587 o Minor features (testing):
1588 - We now have separate fuzzers for the inner layers of v3 onion
1589 service descriptors, to prevent future bugs like 40392. Closes
1592 o Minor bugfixes (compilation):
1593 - Fix compilation error when __NR_time is not defined. Fixes bug
1594 40465; bugfix on 0.2.5.5-alpha. Patch by Daniel Pinto.
1596 o Minor bugfixes (dirauth, bandwidth scanner):
1597 - Add the AuthDirDontVoteOnDirAuthBandwidth dirauth config parameter
1598 to avoid voting on bandwidth scanner weights to v3 directory
1599 authorities. Fixes bug 40471; bugfix on 0.2.2.1-alpha. Patch by
1602 o Minor bugfixes (fragile-hardening, sandbox):
1603 - When building with --enable-fragile-hardening, add or relax Linux
1604 seccomp rules to allow AddressSanitizer to execute normally if the
1605 process terminates with the sandbox active. This has the side
1606 effect of disabling the filtering of file- and directory-open
1607 requests on most systems and dilutes the effectiveness of the
1608 sandbox overall, as a wider range of system calls must be
1609 permitted. Fixes bug 11477; bugfix on 0.2.5.4-alpha.
1611 o Minor bugfixes (logging):
1612 - If a channel has never received or transmitted a cell, or seen a
1613 client, do not calculate time diffs against 1/1/1970 but log a
1614 better prettier message. Fixes bug 40182; bugfix on 0.2.4.4.
1616 o Minor bugfixes (onion service):
1617 - Fix a warning BUG that would occur often on heavily loaded onion
1618 service leading to filling the logs with useless warnings. Fixes
1619 bug 34083; bugfix on 0.3.2.1-alpha.
1621 o Minor bugfix (CI, onion service):
1622 - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
1623 bugfix on 0.3.2.1-alpha.
1625 o Minor bugfixes (onion service, config):
1626 - Fix a memory leak for a small config line string that could occur
1627 if the onion service failed to be configured from file properly.
1628 Fixes bug 40484; bugfix on 0.3.2.1-alpha.
1630 o Minor bugfixes (onion service, TROVE-2021-008):
1631 - Only log v2 access attempts once total, in order to not pollute
1632 the logs with warnings and to avoid recording the times on disk
1633 when v2 access was attempted. Note that the onion address was
1634 _never_ logged. This counts as a Low-severity security issue.
1635 Fixes bug 40474; bugfix on 0.4.5.8.
1636 - Note that due to #40476 which removes v2 support entirely, this
1637 log line is not emitted anymore. We still mention this in the
1638 changelog because it is a Low-severity TROVE.
1640 o Minor bugfixes (usability):
1641 - Do not log "RENDEZVOUS1 cell with unrecognized rendezvous cookie"
1642 at LOG_PROTOCOL_WARN; instead log it at DEBUG. This warning can
1643 happen naturally if a client gives up on a rendezvous circuit
1644 after sending INTRODUCE1. Fixes part of bug 40400; bugfix
1646 - Do not log "circuit_receive_relay_cell failed" at
1647 LOG_PROTOCOL_WARN; instead log it at DEBUG. In every case where we
1648 would want to log this as a protocol warning, we are already
1649 logging another warning from inside circuit_receive_relay_cell.
1650 Fixes part of bug 40400; bugfix on 0.1.1.9-alpha.
1652 o Code simplification and refactoring:
1653 - Lower the official maximum for "guard-extreme-restriction-percent"
1654 to 100. This has no effect on when the guard code will generate a
1655 warning, but it makes the intent of the option clearer. Fixes bug
1656 40486; bugfix on 0.3.0.1-alpha.
1659 - Add unit tests for the Linux seccomp sandbox. Resolves
1662 o Code simplification and refactoring (rust):
1663 - Remove Rust support and its associated code. It is unsupported and
1664 Rust focus should be shifted to arti. Closes ticket 40469.
1666 o Testing (CI, chutney):
1667 - Bump the data size that chutney transmits to 5MBytes in order to
1668 trigger the flow control and congestion window code. Closes
1672 Changes in version 0.4.6.8 - 2021-10-26
1673 This version fixes several bugs from earlier versions of Tor. One
1674 highlight is a fix on how we track DNS timeouts to report general
1677 o Major bugfixes (relay, overload state):
1678 - Relays report the general overload state for DNS timeout errors
1679 only if X% of all DNS queries over Y seconds are errors. Before
1680 that, it only took 1 timeout to report the overload state which
1681 was just too low of a threshold. The X and Y values are 1% and 10
1682 minutes respectively but they are also controlled by consensus
1683 parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
1685 o Minor features (fallbackdir):
1686 - Regenerate fallback directories for October 2021. Closes
1689 o Minor features (testing):
1690 - On a testing network, relays can now use the
1691 TestingMinTimeToReportBandwidth option to change the smallest
1692 amount of time over which they're willing to report their observed
1693 maximum bandwidth. Previously, this was fixed at 1 day. For
1694 safety, values under 2 hours are only supported on testing
1695 networks. Part of a fix for ticket 40337.
1696 - Relays on testing networks no longer rate-limit how frequently
1697 they are willing to report new bandwidth measurements. Part of a
1698 fix for ticket 40337.
1699 - Relays on testing networks now report their observed bandwidths
1700 immediately from startup. Previously, they waited until they had
1701 been running for a full day. Closes ticket 40337.
1703 o Minor bugfix (onion service):
1704 - Do not flag an HSDir as non-running in case the descriptor upload
1705 or fetch fails. An onion service closes pending directory
1706 connections before uploading a new descriptor which can thus lead
1707 to wrongly flagging many relays and thus affecting circuit building
1708 path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
1709 - Improve logging when a bad HS version is given. Fixes bug 40476;
1710 bugfix on 0.4.6.1-alpha.
1712 o Minor bugfix (CI, onion service):
1713 - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
1714 bugfix on 0.3.2.1-alpha.
1716 o Minor bugfixes (compatibility):
1717 - Fix compatibility with the most recent Libevent versions, which no
1718 longer have an evdns_set_random_bytes() function. Because this
1719 function has been a no-op since Libevent 2.0.4-alpha, it is safe
1720 for us to just stop calling it. Fixes bug 40371; bugfix
1723 o Minor bugfixes (onion service, TROVE-2021-008):
1724 - Only log v2 access attempts once total, in order to not pollute
1725 the logs with warnings and to avoid recording the times on disk
1726 when v2 access was attempted. Note that the onion address was
1727 _never_ logged. This counts as a Low-severity security issue.
1728 Fixes bug 40474; bugfix on 0.4.5.8.
1731 Changes in version 0.4.5.11 - 2021-10-26
1732 The major change in this version is that v2 onion services are now
1733 disabled at the client, service, and relay: any Tor nodes running this
1734 version and onward will stop supporting v2 onion services. This is the
1735 last step in the long deprecation process of v2 onion services.
1736 Everyone running an earlier version, whether as a client, a relay, or
1737 an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
1740 o Major feature (onion service v2):
1741 - See https://blog.torproject.org/v2-deprecation-timeline for
1742 details on how to transition from v2 to v3.
1743 - The control port commands HSFETCH and HSPOST no longer allow
1744 version 2, and it is no longer possible to create a v2 service
1746 - Tor no longer allows creating v2 services, or connecting as a
1747 client to a v2 service. Relays will decline to be a v2 HSDir or
1748 introduction point. This effectively disables onion service
1749 version 2 Tor-wide. Closes ticket 40476.
1751 o Minor features (bridge, backport from 0.4.6.8):
1752 - We now announce the URL to Tor's new bridge status at
1753 https://bridges.torproject.org/ when Tor is configured to run as a
1754 bridge relay. Closes ticket 30477.
1756 o Minor features (fallbackdir):
1757 - Regenerate fallback directories for October 2021. Closes
1760 o Minor features (logging, diagnostic, backport from 0.4.6.5):
1761 - Log decompression failures at a higher severity level, since they
1762 can help provide missing context for other warning messages. We
1763 rate-limit these messages, to avoid flooding the logs if they
1764 begin to occur frequently. Closes ticket 40175.
1766 o Minor features (testing, backport from 0.4.6.8):
1767 - On a testing network, relays can now use the
1768 TestingMinTimeToReportBandwidth option to change the smallest
1769 amount of time over which they're willing to report their observed
1770 maximum bandwidth. Previously, this was fixed at 1 day. For
1771 safety, values under 2 hours are only supported on testing
1772 networks. Part of a fix for ticket 40337.
1773 - Relays on testing networks no longer rate-limit how frequently
1774 they are willing to report new bandwidth measurements. Part of a
1775 fix for ticket 40337.
1776 - Relays on testing networks now report their observed bandwidths
1777 immediately from startup. Previously, they waited until they had
1778 been running for a full day. Closes ticket 40337.
1780 o Minor bugfix (CI, onion service):
1781 - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
1782 bugfix on 0.3.2.1-alpha.
1784 o Minor bugfix (onion service, backport from 0.4.6.8):
1785 - Do not flag an HSDir as non-running in case the descriptor upload
1786 or fetch fails. An onion service closes pending directory
1787 connections before uploading a new descriptor which can thus lead
1788 to wrongly flagging many relays and thus affecting circuit building
1789 path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
1791 o Minor bugfixes (compatibility, backport from 0.4.6.8):
1792 - Fix compatibility with the most recent Libevent versions, which no
1793 longer have an evdns_set_random_bytes() function. Because this
1794 function has been a no-op since Libevent 2.0.4-alpha, it is safe
1795 for us to just stop calling it. Fixes bug 40371; bugfix
1798 o Minor bugfixes (consensus handling, backport from 0.4.6.4-rc):
1799 - Avoid a set of bugs that could be caused by inconsistently
1800 preferring an out-of-date consensus stored in a stale directory
1801 cache over a more recent one stored on disk as the latest
1802 consensus. Fixes bug 40375; bugfix on 0.3.1.1-alpha.
1804 o Minor bugfixes (onion service, TROVE-2021-008, backport from 0.4.6.8):
1805 - Only log v2 access attempts once total, in order to not pollute
1806 the logs with warnings and to avoid recording the times on disk
1807 when v2 access was attempted. Note that the onion address was
1808 _never_ logged. This counts as a Low-severity security issue.
1809 Fixes bug 40474; bugfix on 0.4.5.8.
1812 Changes in version 0.3.5.17 - 2021-10-26
1813 The major change in this version is that v2 onion services are now
1814 disabled at the client, service, and relay: any Tor nodes running this
1815 version and onward will stop supporting v2 onion services. This is the
1816 last step in the long deprecation process of v2 onion services.
1817 Everyone running an earlier version, whether as a client, a relay, or
1818 an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
1821 o Major feature (onion service v2, backport from 0.4.5.11):
1822 - See https://blog.torproject.org/v2-deprecation-timeline for
1823 details on how to transition from v2 to v3.
1824 - The control port commands HSFETCH and HSPOST no longer allow
1825 version 2, and it is no longer possible to create a v2 service
1827 - Tor no longer allows creating v2 services, or connecting as a
1828 client to a v2 service. Relays will decline to be a v2 HSDir or
1829 introduction point. This effectively disables onion service
1830 version 2 Tor-wide. Closes ticket 40476.
1832 o Minor features (bridge, backport from 0.4.6.8):
1833 - We now announce the URL to Tor's new bridge status at
1834 https://bridges.torproject.org/ when Tor is configured to run as a
1835 bridge relay. Closes ticket 30477.
1837 o Minor features (fallbackdir):
1838 - Regenerate fallback directories for October 2021. Closes
1841 o Minor bugfixes (compatibility, backport from 0.4.6.8):
1842 - Fix compatibility with the most recent Libevent versions, which no
1843 longer have an evdns_set_random_bytes() function. Because this
1844 function has been a no-op since Libevent 2.0.4-alpha, it is safe
1845 for us to just stop calling it. Fixes bug 40371; bugfix
1849 Changes in version 0.4.7.1-alpha - 2021-09-17
1850 This version is the first alpha release of the 0.4.7.x series. One
1851 major feature is Vanguards Lite, from proposal 333, to help mitigate
1852 guard discovery attacks against onion services. It also includes
1855 o Major features (Proposal 332, onion services, guard selection algorithm):
1856 - Clients and onion services now choose four long-lived "layer 2"
1857 guard relays for use as the middle hop in all onion circuits.
1858 These relays are kept in place for a randomized duration averaging
1859 1 week. This mitigates guard discovery attacks against clients and
1860 short-lived onion services such as OnionShare. Long-lived onion
1861 services that need high security should still use the Vanguards
1862 addon (https://github.com/mikeperry-tor/vanguards). Closes ticket
1863 40363; implements proposal 333.
1865 o Minor features (bridge testing support):
1866 - Let external bridge reachability testing tools discard cached
1867 bridge descriptors when setting new bridges, so they can be sure
1868 to get a clean reachability test. Implements ticket 40209.
1870 o Minor features (fuzzing):
1871 - When building with --enable-libfuzzer, use a set of compiler flags
1872 that works with more recent versions of the library. Previously we
1873 were using a set of flags from 2017. Closes ticket 40407.
1875 o Minor features (testing configuration):
1876 - When TestingTorNetwork is enabled, skip the permissions check on
1877 hidden service directories. Closes ticket 40338.
1878 - On a testing network, relays can now use the
1879 TestingMinTimeToReportBandwidth option to change the smallest
1880 amount of time over which they're willing to report their observed
1881 maximum bandwidth. Previously, this was fixed at 1 day. For
1882 safety, values under 2 hours are only supported on testing
1883 networks. Part of a fix for ticket 40337.
1884 - Relays on testing networks no longer rate-limit how frequently
1885 they are willing to report new bandwidth measurements. Part of a
1886 fix for ticket 40337.
1887 - Relays on testing networks now report their observed bandwidths
1888 immediately from startup. Previously, they waited until they had
1889 been running for a full day. Closes ticket 40337.
1891 o Minor bugfixes (circuit padding):
1892 - Don't send STOP circuit padding cells when the other side has
1893 already shut down the corresponding padding machine. Fixes bug
1894 40435; bugfix on 0.4.0.1-alpha.
1896 o Minor bugfixes (compatibility):
1897 - Fix compatibility with the most recent Libevent versions, which no
1898 longer have an evdns_set_random_bytes() function. Because this
1899 function has been a no-op since Libevent 2.0.4-alpha, it is safe
1900 for us to just stop calling it. Fixes bug 40371; bugfix
1903 o Minor bugfixes (control, sandbox):
1904 - Allows the control command SAVECONF to succeed when the seccomp
1905 sandbox is enabled. Makes SAVECONF keep only one backup file, to
1906 simplify implementation. Fixes bug 40317; bugfix on 0.2.5.4-alpha.
1907 Patch by Daniel Pinto.
1909 o Minor bugfixes (heartbeat):
1910 - Adjust the heartbeat log message about distinct clients to
1911 consider the HeartbeatPeriod rather than a flat 6-hour delay.
1912 Fixes bug 40330; bugfix on 0.2.6.3-alpha.
1914 o Minor bugfixes (logging, relay):
1915 - Add spaces between the "and" when logging the "Your server has not
1916 managed to confirm reachability for its" on dual-stack relays.
1917 Fixes bug 40453; bugfix on 0.4.5.1-alpha. Patch by Neel Chauhan.
1919 o Minor bugfixes (onion service):
1920 - Do not flag an HSDir as non-running in case the descriptor upload
1921 or fetch fails. An onion service closes pending directory
1922 connections before uploading a new descriptor which leads to
1923 wrongly flagging many relays and thus affecting circuit path
1924 selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
1926 o Minor bugfixes (statistics):
1927 - Fix a fencepost issue when we check stability_last_downrated where
1928 we called rep_hist_downrate_old_runs() twice. Fixes bug 40394;
1929 bugfix on 0.2.0.5-alpha. Patch by Neel Chauhan.
1931 o Minor bugfixes (tests):
1932 - Fix a bug that prevented some tests from running with the correct
1933 names. Fixes bug 40365; bugfix on 0.4.3.1-alpha.
1936 - Add links to original tor design paper and anonbib to
1937 docs/HACKING/README.1st.md. Closes ticket 33742. Patch from
1939 - Describe the "fingerprint-ed25519" file in the tor.1 man page.
1940 Fixes bug 40467; bugfix on 0.4.3.1-alpha. Patch by Neel Chauhan.
1943 Changes in version 0.4.6.7 - 2021-08-16
1944 This version fixes several bugs from earlier versions of Tor,
1945 including one that could lead to a denial-of-service attack. Everyone
1946 running an earlier version, whether as a client, a relay, or an onion
1947 service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
1949 o Major bugfixes (cryptography, security):
1950 - Resolve an assertion failure caused by a behavior mismatch between
1951 our batch-signature verification code and our single-signature
1952 verification code. This assertion failure could be triggered
1953 remotely, leading to a denial of service attack. We fix this issue
1954 by disabling batch verification. Fixes bug 40078; bugfix on
1955 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
1956 CVE-2021-38385. Found by Henry de Valence.
1958 o Minor feature (fallbackdir):
1959 - Regenerate fallback directories list. Close ticket 40447.
1961 o Minor features (geoip data):
1962 - Update the geoip files to match the IPFire Location Database, as
1963 retrieved on 2021/08/12.
1965 o Minor bugfix (crypto):
1966 - Disable the unused batch verification feature of ed25519-donna.
1967 Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
1970 o Minor bugfixes (onion service):
1971 - Send back the extended SOCKS error 0xF6 (Onion Service Invalid
1972 Address) for a v2 onion address. Fixes bug 40421; bugfix
1975 o Minor bugfixes (relay):
1976 - Reduce the compression level for data streaming from HIGH to LOW
1977 in order to reduce CPU load on the directory relays. Fixes bug
1978 40301; bugfix on 0.3.5.1-alpha.
1980 o Minor bugfixes (timekeeping):
1981 - Calculate the time of day correctly on systems where the time_t
1982 type includes leap seconds. (This is not the case on most
1983 operating systems, but on those where it occurs, our tor_timegm
1984 function did not correctly invert the system's gmtime function,
1985 which could result in assertion failures when calculating voting
1986 schedules.) Fixes bug 40383; bugfix on 0.2.0.3-alpha.
1989 Changes in version 0.4.5.10 - 2021-08-16
1990 This version fixes several bugs from earlier versions of Tor,
1991 including one that could lead to a denial-of-service attack. Everyone
1992 running an earlier version, whether as a client, a relay, or an onion
1993 service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
1995 o Major bugfixes (cryptography, security):
1996 - Resolve an assertion failure caused by a behavior mismatch between
1997 our batch-signature verification code and our single-signature
1998 verification code. This assertion failure could be triggered
1999 remotely, leading to a denial of service attack. We fix this issue
2000 by disabling batch verification. Fixes bug 40078; bugfix on
2001 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
2002 CVE-2021-38385. Found by Henry de Valence.
2004 o Minor feature (fallbackdir):
2005 - Regenerate fallback directories list. Close ticket 40447.
2007 o Minor features (geoip data):
2008 - Update the geoip files to match the IPFire Location Database, as
2009 retrieved on 2021/08/12.
2011 o Minor features (testing):
2012 - Enable the deterministic RNG for unit tests that covers the
2013 address set bloomfilter-based API's. Fixes bug 40419; bugfix
2016 o Minor bugfix (crypto, backport from 0.4.6.7):
2017 - Disable the unused batch verification feature of ed25519-donna.
2018 Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
2021 o Minor bugfixes (relay, backport from 0.4.6.7):
2022 - Reduce the compression level for data streaming from HIGH to LOW.
2023 Fixes bug 40301; bugfix on 0.3.5.1-alpha.
2025 o Minor bugfixes (timekeeping, backport from 0.4.6.7):
2026 - Calculate the time of day correctly on systems where the time_t
2027 type includes leap seconds. (This is not the case on most
2028 operating systems, but on those where it occurs, our tor_timegm
2029 function did not correctly invert the system's gmtime function,
2030 which could result in assertion failures when calculating voting
2031 schedules.) Fixes bug 40383; bugfix on 0.2.0.3-alpha.
2033 o Minor bugfixes (warnings, portability, backport from 0.4.6.6):
2034 - Suppress a strict-prototype warning when building with some
2035 versions of NSS. Fixes bug 40409; bugfix on 0.3.5.1-alpha.
2038 Changes in version 0.3.5.16 - 2021-08-16
2039 This version fixes several bugs from earlier versions of Tor,
2040 including one that could lead to a denial-of-service attack. Everyone
2041 running an earlier version, whether as a client, a relay, or an onion
2042 service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
2044 o Major bugfixes (cryptography, security):
2045 - Resolve an assertion failure caused by a behavior mismatch between
2046 our batch-signature verification code and our single-signature
2047 verification code. This assertion failure could be triggered
2048 remotely, leading to a denial of service attack. We fix this issue
2049 by disabling batch verification. Fixes bug 40078; bugfix on
2050 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
2051 CVE-2021-38385. Found by Henry de Valence.
2053 o Minor feature (fallbackdir):
2054 - Regenerate fallback directories list. Close ticket 40447.
2056 o Minor features (geoip data):
2057 - Update the geoip files to match the IPFire Location Database, as
2058 retrieved on 2021/08/12.
2060 o Minor bugfix (crypto, backport from 0.4.6.7):
2061 - Disable the unused batch verification feature of ed25519-donna.
2062 Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
2065 o Minor bugfixes (relay, backport from 0.4.6.7):
2066 - Reduce the compression level for data streaming from HIGH to LOW.
2067 Fixes bug 40301; bugfix on 0.3.5.1-alpha.
2070 Changes in version 0.4.6.6 - 2021-06-30
2071 Tor 0.4.6.6 makes several small fixes on 0.4.6.5, including one that
2072 allows Tor to build correctly on older versions of GCC. You should
2073 upgrade to this version if you were having trouble building Tor
2074 0.4.6.5; otherwise, there is probably no need.
2076 o Minor bugfixes (compilation):
2077 - Fix a compilation error when trying to build Tor with a compiler
2078 that does not support const variables in static initializers.
2079 Fixes bug 40410; bugfix on 0.4.6.5.
2080 - Suppress a strict-prototype warning when building with some
2081 versions of NSS. Fixes bug 40409; bugfix on 0.3.5.1-alpha.
2083 o Minor bugfixes (testing):
2084 - Enable the deterministic RNG for unit tests that covers the
2085 address set bloomfilter-based API's. Fixes bug 40419; bugfix
2089 Changes in version 0.4.5.9 - 2021-06-14
2090 Tor 0.4.5.9 fixes several security issues, including a
2091 denial-of-service attack against onion service clients, and another
2092 denial-of-service attack against relays. Everybody should upgrade to
2093 one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2095 o Major bugfixes (security, backport from 0.4.6.5):
2096 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2097 half-closed streams. Previously, clients failed to validate which
2098 hop sent these cells: this would allow a relay on a circuit to end
2099 a stream that wasn't actually built with it. Fixes bug 40389;
2100 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2101 003 and CVE-2021-34548.
2103 o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
2104 - Detect more failure conditions from the OpenSSL RNG code.
2105 Previously, we would detect errors from a missing RNG
2106 implementation, but not failures from the RNG code itself.
2107 Fortunately, it appears those failures do not happen in practice
2108 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2109 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2110 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2112 o Major bugfixes (security, denial of service, backport from 0.4.6.5):
2113 - Resist a hashtable-based CPU denial-of-service attack against
2114 relays. Previously we used a naive unkeyed hash function to look
2115 up circuits in a circuitmux object. An attacker could exploit this
2116 to construct circuits with chosen circuit IDs, to create
2117 collisions and make the hash table inefficient. Now we use a
2118 SipHash construction here instead. Fixes bug 40391; bugfix on
2119 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2120 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2121 - Fix an out-of-bounds memory access in v3 onion service descriptor
2122 parsing. An attacker could exploit this bug by crafting an onion
2123 service descriptor that would crash any client that tried to visit
2124 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2125 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2126 Glazunov from Google's Project Zero.
2128 o Minor features (compatibility, backport from 0.4.6.4-rc):
2129 - Remove an assertion function related to TLS renegotiation. It was
2130 used nowhere outside the unit tests, and it was breaking
2131 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2134 o Minor features (geoip data):
2135 - Update the geoip files to match the IPFire Location Database, as
2136 retrieved on 2021/06/10.
2138 o Minor bugfixes (control, sandbox, backport from 0.4.6.4-rc):
2139 - Allow the control command SAVECONF to succeed when the seccomp
2140 sandbox is enabled, and make SAVECONF keep only one backup file to
2141 simplify implementation. Previously SAVECONF allowed a large
2142 number of backup files, which made it incompatible with the
2143 sandbox. Fixes bug 40317; bugfix on 0.2.5.4-alpha. Patch by
2146 o Minor bugfixes (metrics port, backport from 0.4.6.4-rc):
2147 - Fix a bug that made tor try to re-bind() on an already open
2148 MetricsPort every 60 seconds. Fixes bug 40370; bugfix
2152 Changes in version 0.4.4.9 - 2021-06-14
2153 Tor 0.4.4.9 fixes several security issues, including a
2154 denial-of-service attack against onion service clients, and another
2155 denial-of-service attack against relays. Everybody should upgrade to
2156 one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2158 Note that the scheduled end-of-life date for the Tor 0.4.4.x series is
2159 June 15. This is therefore the last release in its series. Everybody
2160 still running 0.4.4.x should plan to upgrade to 0.4.5.x or later.
2162 o Major bugfixes (security, backport from 0.4.6.5):
2163 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2164 half-closed streams. Previously, clients failed to validate which
2165 hop sent these cells: this would allow a relay on a circuit to end
2166 a stream that wasn't actually built with it. Fixes bug 40389;
2167 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2168 003 and CVE-2021-34548.
2170 o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
2171 - Detect more failure conditions from the OpenSSL RNG code.
2172 Previously, we would detect errors from a missing RNG
2173 implementation, but not failures from the RNG code itself.
2174 Fortunately, it appears those failures do not happen in practice
2175 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2176 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2177 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2179 o Major bugfixes (security, denial of service, backport from 0.4.6.5):
2180 - Resist a hashtable-based CPU denial-of-service attack against
2181 relays. Previously we used a naive unkeyed hash function to look
2182 up circuits in a circuitmux object. An attacker could exploit this
2183 to construct circuits with chosen circuit IDs, to create
2184 collisions and make the hash table inefficient. Now we use a
2185 SipHash construction here instead. Fixes bug 40391; bugfix on
2186 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2187 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2188 - Fix an out-of-bounds memory access in v3 onion service descriptor
2189 parsing. An attacker could exploit this bug by crafting an onion
2190 service descriptor that would crash any client that tried to visit
2191 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2192 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2193 Glazunov from Google's Project Zero.
2195 o Minor features (compatibility, backport from 0.4.6.4-rc):
2196 - Remove an assertion function related to TLS renegotiation. It was
2197 used nowhere outside the unit tests, and it was breaking
2198 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2201 o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
2202 - Regenerate the list of fallback directories to contain a new set
2203 of 200 relays. Closes ticket 40265.
2205 o Minor features (geoip data):
2206 - Update the geoip files to match the IPFire Location Database, as
2207 retrieved on 2021/06/10.
2209 o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
2210 - Fix a non-fatal BUG() message due to a too-early free of a string,
2211 when listing a client connection from the DoS defenses subsystem.
2212 Fixes bug 40345; bugfix on 0.4.3.4-rc.
2214 o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
2215 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2216 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2219 Changes in version 0.3.5.15 - 2021-06-14
2220 Tor 0.3.5.15 fixes several security issues, including a
2221 denial-of-service attack against onion service clients, and another
2222 denial-of-service attack against relays. Everybody should upgrade to
2223 one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2225 o Major bugfixes (security, backport from 0.4.6.5):
2226 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2227 half-closed streams. Previously, clients failed to validate which
2228 hop sent these cells: this would allow a relay on a circuit to end
2229 a stream that wasn't actually built with it. Fixes bug 40389;
2230 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2231 003 and CVE-2021-34548.
2233 o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
2234 - Detect more failure conditions from the OpenSSL RNG code.
2235 Previously, we would detect errors from a missing RNG
2236 implementation, but not failures from the RNG code itself.
2237 Fortunately, it appears those failures do not happen in practice
2238 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2239 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2240 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2242 o Major bugfixes (security, denial of service, backport from 0.4.6.5):
2243 - Resist a hashtable-based CPU denial-of-service attack against
2244 relays. Previously we used a naive unkeyed hash function to look
2245 up circuits in a circuitmux object. An attacker could exploit this
2246 to construct circuits with chosen circuit IDs, to create
2247 collisions and make the hash table inefficient. Now we use a
2248 SipHash construction here instead. Fixes bug 40391; bugfix on
2249 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2250 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2251 - Fix an out-of-bounds memory access in v3 onion service descriptor
2252 parsing. An attacker could exploit this bug by crafting an onion
2253 service descriptor that would crash any client that tried to visit
2254 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2255 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2256 Glazunov from Google's Project Zero.
2258 o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
2259 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2260 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2262 o Minor features (compatibility, backport from 0.4.6.4-rc):
2263 - Remove an assertion function related to TLS renegotiation. It was
2264 used nowhere outside the unit tests, and it was breaking
2265 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2268 o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
2269 - Regenerate the list of fallback directories to contain a new set
2270 of 200 relays. Closes ticket 40265.
2272 o Minor features (geoip data):
2273 - Update the geoip files to match the IPFire Location Database, as
2274 retrieved on 2021/06/10.
2277 Changes in version 0.4.6.5 - 2021-06-14
2278 Tor 0.4.6.5 is the first stable release in its series. The 0.4.6.x
2279 series includes numerous features and bugfixes, including a significant
2280 improvement to our circuit timeout algorithm that should improve
2281 observed client performance, and a way for relays to report when they are
2284 This release also includes security fixes for several security issues,
2285 including a denial-of-service attack against onion service clients,
2286 and another denial-of-service attack against relays. Everybody should
2287 upgrade to one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2289 Below are the changes since 0.4.6.4-rc. For a complete list of changes
2290 since 0.4.5.8, see the ReleaseNotes file.
2292 o Major bugfixes (security):
2293 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2294 half-closed streams. Previously, clients failed to validate which
2295 hop sent these cells: this would allow a relay on a circuit to end
2296 a stream that wasn't actually built with it. Fixes bug 40389;
2297 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2298 003 and CVE-2021-34548.
2300 o Major bugfixes (security, defense-in-depth):
2301 - Detect more failure conditions from the OpenSSL RNG code.
2302 Previously, we would detect errors from a missing RNG
2303 implementation, but not failures from the RNG code itself.
2304 Fortunately, it appears those failures do not happen in practice
2305 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2306 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2307 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2309 o Major bugfixes (security, denial of service):
2310 - Resist a hashtable-based CPU denial-of-service attack against
2311 relays. Previously we used a naive unkeyed hash function to look
2312 up circuits in a circuitmux object. An attacker could exploit this
2313 to construct circuits with chosen circuit IDs, to create
2314 collisions and make the hash table inefficient. Now we use a
2315 SipHash construction here instead. Fixes bug 40391; bugfix on
2316 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2317 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2318 - Fix an out-of-bounds memory access in v3 onion service descriptor
2319 parsing. An attacker could exploit this bug by crafting an onion
2320 service descriptor that would crash any client that tried to visit
2321 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2322 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2323 Glazunov from Google's Project Zero.
2325 o Minor features (geoip data):
2326 - Update the geoip files to match the IPFire Location Database, as
2327 retrieved on 2021/06/10.
2329 o Minor features (logging, diagnostic):
2330 - Log decompression failures at a higher severity level, since they
2331 can help provide missing context for other warning messages. We
2332 rate-limit these messages, to avoid flooding the logs if they
2333 begin to occur frequently. Closes ticket 40175.
2336 Changes in version 0.4.6.4-rc - 2021-05-28
2337 Tor 0.4.6.4-rc fixes a few bugs from previous releases. This, we hope,
2338 the final release candidate in its series: unless major new issues are
2339 found, the next release will be stable.
2341 o Minor features (compatibility):
2342 - Remove an assertion function related to TLS renegotiation. It was
2343 used nowhere outside the unit tests, and it was breaking
2344 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2347 o Minor bugfixes (consensus handling):
2348 - Avoid a set of bugs that could be caused by inconsistently
2349 preferring an out-of-date consensus stored in a stale directory
2350 cache over a more recent one stored on disk as the latest
2351 consensus. Fixes bug 40375; bugfix on 0.3.1.1-alpha.
2353 o Minor bugfixes (control, sandbox):
2354 - Allow the control command SAVECONF to succeed when the seccomp
2355 sandbox is enabled, and make SAVECONF keep only one backup file to
2356 simplify implementation. Previously SAVECONF allowed a large
2357 number of backup files, which made it incompatible with the
2358 sandbox. Fixes bug 40317; bugfix on 0.2.5.4-alpha. Patch by
2361 o Minor bugfixes (metrics port):
2362 - Fix a bug that made tor try to re-bind() on an already open
2363 MetricsPort every 60 seconds. Fixes bug 40370; bugfix
2367 - Remove unneeded code for parsing private keys in directory
2368 documents. This code was only used for client authentication in v2
2369 onion services, which are now unsupported. Closes ticket 40374.
2372 Changes in version 0.4.5.8 - 2021-05-10
2373 Tor 0.4.5.8 fixes several bugs in earlier version, backporting fixes
2374 from the 0.4.6.x series.
2376 o Minor features (compatibility, Linux seccomp sandbox, backport from 0.4.6.3-rc):
2377 - Add a workaround to enable the Linux sandbox to work correctly
2378 with Glibc 2.33. This version of Glibc has started using the
2379 fstatat() system call, which previously our sandbox did not allow.
2380 Closes ticket 40382; see the ticket for a discussion of trade-offs.
2382 o Minor features (compilation, backport from 0.4.6.3-rc):
2383 - Make the autoconf script build correctly with autoconf versions
2384 2.70 and later. Closes part of ticket 40335.
2386 o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
2387 - Regenerate the list of fallback directories to contain a new set
2388 of 200 relays. Closes ticket 40265.
2390 o Minor features (geoip data):
2391 - Update the geoip files to match the IPFire Location Database, as
2392 retrieved on 2021/05/07.
2394 o Minor features (onion services):
2395 - Add warning message when connecting to now deprecated v2 onion
2396 services. As announced, Tor 0.4.5.x is the last series that will
2397 support v2 onions. Closes ticket 40373.
2399 o Minor bugfixes (bridge, pluggable transport, backport from 0.4.6.2-alpha):
2400 - Fix a regression that made it impossible start Tor using a bridge
2401 line with a transport name and no fingerprint. Fixes bug 40360;
2402 bugfix on 0.4.5.4-rc.
2404 o Minor bugfixes (build, cross-compilation, backport from 0.4.6.3-rc):
2405 - Allow a custom "ar" for cross-compilation. Our previous build
2406 script had used the $AR environment variable in most places, but
2407 it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
2409 o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
2410 - Fix a non-fatal BUG() message due to a too-early free of a string,
2411 when listing a client connection from the DoS defenses subsystem.
2412 Fixes bug 40345; bugfix on 0.4.3.4-rc.
2414 o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
2415 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2416 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2418 o Minor bugfixes (controller, backport from 0.4.6.1-alpha):
2419 - Fix a "BUG" warning that would appear when a controller chooses
2420 the first hop for a circuit, and that circuit completes. Fixes bug
2421 40285; bugfix on 0.3.2.1-alpha.
2423 o Minor bugfixes (onion service, client, memory leak, backport from 0.4.6.3-rc):
2424 - Fix a bug where an expired cached descriptor could get overwritten
2425 with a new one without freeing it, leading to a memory leak. Fixes
2426 bug 40356; bugfix on 0.3.5.1-alpha.
2428 o Minor bugfixes (testing, BSD, backport from 0.4.6.2-alpha):
2429 - Fix pattern-matching errors when patterns expand to invalid paths
2430 on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
2434 Changes in version 0.4.6.3-rc - 2021-05-10
2435 Tor 0.4.6.3-rc is the first release candidate in its series. It fixes
2436 a few small bugs from previous versions, and adds a better error
2437 message when trying to use (no longer supported) v2 onion services.
2439 Though we anticipate that we'll be doing a bit more clean-up between
2440 now and the stable release, we expect that our remaining changes will
2441 be fairly simple. There will likely be at least one more release
2442 candidate before 0.4.6.x is stable.
2444 o Major bugfixes (onion service, control port):
2445 - Make the ADD_ONION command properly configure client authorization.
2446 Before this fix, the created onion failed to add the client(s).
2447 Fixes bug 40378; bugfix on 0.4.6.1-alpha.
2449 o Minor features (compatibility, Linux seccomp sandbox):
2450 - Add a workaround to enable the Linux sandbox to work correctly
2451 with Glibc 2.33. This version of Glibc has started using the
2452 fstatat() system call, which previously our sandbox did not allow.
2453 Closes ticket 40382; see the ticket for a discussion of trade-offs.
2455 o Minor features (compilation):
2456 - Make the autoconf script build correctly with autoconf versions
2457 2.70 and later. Closes part of ticket 40335.
2459 o Minor features (geoip data):
2460 - Update the geoip files to match the IPFire Location Database, as
2461 retrieved on 2021/05/07.
2463 o Minor features (onion services):
2464 - Add a warning message when trying to connect to (no longer
2465 supported) v2 onion services. Closes ticket 40373.
2467 o Minor bugfixes (build, cross-compilation):
2468 - Allow a custom "ar" for cross-compilation. Our previous build
2469 script had used the $AR environment variable in most places, but
2470 it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
2472 o Minor bugfixes (compiler warnings):
2473 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2474 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2476 o Minor bugfixes (logging, relay):
2477 - Emit a warning if an Address is found to be internal and tor can't
2478 use it. Fixes bug 40290; bugfix on 0.4.5.1-alpha.
2480 o Minor bugfixes (onion service, client, memory leak):
2481 - Fix a bug where an expired cached descriptor could get overwritten
2482 with a new one without freeing it, leading to a memory leak. Fixes
2483 bug 40356; bugfix on 0.3.5.1-alpha.
2486 Changes in version 0.4.6.2-alpha - 2021-04-15
2487 Tor 0.4.6.2-alpha is the second alpha in its series. It fixes several
2488 small bugs in previous releases, and solves other issues that had
2489 enabled denial-of-service attacks and affected integration with
2492 o Minor features (client):
2493 - Clients now check whether their streams are attempting to re-enter
2494 the Tor network (i.e. to send Tor traffic over Tor), and close
2495 them preemptively if they think exit relays will refuse them for
2496 this reason. See ticket 2667 for details. Closes ticket 40271.
2498 o Minor features (command line):
2499 - Add long format name "--torrc-file" equivalent to the existing
2500 command-line option "-f". Closes ticket 40324. Patch by
2503 o Minor features (dormant mode):
2504 - Add a new 'DormantTimeoutEnabled' option to allow coarse-grained
2505 control over whether the client ever becomes dormant from
2506 inactivity. Most people won't need this. Closes ticket 40228.
2508 o Minor features (fallback directory list):
2509 - Regenerate the list of fallback directories to contain a new set
2510 of 200 relays. Closes ticket 40265.
2512 o Minor features (geoip data):
2513 - Update the geoip files to match the IPFire Location Database, as
2514 retrieved on 2021/04/13.
2516 o Minor features (logging):
2517 - Edit heartbeat log messages so that more of them begin with the
2518 string "Heartbeat: ". Closes ticket 40322; patch
2521 o Minor bugfixes (bridge, pluggable transport):
2522 - Fix a regression that made it impossible start Tor using a bridge
2523 line with a transport name and no fingerprint. Fixes bug 40360;
2524 bugfix on 0.4.5.4-rc.
2526 o Minor bugfixes (channel, DoS):
2527 - Fix a non-fatal BUG() message due to a too-early free of a string,
2528 when listing a client connection from the DoS defenses subsystem.
2529 Fixes bug 40345; bugfix on 0.4.3.4-rc.
2531 o Minor bugfixes (compilation):
2532 - Fix a compilation warning about unused functions when building
2533 with a libc that lacks the GLOB_ALTDIRFUNC constant. Fixes bug
2534 40354; bugfix on 0.4.5.1-alpha. Patch by Daniel Pinto.
2536 o Minor bugfixes (configuration):
2537 - Fix pattern-matching for directories on all platforms when using
2538 %include options in configuration files. This patch also fixes
2539 compilation on musl libc based systems. Fixes bug 40141; bugfix
2542 o Minor bugfixes (relay):
2543 - Move the "overload-general" line from extrainfo to the server
2544 descriptor. Fixes bug 40364; bugfix on 0.4.6.1-alpha.
2546 o Minor bugfixes (testing, BSD):
2547 - Fix pattern-matching errors when patterns expand to invalid paths
2548 on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
2551 o Documentation (manual):
2552 - Move the ServerTransport* options to the "SERVER OPTIONS" section.
2554 - Indicate that the HiddenServiceStatistics option also applies to
2555 bridges. Closes ticket 40346.
2556 - Move the description of BridgeRecordUsageByCountry to the section
2557 "STATISTICS OPTIONS". Closes ticket 40323.
2560 Changes in version 0.4.6.1-alpha - 2021-03-18
2561 Tor 0.4.6.1-alpha is the first alpha release in the 0.4.6.x series. It
2562 improves client circuit performance, adds missing features, and
2563 improves some of our DoS handling and statistics reporting. It also
2564 includes numerous smaller bugfixes.
2566 Below are the changes since 0.4.5.7. (Note that this release DOES
2567 include the fixes for the security bugs already fixed in 0.4.5.7.)
2569 o Major features (control port, onion services):
2570 - Add controller support for creating version 3 onion services with
2571 client authorization. Previously, only v2 onion services could be
2572 created with client authorization. Closes ticket 40084. Patch by
2575 o Major features (directory authority):
2576 - When voting on a relay with a Sybil-like appearance, add the Sybil
2577 flag when clearing out the other flags. This lets a relay operator
2578 know why their relay hasn't been included in the consensus. Closes
2579 ticket 40255. Patch by Neel Chauhan.
2581 o Major features (metrics):
2582 - Relays now report how overloaded they are in their extrainfo
2583 documents. This information is controlled with the
2584 OverloadStatistics torrc option, and it will be used to improve
2585 decisions about the network's load balancing. Implements proposal
2586 328; closes ticket 40222.
2588 o Major features (relay, denial of service):
2589 - Add a new DoS subsystem feature to control the rate of client
2590 connections for relays. Closes ticket 40253.
2592 o Major features (statistics):
2593 - Relays now publish statistics about the number of v3 onion
2594 services and volume of v3 onion service traffic, in the same
2595 manner they already do for v2 onions. Closes ticket 23126.
2597 o Major bugfixes (circuit build timeout):
2598 - Improve the accuracy of our circuit build timeout calculation for
2599 60%, 70%, and 80% build rates for various guard choices. We now
2600 use a maximum likelihood estimator for Pareto parameters of the
2601 circuit build time distribution, instead of a "right-censored
2602 estimator". This causes clients to ignore circuits that never
2603 finish building in their timeout calculations. Previously, clients
2604 were counting such unfinished circuits as having the highest
2605 possible build time value, when in reality these circuits most
2606 likely just contain relays that are offline. We also now wait a
2607 bit longer to let circuits complete for measurement purposes,
2608 lower the minimum possible effective timeout from 1.5 seconds to
2609 10ms, and increase the resolution of the circuit build time
2610 histogram from 50ms bin widths to 10ms bin widths. Additionally,
2611 we alter our estimate Xm by taking the maximum of the top 10 most
2612 common build time values of the 10ms histogram, and compute Xm as
2613 the average of these. Fixes bug 40168; bugfix on 0.2.2.14-alpha.
2614 - Remove max_time calculation and associated warning from circuit
2615 build timeout 'alpha' parameter estimation, as this is no longer
2616 needed by our new estimator from 40168. Fixes bug 34088; bugfix
2619 o Major bugfixes (signing key):
2620 - In the tor-gencert utility, give an informative error message if
2621 the passphrase given in `--create-identity-key` is too short.
2622 Fixes bug 40189; bugfix on 0.2.0.1-alpha. Patch by Neel Chauhan.
2624 o Minor features (bridge):
2625 - We now announce the URL to Tor's new bridge status at
2626 https://bridges.torproject.org/ when Tor is configured to run as a
2627 bridge relay. Closes ticket 30477.
2629 o Minor features (build system):
2630 - New "make lsp" command to auto generate the compile_commands.json
2631 file used by the ccls server. The "bear" program is needed for
2632 this. Closes ticket 40227.
2634 o Minor features (command-line interface):
2635 - Add build informations to `tor --version` in order to ease
2636 reproducible builds. Closes ticket 32102.
2637 - When parsing command-line flags that take an optional argument,
2638 treat the argument as absent if it would start with a '-'
2639 character. Arguments in that form are not intelligible for any of
2640 our optional-argument flags. Closes ticket 40223.
2641 - Allow a relay operator to list the ed25519 keys on the command
2642 line by adding the `rsa` and `ed25519` arguments to the
2643 --list-fingerprint flag to show the respective RSA and ed25519
2644 relay fingerprint. Closes ticket 33632. Patch by Neel Chauhan.
2646 o Minor features (control port, stream handling):
2647 - Add the stream ID to the event line in the ADDRMAP control event.
2648 Closes ticket 40249. Patch by Neel Chauhan.
2650 o Minor features (dormant mode):
2651 - Add a new 'DormantTimeoutEnabled' option for coarse-grained
2652 control over whether the client can become dormant from
2653 inactivity. Most people won't need this. Closes ticket 40228.
2655 o Minor features (logging):
2656 - Change the DoS subsystem heartbeat line format to be more clear on
2657 what has been detected/rejected, and which option is disabled (if
2658 any). Closes ticket 40308.
2659 - In src/core/mainloop/mainloop.c and src/core/mainloop/connection.c,
2660 put brackets around IPv6 addresses in log messages. Closes ticket
2661 40232. Patch by Neel Chauhan.
2663 o Minor features (performance, windows):
2664 - Use SRWLocks to implement locking on Windows. Replaces the
2665 "critical section" locking implementation with the faster
2666 SRWLocks, available since Windows Vista. Closes ticket 17927.
2667 Patch by Daniel Pinto.
2669 o Minor features (protocol, proxy support, defense in depth):
2670 - Close HAProxy connections if they somehow manage to send us data
2671 before we start reading. Closes another case of ticket 40017.
2673 o Minor features (tests, portability):
2674 - Port the hs_build_address.py test script to work with recent
2675 versions of python. Closes ticket 40213. Patch from
2678 o Minor features (vote document):
2679 - Add a "stats" line to directory authority votes, to report various
2680 statistics that authorities compute about the relays. This will
2681 help us diagnose the network better. Closes ticket 40314.
2683 o Minor bugfixes (build):
2684 - The configure script now shows whether or not lzma and zstd have
2685 been used, not just if the enable flag was passed in. Fixes bug
2686 40236; bugfix on 0.4.3.1-alpha.
2688 o Minor bugfixes (compatibility):
2689 - Fix a failure in the test cases when running on the "hppa"
2690 architecture, along with a related test that might fail on other
2691 architectures in the future. Fixes bug 40274; bugfix
2694 o Minor bugfixes (controller):
2695 - Fix a "BUG" warning that would appear when a controller chooses
2696 the first hop for a circuit, and that circuit completes. Fixes bug
2697 40285; bugfix on 0.3.2.1-alpha.
2699 o Minor bugfixes (directory authorities, voting):
2700 - Add a new consensus method (31) to support any future changes that
2701 authorities decide to make to the value of bwweightscale or
2702 maxunmeasuredbw. Previously, there was a bug that prevented the
2703 authorities from parsing these consensus parameters correctly under
2704 most circumstances. Fixes bug 19011; bugfix on 0.2.2.10-alpha.
2706 o Minor bugfixes (ipv6):
2707 - Allow non-SOCKSPorts to disable IPv4, IPv6, and PreferIPv4. Some
2708 rare configurations might break, but in this case you can disable
2709 NoIPv4Traffic and NoIPv6Traffic as needed. Fixes bug 33607; bugfix
2710 on 0.4.1.1-alpha. Patch by Neel Chauhan.
2712 o Minor bugfixes (key generation):
2713 - Do not require a valid torrc when using the `--keygen` argument to
2714 generate a signing key. This allows us to generate keys on systems
2715 or users which may not run Tor. Fixes bug 40235; bugfix on
2716 0.2.7.2-alpha. Patch by Neel Chauhan.
2718 o Minor bugfixes (onion services, logging):
2719 - Downgrade the severity of a few rendezvous circuit-related
2720 warnings from warning to info. Fixes bug 40207; bugfix on
2721 0.3.2.1-alpha. Patch by Neel Chauhan.
2723 o Minor bugfixes (relay):
2724 - Reduce the compression level for data streaming from HIGH to LOW.
2725 This should reduce the CPU and memory burden for directory caches.
2726 Fixes bug 40301; bugfix on 0.3.5.1-alpha.
2728 o Code simplification and refactoring:
2729 - Remove the orconn_ext_or_id_map structure and related functions.
2730 (Nothing outside of unit tests used them.) Closes ticket 33383.
2731 Patch by Neel Chauhan.
2734 - As of this release, Tor no longer supports the old v2 onion
2735 services. They were deprecated last July for security, and support
2736 will be removed entirely later this year. We strongly encourage
2737 everybody to migrate to v3 onion services. For more information,
2738 see https://blog.torproject.org/v2-deprecation-timeline . Closes
2739 ticket 40266. (NOTE: We accidentally released an earlier version
2740 of the 0.4.6.1-alpha changelog without this entry. Sorry for
2743 o Code simplification and refactoring (metrics, DoS):
2744 - Move the DoS subsystem into the subsys manager, including its
2745 configuration options. Closes ticket 40261.
2747 o Removed features (relay):
2748 - Because DirPorts are only used on authorities, relays no longer
2749 advertise them. Similarly, self-testing for DirPorts has been
2750 disabled, since an unreachable DirPort is no reason for a relay
2751 not to advertise itself. (Configuring a DirPort will still work,
2752 for now.) Closes ticket 40282.
2755 Changes in version 0.3.5.14 - 2021-03-16
2756 Tor 0.3.5.14 backports fixes for two important denial-of-service bugs
2757 in earlier versions of Tor.
2759 One of these vulnerabilities (TROVE-2021-001) would allow an attacker
2760 who can send directory data to a Tor instance to force that Tor
2761 instance to consume huge amounts of CPU. This is easiest to exploit
2762 against authorities, since anybody can upload to them, but directory
2763 caches could also exploit this vulnerability against relays or clients
2764 when they download. The other vulnerability (TROVE-2021-002) only
2765 affects directory authorities, and would allow an attacker to remotely
2766 crash the authority with an assertion failure. Patches have already
2767 been provided to the authority operators, to help ensure
2770 We recommend that everybody upgrade to one of the releases that fixes
2771 these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
2774 This release also updates our GeoIP data source, and fixes a
2775 compatibility issue.
2777 o Major bugfixes (security, denial of service, backport from 0.4.5.7):
2778 - Disable the dump_desc() function that we used to dump unparseable
2779 information to disk. It was called incorrectly in several places,
2780 in a way that could lead to excessive CPU usage. Fixes bug 40286;
2781 bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
2782 001 and CVE-2021-28089.
2783 - Fix a bug in appending detached signatures to a pending consensus
2784 document that could be used to crash a directory authority. Fixes
2785 bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
2788 o Minor features (geoip data, backport from 0.4.5.7):
2789 - We have switched geoip data sources. Previously we shipped IP-to-
2790 country mappings from Maxmind's GeoLite2, but in 2019 they changed
2791 their licensing terms, so we were unable to update them after that
2792 point. We now ship geoip files based on the IPFire Location
2793 Database instead. (See https://location.ipfire.org/ for more
2794 information). This release updates our geoip files to match the
2795 IPFire Location Database as retrieved on 2021/03/12. Closes
2798 o Removed features (mallinfo deprecated, backport from 0.4.5.7):
2799 - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
2800 Closes ticket 40309.
2803 Changes in version 0.4.4.8 - 2021-03-16
2804 Tor 0.4.4.8 backports fixes for two important denial-of-service bugs
2805 in earlier versions of Tor.
2807 One of these vulnerabilities (TROVE-2021-001) would allow an attacker
2808 who can send directory data to a Tor instance to force that Tor
2809 instance to consume huge amounts of CPU. This is easiest to exploit
2810 against authorities, since anybody can upload to them, but directory
2811 caches could also exploit this vulnerability against relays or clients
2812 when they download. The other vulnerability (TROVE-2021-002) only
2813 affects directory authorities, and would allow an attacker to remotely
2814 crash the authority with an assertion failure. Patches have already
2815 been provided to the authority operators, to help ensure
2818 We recommend that everybody upgrade to one of the releases that fixes
2819 these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
2822 This release also updates our GeoIP data source, and fixes a
2823 compatibility issue.
2825 o Major bugfixes (security, denial of service, backport from 0.4.5.7):
2826 - Disable the dump_desc() function that we used to dump unparseable
2827 information to disk. It was called incorrectly in several places,
2828 in a way that could lead to excessive CPU usage. Fixes bug 40286;
2829 bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
2830 001 and CVE-2021-28089.
2831 - Fix a bug in appending detached signatures to a pending consensus
2832 document that could be used to crash a directory authority. Fixes
2833 bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
2836 o Minor features (geoip data, backport from 0.4.5.7):
2837 - We have switched geoip data sources. Previously we shipped IP-to-
2838 country mappings from Maxmind's GeoLite2, but in 2019 they changed
2839 their licensing terms, so we were unable to update them after that
2840 point. We now ship geoip files based on the IPFire Location
2841 Database instead. (See https://location.ipfire.org/ for more
2842 information). This release updates our geoip files to match the
2843 IPFire Location Database as retrieved on 2021/03/12. Closes
2846 o Removed features (mallinfo deprecated, backport from 0.4.5.7):
2847 - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
2848 Closes ticket 40309.
2851 Changes in version 0.4.5.7 - 2021-03-16
2852 Tor 0.4.5.7 fixes two important denial-of-service bugs in earlier
2855 One of these vulnerabilities (TROVE-2021-001) would allow an attacker
2856 who can send directory data to a Tor instance to force that Tor
2857 instance to consume huge amounts of CPU. This is easiest to exploit
2858 against authorities, since anybody can upload to them, but directory
2859 caches could also exploit this vulnerability against relays or clients
2860 when they download. The other vulnerability (TROVE-2021-002) only
2861 affects directory authorities, and would allow an attacker to remotely
2862 crash the authority with an assertion failure. Patches have already
2863 been provided to the authority operators, to help ensure
2866 We recommend that everybody upgrade to one of the releases that fixes
2867 these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
2870 This release also updates our GeoIP data source, and fixes a few
2871 smaller bugs in earlier releases.
2873 o Major bugfixes (security, denial of service):
2874 - Disable the dump_desc() function that we used to dump unparseable
2875 information to disk. It was called incorrectly in several places,
2876 in a way that could lead to excessive CPU usage. Fixes bug 40286;
2877 bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
2878 001 and CVE-2021-28089.
2879 - Fix a bug in appending detached signatures to a pending consensus
2880 document that could be used to crash a directory authority. Fixes
2881 bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
2884 o Minor features (geoip data):
2885 - We have switched geoip data sources. Previously we shipped IP-to-
2886 country mappings from Maxmind's GeoLite2, but in 2019 they changed
2887 their licensing terms, so we were unable to update them after that
2888 point. We now ship geoip files based on the IPFire Location
2889 Database instead. (See https://location.ipfire.org/ for more
2890 information). This release updates our geoip files to match the
2891 IPFire Location Database as retrieved on 2021/03/12. Closes
2894 o Minor bugfixes (directory authority):
2895 - Now that exit relays don't allow exit connections to directory
2896 authority DirPorts (to prevent network reentry), disable
2897 authorities' reachability self test on the DirPort. Fixes bug
2898 40287; bugfix on 0.4.5.5-rc.
2900 o Minor bugfixes (documentation):
2901 - Fix a formatting error in the documentation for
2902 VirtualAddrNetworkIPv6. Fixes bug 40256; bugfix on 0.2.9.4-alpha.
2904 o Minor bugfixes (Linux, relay):
2905 - Fix a bug in determining total available system memory that would
2906 have been triggered if the format of Linux's /proc/meminfo file
2907 had ever changed to include "MemTotal:" in the middle of a line.
2908 Fixes bug 40315; bugfix on 0.2.5.4-alpha.
2910 o Minor bugfixes (metrics port):
2911 - Fix a BUG() warning on the MetricsPort for an internal missing
2912 handler. Fixes bug 40295; bugfix on 0.4.5.1-alpha.
2914 o Minor bugfixes (onion service):
2915 - Remove a harmless BUG() warning when reloading tor configured with
2916 onion services. Fixes bug 40334; bugfix on 0.4.5.1-alpha.
2918 o Minor bugfixes (portability):
2919 - Fix a non-portable usage of "==" with "test" in the configure
2920 script. Fixes bug 40298; bugfix on 0.4.5.1-alpha.
2922 o Minor bugfixes (relay):
2923 - Remove a spammy log notice falsely claiming that the IPv4/v6
2924 address was missing. Fixes bug 40300; bugfix on 0.4.5.1-alpha.
2925 - Do not query the address cache early in the boot process when
2926 deciding if a relay needs to fetch early directory information
2927 from an authority. This bug resulted in a relay falsely believing
2928 it didn't have an address and thus triggering an authority fetch
2929 at each boot. Related to our fix for 40300.
2931 o Removed features (mallinfo deprecated):
2932 - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
2933 Closes ticket 40309.
2936 Changes in version 0.4.5.6 - 2021-02-15
2937 The Tor 0.4.5.x release series is dedicated to the memory of Karsten
2938 Loesing (1979-2020), Tor developer, cypherpunk, husband, and father.
2939 Karsten is best known for creating the Tor metrics portal and leading
2940 the metrics team, but he was involved in Tor from the early days. For
2941 example, while he was still a student he invented and implemented the
2942 v2 onion service directory design, and he also served as an ambassador
2943 to the many German researchers working in the anonymity field. We
2944 loved him and respected him for his patience, his consistency, and his
2945 welcoming approach to growing our community.
2947 This release series introduces significant improvements in relay IPv6
2948 address discovery, a new "MetricsPort" mechanism for relay operators
2949 to measure performance, LTTng support, build system improvements to
2950 help when using Tor as a static library, and significant bugfixes
2951 related to Windows relay performance. It also includes numerous
2952 smaller features and bugfixes.
2954 Below are the changes since 0.4.4.4-rc. For a complete list of changes
2955 since 0.4.4.7, see the ReleaseNotes file.
2957 o Major bugfixes (IPv6, relay):
2958 - Fix a bug that prevented a relay from publishing its descriptor if
2959 an auto-discovered IPv6 that was found unreachable. Fixes bug
2960 40279; bugfix on 0.4.5.1-alpha.
2962 o Minor features (protocol versions):
2963 - Stop claiming to support the "DirCache=1" subprotocol version.
2964 Technically, we stopped supporting this subprotocol back in
2965 0.4.5.1-alpha, but we needed to wait for the authorities to stop
2966 listing it as "required" before we could drop it from the list.
2967 Closes ticket 40221.
2969 o Minor bugfixes (logging):
2970 - Avoid a spurious log message about missing subprotocol versions,
2971 when the consensus that we're reading from is older than the
2972 current release. Previously we had made this message nonfatal, but
2973 in practice, it is never relevant when the consensus is older than
2974 the current release. Fixes bug 40281; bugfix on 0.4.0.1-alpha.
2976 o Minor bugfixes (metrics port):
2977 - Fix a bug warning when a metrics port socket was unexpectedly
2978 closed. Fixes bug 40257; bugfix on 0.4.5.1-alpha
2980 o Minor bugfixes (relay):
2981 - Allow relays to have a RFC1918 address if PublishServerDescriptor
2982 is set to 0 and AssumeReachable is set to 1. This is to support
2983 the use case of a bridge on a local network, exposed via a
2984 pluggable transport. Fixes bug 40208; bugfix on 0.4.5.1-alpha.
2986 o Minor bugfixes (relay, config):
2987 - Fix a problem in the removal of duplicate ORPorts from the
2988 internal port list when loading the config file. We were removing
2989 the wrong ports, breaking valid torrc uses cases for multiple
2990 ORPorts of the same address family. Fixes bug 40289; bugfix
2994 Changes in version 0.4.4.7 - 2021-02-03
2995 Tor 0.4.4.7 backports numerous bugfixes from later releases,
2996 including one that made v3 onion services more susceptible to
2997 denial-of-service attacks, and a feature that makes some kinds of
2998 DoS attacks harder to perform.
3000 o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
3001 - Stop requiring a live consensus for v3 clients and services, and
3002 allow a "reasonably live" consensus instead. This allows v3 onion
3003 services to work even if the authorities fail to generate a
3004 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3007 o Major feature (exit, backport from 0.4.5.5-rc):
3008 - Re-entry into the network is now denied at the Exit level to all
3009 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3010 should help mitgate a set of denial-of-service attacks. Closes
3013 o Minor feature (build system, backport from 0.4.5.4-rc):
3014 - New "make lsp" command to generate the compile_commands.json file
3015 used by the ccls language server. The "bear" program is needed for
3016 this. Closes ticket 40227.
3018 o Minor features (compilation, backport from 0.4.5.2-rc):
3019 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3020 later. There are a number of APIs newly deprecated in OpenSSL
3021 3.0.0 that Tor still requires. (A later version of Tor will try to
3022 stop depending on these APIs.) Closes ticket 40165.
3024 o Minor features (crypto, backport from 0.4.5.3-rc):
3025 - Fix undefined behavior on our Keccak library. The bug only
3026 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3027 and would result in wrong digests. Fixes bug 40210; bugfix on
3028 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3029 weasel for diagnosing this.
3031 o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
3032 - Strip '\r' characters when reading text files on Unix platforms.
3033 This should resolve an issue where a relay operator migrates a
3034 relay from Windows to Unix, but does not change the line ending of
3035 Tor's various state files to match the platform, and the CRLF line
3036 endings from Windows end up leaking into other files such as the
3037 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
3039 o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
3040 - Fix a compilation warning about unreachable fallthrough
3041 annotations when building with "--enable-all-bugs-are-fatal" on
3042 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3044 o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
3045 - Handle partial SOCKS5 messages correctly. Previously, our code
3046 would send an incorrect error message if it got a SOCKS5 request
3047 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3049 o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
3050 - Fix the `config/parse_tcp_proxy_line` test so that it works
3051 correctly on systems where the DNS provider hijacks invalid
3052 queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
3053 - Fix our Python reference-implementation for the v3 onion service
3054 handshake so that it works correctly with the version of hashlib
3055 provided by Python 3.9. Fixes part of bug 40179; bugfix
3057 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3058 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3061 Changes in version 0.4.3.8 - 2021-02-03
3062 Tor 0.4.3.8 backports numerous bugfixes from later releases,
3063 including one that made v3 onion services more susceptible to
3064 denial-of-service attacks, and a feature that makes some kinds of
3065 DoS attacks harder to perform.
3067 Note that this is, in all likelihood, the last release of Tor 0.4.3.x,
3068 which will reach end-of-life on 15 Feb 2021.
3070 o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
3071 - Stop requiring a live consensus for v3 clients and services, and
3072 allow a "reasonably live" consensus instead. This allows v3 onion
3073 services to work even if the authorities fail to generate a
3074 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3077 o Major bugfixes (stats, onion services, backport from 0.4.4.5):
3078 - Fix a bug where we were undercounting the Tor network's total
3079 onion service traffic, by ignoring any traffic originating from
3080 clients. Now we count traffic from both clients and services.
3081 Fixes bug 40117; bugfix on 0.2.6.2-alpha.
3083 o Major feature (exit, backport from 0.4.5.5-rc):
3084 - Re-entry into the network is now denied at the Exit level to all
3085 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3086 should help mitgate a set of denial-of-service attacks. Closes
3089 o Minor feature (build system, backport from 0.4.5.4-rc):
3090 - New "make lsp" command to generate the compile_commands.json file
3091 used by the ccls language server. The "bear" program is needed for
3092 this. Closes ticket 40227.
3094 o Minor features (compilation, backport from 0.4.5.2-rc):
3095 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3096 later. There are a number of APIs newly deprecated in OpenSSL
3097 3.0.0 that Tor still requires. (A later version of Tor will try to
3098 stop depending on these APIs.) Closes ticket 40165.
3100 o Minor features (crypto, backport from 0.4.5.3-rc):
3101 - Fix undefined behavior on our Keccak library. The bug only
3102 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3103 and would result in wrong digests. Fixes bug 40210; bugfix on
3104 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3105 weasel for diagnosing this.
3107 o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
3108 - Strip '\r' characters when reading text files on Unix platforms.
3109 This should resolve an issue where a relay operator migrates a
3110 relay from Windows to Unix, but does not change the line ending of
3111 Tor's various state files to match the platform, and the CRLF line
3112 endings from Windows end up leaking into other files such as the
3113 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
3115 o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
3116 - Resolve a compilation warning that could occur in
3117 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
3119 o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
3120 - Fix a compilation warning about unreachable fallthrough
3121 annotations when building with "--enable-all-bugs-are-fatal" on
3122 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3124 o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
3125 - Handle partial SOCKS5 messages correctly. Previously, our code
3126 would send an incorrect error message if it got a SOCKS5 request
3127 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3129 o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
3130 - Fix the `config/parse_tcp_proxy_line` test so that it works
3131 correctly on systems where the DNS provider hijacks invalid
3132 queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
3133 - Fix our Python reference-implementation for the v3 onion service
3134 handshake so that it works correctly with the version of hashlib
3135 provided by Python 3.9. Fixes part of bug 40179; bugfix
3137 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3138 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3141 Changes in version 0.3.5.13 - 2020-02-03
3142 Tor 0.3.5.13 backports numerous bugfixes from later releases,
3143 including one that made v3 onion services more susceptible to
3144 denial-of-service attacks, and a feature that makes some kinds of
3145 DoS attacks harder to perform.
3147 o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
3148 - Stop requiring a live consensus for v3 clients and services, and
3149 allow a "reasonably live" consensus instead. This allows v3 onion
3150 services to work even if the authorities fail to generate a
3151 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3154 o Major bugfixes (stats, onion services, backport from 0.4.4.5):
3155 - Fix a bug where we were undercounting the Tor network's total
3156 onion service traffic, by ignoring any traffic originating from
3157 clients. Now we count traffic from both clients and services.
3158 Fixes bug 40117; bugfix on 0.2.6.2-alpha.
3160 o Major feature (exit, backport from 0.4.5.5-rc):
3161 - Re-entry into the network is now denied at the Exit level to all
3162 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3163 should help mitigate a set of denial-of-service attacks. Closes
3166 o Minor feature (build system, backport from 0.4.5.4-rc):
3167 - New "make lsp" command to generate the compile_commands.json file
3168 used by the ccls language server. The "bear" program is needed for
3169 this. Closes ticket 40227.
3171 o Minor features (compilation, backport from 0.4.5.2-rc):
3172 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3173 later. There are a number of APIs newly deprecated in OpenSSL
3174 3.0.0 that Tor still requires. (A later version of Tor will try to
3175 stop depending on these APIs.) Closes ticket 40165.
3177 o Minor features (crypto, backport from 0.4.5.3-rc):
3178 - Fix undefined behavior on our Keccak library. The bug only
3179 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3180 and would result in wrong digests. Fixes bug 40210; bugfix on
3181 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3182 weasel for diagnosing this.
3184 o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
3185 - Strip '\r' characters when reading text files on Unix platforms.
3186 This should resolve an issue where a relay operator migrates a
3187 relay from Windows to Unix, but does not change the line ending of
3188 Tor's various state files to match the platform, and the CRLF line
3189 endings from Windows end up leaking into other files such as the
3190 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
3192 o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
3193 - Resolve a compilation warning that could occur in
3194 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
3196 o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
3197 - Fix a compilation warning about unreachable fallthrough
3198 annotations when building with "--enable-all-bugs-are-fatal" on
3199 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3201 o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
3202 - Handle partial SOCKS5 messages correctly. Previously, our code
3203 would send an incorrect error message if it got a SOCKS5 request
3204 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3206 o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
3207 - Fix our Python reference-implementation for the v3 onion service
3208 handshake so that it works correctly with the version of hashlib
3209 provided by Python 3.9. Fixes part of bug 40179; bugfix
3211 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3212 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3215 Changes in version 0.4.5.5-rc - 2021-02-01
3216 Tor 0.4.5.5-rc is the third release candidate in its series. We're
3217 coming closer and closer to a stable release series. This release
3218 fixes an annoyance with address detection code, and somewhat mitigates
3219 an ongoing denial-of-service attack.
3221 We anticipate no more code changes between this and the stable
3222 release, though of course that could change.
3224 o Major feature (exit):
3225 - Re-entry into the network is now denied at the Exit level to all
3226 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3227 should help mitgate a set of denial-of-service attacks. Closes
3230 o Minor bugfixes (relay, configuration):
3231 - Don't attempt to discover our address (IPv4 or IPv6) if no ORPort
3232 for it can be found in the configuration. Fixes bug 40254; bugfix
3236 Changes in version 0.4.5.4-rc - 2021-01-22
3237 Tor 0.4.5.4-rc is the second release candidate in its series. It fixes
3238 several bugs present in previous releases.
3240 We expect that the stable release will be the same, or almost the
3241 same, as this release candidate, unless serious bugs are found.
3243 o Major bugfixes (authority, IPv6):
3244 - Do not consider multiple relays in the same IPv6 /64 network to be
3245 sybils. Fixes bug 40243; bugfix on 0.4.5.1-alpha.
3247 o Major bugfixes (directory cache, performance, windows):
3248 - Limit the number of items in the consensus diff cache to 64 on
3249 Windows. We hope this will mitigate an issue where Windows relay
3250 operators reported Tor using 100% CPU, while we investigate better
3251 solutions. Fixes bug 24857; bugfix on 0.3.1.1-alpha.
3253 o Minor feature (build system):
3254 - New "make lsp" command to generate the compile_commands.json file
3255 used by the ccls language server. The "bear" program is needed for
3256 this. Closes ticket 40227.
3258 o Minor features (authority, logging):
3259 - Log more information for directory authority operators during the
3260 consensus voting process, and while processing relay descriptors.
3261 Closes ticket 40245.
3262 - Reject obsolete router/extrainfo descriptors earlier and more
3263 quietly, to avoid spamming the logs. Fixes bug 40238; bugfix
3266 o Minor bugfixes (compilation):
3267 - Fix another warning about unreachable fallthrough annotations when
3268 building with "--enable-all-bugs-are-fatal" on some compilers.
3269 Fixes bug 40241; bugfix on 0.4.5.3-rc.
3270 - Change the linker flag ordering in our library search code so that
3271 it works for compilers that need the libraries to be listed in the
3272 right order. Fixes bug 33624; bugfix on 0.1.1.0-alpha.
3274 o Minor bugfixes (config, bridge):
3275 - Don't initiate a connection to a bridge configured to use a
3276 missing transport. This change reverts an earlier fix that would
3277 try to avoid such situations during configuration chcecking, but
3278 which doesn't work with DisableNetwork. Fixes bug 40106; bugfix
3281 o Minor bugfixes (onion services):
3282 - Avoid a non-fatal assertion in certain edge-cases when
3283 establishing a circuit to an onion service. Fixes bug 32666;
3284 bugfix on 0.3.0.3-alpha.
3286 o Minor bugfixes (relay):
3287 - If we were unable to build our descriptor, don't mark it as having
3288 been advertised. Also remove an harmless BUG(). Fixes bug 40231;
3289 bugfix on 0.4.5.1-alpha.
3292 Changes in version 0.4.5.3-rc - 2021-01-12
3293 Tor 0.4.5.3-rc is the first release candidate in its series. It fixes
3294 several bugs, including one that broke onion services on certain older
3295 ARM CPUs, and another that made v3 onion services less reliable.
3297 Though we anticipate that we'll be doing a bit more clean-up between
3298 now and the stable release, we expect that our remaining changes will
3299 be fairly simple. There will be at least one more release candidate
3300 before 0.4.5.x is stable.
3302 o Major bugfixes (onion service v3):
3303 - Stop requiring a live consensus for v3 clients and services, and
3304 allow a "reasonably live" consensus instead. This allows v3 onion
3305 services to work even if the authorities fail to generate a
3306 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3309 o Minor features (crypto):
3310 - Fix undefined behavior on our Keccak library. The bug only
3311 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3312 and would result in wrong digests. Fixes bug 40210; bugfix on
3313 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3314 weasel for diagnosing this.
3316 o Minor features (documentation):
3317 - Mention the "!badexit" directive that can appear in an authority's
3318 approved-routers file, and update the description of the
3319 "!invalid" directive. Closes ticket 40188.
3321 o Minor bugfixes (compilation):
3322 - Fix a compilation warning about unreachable fallthrough
3323 annotations when building with "--enable-all-bugs-are-fatal" on
3324 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3325 - Fix the "--enable-static-tor" switch to properly set the "-static"
3326 compile option onto the tor binary only. Fixes bug 40111; bugfix
3329 o Minor bugfixes (config, bridge):
3330 - Really fix the case where torrc has a missing ClientTransportPlugin
3331 but is configured with a Bridge line and UseBridges. Previously,
3332 we didn't look at the managed proxy list and thus would fail for
3333 the "exec" case. Fixes bug 40106; bugfix on 0.4.5.1-alpha.
3335 o Minor bugfixes (logging, relay):
3336 - Log our address as reported by the directory authorities, if none
3337 was configured or detected before. Fixes bug 40201; bugfix
3339 - When a launching bandwidth testing circuit, don't incorrectly call
3340 it a reachability test, or trigger a "CHECKING_REACHABILITY"
3341 control event. Fixes bug 40205; bugfix on 0.4.5.1-alpha.
3343 o Minor bugfixes (relay, statistics):
3344 - Report the correct connection statistics in our extrainfo
3345 documents. Previously there was a problem in the file loading
3346 function which would wrongly truncate a state file, causing the
3347 wrong information to be reported. Fixes bug 40226; bugfix
3350 o Minor bugfixes (SOCKS5):
3351 - Handle partial SOCKS5 messages correctly. Previously, our code
3352 would send an incorrect error message if it got a SOCKS5 request
3353 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3356 Changes in version 0.4.5.2-alpha - 2020-11-23
3357 Tor 0.4.5.2-alpha is the second alpha release in the 0.4.5.x series.
3358 It fixes several bugs present in earlier releases, including one that
3359 made it impractical to run relays on Windows. It also adds a few small
3360 safety features to improve Tor's behavior in the presence of strange
3361 compile-time options, misbehaving proxies, and future versions
3364 o Major bugfixes (relay, windows):
3365 - Fix a bug in our implementation of condition variables on Windows.
3366 Previously, a relay on Windows would use 100% CPU after running
3367 for some time. Because of this change, Tor now require Windows
3368 Vista or later to build and run. Fixes bug 30187; bugfix on
3369 0.2.6.3-alpha. (This bug became more serious in 0.3.1.1-alpha with
3370 the introduction of consensus diffs.) Patch by Daniel Pinto.
3372 o Minor features (compilation):
3373 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3374 later. There are a number of APIs newly deprecated in OpenSSL
3375 3.0.0 that Tor still requires. (A later version of Tor will try to
3376 stop depending on these APIs.) Closes ticket 40165.
3378 o Minor features (protocol, proxy support, defense in depth):
3379 - Respond more deliberately to misbehaving proxies that leave
3380 leftover data on their connections, so as to make Tor even less
3381 likely to allow the proxies to pass their data off as having come
3382 from a relay. Closes ticket 40017.
3384 o Minor features (safety):
3385 - Log a warning at startup if Tor is built with compile-time options
3386 that are likely to make it less stable or reliable. Closes
3389 o Minor bugfixes (circuit, handshake):
3390 - In the v3 handshaking code, use connection_or_change_state() to
3391 change the state. Previously, we changed the state directly, but
3392 this did not pass the state change to the pubsub or channel
3393 objects, potentially leading to bugs. Fixes bug 32880; bugfix on
3394 0.2.3.6-alpha. Patch by Neel Chauhan.
3396 o Minor bugfixes (compilation):
3397 - Use the correct 'ranlib' program when building libtor.a.
3398 Previously we used the default ranlib, which broke some kinds of
3399 cross-compilation. Fixes bug 40172; bugfix on 0.4.5.1-alpha.
3400 - Remove a duplicate typedef in metrics_store.c. Fixes bug 40177;
3401 bugfix on 0.4.5.1-alpha.
3402 - When USDT tracing is enabled, and STAP_PROBEV() is missing, don't
3403 attempt to build. Linux supports that macro but not the BSDs.
3404 Fixes bug 40174; bugfix on 0.4.5.1-alpha.
3406 o Minor bugfixes (configuration):
3407 - Exit Tor on a misconfiguration when the Bridge line is configured
3408 to use a transport but no corresponding ClientTransportPlugin can
3409 be found. Prior to this fix, Tor would attempt to connect to the
3410 bridge directly without using the transport, making it easier for
3411 adversaries to notice the bridge. Fixes bug 25528; bugfix
3413 - Fix an issue where an ORPort was compared with other kinds of
3414 ports, when it should have been only checked against other
3415 ORPorts. This bug would lead to "DirPort auto" getting ignored.
3416 Fixes bug 40195; bugfix on 0.4.5.1-alpha.
3417 - Fix a bug where a second non-ORPort with a variant family (ex:
3418 SocksPort [::1]:9050) would be ignored due to a configuration
3419 parsing error. Fixes bug 40183; bugfix on 0.4.5.1-alpha.
3421 o Minor bugfixes (crash, relay, signing key):
3422 - Avoid assertion failures when we run Tor from the command line
3423 with `--key-expiration sign`, but an ORPort is not set. Fixes bug
3424 40015; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
3426 o Minor bugfixes (logging):
3427 - Remove trailing whitespace from control event log messages. Fixes
3428 bug 32178; bugfix on 0.1.1.1-alpha. Based on a patch by
3430 - Turn warning-level log message about SENDME failure into a debug-
3431 level message. (This event can happen naturally, and is no reason
3432 for concern). Fixes bug 40142; bugfix on 0.4.1.1-alpha.
3434 o Minor bugfixes (relay, address discovery):
3435 - Don't trigger an IP change when no new valid IP can be found.
3436 Fixes bug 40071; bugfix on 0.4.5.1-alpha.
3437 - When attempting to discover our IP, use a simple test circuit,
3438 rather than a descriptor fetch: the same address information is
3439 present in NETINFO cells, and is better authenticated there. Fixes
3440 bug 40071; bugfix on 0.4.5.1-alpha.
3442 o Minor bugfixes (testing):
3443 - Fix the `config/parse_tcp_proxy_line` test so that it works
3444 correctly on systems where the DNS provider hijacks invalid
3445 queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
3446 - Fix unit tests that used newly generated list of routers so that
3447 they check them with respect to the date when they were generated,
3448 not with respect to the current time. Fixes bug 40187; bugfix
3450 - Fix our Python reference-implementation for the v3 onion service
3451 handshake so that it works correctly with the version of hashlib
3452 provided by Python 3.9. Fixes part of bug 40179; bugfix
3454 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3455 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3457 o Removed features (controller):
3458 - Remove the "GETINFO network-status" controller command. It has
3459 been deprecated since 0.3.1.1-alpha. Closes ticket 22473.
3462 Changes in version 0.4.4.6 - 2020-11-12
3463 Tor 0.4.4.6 is the second stable release in the 0.4.4.x series. It
3464 backports fixes from later releases, including a fix for TROVE-2020-
3465 005, a security issue that could be used, under certain cases, by an
3466 adversary to observe traffic patterns on a limited number of circuits
3467 intended for a different relay.
3469 o Major bugfixes (security, backport from 0.4.5.1-alpha):
3470 - When completing a channel, relays now check more thoroughly to
3471 make sure that it matches any pending circuits before attaching
3472 those circuits. Previously, address correctness and Ed25519
3473 identities were not checked in this case, but only when extending
3474 circuits on an existing channel. Fixes bug 40080; bugfix on
3475 0.2.7.2-alpha. Resolves TROVE-2020-005.
3477 o Minor features (directory authorities, backport from 0.4.5.1-alpha):
3478 - Authorities now list a different set of protocols as required and
3479 recommended. These lists have been chosen so that only truly
3480 recommended and/or required protocols are included, and so that
3481 clients using 0.2.9 or later will continue to work (even though
3482 they are not supported), whereas only relays running 0.3.5 or
3483 later will meet the requirements. Closes ticket 40162.
3484 - Make it possible to specify multiple ConsensusParams torrc lines.
3485 Now directory authority operators can for example put the main
3486 ConsensusParams config in one torrc file and then add to it from a
3487 different torrc file. Closes ticket 40164.
3489 o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
3490 - Tor no longer allows subprotocol versions larger than 63.
3491 Previously version numbers up to UINT32_MAX were allowed, which
3492 significantly complicated our code. Implements proposal 318;
3493 closes ticket 40133.
3495 o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
3496 - Fix a rendezvous cache unit test that was triggering an underflow
3497 on the global rend cache allocation. Fixes bug 40125; bugfix
3499 - Fix another rendezvous cache unit test that was triggering an
3500 underflow on the global rend cache allocation. Fixes bug 40126;
3501 bugfix on 0.2.8.1-alpha.
3503 o Minor bugfixes (compilation, backport from 0.4.5.1-alpha):
3504 - Fix compiler warnings that would occur when building with
3505 "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
3506 same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
3507 - Resolve a compilation warning that could occur in
3508 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
3510 o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
3511 - Remove a debug logging statement that uselessly spammed the logs.
3512 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
3514 o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
3515 - Avoid a fatal assert() when failing to create a listener
3516 connection for an address that was in use. Fixes bug 40073; bugfix
3519 o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
3520 - For HSFETCH commands on v2 onion services addresses, check the
3521 length of bytes decoded, not the base32 length. Fixes bug 34400;
3522 bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
3525 Changes in version 0.4.3.7 - 2020-11-12
3526 Tor 0.4.3.7 backports several bugfixes from later releases. It
3527 includes a fix for TROVE-2020-005, a security issue that could be
3528 used, under certain cases, by an adversary to observe traffic patterns
3529 on a limited number of circuits intended for a different relay.
3531 Please be aware that support for the 0.4.3.x series will end on 15
3532 February 2021. Please upgrade to 0.4.4.x or 0.4.5.x before then, or
3533 downgrade to 0.3.5.x, which will be supported until at least 1
3536 o Major features (fallback directory list, backport form 0.4.4.3-alpha):
3537 - Replace the 148 fallback directories originally included in Tor
3538 0.4.1.4-rc (of which around 105 are still functional) with a list
3539 of 144 fallbacks generated in July 2020. Closes ticket 40061.
3541 o Major bugfixes (security, backport from 0.4.5.1-alpha):
3542 - When completing a channel, relays now check more thoroughly to
3543 make sure that it matches any pending circuits before attaching
3544 those circuits. Previously, address correctness and Ed25519
3545 identities were not checked in this case, but only when extending
3546 circuits on an existing channel. Fixes bug 40080; bugfix on
3547 0.2.7.2-alpha. Resolves TROVE-2020-005.
3549 o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
3550 - When running with NSS enabled, make sure that NSS knows to expect
3551 nonblocking sockets. Previously, we set our TCP sockets as
3552 nonblocking, but did not tell NSS, which in turn could lead to
3553 unexpected blocking behavior. Fixes bug 40035; bugfix
3556 o Minor features (security, backport from 0.4.4.4-rc):
3557 - Channels using obsolete versions of the Tor link protocol are no
3558 longer allowed to circumvent address-canonicity checks. (This is
3559 only a minor issue, since such channels have no way to set ed25519
3560 keys, and therefore should always be rejected for circuits that
3561 specify ed25519 identities.) Closes ticket 40081.
3563 o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
3564 - Tor no longer allows subprotocol versions larger than 63.
3565 Previously version numbers up to UINT32_MAX were allowed, which
3566 significantly complicated our code. Implements proposal 318;
3567 closes ticket 40133.
3569 o Minor features (tests, backport from 0.4.4.5):
3570 - Our "make check" target now runs the unit tests in 8 parallel
3571 chunks. Doing this speeds up hardened CI builds by more than a
3572 factor of two. Closes ticket 40098.
3574 o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
3575 - Fix a rendezvous cache unit test that was triggering an underflow
3576 on the global rend cache allocation. Fixes bug 40125; bugfix
3578 - Fix another rendezvous cache unit test that was triggering an
3579 underflow on the global rend cache allocation. Fixes bug 40126;
3580 bugfix on 0.2.8.1-alpha.
3582 o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
3583 - Fix a correctness bug that could cause an assertion failure if we
3584 ever tried using the buf_move_all() function with an empty input
3585 buffer. As far as we know, no released versions of Tor do this.
3586 Fixes bug 40076; bugfix on 0.3.3.1-alpha.
3588 o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
3589 - Remove a debug logging statement that uselessly spammed the logs.
3590 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
3592 o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
3593 - On a bridge, treat all connections from an ExtORPort as remote by
3594 default for the purposes of rate-limiting. Previously, bridges
3595 would treat the connection as local unless they explicitly
3596 received a "USERADDR" command. ExtORPort connections still count
3597 as local if there is a USERADDR command with an explicit local
3598 address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
3600 o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
3601 - Avoid a fatal assert() when failing to create a listener
3602 connection for an address that was in use. Fixes bug 40073; bugfix
3605 o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
3606 - Adjust the rules for when to warn about having too many
3607 connections to other relays. Previously we'd tolerate up to 1.5
3608 connections per relay on average. Now we tolerate more connections
3609 for directory authorities, and raise the number of total
3610 connections we need to see before we warn. Fixes bug 33880; bugfix
3613 o Minor bugfixes (tests, 0.4.4.5):
3614 - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
3615 on its own. Previously, it would exit with an error. Fixes bug
3616 40099; bugfix on 0.2.8.1-alpha.
3618 o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
3619 - For HSFETCH commands on v2 onion services addresses, check the
3620 length of bytes decoded, not the base32 length. Fixes bug 34400;
3621 bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
3623 o Minor bugfixes (windows, backport from 0.4.4.4-rc):
3624 - Fix a bug that prevented Tor from starting if its log file grew
3625 above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
3627 o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
3628 - Add a deprecation warning for version 2 onion services. Closes
3631 o Removed features (backport from 0.4.4.3-alpha):
3632 - Our "check-local" test target no longer tries to use the
3633 Coccinelle semantic patching tool parse all the C files. While it
3634 is a good idea to try to make sure Coccinelle works on our C
3635 before we run a Coccinelle patch, doing so on every test run has
3636 proven to be disruptive. You can still run this tool manually with
3637 "make check-cocci". Closes ticket 40030. ticket 40030.
3640 Changes in version 0.3.5.12 - 2020-11-12
3641 Tor 0.4.3.7 backports several bugfixes from later releases. It
3642 includes a fix for TROVE-2020-005, a security issue that could be
3643 used, under certain cases, by an adversary to observe traffic patterns
3644 on a limited number of circuits intended for a different relay.
3646 o Major features (fallback directory list, backport form 0.4.4.3-alpha):
3647 - Replace the 148 fallback directories originally included in Tor
3648 0.4.1.4-rc (of which around 105 are still functional) with a list
3649 of 144 fallbacks generated in July 2020. Closes ticket 40061.
3651 o Major bugfixes (security, backport from 0.4.5.1-alpha):
3652 - When completing a channel, relays now check more thoroughly to
3653 make sure that it matches any pending circuits before attaching
3654 those circuits. Previously, address correctness and Ed25519
3655 identities were not checked in this case, but only when extending
3656 circuits on an existing channel. Fixes bug 40080; bugfix on
3657 0.2.7.2-alpha. Resolves TROVE-2020-005.
3659 o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
3660 - When running with NSS enabled, make sure that NSS knows to expect
3661 nonblocking sockets. Previously, we set our TCP sockets as
3662 nonblocking, but did not tell NSS, which in turn could lead to
3663 unexpected blocking behavior. Fixes bug 40035; bugfix
3666 o Minor features (security, backport from 0.4.4.4-rc):
3667 - Channels using obsolete versions of the Tor link protocol are no
3668 longer allowed to circumvent address-canonicity checks. (This is
3669 only a minor issue, since such channels have no way to set ed25519
3670 keys, and therefore should always be rejected for circuits that
3671 specify ed25519 identities.) Closes ticket 40081.
3673 o Minor features (debugging, directory system):
3674 - Don't crash when we find a non-guard with a guard-fraction value
3675 set. Instead, log a bug warning, in an attempt to figure out how
3676 this happened. Diagnostic for ticket 32868.
3678 o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
3679 - Tor no longer allows subprotocol versions larger than 63.
3680 Previously version numbers up to UINT32_MAX were allowed, which
3681 significantly complicated our code. Implements proposal 318;
3682 closes ticket 40133.
3684 o Minor features (tests, backport from 0.4.4.5):
3685 - Our "make check" target now runs the unit tests in 8 parallel
3686 chunks. Doing this speeds up hardened CI builds by more than a
3687 factor of two. Closes ticket 40098.
3689 o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
3690 - Fix a rendezvous cache unit test that was triggering an underflow
3691 on the global rend cache allocation. Fixes bug 40125; bugfix
3693 - Fix another rendezvous cache unit test that was triggering an
3694 underflow on the global rend cache allocation. Fixes bug 40126;
3695 bugfix on 0.2.8.1-alpha.
3697 o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
3698 - Fix a correctness bug that could cause an assertion failure if we
3699 ever tried using the buf_move_all() function with an empty input
3700 buffer. As far as we know, no released versions of Tor do this.
3701 Fixes bug 40076; bugfix on 0.3.3.1-alpha.
3703 o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
3704 - Remove a debug logging statement that uselessly spammed the logs.
3705 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
3707 o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
3708 - On a bridge, treat all connections from an ExtORPort as remote by
3709 default for the purposes of rate-limiting. Previously, bridges
3710 would treat the connection as local unless they explicitly
3711 received a "USERADDR" command. ExtORPort connections still count
3712 as local if there is a USERADDR command with an explicit local
3713 address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
3715 o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
3716 - Avoid a fatal assert() when failing to create a listener
3717 connection for an address that was in use. Fixes bug 40073; bugfix
3720 o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
3721 - Adjust the rules for when to warn about having too many
3722 connections to other relays. Previously we'd tolerate up to 1.5
3723 connections per relay on average. Now we tolerate more connections
3724 for directory authorities, and raise the number of total
3725 connections we need to see before we warn. Fixes bug 33880; bugfix
3728 o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
3729 - Stop advertising incorrect IPv6 ORPorts in relay and bridge
3730 descriptors, when the IPv6 port was configured as "auto". Fixes
3731 bug 32588; bugfix on 0.2.3.9-alpha.
3733 o Minor bugfixes (tests, 0.4.4.5):
3734 - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
3735 on its own. Previously, it would exit with an error. Fixes bug
3736 40099; bugfix on 0.2.8.1-alpha.
3738 o Minor bugfixes (windows, backport from 0.4.4.4-rc):
3739 - Fix a bug that prevented Tor from starting if its log file grew
3740 above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
3742 o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
3743 - Add a deprecation warning for version 2 onion services. Closes
3747 Changes in version 0.4.5.1-alpha - 2020-11-01
3748 Tor 0.4.5.1-alpha is the first alpha release in the 0.4.5.x series. It
3749 improves support for IPv6, address discovery and self-testing, code
3750 metrics and tracing.
3752 This release also fixes TROVE-2020-005, a security issue that could be
3753 used, under certain cases, by an adversary to observe traffic patterns
3754 on a limited number of circuits intended for a different relay. To
3755 mount this attack, the adversary would need to actively extend
3756 circuits to an incorrect address, as well as compromise a relay's
3757 legacy RSA-1024 key. We'll be backporting this fix to other release
3758 series soon, after it has had some testing.
3760 Here are the changes since 0.4.4.5.
3762 o Major features (build):
3763 - When building Tor, first link all object files into a single
3764 static library. This may help with embedding Tor in other
3765 programs. Note that most Tor functions do not constitute a part of
3766 a stable or supported API: only those functions in tor_api.h
3767 should be used if embedding Tor. Closes ticket 40127.
3769 o Major features (metrics):
3770 - Introduce a new MetricsPort which exposes, through an HTTP
3771 interface, a series of metrics that tor collects at runtime. At
3772 the moment, the only supported output format is Prometheus data
3773 model. Closes ticket 40063. See the manual page for more
3774 information and security considerations.
3775 o Major features (relay, IPv6):
3776 - The torrc option Address now supports IPv6. This unifies our
3777 address discovery interface to support IPv4, IPv6, and hostnames.
3778 Closes ticket 33233.
3779 - Launch IPv4 and IPv6 ORPort self-test circuits on relays and
3780 bridges. Closes ticket 33222.
3781 - Relays now automatically bind on IPv6 for their ORPort, unless
3782 specified otherwise with the IPv4Only flag. Closes ticket 33246.
3783 - When a relay with IPv6 support is told to open a connection to
3784 another relay, and the extend cell lists both IPv4 and IPv6
3785 addresses, the first relay now picks randomly which address to
3786 use. Closes ticket 33220.
3787 - Relays now track their IPv6 ORPort reachability separately from
3788 the reachability of their IPv4 ORPort. They will not publish a
3789 descriptor unless _both_ ports appear to be externally reachable.
3790 Closes ticket 34067.
3792 o Major features (tracing):
3793 - Add event-tracing library support for USDT and LTTng-UST, and a
3794 few tracepoints in the circuit subsystem. More will come
3795 incrementally. This feature is compiled out by default: it needs
3796 to be enabled at configure time. See documentation in
3797 doc/HACKING/Tracing.md. Closes ticket 32910.
3799 o Major bugfixes (security):
3800 - When completing a channel, relays now check more thoroughly to
3801 make sure that it matches any pending circuits before attaching
3802 those circuits. Previously, address correctness and Ed25519
3803 identities were not checked in this case, but only when extending
3804 circuits on an existing channel. Fixes bug 40080; bugfix on
3805 0.2.7.2-alpha. Resolves TROVE-2020-005.
3807 o Major bugfixes (TLS, buffer):
3808 - When attempting to read N bytes on a TLS connection, really try to
3809 read all N bytes. Previously, Tor would stop reading after the
3810 first TLS record, which can be smaller than the N bytes requested,
3811 and not check for more data until the next mainloop event. Fixes
3812 bug 40006; bugfix on 0.1.0.5-rc.
3814 o Minor features (address discovery):
3815 - If no Address statements are found, relays now prioritize guessing
3816 their address by looking at the local interface instead of the
3817 local hostname. If the interface address can't be found, the local
3818 hostname is used. Closes ticket 33238.
3820 o Minor features (admin tools):
3821 - Add a new --format argument to -key-expiration option to allow
3822 specifying the time format of the expiration date. Adds Unix
3823 timestamp format support. Patch by Daniel Pinto. Closes
3826 o Minor features (bootstrap reporting):
3827 - When reporting bootstrapping status on a relay, do not consider
3828 connections that have never been the target of an origin circuit.
3829 Previously, all connection failures were treated as potential
3830 bootstrapping failures, including connections that had been opened
3831 because of client requests. Closes ticket 25061.
3833 o Minor features (build):
3834 - When running the configure script, try to detect version
3835 mismatches between the OpenSSL headers and libraries, and suggest
3836 that the user should try "--with-openssl-dir". Closes 40138.
3837 - If the configure script has given any warnings, remind the user
3838 about them at the end of the script. Related to 40138.
3840 o Minor features (configuration):
3841 - Allow using wildcards (* and ?) with the %include option on
3842 configuration files. Closes ticket 25140. Patch by Daniel Pinto.
3843 - Allow the configuration options EntryNodes, ExcludeNodes,
3844 ExcludeExitNodes, ExitNodes, MiddleNodes, HSLayer2Nodes and
3845 HSLayer3Nodes to be specified multiple times. Closes ticket 28361.
3846 Patch by Daniel Pinto.
3848 o Minor features (control port):
3849 - Add a DROPTIMEOUTS command to drop circuit build timeout history
3850 and reset the current timeout. Closes ticket 40002.
3851 - When a stream enters the AP_CONN_STATE_CONTROLLER_WAIT status,
3852 send a control port event. Closes ticket 32190. Patch by
3854 - Introduce GETINFO "stats/ntor/{assigned/requested}" and
3855 "stats/tap/{assigned/requested}" to get the NTor and TAP circuit
3856 onion handshake counts respectively. Closes ticket 28279. Patch by
3859 o Minor features (control port, IPv6):
3860 - Tor relays now try to report to the controller when they are
3861 launching an IPv6 self-test. Closes ticket 34068.
3862 - Introduce "GETINFO address/v4" and "GETINFO address/v6" in the
3863 control port to fetch the Tor host's respective IPv4 or IPv6
3864 address. We keep "GETINFO address" for backwards-compatibility.
3865 Closes ticket 40039. Patch by Neel Chauhan.
3867 o Minor features (directory authorities):
3868 - Authorities now list a different set of protocols as required and
3869 recommended. These lists have been chosen so that only truly
3870 recommended and/or required protocols are included, and so that
3871 clients using 0.2.9 or later will continue to work (even though
3872 they are not supported), whereas only relays running 0.3.5 or
3873 later will meet the requirements. Closes ticket 40162.
3874 - Add a new consensus method 30 that removes the unnecessary "="
3875 padding from ntor-onion-key. Closes ticket 7869. Patch by
3877 - Directory authorities now reject descriptors from relays running
3878 Tor versions from the obsolete 0.4.1 series. Resolves ticket
3879 34357. Patch by Neel Chauhan.
3880 - Make it possible to specify multiple ConsensusParams torrc lines.
3881 Now directory authority operators can for example put the main
3882 ConsensusParams config in one torrc file and then add to it from a
3883 different torrc file. Closes ticket 40164.
3884 - The AssumeReachable option no longer stops directory authorities
3885 from checking whether other relays are running. A new
3886 AuthDirTestReachability option can be used to disable these
3887 checks. Closes ticket 34445.
3888 - When looking for possible Sybil attacks, also consider IPv6
3889 addresses. Two routers are considered to have "the same" address
3890 by this metric if they are in the same /64 network. Patch from
3891 Maurice Pibouin. Closes ticket 7193.
3893 o Minor features (directory authorities, IPv6):
3894 - Make authorities add their IPv6 ORPort (if any) to the trusted
3895 servers list. Authorities previously added only their IPv4
3896 addresses. Closes ticket 32822.
3898 o Minor features (ed25519, relay):
3899 - Save a relay's base64-encoded ed25519 identity key to the data
3900 directory in a file named fingerprint-ed25519. Closes ticket
3901 30642. Patch by Neel Chauhan.
3903 o Minor features (heartbeat):
3904 - Include the total number of inbound and outbound IPv4 and IPv6
3905 connections in the heartbeat message. Closes ticket 29113.
3907 o Minor features (IPv6, ExcludeNodes):
3908 - Handle IPv6 addresses in ExcludeNodes; previously they were
3909 ignored. Closes ticket 34065. Patch by Neel Chauhan.
3911 o Minor features (logging):
3912 - Add the running glibc version to the log, and the compiled glibc
3913 version to the library list returned when using --library-versions.
3914 Patch from Daniel Pinto. Closes ticket 40047.
3915 - Consider an HTTP 301 response to be an error (like a 404) when
3916 processing a directory response. Closes ticket 40053.
3917 - Log directory fetch statistics as a single line. Closes
3919 - Provide more complete descriptions of our connections when logging
3920 about them. Closes ticket 40041.
3921 - When describing a relay in the logs, we now include its ed25519
3922 identity. Closes ticket 22668.
3924 o Minor features (onion services):
3925 - Only overwrite an onion service's existing hostname file if its
3926 contents are wrong. This enables read-only onion-service
3927 directories. Resolves ticket 40062. Patch by Neel Chauhan.
3929 o Minor features (pluggable transports):
3930 - Add an OutboundBindAddressPT option to allow users to specify
3931 which IPv4 and IPv6 address pluggable transports should use for
3932 outgoing IP packets. Tor does not have a way to enforce that the
3933 pluggable transport honors this option, so each pluggable transport
3934 needs to implement support on its own. Closes ticket 5304.
3936 o Minor features (relay address tracking):
3937 - We now store relay addresses for OR connections in a more logical
3938 way. Previously we would sometimes overwrite the actual address of
3939 a connection with a "canonical address", and then store the "real
3940 address" elsewhere to remember it. We now track the "canonical
3941 address" elsewhere for the cases where we need it, and leave the
3942 connection's address alone. Closes ticket 33898.
3944 o Minor features (relay):
3945 - If a relay is unable to discover its address, attempt to learn it
3946 from the NETINFO cell. Closes ticket 40022.
3947 - Log immediately when launching a relay self-check. Previously we
3948 would try to log before launching checks, or approximately when we
3949 intended to launch checks, but this tended to be error-prone.
3950 Closes ticket 34137.
3952 o Minor features (relay, address discovery):
3953 - If Address option is not found in torrc, attempt to learn our
3954 address with the configured ORPort address if any. Closes
3957 o Minor features (relay, IPv6):
3958 - Add an AssumeReachableIPv6 option to disable self-checking IPv6
3959 reachability. Closes part of ticket 33224.
3960 - Add new "assume-reachable" and "assume-reachable-ipv6" consensus
3961 parameters to be used in an emergency to tell relays that they
3962 should publish even if they cannot complete their ORPort self-
3963 checks. Closes ticket 34064 and part of 33224.
3964 - Allow relays to send IPv6-only extend cells. Closes ticket 33222.
3965 - Declare support for the Relay=3 subprotocol version. Closes
3967 - When launching IPv6 ORPort self-test circuits, make sure that the
3968 second-last hop can initiate an IPv6 extend. Closes ticket 33222.
3970 o Minor features (specification update):
3971 - Several fields in microdescriptors, router descriptors, and
3972 consensus documents that were formerly optional are now required.
3973 Implements proposal 315; closes ticket 40132.
3975 o Minor features (state management):
3976 - When loading the state file, remove entries from the statefile
3977 that have been obsolete for a long time. Ordinarily Tor preserves
3978 unrecognized entries in order to keep forward-compatibility, but
3979 these entries have not actually been used in any release since
3980 before 0.3.5.x. Closes ticket 40137.
3982 o Minor features (statistics, ipv6):
3983 - Relays now publish IPv6-specific counts of single-direction versus
3984 bidirectional relay connections. Closes ticket 33264.
3985 - Relays now publish their IPv6 read and write statistics over time,
3986 if statistics are enabled. Closes ticket 33263.
3988 o Minor features (subprotocol versions):
3989 - Tor no longer allows subprotocol versions larger than 63.
3990 Previously version numbers up to UINT32_MAX were allowed, which
3991 significantly complicated our code. Implements proposal 318;
3992 closes ticket 40133.
3993 - Use the new limitations on subprotocol versions due to proposal
3994 318 to simplify our implementation. Part of ticket 40133.
3996 o Minor features (testing configuration):
3997 - The TestingTorNetwork option no longer implicitly sets
3998 AssumeReachable to 1. This change allows us to test relays' self-
3999 testing mechanisms, and to test authorities' relay-testing
4000 functionality. Closes ticket 34446.
4002 o Minor features (testing):
4003 - Added unit tests for channel_matches_target_addr_for_extend().
4004 Closes Ticket 33919. Patch by MrSquanchee.
4006 o Minor features (tests, v2 onion services):
4007 - Fix a rendezvous cache unit test that was triggering an underflow
4008 on the global rend cache allocation. Fixes bug 40125; bugfix
4010 - Fix another rendezvous cache unit test that was triggering an
4011 underflow on the global rend cache allocation. Fixes bug 40126;
4012 bugfix on 0.2.8.1-alpha.
4014 o Minor bugfixes (circuit padding):
4015 - When circpad_send_padding_cell_for_callback is called,
4016 `is_padding_timer_scheduled` flag was not reset. Now it is set to
4017 0 at the top of that function. Fixes bug 32671; bugfix
4019 - Add a per-circuit padding machine instance counter, so we can
4020 differentiate between shutdown requests for old machines on a
4021 circuit. Fixes bug 30992; bugfix on 0.4.1.1-alpha.
4022 - Add the ability to keep circuit padding machines if they match a
4023 set of circuit states or purposes. This allows us to have machines
4024 that start up under some conditions but don't shut down under
4025 others. We now use this mask to avoid starting up introduction
4026 circuit padding again after the machines have already completed.
4027 Fixes bug 32040; bugfix on 0.4.1.1-alpha.
4029 o Minor bugfixes (compatibility):
4030 - Strip '\r' characters when reading text files on Unix platforms.
4031 This should resolve an issue where a relay operator migrates a
4032 relay from Windows to Unix, but does not change the line ending of
4033 Tor's various state files to match the platform, and the CRLF line
4034 endings from Windows end up leaking into other files such as the
4035 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
4037 o Minor bugfixes (compilation):
4038 - Fix compiler warnings that would occur when building with
4039 "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
4040 same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
4041 - Resolve a compilation warning that could occur in
4042 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
4044 o Minor bugfixes (configuration):
4045 - Fix bug where %including a pattern ending with */ would include
4046 files and folders (instead of folders only) in versions of glibc <
4047 2.19. Fixes bug 40141; bugfix on 0.4.5.0-alpha-dev. Patch by
4050 o Minor bugfixes (control port):
4051 - Make sure we send the SOCKS request address in relay begin cells
4052 when a stream is attached with the purpose
4053 CIRCUIT_PURPOSE_CONTROLLER. Fixes bug 33124; bugfix on 0.0.5.
4054 Patch by Neel Chauhan.
4056 o Minor bugfixes (logging):
4057 - Remove a debug logging statement that uselessly spammed the logs.
4058 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
4059 - When logging a rate-limited message about how many messages have
4060 been suppressed in the last N seconds, give an accurate value for
4061 N, rounded up to the nearest minute. Previously we would report
4062 the size of the rate-limiting interval, regardless of when the
4063 messages started to occur. Fixes bug 19431; bugfix
4066 o Minor bugfixes (relay configuration, crash):
4067 - Avoid a fatal assert() when failing to create a listener
4068 connection for an address that was in use. Fixes bug 40073; bugfix
4071 o Minor bugfixes (rust, protocol versions):
4072 - Declare support for the onion service introduction point denial of
4073 service extensions when building with Rust. Fixes bug 34248;
4074 bugfix on 0.4.2.1-alpha.
4075 - Make Rust protocol version support checks consistent with the
4076 undocumented error behavior of the corresponding C code. Fixes bug
4077 34251; bugfix on 0.3.3.5-rc.
4079 o Minor bugfixes (self-testing):
4080 - When receiving an incoming circuit, only accept it as evidence
4081 that we are reachable if the declared address of its channel is
4082 the same address we think that we have. Otherwise, it could be
4083 evidence that we're reachable on some other address. Fixes bug
4084 20165; bugfix on 0.1.0.1-rc.
4086 o Minor bugfixes (spec conformance):
4087 - Use the correct key type when generating signing->link
4088 certificates. Fixes bug 40124; bugfix on 0.2.7.2-alpha.
4090 o Minor bugfixes (subprotocol versions):
4091 - Consistently reject extra commas, instead of only rejecting
4092 leading commas. Fixes bug 27194; bugfix on 0.2.9.4-alpha.
4093 - In summarize_protover_flags(), treat empty strings the same as
4094 NULL. This prevents protocols_known from being set. Previously, we
4095 treated empty strings as normal strings, which led to
4096 protocols_known being set. Fixes bug 34232; bugfix on
4097 0.3.3.2-alpha. Patch by Neel Chauhan.
4099 o Minor bugfixes (v2 onion services):
4100 - For HSFETCH commands on v2 onion services addresses, check the
4101 length of bytes decoded, not the base32 length. Fixes bug 34400;
4102 bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
4104 o Code simplification and refactoring:
4105 - Add and use a set of functions to perform down-casts on constant
4106 connection and channel pointers. Closes ticket 40046.
4107 - Refactor our code that logs descriptions of connections, channels,
4108 and the peers on them, to use a single call path. This change
4109 enables us to refactor the data types that they use, and eliminates
4110 many confusing usages of those types. Closes ticket 40041.
4111 - Refactor some common node selection code into a single function.
4112 Closes ticket 34200.
4113 - Remove the now-redundant 'outbuf_flushlen' field from our
4114 connection type. It was previously used for an older version of
4115 our rate-limiting logic. Closes ticket 33097.
4116 - Rename "fascist_firewall_*" identifiers to "reachable_addr_*"
4117 instead, for consistency with other code. Closes ticket 18106.
4118 - Rename functions about "advertised" ports which are not in fact
4119 guaranteed to return the ports that have been advertised. Closes
4121 - Split implementation of several command line options from
4122 options_init_from_torrc into smaller isolated functions. Patch by
4123 Daniel Pinto. Closes ticket 40102.
4124 - When an extend cell is missing an IPv4 or IPv6 address, fill in
4125 the address from the extend info. This is similar to what was done
4126 in ticket 33633 for ed25519 keys. Closes ticket 33816. Patch by
4129 o Deprecated features:
4130 - The "non-builtin" argument to the "--dump-config" command is now
4131 deprecated. When it works, it behaves the same as "short", which
4132 you should use instead. Closes ticket 33398.
4135 - Replace URLs from our old bugtracker so that they refer to the new
4136 bugtracker and wiki. Closes ticket 40101.
4139 - We no longer ship or build a "tor.service" file for use with
4140 systemd. No distribution included this script unmodified, and we
4141 don't have the expertise ourselves to maintain this in a way that
4142 all the various systemd-based distributions can use. Closes
4144 - We no longer ship support for the Android logging API. Modern
4145 versions of Android can use the syslog API instead. Closes
4147 - The "optimistic data" feature is now always on; there is no longer
4148 an option to disable it from the torrc file or from the consensus
4149 directory. Closes part of 40139.
4150 - The "usecreatefast" network parameter is now removed; there is no
4151 longer an option for authorities to turn it off. Closes part
4155 - Add unit tests for bandwidth statistics manipulation functions.
4156 Closes ticket 33812. Patch by MrSquanchee.
4158 o Code simplification and refactoring (autoconf):
4159 - Remove autoconf checks for unused funcs and headers. Closes ticket
4160 31699; Patch by @bduszel
4162 o Code simplification and refactoring (maintainer scripts):
4163 - Disable by default the pre-commit hook. Use the environment
4164 variable TOR_EXTRA_PRE_COMMIT_CHECKS in order to run it.
4165 Furthermore, stop running practracker in the pre-commit hook and
4166 make check-local. Closes ticket 40019.
4168 o Code simplification and refactoring (relay address):
4169 - Most of IPv4 representation was using "uint32_t". It has now been
4170 moved to use the internal "tor_addr_t" interface instead. This is
4171 so we can properly integrate IPv6 along IPv4 with common
4172 interfaces. Closes ticket 40043.
4174 o Documentation (manual page):
4175 - Move them from doc/ to doc/man/. Closes ticket 40044.
4176 - Describe the status of the "Sandbox" option more accurately. It is
4177 no longer "experimental", but it _is_ dependent on kernel and libc
4178 versions. Closes ticket 23378.
4180 o Documentation (tracing):
4181 - Document in depth the circuit subsystem trace events in the new
4182 doc/tracing/EventsCircuit.md. Closes ticket 40036.
4185 Changes in version 0.4.4.5 - 2020-09-15
4186 Tor 0.4.4.5 is the first stable release in the 0.4.4.x series. This
4187 series improves our guard selection algorithms, adds v3 onion balance
4188 support, improves the amount of code that can be disabled when running
4189 without relay support, and includes numerous small bugfixes and
4190 enhancements. It also lays the ground for some IPv6 features that
4191 we'll be developing more in the next (0.4.5) series.
4193 Per our support policy, we support each stable release series for nine
4194 months after its first stable release, or three months after the first
4195 stable release of the next series: whichever is longer. This means
4196 that 0.4.4.x will be supported until around June 2021--or later, if
4197 0.4.5.x is later than anticipated.
4199 Note also that support for 0.4.2.x has just ended; support for 0.4.3
4200 will continue until Feb 15, 2021. We still plan to continue supporting
4201 0.3.5.x, our long-term stable series, until Feb 2022.
4203 Below are the changes since 0.4.4.4-rc. For a complete list of changes
4204 since 0.4.3.6, see the ReleaseNotes file.
4206 o Major bugfixes (onion services, DoS):
4207 - Correct handling of parameters for the onion service DoS defense.
4208 Previously, the consensus parameters for the onion service DoS
4209 defenses were overwriting the parameters set by the service
4210 operator using HiddenServiceEnableIntroDoSDefense. Fixes bug
4211 40109; bugfix on 0.4.2.1-alpha.
4213 o Major bugfixes (stats, onion services):
4214 - Fix a bug where we were undercounting the Tor network's total
4215 onion service traffic, by ignoring any traffic originating from
4216 clients. Now we count traffic from both clients and services.
4217 Fixes bug 40117; bugfix on 0.2.6.2-alpha.
4219 o Minor features (control port):
4220 - If a ClientName was specified in ONION_CLIENT_AUTH_ADD for an
4221 onion service, display it when we use ONION_CLIENT_AUTH_VIEW.
4222 Closes ticket 40089. Patch by Neel Chauhan.
4224 o Minor features (denial-of-service memory limiter):
4225 - Allow the user to configure even lower values for the
4226 MaxMemInQueues parameter. Relays now enforce a minimum of 64 MB,
4227 when previously the minimum was 256 MB. On clients, there is no
4228 minimum. Relays and clients will both warn if the value is set so
4229 low that Tor is likely to stop working. Closes ticket 24308.
4231 o Minor features (tests):
4232 - Our "make check" target now runs the unit tests in 8 parallel
4233 chunks. Doing this speeds up hardened CI builds by more than a
4234 factor of two. Closes ticket 40098.
4236 o Minor bugfixes (guard selection algorithm):
4237 - Avoid needless guard-related warning when upgrading from 0.4.3 to
4238 0.4.4. Fixes bug 40105; bugfix on 0.4.4.1-alpha.
4240 o Minor bugfixes (tests):
4241 - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
4242 on its own. Previously, it would exit with an error. Fixes bug
4243 40099; bugfix on 0.2.8.1-alpha.
4246 Changes in version 0.4.4.3-alpha - 2020-07-27
4247 Tor 0.4.4.3-alpha fixes several annoyances in previous versions,
4248 including one affecting NSS users, and several affecting the Linux
4251 o Major features (fallback directory list):
4252 - Replace the 148 fallback directories originally included in Tor
4253 0.4.1.4-rc (of which around 105 are still functional) with a list
4254 of 144 fallbacks generated in July 2020. Closes ticket 40061.
4256 o Major bugfixes (NSS):
4257 - When running with NSS enabled, make sure that NSS knows to expect
4258 nonblocking sockets. Previously, we set our TCP sockets as
4259 nonblocking, but did not tell NSS, which in turn could lead to
4260 unexpected blocking behavior. Fixes bug 40035; bugfix
4263 o Minor bugfixes (linux seccomp2 sandbox):
4264 - Fix a regression on sandboxing rules for the openat() syscall. The
4265 fix for bug 25440 fixed the problem on systems with glibc >= 2.27
4266 but broke with versions of glibc. We now choose a rule based on
4267 the glibc version. Patch from Daniel Pinto. Fixes bug 27315;
4269 - Makes the seccomp sandbox allow the correct syscall for opendir
4270 according to the running glibc version. This fixes crashes when
4271 reloading torrc with sandbox enabled when running on glibc 2.15 to
4272 2.21 and 2.26. Patch from Daniel Pinto. Fixes bug 40020; bugfix
4275 o Minor bugfixes (relay, usability):
4276 - Adjust the rules for when to warn about having too many
4277 connections to other relays. Previously we'd tolerate up to 1.5
4278 connections per relay on average. Now we tolerate more connections
4279 for directory authorities, and raise the number of total
4280 connections we need to see before we warn. Fixes bug 33880; bugfix
4284 - Replace most http:// URLs in our code and documentation with
4285 https:// URLs. (We have left unchanged the code in src/ext/, and
4286 the text in LICENSE.) Closes ticket 31812. Patch from Jeremy Rand.
4289 - Our "check-local" test target no longer tries to use the
4290 Coccinelle semantic patching tool parse all the C files. While it
4291 is a good idea to try to make sure Coccinelle works on our C
4292 before we run a Coccinelle patch, doing so on every test run has
4293 proven to be disruptive. You can still run this tool manually with
4294 "make check-cocci". Closes ticket 40030.
4297 Changes in version 0.3.5.11 - 2020-07-09
4298 Tor 0.3.5.11 backports fixes from later tor releases, including several
4299 usability, portability, and reliability fixes.
4301 This release also fixes TROVE-2020-001, a medium-severity denial of
4302 service vulnerability affecting all versions of Tor when compiled with
4303 the NSS encryption library. (This is not the default configuration.)
4304 Using this vulnerability, an attacker could cause an affected Tor
4305 instance to crash remotely. This issue is also tracked as CVE-2020-
4306 15572. Anybody running a version of Tor built with the NSS library
4307 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4310 o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
4311 - Fix a crash due to an out-of-bound memory access when Tor is
4312 compiled with NSS support. Fixes bug 33119; bugfix on
4313 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4316 o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
4317 - Fix a bug that was preventing DoS defenses from running on bridges
4318 with a pluggable transport. Previously, the DoS subsystem was not
4319 given the transport name of the client connection, thus failed to
4320 find the GeoIP cache entry for that client address. Fixes bug
4321 33491; bugfix on 0.3.3.2-alpha.
4323 o Minor features (testing, backport from 0.4.3.4-rc):
4324 - The unit tests now support a "TOR_SKIP_TESTCASES" environment
4325 variable to specify a list of space-separated test cases that
4326 should not be executed. We will use this to disable certain tests
4327 that are failing on Appveyor because of mismatched OpenSSL
4328 libraries. Part of ticket 33643.
4330 o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
4331 - Use the correct 64-bit printf format when compiling with MINGW on
4332 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4334 o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
4335 - Warn if the ContactInfo field is not set, and tell the relay
4336 operator that not having a ContactInfo field set might cause their
4337 relay to get rejected in the future. Fixes bug 33361; bugfix
4340 o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
4341 - Resume use of preemptively-built circuits when UseEntryGuards is set
4342 to 0. We accidentally disabled this feature with that config
4343 setting, leading to slower load times. Fixes bug 34303; bugfix
4346 o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
4347 - Avoid compiler warnings from Clang 10 related to the use of GCC-
4348 style "/* falls through */" comments. Both Clang and GCC allow
4349 __attribute__((fallthrough)) instead, so that's what we're using
4350 now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
4352 o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
4353 - Fix a compiler warning on platforms with 32-bit time_t values.
4354 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4356 o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
4357 - When starting Tor any time after the first time in a process,
4358 register the thread in which it is running as the main thread.
4359 Previously, we only did this on Windows, which could lead to bugs
4360 like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
4363 o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
4364 - When reading PEM-encoded key data, tolerate CRLF line-endings even
4365 if we are not running on Windows. Previously, non-Windows hosts
4366 would reject these line-endings in certain positions, making
4367 certain key files hard to move from one host to another. Fixes bug
4368 33032; bugfix on 0.3.5.1-alpha.
4370 o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
4371 - Downgrade a noisy log message that could occur naturally when
4372 receiving an extrainfo document that we no longer want. Fixes bug
4373 16016; bugfix on 0.2.6.3-alpha.
4375 o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
4376 - Remove a BUG() warning that would cause a stack trace if an onion
4377 service descriptor was freed while we were waiting for a
4378 rendezvous circuit to complete. Fixes bug 28992; bugfix
4381 o Testing (CI, backport from 0.4.3.4-rc):
4382 - In our Appveyor Windows CI, copy required DLLs to test and app
4383 directories, before running tor's tests. This ensures that tor.exe
4384 and test*.exe use the correct version of each DLL. This fix is not
4385 required, but we hope it will avoid DLL search issues in future.
4386 Fixes bug 33673; bugfix on 0.3.4.2-alpha.
4387 - On Appveyor, skip the crypto/openssl_version test, which is
4388 failing because of a mismatched library installation. Fix
4392 Changes in version 0.4.2.8 - 2020-07-09
4393 Tor 0.4.2.8 backports various fixes from later releases, including
4394 several that affect usability and portability.
4396 This release also fixes TROVE-2020-001, a medium-severity denial of
4397 service vulnerability affecting all versions of Tor when compiled with
4398 the NSS encryption library. (This is not the default configuration.)
4399 Using this vulnerability, an attacker could cause an affected Tor
4400 instance to crash remotely. This issue is also tracked as CVE-2020-
4401 15572. Anybody running a version of Tor built with the NSS library
4402 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4405 o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
4406 - Fix a crash due to an out-of-bound memory access when Tor is
4407 compiled with NSS support. Fixes bug 33119; bugfix on
4408 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4411 o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
4412 - Fix a bug that was preventing DoS defenses from running on bridges
4413 with a pluggable transport. Previously, the DoS subsystem was not
4414 given the transport name of the client connection, thus failed to
4415 find the GeoIP cache entry for that client address. Fixes bug
4416 33491; bugfix on 0.3.3.2-alpha.
4418 o Minor feature (sendme, flow control, backport form 0.4.3.4-rc):
4419 - Default to sending SENDME version 1 cells. (Clients are already
4420 sending these, because of a consensus parameter telling them to do
4421 so: this change only affects what clients would do if the
4422 consensus didn't contain a recommendation.) Closes ticket 33623.
4424 o Minor features (diagnostic, backport from 0.4.3.3-alpha):
4425 - Improve assertions and add some memory-poisoning code to try to
4426 track down possible causes of a rare crash (32564) in the EWMA
4427 code. Closes ticket 33290.
4429 o Minor features (testing, backport from 0.4.3.4-rc):
4430 - The unit tests now support a "TOR_SKIP_TESTCASES" environment
4431 variable to specify a list of space-separated test cases that
4432 should not be executed. We will use this to disable certain tests
4433 that are failing on Appveyor because of mismatched OpenSSL
4434 libraries. Part of ticket 33643.
4436 o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
4437 - Use the correct 64-bit printf format when compiling with MINGW on
4438 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4440 o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
4441 - Warn if the ContactInfo field is not set, and tell the relay
4442 operator that not having a ContactInfo field set might cause their
4443 relay to get rejected in the future. Fixes bug 33361; bugfix
4446 o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
4447 - Resume use of preemptively-built circuits when UseEntryGuards is set
4448 to 0. We accidentally disabled this feature with that config
4449 setting, leading to slower load times. Fixes bug 34303; bugfix
4452 o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
4453 - Avoid compiler warnings from Clang 10 related to the use of GCC-
4454 style "/* falls through */" comments. Both Clang and GCC allow
4455 __attribute__((fallthrough)) instead, so that's what we're using
4456 now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
4457 - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
4460 o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
4461 - Fix a compiler warning on platforms with 32-bit time_t values.
4462 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4464 o Minor bugfixes (controller protocol, backport from 0.4.3.2-alpha):
4465 - When receiving "ACTIVE" or "DORMANT" signals on the control port,
4466 report them as SIGNAL events. Previously we would log a bug
4467 warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
4469 o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
4470 - When starting Tor any time after the first time in a process,
4471 register the thread in which it is running as the main thread.
4472 Previously, we only did this on Windows, which could lead to bugs
4473 like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
4476 o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
4477 - When reading PEM-encoded key data, tolerate CRLF line-endings even
4478 if we are not running on Windows. Previously, non-Windows hosts
4479 would reject these line-endings in certain positions, making
4480 certain key files hard to move from one host to another. Fixes bug
4481 33032; bugfix on 0.3.5.1-alpha.
4483 o Minor bugfixes (logging, backport from 0.4.3.2-rc):
4484 - When logging a bug, do not say "Future instances of this warning
4485 will be silenced" unless we are actually going to silence them.
4486 Previously we would say this whenever a BUG() check failed in the
4487 code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
4489 o Minor bugfixes (logging, backport from 0.4.3.4-rc):
4490 - Flush stderr, stdout, and file logs during shutdown, if supported
4491 by the OS. This change helps make sure that any final logs are
4492 recorded. Fixes bug 33087; bugfix on 0.4.1.6.
4494 o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
4495 - Downgrade a noisy log message that could occur naturally when
4496 receiving an extrainfo document that we no longer want. Fixes bug
4497 16016; bugfix on 0.2.6.3-alpha.
4499 o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
4500 - Remove a BUG() warning that would cause a stack trace if an onion
4501 service descriptor was freed while we were waiting for a
4502 rendezvous circuit to complete. Fixes bug 28992; bugfix
4505 o Testing (CI, backport from 0.4.3.4-rc):
4506 - In our Appveyor Windows CI, copy required DLLs to test and app
4507 directories, before running tor's tests. This ensures that tor.exe
4508 and test*.exe use the correct version of each DLL. This fix is not
4509 required, but we hope it will avoid DLL search issues in future.
4510 Fixes bug 33673; bugfix on 0.3.4.2-alpha.
4511 - On Appveyor, skip the crypto/openssl_version test, which is
4512 failing because of a mismatched library installation. Fix
4516 Changes in version 0.4.3.6 - 2020-07-09
4517 Tor 0.4.3.6 backports several bugfixes from later releases, including
4518 some affecting usability.
4520 This release also fixes TROVE-2020-001, a medium-severity denial of
4521 service vulnerability affecting all versions of Tor when compiled with
4522 the NSS encryption library. (This is not the default configuration.)
4523 Using this vulnerability, an attacker could cause an affected Tor
4524 instance to crash remotely. This issue is also tracked as CVE-2020-
4525 15572. Anybody running a version of Tor built with the NSS library
4526 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4529 o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
4530 - Fix a crash due to an out-of-bound memory access when Tor is
4531 compiled with NSS support. Fixes bug 33119; bugfix on
4532 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4535 o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
4536 - Use the correct 64-bit printf format when compiling with MINGW on
4537 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4539 o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
4540 - Resume use of preemptively-built circuits when UseEntryGuards is set
4541 to 0. We accidentally disabled this feature with that config
4542 setting, leading to slower load times. Fixes bug 34303; bugfix
4545 o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
4546 - Fix a compiler warning on platforms with 32-bit time_t values.
4547 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4549 o Minor bugfixes (linux seccomp sandbox, nss, backport from 0.4.4.1-alpha):
4550 - Fix a startup crash when tor is compiled with --enable-nss and
4551 sandbox support is enabled. Fixes bug 34130; bugfix on
4552 0.3.5.1-alpha. Patch by Daniel Pinto.
4554 o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
4555 - Downgrade a noisy log message that could occur naturally when
4556 receiving an extrainfo document that we no longer want. Fixes bug
4557 16016; bugfix on 0.2.6.3-alpha.
4559 o Minor bugfixes (manual page, backport from 0.4.4.1-alpha):
4560 - Update the man page to reflect that MinUptimeHidServDirectoryV2
4561 defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
4563 o Minor bugfixes (onion service v3, backport from 0.4.4.1-alpha):
4564 - Prevent an assert() that would occur when cleaning the client
4565 descriptor cache, and attempting to close circuits for a non-
4566 decrypted descriptor (lacking client authorization). Fixes bug
4567 33458; bugfix on 0.4.2.1-alpha.
4569 o Minor bugfixes (portability, backport from 0.4.4.1-alpha):
4570 - Fix a portability error in the configure script, where we were
4571 using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
4573 o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
4574 - Stop advertising incorrect IPv6 ORPorts in relay and bridge
4575 descriptors, when the IPv6 port was configured as "auto". Fixes
4576 bug 32588; bugfix on 0.2.3.9-alpha.
4578 o Documentation (backport from 0.4.4.1-alpha):
4579 - Fix several doxygen warnings related to imbalanced groups. Closes
4583 Changes in version 0.4.4.2-alpha - 2020-07-09
4584 This is the second alpha release in the 0.4.4.x series. It fixes a few
4585 bugs in the previous release, and solves a few usability,
4586 compatibility, and portability issues.
4588 This release also fixes TROVE-2020-001, a medium-severity denial of
4589 service vulnerability affecting all versions of Tor when compiled with
4590 the NSS encryption library. (This is not the default configuration.)
4591 Using this vulnerability, an attacker could cause an affected Tor
4592 instance to crash remotely. This issue is also tracked as CVE-2020-
4593 15572. Anybody running a version of Tor built with the NSS library
4594 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4597 o Major bugfixes (NSS, security):
4598 - Fix a crash due to an out-of-bound memory access when Tor is
4599 compiled with NSS support. Fixes bug 33119; bugfix on
4600 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4603 o Minor features (bootstrap reporting):
4604 - Report more detailed reasons for bootstrap failure when the
4605 failure happens due to a TLS error. Previously we would just call
4606 these errors "MISC" when they happened during read, and "DONE"
4607 when they happened during any other TLS operation. Closes
4610 o Minor features (directory authority):
4611 - Authorities now recommend the protocol versions that are supported
4612 by Tor 0.3.5 and later. (Earlier versions of Tor have been
4613 deprecated since January of this year.) This recommendation will
4614 cause older clients and relays to give a warning on startup, or
4615 when they download a consensus directory. Closes ticket 32696.
4617 o Minor features (entry guards):
4618 - Reinstate support for GUARD NEW/UP/DOWN control port events.
4619 Closes ticket 40001.
4621 o Minor features (linux seccomp2 sandbox, portability):
4622 - Allow Tor to build on platforms where it doesn't know how to
4623 report which syscall caused the linux seccomp2 sandbox to fail.
4624 This change should make the sandbox code more portable to less
4625 common Linux architectures. Closes ticket 34382.
4626 - Permit the unlinkat() syscall, which some Libc implementations use
4627 to implement unlink(). Closes ticket 33346.
4629 o Minor bugfix (CI, Windows):
4630 - Use the correct 64-bit printf format when compiling with MINGW on
4631 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4633 o Minor bugfix (onion service v3 client):
4634 - Remove a BUG() warning that could occur naturally. Fixes bug
4635 34087; bugfix on 0.3.2.1-alpha.
4637 o Minor bugfix (SOCKS, onion service client):
4638 - Detect v3 onion service addresses of the wrong length when
4639 returning the F6 ExtendedErrors code. Fixes bug 33873; bugfix
4642 o Minor bugfixes (compiler warnings):
4643 - Fix a compiler warning on platforms with 32-bit time_t values.
4644 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4646 o Minor bugfixes (control port, onion service):
4647 - Consistently use 'address' in "Invalid v3 address" response to
4648 ONION_CLIENT_AUTH commands. Previously, we would sometimes say
4649 'addr'. Fixes bug 40005; bugfix on 0.4.3.1-alpha.
4651 o Minor bugfixes (logging):
4652 - Downgrade a noisy log message that could occur naturally when
4653 receiving an extrainfo document that we no longer want. Fixes bug
4654 16016; bugfix on 0.2.6.3-alpha.
4656 o Minor bugfixes (onion services v3):
4657 - Avoid a non-fatal assertion failure in certain edge-cases when
4658 opening an intro circuit as a client. Fixes bug 34084; bugfix
4661 o Deprecated features (onion service v2):
4662 - Add a deprecation warning for version 2 onion services. Closes
4665 o Removed features (IPv6, revert):
4666 - Revert the change in the default value of ClientPreferIPv6OrPort:
4667 it breaks the torsocks use case. The SOCKS resolve command has no
4668 mechanism to ask for a specific address family (v4 or v6), and so
4669 prioritizing IPv6 when an IPv4 address is requested on the SOCKS
4670 interface resulted in a failure. Tor Browser explicitly sets
4671 PreferIPv6, so this should not affect the majority of our users.
4672 Closes ticket 33796; bugfix on 0.4.4.1-alpha.
4675 Changes in version 0.4.4.1-alpha - 2020-06-16
4676 This is the first alpha release in the 0.4.4.x series. It improves
4677 our guard selection algorithms, improves the amount of code that
4678 can be disabled when running without relay support, and includes numerous
4679 small bugfixes and enhancements. It also lays the ground for some IPv6
4680 features that we'll be developing more in the next (0.4.5) series.
4682 Here are the changes since 0.4.3.5.
4684 o Major features (Proposal 310, performance + security):
4685 - Implements Proposal 310, "Bandaid on guard selection". Proposal
4686 310 solves load-balancing issues with older versions of the guard
4687 selection algorithm, and improves its security. Under this new
4688 algorithm, a newly selected guard never becomes Primary unless all
4689 previously sampled guards are unreachable. Implements
4690 recommendation from 32088. (Proposal 310 is linked to the CLAPS
4691 project researching optimal client location-aware path selections.
4692 This project is a collaboration between the UCLouvain Crypto Group,
4693 the U.S. Naval Research Laboratory, and Princeton University.)
4695 o Major features (IPv6, relay):
4696 - Consider IPv6-only EXTEND2 cells valid on relays. Log a protocol
4697 warning if the IPv4 or IPv6 address is an internal address, and
4698 internal addresses are not allowed. But continue to use the other
4699 address, if it is valid. Closes ticket 33817.
4700 - If a relay can extend over IPv4 and IPv6, and both addresses are
4701 provided, it chooses between them uniformly at random. Closes
4703 - Re-use existing IPv6 connections for circuit extends. Closes
4705 - Relays may extend circuits over IPv6, if the relay has an IPv6
4706 ORPort, and the client supplies the other relay's IPv6 ORPort in
4707 the EXTEND2 cell. IPv6 extends will be used by the relay IPv6
4708 ORPort self-tests in 33222. Closes ticket 33817.
4710 o Major features (v3 onion services):
4711 - Allow v3 onion services to act as OnionBalance backend instances,
4712 by using the HiddenServiceOnionBalanceInstance torrc option.
4713 Closes ticket 32709.
4715 o Minor feature (developer tools):
4716 - Add a script to help check the alphabetical ordering of option
4717 names in the manual page. Closes ticket 33339.
4719 o Minor feature (onion service client, SOCKS5):
4720 - Add 3 new SocksPort ExtendedErrors (F2, F3, F7) that reports back
4721 new type of onion service connection failures. The semantics of
4722 these error codes are documented in proposal 309. Closes
4725 o Minor feature (onion service v3):
4726 - If a service cannot upload its descriptor(s), log why at INFO
4727 level. Closes ticket 33400; bugfix on 0.3.2.1-alpha.
4729 o Minor feature (python scripts):
4730 - Stop assuming that /usr/bin/python exists. Instead of using a
4731 hardcoded path in scripts that still use Python 2, use
4732 /usr/bin/env, similarly to the scripts that use Python 3. Fixes
4733 bug 33192; bugfix on 0.4.2.
4735 o Minor features (client-only compilation):
4736 - Disable more code related to the ext_orport protocol when
4737 compiling without support for relay mode. Closes ticket 33368.
4738 - Disable more of our self-testing code when support for relay mode
4739 is disabled. Closes ticket 33370.
4741 o Minor features (code safety):
4742 - Check for failures of tor_inet_ntop() and tor_inet_ntoa()
4743 functions in DNS and IP address processing code, and adjust
4744 codepaths to make them less likely to crash entire Tor instances.
4745 Resolves issue 33788.
4747 o Minor features (compilation size):
4748 - Most server-side DNS code is now disabled when building without
4749 support for relay mode. Closes ticket 33366.
4751 o Minor features (continuous integration):
4752 - Run unit-test and integration test (Stem, Chutney) jobs with
4753 ALL_BUGS_ARE_FATAL macro being enabled on Travis and Appveyor.
4754 Resolves ticket 32143.
4756 o Minor features (control port):
4757 - Return a descriptive error message from the 'GETINFO status/fresh-
4758 relay-descs' command on the control port. Previously, we returned
4759 a generic error of "Error generating descriptor". Closes ticket
4760 32873. Patch by Neel Chauhan.
4762 o Minor features (developer tooling):
4763 - Refrain from listing all .a files that are generated by the Tor
4764 build in .gitignore. Add a single wildcard *.a entry that covers
4765 all of them for present and future. Closes ticket 33642.
4766 - Add a script ("git-install-tools.sh") to install git hooks and
4767 helper scripts. Closes ticket 33451.
4769 o Minor features (directory authority, shared random):
4770 - Refactor more authority-only parts of the shared-random scheduling
4771 code to reside in the dirauth module, and to be disabled when
4772 compiling with --disable-module-dirauth. Closes ticket 33436.
4774 o Minor features (directory):
4775 - Remember the number of bytes we have downloaded for each directory
4776 purpose while bootstrapping, and while fully bootstrapped. Log
4777 this information as part of the heartbeat message. Closes
4780 o Minor features (IPv6 support):
4781 - Adds IPv6 support to tor_addr_is_valid(). Adds tests for the above
4782 changes and tor_addr_is_null(). Closes ticket 33679. Patch
4784 - Allow clients and relays to send dual-stack and IPv6-only EXTEND2
4785 cells. Parse dual-stack and IPv6-only EXTEND2 cells on relays.
4786 Closes ticket 33901.
4788 o Minor features (logging):
4789 - When trying to find our own address, add debug-level logging to
4790 report the sources of candidate addresses. Closes ticket 32888.
4792 o Minor features (testing, architecture):
4793 - Our test scripts now double-check that subsystem initialization
4794 order is consistent with the inter-module dependencies established
4795 by our .may_include files. Implements ticket 31634.
4796 - Initialize all subsystems at the beginning of our unit test
4797 harness, to avoid crashes due to uninitialized subsystems. Follow-
4798 up from ticket 33316.
4800 o Minor features (v3 onion services):
4801 - Add v3 onion service status to the dumpstats() call which is
4802 triggered by a SIGUSR1 signal. Previously, we only did v2 onion
4803 services. Closes ticket 24844. Patch by Neel Chauhan.
4805 o Minor features (windows):
4806 - Add support for console control signals like Ctrl+C in Windows.
4807 Closes ticket 34211. Patch from Damon Harris (TheDcoder).
4809 o Minor bugfix (onion service v3):
4810 - Prevent an assert() that would occur when cleaning the client
4811 descriptor cache, and attempting to close circuits for a non-
4812 decrypted descriptor (lacking client authorization). Fixes bug
4813 33458; bugfix on 0.4.2.1-alpha.
4815 o Minor bugfix (refactoring):
4816 - Lift circuit_build_times_disabled() out of the
4817 circuit_expire_building() loop, to save CPU time when there are
4818 many circuits open. Fixes bug 33977; bugfix on 0.3.5.9.
4820 o Minor bugfixes (client performance):
4821 - Resume use of preemptively-built circuits when UseEntryGuards is set
4822 to 0. We accidentally disabled this feature with that config
4823 setting, leading to slower load times. Fixes bug 34303; bugfix
4826 o Minor bugfixes (directory authorities):
4827 - Directory authorities now reject votes that arrive too late. In
4828 particular, once an authority has started fetching missing votes,
4829 it no longer accepts new votes posted by other authorities. This
4830 change helps prevent a consensus split, where only some authorities
4831 have the late vote. Fixes bug 4631; bugfix on 0.2.0.5-alpha.
4833 o Minor bugfixes (git scripts):
4834 - Stop executing the checked-out pre-commit hook from the pre-push
4835 hook. Instead, execute the copy in the user's git directory. Fixes
4836 bug 33284; bugfix on 0.4.1.1-alpha.
4838 o Minor bugfixes (initialization):
4839 - Initialize the subsystems in our code in an order more closely
4840 corresponding to their dependencies, so that every system is
4841 initialized before the ones that (theoretically) depend on it.
4842 Fixes bug 33316; bugfix on 0.4.0.1-alpha.
4844 o Minor bugfixes (IPv4, relay):
4845 - Check for invalid zero IPv4 addresses and ports when sending and
4846 receiving extend cells. Fixes bug 33900; bugfix on 0.2.4.8-alpha.
4848 o Minor bugfixes (IPv6, relay):
4849 - Consider IPv6 addresses when checking if a connection is
4850 canonical. In 17604, relays assumed that a remote relay could
4851 consider an IPv6 connection canonical, but did not set the
4852 canonical flag on their side of the connection. Fixes bug 33899;
4853 bugfix on 0.3.1.1-alpha.
4854 - Log IPv6 addresses on connections where this relay is the
4855 responder. Previously, responding relays would replace the remote
4856 IPv6 address with the IPv4 address from the consensus. Fixes bug
4857 33899; bugfix on 0.3.1.1-alpha.
4859 o Minor bugfixes (linux seccomp sandbox nss):
4860 - Fix a startup crash when tor is compiled with --enable-nss and
4861 sandbox support is enabled. Fixes bug 34130; bugfix on
4862 0.3.5.1-alpha. Patch by Daniel Pinto.
4864 o Minor bugfixes (logging, testing):
4865 - Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL
4866 and DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes. (IF_BUG_ONCE()
4867 used to log a non-fatal warning, regardless of the debugging
4868 mode.) Fixes bug 33917; bugfix on 0.2.9.1-alpha.
4870 o Minor bugfixes (logs):
4871 - Remove surprising empty line in the INFO-level log about circuit
4872 build timeout. Fixes bug 33531; bugfix on 0.3.3.1-alpha.
4874 o Minor bugfixes (mainloop):
4875 - Better guard against growing a buffer past its maximum 2GB in
4876 size. Fixes bug 33131; bugfix on 0.3.0.4-rc.
4878 o Minor bugfixes (manual page):
4879 - Update the man page to reflect that MinUptimeHidServDirectoryV2
4880 defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
4882 o Minor bugfixes (onion service v3, client):
4883 - Remove a BUG() that was causing a stacktrace when a descriptor
4884 changed at an unexpected time. Fixes bug 28992; bugfix
4887 o Minor bugfixes (onion service, logging):
4888 - Fix a typo in a log message PublishHidServDescriptors is set to 0.
4889 Fixes bug 33779; bugfix on 0.3.2.1-alpha.
4891 o Minor bugfixes (portability):
4892 - Fix a portability error in the configure script, where we were
4893 using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
4895 o Minor bugfixes (protocol versions):
4896 - Sort tor's supported protocol version lists, as recommended by the
4897 tor directory specification. Fixes bug 33285; bugfix
4900 o Minor bugfixes (relays):
4901 - Stop advertising incorrect IPv6 ORPorts in relay and bridge
4902 descriptors, when the IPv6 port was configured as "auto". Fixes
4903 bug 32588; bugfix on 0.2.3.9-alpha.
4905 o Code simplification and refactoring:
4906 - Define and use a new constant TOR_ADDRPORT_BUF_LEN which is like
4907 TOR_ADDR_BUF_LEN but includes enough space for an IP address,
4908 brackets, separating colon, and port number. Closes ticket 33956.
4909 Patch by Neel Chauhan.
4910 - Merge the orconn and ocirc events into the "core" subsystem, which
4911 manages or connections and origin circuits. Previously they were
4912 isolated in subsystems of their own.
4913 - Move LOG_PROTOCOL_WARN to app/config. Resolves a dependency
4914 inversion. Closes ticket 33633.
4915 - Move the circuit extend code to the relay module. Split the
4916 circuit extend function into smaller functions. Closes
4918 - Rewrite port_parse_config() to use the default port flags from
4919 port_cfg_new(). Closes ticket 32994. Patch by MrSquanchee.
4920 - Updated comments in 'scheduler.c' to reflect old code changes, and
4921 simplified the scheduler channel state change code. Closes
4925 - Document the limitations of using %include on config files with
4926 seccomp sandbox enabled. Fixes documentation bug 34133; bugfix on
4927 0.3.1.1-alpha. Patch by Daniel Pinto.
4928 - Fix several doxygen warnings related to imbalanced groups. Closes
4932 - Remove the ClientAutoIPv6ORPort option. This option attempted to
4933 randomly choose between IPv4 and IPv6 for client connections, and
4934 wasn't a true implementation of Happy Eyeballs. Often, this option
4935 failed on IPv4-only or IPv6-only connections. Closes ticket 32905.
4936 Patch by Neel Chauhan.
4937 - Stop shipping contrib/dist/rc.subr file, as it is not being used
4938 on FreeBSD anymore. Closes issue 31576.
4941 - Add a basic IPv6 test to "make test-network". This test only runs
4942 when the local machine has an IPv6 stack. Closes ticket 33300.
4943 - Add test-network-ipv4 and test-network-ipv6 jobs to the Makefile.
4944 These jobs run the IPv4-only and dual-stack chutney flavours from
4945 test-network-all. Closes ticket 33280.
4946 - Remove a redundant distcheck job. Closes ticket 33194.
4947 - Run the test-network-ipv6 Makefile target in the Travis CI IPv6
4948 chutney job. This job runs on macOS, so it's a bit slow. Closes
4950 - Sort the Travis jobs in order of speed. Putting the slowest jobs
4951 first takes full advantage of Travis job concurrency. Closes
4953 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
4954 previously configured to fast_finish (which requires
4955 allow_failure), to speed up the build. Closes ticket 33195.
4956 - Test v3 onion services to tor's mixed IPv4 chutney network. And
4957 add a mixed IPv6 chutney network. These networks are used in the
4958 test-network-all, test-network-ipv4, and test-network-ipv6 make
4959 targets. Closes ticket 33334.
4960 - Use the "bridges+hs-v23" chutney network flavour in "make test-
4961 network". This test requires a recent version of chutney (mid-
4962 February 2020). Closes ticket 28208.
4963 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
4964 tool to produce detailed diagnostic output. Closes ticket 32792.
4966 o Code simplification and refactoring (onion service):
4967 - Refactor configuration parsing to use the new config subsystem
4968 code. Closes ticket 33014.
4970 o Code simplification and refactoring (relay address):
4971 - Move a series of functions related to address resolving into their
4972 own files. Closes ticket 33789.
4974 o Documentation (manual page):
4975 - Add cross reference links and a table of contents to the HTML tor
4976 manual page. Closes ticket 33369. Work by Swati Thacker as part of
4977 Google Season of Docs.
4978 - Alphabetize the Denial of Service Mitigation Options, Directory
4979 Authority Server Options, Hidden Service Options, and Testing
4980 Network Options sections of the tor(1) manual page. Closes ticket
4981 33275. Work by Swati Thacker as part of Google Season of Docs.
4982 - Refrain from mentioning nicknames in manpage section for MyFamily
4983 torrc option. Resolves issue 33417.
4984 - Updated the options set by TestingTorNetwork in the manual page.
4985 Closes ticket 33778.
4988 Changes in version 0.4.3.5 - 2020-05-15
4989 Tor 0.4.3.5 is the first stable release in the 0.4.3.x series. This
4990 series adds support for building without relay code enabled, and
4991 implements functionality needed for OnionBalance with v3 onion
4992 services. It includes significant refactoring of our configuration and
4993 controller functionality, and fixes numerous smaller bugs and
4996 Per our support policy, we support each stable release series for nine
4997 months after its first stable release, or three months after the first
4998 stable release of the next series: whichever is longer. This means
4999 that 0.4.3.x will be supported until around February 2021--later, if
5000 0.4.4.x is later than anticipated.
5002 Note also that support for 0.4.1.x is about to end on May 20 of this
5003 year; 0.4.2.x will be supported until September 15. We still plan to
5004 continue supporting 0.3.5.x, our long-term stable series, until
5007 Below are the changes since 0.4.3.4-rc. For a complete list of changes
5008 since 0.4.2.6, see the ReleaseNotes file.
5010 o Minor bugfixes (compiler compatibility):
5011 - Avoid compiler warnings from Clang 10 related to the use of GCC-
5012 style "/* falls through */" comments. Both Clang and GCC allow
5013 __attribute__((fallthrough)) instead, so that's what we're using
5014 now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
5015 - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
5018 o Minor bugfixes (logging):
5019 - Stop truncating IPv6 addresses and ports in channel and connection
5020 logs. Fixes bug 33918; bugfix on 0.2.4.4-alpha.
5021 - Fix a logic error in a log message about whether an address was
5022 invalid. Previously, the code would never report that onion
5023 addresses were onion addresses. Fixes bug 34131; bugfix
5027 Changes in version 0.4.3.4-rc - 2020-04-13
5028 Tor 0.4.3.4-rc is the first release candidate in its series. It fixes
5029 several bugs from earlier versions, including one affecting DoS
5030 defenses on bridges using pluggable transports.
5032 o Major bugfixes (DoS defenses, bridges, pluggable transport):
5033 - Fix a bug that was preventing DoS defenses from running on bridges
5034 with a pluggable transport. Previously, the DoS subsystem was not
5035 given the transport name of the client connection, thus failed to
5036 find the GeoIP cache entry for that client address. Fixes bug
5037 33491; bugfix on 0.3.3.2-alpha.
5039 o Minor feature (sendme, flow control):
5040 - Default to sending SENDME version 1 cells. (Clients are already
5041 sending these, because of a consensus parameter telling them to do
5042 so: this change only affects what clients would do if the
5043 consensus didn't contain a recommendation.) Closes ticket 33623.
5045 o Minor features (testing):
5046 - The unit tests now support a "TOR_SKIP_TESTCASES" environment
5047 variable to specify a list of space-separated test cases that
5048 should not be executed. We will use this to disable certain tests
5049 that are failing on Appveyor because of mismatched OpenSSL
5050 libraries. Part of ticket 33643.
5052 o Minor bugfixes (--disable-module-relay):
5053 - Fix an assertion failure when Tor is built without the relay
5054 module, and then invoked with the "User" option. Fixes bug 33668;
5055 bugfix on 0.4.3.1-alpha.
5057 o Minor bugfixes (--disable-module-relay,--disable-module-dirauth):
5058 - Set some output arguments in the relay and dirauth module stubs,
5059 to guard against future stub argument handling bugs like 33668.
5060 Fixes bug 33674; bugfix on 0.4.3.1-alpha.
5062 o Minor bugfixes (build system):
5063 - Correctly output the enabled module in the configure summary.
5064 Before that, the list shown was just plain wrong. Fixes bug 33646;
5065 bugfix on 0.4.3.2-alpha.
5067 o Minor bugfixes (client, IPv6):
5068 - Stop forcing all non-SocksPorts to prefer IPv6 exit connections.
5069 Instead, prefer IPv6 connections by default, but allow users to
5070 change their configs using the "NoPreferIPv6" port flag. Fixes bug
5071 33608; bugfix on 0.4.3.1-alpha.
5072 - Revert PreferIPv6 set by default on the SocksPort because it broke
5073 the torsocks use case. Tor doesn't have a way for an application
5074 to request the hostname to be resolved for a specific IP version,
5075 but torsocks requires that. Up until now, IPv4 was used by default
5076 so torsocks is expecting that, and can't handle a possible IPv6
5077 being returned. Fixes bug 33804; bugfix on 0.4.3.1-alpha.
5079 o Minor bugfixes (key portability):
5080 - When reading PEM-encoded key data, tolerate CRLF line-endings even
5081 if we are not running on Windows. Previously, non-Windows hosts
5082 would reject these line-endings in certain positions, making
5083 certain key files hard to move from one host to another. Fixes bug
5084 33032; bugfix on 0.3.5.1-alpha.
5086 o Minor bugfixes (logging):
5087 - Flush stderr, stdout, and file logs during shutdown, if supported
5088 by the OS. This change helps make sure that any final logs are
5089 recorded. Fixes bug 33087; bugfix on 0.4.1.6.
5090 - Stop closing stderr and stdout during shutdown. Closing these file
5091 descriptors can hide sanitiser logs. Fixes bug 33087; bugfix
5094 o Minor bugfixes (onion services v3):
5095 - Relax severity of a log message that can appear naturally when
5096 decoding onion service descriptors as a relay. Also add some
5097 diagnostics to debug any future bugs in that area. Fixes bug
5098 31669; bugfix on 0.3.0.1-alpha.
5099 - Block a client-side assertion by disallowing the registration of
5100 an x25519 client auth key that's all zeroes. Fixes bug 33545;
5101 bugfix on 0.4.3.1-alpha. Based on patch from "cypherpunks".
5103 o Code simplification and refactoring:
5104 - Disable our coding standards best practices tracker in our git
5105 hooks. (0.4.3 branches only.) Closes ticket 33678.
5108 - Avoid conflicts between the fake sockets in tor's unit tests, and
5109 real file descriptors. Resolves issues running unit tests with
5110 GitHub Actions, where the process that embeds or launches the
5111 tests has already opened a large number of file descriptors. Fixes
5112 bug 33782; bugfix on 0.2.8.1-alpha. Found and fixed by
5116 - In our Appveyor Windows CI, copy required DLLs to test and app
5117 directories, before running tor's tests. This ensures that tor.exe
5118 and test*.exe use the correct version of each DLL. This fix is not
5119 required, but we hope it will avoid DLL search issues in future.
5120 Fixes bug 33673; bugfix on 0.3.4.2-alpha.
5121 - On Appveyor, skip the crypto/openssl_version test, which is
5122 failing because of a mismatched library installation. Fix
5126 Changes in version 0.4.3.3-alpha - 2020-03-18
5127 Tor 0.4.3.3-alpha fixes several bugs in previous releases, including
5128 TROVE-2020-002, a major denial-of-service vulnerability that affected
5129 all released Tor instances since 0.2.1.5-alpha. Using this
5130 vulnerability, an attacker could cause Tor instances to consume a huge
5131 amount of CPU, disrupting their operations for several seconds or
5132 minutes. This attack could be launched by anybody against a relay, or
5133 by a directory cache against any client that had connected to it. The
5134 attacker could launch this attack as much as they wanted, thereby
5135 disrupting service or creating patterns that could aid in traffic
5136 analysis. This issue was found by OSS-Fuzz, and is also tracked
5139 We do not have reason to believe that this attack is currently being
5140 exploited in the wild, but nonetheless we advise everyone to upgrade
5141 as soon as packages are available.
5143 o Major bugfixes (security, denial-of-service):
5144 - Fix a denial-of-service bug that could be used by anyone to
5145 consume a bunch of CPU on any Tor relay or authority, or by
5146 directories to consume a bunch of CPU on clients or hidden
5147 services. Because of the potential for CPU consumption to
5148 introduce observable timing patterns, we are treating this as a
5149 high-severity security issue. Fixes bug 33119; bugfix on
5150 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5151 as TROVE-2020-002 and CVE-2020-10592.
5153 o Major bugfixes (circuit padding, memory leak):
5154 - Avoid a remotely triggered memory leak in the case that a circuit
5155 padding machine is somehow negotiated twice on the same circuit.
5156 Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
5157 This is also tracked as TROVE-2020-004 and CVE-2020-10593.
5159 o Major bugfixes (directory authority):
5160 - Directory authorities will now send a 503 (not enough bandwidth)
5161 code to clients when under bandwidth pressure. Known relays and
5162 other authorities will always be answered regardless of the
5163 bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
5165 o Minor features (diagnostic):
5166 - Improve assertions and add some memory-poisoning code to try to
5167 track down possible causes of a rare crash (32564) in the EWMA
5168 code. Closes ticket 33290.
5170 o Minor features (directory authorities):
5171 - Directory authorities now reject descriptors from relays running
5172 Tor versions from the 0.2.9 and 0.4.0 series. The 0.3.5 series is
5173 still allowed. Resolves ticket 32672. Patch by Neel Chauhan.
5175 o Minor features (usability):
5176 - Include more information when failing to parse a configuration
5177 value. This should make it easier to tell what's going wrong when
5178 a configuration file doesn't parse. Closes ticket 33460.
5180 o Minor bugfix (relay, configuration):
5181 - Warn if the ContactInfo field is not set, and tell the relay
5182 operator that not having a ContactInfo field set might cause their
5183 relay to get rejected in the future. Fixes bug 33361; bugfix
5186 o Minor bugfixes (coding best practices checks):
5187 - Allow the "practracker" script to read unicode files when using
5188 Python 2. We made the script use unicode literals in 0.4.3.1-alpha,
5189 but didn't change the codec for opening files. Fixes bug 33374;
5190 bugfix on 0.4.3.1-alpha.
5192 o Minor bugfixes (continuous integration):
5193 - Remove the buggy and unused mirroring job. Fixes bug 33213; bugfix
5196 o Minor bugfixes (onion service v3, client):
5197 - Remove a BUG() warning that would cause a stack trace if an onion
5198 service descriptor was freed while we were waiting for a
5199 rendezvous circuit to complete. Fixes bug 28992; bugfix
5202 o Minor bugfixes (onion services v3):
5203 - Fix an assertion failure that could result from a corrupted
5204 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5205 bugfix on 0.3.3.1-alpha. This issue is also tracked
5208 o Documentation (manpage):
5209 - Alphabetize the Server and Directory server sections of the tor
5210 manpage. Also split Statistics options into their own section of
5211 the manpage. Closes ticket 33188. Work by Swati Thacker as part of
5212 Google Season of Docs.
5213 - Document the __OwningControllerProcess torrc option and specify
5214 its polling interval. Resolves issue 32971.
5216 o Testing (Travis CI):
5217 - Remove a redundant distcheck job. Closes ticket 33194.
5218 - Sort the Travis jobs in order of speed: putting the slowest jobs
5219 first takes full advantage of Travis job concurrency. Closes
5221 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5222 previously configured to fast_finish (which requires
5223 allow_failure), to speed up the build. Closes ticket 33195.
5224 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5225 tool to produce detailed diagnostic output. Closes ticket 32792.
5228 Changes in version 0.4.2.7 - 2020-03-18
5229 This is the third stable release in the 0.4.2.x series. It backports
5230 numerous fixes from later releases, including a fix for TROVE-2020-
5231 002, a major denial-of-service vulnerability that affected all
5232 released Tor instances since 0.2.1.5-alpha. Using this vulnerability,
5233 an attacker could cause Tor instances to consume a huge amount of CPU,
5234 disrupting their operations for several seconds or minutes. This
5235 attack could be launched by anybody against a relay, or by a directory
5236 cache against any client that had connected to it. The attacker could
5237 launch this attack as much as they wanted, thereby disrupting service
5238 or creating patterns that could aid in traffic analysis. This issue
5239 was found by OSS-Fuzz, and is also tracked as CVE-2020-10592.
5241 We do not have reason to believe that this attack is currently being
5242 exploited in the wild, but nonetheless we advise everyone to upgrade
5243 as soon as packages are available.
5245 o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
5246 - Fix a denial-of-service bug that could be used by anyone to
5247 consume a bunch of CPU on any Tor relay or authority, or by
5248 directories to consume a bunch of CPU on clients or hidden
5249 services. Because of the potential for CPU consumption to
5250 introduce observable timing patterns, we are treating this as a
5251 high-severity security issue. Fixes bug 33119; bugfix on
5252 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5253 as TROVE-2020-002 and CVE-2020-10592.
5255 o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
5256 - Avoid a remotely triggered memory leak in the case that a circuit
5257 padding machine is somehow negotiated twice on the same circuit.
5258 Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
5259 This is also tracked as TROVE-2020-004 and CVE-2020-10593.
5261 o Major bugfixes (directory authority, backport from 0.4.3.3-alpha):
5262 - Directory authorities will now send a 503 (not enough bandwidth)
5263 code to clients when under bandwidth pressure. Known relays and
5264 other authorities will always be answered regardless of the
5265 bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
5267 o Minor features (continuous integration, backport from 0.4.3.2-alpha):
5268 - Stop allowing failures on the Travis CI stem tests job. It looks
5269 like all the stem hangs we were seeing before are now fixed.
5270 Closes ticket 33075.
5272 o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
5273 - Lowercase the configured value of BridgeDistribution before adding
5274 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5276 o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
5277 - If we encounter a bug when flushing a buffer to a TLS connection,
5278 only log the bug once per invocation of the Tor process.
5279 Previously we would log with every occurrence, which could cause
5280 us to run out of disk space. Fixes bug 33093; bugfix
5283 o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
5284 - Fix an assertion failure that could result from a corrupted
5285 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5286 bugfix on 0.3.3.1-alpha. This issue is also tracked
5289 o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
5290 - Fix a syntax warning given by newer versions of Rust that was
5291 creating problems for our continuous integration. Fixes bug 33212;
5292 bugfix on 0.3.5.1-alpha.
5294 o Testing (Travis CI, backport from 0.4.3.3-alpha):
5295 - Remove a redundant distcheck job. Closes ticket 33194.
5296 - Sort the Travis jobs in order of speed: putting the slowest jobs
5297 first takes full advantage of Travis job concurrency. Closes
5299 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5300 previously configured to fast_finish (which requires
5301 allow_failure), to speed up the build. Closes ticket 33195.
5302 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5303 tool to produce detailed diagnostic output. Closes ticket 32792.
5306 Changes in version 0.4.1.9 - 2020-03-18
5307 Tor 0.4.1.9 backports important fixes from later Tor releases,
5308 including a fix for TROVE-2020-002, a major denial-of-service
5309 vulnerability that affected all released Tor instances since
5310 0.2.1.5-alpha. Using this vulnerability, an attacker could cause Tor
5311 instances to consume a huge amount of CPU, disrupting their operations
5312 for several seconds or minutes. This attack could be launched by
5313 anybody against a relay, or by a directory cache against any client
5314 that had connected to it. The attacker could launch this attack as
5315 much as they wanted, thereby disrupting service or creating patterns
5316 that could aid in traffic analysis. This issue was found by OSS-Fuzz,
5317 and is also tracked as CVE-2020-10592.
5319 We do not have reason to believe that this attack is currently being
5320 exploited in the wild, but nonetheless we advise everyone to upgrade
5321 as soon as packages are available.
5323 o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
5324 - Fix a denial-of-service bug that could be used by anyone to
5325 consume a bunch of CPU on any Tor relay or authority, or by
5326 directories to consume a bunch of CPU on clients or hidden
5327 services. Because of the potential for CPU consumption to
5328 introduce observable timing patterns, we are treating this as a
5329 high-severity security issue. Fixes bug 33119; bugfix on
5330 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5331 as TROVE-2020-002 and CVE-2020-10592.
5333 o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
5334 - Avoid a remotely triggered memory leak in the case that a circuit
5335 padding machine is somehow negotiated twice on the same circuit.
5336 Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
5337 This is also tracked as TROVE-2020-004 and CVE-2020-10593.
5339 o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
5340 - Lowercase the configured value of BridgeDistribution before adding
5341 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5343 o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
5344 - If we encounter a bug when flushing a buffer to a TLS connection,
5345 only log the bug once per invocation of the Tor process.
5346 Previously we would log with every occurrence, which could cause
5347 us to run out of disk space. Fixes bug 33093; bugfix
5350 o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
5351 - Fix an assertion failure that could result from a corrupted
5352 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5353 bugfix on 0.3.3.1-alpha. This issue is also tracked
5356 o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
5357 - Fix a syntax warning given by newer versions of Rust that was
5358 creating problems for our continuous integration. Fixes bug 33212;
5359 bugfix on 0.3.5.1-alpha.
5361 o Testing (Travis CI, backport from 0.4.3.3-alpha):
5362 - Remove a redundant distcheck job. Closes ticket 33194.
5363 - Sort the Travis jobs in order of speed: putting the slowest jobs
5364 first takes full advantage of Travis job concurrency. Closes
5366 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5367 previously configured to fast_finish (which requires
5368 allow_failure), to speed up the build. Closes ticket 33195.
5369 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5370 tool to produce detailed diagnostic output. Closes ticket 32792.
5373 Changes in version 0.3.5.10 - 2020-03-18
5374 Tor 0.3.5.10 backports many fixes from later Tor releases, including a
5375 fix for TROVE-2020-002, a major denial-of-service vulnerability that
5376 affected all released Tor instances since 0.2.1.5-alpha. Using this
5377 vulnerability, an attacker could cause Tor instances to consume a huge
5378 amount of CPU, disrupting their operations for several seconds or
5379 minutes. This attack could be launched by anybody against a relay, or
5380 by a directory cache against any client that had connected to it. The
5381 attacker could launch this attack as much as they wanted, thereby
5382 disrupting service or creating patterns that could aid in traffic
5383 analysis. This issue was found by OSS-Fuzz, and is also tracked
5386 We do not have reason to believe that this attack is currently being
5387 exploited in the wild, but nonetheless we advise everyone to upgrade
5388 as soon as packages are available.
5390 o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
5391 - Fix a denial-of-service bug that could be used by anyone to
5392 consume a bunch of CPU on any Tor relay or authority, or by
5393 directories to consume a bunch of CPU on clients or hidden
5394 services. Because of the potential for CPU consumption to
5395 introduce observable timing patterns, we are treating this as a
5396 high-severity security issue. Fixes bug 33119; bugfix on
5397 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5398 as TROVE-2020-002 and CVE-2020-10592.
5400 o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
5401 - Correct how we use libseccomp. Particularly, stop assuming that
5402 rules are applied in a particular order or that more rules are
5403 processed after the first match. Neither is the case! In
5404 libseccomp <2.4.0 this lead to some rules having no effect.
5405 libseccomp 2.4.0 changed how rules are generated, leading to a
5406 different ordering, which in turn led to a fatal crash during
5407 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5410 o Minor features (continuous integration, backport from 0.4.3.2-alpha):
5411 - Stop allowing failures on the Travis CI stem tests job. It looks
5412 like all the stem hangs we were seeing before are now fixed.
5413 Closes ticket 33075.
5415 o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
5416 - Lowercase the configured value of BridgeDistribution before adding
5417 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5419 o Minor bugfixes (crash, backport from 0.4.2.4-rc):
5420 - When running Tor with an option like --verify-config or
5421 --dump-config that does not start the event loop, avoid crashing
5422 if we try to exit early because of an error. Fixes bug 32407;
5423 bugfix on 0.3.3.1-alpha.
5425 o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
5426 - If we encounter a bug when flushing a buffer to a TLS connection,
5427 only log the bug once per invocation of the Tor process.
5428 Previously we would log with every occurrence, which could cause
5429 us to run out of disk space. Fixes bug 33093; bugfix
5432 o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
5433 - Fix an assertion failure that could result from a corrupted
5434 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5435 bugfix on 0.3.3.1-alpha. This issue is also tracked
5438 o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
5439 - Fix a syntax warning given by newer versions of Rust that was
5440 creating problems for our continuous integration. Fixes bug 33212;
5441 bugfix on 0.3.5.1-alpha.
5443 o Testing (backport from 0.4.3.1-alpha):
5444 - Re-enable the Travis CI macOS Chutney build, but don't let it
5445 prevent the Travis job from finishing. (The Travis macOS jobs are
5446 slow, so we don't want to have it delay the whole CI process.)
5447 Closes ticket 32629.
5448 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
5449 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
5450 fix the sandbox errors in 32722. Closes ticket 32240.
5452 o Testing (continuous integration, backport from 0.4.3.1-alpha):
5453 - Use zstd in our Travis Linux builds. Closes ticket 32242.
5455 o Testing (Travis CI, backport from 0.4.3.3-alpha):
5456 - Remove a redundant distcheck job. Closes ticket 33194.
5457 - Sort the Travis jobs in order of speed: putting the slowest jobs
5458 first takes full advantage of Travis job concurrency. Closes
5460 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5461 previously configured to fast_finish (which requires
5462 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5463 tool to produce detailed diagnostic output. Closes ticket 32792.
5466 Changes in version 0.4.3.2-alpha - 2020-02-10
5467 This is the second stable alpha release in the Tor 0.4.3.x series. It
5468 fixes several bugs present in the previous alpha release. Anybody
5469 running the previous alpha should upgrade, and look for bugs in this
5472 o Major bugfixes (onion service client, authorization):
5473 - On a NEWNYM signal, purge entries from the ephemeral client
5474 authorization cache. The permanent ones are kept. Fixes bug 33139;
5475 bugfix on 0.4.3.1-alpha.
5477 o Minor features (best practices tracker):
5478 - Practracker now supports a --regen-overbroad option to regenerate
5479 the exceptions file, but only to revise exceptions to be _less_
5480 tolerant of best-practices violations. Closes ticket 32372.
5482 o Minor features (continuous integration):
5483 - Run Doxygen Makefile target on Travis, so we can learn about
5484 regressions in our internal documentation. Closes ticket 32455.
5485 - Stop allowing failures on the Travis CI stem tests job. It looks
5486 like all the stem hangs we were seeing before are now fixed.
5487 Closes ticket 33075.
5489 o Minor bugfixes (build system):
5490 - Revise configure options that were either missing or incorrect in
5491 the configure summary. Fixes bug 32230; bugfix on 0.4.3.1-alpha.
5493 o Minor bugfixes (controller protocol):
5494 - Fix a memory leak introduced by refactoring of control reply
5495 formatting code. Fixes bug 33039; bugfix on 0.4.3.1-alpha.
5496 - Fix a memory leak in GETINFO responses. Fixes bug 33103; bugfix
5498 - When receiving "ACTIVE" or "DORMANT" signals on the control port,
5499 report them as SIGNAL events. Previously we would log a bug
5500 warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
5502 o Minor bugfixes (logging):
5503 - If we encounter a bug when flushing a buffer to a TLS connection,
5504 only log the bug once per invocation of the Tor process.
5505 Previously we would log with every occurrence, which could cause
5506 us to run out of disk space. Fixes bug 33093; bugfix
5508 - When logging a bug, do not say "Future instances of this warning
5509 will be silenced" unless we are actually going to silence them.
5510 Previously we would say this whenever a BUG() check failed in the
5511 code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
5513 o Minor bugfixes (onion service v2):
5514 - Move a series of v2 onion service warnings to protocol-warning
5515 level because they can all be triggered remotely by a malformed
5516 request. Fixes bug 32706; bugfix on 0.1.1.14-alpha.
5518 o Minor bugfixes (onion service v3, client authorization):
5519 - When removing client authorization credentials using the control
5520 port, also remove the associated descriptor, so the onion service
5521 can no longer be contacted. Fixes bug 33148; bugfix
5524 o Minor bugfixes (pluggable transports):
5525 - When receiving a message on standard error from a pluggable
5526 transport, log it at info level, rather than as a warning. Fixes
5527 bug 33005; bugfix on 0.4.0.1-alpha.
5529 o Minor bugfixes (rust, build):
5530 - Fix a syntax warning given by newer versions of Rust that was
5531 creating problems for our continuous integration. Fixes bug 33212;
5532 bugfix on 0.3.5.1-alpha.
5534 o Minor bugfixes (TLS bug handling):
5535 - When encountering a bug in buf_read_from_tls(), return a "MISC"
5536 error code rather than "WANTWRITE". This change might help avoid
5537 some CPU-wasting loops if the bug is ever triggered. Bug reported
5538 by opara. Fixes bug 32673; bugfix on 0.3.0.4-alpha.
5540 o Code simplification and refactoring (mainloop):
5541 - Simplify the ip_address_changed() function by removing redundant
5542 checks. Closes ticket 33091.
5544 o Documentation (manpage):
5545 - Split "Circuit Timeout" options and "Node Selection" options into
5546 their own sections of the tor manpage. Closes tickets 32928 and
5547 32929. Work by Swati Thacker as part of Google Season of Docs.
5550 Changes in version 0.4.2.6 - 2020-01-30
5551 This is the second stable release in the 0.4.2.x series. It backports
5552 several bugfixes from 0.4.3.1-alpha, including some that had affected
5553 the Linux seccomp2 sandbox or Windows services. If you're running with
5554 one of those configurations, you'll probably want to upgrade;
5555 otherwise, you should be fine with 0.4.2.5.
5557 o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
5558 - Correct how we use libseccomp. Particularly, stop assuming that
5559 rules are applied in a particular order or that more rules are
5560 processed after the first match. Neither is the case! In
5561 libseccomp <2.4.0 this led to some rules having no effect.
5562 libseccomp 2.4.0 changed how rules are generated, leading to a
5563 different ordering, which in turn led to a fatal crash during
5564 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5566 - Fix crash when reloading logging configuration while the
5567 experimental sandbox is enabled. Fixes bug 32841; bugfix on
5568 0.4.1.7. Patch by Peter Gerber.
5570 o Minor bugfixes (correctness checks, backport from 0.4.3.1-alpha):
5571 - Use GCC/Clang's printf-checking feature to make sure that
5572 tor_assertf() arguments are correctly typed. Fixes bug 32765;
5573 bugfix on 0.4.1.1-alpha.
5575 o Minor bugfixes (logging, crash, backport from 0.4.3.1-alpha):
5576 - Avoid a possible crash when trying to log a (fatal) assertion
5577 failure about mismatched magic numbers in configuration objects.
5578 Fixes bug 32771; bugfix on 0.4.2.1-alpha.
5580 o Minor bugfixes (testing, backport from 0.4.3.1-alpha):
5581 - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
5582 test_practracker.sh script. Doing so caused a test failure. Fixes
5583 bug 32705; bugfix on 0.4.2.1-alpha.
5584 - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
5585 skipping practracker checks. Fixes bug 32705; bugfix
5588 o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
5589 - Initialize the publish/subscribe system when running as a windows
5590 service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
5592 o Testing (backport from 0.4.3.1-alpha):
5593 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
5594 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
5595 fix the sandbox errors in 32722. Closes ticket 32240.
5596 - Re-enable the Travis CI macOS Chutney build, but don't let it
5597 prevent the Travis job from finishing. (The Travis macOS jobs are
5598 slow, so we don't want to have it delay the whole CI process.)
5599 Closes ticket 32629.
5601 o Testing (continuous integration, backport from 0.4.3.1-alpha):
5602 - Use zstd in our Travis Linux builds. Closes ticket 32242.
5605 Changes in version 0.4.1.8 - 2020-01-30
5606 This release backports several bugfixes from later release series,
5607 including some that had affected the Linux seccomp2 sandbox or Windows
5608 services. If you're running with one of those configurations, you'll
5609 probably want to upgrade; otherwise, you should be fine with your
5610 current version of 0.4.1.x.
5612 o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
5613 - Correct how we use libseccomp. Particularly, stop assuming that
5614 rules are applied in a particular order or that more rules are
5615 processed after the first match. Neither is the case! In
5616 libseccomp <2.4.0 this led to some rules having no effect.
5617 libseccomp 2.4.0 changed how rules are generated, leading to a
5618 different ordering, which in turn led to a fatal crash during
5619 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5621 - Fix crash when reloading logging configuration while the
5622 experimental sandbox is enabled. Fixes bug 32841; bugfix on
5623 0.4.1.7. Patch by Peter Gerber.
5625 o Minor bugfixes (crash, backport form 0.4.2.4-rc):
5626 - When running Tor with an option like --verify-config or
5627 --dump-config that does not start the event loop, avoid crashing
5628 if we try to exit early because of an error. Fixes bug 32407;
5629 bugfix on 0.3.3.1-alpha.
5631 o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
5632 - Initialize the publish/subscribe system when running as a windows
5633 service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
5635 o Testing (backport from 0.4.3.1-alpha):
5636 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
5637 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
5638 fix the sandbox errors in 32722. Closes ticket 32240.
5639 - Re-enable the Travis CI macOS Chutney build, but don't let it
5640 prevent the Travis job from finishing. (The Travis macOS jobs are
5641 slow, so we don't want to have it delay the whole CI process.)
5642 Closes ticket 32629.
5644 o Testing (continuous integration, backport from 0.4.3.1-alpha):
5645 - Use zstd in our Travis Linux builds. Closes ticket 32242.
5648 Changes in version 0.4.3.1-alpha - 2020-01-22
5649 This is the first alpha release in the 0.4.3.x series. It includes
5650 improved support for application integration of onion services, support
5651 for building in a client-only mode, and newly improved internal
5652 documentation (online at https://src-ref.docs.torproject.org/tor/). It
5653 also has numerous other small bugfixes and features, as well as
5654 improvements to our code's internal organization that should help us
5655 write better code in the future.
5657 o New system requirements:
5658 - When building Tor, you now need to have Python 3 in order to run
5659 the integration tests. (Python 2 is officially unsupported
5660 upstream, as of 1 Jan 2020.) Closes ticket 32608.
5662 o Major features (build system):
5663 - The relay code can now be disabled using the --disable-module-relay
5664 configure option. When this option is set, we also disable the
5665 dirauth module. Closes ticket 32123.
5666 - When Tor is compiled --disable-module-relay, we also omit the code
5667 used to act as a directory cache. Closes ticket 32487.
5669 o Major features (directory authority, ed25519):
5670 - Add support for banning a relay's ed25519 keys in the approved-
5671 routers file. This will help us migrate away from RSA keys in the
5672 future. Previously, only RSA keys could be banned in approved-
5673 routers. Resolves ticket 22029. Patch by Neel Chauhan.
5675 o Major features (onion service, controller):
5676 - New control port commands to manage client-side onion service
5677 authorization credentials. The ONION_CLIENT_AUTH_ADD command adds
5678 a credential, ONION_CLIENT_AUTH_REMOVE deletes a credential, and
5679 ONION_CLIENT_AUTH_VIEW lists the credentials. Closes ticket 30381.
5681 o Major features (onion service, SOCKS5):
5682 - Introduce a new SocksPort flag, ExtendedErrors, to support more
5683 detailed error codes in information for applications that support
5684 them. Closes ticket 30382; implements proposal 304.
5686 o Major features (proxy):
5687 - In addition to its current supported proxy types (HTTP CONNECT,
5688 SOCKS4, and SOCKS5), Tor can now make its OR connections through a
5689 HAProxy server. A new torrc option was added to specify the
5690 address/port of the server: TCPProxy <protocol> <host>:<port>.
5691 Currently the only supported protocol for the option is haproxy.
5692 Closes ticket 31518. Patch done by Suphanat Chunhapanya (haxxpop).
5694 o Major bugfixes (linux seccomp sandbox):
5695 - Correct how we use libseccomp. Particularly, stop assuming that
5696 rules are applied in a particular order or that more rules are
5697 processed after the first match. Neither is the case! In
5698 libseccomp <2.4.0 this led to some rules having no effect.
5699 libseccomp 2.4.0 changed how rules are generated, leading to a
5700 different ordering, which in turn led to a fatal crash during
5701 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5703 - Fix crash when reloading logging configuration while the
5704 experimental sandbox is enabled. Fixes bug 32841; bugfix on
5705 0.4.1.7. Patch by Peter Gerber.
5707 o Major bugfixes (networking):
5708 - Correctly handle IPv6 addresses in SOCKS5 RESOLVE_PTR requests,
5709 and accept strings as well as binary addresses. Fixes bug 32315;
5710 bugfix on 0.3.5.1-alpha.
5712 o Major bugfixes (onion service):
5713 - Report HS circuit failure back into the HS subsystem so we take
5714 appropriate action with regards to the client introduction point
5715 failure cache. This improves reachability of onion services, since
5716 now clients notice failing introduction circuits properly. Fixes
5717 bug 32020; bugfix on 0.3.2.1-alpha.
5719 o Minor feature (configure, build system):
5720 - Output a list of enabled/disabled features at the end of the
5721 configure process in a pleasing way. Closes ticket 31373.
5723 o Minor feature (heartbeat, onion service):
5724 - Add the DoS INTRODUCE2 defenses counter to the heartbeat DoS
5725 message. Closes ticket 31371.
5727 o Minor features (configuration validation):
5728 - Configuration validation can now be done by per-module callbacks,
5729 rather than a global validation function. This will let us reduce
5730 the size of config.c and some of its more cumbersome functions.
5731 Closes ticket 31241.
5733 o Minor features (configuration):
5734 - If a configured hardware crypto accelerator in AccelName is
5735 prefixed with "!", Tor now exits when it cannot be found. Closes
5737 - We now use flag-driven logic to warn about obsolete configuration
5738 fields, so that we can include their names. In 0.4.2, we used a
5739 special type, which prevented us from generating good warnings.
5740 Implements ticket 32404.
5742 o Minor features (controller):
5743 - Add stream isolation data to STREAM event. Closes ticket 19859.
5744 - Implement a new GETINFO command to fetch microdescriptor
5745 consensus. Closes ticket 31684.
5747 o Minor features (debugging, directory system):
5748 - Don't crash when we find a non-guard with a guard-fraction value
5749 set. Instead, log a bug warning, in an attempt to figure out how
5750 this happened. Diagnostic for ticket 32868.
5752 o Minor features (defense in depth):
5753 - Add additional checks around tor_vasprintf() usage, in case the
5754 function returns an error. Patch by Tobias Stoeckmann. Fixes
5757 o Minor features (developer tooling):
5758 - Remove the 0.2.9.x series branches from git scripts (git-merge-
5759 forward.sh, git-pull-all.sh, git-push-all.sh, git-setup-dirs.sh).
5760 Closes ticket 32772.
5762 o Minor features (developer tools):
5763 - Add a check_cocci_parse.sh script that checks that new code is
5764 parseable by Coccinelle. Add an exceptions file for unparseable
5765 files, and run the script from travis CI. Closes ticket 31919.
5766 - Call the check_cocci_parse.sh script from a 'check-cocci' Makefile
5767 target. Closes ticket 31919.
5768 - Add a rename_c_identifiers.py tool to rename a bunch of C
5769 identifiers at once, and generate a well-formed commit message
5770 describing the change. This should help with refactoring. Closes
5772 - Add some scripts in "scripts/coccinelle" to invoke the Coccinelle
5773 semantic patching tool with the correct flags. These flags are
5774 fairly easy to forget, and these scripts should help us use
5775 Coccinelle more effectively in the future. Closes ticket 31705.
5777 o Minor features (Doxygen):
5778 - Update Doxygen configuration file to a more recent template (from
5779 1.8.15). Closes ticket 32110.
5780 - "make doxygen" now works with out-of-tree builds. Closes
5782 - Make sure that doxygen outputs documentation for all of our C
5783 files. Previously, some were missing @file declarations, causing
5784 them to be ignored. Closes ticket 32307.
5785 - Our "make doxygen" target now respects --enable-fatal-warnings by
5786 default, and does not warn about items that are missing
5787 documentation. To warn about missing documentation, run configure
5788 with the "--enable-missing-doc-warnings" flag: doing so suspends
5789 fatal warnings for doxygen. Closes ticket 32385.
5791 o Minor features (git scripts):
5792 - Add TOR_EXTRA_CLONE_ARGS to git-setup-dirs.sh for git clone
5793 customisation. Closes ticket 32347.
5794 - Add git-setup-dirs.sh, which sets up an upstream git repository
5795 and worktrees for tor maintainers. Closes ticket 29603.
5796 - Add TOR_EXTRA_REMOTE_* to git-setup-dirs.sh for a custom extra
5797 remote. Closes ticket 32347.
5798 - Call the check_cocci_parse.sh script from the git commit and push
5799 hooks. Closes ticket 31919.
5800 - Make git-push-all.sh skip unchanged branches when pushing to
5801 upstream. The script already skipped unchanged test branches.
5802 Closes ticket 32216.
5803 - Make git-setup-dirs.sh create a master symlink in the worktree
5804 directory. Closes ticket 32347.
5805 - Skip unmodified source files when doing some existing git hook
5806 checks. Related to ticket 31919.
5808 o Minor features (IPv6, client):
5809 - Make Tor clients tell dual-stack exits that they prefer IPv6
5810 connections. This change is equivalent to setting the PreferIPv6
5811 flag on SOCKSPorts (and most other listener ports). Tor Browser
5812 has been setting this flag for some time, and we want to remove a
5813 client distinguisher at exits. Closes ticket 32637.
5815 o Minor features (portability, android):
5816 - When building for Android, disable some tests that depend on $HOME
5817 and/or pwdb, which Android doesn't have. Closes ticket 32825.
5818 Patch from Hans-Christoph Steiner.
5820 o Minor features (relay modularity):
5821 - Split the relay and server pluggable transport config code into
5822 separate files in the relay module. Disable this code when the
5823 relay module is disabled. Closes part of ticket 32213.
5824 - When the relay module is disabled, reject attempts to set the
5825 ORPort, DirPort, DirCache, BridgeRelay, ExtORPort, or
5826 ServerTransport* options, rather than ignoring the values of these
5827 options. Closes part of ticket 32213.
5829 o Minor features (relay):
5830 - When the relay module is disabled, change the default config so
5831 that DirCache is 0, and ClientOnly is 1. Closes ticket 32410.
5833 o Minor features (release tools):
5834 - Port our ChangeLog formatting and sorting tools to Python 3.
5835 Closes ticket 32704.
5837 o Minor features (testing):
5838 - Detect some common failure cases for test_parseconf.sh in
5839 src/test/conf_failures. Closes ticket 32451.
5840 - Allow test_parseconf.sh to test expected log outputs for successful
5841 configs, as well as failed configs. Closes ticket 32451.
5842 - The test_parseconf.sh script now supports result variants for any
5843 combination of the optional libraries lzma, nss, and zstd. Closes
5846 o Minor features (tests, Android):
5847 - When running the unit tests on Android, create temporary files in
5848 a subdirectory of /data/local/tmp. Closes ticket 32172. Based on a
5849 patch from Hans-Christoph Steiner.
5851 o Minor bugfixes (bridges):
5852 - Lowercase the configured value of BridgeDistribution before adding
5853 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5855 o Minor bugfixes (build system):
5856 - Fix "make autostyle" for out-of-tree builds. Fixes bug 32370;
5857 bugfix on 0.4.1.2-alpha.
5859 o Minor bugfixes (configuration handling):
5860 - Make control_event_conf_changed() take in a config_line_t instead
5861 of a smartlist of alternating key/value entries. Fixes bug 31531;
5862 bugfix on 0.2.3.3-alpha. Patch by Neel Chauhan.
5864 o Minor bugfixes (configuration):
5865 - Check for multiplication overflow when parsing memory units inside
5866 configuration. Fixes bug 30920; bugfix on 0.0.9rc1.
5867 - When dumping the configuration, stop adding a trailing space after
5868 the option name when there is no option value. This issue only
5869 affects options that accept an empty value or list. (Most options
5870 reject empty values, or delete the entire line from the dumped
5871 options.) Fixes bug 32352; bugfix on 0.0.9pre6.
5872 - Avoid changing the user's value of HardwareAccel as stored by
5873 SAVECONF, when AccelName is set but HardwareAccel is not. Fixes
5874 bug 32382; bugfix on 0.2.2.1-alpha.
5875 - When creating a KeyDirectory with the same location as the
5876 DataDirectory (not recommended), respect the DataDirectory's
5877 group-readable setting if one has not been set for the
5878 KeyDirectory. Fixes bug 27992; bugfix on 0.3.3.1-alpha.
5880 o Minor bugfixes (controller):
5881 - In routerstatus_has_changed(), check all the fields that are
5882 output over the control port. Fixes bug 20218; bugfix
5885 o Minor bugfixes (correctness checks):
5886 - Use GCC/Clang's printf-checking feature to make sure that
5887 tor_assertf() arguments are correctly typed. Fixes bug 32765;
5888 bugfix on 0.4.1.1-alpha.
5890 o Minor bugfixes (developer tools):
5891 - Allow paths starting with ./ in scripts/add_c_file.py. Fixes bug
5892 31336; bugfix on 0.4.1.2-alpha.
5894 o Minor bugfixes (dirauth module):
5895 - Split the dirauth config code into a separate file in the dirauth
5896 module. Disable this code when the dirauth module is disabled.
5897 Closes ticket 32213.
5898 - When the dirauth module is disabled, reject attempts to set the
5899 AuthoritativeDir option, rather than ignoring the value of the
5900 option. Fixes bug 32213; bugfix on 0.3.4.1-alpha.
5902 o Minor bugfixes (embedded Tor):
5903 - When starting Tor any time after the first time in a process,
5904 register the thread in which it is running as the main thread.
5905 Previously, we only did this on Windows, which could lead to bugs
5906 like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
5909 o Minor bugfixes (git scripts):
5910 - Avoid sleeping before the last push in git-push-all.sh. Closes
5912 - Forward all unrecognised arguments in git-push-all.sh to git push.
5913 Closes ticket 32216.
5915 o Minor bugfixes (hidden service v3):
5916 - Do not rely on a "circuit established" flag for intro circuits but
5917 instead always query the HS circuit map. This is to avoid sync
5918 issue with that flag and the map. Fixes bug 32094; bugfix
5921 o Minor bugfixes (logging, crash):
5922 - Avoid a possible crash when trying to log a (fatal) assertion
5923 failure about mismatched magic numbers in configuration objects.
5924 Fixes bug 32771; bugfix on 0.4.2.1-alpha.
5926 o Minor bugfixes (onion service v2):
5927 - When sending the INTRO cell for a v2 Onion Service, look at the
5928 failure cache alongside timeout values to check if the intro point
5929 is marked as failed. Previously, we only looked at the relay
5930 timeout values. Fixes bug 25568; bugfix on 0.2.7.3-rc. Patch by
5933 o Minor bugfixes (onion services v3, client):
5934 - Properly handle the client rendezvous circuit timeout. Previously
5935 Tor would sometimes timeout a rendezvous circuit awaiting the
5936 introduction ACK, and find itself unable to re-establish all
5937 circuits because the rendezvous circuit timed out too early. Fixes
5938 bug 32021; bugfix on 0.3.2.1-alpha.
5940 o Minor bugfixes (onion services):
5941 - In cancel_descriptor_fetches(), use
5942 connection_list_by_type_purpose() instead of
5943 connection_list_by_type_state(). Fixes bug 32639; bugfix on
5944 0.3.2.1-alpha. Patch by Neel Chauhan.
5946 o Minor bugfixes (scripts):
5947 - Fix update_versions.py for out-of-tree builds. Fixes bug 32371;
5948 bugfix on 0.4.0.1-alpha.
5950 o Minor bugfixes (test):
5951 - Use the same code to find the tor binary in all of our test
5952 scripts. This change makes sure we are always using the coverage
5953 binary when coverage is enabled. Fixes bug 32368; bugfix
5956 o Minor bugfixes (testing):
5957 - Stop ignoring "tor --dump-config" errors in test_parseconf.sh.
5958 Fixes bug 32468; bugfix on 0.4.2.1-alpha.
5959 - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
5960 test_practracker.sh script. Doing so caused a test failure. Fixes
5961 bug 32705; bugfix on 0.4.2.1-alpha.
5962 - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
5963 skipping practracker checks. Fixes bug 32705; bugfix
5966 o Minor bugfixes (tests):
5967 - Our option-validation tests no longer depend on specially
5968 configured non-default, non-passing sets of options. Previously,
5969 the tests had been written to assume that options would _not_ be
5970 set to their defaults, which led to needless complexity and
5971 verbosity. Fixes bug 32175; bugfix on 0.2.8.1-alpha.
5973 o Minor bugfixes (windows service):
5974 - Initialize the publish/subscribe system when running as a windows
5975 service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
5977 o Deprecated features:
5978 - Deprecate the ClientAutoIPv6ORPort option. This option was not
5979 true "Happy Eyeballs", and often failed on connections that
5980 weren't reliably dual-stack. Closes ticket 32942. Patch by
5984 - Provide a quickstart guide for a Circuit Padding Framework, and
5985 documentation for researchers to implement and study circuit
5986 padding machines. Closes ticket 28804.
5987 - Add documentation in 'HelpfulTools.md' to describe how to build a
5988 tag file. Closes ticket 32779.
5989 - Create a high-level description of the long-term software
5990 architecture goals. Closes ticket 32206.
5991 - Describe the --dump-config command in the manual page. Closes
5993 - Unite coding advice from this_not_that.md in torguts repo into our
5994 coding standards document. Resolves ticket 31853.
5997 - Our Doxygen configuration no longer generates LaTeX output. The
5998 reference manual produced by doing this was over 4000 pages long,
5999 and generally unusable. Closes ticket 32099.
6000 - The option "TestingEstimatedDescriptorPropagationTime" is now
6001 marked as obsolete. It has had no effect since 0.3.0.7, when
6002 clients stopped rejecting consensuses "from the future". Closes
6004 - We no longer support consensus methods before method 28; these
6005 methods were only used by authorities running versions of Tor that
6006 are now at end-of-life. In effect, this means that clients,
6007 relays, and authorities now assume that authorities will be
6008 running version 0.3.5.x or later. Closes ticket 32695.
6011 - Add more test cases for tor's UTF-8 validation function. Also,
6012 check the arguments passed to the function for consistency. Closes
6014 - Improve test coverage for relay and dirauth config code, focusing
6015 on option validation and normalization. Closes ticket 32213.
6016 - Improve the consistency of test_parseconf.sh output, and run all
6017 the tests, even if one fails. Closes ticket 32213.
6018 - Re-enable the Travis CI macOS Chutney build, but don't let it
6019 prevent the Travis job from finishing. (The Travis macOS jobs are
6020 slow, so we don't want to have it delay the whole CI process.)
6021 Closes ticket 32629.
6022 - Run the practracker unit tests in the pre-commit git hook. Closes
6024 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
6025 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
6026 fix the sandbox errors in 32722. Closes ticket 32240.
6028 o Code simplification and refactoring (channel):
6029 - Channel layer had a variable length cell handler that was not used
6030 and thus removed. Closes ticket 32892.
6032 o Code simplification and refactoring (configuration):
6033 - Immutability is now implemented as a flag on individual
6034 configuration options rather than as part of the option-transition
6035 checking code. Closes ticket 32344.
6036 - Instead of keeping a list of configuration options to check for
6037 relative paths, check all the options whose type is "FILENAME".
6038 Solves part of ticket 32339.
6039 - Our default log (which ordinarily sends NOTICE-level messages to
6040 standard output) is now handled in a more logical manner.
6041 Previously, we replaced the configured log options if they were
6042 empty. Now, we interpret an empty set of log options as meaning
6043 "use the default log". Closes ticket 31999.
6044 - Remove some unused arguments from the options_validate() function,
6045 to simplify our code and tests. Closes ticket 32187.
6046 - Simplify the options_validate() code so that it looks at the
6047 default options directly, rather than taking default options as an
6048 argument. This change lets us simplify its interface. Closes
6050 - Use our new configuration architecture to move most authority-
6051 related options to the directory authority module. Closes
6053 - When parsing the command line, handle options that determine our
6054 "quiet level" and our mode of operation (e.g., --dump-config and
6055 so on) all in one table. Closes ticket 32003.
6057 o Code simplification and refactoring (controller):
6058 - Create a new abstraction for formatting control protocol reply
6059 lines based on key-value pairs. Refactor some existing control
6060 protocol code to take advantage of this. Closes ticket 30984.
6061 - Create a helper function that can fetch network status or
6062 microdesc consensuses. Closes ticket 31684.
6064 o Code simplification and refactoring (dirauth modularization):
6065 - Remove the last remaining HAVE_MODULE_DIRAUTH inside a function.
6066 Closes ticket 32163.
6067 - Replace some confusing identifiers in process_descs.c. Closes
6069 - Simplify some relay and dirauth config code. Closes ticket 32213.
6071 o Code simplification and refactoring (misc):
6072 - Make all the structs we declare follow the same naming convention
6073 of ending with "_t". Closes ticket 32415.
6074 - Move and rename some configuration-related code for clarity.
6075 Closes ticket 32304.
6076 - Our include.am files are now broken up by subdirectory.
6077 Previously, src/core/include.am covered all of the subdirectories
6078 in "core", "feature", and "app". Closes ticket 32137.
6079 - Remove underused NS*() macros from test code: they make our tests
6080 more confusing, especially for code-formatting tools. Closes
6083 o Code simplification and refactoring (relay modularization):
6084 - Disable relay_periodic when the relay module is disabled. Closes
6086 - Disable relay_sys when the relay module is disabled. Closes
6089 o Code simplification and refactoring (tool support):
6090 - Add numerous missing dependencies to our include files, so that
6091 they can be included in different reasonable orders and still
6092 compile. Addresses part of ticket 32764.
6093 - Fix some parts of our code that were difficult for Coccinelle to
6094 parse. Related to ticket 31705.
6095 - Fix some small issues in our code that prevented automatic
6096 formatting tools from working. Addresses part of ticket 32764.
6098 o Documentation (manpage):
6099 - Alphabetize the Client Options section of the tor manpage. Closes
6101 - Alphabetize the General Options section of the tor manpage. Closes
6103 - In the tor(1) manpage, reword and improve formatting of the
6104 COMMAND-LINE OPTIONS and DESCRIPTION sections. Closes ticket
6105 32277. Based on work by Swati Thacker as part of Google Season
6107 - In the tor(1) manpage, reword and improve formatting of the FILES,
6108 SEE ALSO, and BUGS sections. Closes ticket 32176. Based on work by
6109 Swati Thacker as part of Google Season of Docs.
6111 o Testing (circuit, EWMA):
6112 - Add unit tests for circuitmux and EWMA subsystems. Closes
6115 o Testing (continuous integration):
6116 - Use zstd in our Travis Linux builds. Closes ticket 32242.
6119 Changes in version 0.4.2.5 - 2019-12-09
6120 This is the first stable release in the 0.4.2.x series. This series
6121 improves reliability and stability, and includes several stability and
6122 correctness improvements for onion services. It also fixes many smaller
6123 bugs present in previous series.
6125 Per our support policy, we will support the 0.4.2.x series for nine
6126 months, or until three months after the release of a stable 0.4.3.x:
6127 whichever is longer. If you need longer-term support, please stick
6128 with 0.3.5.x, which will we plan to support until Feb 2022.
6130 Per our support policy, we will support the 0.4.2.x series for nine
6131 months, or until three months after the release of a stable 0.4.3.x:
6132 whichever is longer. If you need longer-term support, please stick
6133 with 0.3.5.x, which will we plan to support until Feb 2022.
6135 Below are the changes since 0.4.1.4-rc. For a complete list of changes
6136 since 0.4.1.5, see the ReleaseNotes file.
6138 o Minor features (geoip):
6139 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6140 Country database. Closes ticket 32685.
6143 - Require C99 standards-conforming code in Travis CI, but allow GNU
6144 gcc extensions. Also activates clang's -Wtypedef-redefinition
6145 warnings. Build some jobs with -std=gnu99, and some jobs without.
6146 Closes ticket 32500.
6149 Changes in version 0.4.1.7 - 2019-12-09
6150 This release backports several bugfixes to improve stability and
6151 correctness. Anyone experiencing build problems or crashes with 0.4.1.6,
6152 including all relays relying on AccountingMax, should upgrade.
6154 o Major features (directory authorities, backport from 0.4.2.2-alpha):
6155 - Directory authorities now reject relays running all currently
6156 deprecated release series. The currently supported release series
6157 are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
6159 o Major bugfixes (embedded Tor, backport from 0.4.2.2-alpha):
6160 - Avoid a possible crash when restarting Tor in embedded mode and
6161 enabling a different set of publish/subscribe messages. Fixes bug
6162 31898; bugfix on 0.4.1.1-alpha.
6164 o Major bugfixes (relay, backport from 0.4.2.3-alpha):
6165 - Relays now respect their AccountingMax bandwidth again. When
6166 relays entered "soft" hibernation (which typically starts when
6167 we've hit 90% of our AccountingMax), we had stopped checking
6168 whether we should enter hard hibernation. Soft hibernation refuses
6169 new connections and new circuits, but the existing circuits can
6170 continue, meaning that relays could have exceeded their configured
6171 AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
6173 o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
6174 - Stop ignoring torrc options after an %include directive, when the
6175 included directory ends with a file that does not contain any
6176 config options (but does contain comments or whitespace). Fixes
6177 bug 31408; bugfix on 0.3.1.1-alpha.
6179 o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
6180 - Onion services now always use the exact number of intro points
6181 configured with the HiddenServiceNumIntroductionPoints option (or
6182 fewer if nodes are excluded). Before, a service could sometimes
6183 pick more intro points than configured. Fixes bug 31548; bugfix
6186 o Minor features (continuous integration, backport from 0.4.2.2-alpha):
6187 - When building on Appveyor and Travis, pass the "-k" flag to make,
6188 so that we are informed of all compilation failures, not just the
6189 first one or two. Closes ticket 31372.
6191 o Minor features (geoip, backport from 0.4.2.5):
6192 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6193 Country database. Closes ticket 32685.
6195 o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
6196 - Avoid spurious errors when Appveyor CI fails before the install step.
6197 Fixes bug 31884; bugfix on 0.3.4.2-alpha.
6199 o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
6200 - Fix a BUG() assertion that occurs within a very small race window
6201 between when a client intro circuit opens and when its descriptor
6202 gets cleaned up from the cache. The circuit is now closed early,
6203 which will trigger a re-fetch of the descriptor and continue the
6204 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
6206 o Minor bugfixes (connections, backport from 0.4.2.3-rc):
6207 - Avoid trying to read data from closed connections, which can cause
6208 needless loops in Libevent and infinite loops in Shadow. Fixes bug
6209 30344; bugfix on 0.1.1.1-alpha.
6211 o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
6212 - On abort, try harder to flush the output buffers of log messages.
6213 On some platforms (macOS), log messages could be discarded when
6214 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6215 - Report the tor version whenever an assertion fails. Previously, we
6216 only reported the Tor version on some crashes, and some non-fatal
6217 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6218 - When tor aborts due to an error, close log file descriptors before
6219 aborting. Closing the logs makes some OSes flush log file buffers,
6220 rather than deleting buffered log lines. Fixes bug 31594; bugfix
6223 o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
6224 - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
6225 uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
6226 - Disable backtrace signal handlers when shutting down tor. Fixes
6227 bug 31614; bugfix on 0.2.5.2-alpha.
6228 - Rate-limit the logging message about the obsolete .exit
6229 notation. Previously, there was no limit on this warning, which
6230 could potentially be triggered many times by a hostile website.
6231 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
6233 o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
6234 - Do not log a nonfatal assertion failure when receiving a VERSIONS
6235 cell on a connection using the obsolete v1 link protocol. Log a
6236 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
6238 o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
6239 - Reset the periodic events' "enabled" flag when Tor is shut down
6240 cleanly. Previously, this flag was left on, which caused periodic
6241 events not to be re-enabled when Tor was relaunched in-process
6242 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
6245 o Minor bugfixes (multithreading, backport from 0.4.2.2-alpha):
6246 - Avoid some undefined behaviour when freeing mutexes. Fixes bug
6247 31736; bugfix on 0.0.7.
6249 o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
6250 - Remove overly strict assertions that triggered when a pluggable
6251 transport failed to launch. Fixes bug 31091; bugfix
6253 - Remove an assertion in the Unix process backend. This assertion
6254 would trigger when we failed to find the executable for a child
6255 process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
6257 o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
6258 - Avoid crashing when starting with a corrupt keys directory where
6259 the old ntor key and the new ntor key are identical. Fixes bug
6260 30916; bugfix on 0.2.4.8-alpha.
6262 o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
6263 - When testing port rebinding, don't busy-wait for tor to log.
6264 Instead, actually sleep for a short time before polling again.
6265 Also improve the formatting of control commands and log messages.
6266 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
6268 o Minor bugfixes (tests, SunOS, backport from 0.4.2.2-alpha):
6269 - Avoid a map_anon_nofork test failure due to a signed/unsigned
6270 integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
6272 o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
6273 - Log bugs about the TLS read buffer's length only once, rather than
6274 filling the logs with similar warnings. Fixes bug 31939; bugfix
6277 o Documentation (backport from 0.4.2.2-alpha):
6278 - Explain why we can't destroy the backtrace buffer mutex. Explain
6279 why we don't need to destroy the log mutex. Closes ticket 31736.
6281 o Testing (continuous integration, backport from 0.4.2.3-alpha):
6282 - Disable all but one Travis CI macOS build, to mitigate slow
6283 scheduling of Travis macOS jobs. Closes ticket 32177.
6284 - Run the chutney IPv6 networks as part of Travis CI. Closes
6286 - Simplify the Travis CI build matrix, and optimise for build time.
6287 Closes ticket 31859.
6288 - Use Windows Server 2019 instead of Windows Server 2016 in our
6289 Appveyor builds. Closes ticket 32086.
6291 o Testing (continuous integration, backport from 0.4.2.4-rc):
6292 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
6293 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
6294 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
6295 until we can fix some Bionic permissions issues (see ticket
6296 32240). Related to ticket 31919.
6297 - Install the mingw OpenSSL package in Appveyor. This makes sure
6298 that the OpenSSL headers and libraries match in Tor's Appveyor
6299 builds. (This bug was triggered by an Appveyor image update.)
6300 Fixes bug 32449; bugfix on 0.3.5.6-rc.
6302 o Testing (continuous integration, backport from 0.4.2.5):
6303 - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
6304 extensions. Also activates clang's -Wtypedef-redefinition warnings.
6305 Build some jobs with -std=gnu99, and some jobs without.
6306 Closes ticket 32500.
6309 Changes in version 0.4.0.6 - 2019-12-09
6310 This is the second stable release in the 0.4.0.x series. This release
6311 backports several bugfixes to improve stability and correctness. Anyone
6312 experiencing build problems or crashes with 0.4.0.5, including all relays
6313 relying on AccountingMax, should upgrade.
6315 Note that, per our support policy, support for the 0.4.0.x series will end
6316 on 2 Feb 2020. Anyone still running 0.4.0.x should plan to upgrade to the
6317 latest stable release, or downgrade to 0.3.5.x, which will get long-term
6318 support until 1 Feb 2022.
6320 o Directory authority changes (backport from 0.4.1.5):
6321 - The directory authority "dizum" has a new IP address. Closes
6324 o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
6325 - Consider our directory information to have changed when our list
6326 of bridges changes. Previously, Tor would not re-compute the
6327 status of its directory information when bridges changed, and
6328 therefore would not realize that it was no longer able to build
6329 circuits. Fixes part of bug 29875.
6330 - Do not count previously configured working bridges towards our
6331 total of working bridges. Previously, when Tor's list of bridges
6332 changed, it would think that the old bridges were still usable,
6333 and delay fetching router descriptors for the new ones. Fixes part
6334 of bug 29875; bugfix on 0.3.0.1-alpha.
6336 o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
6337 - When considering upgrading circuits from "waiting for guard" to
6338 "open", always ignore circuits that are marked for close. Otherwise,
6339 we can end up in the situation where a subsystem is notified that
6340 a closing circuit has just opened, leading to undesirable
6341 behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
6343 o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
6344 - Properly clean up the introduction point map when circuits change
6345 purpose from onion service circuits to pathbias, measurement, or
6346 other circuit types. This should fix some service-side instances
6347 of introduction point failure. Fixes bug 29034; bugfix
6350 o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
6351 - Fix an unreachable bug in which an introduction point could try to
6352 send an INTRODUCE_ACK with a status code that Trunnel would refuse
6353 to encode, leading the relay to assert(). We've consolidated the
6354 ABI values into Trunnel now. Fixes bug 30454; bugfix
6356 - Clients can now handle unknown status codes from INTRODUCE_ACK
6357 cells. (The NACK behavior will stay the same.) This will allow us
6358 to extend status codes in the future without breaking the normal
6359 client behavior. Fixes another part of bug 30454; bugfix
6362 o Major bugfixes (relay, backport from 0.4.2.3-alpha):
6363 - Relays now respect their AccountingMax bandwidth again. When
6364 relays entered "soft" hibernation (which typically starts when
6365 we've hit 90% of our AccountingMax), we had stopped checking
6366 whether we should enter hard hibernation. Soft hibernation refuses
6367 new connections and new circuits, but the existing circuits can
6368 continue, meaning that relays could have exceeded their configured
6369 AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
6371 o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
6372 - Stop ignoring torrc options after an %include directive, when the
6373 included directory ends with a file that does not contain any
6374 config options (but does contain comments or whitespace). Fixes
6375 bug 31408; bugfix on 0.3.1.1-alpha.
6377 o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
6378 - Onion services now always use the exact number of intro points
6379 configured with the HiddenServiceNumIntroductionPoints option (or
6380 fewer if nodes are excluded). Before, a service could sometimes
6381 pick more intro points than configured. Fixes bug 31548; bugfix
6384 o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
6385 - Add a "--list-modules" command to print a list of which compile-
6386 time modules are enabled. Closes ticket 30452.
6388 o Minor features (continuous integration, backport from 0.4.1.1-alpha):
6389 - Remove sudo configuration lines from .travis.yml as they are no
6390 longer needed with current Travis build environment. Resolves
6393 o Minor features (continuous integration, backport from 0.4.1.4-rc):
6394 - Our Travis configuration now uses Chutney to run some network
6395 integration tests automatically. Closes ticket 29280.
6397 o Minor features (continuous integration, backport from 0.4.2.2-alpha):
6398 - When building on Appveyor and Travis, pass the "-k" flag to make,
6399 so that we are informed of all compilation failures, not just the
6400 first one or two. Closes ticket 31372.
6402 o Minor features (fallback directory list, backport from 0.4.1.4-rc):
6403 - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
6404 in December 2018 (of which ~122 were still functional), with a
6405 list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
6406 in June 2019. Closes ticket 28795.
6408 o Minor features (geoip, backport from 0.4.2.5):
6409 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6410 Country database. Closes ticket 32685.
6412 o Minor features (stem tests, backport from 0.4.2.1-alpha):
6413 - Change "make test-stem" so it only runs the stem tests that use
6414 tor. This change makes test-stem faster and more reliable. Closes
6417 o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
6418 - Avoid spurious errors when Appveyor CI fails before the install step.
6419 Fixes bug 31884; bugfix on 0.3.4.2-alpha.
6421 o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
6422 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
6423 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
6425 o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
6426 - Fix a logic error that prevented the SessionGroup sub-option from
6427 being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
6429 o Minor bugfixes (circuit padding, backport from 0.4.1.4-rc):
6430 - On relays, properly check that a padding machine is absent before
6431 logging a warning about it being absent. Fixes bug 30649; bugfix
6434 o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
6435 - Fix a BUG() assertion that occurs within a very small race window
6436 between when a client intro circuit opens and when its descriptor
6437 gets cleaned up from the cache. The circuit is now closed early,
6438 which will trigger a re-fetch of the descriptor and continue the
6439 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
6441 o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
6442 - Don't believe clock skew results from NETINFO cells that appear to
6443 arrive before we sent the VERSIONS cells they are responding to.
6444 Previously, we would accept them up to 3 minutes "in the past".
6445 Fixes bug 31343; bugfix on 0.2.4.4-alpha.
6447 o Minor bugfixes (compilation warning, backport from 0.4.1.5):
6448 - Fix a compilation warning on Windows about casting a function
6449 pointer for GetTickCount64(). Fixes bug 31374; bugfix
6452 o Minor bugfixes (compilation, backport from 0.4.1.5):
6453 - Avoid using labs() on time_t, which can cause compilation warnings
6454 on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
6456 o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
6457 - Suppress spurious float-conversion warnings from GCC when calling
6458 floating-point classifier functions on FreeBSD. Fixes part of bug
6459 31687; bugfix on 0.3.1.5-alpha.
6461 o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
6462 - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
6463 due to missing declarations of abort(), and prevent other such
6464 failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
6466 o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
6467 - Fix a bug that prevented us from supporting SOCKS5 proxies that
6468 want authentication along with configured (but unused!)
6469 ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
6471 o Minor bugfixes (connections, backport from 0.4.2.3-rc):
6472 - Avoid trying to read data from closed connections, which can cause
6473 needless loops in Libevent and infinite loops in Shadow. Fixes bug
6474 30344; bugfix on 0.1.1.1-alpha.
6476 o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
6477 - Allow the test-stem job to fail in Travis, because it sometimes
6478 hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
6479 - Skip test_rebind on macOS in Travis, because it is unreliable on
6480 macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
6481 - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
6482 variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
6484 o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
6485 - Avoid a set of possible code paths that could try to use freed
6486 memory in routerlist_free() while Tor was exiting. Fixes bug
6487 31003; bugfix on 0.1.2.2-alpha.
6489 o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
6490 - Stop crashing after parsing an unknown descriptor purpose
6491 annotation. We think this bug can only be triggered by modifying a
6492 local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
6494 o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
6495 - Move the "bandwidth-file-headers" line in directory authority
6496 votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
6499 o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
6500 - On abort, try harder to flush the output buffers of log messages.
6501 On some platforms (macOS), log messages could be discarded when
6502 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6503 - Report the tor version whenever an assertion fails. Previously, we
6504 only reported the Tor version on some crashes, and some non-fatal
6505 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6507 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
6508 - When extracting an IPv6 address from a PF-based proxy, verify that
6509 we are actually configured to receive an IPv6 address, and log an
6510 internal error if not. Fixes part of bug 31687; bugfix
6513 o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
6514 - When tor is missing descriptors for some primary entry guards,
6515 make the log message less alarming. It's normal for descriptors to
6516 expire, as long as tor fetches new ones soon after. Fixes bug
6517 31657; bugfix on 0.3.3.1-alpha.
6519 o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
6520 - Do not log a warning when running with an OpenSSL version other
6521 than the one Tor was compiled with, if the two versions should be
6522 compatible. Previously, we would warn whenever the version was
6523 different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
6525 o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
6526 - Change log level of message "Hash of session info was not as
6527 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
6530 o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
6531 - Rate-limit the logging message about the obsolete .exit
6532 notation. Previously, there was no limit on this warning, which
6533 could potentially be triggered many times by a hostile website.
6534 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
6536 o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
6537 - Do not log a nonfatal assertion failure when receiving a VERSIONS
6538 cell on a connection using the obsolete v1 link protocol. Log a
6539 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
6541 o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
6542 - Reset the periodic events' "enabled" flag when Tor is shut down
6543 cleanly. Previously, this flag was left on, which caused periodic
6544 events not to be re-enabled when Tor was relaunched in-process
6545 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
6548 o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
6549 - Avoid a minor memory leak that could occur on relays when failing
6550 to create a "keys" directory. Fixes bug 30148; bugfix
6553 o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
6554 - Fix a trivial memory leak when parsing an invalid value
6555 from a download schedule in the configuration. Fixes bug
6556 30894; bugfix on 0.3.4.1-alpha.
6558 o Minor bugfixes (NetBSD, backport from 0.4.1.2-alpha):
6559 - Fix usage of minherit() on NetBSD and other platforms that define
6560 MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
6561 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
6563 o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
6564 - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
6565 implementation) when failing to load an onion service client
6566 authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
6568 o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
6569 - When purging the DNS cache because of an out-of-memory condition,
6570 try purging just the older entries at first. Previously, we would
6571 always purge the whole thing. Fixes bug 29617; bugfix
6574 o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
6575 - Avoid crashing in our tor_vasprintf() implementation on systems
6576 that define neither vasprintf() nor _vscprintf(). (This bug has
6577 been here long enough that we question whether people are running
6578 Tor on such systems, but we're applying the fix out of caution.)
6579 Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
6582 o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
6583 - Remove overly strict assertions that triggered when a pluggable
6584 transport failed to launch. Fixes bug 31091; bugfix
6586 - Remove an assertion in the Unix process backend. This assertion
6587 would trigger when we failed to find the executable for a child
6588 process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
6590 o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
6591 - Avoid crashing when starting with a corrupt keys directory where
6592 the old ntor key and the new ntor key are identical. Fixes bug
6593 30916; bugfix on 0.2.4.8-alpha.
6595 o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
6596 - Correctly exclude a redundant rust build job in Travis. Fixes bug
6597 31463; bugfix on 0.3.5.4-alpha.
6599 o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
6600 - When testing port rebinding, don't busy-wait for tor to log.
6601 Instead, actually sleep for a short time before polling again.
6602 Also improve the formatting of control commands and log messages.
6603 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
6605 o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
6606 - Log bugs about the TLS read buffer's length only once, rather than
6607 filling the logs with similar warnings. Fixes bug 31939; bugfix
6610 o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
6611 - Always retry v2 single onion service intro and rend circuits with
6612 a 3-hop path. Previously, v2 single onion services used a 3-hop
6613 path when rendezvous circuits were retried after a remote or
6614 delayed failure, but a 1-hop path for immediate retries. Fixes bug
6615 23818; bugfix on 0.2.9.3-alpha.
6616 - Make v3 single onion services fall back to a 3-hop intro, when all
6617 intro points are unreachable via a 1-hop path. Previously, v3
6618 single onion services failed when all intro nodes were unreachable
6619 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
6621 o Documentation (backport from 0.4.2.1-alpha):
6622 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
6623 notice.html so that operators no longer have to host it
6624 themselves. Closes ticket 31089.
6626 o Testing (backport from 0.4.1.2-alpha):
6627 - Specify torrc paths (with empty files) when launching tor in
6628 integration tests; refrain from reading user and system torrcs.
6629 Resolves issue 29702.
6631 o Testing (continuous integration, backport from 0.4.1.1-alpha):
6632 - In Travis, show stem's tor log after failure. Closes ticket 30234.
6634 o Testing (continuous integration, backport from 0.4.1.5):
6635 - In Travis, make stem log a controller trace to the console, and
6636 tail stem's tor log after failure. Closes ticket 30591.
6637 - In Travis, only run the stem tests that use a tor binary. Closes
6640 o Testing (continuous integration, backport from 0.4.2.3-alpha):
6641 - Disable all but one Travis CI macOS build, to mitigate slow
6642 scheduling of Travis macOS jobs. Closes ticket 32177.
6643 - Run the chutney IPv6 networks as part of Travis CI. Closes
6645 - Simplify the Travis CI build matrix, and optimise for build time.
6646 Closes ticket 31859.
6647 - Use Windows Server 2019 instead of Windows Server 2016 in our
6648 Appveyor builds. Closes ticket 32086.
6650 o Testing (continuous integration, backport from 0.4.2.4-rc):
6651 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
6652 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
6653 until we can fix some Bionic permissions issues (see ticket
6654 32240). Related to ticket 31919.
6655 - Install the mingw OpenSSL package in Appveyor. This makes sure
6656 that the OpenSSL headers and libraries match in Tor's Appveyor
6657 builds. (This bug was triggered by an Appveyor image update.)
6658 Fixes bug 32449; bugfix on 0.3.5.6-rc.
6659 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
6661 o Testing (continuous integration, backport from 0.4.2.5):
6662 - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
6663 extensions. Also activates clang's -Wtypedef-redefinition warnings.
6664 Build some jobs with -std=gnu99, and some jobs without.
6665 Closes ticket 32500.
6667 Changes in version 0.3.5.9 - 2019-12-09
6668 Tor 0.3.5.9 backports serveral fixes from later releases, including
6669 several that affect bridge users, relay stability, onion services,
6672 o Directory authority changes (backport from 0.4.1.5):
6673 - The directory authority "dizum" has a new IP address. Closes
6676 o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
6677 - Consider our directory information to have changed when our list
6678 of bridges changes. Previously, Tor would not re-compute the
6679 status of its directory information when bridges changed, and
6680 therefore would not realize that it was no longer able to build
6681 circuits. Fixes part of bug 29875.
6682 - Do not count previously configured working bridges towards our
6683 total of working bridges. Previously, when Tor's list of bridges
6684 changed, it would think that the old bridges were still usable,
6685 and delay fetching router descriptors for the new ones. Fixes part
6686 of bug 29875; bugfix on 0.3.0.1-alpha.
6688 o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
6689 - When considering upgrading circuits from "waiting for guard" to
6690 "open", always ignore circuits that are marked for close. Otherwise,
6691 we can end up in the situation where a subsystem is notified that
6692 a closing circuit has just opened, leading to undesirable
6693 behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
6695 o Major bugfixes (NSS, relay, backport from 0.4.0.4-rc):
6696 - When running with NSS, disable TLS 1.2 ciphersuites that use
6697 SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
6698 these ciphersuites don't work -- which caused relays to fail to
6699 handshake with one another when these ciphersuites were enabled.
6700 Fixes bug 29241; bugfix on 0.3.5.1-alpha.
6702 o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
6703 - Properly clean up the introduction point map when circuits change
6704 purpose from onion service circuits to pathbias, measurement, or
6705 other circuit types. This should fix some service-side instances
6706 of introduction point failure. Fixes bug 29034; bugfix
6709 o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
6710 - Fix an unreachable bug in which an introduction point could try to
6711 send an INTRODUCE_ACK with a status code that Trunnel would refuse
6712 to encode, leading the relay to assert(). We've consolidated the
6713 ABI values into Trunnel now. Fixes bug 30454; bugfix
6715 - Clients can now handle unknown status codes from INTRODUCE_ACK
6716 cells. (The NACK behavior will stay the same.) This will allow us
6717 to extend status codes in the future without breaking the normal
6718 client behavior. Fixes another part of bug 30454; bugfix
6721 o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
6722 - Stop ignoring torrc options after an %include directive, when the
6723 included directory ends with a file that does not contain any
6724 config options (but does contain comments or whitespace). Fixes
6725 bug 31408; bugfix on 0.3.1.1-alpha.
6727 o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
6728 - Onion services now always use the exact number of intro points
6729 configured with the HiddenServiceNumIntroductionPoints option (or
6730 fewer if nodes are excluded). Before, a service could sometimes
6731 pick more intro points than configured. Fixes bug 31548; bugfix
6734 o Minor features (address selection, backport from 0.4.0.3-alpha):
6735 - Treat the subnet 100.64.0.0/10 as public for some purposes;
6736 private for others. This subnet is the RFC 6598 (Carrier Grade
6737 NAT) IP range, and is deployed by many ISPs as an alternative to
6738 RFC 1918 that does not break existing internal networks. Tor now
6739 blocks SOCKS and control ports on these addresses and warns users
6740 if client ports or ExtORPorts are listening on a RFC 6598 address.
6741 Closes ticket 28525. Patch by Neel Chauhan.
6743 o Minor features (bandwidth authority, backport from 0.4.0.4-rc):
6744 - Make bandwidth authorities ignore relays that are reported in the
6745 bandwidth file with the flag "vote=0". This change allows us to
6746 report unmeasured relays for diagnostic reasons without including
6747 their bandwidth in the bandwidth authorities' vote. Closes
6750 o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
6751 - Add a "--list-modules" command to print a list of which compile-
6752 time modules are enabled. Closes ticket 30452.
6754 o Minor features (continuous integration, backport from 0.4.0.4-rc):
6755 - On Travis Rust builds, cleanup Rust registry and refrain from
6756 caching the "target/" directory to speed up builds. Resolves
6759 o Minor features (continuous integration, backport from 0.4.0.5):
6760 - In Travis, tell timelimit to use stem's backtrace signals, and
6761 launch python directly from timelimit, so python receives the
6762 signals from timelimit, rather than make. Closes ticket 30117.
6764 o Minor features (continuous integration, backport from 0.4.1.1-alpha):
6765 - Remove sudo configuration lines from .travis.yml as they are no
6766 longer needed with current Travis build environment. Resolves
6769 o Minor features (continuous integration, backport from 0.4.1.4-rc):
6770 - Our Travis configuration now uses Chutney to run some network
6771 integration tests automatically. Closes ticket 29280.
6773 o Minor features (continuous integration, backport from 0.4.2.2-alpha):
6774 - When building on Appveyor and Travis, pass the "-k" flag to make,
6775 so that we are informed of all compilation failures, not just the
6776 first one or two. Closes ticket 31372.
6778 o Minor features (fallback directory list, backport from 0.4.1.4-rc):
6779 - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
6780 in December 2018 (of which ~122 were still functional), with a
6781 list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
6782 in June 2019. Closes ticket 28795.
6784 o Minor features (geoip, backport from 0.4.2.5):
6785 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6786 Country database. Closes ticket 32685.
6788 o Minor features (NSS, diagnostic, backport from 0.4.0.4-rc):
6789 - Try to log an error from NSS (if there is any) and a more useful
6790 description of our situation if we are using NSS and a call to
6791 SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
6793 o Minor features (stem tests, backport from 0.4.2.1-alpha):
6794 - Change "make test-stem" so it only runs the stem tests that use
6795 tor. This change makes test-stem faster and more reliable. Closes
6798 o Minor bugfixes (security, backport from 0.4.0.4-rc):
6799 - Verify in more places that we are not about to create a buffer
6800 with more than INT_MAX bytes, to avoid possible OOB access in the
6801 event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
6802 fixed by Tobias Stoeckmann.
6803 - Fix a potential double free bug when reading huge bandwidth files.
6804 The issue is not exploitable in the current Tor network because
6805 the vulnerable code is only reached when directory authorities
6806 read bandwidth files, but bandwidth files come from a trusted
6807 source (usually the authorities themselves). Furthermore, the
6808 issue is only exploitable in rare (non-POSIX) 32-bit architectures,
6809 which are not used by any of the current authorities. Fixes bug
6810 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
6813 o Minor bugfix (continuous integration, backport from 0.4.0.4-rc):
6814 - Reset coverage state on disk after Travis CI has finished. This
6815 should prevent future coverage merge errors from causing the test
6816 suite for the "process" subsystem to fail. The process subsystem
6817 was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
6819 - Terminate test-stem if it takes more than 9.5 minutes to run.
6820 (Travis terminates the job after 10 minutes of no output.)
6821 Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
6823 o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
6824 - Avoid spurious errors when Appveyor CI fails before the install step.
6825 Fixes bug 31884; bugfix on 0.3.4.2-alpha.
6827 o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
6828 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
6829 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
6831 o Minor bugfixes (C correctness, backport from 0.4.0.4-rc):
6832 - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
6833 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
6836 o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
6837 - Fix a logic error that prevented the SessionGroup sub-option from
6838 being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
6840 o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
6841 - Fix a BUG() assertion that occurs within a very small race window
6842 between when a client intro circuit opens and when its descriptor
6843 gets cleaned up from the cache. The circuit is now closed early,
6844 which will trigger a re-fetch of the descriptor and continue the
6845 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
6847 o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
6848 - Don't believe clock skew results from NETINFO cells that appear to
6849 arrive before we sent the VERSIONS cells they are responding to.
6850 Previously, we would accept them up to 3 minutes "in the past".
6851 Fixes bug 31343; bugfix on 0.2.4.4-alpha.
6853 o Minor bugfixes (compilation warning, backport from 0.4.1.5):
6854 - Fix a compilation warning on Windows about casting a function
6855 pointer for GetTickCount64(). Fixes bug 31374; bugfix
6858 o Minor bugfixes (compilation, backport from 0.4.0.2-alpha):
6859 - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
6860 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
6862 o Minor bugfixes (compilation, backport from 0.4.1.5):
6863 - Avoid using labs() on time_t, which can cause compilation warnings
6864 on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
6866 o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
6867 - Suppress spurious float-conversion warnings from GCC when calling
6868 floating-point classifier functions on FreeBSD. Fixes part of bug
6869 31687; bugfix on 0.3.1.5-alpha.
6871 o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
6872 - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
6873 due to missing declarations of abort(), and prevent other such
6874 failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
6876 o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
6877 - Fix a bug that prevented us from supporting SOCKS5 proxies that
6878 want authentication along with configured (but unused!)
6879 ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
6881 o Minor bugfixes (connections, backport from 0.4.2.3-rc):
6882 - Avoid trying to read data from closed connections, which can cause
6883 needless loops in Libevent and infinite loops in Shadow. Fixes bug
6884 30344; bugfix on 0.1.1.1-alpha.
6886 o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
6887 - Allow the test-stem job to fail in Travis, because it sometimes
6888 hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
6889 - Skip test_rebind on macOS in Travis, because it is unreliable on
6890 macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
6891 - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
6892 variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
6894 o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
6895 - Avoid a set of possible code paths that could try to use freed
6896 memory in routerlist_free() while Tor was exiting. Fixes bug
6897 31003; bugfix on 0.1.2.2-alpha.
6899 o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
6900 - Stop crashing after parsing an unknown descriptor purpose
6901 annotation. We think this bug can only be triggered by modifying a
6902 local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
6904 o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
6905 - Move the "bandwidth-file-headers" line in directory authority
6906 votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
6909 o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
6910 - On abort, try harder to flush the output buffers of log messages.
6911 On some platforms (macOS), log messages could be discarded when
6912 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6913 - Report the tor version whenever an assertion fails. Previously, we
6914 only reported the Tor version on some crashes, and some non-fatal
6915 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6917 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
6918 - When extracting an IPv6 address from a PF-based proxy, verify that
6919 we are actually configured to receive an IPv6 address, and log an
6920 internal error if not. Fixes part of bug 31687; bugfix
6923 o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
6924 - When tor is missing descriptors for some primary entry guards,
6925 make the log message less alarming. It's normal for descriptors to
6926 expire, as long as tor fetches new ones soon after. Fixes bug
6927 31657; bugfix on 0.3.3.1-alpha.
6929 o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
6930 - Avoid logging that we are relaxing a circuit timeout when that
6931 timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
6933 o Minor bugfixes (logging, backport from 0.4.0.3-alpha):
6934 - Correct a misleading error message when IPv4Only or IPv6Only is
6935 used but the resolved address can not be interpreted as an address
6936 of the specified IP version. Fixes bug 13221; bugfix on
6937 0.2.3.9-alpha. Patch from Kris Katterjohn.
6938 - Log the correct port number for listening sockets when "auto" is
6939 used to let Tor pick the port number. Previously, port 0 was
6940 logged instead of the actual port number. Fixes bug 29144; bugfix
6941 on 0.3.5.1-alpha. Patch from Kris Katterjohn.
6942 - Stop logging a BUG() warning when Tor is waiting for exit
6943 descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
6945 o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
6946 - Do not log a warning when running with an OpenSSL version other
6947 than the one Tor was compiled with, if the two versions should be
6948 compatible. Previously, we would warn whenever the version was
6949 different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
6951 o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
6952 - Change log level of message "Hash of session info was not as
6953 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
6956 o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
6957 - Rate-limit the logging message about the obsolete .exit
6958 notation. Previously, there was no limit on this warning, which
6959 could potentially be triggered many times by a hostile website.
6960 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
6962 o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
6963 - Do not log a nonfatal assertion failure when receiving a VERSIONS
6964 cell on a connection using the obsolete v1 link protocol. Log a
6965 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
6967 o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
6968 - Reset the periodic events' "enabled" flag when Tor is shut down
6969 cleanly. Previously, this flag was left on, which caused periodic
6970 events not to be re-enabled when Tor was relaunched in-process
6971 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
6974 o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
6975 - Avoid a minor memory leak that could occur on relays when failing
6976 to create a "keys" directory. Fixes bug 30148; bugfix
6979 o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
6980 - Fix a trivial memory leak when parsing an invalid value
6981 from a download schedule in the configuration. Fixes bug
6982 30894; bugfix on 0.3.4.1-alpha.
6984 o Minor bugfixes (memory management, backport from 0.4.0.3-alpha):
6985 - Refactor the shared random state's memory management so that it
6986 actually takes ownership of the shared random value pointers.
6987 Fixes bug 29706; bugfix on 0.2.9.1-alpha.
6989 o Minor bugfixes (memory management, testing, backport from 0.4.0.3-alpha):
6990 - Stop leaking parts of the shared random state in the shared-random
6991 unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
6993 o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
6994 - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
6995 implementation) when failing to load an onion service client
6996 authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
6998 o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
6999 - When purging the DNS cache because of an out-of-memory condition,
7000 try purging just the older entries at first. Previously, we would
7001 always purge the whole thing. Fixes bug 29617; bugfix
7004 o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
7005 - Avoid crashing in our tor_vasprintf() implementation on systems
7006 that define neither vasprintf() nor _vscprintf(). (This bug has
7007 been here long enough that we question whether people are running
7008 Tor on such systems, but we're applying the fix out of caution.)
7009 Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
7012 o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
7013 - Avoid crashing when starting with a corrupt keys directory where
7014 the old ntor key and the new ntor key are identical. Fixes bug
7015 30916; bugfix on 0.2.4.8-alpha.
7017 o Minor bugfixes (rust, backport from 0.4.0.5):
7018 - Abort on panic in all build profiles, instead of potentially
7019 unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
7021 o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
7022 - Correctly exclude a redundant rust build job in Travis. Fixes bug
7023 31463; bugfix on 0.3.5.4-alpha.
7025 o Minor bugfixes (single onion services, backport from 0.4.0.3-alpha):
7026 - Allow connections to single onion services to remain idle without
7027 being disconnected. Previously, relays acting as rendezvous points
7028 for single onion services were mistakenly closing idle rendezvous
7029 circuits after 60 seconds, thinking that they were unused
7030 directory-fetching circuits that had served their purpose. Fixes
7031 bug 29665; bugfix on 0.2.1.26.
7033 o Minor bugfixes (stats, backport from 0.4.0.3-alpha):
7034 - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
7035 relay and bridge extra-info documents. Fixes bug 29017; bugfix
7038 o Minor bugfixes (testing, backport from 0.4.0.3-alpha):
7039 - Downgrade some LOG_ERR messages in the address/* tests to
7040 warnings. The LOG_ERR messages were occurring when we had no
7041 configured network. We were failing the unit tests, because we
7042 backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
7043 29530; bugfix on 0.3.5.8.
7044 - Fix our gcov wrapper script to look for object files at the
7045 correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
7047 o Minor bugfixes (testing, backport from 0.4.0.4-rc):
7048 - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
7049 recent test-network.sh to use new chutney features in CI. Fixes
7050 bug 29703; bugfix on 0.2.9.1-alpha.
7051 - Fix a test failure on Windows caused by an unexpected "BUG"
7052 warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
7055 o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
7056 - When testing port rebinding, don't busy-wait for tor to log.
7057 Instead, actually sleep for a short time before polling again.
7058 Also improve the formatting of control commands and log messages.
7059 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
7061 o Minor bugfixes (TLS protocol, backport form 0.4.0.4-rc):
7062 - When classifying a client's selection of TLS ciphers, if the
7063 client ciphers are not yet available, do not cache the result.
7064 Previously, we had cached the unavailability of the cipher list
7065 and never looked again, which in turn led us to assume that the
7066 client only supported the ancient V1 link protocol. This, in turn,
7067 was causing Stem integration tests to stall in some cases. Fixes
7068 bug 30021; bugfix on 0.2.4.8-alpha.
7070 o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
7071 - Log bugs about the TLS read buffer's length only once, rather than
7072 filling the logs with similar warnings. Fixes bug 31939; bugfix
7075 o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
7076 - Always retry v2 single onion service intro and rend circuits with
7077 a 3-hop path. Previously, v2 single onion services used a 3-hop
7078 path when rendezvous circuits were retried after a remote or
7079 delayed failure, but a 1-hop path for immediate retries. Fixes bug
7080 23818; bugfix on 0.2.9.3-alpha.
7081 - Make v3 single onion services fall back to a 3-hop intro, when all
7082 intro points are unreachable via a 1-hop path. Previously, v3
7083 single onion services failed when all intro nodes were unreachable
7084 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
7086 o Minor bugfixes (Windows, CI, backport from 0.4.0.3-alpha):
7087 - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
7088 Windows Server 2012 R2 job. The remaining 2 jobs still provide
7089 coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
7090 fast_finish, so failed jobs terminate the build immediately. Fixes
7091 bug 29601; bugfix on 0.3.5.4-alpha.
7093 o Documentation (backport from 0.4.2.1-alpha):
7094 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
7095 notice.html so that operators no longer have to host it
7096 themselves. Closes ticket 31089.
7098 o Testing (backport from 0.4.1.2-alpha):
7099 - Specify torrc paths (with empty files) when launching tor in
7100 integration tests; refrain from reading user and system torrcs.
7101 Resolves issue 29702.
7103 o Testing (continuous integration, backport from 0.4.1.1-alpha):
7104 - In Travis, show stem's tor log after failure. Closes ticket 30234.
7106 o Testing (continuous integration, backport from 0.4.1.5):
7107 - In Travis, make stem log a controller trace to the console, and
7108 tail stem's tor log after failure. Closes ticket 30591.
7109 - In Travis, only run the stem tests that use a tor binary. Closes
7112 o Testing (continuous integration, backport from 0.4.2.3-alpha):
7113 - Disable all but one Travis CI macOS build, to mitigate slow
7114 scheduling of Travis macOS jobs. Closes ticket 32177.
7115 - Run the chutney IPv6 networks as part of Travis CI. Closes
7117 - Simplify the Travis CI build matrix, and optimise for build time.
7118 Closes ticket 31859.
7119 - Use Windows Server 2019 instead of Windows Server 2016 in our
7120 Appveyor builds. Closes ticket 32086.
7122 o Testing (continuous integration, backport from 0.4.2.4-rc):
7123 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
7124 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
7125 until we can fix some Bionic permissions issues (see ticket
7126 32240). Related to ticket 31919.
7127 - Install the mingw OpenSSL package in Appveyor. This makes sure
7128 that the OpenSSL headers and libraries match in Tor's Appveyor
7129 builds. (This bug was triggered by an Appveyor image update.)
7130 Fixes bug 32449; bugfix on 0.3.5.6-rc.
7131 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
7133 o Testing (continuous integration, backport from 0.4.2.5):
7134 - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
7135 extensions. Also activates clang's -Wtypedef-redefinition warnings.
7136 Build some jobs with -std=gnu99, and some jobs without.
7137 Closes ticket 32500.
7139 Changes in version 0.4.2.4-rc - 2019-11-15
7140 Tor 0.4.2.4-rc is the first release candidate in its series. It fixes
7141 several bugs from earlier versions, including a few that would result in
7142 stack traces or incorrect behavior.
7144 o Minor features (build system):
7145 - Make pkg-config use --prefix when cross-compiling, if
7146 PKG_CONFIG_PATH is not set. Closes ticket 32191.
7148 o Minor features (geoip):
7149 - Update geoip and geoip6 to the November 6 2019 Maxmind GeoLite2
7150 Country database. Closes ticket 32440.
7152 o Minor bugfixes (client, onion service v3):
7153 - Fix a BUG() assertion that occurs within a very small race window
7154 between when a client intro circuit opens and when its descriptor
7155 gets cleaned up from the cache. The circuit is now closed early,
7156 which will trigger a re-fetch of the descriptor and continue the
7157 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
7159 o Minor bugfixes (code quality):
7160 - Fix "make check-includes" so it runs correctly on out-of-tree
7161 builds. Fixes bug 31335; bugfix on 0.3.5.1-alpha.
7163 o Minor bugfixes (configuration):
7164 - Log the option name when skipping an obsolete option. Fixes bug
7165 32295; bugfix on 0.4.2.1-alpha.
7167 o Minor bugfixes (crash):
7168 - When running Tor with an option like --verify-config or
7169 --dump-config that does not start the event loop, avoid crashing
7170 if we try to exit early because of an error. Fixes bug 32407;
7171 bugfix on 0.3.3.1-alpha.
7173 o Minor bugfixes (directory):
7174 - When checking if a directory connection is anonymous, test if the
7175 circuit was marked for close before looking at its channel. This
7176 avoids a BUG() stacktrace if the circuit was previously closed.
7177 Fixes bug 31958; bugfix on 0.4.2.1-alpha.
7179 o Minor bugfixes (shellcheck):
7180 - Fix minor shellcheck errors in the git-*.sh scripts. Fixes bug
7181 32402; bugfix on 0.4.2.1-alpha.
7182 - Start checking most scripts for shellcheck errors again. Fixes bug
7183 32402; bugfix on 0.4.2.1-alpha.
7185 o Testing (continuous integration):
7186 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
7187 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
7188 until we can fix some Bionic permissions issues (see ticket
7189 32240). Related to ticket 31919.
7190 - Install the mingw OpenSSL package in Appveyor. This makes sure
7191 that the OpenSSL headers and libraries match in Tor's Appveyor
7192 builds. (This bug was triggered by an Appveyor image update.)
7193 Fixes bug 32449; bugfix on 0.3.5.6-rc.
7194 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
7197 Changes in version 0.4.2.3-alpha - 2019-10-24
7198 This release fixes several bugs from the previous alpha release, and
7199 from earlier versions of Tor.
7201 o Major bugfixes (relay):
7202 - Relays now respect their AccountingMax bandwidth again. When
7203 relays entered "soft" hibernation (which typically starts when
7204 we've hit 90% of our AccountingMax), we had stopped checking
7205 whether we should enter hard hibernation. Soft hibernation refuses
7206 new connections and new circuits, but the existing circuits can
7207 continue, meaning that relays could have exceeded their configured
7208 AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
7210 o Major bugfixes (v3 onion services):
7211 - Onion services now always use the exact number of intro points
7212 configured with the HiddenServiceNumIntroductionPoints option (or
7213 fewer if nodes are excluded). Before, a service could sometimes
7214 pick more intro points than configured. Fixes bug 31548; bugfix
7217 o Minor feature (onion services, control port):
7218 - The ADD_ONION command's keyword "BEST" now defaults to ED25519-V3
7219 (v3) onion services. Previously it defaulted to RSA1024 (v2).
7220 Closes ticket 29669.
7222 o Minor features (testing):
7223 - When running tests that attempt to look up hostnames, replace the
7224 libc name lookup functions with ones that do not actually touch
7225 the network. This way, the tests complete more quickly in the
7226 presence of a slow or missing DNS resolver. Closes ticket 31841.
7228 o Minor features (testing, continuous integration):
7229 - Disable all but one Travis CI macOS build, to mitigate slow
7230 scheduling of Travis macOS jobs. Closes ticket 32177.
7231 - Run the chutney IPv6 networks as part of Travis CI. Closes
7233 - Simplify the Travis CI build matrix, and optimise for build time.
7234 Closes ticket 31859.
7235 - Use Windows Server 2019 instead of Windows Server 2016 in our
7236 Appveyor builds. Closes ticket 32086.
7238 o Minor bugfixes (build system):
7239 - Interpret "--disable-module-dirauth=no" correctly. Fixes bug
7240 32124; bugfix on 0.3.4.1-alpha.
7241 - Interpret "--with-tcmalloc=no" correctly. Fixes bug 32124; bugfix
7243 - Stop failing when jemalloc is requested, but tcmalloc is not
7244 found. Fixes bug 32124; bugfix on 0.3.5.1-alpha.
7245 - When pkg-config is not installed, or a library that depends on
7246 pkg-config is not found, tell the user what to do to fix the
7247 problem. Fixes bug 31922; bugfix on 0.3.1.1-alpha.
7249 o Minor bugfixes (connections):
7250 - Avoid trying to read data from closed connections, which can cause
7251 needless loops in Libevent and infinite loops in Shadow. Fixes bug
7252 30344; bugfix on 0.1.1.1-alpha.
7254 o Minor bugfixes (error handling):
7255 - Always lock the backtrace buffer before it is used. Fixes bug
7256 31734; bugfix on 0.2.5.3-alpha.
7258 o Minor bugfixes (mainloop, periodic events, in-process API):
7259 - Reset the periodic events' "enabled" flag when Tor is shut down
7260 cleanly. Previously, this flag was left on, which caused periodic
7261 events not to be re-enabled when Tor was relaunched in-process
7262 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
7265 o Minor bugfixes (process management):
7266 - Remove overly strict assertions that triggered when a pluggable
7267 transport failed to launch. Fixes bug 31091; bugfix
7269 - Remove an assertion in the Unix process backend. This assertion
7270 would trigger when we failed to find the executable for a child
7271 process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
7273 o Minor bugfixes (testing):
7274 - Avoid intermittent test failures due to a test that had relied on
7275 inconsistent timing sources. Fixes bug 31995; bugfix
7277 - When testing port rebinding, don't busy-wait for tor to log.
7278 Instead, actually sleep for a short time before polling again.
7279 Also improve the formatting of control commands and log messages.
7280 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
7282 o Minor bugfixes (tls, logging):
7283 - Log bugs about the TLS read buffer's length only once, rather than
7284 filling the logs with similar warnings. Fixes bug 31939; bugfix
7287 o Minor bugfixes (v3 onion services):
7288 - Fix an implicit conversion from ssize_t to size_t discovered by
7289 Coverity. Fixes bug 31682; bugfix on 0.4.2.1-alpha.
7290 - Fix a memory leak in an unlikely error code path when encoding HS
7291 DoS establish intro extension cell. Fixes bug 32063; bugfix
7293 - When cleaning up intro circuits for a v3 onion service, don't
7294 remove circuits that have an established or pending circuit, even
7295 if they ran out of retries. This way, we don't remove a circuit on
7296 its last retry. Fixes bug 31652; bugfix on 0.3.2.1-alpha.
7299 - Correct the description of "GuardLifetime". Fixes bug 31189;
7300 bugfix on 0.3.0.1-alpha.
7301 - Make clear in the man page, in both the bandwidth section and the
7302 AccountingMax section, that Tor counts in powers of two, not
7303 powers of ten: 1 GByte is 1024*1024*1024 bytes, not one billion
7304 bytes. Resolves ticket 32106.
7307 Changes in version 0.4.2.2-alpha - 2019-10-07
7308 This release fixes several bugs from the previous alpha release, and
7309 from earlier versions. It also includes a change in authorities, so
7310 that they begin to reject the currently unsupported release series.
7312 o Major features (directory authorities):
7313 - Directory authorities now reject relays running all currently
7314 deprecated release series. The currently supported release series
7315 are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
7317 o Major bugfixes (embedded Tor):
7318 - Avoid a possible crash when restarting Tor in embedded mode and
7319 enabling a different set of publish/subscribe messages. Fixes bug
7320 31898; bugfix on 0.4.1.1-alpha.
7322 o Major bugfixes (torrc parsing):
7323 - Stop ignoring torrc options after an %include directive, when the
7324 included directory ends with a file that does not contain any
7325 config options (but does contain comments or whitespace). Fixes
7326 bug 31408; bugfix on 0.3.1.1-alpha.
7328 o Minor features (auto-formatting scripts):
7329 - When annotating C macros, never generate a line that our check-
7330 spaces script would reject. Closes ticket 31759.
7331 - When annotating C macros, try to remove cases of double-negation.
7332 Closes ticket 31779.
7334 o Minor features (continuous integration):
7335 - When building on Appveyor and Travis, pass the "-k" flag to make,
7336 so that we are informed of all compilation failures, not just the
7337 first one or two. Closes ticket 31372.
7339 o Minor features (geoip):
7340 - Update geoip and geoip6 to the October 1 2019 Maxmind GeoLite2
7341 Country database. Closes ticket 31931.
7343 o Minor features (maintenance scripts):
7344 - Add a Coccinelle script to detect bugs caused by incrementing or
7345 decrementing a variable inside a call to log_debug(). Since
7346 log_debug() is a macro whose arguments are conditionally
7347 evaluated, it is usually an error to do this. One such bug was
7348 30628, in which SENDME cells were miscounted by a decrement
7349 operator inside a log_debug() call. Closes ticket 30743.
7351 o Minor features (onion services v3):
7352 - Assist users who try to setup v2 client authorization in v3 onion
7353 services by pointing them to the right documentation. Closes
7356 o Minor bugfixes (Appveyor continuous integration):
7357 - Avoid spurious errors when Appveyor CI fails before the install
7358 step. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
7360 o Minor bugfixes (best practices tracker):
7361 - When listing overbroad exceptions, do not also list problems, and
7362 do not list insufficiently broad exceptions. Fixes bug 31338;
7363 bugfix on 0.4.2.1-alpha.
7365 o Minor bugfixes (controller protocol):
7366 - Fix the MAPADDRESS controller command to accept one or more
7367 arguments. Previously, it required two or more arguments, and
7368 ignored the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
7370 o Minor bugfixes (logging):
7371 - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
7372 uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
7373 - Disable backtrace signal handlers when shutting down tor. Fixes
7374 bug 31614; bugfix on 0.2.5.2-alpha.
7375 - Rate-limit the logging message about the obsolete .exit
7376 notation. Previously, there was no limit on this warning, which
7377 could potentially be triggered many times by a hostile website.
7378 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
7379 - When initialising log domain masks, only set known log domains.
7380 Fixes bug 31854; bugfix on 0.2.1.1-alpha.
7382 o Minor bugfixes (logging, protocol violations):
7383 - Do not log a nonfatal assertion failure when receiving a VERSIONS
7384 cell on a connection using the obsolete v1 link protocol. Log a
7385 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
7387 o Minor bugfixes (modules):
7388 - Explain what the optional Directory Authority module is, and what
7389 happens when it is disabled. Fixes bug 31825; bugfix
7392 o Minor bugfixes (multithreading):
7393 - Avoid some undefined behaviour when freeing mutexes. Fixes bug
7394 31736; bugfix on 0.0.7.
7396 o Minor bugfixes (relay):
7397 - Avoid crashing when starting with a corrupt keys directory where
7398 the old ntor key and the new ntor key are identical. Fixes bug
7399 30916; bugfix on 0.2.4.8-alpha.
7401 o Minor bugfixes (tests, SunOS):
7402 - Avoid a map_anon_nofork test failure due to a signed/unsigned
7403 integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
7405 o Code simplification and refactoring:
7406 - Refactor connection_control_process_inbuf() to reduce the size of
7407 a practracker exception. Closes ticket 31840.
7408 - Refactor the microdescs_parse_from_string() function into smaller
7409 pieces, for better comprehensibility. Closes ticket 31675.
7410 - Use SEVERITY_MASK_IDX() to find the LOG_* mask indexes in the unit
7411 tests and fuzzers, rather than using hard-coded values. Closes
7413 - Interface for function `decrypt_desc_layer` cleaned up. Closes
7417 - Document the signal-safe logging behaviour in the tor man page.
7418 Also add some comments to the relevant functions. Closes
7420 - Explain why we can't destroy the backtrace buffer mutex. Explain
7421 why we don't need to destroy the log mutex. Closes ticket 31736.
7422 - The Tor source code repository now includes a (somewhat dated)
7423 description of Tor's modular architecture, in doc/HACKING/design.
7424 This is based on the old "tor-guts.git" repository, which we are
7425 adopting and superseding. Closes ticket 31849.
7428 Changes in version 0.4.1.6 - 2019-09-19
7429 This release backports several bugfixes to improve stability and
7430 correctness. Anyone experiencing build problems or crashes with 0.4.1.5,
7431 or experiencing reliability issues with single onion services, should
7434 o Major bugfixes (crash, Linux, Android, backport from 0.4.2.1-alpha):
7435 - Tolerate systems (including some Android installations) where
7436 madvise and MADV_DONTDUMP are available at build-time, but not at
7437 run time. Previously, these systems would notice a failed syscall
7438 and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
7439 - Tolerate systems (including some Linux installations) where
7440 madvise and/or MADV_DONTFORK are available at build-time, but not
7441 at run time. Previously, these systems would notice a failed
7442 syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
7444 o Minor features (stem tests, backport from 0.4.2.1-alpha):
7445 - Change "make test-stem" so it only runs the stem tests that use
7446 tor. This change makes test-stem faster and more reliable. Closes
7449 o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
7450 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
7451 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
7453 o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
7454 - Add more stub functions to fix compilation on Android with link-
7455 time optimization when --disable-module-dirauth is used.
7456 Previously, these compilation settings would make the compiler
7457 look for functions that didn't exist. Fixes bug 31552; bugfix
7459 - Suppress spurious float-conversion warnings from GCC when calling
7460 floating-point classifier functions on FreeBSD. Fixes part of bug
7461 31687; bugfix on 0.3.1.5-alpha.
7463 o Minor bugfixes (controller protocol):
7464 - Fix the MAPADDRESS controller command to accept one or more
7465 arguments. Previously, it required two or more arguments, and ignored
7466 the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
7468 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
7469 - When extracting an IPv6 address from a PF-based proxy, verify that
7470 we are actually configured to receive an IPv6 address, and log an
7471 internal error if not. Fixes part of bug 31687; bugfix
7474 o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
7475 - When tor is missing descriptors for some primary entry guards,
7476 make the log message less alarming. It's normal for descriptors to
7477 expire, as long as tor fetches new ones soon after. Fixes bug
7478 31657; bugfix on 0.3.3.1-alpha.
7480 o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
7481 - Change log level of message "Hash of session info was not as
7482 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
7485 o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
7486 - Correctly exclude a redundant rust build job in Travis. Fixes bug
7487 31463; bugfix on 0.3.5.4-alpha.
7489 o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
7490 - Always retry v2 single onion service intro and rend circuits with
7491 a 3-hop path. Previously, v2 single onion services used a 3-hop
7492 path when rendezvous circuits were retried after a remote or
7493 delayed failure, but a 1-hop path for immediate retries. Fixes bug
7494 23818; bugfix on 0.2.9.3-alpha.
7496 o Minor bugfixes (v3 single onion services, backport from 0.4.2.1-alpha):
7497 - Always retry v3 single onion service intro and rend circuits with
7498 a 3-hop path. Previously, v3 single onion services used a 3-hop
7499 path when rend circuits were retried after a remote or delayed
7500 failure, but a 1-hop path for immediate retries. Fixes bug 23818;
7501 bugfix on 0.3.2.1-alpha.
7502 - Make v3 single onion services fall back to a 3-hop intro, when all
7503 intro points are unreachable via a 1-hop path. Previously, v3
7504 single onion services failed when all intro nodes were unreachable
7505 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
7507 o Documentation (backport from 0.4.2.1-alpha):
7508 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
7509 notice.html so that operators no longer have to host it
7510 themselves. Closes ticket 31089.
7513 Changes in version 0.4.2.1-alpha - 2019-09-17
7514 This is the first alpha release in the 0.4.2.x series. It adds new
7515 defenses for denial-of-service attacks against onion services. It also
7516 includes numerous kinds of bugfixes and refactoring to help improve
7517 Tor's stability and ease of development.
7519 o Major features (onion service v3, denial of service):
7520 - Add onion service introduction denial of service defenses. Intro
7521 points can now rate-limit client introduction requests, using
7522 parameters that can be sent by the service within the
7523 ESTABLISH_INTRO cell. If the cell extension for this is not used,
7524 the intro point will honor the consensus parameters. Closes
7527 o Major bugfixes (circuit build, guard):
7528 - When considering upgrading circuits from "waiting for guard" to
7529 "open", always ignore circuits that are marked for close.
7530 Previously we could end up in the situation where a subsystem is
7531 notified of a circuit opening, but the circuit is still marked for
7532 close, leading to undesirable behavior. Fixes bug 30871; bugfix
7535 o Major bugfixes (crash, Linux, Android):
7536 - Tolerate systems (including some Android installations) where
7537 madvise and MADV_DONTDUMP are available at build-time, but not at
7538 run time. Previously, these systems would notice a failed syscall
7539 and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
7540 - Tolerate systems (including some Linux installations) where
7541 madvise and/or MADV_DONTFORK are available at build-time, but not
7542 at run time. Previously, these systems would notice a failed
7543 syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
7545 o Minor features (best practices tracker):
7546 - Our best-practices tracker now integrates with our include-checker
7547 tool to keep track of how many layering violations we have not yet
7548 fixed. We hope to reduce this number over time to improve Tor's
7549 modularity. Closes ticket 31176.
7550 - Add a TOR_PRACTRACKER_OPTIONS variable for passing arguments to
7551 practracker from the environment. We may want this for continuous
7552 integration. Closes ticket 31309.
7553 - Give a warning rather than an error when a practracker exception
7554 is violated by a small amount, add a --list-overbroad option to
7555 practracker that lists exceptions that are stricter than they need
7556 to be, and provide an environment variable for disabling
7557 practracker. Closes ticket 30752.
7558 - Our best-practices tracker now looks at headers as well as C
7559 files. Closes ticket 31175.
7561 o Minor features (build system):
7562 - Add --disable-manpage and --disable-html-manual options to
7563 configure script. This will enable shortening build times by not
7564 building documentation. Resolves issue 19381.
7566 o Minor features (compilation):
7567 - Log a more useful error message when we are compiling and one of
7568 the compile-time hardening options we have selected can be linked
7569 but not executed. Closes ticket 27530.
7571 o Minor features (configuration):
7572 - The configuration code has been extended to allow splitting
7573 configuration data across multiple objects. Previously, all
7574 configuration data needed to be kept in a single object, which
7575 tended to become bloated. Closes ticket 31240.
7577 o Minor features (continuous integration):
7578 - When running CI builds on Travis, put some random data in
7579 ~/.torrc, to make sure no tests are reading the Tor configuration
7580 file from its default location. Resolves issue 30102.
7582 o Minor features (debugging):
7583 - Log a nonfatal assertion failure if we encounter a configuration
7584 line whose command is "CLEAR" but which has a nonempty value. This
7585 should be impossible, according to the rules of our configuration
7586 line parsing. Closes ticket 31529.
7588 o Minor features (git hooks):
7589 - Our pre-commit git hook now checks for a special file before
7590 running practracker, so that practracker only runs on branches
7591 that are based on master. Since the pre-push hook calls the pre-
7592 commit hook, practracker will also only run before pushes of
7593 branches based on master. Closes ticket 30979.
7595 o Minor features (git scripts):
7596 - Add a "--" command-line argument, to separate git-push-all.sh
7597 script arguments from arguments that are passed through to git
7598 push. Closes ticket 31314.
7599 - Add a -r <remote-name> argument to git-push-all.sh, so the script
7600 can push test branches to a personal remote. Closes ticket 31314.
7601 - Add a -t <test-branch-prefix> argument to git-merge-forward.sh and
7602 git-push-all.sh, which makes these scripts create, merge forward,
7603 and push test branches. Closes ticket 31314.
7604 - Add a -u argument to git-merge-forward.sh, so that the script can
7605 re-use existing test branches after a merge failure and fix.
7606 Closes ticket 31314.
7607 - Add a TOR_GIT_PUSH env var, which sets the default git push
7608 command and arguments for git-push-all.sh. Closes ticket 31314.
7609 - Add a TOR_PUSH_DELAY variable to git-push-all.sh, which makes the
7610 script push master and maint branches with a delay between each
7611 branch. These delays trigger the CI jobs in a set order, which
7612 should show the most likely failures first. Also make pushes
7613 atomic by default, and make the script pass any command-line
7614 arguments to git push. Closes ticket 29879.
7615 - Call the shellcheck script from the pre-commit hook. Closes
7617 - Skip pushing test branches that are the same as a remote
7618 maint/release/master branch in git-push-all.sh by default. Add a
7619 -s argument, so git-push-all.sh can push all test branches. Closes
7622 o Minor features (IPv6, logging):
7623 - Log IPv6 addresses as well as IPv4 addresses when describing
7624 routerinfos, routerstatuses, and nodes. Closes ticket 21003.
7626 o Minor features (onion service v3):
7627 - Do not allow single hop clients to fetch or post an HS descriptor
7628 from an HSDir. Closes ticket 24964.
7630 o Minor features (onion service):
7631 - Disallow single-hop clients at the introduction point. We've
7632 removed Tor2web support a while back and single-hop rendezvous
7633 attempts are blocked at the relays. This change should remove load
7634 off the network from spammy clients. Close ticket 24963.
7636 o Minor features (stem tests):
7637 - Change "make test-stem" so it only runs the stem tests that use
7638 tor. This change makes test-stem faster and more reliable. Closes
7641 o Minor features (testing):
7642 - Add a script to invoke "tor --dump-config" and "tor
7643 --verify-config" with various configuration options, and see
7644 whether tor's resulting configuration or error messages are what
7645 we expect. Use it for integration testing of our +Option and
7646 /Option flags. Closes ticket 31637.
7647 - Improve test coverage for our existing configuration parsing and
7648 management API. Closes ticket 30893.
7649 - Add integration tests to make sure that practracker gives the
7650 outputs we expect. Closes ticket 31477.
7651 - The practracker self-tests are now run as part of the Tor test
7652 suite. Closes ticket 31304.
7654 o Minor features (token bucket):
7655 - Implement a generic token bucket that uses a single counter, for
7656 use in anti-DoS onion service work. Closes ticket 30687.
7658 o Minor bugfixes (best practices tracker):
7659 - Fix a few issues in the best-practices script, including tests,
7660 tab tolerance, error reporting, and directory-exclusion logic.
7661 Fixes bug 29746; bugfix on 0.4.1.1-alpha.
7662 - When running check-best-practices, only consider files in the src
7663 subdirectory. Previously we had recursively considered all
7664 subdirectories, which made us get confused by the temporary
7665 directories made by "make distcheck". Fixes bug 31578; bugfix
7668 o Minor bugfixes (build system):
7669 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
7670 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
7672 o Minor bugfixes (chutney, makefiles, documentation):
7673 - "make test-network-all" now shows the warnings from each test-
7674 network.sh run on the console, so developers see new warnings
7675 early. We've also improved the documentation for this feature, and
7676 renamed a Makefile variable so the code is self-documenting. Fixes
7677 bug 30455; bugfix on 0.3.0.4-rc.
7679 o Minor bugfixes (compilation):
7680 - Add more stub functions to fix compilation on Android with link-
7681 time optimization when --disable-module-dirauth is used.
7682 Previously, these compilation settings would make the compiler
7683 look for functions that didn't exist. Fixes bug 31552; bugfix
7685 - Suppress spurious float-conversion warnings from GCC when calling
7686 floating-point classifier functions on FreeBSD. Fixes part of bug
7687 31687; bugfix on 0.3.1.5-alpha.
7689 o Minor bugfixes (configuration):
7690 - Invalid floating-point values in the configuration file are now
7691 treated as errors in the configuration. Previously, they were
7692 ignored and treated as zero. Fixes bug 31475; bugfix on 0.0.1.
7694 o Minor bugfixes (coverity):
7695 - Add an assertion when parsing a BEGIN cell so that coverity can be
7696 sure that we are not about to dereference a NULL address. Fixes
7697 bug 31026; bugfix on 0.2.4.7-alpha. This is CID 1447296.
7698 - In our siphash implementation, when building for coverity, use
7699 memcpy in place of a switch statement, so that coverity can tell
7700 we are not accessing out-of-bounds memory. Fixes bug 31025; bugfix
7701 on 0.2.8.1-alpha. This is tracked as CID 1447293 and 1447295.
7702 - Fix several coverity warnings from our unit tests. Fixes bug
7703 31030; bugfix on 0.2.4.1-alpha, 0.3.2.1-alpha, and 0.4.0.1-alpha.
7705 o Minor bugfixes (developer tooling):
7706 - Only log git script changes in the post-merge script when the
7707 merge was to the master branch. Fixes bug 31040; bugfix
7710 o Minor bugfixes (directory authorities):
7711 - Return a distinct status when formatting annotations fails. Fixes
7712 bug 30780; bugfix on 0.2.0.8-alpha.
7714 o Minor bugfixes (error handling):
7715 - On abort, try harder to flush the output buffers of log messages.
7716 On some platforms (macOS), log messages could be discarded when
7717 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
7718 - Report the tor version whenever an assertion fails. Previously, we
7719 only reported the Tor version on some crashes, and some non-fatal
7720 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
7721 - When tor aborts due to an error, close log file descriptors before
7722 aborting. Closing the logs makes some OSes flush log file buffers,
7723 rather than deleting buffered log lines. Fixes bug 31594; bugfix
7726 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6):
7727 - When extracting an IPv6 address from a PF-based proxy, verify that
7728 we are actually configured to receive an IPv6 address, and log an
7729 internal error if not. Fixes part of bug 31687; bugfix
7732 o Minor bugfixes (git hooks):
7733 - Remove a duplicate call to practracker from the pre-push hook. The
7734 pre-push hook already calls the pre-commit hook, which calls
7735 practracker. Fixes bug 31462; bugfix on 0.4.1.1-alpha.
7737 o Minor bugfixes (git scripts):
7738 - Stop hard-coding the bash path in the git scripts. Some OSes don't
7739 have bash in /usr/bin, others have an ancient bash at this path.
7740 Fixes bug 30840; bugfix on 0.4.0.1-alpha.
7741 - Stop hard-coding the tor master branch name and worktree path in
7742 the git scripts. Fixes bug 30841; bugfix on 0.4.0.1-alpha.
7743 - Allow git-push-all.sh to be run from any directory. Previously,
7744 the script only worked if run from an upstream worktree directory.
7745 Closes ticket 31678.
7747 o Minor bugfixes (guards):
7748 - When tor is missing descriptors for some primary entry guards,
7749 make the log message less alarming. It's normal for descriptors to
7750 expire, as long as tor fetches new ones soon after. Fixes bug
7751 31657; bugfix on 0.3.3.1-alpha.
7753 o Minor bugfixes (ipv6):
7754 - Check for private IPv6 addresses alongside their IPv4 equivalents
7755 when authorities check descriptors. Previously, we only checked
7756 for private IPv4 addresses. Fixes bug 31088; bugfix on
7757 0.2.3.21-rc. Patch by Neel Chauhan.
7758 - When parsing microdescriptors, we should check the IPv6 exit
7759 policy alongside IPv4. Previously, we checked both exit policies
7760 for only router info structures, while microdescriptors were
7761 IPv4-only. Fixes bug 27284; bugfix on 0.2.3.1-alpha. Patch by
7764 o Minor bugfixes (logging):
7765 - Change log level of message "Hash of session info was not as
7766 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
7768 - Fix a code issue that would have broken our parsing of log domains
7769 as soon as we had 33 of them. Fortunately, we still only have 29.
7770 Fixes bug 31451; bugfix on 0.4.1.4-rc.
7772 o Minor bugfixes (memory management):
7773 - Stop leaking a small amount of memory in nt_service_install(), in
7774 unreachable code. Fixes bug 30799; bugfix on 0.2.0.7-alpha. Patch
7777 o Minor bugfixes (networking, IP addresses):
7778 - When parsing addresses via Tor's internal DNS lookup API, reject
7779 IPv4 addresses in square brackets, and accept IPv6 addresses in
7780 square brackets. This change completes the work started in 23082,
7781 making address parsing consistent between tor's internal DNS
7782 lookup and address parsing APIs. Fixes bug 30721; bugfix
7784 - When parsing addresses via Tor's internal address:port parsing and
7785 DNS lookup APIs, require IPv6 addresses with ports to have square
7786 brackets. But allow IPv6 addresses without ports, whether or not
7787 they have square brackets. Fixes bug 30721; bugfix
7790 o Minor bugfixes (onion service v3):
7791 - When purging the client descriptor cache, close any introduction
7792 point circuits associated with purged cache entries. This avoids
7793 picking those circuits later when connecting to the same
7794 introduction points. Fixes bug 30921; bugfix on 0.3.2.1-alpha.
7796 o Minor bugfixes (onion services):
7797 - In the hs_ident_circuit_t data structure, remove the unused field
7798 circuit_type and the respective argument in hs_ident_circuit_new().
7799 This field was set by clients (for introduction) and services (for
7800 introduction and rendezvous) but was never used afterwards. Fixes
7801 bug 31490; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
7803 o Minor bugfixes (operator tools):
7804 - Make tor-print-ed-signing-cert(1) print certificate expiration
7805 date in RFC 1123 and UNIX timestamp formats, to make output
7806 machine readable. Fixes bug 31012; bugfix on 0.3.5.1-alpha.
7808 o Minor bugfixes (rust):
7809 - Correctly exclude a redundant rust build job in Travis. Fixes bug
7810 31463; bugfix on 0.3.5.4-alpha.
7811 - Raise the minimum rustc version to 1.31.0, as checked by configure
7812 and CI. Fixes bug 31442; bugfix on 0.3.5.4-alpha.
7814 o Minor bugfixes (sendme, code structure):
7815 - Rename the trunnel SENDME file definition from sendme.trunnel to
7816 sendme_cell.trunnel to avoid having twice sendme.{c|h} in the
7817 repository. Fixes bug 30769; bugfix on 0.4.1.1-alpha.
7819 o Minor bugfixes (statistics):
7820 - Stop removing the ed25519 signature if the extra info file is too
7821 big. If the signature data was removed, but the keyword was kept,
7822 this could result in an unparseable extra info file. Fixes bug
7823 30958; bugfix on 0.2.7.2-alpha.
7825 o Minor bugfixes (subsystems):
7826 - Make the subsystem init order match the subsystem module
7827 dependencies. Call windows process security APIs as early as
7828 possible. Initialize logging before network and time, so that
7829 network and time can use logging. Fixes bug 31615; bugfix
7832 o Minor bugfixes (testing):
7833 - Teach the util/socketpair_ersatz test to work correctly when we
7834 have no network stack configured. Fixes bug 30804; bugfix
7837 o Minor bugfixes (v2 single onion services):
7838 - Always retry v2 single onion service intro and rend circuits with
7839 a 3-hop path. Previously, v2 single onion services used a 3-hop
7840 path when rendezvous circuits were retried after a remote or
7841 delayed failure, but a 1-hop path for immediate retries. Fixes bug
7842 23818; bugfix on 0.2.9.3-alpha.
7844 o Minor bugfixes (v3 single onion services):
7845 - Always retry v3 single onion service intro and rend circuits with
7846 a 3-hop path. Previously, v3 single onion services used a 3-hop
7847 path when rend circuits were retried after a remote or delayed
7848 failure, but a 1-hop path for immediate retries. Fixes bug 23818;
7849 bugfix on 0.3.2.1-alpha.
7850 - Make v3 single onion services fall back to a 3-hop intro, when all
7851 intro points are unreachable via a 1-hop path. Previously, v3
7852 single onion services failed when all intro nodes were unreachable
7853 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
7856 - Improve documentation in circuit padding subsystem. Patch by
7857 Tobias Pulls. Closes ticket 31113.
7858 - Include an example usage for IPv6 ORPort in our sample torrc.
7859 Closes ticket 31320; patch from Ali Raheem.
7860 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
7861 notice.html so that operators no longer have to host it
7862 themselves. Closes ticket 31089.
7865 - No longer include recommended package digests in votes as detailed
7866 in proposal 301. The RecommendedPackages torrc option is
7867 deprecated and will no longer have any effect. "package" lines
7868 will still be considered when computing consensuses for consensus
7869 methods that include them. (This change has no effect on the list
7870 of recommended Tor versions, which is still in use.) Closes
7872 - Remove torctl.in from contrib/dist directory. Resolves
7876 - Run shellcheck for all non-third-party shell scripts that are
7877 shipped with Tor. Closes ticket 29533.
7878 - When checking shell scripts, ignore any user-created directories.
7879 Closes ticket 30967.
7881 o Code simplification and refactoring (config handling):
7882 - Extract our variable manipulation code from confparse.c to a new
7883 lower-level typedvar.h module. Closes ticket 30864.
7884 - Lower another layer of object management from confparse.c to a
7885 more general tool. Now typed structure members are accessible via
7886 an abstract type. Implements ticket 30914.
7887 - Move our backend logic for working with configuration and state
7888 files into a lower-level library, since it no longer depends on
7889 any tor-specific functionality. Closes ticket 31626.
7890 - Numerous simplifications in configuration-handling logic: remove
7891 duplicated macro definitions, replace magical names with flags,
7892 and refactor "TestingTorNetwork" to use the same default-option
7893 logic as the rest of Tor. Closes ticket 30935.
7894 - Replace our ad-hoc set of flags for configuration variables and
7895 configuration variable types with fine-grained orthogonal flags
7896 corresponding to the actual behavior we want. Closes ticket 31625.
7898 o Code simplification and refactoring (misc):
7899 - Eliminate some uses of lower-level control reply abstractions,
7900 primarily in the onion_helper functions. Closes ticket 30889.
7901 - Rework bootstrap tracking to use the new publish-subscribe
7902 subsystem. Closes ticket 29976.
7903 - Rewrite format_node_description() and router_get_verbose_nickname()
7904 to use strlcpy() and strlcat(). The previous implementation used
7905 memcpy() and pointer arithmetic, which was error-prone. Closes
7906 ticket 31545. This is CID 1452819.
7907 - Split extrainfo_dump_to_string() into smaller functions. Closes
7909 - Use the ptrdiff_t type consistently for expressing variable
7910 offsets and pointer differences. Previously we incorrectly (but
7911 harmlessly) used int and sometimes off_t for these cases. Closes
7913 - Use the subsystems mechanism to manage the main event loop code.
7914 Closes ticket 30806.
7915 - Various simplifications and minor improvements to the circuit
7916 padding machines. Patch by Tobias Pulls. Closes tickets 31112
7919 o Documentation (hard-coded directories):
7920 - Improve the documentation for the DirAuthority and FallbackDir
7921 torrc options. Closes ticket 30955.
7923 o Documentation (tor.1 man page):
7924 - Fix typo in tor.1 man page: the option is "--help", not "-help".
7925 Fixes bug 31008; bugfix on 0.2.2.9-alpha.
7928 Changes in version 0.4.1.5 - 2019-08-20
7929 This is the first stable release in the 0.4.1.x series. This series
7930 adds experimental circuit-level padding, authenticated SENDME cells to
7931 defend against certain attacks, and several performance improvements
7932 to save on CPU consumption. It fixes bugs in bootstrapping and v3
7933 onion services. It also includes numerous smaller features and
7934 bugfixes on earlier versions.
7936 Per our support policy, we will support the 0.4.1.x series for nine
7937 months, or until three months after the release of a stable 0.4.2.x:
7938 whichever is longer. If you need longer-term support, please stick
7939 with 0.3.5.x, which will we plan to support until Feb 2022.
7941 Below are the changes since 0.4.1.4-rc. For a complete list of changes
7942 since 0.4.0.5, see the ReleaseNotes file.
7944 o Directory authority changes:
7945 - The directory authority "dizum" has a new IP address. Closes
7948 o Minor features (circuit padding logging):
7949 - Demote noisy client-side warn logs about circuit padding to
7950 protocol warnings. Add additional log messages and circuit ID
7951 fields to help with bug 30992 and any other future issues.
7953 o Minor bugfixes (circuit padding negotiation):
7954 - Bump the circuit padding protocol version to explicitly signify
7955 that the HS setup machine support is finalized in 0.4.1.x-stable.
7956 This also means that 0.4.1.x-alpha clients will not negotiate
7957 padding with 0.4.1.x-stable relays, and 0.4.1.x-stable clients
7958 will not negotiate padding with 0.4.1.x-alpha relays (or 0.4.0.x
7959 relays). Fixes bug 31356; bugfix on 0.4.1.1-alpha.
7961 o Minor bugfixes (circuit padding):
7962 - Ignore non-padding cells on padding circuits. This addresses
7963 various warning messages from subsystems that were not expecting
7964 padding circuits. Fixes bug 30942; bugfix on 0.4.1.1-alpha.
7966 o Minor bugfixes (clock skew detection):
7967 - Don't believe clock skew results from NETINFO cells that appear to
7968 arrive before we sent the VERSIONS cells they are responding to.
7969 Previously, we would accept them up to 3 minutes "in the past".
7970 Fixes bug 31343; bugfix on 0.2.4.4-alpha.
7972 o Minor bugfixes (compatibility, standards compliance):
7973 - Fix a bug that would invoke undefined behavior on certain
7974 operating systems when trying to asprintf() a string exactly
7975 INT_MAX bytes long. We don't believe this is exploitable, but it's
7976 better to fix it anyway. Fixes bug 31001; bugfix on 0.2.2.11-alpha.
7977 Found and fixed by Tobias Stoeckmann.
7979 o Minor bugfixes (compilation warning):
7980 - Fix a compilation warning on Windows about casting a function
7981 pointer for GetTickCount64(). Fixes bug 31374; bugfix
7984 o Minor bugfixes (compilation):
7985 - Avoid using labs() on time_t, which can cause compilation warnings
7986 on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
7988 o Minor bugfixes (distribution):
7989 - Do not ship any temporary files found in the
7990 scripts/maint/practracker directory. Fixes bug 31311; bugfix
7993 o Testing (continuous integration):
7994 - In Travis, make stem log a controller trace to the console, and
7995 tail stem's tor log after failure. Closes ticket 30591.
7996 - In Travis, only run the stem tests that use a tor binary. Closes
8000 Changes in version 0.4.1.4-rc - 2019-07-25
8001 Tor 0.4.1.4-rc fixes a few bugs from previous versions of Tor, and
8002 updates to a new list of fallback directories. If no new bugs are
8003 found, the next release in the 0.4.1.x serious should be stable.
8005 o Major bugfixes (circuit build, guard):
8006 - When considering upgrading circuits from "waiting for guard" to
8007 "open", always ignore circuits that are marked for close. Otherwise,
8008 we can end up in the situation where a subsystem is notified that
8009 a closing circuit has just opened, leading to undesirable
8010 behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
8012 o Minor features (continuous integration):
8013 - Our Travis configuration now uses Chutney to run some network
8014 integration tests automatically. Closes ticket 29280.
8016 o Minor features (fallback directory list):
8017 - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
8018 in December 2018 (of which ~122 were still functional), with a
8019 list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
8020 in June 2019. Closes ticket 28795.
8022 o Minor bugfixes (circuit padding):
8023 - On relays, properly check that a padding machine is absent before
8024 logging a warning about it being absent. Fixes bug 30649; bugfix
8026 - Add two NULL checks in unreachable places to silence Coverity (CID
8027 144729 and 1447291) and better future-proof ourselves. Fixes bug
8028 31024; bugfix on 0.4.1.1-alpha.
8030 o Minor bugfixes (crash on exit):
8031 - Avoid a set of possible code paths that could try to use freed
8032 memory in routerlist_free() while Tor was exiting. Fixes bug
8033 31003; bugfix on 0.1.2.2-alpha.
8035 o Minor bugfixes (logging):
8036 - Fix a conflict between the flag used for messaging-domain log
8037 messages, and the LD_NO_MOCK testing flag. Fixes bug 31080; bugfix
8040 o Minor bugfixes (memory leaks):
8041 - Fix a trivial memory leak when parsing an invalid value from a
8042 download schedule in the configuration. Fixes bug 30894; bugfix
8045 o Code simplification and refactoring:
8046 - Remove some dead code from circpad_machine_remove_token() to fix
8047 some Coverity warnings (CID 1447298). Fixes bug 31027; bugfix
8051 Changes in version 0.4.1.3-alpha - 2019-06-25
8052 Tor 0.4.1.3-alpha resolves numerous bugs left over from the previous
8053 alpha, most of them from earlier release series.
8055 o Major bugfixes (Onion service reachability):
8056 - Properly clean up the introduction point map when circuits change
8057 purpose from onion service circuits to pathbias, measurement, or
8058 other circuit types. This should fix some service-side instances
8059 of introduction point failure. Fixes bug 29034; bugfix
8062 o Minor features (geoip):
8063 - Update geoip and geoip6 to the June 10 2019 Maxmind GeoLite2
8064 Country database. Closes ticket 30852.
8066 o Minor features (logging):
8067 - Give a more useful assertion failure message if we think we have
8068 minherit() but we fail to make a region non-inheritable. Give a
8069 compile-time warning if our support for minherit() is incomplete.
8070 Closes ticket 30686.
8072 o Minor bugfixes (circuit isolation):
8073 - Fix a logic error that prevented the SessionGroup sub-option from
8074 being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
8076 o Minor bugfixes (continuous integration):
8077 - Allow the test-stem job to fail in Travis, because it sometimes
8078 hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
8079 - Skip test_rebind on macOS in Travis, because it is unreliable on
8080 macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
8081 - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
8082 variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
8084 o Minor bugfixes (directory authorities):
8085 - Stop crashing after parsing an unknown descriptor purpose
8086 annotation. We think this bug can only be triggered by modifying a
8087 local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
8089 o Minor bugfixes (pluggable transports):
8090 - When running as a bridge with pluggable transports, always publish
8091 pluggable transport information in our extrainfo descriptor, even
8092 if ExtraInfoStatistics is 0. This information is needed by
8093 BridgeDB. Fixes bug 30956; bugfix on 0.4.1.1-alpha.
8096 - Mention URLs for Travis/Appveyor/Jenkins in ReleasingTor.md.
8097 Closes ticket 30630.
8100 Changes in version 0.4.1.2-alpha - 2019-06-06
8101 Tor 0.4.1.2-alpha resolves numerous bugs--some of them from the
8102 previous alpha, and some much older. It also contains minor testing
8103 improvements, and an improvement to the security of our authenticated
8104 SENDME implementation.
8106 o Major bugfixes (bridges):
8107 - Consider our directory information to have changed when our list
8108 of bridges changes. Previously, Tor would not re-compute the
8109 status of its directory information when bridges changed, and
8110 therefore would not realize that it was no longer able to build
8111 circuits. Fixes part of bug 29875.
8112 - Do not count previously configured working bridges towards our
8113 total of working bridges. Previously, when Tor's list of bridges
8114 changed, it would think that the old bridges were still usable,
8115 and delay fetching router descriptors for the new ones. Fixes part
8116 of bug 29875; bugfix on 0.3.0.1-alpha.
8118 o Major bugfixes (flow control, SENDME):
8119 - Decrement the stream-level package window after packaging a cell.
8120 Previously, it was done inside a log_debug() call, meaning that if
8121 debug logs were not enabled, the decrement would never happen, and
8122 thus the window would be out of sync with the other end point.
8123 Fixes bug 30628; bugfix on 0.4.1.1-alpha.
8125 o Major bugfixes (onion service reachability):
8126 - Properly clean up the introduction point map and associated state
8127 when circuits change purpose from onion service circuits to
8128 pathbias, measurement, or other circuit types. This may fix some
8129 instances of introduction point failure. Fixes bug 29034; bugfix
8132 o Minor features (authenticated SENDME):
8133 - Ensure that there is enough randomness on every circuit to prevent
8134 an attacker from successfully predicting the hashes they will need
8135 to include in authenticated SENDME cells. At a random interval, if
8136 we have not sent randomness already, we now leave some extra space
8137 at the end of a cell that we can fill with random bytes. Closes
8140 o Minor features (continuous integration):
8141 - When running coverage builds on Travis, we now set
8142 TOR_TEST_RNG_SEED, to avoid RNG-based coverage differences. Part
8145 o Minor features (maintenance):
8146 - Add a new "make autostyle" target that developers can use to apply
8147 all automatic Tor style and consistency conversions to the
8148 codebase. Closes ticket 30539.
8150 o Minor features (testing):
8151 - The circuitpadding tests now use a reproducible RNG implementation,
8152 so that if a test fails, we can learn why. Part of ticket 28878.
8153 - Tor's tests now support an environment variable, TOR_TEST_RNG_SEED,
8154 to set the RNG seed for tests that use a reproducible RNG. Part of
8156 - When running tests in coverage mode, take additional care to make
8157 our coverage deterministic, so that we can accurately track
8158 changes in code coverage. Closes ticket 30519.
8160 o Minor bugfixes (configuration, proxies):
8161 - Fix a bug that prevented us from supporting SOCKS5 proxies that
8162 want authentication along with configured (but unused!)
8163 ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
8165 o Minor bugfixes (controller):
8166 - POSTDESCRIPTOR requests should work again. Previously, they were
8167 broken if a "purpose=" flag was specified. Fixes bug 30580; bugfix
8169 - Repair the HSFETCH command so that it works again. Previously, it
8170 expected a body when it shouldn't have. Fixes bug 30646; bugfix
8173 o Minor bugfixes (developer tooling):
8174 - Fix pre-push hook to allow fixup and squash commits when pushing
8175 to non-upstream git remote. Fixes bug 30286; bugfix
8178 o Minor bugfixes (directory authority):
8179 - Move the "bandwidth-file-headers" line in directory authority
8180 votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
8183 o Minor bugfixes (NetBSD):
8184 - Fix usage of minherit() on NetBSD and other platforms that define
8185 MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
8186 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
8188 o Minor bugfixes (out-of-memory handler):
8189 - When purging the DNS cache because of an out-of-memory condition,
8190 try purging just the older entries at first. Previously, we would
8191 always purge the whole thing. Fixes bug 29617; bugfix
8194 o Minor bugfixes (portability):
8195 - Avoid crashing in our tor_vasprintf() implementation on systems
8196 that define neither vasprintf() nor _vscprintf(). (This bug has
8197 been here long enough that we question whether people are running
8198 Tor on such systems, but we're applying the fix out of caution.)
8199 Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
8202 o Minor bugfixes (shutdown, libevent, memory safety):
8203 - Avoid use-after-free bugs when shutting down, by making sure that
8204 we shut down libevent only after shutting down all of its users.
8205 We believe these are harmless in practice, since they only occur
8206 on the shutdown path, and do not involve any attacker-controlled
8207 data. Fixes bug 30629; bugfix on 0.4.1.1-alpha.
8209 o Minor bugfixes (static analysis):
8210 - Fix several spurious Coverity warnings about the unit tests, to
8211 lower our chances of missing real warnings in the future. Fixes
8212 bug 30150; bugfix on 0.3.5.1-alpha and various other Tor versions.
8215 - Specify torrc paths (with empty files) when launching tor in
8216 integration tests; refrain from reading user and system torrcs.
8217 Resolves issue 29702.
8220 Changes in version 0.4.1.1-alpha - 2019-05-22
8221 This is the first alpha in the 0.4.1.x series. It introduces
8222 lightweight circuit padding to make some onion-service circuits harder
8223 to distinguish, includes a new "authenticated SENDME" feature to make
8224 certain denial-of-service attacks more difficult, and improves
8225 performance in several areas.
8227 o Major features (circuit padding):
8228 - Onion service clients now add padding cells at the start of their
8229 INTRODUCE and RENDEZVOUS circuits, to make those circuits' traffic
8230 look more like general purpose Exit traffic. The overhead for this
8231 is 2 extra cells in each direction for RENDEZVOUS circuits, and 1
8232 extra upstream cell and 10 downstream cells for INTRODUCE
8233 circuits. This feature is only enabled when also supported by the
8234 circuit's middle node. (Clients may specify fixed middle nodes
8235 with the MiddleNodes option, and may force-disable this feature
8236 with the CircuitPadding option.) Closes ticket 28634.
8238 o Major features (code organization):
8239 - Tor now includes a generic publish-subscribe message-passing
8240 subsystem that we can use to organize intermodule dependencies. We
8241 hope to use this to reduce dependencies between modules that don't
8242 need to be related, and to generally simplify our codebase. Closes
8245 o Major features (controller protocol):
8246 - Controller commands are now parsed using a generalized parsing
8247 subsystem. Previously, each controller command was responsible for
8248 parsing its own input, which led to strange inconsistencies.
8249 Closes ticket 30091.
8251 o Major features (flow control):
8252 - Implement authenticated SENDMEs as detailed in proposal 289. A
8253 SENDME cell now includes the digest of the traffic that it
8254 acknowledges, so that once an end point receives the SENDME, it
8255 can confirm the other side's knowledge of the previous cells that
8256 were sent, and prevent certain types of denial-of-service attacks.
8257 This behavior is controlled by two new consensus parameters: see
8258 the proposal for more details. Fixes ticket 26288.
8260 o Major features (performance):
8261 - Our node selection algorithm now excludes nodes in linear time.
8262 Previously, the algorithm was quadratic, which could slow down
8263 heavily used onion services. Closes ticket 30307.
8265 o Major features (performance, RNG):
8266 - Tor now constructs a fast secure pseudorandom number generator for
8267 each thread, to use when performance is critical. This PRNG is
8268 based on AES-CTR, using a buffering construction similar to
8269 libottery and the (newer) OpenBSD arc4random() code. It
8270 outperforms OpenSSL 1.1.1a's CSPRNG by roughly a factor of 100 for
8271 small outputs. Although we believe it to be cryptographically
8272 strong, we are only using it when necessary for performance.
8273 Implements tickets 29023 and 29536.
8275 o Major bugfixes (onion service v3):
8276 - Fix an unreachable bug in which an introduction point could try to
8277 send an INTRODUCE_ACK with a status code that Trunnel would refuse
8278 to encode, leading the relay to assert(). We've consolidated the
8279 ABI values into Trunnel now. Fixes bug 30454; bugfix
8281 - Clients can now handle unknown status codes from INTRODUCE_ACK
8282 cells. (The NACK behavior will stay the same.) This will allow us
8283 to extend status codes in the future without breaking the normal
8284 client behavior. Fixes another part of bug 30454; bugfix
8287 o Minor features (circuit padding):
8288 - We now use a fast PRNG when scheduling circuit padding. Part of
8290 - Allow the padding machine designer to pick the edges of their
8291 histogram instead of trying to compute them automatically using an
8292 exponential formula. Resolves some undefined behavior in the case
8293 of small histograms and allows greater flexibility on machine
8294 design. Closes ticket 29298; bugfix on 0.4.0.1-alpha.
8295 - Allow circuit padding machines to hold a circuit open until they
8296 are done padding it. Closes ticket 28780.
8298 o Minor features (compile-time modules):
8299 - Add a "--list-modules" command to print a list of which compile-
8300 time modules are enabled. Closes ticket 30452.
8302 o Minor features (continuous integration):
8303 - Remove sudo configuration lines from .travis.yml as they are no
8304 longer needed with current Travis build environment. Resolves
8306 - In Travis, show stem's tor log after failure. Closes ticket 30234.
8308 o Minor features (controller):
8309 - Add onion service version 3 support to the HSFETCH command.
8310 Previously, only version 2 onion services were supported. Closes
8311 ticket 25417. Patch by Neel Chauhan.
8313 o Minor features (debugging):
8314 - Introduce tor_assertf() and tor_assertf_nonfatal() to enable
8315 logging of additional information during assert failure. Now we
8316 can use format strings to include information for trouble
8317 shooting. Resolves ticket 29662.
8319 o Minor features (defense in depth):
8320 - In smartlist_remove_keeporder(), set unused pointers to NULL, in
8321 case a bug causes them to be used later. Closes ticket 30176.
8322 Patch from Tobias Stoeckmann.
8323 - Tor now uses a cryptographically strong PRNG even for decisions
8324 that we do not believe are security-sensitive. Previously, for
8325 performance reasons, we had used a trivially predictable linear
8326 congruential generator algorithm for certain load-balancing and
8327 statistical sampling decisions. Now we use our fast RNG in those
8328 cases. Closes ticket 29542.
8330 o Minor features (developer tools):
8331 - Tor's "practracker" test script now checks for files and functions
8332 that seem too long and complicated. Existing overlong functions
8333 and files are accepted for now, but should eventually be
8334 refactored. Closes ticket 29221.
8335 - Add some scripts used for git maintenance to scripts/git. Closes
8337 - Call practracker from pre-push and pre-commit git hooks to let
8338 developers know if they made any code style violations. Closes
8340 - Add a script to check that each header has a well-formed and
8341 unique guard macro. Closes ticket 29756.
8343 o Minor features (geoip):
8344 - Update geoip and geoip6 to the May 13 2019 Maxmind GeoLite2
8345 Country database. Closes ticket 30522.
8347 o Minor features (HTTP tunnel):
8348 - Return an informative web page when the HTTPTunnelPort is used as
8349 an HTTP proxy. Closes ticket 27821, patch by "eighthave".
8351 o Minor features (IPv6, v3 onion services):
8352 - Make v3 onion services put IPv6 addresses in service descriptors.
8353 Before this change, service descriptors only contained IPv4
8354 addresses. Implements 26992.
8356 o Minor features (modularity):
8357 - The "--disable-module-dirauth" compile-time option now disables
8358 even more dirauth-only code. Closes ticket 30345.
8360 o Minor features (performance):
8361 - Use OpenSSL's implementations of SHA3 when available (in OpenSSL
8362 1.1.1 and later), since they tend to be faster than tiny-keccak.
8363 Closes ticket 28837.
8365 o Minor features (testing):
8366 - Tor's unit test code now contains helper functions to replace the
8367 PRNG with a deterministic or reproducible version for testing.
8368 Previously, various tests implemented this in various ways.
8369 Implements ticket 29732.
8370 - We now have a script, cov-test-determinism.sh, to identify places
8371 where our unit test coverage has become nondeterministic. Closes
8373 - Check that representative subsets of values of `int` and `unsigned
8374 int` can be represented by `void *`. Resolves issue 29537.
8376 o Minor bugfixes (bridge authority):
8377 - Bridge authorities now set bridges as running or non-running when
8378 about to dump their status to a file. Previously, they set bridges
8379 as running in response to a GETINFO command, but those shouldn't
8380 modify data structures. Fixes bug 24490; bugfix on 0.2.0.13-alpha.
8381 Patch by Neel Chauhan.
8383 o Minor bugfixes (channel padding statistics):
8384 - Channel padding write totals and padding-enabled totals are now
8385 counted properly in relay extrainfo descriptors. Fixes bug 29231;
8386 bugfix on 0.3.1.1-alpha.
8388 o Minor bugfixes (circuit padding):
8389 - Add a "CircuitPadding" torrc option to disable circuit padding.
8390 Fixes bug 28693; bugfix on 0.4.0.1-alpha.
8391 - Allow circuit padding machines to specify that they do not
8392 contribute much overhead, and provide consensus flags and torrc
8393 options to force clients to only use these low overhead machines.
8394 Fixes bug 29203; bugfix on 0.4.0.1-alpha.
8395 - Provide a consensus parameter to fully disable circuit padding, to
8396 be used in emergency network overload situations. Fixes bug 30173;
8397 bugfix on 0.4.0.1-alpha.
8398 - The circuit padding subsystem will no longer schedule padding if
8399 dormant mode is enabled. Fixes bug 28636; bugfix on 0.4.0.1-alpha.
8400 - Inspect a circuit-level cell queue before sending padding, to
8401 avoid sending padding while too much data is already queued. Fixes
8402 bug 29204; bugfix on 0.4.0.1-alpha.
8403 - Avoid calling monotime_absolute_usec() in circuit padding machines
8404 that do not use token removal or circuit RTT estimation. Fixes bug
8405 29085; bugfix on 0.4.0.1-alpha.
8407 o Minor bugfixes (compilation, unusual configurations):
8408 - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
8409 due to missing declarations of abort(), and prevent other such
8410 failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
8412 o Minor bugfixes (controller protocol):
8413 - Teach the controller parser to distinguish an object preceded by
8414 an argument list from one without. Previously, it couldn't
8415 distinguish an argument list from the first line of a multiline
8416 object. Fixes bug 29984; bugfix on 0.2.3.8-alpha.
8418 o Minor bugfixes (directory authority, ipv6):
8419 - Directory authorities with IPv6 support now always mark themselves
8420 as reachable via IPv6. Fixes bug 24338; bugfix on 0.2.4.1-alpha.
8421 Patch by Neel Chauhan.
8423 o Minor bugfixes (documentation):
8424 - Improve the documentation for using MapAddress with ".exit". Fixes
8425 bug 30109; bugfix on 0.1.0.1-rc.
8426 - Improve the monotonic time module and function documentation to
8427 explain what "monotonic" actually means, and document some results
8428 that have surprised people. Fixes bug 29640; bugfix
8430 - Use proper formatting when providing an example on quoting options
8431 that contain whitespace. Fixes bug 29635; bugfix on 0.2.3.18-rc.
8433 o Minor bugfixes (logging):
8434 - Do not log a warning when running with an OpenSSL version other
8435 than the one Tor was compiled with, if the two versions should be
8436 compatible. Previously, we would warn whenever the version was
8437 different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
8438 - Warn operators when the MyFamily option is set but ContactInfo is
8439 missing, as the latter should be set too. Fixes bug 25110; bugfix
8442 o Minor bugfixes (memory leak):
8443 - Avoid a minor memory leak that could occur on relays when failing
8444 to create a "keys" directory. Fixes bug 30148; bugfix
8447 o Minor bugfixes (onion services):
8448 - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
8449 implementation) when failing to load an onion service client
8450 authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
8451 - When refusing to launch a controller's HSFETCH request because of
8452 rate-limiting, respond to the controller with a new response,
8453 "QUERY_RATE_LIMITED". Previously, we would log QUERY_NO_HSDIR for
8454 this case. Fixes bug 28269; bugfix on 0.3.1.1-alpha. Patch by
8456 - When relaunching a circuit to a rendezvous service, mark the
8457 circuit as needing high-uptime routers as appropriate. Fixes bug
8458 17357; bugfix on 0.1.0.1-rc. Patch by Neel Chauhan.
8459 - Stop ignoring IPv6 link specifiers sent to v3 onion services.
8460 (IPv6 support for v3 onion services is still incomplete: see
8461 ticket 23493 for details.) Fixes bug 23588; bugfix on
8462 0.3.2.1-alpha. Patch by Neel Chauhan.
8464 o Minor bugfixes (onion services, performance):
8465 - When building circuits to onion services, call tor_addr_parse()
8466 less often. Previously, we called tor_addr_parse() in
8467 circuit_is_acceptable() even if its output wasn't used. This
8468 change should improve performance when building circuits. Fixes
8469 bug 22210; bugfix on 0.2.8.12. Patch by Neel Chauhan.
8471 o Minor bugfixes (performance):
8472 - When checking whether a node is a bridge, use a fast check to make
8473 sure that its identity is set. Previously, we used a constant-time
8474 check, which is not necessary in this case. Fixes bug 30308;
8475 bugfix on 0.3.5.1-alpha.
8477 o Minor bugfixes (pluggable transports):
8478 - Tor now sets TOR_PT_EXIT_ON_STDIN_CLOSE=1 for client transports as
8479 well as servers. Fixes bug 25614; bugfix on 0.2.7.1-alpha.
8481 o Minor bugfixes (probability distributions):
8482 - Refactor and improve parts of the probability distribution code
8483 that made Coverity complain. Fixes bug 29805; bugfix
8486 o Minor bugfixes (python):
8487 - Stop assuming that /usr/bin/python3 exists. For scripts that work
8488 with python2, use /usr/bin/python. Otherwise, use /usr/bin/env
8489 python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
8491 o Minor bugfixes (relay):
8492 - When running as a relay, if IPv6Exit is set to 1 while ExitRelay
8493 is auto, act as if ExitRelay is 1. Previously, we would ignore
8494 IPv6Exit if ExitRelay was 0 or auto. Fixes bug 29613; bugfix on
8495 0.3.5.1-alpha. Patch by Neel Chauhan.
8497 o Minor bugfixes (stats):
8498 - When ExtraInfoStatistics is 0, stop including bandwidth usage
8499 statistics, GeoIPFile hashes, ServerTransportPlugin lines, and
8500 bridge statistics by country in extra-info documents. Fixes bug
8501 29018; bugfix on 0.2.4.1-alpha.
8503 o Minor bugfixes (testing):
8504 - Call setrlimit() to disable core dumps in test_bt_cl.c. Previously
8505 we used `ulimit -c` in test_bt.sh, which violates POSIX shell
8506 compatibility. Fixes bug 29061; bugfix on 0.3.5.1-alpha.
8507 - Fix some incorrect code in the v3 onion service unit tests. Fixes
8508 bug 29243; bugfix on 0.3.2.1-alpha.
8509 - In the "routerkeys/*" tests, check the return values of mkdir()
8510 for possible failures. Fixes bug 29939; bugfix on 0.2.7.2-alpha.
8511 Found by Coverity as CID 1444254.
8512 - Split test_utils_general() into several smaller test functions.
8513 This makes it easier to perform resource deallocation on assert
8514 failure, and fixes Coverity warnings CID 1444117 and CID 1444118.
8515 Fixes bug 29823; bugfix on 0.2.9.1-alpha.
8517 o Minor bugfixes (tor-resolve):
8518 - Fix a memory leak in tor-resolve that could happen if Tor gave it
8519 a malformed SOCKS response. (Memory leaks in tor-resolve don't
8520 actually matter, but it's good to fix them anyway.) Fixes bug
8521 30151; bugfix on 0.4.0.1-alpha.
8523 o Code simplification and refactoring:
8524 - Abstract out the low-level formatting of replies on the control
8525 port. Implements ticket 30007.
8526 - Add several assertions in an attempt to fix some Coverity
8527 warnings. Closes ticket 30149.
8528 - Introduce a connection_dir_buf_add() helper function that checks
8529 for compress_state of dir_connection_t and automatically writes a
8530 string to directory connection with or without compression.
8531 Resolves issue 28816.
8532 - Make the base32_decode() API return the number of bytes written,
8533 for consistency with base64_decode(). Closes ticket 28913.
8534 - Move most relay-only periodic events out of mainloop.c into the
8535 relay subsystem. Closes ticket 30414.
8536 - Refactor and encapsulate parts of the codebase that manipulate
8537 crypt_path_t objects. Resolves issue 30236.
8538 - Refactor several places in our code that Coverity incorrectly
8539 believed might have memory leaks. Closes ticket 30147.
8540 - Remove redundant return values in crypto_format, and the
8541 associated return value checks elsewhere in the code. Make the
8542 implementations in crypto_format consistent, and remove redundant
8543 code. Resolves ticket 29660.
8544 - Rename tor_mem_is_zero() to fast_mem_is_zero(), to emphasize that
8545 it is not a constant-time function. Closes ticket 30309.
8546 - Replace hs_desc_link_specifier_t with link_specifier_t, and remove
8547 all hs_desc_link_specifier_t-specific code. Fixes bug 22781;
8548 bugfix on 0.3.2.1-alpha.
8549 - Simplify v3 onion service link specifier handling code. Fixes bug
8550 23576; bugfix on 0.3.2.1-alpha.
8551 - Split crypto_digest.c into NSS code, OpenSSL code, and shared
8552 code. Resolves ticket 29108.
8553 - Split control.c into several submodules, in preparation for
8554 distributing its current responsibilities throughout the codebase.
8555 Closes ticket 29894.
8556 - Start to move responsibility for knowing about periodic events to
8557 the appropriate subsystems, so that the mainloop doesn't need to
8558 know all the periodic events in the rest of the codebase.
8559 Implements tickets 30293 and 30294.
8562 - Document how to find git commits and tags for bug fixes in
8563 CodingStandards.md. Update some file documentation. Closes
8567 - Remove the linux-tor-prio.sh script from contrib/operator-tools
8568 directory. Resolves issue 29434.
8569 - Remove the obsolete OpenSUSE initscript. Resolves issue 30076.
8570 - Remove the obsolete script at contrib/dist/tor.sh.in. Resolves
8573 o Code simplification and refactoring (shell scripts):
8574 - Clean up many of our shell scripts to fix shellcheck warnings.
8575 These include autogen.sh (ticket 26069), test_keygen.sh (ticket
8576 29062), test_switch_id.sh (ticket 29065), test_rebind.sh (ticket
8577 29063), src/test/fuzz/minimize.sh (ticket 30079), test_rust.sh
8578 (ticket 29064), torify (ticket 29070), asciidoc-helper.sh (29926),
8579 fuzz_multi.sh (30077), fuzz_static_testcases.sh (ticket 29059),
8580 nagios-check-tor-authority-cert (ticket 29071),
8581 src/test/fuzz/fixup_filenames.sh (ticket 30078), test-network.sh
8582 (ticket 29060), test_key_expiration.sh (ticket 30002),
8583 zero_length_keys.sh (ticket 29068), and test_workqueue_*.sh
8586 o Testing (chutney):
8587 - In "make test-network-all", test IPv6-only v3 single onion
8588 services, using the chutney network single-onion-v23-ipv6-md.
8589 Closes ticket 27251.
8592 Changes in version 0.4.0.5 - 2019-05-02
8593 This is the first stable release in the 0.4.0.x series. It contains
8594 improvements for power management and bootstrap reporting, as well as
8595 preliminary backend support for circuit padding to prevent some kinds
8596 of traffic analysis. It also continues our work in refactoring Tor for
8597 long-term maintainability.
8599 Per our support policy, we will support the 0.4.0.x series for nine
8600 months, or until three months after the release of a stable 0.4.1.x:
8601 whichever is longer. If you need longer-term support, please stick
8602 with 0.3.5.x, which will we plan to support until Feb 2022.
8604 Below are the changes since 0.4.0.4-rc. For a complete list of changes
8605 since 0.3.5.7, see the ReleaseNotes file.
8607 o Minor features (continuous integration):
8608 - In Travis, tell timelimit to use stem's backtrace signals, and
8609 launch python directly from timelimit, so python receives the
8610 signals from timelimit, rather than make. Closes ticket 30117.
8612 o Minor features (diagnostic):
8613 - Add more diagnostic log messages in an attempt to solve the issue
8614 of NUL bytes appearing in a microdescriptor cache. Related to
8617 o Minor features (testing):
8618 - Use the approx_time() function when setting the "Expires" header
8619 in directory replies, to make them more testable. Needed for
8622 o Minor bugfixes (rust):
8623 - Abort on panic in all build profiles, instead of potentially
8624 unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
8626 o Minor bugfixes (shellcheck):
8627 - Look for scripts in their correct locations during "make
8628 shellcheck". Previously we had looked in the wrong place during
8629 out-of-tree builds. Fixes bug 30263; bugfix on 0.4.0.1-alpha.
8631 o Minor bugfixes (testing):
8632 - Check the time in the "Expires" header using approx_time(). Fixes
8633 bug 30001; bugfix on 0.4.0.4-rc.
8635 o Minor bugfixes (UI):
8636 - Lower log level of unlink() errors during bootstrap. Fixes bug
8637 29930; bugfix on 0.4.0.1-alpha.
8640 Changes in version 0.4.0.4-rc - 2019-04-11
8641 Tor 0.4.0.4-rc is the first release candidate in its series; it fixes
8642 several bugs from earlier versions, including some that had affected
8643 stability, and one that prevented relays from working with NSS.
8645 o Major bugfixes (NSS, relay):
8646 - When running with NSS, disable TLS 1.2 ciphersuites that use
8647 SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
8648 these ciphersuites don't work -- which caused relays to fail to
8649 handshake with one another when these ciphersuites were enabled.
8650 Fixes bug 29241; bugfix on 0.3.5.1-alpha.
8652 o Minor features (bandwidth authority):
8653 - Make bandwidth authorities ignore relays that are reported in the
8654 bandwidth file with the flag "vote=0". This change allows us to
8655 report unmeasured relays for diagnostic reasons without including
8656 their bandwidth in the bandwidth authorities' vote. Closes
8658 - When a directory authority is using a bandwidth file to obtain the
8659 bandwidth values that will be included in the next vote, serve
8660 this bandwidth file at /tor/status-vote/next/bandwidth. Closes
8663 o Minor features (circuit padding):
8664 - Stop warning about undefined behavior in the probability
8665 distribution tests. Float division by zero may technically be
8666 undefined behavior in C, but it's well defined in IEEE 754.
8667 Partial backport of 29298. Closes ticket 29527; bugfix
8670 o Minor features (continuous integration):
8671 - On Travis Rust builds, cleanup Rust registry and refrain from
8672 caching the "target/" directory to speed up builds. Resolves
8675 o Minor features (dormant mode):
8676 - Add a DormantCanceledByStartup option to tell Tor that it should
8677 treat a startup event as cancelling any previous dormant state.
8678 Integrators should use this option with caution: it should only be
8679 used if Tor is being started because of something that the user
8680 did, and not if Tor is being automatically started in the
8681 background. Closes ticket 29357.
8683 o Minor features (geoip):
8684 - Update geoip and geoip6 to the April 2 2019 Maxmind GeoLite2
8685 Country database. Closes ticket 29992.
8687 o Minor features (NSS, diagnostic):
8688 - Try to log an error from NSS (if there is any) and a more useful
8689 description of our situation if we are using NSS and a call to
8690 SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
8692 o Minor bugfixes (security):
8693 - Fix a potential double free bug when reading huge bandwidth files.
8694 The issue is not exploitable in the current Tor network because
8695 the vulnerable code is only reached when directory authorities
8696 read bandwidth files, but bandwidth files come from a trusted
8697 source (usually the authorities themselves). Furthermore, the
8698 issue is only exploitable in rare (non-POSIX) 32-bit architectures,
8699 which are not used by any of the current authorities. Fixes bug
8700 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
8702 - Verify in more places that we are not about to create a buffer
8703 with more than INT_MAX bytes, to avoid possible OOB access in the
8704 event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
8705 fixed by Tobias Stoeckmann.
8707 o Minor bugfix (continuous integration):
8708 - Reset coverage state on disk after Travis CI has finished. This
8709 should prevent future coverage merge errors from causing the test
8710 suite for the "process" subsystem to fail. The process subsystem
8711 was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
8713 - Terminate test-stem if it takes more than 9.5 minutes to run.
8714 (Travis terminates the job after 10 minutes of no output.)
8715 Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
8717 o Minor bugfixes (bootstrap reporting):
8718 - During bootstrap reporting, correctly distinguish pluggable
8719 transports from plain proxies. Fixes bug 28925; bugfix
8722 o Minor bugfixes (C correctness):
8723 - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
8724 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
8727 o Minor bugfixes (circuitpadding testing):
8728 - Minor tweaks to avoid rare test failures related to timers and
8729 monotonic time. Fixes bug 29500; bugfix on 0.4.0.1-alpha.
8731 o Minor bugfixes (directory authorities):
8732 - Actually include the bandwidth-file-digest line in directory
8733 authority votes. Fixes bug 29959; bugfix on 0.4.0.2-alpha.
8735 o Minor bugfixes (logging):
8736 - On Windows, when errors cause us to reload a consensus from disk,
8737 tell the user that we are retrying at log level "notice".
8738 Previously we only logged this information at "info", which was
8739 confusing because the errors themselves were logged at "warning".
8740 Improves previous fix for 28614. Fixes bug 30004; bugfix
8743 o Minor bugfixes (pluggable transports):
8744 - Restore old behavior when it comes to discovering the path of a
8745 given Pluggable Transport executable file. A change in
8746 0.4.0.1-alpha had broken this behavior on paths containing a
8747 space. Fixes bug 29874; bugfix on 0.4.0.1-alpha.
8749 o Minor bugfixes (testing):
8750 - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
8751 recent test-network.sh to use new chutney features in CI. Fixes
8752 bug 29703; bugfix on 0.2.9.1-alpha.
8753 - Fix a test failure on Windows caused by an unexpected "BUG"
8754 warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
8757 o Minor bugfixes (TLS protocol):
8758 - When classifying a client's selection of TLS ciphers, if the
8759 client ciphers are not yet available, do not cache the result.
8760 Previously, we had cached the unavailability of the cipher list
8761 and never looked again, which in turn led us to assume that the
8762 client only supported the ancient V1 link protocol. This, in turn,
8763 was causing Stem integration tests to stall in some cases. Fixes
8764 bug 30021; bugfix on 0.2.4.8-alpha.
8766 o Code simplification and refactoring:
8767 - Introduce a connection_dir_buf_add() helper function that detects
8768 whether compression is in use, and adds a string accordingly.
8769 Resolves issue 28816.
8770 - Refactor handle_get_next_bandwidth() to use
8771 connection_dir_buf_add(). Implements ticket 29897.
8774 - Clarify that Tor performs stream isolation among *Port listeners
8775 by default. Resolves issue 29121.
8778 Changes in version 0.4.0.3-alpha - 2019-03-22
8779 Tor 0.4.0.3-alpha is the third in its series; it fixes several small
8780 bugs from earlier versions.
8782 o Minor features (address selection):
8783 - Treat the subnet 100.64.0.0/10 as public for some purposes;
8784 private for others. This subnet is the RFC 6598 (Carrier Grade
8785 NAT) IP range, and is deployed by many ISPs as an alternative to
8786 RFC 1918 that does not break existing internal networks. Tor now
8787 blocks SOCKS and control ports on these addresses and warns users
8788 if client ports or ExtORPorts are listening on a RFC 6598 address.
8789 Closes ticket 28525. Patch by Neel Chauhan.
8791 o Minor features (geoip):
8792 - Update geoip and geoip6 to the March 4 2019 Maxmind GeoLite2
8793 Country database. Closes ticket 29666.
8795 o Minor bugfixes (circuitpadding):
8796 - Inspect the circuit-level cell queue before sending padding, to
8797 avoid sending padding when too much data is queued. Fixes bug
8798 29204; bugfix on 0.4.0.1-alpha.
8800 o Minor bugfixes (logging):
8801 - Correct a misleading error message when IPv4Only or IPv6Only is
8802 used but the resolved address can not be interpreted as an address
8803 of the specified IP version. Fixes bug 13221; bugfix on
8804 0.2.3.9-alpha. Patch from Kris Katterjohn.
8805 - Log the correct port number for listening sockets when "auto" is
8806 used to let Tor pick the port number. Previously, port 0 was
8807 logged instead of the actual port number. Fixes bug 29144; bugfix
8808 on 0.3.5.1-alpha. Patch from Kris Katterjohn.
8809 - Stop logging a BUG() warning when Tor is waiting for exit
8810 descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
8812 o Minor bugfixes (memory management):
8813 - Refactor the shared random state's memory management so that it
8814 actually takes ownership of the shared random value pointers.
8815 Fixes bug 29706; bugfix on 0.2.9.1-alpha.
8817 o Minor bugfixes (memory management, testing):
8818 - Stop leaking parts of the shared random state in the shared-random
8819 unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
8821 o Minor bugfixes (pluggable transports):
8822 - Fix an assertion failure crash bug when a pluggable transport is
8823 terminated during the bootstrap phase. Fixes bug 29562; bugfix
8826 o Minor bugfixes (Rust, protover):
8827 - Add a missing "Padding" value to the Rust implementation of
8828 protover. Fixes bug 29631; bugfix on 0.4.0.1-alpha.
8830 o Minor bugfixes (single onion services):
8831 - Allow connections to single onion services to remain idle without
8832 being disconnected. Previously, relays acting as rendezvous points
8833 for single onion services were mistakenly closing idle rendezvous
8834 circuits after 60 seconds, thinking that they were unused
8835 directory-fetching circuits that had served their purpose. Fixes
8836 bug 29665; bugfix on 0.2.1.26.
8838 o Minor bugfixes (stats):
8839 - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
8840 relay and bridge extra-info documents. Fixes bug 29017; bugfix
8843 o Minor bugfixes (testing):
8844 - Downgrade some LOG_ERR messages in the address/* tests to
8845 warnings. The LOG_ERR messages were occurring when we had no
8846 configured network. We were failing the unit tests, because we
8847 backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
8848 29530; bugfix on 0.3.5.8.
8849 - Fix our gcov wrapper script to look for object files at the
8850 correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
8851 - Decrease the false positive rate of stochastic probability
8852 distribution tests. Fixes bug 29693; bugfix on 0.4.0.1-alpha.
8854 o Minor bugfixes (Windows, CI):
8855 - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
8856 Windows Server 2012 R2 job. The remaining 2 jobs still provide
8857 coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
8858 fast_finish, so failed jobs terminate the build immediately. Fixes
8859 bug 29601; bugfix on 0.3.5.4-alpha.
8862 Changes in version 0.3.5.8 - 2019-02-21
8863 Tor 0.3.5.8 backports several fixes from later releases, including fixes
8864 for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x
8867 It also includes a fix for a medium-severity security bug affecting Tor
8868 0.3.2.1-alpha and later. All Tor instances running an affected release
8869 should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
8871 o Major bugfixes (cell scheduler, KIST, security):
8872 - Make KIST consider the outbuf length when computing what it can
8873 put in the outbuf. Previously, KIST acted as though the outbuf
8874 were empty, which could lead to the outbuf becoming too full. It
8875 is possible that an attacker could exploit this bug to cause a Tor
8876 client or relay to run out of memory and crash. Fixes bug 29168;
8877 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
8878 TROVE-2019-001 and CVE-2019-8955.
8880 o Major bugfixes (networking, backport from 0.4.0.2-alpha):
8881 - Gracefully handle empty username/password fields in SOCKS5
8882 username/password auth message and allow SOCKS5 handshake to
8883 continue. Previously, we had rejected these handshakes, breaking
8884 certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
8886 o Minor features (compilation, backport from 0.4.0.2-alpha):
8887 - Compile correctly when OpenSSL is built with engine support
8888 disabled, or with deprecated APIs disabled. Closes ticket 29026.
8889 Patches from "Mangix".
8891 o Minor features (geoip):
8892 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
8893 Country database. Closes ticket 29478.
8895 o Minor features (testing, backport from 0.4.0.2-alpha):
8896 - Treat all unexpected ERR and BUG messages as test failures. Closes
8899 o Minor bugfixes (onion service v3, client, backport from 0.4.0.1-alpha):
8900 - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
8901 connection waiting for a descriptor that we actually have in the
8902 cache. It turns out that this can actually happen, though it is
8903 rare. Now, tor will recover and retry the descriptor. Fixes bug
8904 28669; bugfix on 0.3.2.4-alpha.
8906 o Minor bugfixes (IPv6, backport from 0.4.0.1-alpha):
8907 - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
8908 IPv6 socket was bound using an address family of AF_INET instead
8909 of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
8912 o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
8913 - Update Cargo.lock file to match the version made by the latest
8914 version of Rust, so that "make distcheck" will pass again. Fixes
8915 bug 29244; bugfix on 0.3.3.4-alpha.
8917 o Minor bugfixes (client, clock skew, backport from 0.4.0.1-alpha):
8918 - Select guards even if the consensus has expired, as long as the
8919 consensus is still reasonably live. Fixes bug 24661; bugfix
8922 o Minor bugfixes (compilation, backport from 0.4.0.1-alpha):
8923 - Compile correctly on OpenBSD; previously, we were missing some
8924 headers required in order to detect it properly. Fixes bug 28938;
8925 bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
8927 o Minor bugfixes (documentation, backport from 0.4.0.2-alpha):
8928 - Describe the contents of the v3 onion service client authorization
8929 files correctly: They hold public keys, not private keys. Fixes
8930 bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
8932 o Minor bugfixes (logging, backport from 0.4.0.1-alpha):
8933 - Rework rep_hist_log_link_protocol_counts() to iterate through all
8934 link protocol versions when logging incoming/outgoing connection
8935 counts. Tor no longer skips version 5, and we won't have to
8936 remember to update this function when new link protocol version is
8937 developed. Fixes bug 28920; bugfix on 0.2.6.10.
8939 o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
8940 - Log more information at "warning" level when unable to read a
8941 private key; log more information at "info" level when unable to
8942 read a public key. We had warnings here before, but they were lost
8943 during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
8945 o Minor bugfixes (misc, backport from 0.4.0.2-alpha):
8946 - The amount of total available physical memory is now determined
8947 using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
8948 when it is defined and a 64-bit variant is not available. Fixes
8949 bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
8951 o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
8952 - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
8953 than one private key for a hidden service. Fixes bug 29040; bugfix
8955 - In hs_cache_store_as_client() log an HSDesc we failed to parse at
8956 "debug" level. Tor used to log it as a warning, which caused very
8957 long log lines to appear for some users. Fixes bug 29135; bugfix
8959 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
8960 as a warning. Instead, log it as a protocol warning, because there
8961 is nothing that relay operators can do to fix it. Fixes bug 29029;
8962 bugfix on 0.2.5.7-rc.
8964 o Minor bugfixes (tests, directory clients, backport from 0.4.0.1-alpha):
8965 - Mark outdated dirservers when Tor only has a reasonably live
8966 consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
8968 o Minor bugfixes (tests, backport from 0.4.0.2-alpha):
8969 - Detect and suppress "bug" warnings from the util/time test on
8970 Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
8971 - Do not log an error-level message if we fail to find an IPv6
8972 network interface from the unit tests. Fixes bug 29160; bugfix
8975 o Minor bugfixes (usability, backport from 0.4.0.1-alpha):
8976 - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
8977 Some users took this phrasing to mean that the mentioned guard was
8978 under their control or responsibility, which it is not. Fixes bug
8979 28895; bugfix on Tor 0.3.0.1-alpha.
8982 Changes in version 0.3.4.11 - 2019-02-21
8983 Tor 0.3.4.11 is the third stable release in its series. It includes
8984 a fix for a medium-severity security bug affecting Tor 0.3.2.1-alpha and
8985 later. All Tor instances running an affected release should upgrade to
8986 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
8988 o Major bugfixes (cell scheduler, KIST, security):
8989 - Make KIST consider the outbuf length when computing what it can
8990 put in the outbuf. Previously, KIST acted as though the outbuf
8991 were empty, which could lead to the outbuf becoming too full. It
8992 is possible that an attacker could exploit this bug to cause a Tor
8993 client or relay to run out of memory and crash. Fixes bug 29168;
8994 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
8995 TROVE-2019-001 and CVE-2019-8955.
8997 o Minor features (geoip):
8998 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
8999 Country database. Closes ticket 29478.
9001 o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
9002 - Update Cargo.lock file to match the version made by the latest
9003 version of Rust, so that "make distcheck" will pass again. Fixes
9004 bug 29244; bugfix on 0.3.3.4-alpha.
9006 o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
9007 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9008 as a warning. Instead, log it as a protocol warning, because there
9009 is nothing that relay operators can do to fix it. Fixes bug 29029;
9010 bugfix on 0.2.5.7-rc.
9013 Changes in version 0.3.3.12 - 2019-02-21
9014 Tor 0.3.3.12 fixes a medium-severity security bug affecting Tor
9015 0.3.2.1-alpha and later. All Tor instances running an affected release
9016 should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
9018 This release marks the end of support for the Tor 0.3.3.x series. We
9019 recommend that users switch to either the Tor 0.3.4 series (supported
9020 until at least 10 June 2019), or the Tor 0.3.5 series, which will
9021 receive long-term support until at least 1 Feb 2022.
9023 o Major bugfixes (cell scheduler, KIST, security):
9024 - Make KIST consider the outbuf length when computing what it can
9025 put in the outbuf. Previously, KIST acted as though the outbuf
9026 were empty, which could lead to the outbuf becoming too full. It
9027 is possible that an attacker could exploit this bug to cause a Tor
9028 client or relay to run out of memory and crash. Fixes bug 29168;
9029 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
9030 TROVE-2019-001 and CVE-2019-8955.
9032 o Minor features (geoip):
9033 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
9034 Country database. Closes ticket 29478.
9036 o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
9037 - Update Cargo.lock file to match the version made by the latest
9038 version of Rust, so that "make distcheck" will pass again. Fixes
9039 bug 29244; bugfix on 0.3.3.4-alpha.
9041 o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
9042 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9043 as a warning. Instead, log it as a protocol warning, because there
9044 is nothing that relay operators can do to fix it. Fixes bug 29029;
9045 bugfix on 0.2.5.7-rc.
9048 Changes in version 0.4.0.2-alpha - 2019-02-21
9049 Tor 0.4.0.2-alpha is the second alpha in its series; it fixes several
9050 bugs from earlier versions, including several that had broken
9051 backward compatibility.
9053 It also includes a fix for a medium-severity security bug affecting Tor
9054 0.3.2.1-alpha and later. All Tor instances running an affected release
9055 should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
9057 o Major bugfixes (cell scheduler, KIST, security):
9058 - Make KIST consider the outbuf length when computing what it can
9059 put in the outbuf. Previously, KIST acted as though the outbuf
9060 were empty, which could lead to the outbuf becoming too full. It
9061 is possible that an attacker could exploit this bug to cause a Tor
9062 client or relay to run out of memory and crash. Fixes bug 29168;
9063 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
9064 TROVE-2019-001 and CVE-2019-8955.
9066 o Major bugfixes (networking):
9067 - Gracefully handle empty username/password fields in SOCKS5
9068 username/password auth messsage and allow SOCKS5 handshake to
9069 continue. Previously, we had rejected these handshakes, breaking
9070 certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
9072 o Major bugfixes (windows, startup):
9073 - When reading a consensus file from disk, detect whether it was
9074 written in text mode, and re-read it in text mode if so. Always
9075 write consensus files in binary mode so that we can map them into
9076 memory later. Previously, we had written in text mode, which
9077 confused us when we tried to map the file on windows. Fixes bug
9078 28614; bugfix on 0.4.0.1-alpha.
9080 o Minor features (compilation):
9081 - Compile correctly when OpenSSL is built with engine support
9082 disabled, or with deprecated APIs disabled. Closes ticket 29026.
9083 Patches from "Mangix".
9085 o Minor features (developer tooling):
9086 - Check that bugfix versions in changes files look like Tor versions
9087 from the versions spec. Warn when bugfixes claim to be on a future
9088 release. Closes ticket 27761.
9089 - Provide a git pre-commit hook that disallows committing if we have
9090 any failures in our code and changelog formatting checks. It is
9091 now available in scripts/maint/pre-commit.git-hook. Implements
9094 o Minor features (directory authority):
9095 - When a directory authority is using a bandwidth file to obtain
9096 bandwidth values, include the digest of that file in the vote.
9097 Closes ticket 26698.
9099 o Minor features (geoip):
9100 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
9101 Country database. Closes ticket 29478.
9103 o Minor features (testing):
9104 - Treat all unexpected ERR and BUG messages as test failures. Closes
9107 o Minor bugfixes (build, compatibility, rust):
9108 - Update Cargo.lock file to match the version made by the latest
9109 version of Rust, so that "make distcheck" will pass again. Fixes
9110 bug 29244; bugfix on 0.3.3.4-alpha.
9112 o Minor bugfixes (compilation):
9113 - Fix compilation warnings in test_circuitpadding.c. Fixes bug
9114 29169; bugfix on 0.4.0.1-alpha.
9115 - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
9116 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
9118 o Minor bugfixes (documentation):
9119 - Describe the contents of the v3 onion service client authorization
9120 files correctly: They hold public keys, not private keys. Fixes
9121 bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
9123 o Minor bugfixes (linux seccomp sandbox):
9124 - Fix startup crash when experimental sandbox support is enabled.
9125 Fixes bug 29150; bugfix on 0.4.0.1-alpha. Patch by Peter Gerber.
9127 o Minor bugfixes (logging):
9128 - Avoid logging that we are relaxing a circuit timeout when that
9129 timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
9130 - Log more information at "warning" level when unable to read a
9131 private key; log more information at "info" level when unable to
9132 read a public key. We had warnings here before, but they were lost
9133 during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
9135 o Minor bugfixes (misc):
9136 - The amount of total available physical memory is now determined
9137 using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
9138 when it is defined and a 64-bit variant is not available. Fixes
9139 bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
9141 o Minor bugfixes (onion services):
9142 - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
9143 than one private key for a hidden service. Fixes bug 29040; bugfix
9145 - In hs_cache_store_as_client() log an HSDesc we failed to parse at
9146 "debug" level. Tor used to log it as a warning, which caused very
9147 long log lines to appear for some users. Fixes bug 29135; bugfix
9149 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9150 as a warning. Instead, log it as a protocol warning, because there
9151 is nothing that relay operators can do to fix it. Fixes bug 29029;
9152 bugfix on 0.2.5.7-rc.
9154 o Minor bugfixes (scheduler):
9155 - When re-adding channels to the pending list, check the correct
9156 channel's sched_heap_idx. This issue has had no effect in mainline
9157 Tor, but could have led to bugs down the road in improved versions
9158 of our circuit scheduling code. Fixes bug 29508; bugfix
9161 o Minor bugfixes (tests):
9162 - Fix intermittent failures on an adaptive padding test. Fixes one
9163 case of bug 29122; bugfix on 0.4.0.1-alpha.
9164 - Disable an unstable circuit-padding test that was failing
9165 intermittently because of an ill-defined small histogram. Such
9166 histograms will be allowed again after 29298 is implemented. Fixes
9167 a second case of bug 29122; bugfix on 0.4.0.1-alpha.
9168 - Detect and suppress "bug" warnings from the util/time test on
9169 Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
9170 - Do not log an error-level message if we fail to find an IPv6
9171 network interface from the unit tests. Fixes bug 29160; bugfix
9175 - In the manpage entry describing MapAddress torrc setting, use
9176 example IP addresses from ranges specified for use in documentation
9177 by RFC 5737. Resolves issue 28623.
9180 - Remove the old check-tor script. Resolves issue 29072.
9183 Changes in version 0.4.0.1-alpha - 2019-01-18
9184 Tor 0.4.0.1-alpha is the first release in the new 0.4.0.x series. It
9185 introduces improved features for power and bandwidth conservation,
9186 more accurate reporting of bootstrap progress for user interfaces, and
9187 an experimental backend for an exciting new adaptive padding feature.
9188 There is also the usual assortment of bugfixes and minor features, all
9191 o Major features (battery management, client, dormant mode):
9192 - When Tor is running as a client, and it is unused for a long time,
9193 it can now enter a "dormant" state. When Tor is dormant, it avoids
9194 network and CPU activity until it is reawoken either by a user
9195 request or by a controller command. For more information, see the
9196 configuration options starting with "Dormant". Implements tickets
9198 - The client's memory of whether it is "dormant", and how long it
9199 has spent idle, persists across invocations. Implements
9201 - There is a DormantOnFirstStartup option that integrators can use
9202 if they expect that in many cases, Tor will be installed but
9205 o Major features (bootstrap reporting):
9206 - When reporting bootstrap progress, report the first connection
9207 uniformly, regardless of whether it's a connection for building
9208 application circuits. This allows finer-grained reporting of early
9209 progress than previously possible, with the improvements of ticket
9210 27169. Closes tickets 27167 and 27103. Addresses ticket 27308.
9211 - When reporting bootstrap progress, treat connecting to a proxy or
9212 pluggable transport as separate from having successfully used that
9213 proxy or pluggable transport to connect to a relay. Closes tickets
9216 o Major features (circuit padding):
9217 - Implement preliminary support for the circuit padding portion of
9218 Proposal 254. The implementation supports Adaptive Padding (aka
9219 WTF-PAD) state machines for use between experimental clients and
9220 relays. Support is also provided for APE-style state machines that
9221 use probability distributions instead of histograms to specify
9222 inter-packet delay. At the moment, Tor does not provide any
9223 padding state machines that are used in normal operation: for now,
9224 this feature exists solely for experimentation. Closes
9227 o Major features (refactoring):
9228 - Tor now uses an explicit list of its own subsystems when
9229 initializing and shutting down. Previously, these systems were
9230 managed implicitly in various places throughout the codebase.
9231 (There may still be some subsystems using the old system.) Closes
9234 o Minor features (bootstrap reporting):
9235 - When reporting bootstrap progress, stop distinguishing between
9236 situations where only internal paths are available and situations
9237 where external paths are available. Previously, Tor would often
9238 erroneously report that it had only internal paths. Closes
9241 o Minor features (continuous integration):
9242 - Log Python version during each Travis CI job. Resolves
9245 o Minor features (controller):
9246 - Add a DROPOWNERSHIP command to undo the effects of TAKEOWNERSHIP.
9247 Implements ticket 28843.
9249 o Minor features (developer tooling):
9250 - Provide a git hook script to prevent "fixup!" and "squash!"
9251 commits from ending up in the master branch, as scripts/main/pre-
9252 push.git-hook. Closes ticket 27993.
9254 o Minor features (directory authority):
9255 - Directory authorities support a new consensus algorithm, under
9256 which the family lines in microdescriptors are encoded in a
9257 canonical form. This change makes family lines more compressible
9258 in transit, and on the client. Closes ticket 28266; implements
9261 o Minor features (directory authority, relay):
9262 - Authorities now vote on a "StaleDesc" flag to indicate that a
9263 relay's descriptor is so old that the relay should upload again
9264 soon. Relays treat this flag as a signal to upload a new
9265 descriptor. This flag will eventually let us remove the
9266 'published' date from routerstatus entries, and make our consensus
9267 diffs much smaller. Closes ticket 26770; implements proposal 293.
9269 o Minor features (fallback directory mirrors):
9270 - Update the fallback whitelist based on operator opt-ins and opt-
9271 outs. Closes ticket 24805, patch by Phoul.
9273 o Minor features (FreeBSD):
9274 - On FreeBSD-based systems, warn relay operators if the
9275 "net.inet.ip.random_id" sysctl (IP ID randomization) is disabled.
9276 Closes ticket 28518.
9278 o Minor features (HTTP standards compliance):
9279 - Stop sending the header "Content-type: application/octet-stream"
9280 along with transparently compressed documents: this confused
9281 browsers. Closes ticket 28100.
9283 o Minor features (IPv6):
9284 - We add an option ClientAutoIPv6ORPort, to make clients randomly
9285 prefer a node's IPv4 or IPv6 ORPort. The random preference is set
9286 every time a node is loaded from a new consensus or bridge config.
9287 We expect that this option will enable clients to bootstrap more
9288 quickly without having to determine whether they support IPv4,
9289 IPv6, or both. Closes ticket 27490. Patch by Neel Chauhan.
9290 - When using addrs_in_same_network_family(), avoid choosing circuit
9291 paths that pass through the same IPv6 subnet more than once.
9292 Previously, we only checked IPv4 subnets. Closes ticket 24393.
9293 Patch by Neel Chauhan.
9295 o Minor features (log messages):
9296 - Improve log message in v3 onion services that could print out
9297 negative revision counters. Closes ticket 27707. Patch
9300 o Minor features (memory usage):
9301 - Save memory by storing microdescriptor family lists with a more
9302 compact representation. Closes ticket 27359.
9303 - Tor clients now use mmap() to read consensus files from disk, so
9304 that they no longer need keep the full text of a consensus in
9305 memory when parsing it or applying a diff. Closes ticket 27244.
9307 o Minor features (parsing):
9308 - Directory authorities now validate that router descriptors and
9309 ExtraInfo documents are in a valid subset of UTF-8, and reject
9310 them if they are not. Closes ticket 27367.
9312 o Minor features (performance):
9313 - Cache the results of summarize_protocol_flags(), so that we don't
9314 have to parse the same protocol-versions string over and over.
9315 This should save us a huge number of malloc calls on startup, and
9316 may reduce memory fragmentation with some allocators. Closes
9318 - Remove a needless memset() call from get_token_arguments, thereby
9319 speeding up the tokenization of directory objects by about 20%.
9320 Closes ticket 28852.
9321 - Replace parse_short_policy() with a faster implementation, to
9322 improve microdescriptor parsing time. Closes ticket 28853.
9323 - Speed up directory parsing a little by avoiding use of the non-
9324 inlined strcmp_len() function. Closes ticket 28856.
9325 - Speed up microdescriptor parsing by about 30%, to help improve
9326 startup time. Closes ticket 28839.
9328 o Minor features (pluggable transports):
9329 - Add support for emitting STATUS updates to Tor's control port from
9330 a pluggable transport process. Closes ticket 28846.
9331 - Add support for logging to Tor's logging subsystem from a
9332 pluggable transport process. Closes ticket 28180.
9334 o Minor features (process management):
9335 - Add a new process API for handling child processes. This new API
9336 allows Tor to have bi-directional communication with child
9337 processes on both Unix and Windows. Closes ticket 28179.
9338 - Use the subsystem manager to initialize and shut down the process
9339 module. Closes ticket 28847.
9341 o Minor features (relay):
9342 - When listing relay families, list them in canonical form including
9343 the relay's own identity, and try to give a more useful set of
9344 warnings. Part of ticket 28266 and proposal 298.
9346 o Minor features (required protocols):
9347 - Before exiting because of a missing required protocol, Tor will
9348 now check the publication time of the consensus, and not exit
9349 unless the consensus is newer than the Tor program's own release
9350 date. Previously, Tor would not check the consensus publication
9351 time, and so might exit because of a missing protocol that might
9352 no longer be required in a current consensus. Implements proposal
9353 297; closes ticket 27735.
9355 o Minor features (testing):
9356 - Allow a HeartbeatPeriod of less than 30 minutes in testing Tor
9357 networks. Closes ticket 28840. Patch by Rob Jansen.
9359 o Minor bugfixes (client, clock skew):
9360 - Bootstrap successfully even when Tor's clock is behind the clocks
9361 on the authorities. Fixes bug 28591; bugfix on 0.2.0.9-alpha.
9362 - Select guards even if the consensus has expired, as long as the
9363 consensus is still reasonably live. Fixes bug 24661; bugfix
9366 o Minor bugfixes (compilation):
9367 - Compile correctly on OpenBSD; previously, we were missing some
9368 headers required in order to detect it properly. Fixes bug 28938;
9369 bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
9371 o Minor bugfixes (directory clients):
9372 - Mark outdated dirservers when Tor only has a reasonably live
9373 consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
9375 o Minor bugfixes (directory mirrors):
9376 - Even when a directory mirror's clock is behind the clocks on the
9377 authorities, we now allow the mirror to serve "future"
9378 consensuses. Fixes bug 28654; bugfix on 0.3.0.1-alpha.
9380 o Minor bugfixes (DNS):
9381 - Gracefully handle an empty or absent resolve.conf file by falling
9382 back to using "localhost" as a DNS server (and hoping it works).
9383 Previously, we would just stop running as an exit. Fixes bug
9384 21900; bugfix on 0.2.1.10-alpha.
9386 o Minor bugfixes (guards):
9387 - In count_acceptable_nodes(), the minimum number is now one bridge
9388 or guard node, and two non-guard nodes for a circuit. Previously,
9389 we had added up the sum of all nodes with a descriptor, but that
9390 could cause us to build failing circuits when we had either too
9391 many bridges or not enough guard nodes. Fixes bug 25885; bugfix on
9392 0.2.3.1-alpha. Patch by Neel Chauhan.
9394 o Minor bugfixes (IPv6):
9395 - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
9396 IPv6 socket was bound using an address family of AF_INET instead
9397 of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
9400 o Minor bugfixes (logging):
9401 - Rework rep_hist_log_link_protocol_counts() to iterate through all
9402 link protocol versions when logging incoming/outgoing connection
9403 counts. Tor no longer skips version 5, and we won't have to
9404 remember to update this function when new link protocol version is
9405 developed. Fixes bug 28920; bugfix on 0.2.6.10.
9407 o Minor bugfixes (networking):
9408 - Introduce additional checks into tor_addr_parse() to reject
9409 certain incorrect inputs that previously were not detected. Fixes
9410 bug 23082; bugfix on 0.2.0.10-alpha.
9412 o Minor bugfixes (onion service v3, client):
9413 - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
9414 connection waiting for a descriptor that we actually have in the
9415 cache. It turns out that this can actually happen, though it is
9416 rare. Now, tor will recover and retry the descriptor. Fixes bug
9417 28669; bugfix on 0.3.2.4-alpha.
9419 o Minor bugfixes (periodic events):
9420 - Refrain from calling routerlist_remove_old_routers() from
9421 check_descriptor_callback(). Instead, create a new hourly periodic
9422 event. Fixes bug 27929; bugfix on 0.2.8.1-alpha.
9424 o Minor bugfixes (pluggable transports):
9425 - Make sure that data is continously read from standard output and
9426 standard error pipes of a pluggable transport child-process, to
9427 avoid deadlocking when a pipe's buffer is full. Fixes bug 26360;
9428 bugfix on 0.2.3.6-alpha.
9430 o Minor bugfixes (unit tests):
9431 - Instead of relying on hs_free_all() to clean up all onion service
9432 objects in test_build_descriptors(), we now deallocate them one by
9433 one. This lets Coverity know that we are not leaking memory there
9434 and fixes CID 1442277. Fixes bug 28989; bugfix on 0.3.5.1-alpha.
9436 o Minor bugfixes (usability):
9437 - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
9438 Some users took this phrasing to mean that the mentioned guard was
9439 under their control or responsibility, which it is not. Fixes bug
9440 28895; bugfix on Tor 0.3.0.1-alpha.
9442 o Code simplification and refactoring:
9443 - Reimplement NETINFO cell parsing and generation to rely on
9444 trunnel-generated wire format handling code. Closes ticket 27325.
9445 - Remove unnecessary unsafe code from the Rust macro "cstr!". Closes
9447 - Rework SOCKS wire format handling to rely on trunnel-generated
9448 parsing/generation code. Resolves ticket 27620.
9449 - Split out bootstrap progress reporting from control.c into a
9450 separate file. Part of ticket 27402.
9451 - The .may_include files that we use to describe our directory-by-
9452 directory dependency structure now describe a noncircular
9453 dependency graph over the directories that they cover. Our
9454 checkIncludes.py tool now enforces this noncircularity. Closes
9458 - Mention that you cannot add a new onion service if Tor is already
9459 running with Sandbox enabled. Closes ticket 28560.
9460 - Improve ControlPort documentation. Mention that it accepts
9461 address:port pairs, and can be used multiple times. Closes
9463 - Document the exact output of "tor --version". Closes ticket 28889.
9466 - Stop responding to the 'GETINFO status/version/num-concurring' and
9467 'GETINFO status/version/num-versioning' control port commands, as
9468 those were deprecated back in 0.2.0.30. Also stop listing them in
9469 output of 'GETINFO info/names'. Resolves ticket 28757.
9470 - The scripts used to generate and maintain the list of fallback
9471 directories have been extracted into a new "fallback-scripts"
9472 repository. Closes ticket 27914.
9475 - Run shellcheck for scripts in the in scripts/ directory. Closes
9477 - Add unit tests for tokenize_string() and get_next_token()
9478 functions. Resolves ticket 27625.
9480 o Code simplification and refactoring (onion service v3):
9481 - Consolidate the authorized client descriptor cookie computation
9482 code from client and service into one function. Closes
9485 o Code simplification and refactoring (shell scripts):
9486 - Cleanup scan-build.sh to silence shellcheck warnings. Closes
9488 - Fix issues that shellcheck found in chutney-git-bisect.sh.
9489 Resolves ticket 28006.
9490 - Fix issues that shellcheck found in updateRustDependencies.sh.
9491 Resolves ticket 28012.
9492 - Fix shellcheck warnings in cov-diff script. Resolves issue 28009.
9493 - Fix shellcheck warnings in run_calltool.sh. Resolves ticket 28011.
9494 - Fix shellcheck warnings in run_trunnel.sh. Resolves issue 28010.
9495 - Fix shellcheck warnings in scripts/test/coverage. Resolves
9499 Changes in version 0.3.3.11 - 2019-01-07
9500 Tor 0.3.3.11 backports numerous fixes from later versions of Tor.
9501 numerous fixes, including an important fix for anyone using OpenSSL
9502 1.1.1. Anyone running an earlier version of Tor 0.3.3 should upgrade
9503 to this version, or to a later series.
9505 As a reminder, support the Tor 0.3.3 series will end on 22 Feb 2019.
9506 We anticipate that this will be the last release of Tor 0.3.3, unless
9507 some major bug is before then. Some time between now and then, users
9508 should switch to either the Tor 0.3.4 series (supported until at least
9509 10 June 2019), or the Tor 0.3.5 series, which will receive long-term
9510 support until at least 1 Feb 2022.
9512 o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
9513 - Fix our usage of named groups when running as a TLS 1.3 client in
9514 OpenSSL 1.1.1. Previously, we only initialized EC groups when
9515 running as a relay, which caused clients to fail to negotiate TLS
9516 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
9519 o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
9520 - Fix a use-after-free error that could be caused by passing Tor an
9521 impossible set of options that would fail during options_act().
9522 Fixes bug 27708; bugfix on 0.3.3.1-alpha.
9524 o Minor features (continuous integration, backport from 0.3.5.1-alpha):
9525 - Only run one online rust build in Travis, to reduce network
9526 errors. Skip offline rust builds on Travis for Linux gcc, because
9527 they're redundant. Implements ticket 27252.
9528 - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
9529 duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
9530 Linux with default settings, because all the non-default builds
9531 use gcc on Linux. Implements ticket 27252.
9533 o Minor features (continuous integration, backport from 0.3.5.3-alpha):
9534 - Use the Travis Homebrew addon to install packages on macOS during
9535 Travis CI. The package list is the same, but the Homebrew addon
9536 does not do a `brew update` by default. Implements ticket 27738.
9538 o Minor features (fallback directory list, backport from 0.3.5.6-rc):
9539 - Replace the 150 fallbacks originally introduced in Tor
9540 0.3.3.1-alpha in January 2018 (of which ~115 were still
9541 functional), with a list of 157 fallbacks (92 new, 65 existing, 85
9542 removed) generated in December 2018. Closes ticket 24803.
9544 o Minor features (geoip):
9545 - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
9546 Country database. Closes ticket 29012.
9548 o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
9549 - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
9550 key export function from handling long labels. When this bug is
9551 detected, Tor will disable TLS 1.3. We recommend upgrading to a
9552 version of OpenSSL without this bug when it becomes available.
9553 Closes ticket 28973.
9555 o Minor bugfixes (relay statistics, backport from 0.3.5.7):
9556 - Update relay descriptor on bandwidth changes only when the uptime
9557 is smaller than 24h, in order to reduce the efficiency of guard
9558 discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
9560 o Minor bugfixes (C correctness, backport from 0.3.5.4-alpha):
9561 - Avoid undefined behavior in an end-of-string check when parsing
9562 the BEGIN line in a directory object. Fixes bug 28202; bugfix
9565 o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
9566 - Rewrite our assertion macros so that they no longer suppress the
9567 compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
9569 o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
9570 - Initialize a variable unconditionally in aes_new_cipher(), since
9571 some compilers cannot tell that we always initialize it before
9572 use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
9574 o Minor bugfixes (directory authority, backport from 0.3.5.4-alpha):
9575 - Log additional info when we get a relay that shares an ed25519 ID
9576 with a different relay, instead making a BUG() warning. Fixes bug
9577 27800; bugfix on 0.3.2.1-alpha.
9579 o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
9580 - When a user requests a group-readable DataDirectory, give it to
9581 them. Previously, when the DataDirectory and the CacheDirectory
9582 were the same, the default setting (0) for
9583 CacheDirectoryGroupReadable would override the setting for
9584 DataDirectoryGroupReadable. Fixes bug 26913; bugfix
9587 o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
9588 - When the onion service directory can't be created or has the wrong
9589 permissions, do not log a stack trace. Fixes bug 27335; bugfix
9592 o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
9593 - Close all SOCKS request (for the same .onion) if the newly fetched
9594 descriptor is unusable. Before that, we would close only the first
9595 one leaving the other hanging and let to time out by themselves.
9596 Fixes bug 27410; bugfix on 0.3.2.1-alpha.
9598 o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
9599 - Don't warn so loudly when Tor is unable to decode an onion
9600 descriptor. This can now happen as a normal use case if a client
9601 gets a descriptor with client authorization but the client is not
9602 authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
9604 o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
9605 - When deleting an ephemeral onion service (DEL_ONION), do not close
9606 any rendezvous circuits in order to let the existing client
9607 connections finish by themselves or closed by the application. The
9608 HS v2 is doing that already so now we have the same behavior for
9609 all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
9611 o Minor bugfixes (HTTP tunnel):
9612 - Fix a bug warning when closing an HTTP tunnel connection due to
9613 an HTTP request we couldn't handle. Fixes bug 26470; bugfix on
9616 o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
9617 - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
9618 bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
9620 o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
9621 - Ensure circuitmux queues are empty before scheduling or sending
9622 padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
9624 o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
9625 - Reject protocol names containing bytes other than alphanumeric
9626 characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
9629 o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
9630 - Compute protover votes correctly in the rust version of the
9631 protover code. Previously, the protover rewrite in 24031 allowed
9632 repeated votes from the same voter for the same protocol version
9633 to be counted multiple times in protover_compute_vote(). Fixes bug
9634 27649; bugfix on 0.3.3.5-rc.
9635 - Reject protover names that contain invalid characters. Fixes bug
9636 27687; bugfix on 0.3.3.1-alpha.
9638 o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
9639 - protover_all_supported() would attempt to allocate up to 16GB on
9640 some inputs, leading to a potential memory DoS. Fixes bug 27206;
9641 bugfix on 0.3.3.5-rc.
9643 o Minor bugfixes (rust, backport from 0.3.5.4-alpha):
9644 - Fix a potential null dereference in protover_all_supported(). Add
9645 a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
9646 - Return a string that can be safely freed by C code, not one
9647 created by the rust allocator, in protover_all_supported(). Fixes
9648 bug 27740; bugfix on 0.3.3.1-alpha.
9649 - Fix an API mismatch in the rust implementation of
9650 protover_compute_vote(). This bug could have caused crashes on any
9651 directory authorities running Tor with Rust (which we do not yet
9652 recommend). Fixes bug 27741; bugfix on 0.3.3.6.
9654 o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
9655 - If a unit test running in a subprocess exits abnormally or with a
9656 nonzero status code, treat the test as having failed, even if the
9657 test reported success. Without this fix, memory leaks don't cause
9658 the tests to fail, even with LeakSanitizer. Fixes bug 27658;
9659 bugfix on 0.2.2.4-alpha.
9661 o Minor bugfixes (testing, backport from 0.3.5.4-alpha):
9662 - Treat backtrace test failures as expected on BSD-derived systems
9663 (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
9664 (FreeBSD failures have been treated as expected since 18204 in
9665 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
9667 o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
9668 - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
9669 bugfix on 0.3.0.1-alpha.
9672 Changes in version 0.3.4.10 - 2019-01-07
9673 Tor 0.3.4.9 is the second stable release in its series; it backports
9674 numerous fixes, including an important fix for relays, and for anyone
9675 using OpenSSL 1.1.1. Anyone running an earlier version of Tor 0.3.4
9678 As a reminder, the Tor 0.3.4 series will be supported until 10 June
9679 2019. Some time between now and then, users should switch to the Tor
9680 0.3.5 series, which will receive long-term support until at least 1
9683 o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
9684 - Fix our usage of named groups when running as a TLS 1.3 client in
9685 OpenSSL 1.1.1. Previously, we only initialized EC groups when
9686 running as a relay, which caused clients to fail to negotiate TLS
9687 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
9690 o Major bugfixes (relay, directory, backport from 0.3.5.7):
9691 - Always reactivate linked connections in the main loop so long as
9692 any linked connection has been active. Previously, connections
9693 serving directory information wouldn't get reactivated after the
9694 first chunk of data was sent (usually 32KB), which would prevent
9695 clients from bootstrapping. Fixes bug 28912; bugfix on
9696 0.3.4.1-alpha. Patch by "cypherpunks3".
9698 o Minor features (continuous integration, Windows, backport from 0.3.5.6-rc):
9699 - Always show the configure and test logs, and upload them as build
9700 artifacts, when building for Windows using Appveyor CI.
9703 o Minor features (controller, backport from 0.3.5.1-alpha):
9704 - For purposes of CIRC_BW-based dropped cell detection, track half-
9705 closed stream ids, and allow their ENDs, SENDMEs, DATA and path
9706 bias check cells to arrive without counting it as dropped until
9707 either the END arrives, or the windows are empty. Closes
9710 o Minor features (fallback directory list, backport from 0.3.5.6-rc):
9711 - Replace the 150 fallbacks originally introduced in Tor
9712 0.3.3.1-alpha in January 2018 (of which ~115 were still
9713 functional), with a list of 157 fallbacks (92 new, 65 existing, 85
9714 removed) generated in December 2018. Closes ticket 24803.
9716 o Minor features (geoip):
9717 - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
9718 Country database. Closes ticket 28395.
9720 o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
9721 - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
9722 key export function from handling long labels. When this bug is
9723 detected, Tor will disable TLS 1.3. We recommend upgrading to a
9724 version of OpenSSL without this bug when it becomes available.
9725 Closes ticket 28973.
9727 o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
9728 - Initialize a variable unconditionally in aes_new_cipher(), since
9729 some compilers cannot tell that we always initialize it before
9730 use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
9732 o Minor bugfixes (connection, relay, backport from 0.3.5.5-alpha):
9733 - Avoid a logging a BUG() stacktrace when closing connection held
9734 open because the write side is rate limited but not the read side.
9735 Now, the connection read side is simply shut down until Tor is
9736 able to flush the connection and close it. Fixes bug 27750; bugfix
9739 o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.5-alpha):
9740 - Manually configure the zstd compiler options, when building using
9741 mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
9742 not come with a pkg-config file. Fixes bug 28454; bugfix
9744 - Stop using an external OpenSSL install, and stop installing MSYS2
9745 packages, when building using mingw on Appveyor Windows CI. Fixes
9746 bug 28399; bugfix on 0.3.4.1-alpha.
9748 o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.6-rc):
9749 - Explicitly specify the path to the OpenSSL library and do not
9750 download OpenSSL from Pacman, but instead use the library that is
9751 already provided by AppVeyor. Fixes bug 28574; bugfix on master.
9753 o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
9754 - When a user requests a group-readable DataDirectory, give it to
9755 them. Previously, when the DataDirectory and the CacheDirectory
9756 were the same, the default setting (0) for
9757 CacheDirectoryGroupReadable would override the setting for
9758 DataDirectoryGroupReadable. Fixes bug 26913; bugfix
9761 o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
9762 - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
9763 bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
9765 o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
9766 - Don't warn so loudly when Tor is unable to decode an onion
9767 descriptor. This can now happen as a normal use case if a client
9768 gets a descriptor with client authorization but the client is not
9769 authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
9771 o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
9772 - When deleting an ephemeral onion service (DEL_ONION), do not close
9773 any rendezvous circuits in order to let the existing client
9774 connections finish by themselves or closed by the application. The
9775 HS v2 is doing that already so now we have the same behavior for
9776 all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
9778 o Minor bugfixes (relay statistics, backport from 0.3.5.7):
9779 - Update relay descriptor on bandwidth changes only when the uptime
9780 is smaller than 24h, in order to reduce the efficiency of guard
9781 discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
9783 o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
9784 - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
9785 bugfix on 0.3.0.1-alpha.
9788 Changes in version 0.3.5.7 - 2019-01-07
9789 Tor 0.3.5.7 is the first stable release in its series; it includes
9790 compilation and portability fixes, and a fix for a severe problem
9791 affecting directory caches.
9793 The Tor 0.3.5 series includes several new features and performance
9794 improvements, including client authorization for v3 onion services,
9795 cleanups to bootstrap reporting, support for improved bandwidth-
9796 measurement tools, experimental support for NSS in place of OpenSSL,
9797 and much more. It also begins a full reorganization of Tor's code
9798 layout, for improved modularity and maintainability in the future.
9799 Finally, there is the usual set of performance improvements and
9800 bugfixes that we try to do in every release series.
9802 There are a couple of changes in the 0.3.5 that may affect
9803 compatibility. First, the default version for newly created onion
9804 services is now v3. Use the HiddenServiceVersion option if you want to
9805 override this. Second, some log messages related to bootstrapping have
9806 changed; if you use stem, you may need to update to the latest version
9807 so it will recognize them.
9809 We have designated 0.3.5 as a "long-term support" (LTS) series: we
9810 will continue to patch major bugs in typical configurations of 0.3.5
9811 until at least 1 Feb 2022. (We do not plan to provide long-term
9812 support for embedding, Rust support, NSS support, running a directory
9813 authority, or unsupported platforms. For these, you will need to stick
9814 with the latest stable release.)
9816 Below are the changes since 0.3.5.6-rc. For a complete list of changes
9817 since 0.3.4.9, see the ReleaseNotes file.
9819 o Major bugfixes (relay, directory):
9820 - Always reactivate linked connections in the main loop so long as
9821 any linked connection has been active. Previously, connections
9822 serving directory information wouldn't get reactivated after the
9823 first chunk of data was sent (usually 32KB), which would prevent
9824 clients from bootstrapping. Fixes bug 28912; bugfix on
9825 0.3.4.1-alpha. Patch by "cypherpunks3".
9827 o Minor features (compilation):
9828 - When possible, place our warning flags in a separate file, to
9829 avoid flooding verbose build logs. Closes ticket 28924.
9831 o Minor features (geoip):
9832 - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
9833 Country database. Closes ticket 29012.
9835 o Minor features (OpenSSL bug workaround):
9836 - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
9837 key export function from handling long labels. When this bug is
9838 detected, Tor will disable TLS 1.3. We recommend upgrading to a
9839 version of OpenSSL without this bug when it becomes available.
9840 Closes ticket 28973.
9842 o Minor features (performance):
9843 - Remove about 96% of the work from the function that we run at
9844 startup to test our curve25519_basepoint implementation. Since
9845 this function has yet to find an actual failure, we now only run
9846 it for 8 iterations instead of 200. Based on our profile
9847 information, this change should save around 8% of our startup time
9848 on typical desktops, and may have a similar effect on other
9849 platforms. Closes ticket 28838.
9850 - Stop re-validating our hardcoded Diffie-Hellman parameters on
9851 every startup. Doing this wasted time and cycles, especially on
9852 low-powered devices. Closes ticket 28851.
9854 o Minor bugfixes (compilation):
9855 - Fix compilation for Android by adding a missing header to
9856 freespace.c. Fixes bug 28974; bugfix on 0.3.5.1-alpha.
9858 o Minor bugfixes (correctness):
9859 - Fix an unreached code path where we checked the value of
9860 "hostname" inside send_resolved_hostname_cell(). Previously, we
9861 used it before checking it; now we check it first. Fixes bug
9862 28879; bugfix on 0.1.2.7-alpha.
9864 o Minor bugfixes (testing):
9865 - Make sure that test_rebind.py actually obeys its timeout, even
9866 when it receives a large number of log messages. Fixes bug 28883;
9867 bugfix on 0.3.5.4-alpha.
9868 - Stop running stem's unit tests as part of "make test-stem", but
9869 continue to run stem's unit and online tests during "make test-
9870 stem-full". Fixes bug 28568; bugfix on 0.2.6.3-alpha.
9872 o Minor bugfixes (windows services):
9873 - Make Tor start correctly as an NT service again: previously it was
9874 broken by refactoring. Fixes bug 28612; bugfix on 0.3.5.3-alpha.
9876 o Code simplification and refactoring:
9877 - When parsing a port configuration, make it more obvious to static
9878 analyzer tools that we always initialize the address. Closes
9882 Changes in version 0.3.5.6-rc - 2018-12-18
9883 Tor 0.3.5.6-rc fixes numerous small bugs in earlier versions of Tor.
9884 It is the first release candidate in the 0.3.5.x series; if no further
9885 huge bugs are found, our next release may be the stable 0.3.5.x.
9887 o Minor features (continuous integration, Windows):
9888 - Always show the configure and test logs, and upload them as build
9889 artifacts, when building for Windows using Appveyor CI.
9892 o Minor features (fallback directory list):
9893 - Replace the 150 fallbacks originally introduced in Tor
9894 0.3.3.1-alpha in January 2018 (of which ~115 were still
9895 functional), with a list of 157 fallbacks (92 new, 65 existing, 85
9896 removed) generated in December 2018. Closes ticket 24803.
9898 o Minor features (geoip):
9899 - Update geoip and geoip6 to the December 5 2018 Maxmind GeoLite2
9900 Country database. Closes ticket 28744.
9902 o Minor bugfixes (compilation):
9903 - Add missing dependency on libgdi32.dll for tor-print-ed-signing-
9904 cert.exe on Windows. Fixes bug 28485; bugfix on 0.3.5.1-alpha.
9906 o Minor bugfixes (continuous integration, Windows):
9907 - Explicitly specify the path to the OpenSSL library and do not
9908 download OpenSSL from Pacman, but instead use the library that is
9909 already provided by AppVeyor. Fixes bug 28574; bugfix on master.
9911 o Minor bugfixes (onion service v3):
9912 - When deleting an ephemeral onion service (DEL_ONION), do not close
9913 any rendezvous circuits in order to let the existing client
9914 connections finish by themselves or closed by the application. The
9915 HS v2 is doing that already so now we have the same behavior for
9916 all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
9918 o Minor bugfixes (restart-in-process, boostrap):
9919 - Add missing resets of bootstrap tracking state when shutting down
9920 (regression caused by ticket 27169). Fixes bug 28524; bugfix
9923 o Minor bugfixes (testing):
9924 - Use a separate DataDirectory for the test_rebind script.
9925 Previously, this script would run using the default DataDirectory,
9926 and sometimes fail. Fixes bug 28562; bugfix on 0.3.5.1-alpha.
9927 Patch from Taylor R Campbell.
9928 - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
9929 bugfix on 0.3.0.1-alpha.
9931 o Minor bugfixes (Windows):
9932 - Correctly identify Windows 8.1, Windows 10, and Windows Server
9933 2008 and later from their NT versions. Fixes bug 28096; bugfix on
9934 0.2.2.34; reported by Keifer Bly.
9935 - On recent Windows versions, the GetVersionEx() function may report
9936 an earlier Windows version than the running OS. To avoid user
9937 confusion, add "[or later]" to Tor's version string on affected
9938 versions of Windows. Fixes bug 28096; bugfix on 0.2.2.34; reported
9940 - Remove Windows versions that were never supported by the
9941 GetVersionEx() function. Stop duplicating the latest Windows
9942 version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34;
9943 reported by Keifer Bly.
9946 - Increase logging and tag all log entries with timestamps in
9947 test_rebind.py. Provides diagnostics for issue 28229.
9949 o Code simplification and refactoring (shared random, dirauth):
9950 - Change many tor_assert() to use BUG() instead. The idea is to not
9951 crash a dirauth but rather scream loudly with a stacktrace and let
9952 it continue run. The shared random subsystem is very resilient and
9953 if anything wrong happens with it, at worst a non coherent value
9954 will be put in the vote and discarded by the other authorities.
9955 Closes ticket 19566.
9957 o Documentation (onion services):
9958 - Document in the man page that changing ClientOnionAuthDir value or
9959 adding a new file in the directory will not work at runtime upon
9960 sending a HUP if Sandbox 1. Closes ticket 28128.
9961 - Note in the man page that the only real way to fully revoke an
9962 onion service v3 client authorization is by restarting the tor
9963 process. Closes ticket 28275.
9966 Changes in version 0.3.5.5-alpha - 2018-11-16
9967 Tor 0.3.5.5-alpha includes numerous bugfixes on earlier releases,
9968 including several that we hope to backport to older release series in
9971 o Major bugfixes (OpenSSL, portability):
9972 - Fix our usage of named groups when running as a TLS 1.3 client in
9973 OpenSSL 1.1.1. Previously, we only initialized EC groups when
9974 running as a relay, which caused clients to fail to negotiate TLS
9975 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
9978 o Minor features (geoip):
9979 - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
9980 Country database. Closes ticket 28395.
9982 o Minor bugfixes (compilation):
9983 - Initialize a variable unconditionally in aes_new_cipher(), since
9984 some compilers cannot tell that we always initialize it before
9985 use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
9987 o Minor bugfixes (connection, relay):
9988 - Avoid a logging a BUG() stacktrace when closing connection held
9989 open because the write side is rate limited but not the read side.
9990 Now, the connection read side is simply shut down until Tor is
9991 able to flush the connection and close it. Fixes bug 27750; bugfix
9994 o Minor bugfixes (continuous integration, Windows):
9995 - Manually configure the zstd compiler options, when building using
9996 mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
9997 not come with a pkg-config file. Fixes bug 28454; bugfix
9999 - Stop using an external OpenSSL install, and stop installing MSYS2
10000 packages, when building using mingw on Appveyor Windows CI. Fixes
10001 bug 28399; bugfix on 0.3.4.1-alpha.
10003 o Minor bugfixes (documentation):
10004 - Make Doxygen work again after the code movement in the 0.3.5
10005 source tree. Fixes bug 28435; bugfix on 0.3.5.1-alpha.
10007 o Minor bugfixes (Linux seccomp2 sandbox):
10008 - Permit the "shutdown()" system call, which is apparently used by
10009 OpenSSL under some circumstances. Fixes bug 28183; bugfix
10012 o Minor bugfixes (logging):
10013 - Stop talking about the Named flag in log messages. Clients have
10014 ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix
10017 o Minor bugfixes (memory leaks):
10018 - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
10019 bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
10021 o Minor bugfixes (onion services):
10022 - On an intro point for a version 3 onion service, stop closing
10023 introduction circuits on an NACK. This lets the client decide
10024 whether to reuse the circuit or discard it. Previously, we closed
10025 intro circuits when sending NACKs. Fixes bug 27841; bugfix on
10026 0.3.2.1-alpha. Patch by Neel Chaunan.
10027 - When replacing a descriptor in the client cache, make sure to
10028 close all client introduction circuits for the old descriptor, so
10029 we don't end up with unusable leftover circuits. Fixes bug 27471;
10030 bugfix on 0.3.2.1-alpha.
10033 Changes in version 0.3.5.4-alpha - 2018-11-08
10034 Tor 0.3.5.4-alpha includes numerous bugfixes on earlier versions and
10035 improves our continuous integration support. It continues our attempts
10036 to stabilize this alpha branch and build it into a foundation for an
10037 acceptable long-term-support release.
10039 o Major bugfixes (compilation, rust):
10040 - Rust tests can now build and run successfully with the
10041 --enable-fragile-hardening option enabled. Doing this currently
10042 requires the rust beta channel; it will be possible with stable
10043 rust once Rust version 1.31 is released. Patch from Alex Crichton.
10044 Fixes bugs 27272, 27273, and 27274. Bugfix on 0.3.1.1-alpha.
10046 o Major bugfixes (embedding, main loop):
10047 - When DisableNetwork becomes set, actually disable periodic events
10048 that are already enabled. (Previously, we would refrain from
10049 enabling new ones, but we would leave the old ones turned on.)
10050 Fixes bug 28348; bugfix on 0.3.4.1-alpha.
10052 o Minor features (continuous integration):
10053 - Add a Travis CI build for --enable-nss on Linux gcc. Closes
10055 - Add new CI job to Travis configuration to run stem-based
10056 integration tests. Closes ticket 27913.
10058 o Minor features (Windows, continuous integration):
10059 - Build tor on Windows Server 2012 R2 and Windows Server 2016 using
10060 Appveyor's CI. Closes ticket 28318.
10062 o Minor bugfixes (C correctness, also in 0.3.4.9):
10063 - Avoid undefined behavior in an end-of-string check when parsing
10064 the BEGIN line in a directory object. Fixes bug 28202; bugfix
10067 o Minor bugfixes (compilation):
10068 - Fix a pair of missing headers on OpenBSD. Fixes bug 28303; bugfix
10069 on 0.3.5.1-alpha. Patch from Kris Katterjohn.
10071 o Minor bugfixes (compilation, OpenSolaris):
10072 - Fix compilation on OpenSolaris and its descendants by adding a
10073 missing include to compat_pthreads.c. Fixes bug 27963; bugfix
10076 o Minor bugfixes (configuration):
10077 - Refuse to start with relative file paths and RunAsDaemon set
10078 (regression from the fix for bug 22731). Fixes bug 28298; bugfix
10081 o Minor bugfixes (directory authority, also in 0.3.4.9):
10082 - Log additional info when we get a relay that shares an ed25519 ID
10083 with a different relay, instead of a BUG() warning with a
10084 backtrace. Fixes bug 27800; bugfix on 0.3.2.1-alpha.
10086 o Minor bugfixes (onion service v3):
10087 - Build the service descriptor's signing key certificate before
10088 uploading, so we always have a fresh one: leaving no chances for
10089 it to expire service side. Fixes bug 27838; bugfix
10092 o Minor bugfixes (onion service v3, client authorization):
10093 - Fix an assert() when adding a client authorization for the first
10094 time and then sending a HUP signal to the service. Before that,
10095 Tor would stop abruptly. Fixes bug 27995; bugfix on 0.3.5.1-alpha.
10097 o Minor bugfixes (onion services):
10098 - Unless we have explicitly set HiddenServiceVersion, detect the
10099 onion service version and then look for invalid options.
10100 Previously, we did the reverse, but that broke existing configs
10101 which were pointed to a v2 service and had options like
10102 HiddenServiceAuthorizeClient set. Fixes bug 28127; bugfix on
10103 0.3.5.1-alpha. Patch by Neel Chauhan.
10105 o Minor bugfixes (portability):
10106 - Make the OPE code (which is used for v3 onion services) run
10107 correctly on big-endian platforms. Fixes bug 28115; bugfix
10110 o Minor bugfixes (protover, rust):
10111 - Reject extra commas in version strings. Fixes bug 27197; bugfix
10114 o Minor bugfixes (relay shutdown, systemd):
10115 - Notify systemd of ShutdownWaitLength so it can be set to longer
10116 than systemd's TimeoutStopSec. In Tor's systemd service file, set
10117 TimeoutSec to 60 seconds to allow Tor some time to shut down.
10118 Fixes bug 28113; bugfix on 0.2.6.2-alpha.
10120 o Minor bugfixes (rust, also in 0.3.4.9):
10121 - Fix a potential null dereference in protover_all_supported(). Add
10122 a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
10123 - Return a string that can be safely freed by C code, not one
10124 created by the rust allocator, in protover_all_supported(). Fixes
10125 bug 27740; bugfix on 0.3.3.1-alpha.
10127 o Minor bugfixes (rust, directory authority, also in 0.3.4.9):
10128 - Fix an API mismatch in the rust implementation of
10129 protover_compute_vote(). This bug could have caused crashes on any
10130 directory authorities running Tor with Rust (which we do not yet
10131 recommend). Fixes bug 27741; bugfix on 0.3.3.6.
10133 o Minor bugfixes (testing):
10134 - Avoid hangs and race conditions in test_rebind.py. Fixes bug
10135 27968; bugfix on 0.3.5.1-alpha.
10137 o Minor bugfixes (testing, also in 0.3.4.9):
10138 - Treat backtrace test failures as expected on BSD-derived systems
10139 (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
10140 (FreeBSD failures have been treated as expected since 18204 in
10141 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
10143 o Documentation (onion service manpage):
10144 - Improve HSv3 client authorization by making some options more
10145 explicit and detailed. Closes ticket 28026. Patch by Mike Tigas.
10148 Changes in version 0.3.4.9 - 2018-11-02
10149 Tor 0.3.4.9 is the second stable release in its series; it backports
10150 numerous fixes, including a fix for a bandwidth management bug that
10151 was causing memory exhaustion on relays. Anyone running an earlier
10152 version of Tor 0.3.4.9 should upgrade.
10154 o Major bugfixes (compilation, backport from 0.3.5.3-alpha):
10155 - Fix compilation on ARM (and other less-used CPUs) when compiling
10156 with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
10158 o Major bugfixes (mainloop, bootstrap, backport from 0.3.5.3-alpha):
10159 - Make sure Tor bootstraps and works properly if only the
10160 ControlPort is set. Prior to this fix, Tor would only bootstrap
10161 when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
10162 port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
10164 o Major bugfixes (relay, backport from 0.3.5.3-alpha):
10165 - When our write bandwidth limit is exhausted, stop writing on the
10166 connection. Previously, we had a typo in the code that would make
10167 us stop reading instead, leading to relay connections being stuck
10168 indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
10171 o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
10172 - Fix a use-after-free error that could be caused by passing Tor an
10173 impossible set of options that would fail during options_act().
10174 Fixes bug 27708; bugfix on 0.3.3.1-alpha.
10176 o Minor features (continuous integration, backport from 0.3.5.1-alpha):
10177 - Don't do a distcheck with --disable-module-dirauth in Travis.
10178 Implements ticket 27252.
10179 - Only run one online rust build in Travis, to reduce network
10180 errors. Skip offline rust builds on Travis for Linux gcc, because
10181 they're redundant. Implements ticket 27252.
10182 - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
10183 duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
10184 Linux with default settings, because all the non-default builds
10185 use gcc on Linux. Implements ticket 27252.
10187 o Minor features (continuous integration, backport from 0.3.5.3-alpha):
10188 - Use the Travis Homebrew addon to install packages on macOS during
10189 Travis CI. The package list is the same, but the Homebrew addon
10190 does not do a `brew update` by default. Implements ticket 27738.
10192 o Minor features (geoip):
10193 - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
10194 Country database. Closes ticket 27991.
10196 o Minor bugfixes (32-bit OSX and iOS, timing, backport from 0.3.5.2-alpha):
10197 - Fix an integer overflow bug in our optimized 32-bit millisecond-
10198 difference algorithm for 32-bit Apple platforms. Previously, it
10199 would overflow when calculating the difference between two times
10200 more than 47 days apart. Fixes part of bug 27139; bugfix
10202 - Improve the precision of our 32-bit millisecond difference
10203 algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
10204 bugfix on 0.3.4.1-alpha.
10205 - Relax the tolerance on the mainloop/update_time_jumps test when
10206 running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
10209 o Minor bugfixes (C correctness, to appear in 0.3.5.4-alpha):
10210 - Avoid undefined behavior in an end-of-string check when parsing
10211 the BEGIN line in a directory object. Fixes bug 28202; bugfix
10214 o Minor bugfixes (CI, appveyor, to appear in 0.3.5.4-alpha):
10215 - Only install the necessary mingw packages during our appveyor
10216 builds. This change makes the build a little faster, and prevents
10217 a conflict with a preinstalled mingw openssl that appveyor now
10218 ships. Fixes bugs 27943 and 27765; bugfix on 0.3.4.2-alpha.
10220 o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
10221 - Rewrite our assertion macros so that they no longer suppress the
10222 compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
10224 o Minor bugfixes (continuous integration, backport from 0.3.5.1-alpha):
10225 - Stop reinstalling identical packages in our Windows CI. Fixes bug
10226 27464; bugfix on 0.3.4.1-alpha.
10228 o Minor bugfixes (directory authority, to appear in 0.3.5.4-alpha):
10229 - Log additional info when we get a relay that shares an ed25519 ID
10230 with a different relay, instead making a BUG() warning. Fixes bug
10231 27800; bugfix on 0.3.2.1-alpha.
10233 o Minor bugfixes (directory connection shutdown, backport from 0.3.5.1-alpha):
10234 - Avoid a double-close when shutting down a stalled directory
10235 connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
10237 o Minor bugfixes (HTTP tunnel, backport from 0.3.5.1-alpha):
10238 - Fix a bug warning when closing an HTTP tunnel connection due to an
10239 HTTP request we couldn't handle. Fixes bug 26470; bugfix
10242 o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
10243 - Ensure circuitmux queues are empty before scheduling or sending
10244 padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
10246 o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
10247 - When the onion service directory can't be created or has the wrong
10248 permissions, do not log a stack trace. Fixes bug 27335; bugfix
10251 o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
10252 - Close all SOCKS request (for the same .onion) if the newly fetched
10253 descriptor is unusable. Before that, we would close only the first
10254 one leaving the other hanging and let to time out by themselves.
10255 Fixes bug 27410; bugfix on 0.3.2.1-alpha.
10257 o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
10258 - When selecting a v3 rendezvous point, don't only look at the
10259 protover, but also check whether the curve25519 onion key is
10260 present. This way we avoid picking a relay that supports the v3
10261 rendezvous but for which we don't have the microdescriptor. Fixes
10262 bug 27797; bugfix on 0.3.2.1-alpha.
10264 o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
10265 - Reject protocol names containing bytes other than alphanumeric
10266 characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
10269 o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
10270 - Compute protover votes correctly in the rust version of the
10271 protover code. Previously, the protover rewrite in 24031 allowed
10272 repeated votes from the same voter for the same protocol version
10273 to be counted multiple times in protover_compute_vote(). Fixes bug
10274 27649; bugfix on 0.3.3.5-rc.
10275 - Reject protover names that contain invalid characters. Fixes bug
10276 27687; bugfix on 0.3.3.1-alpha.
10278 o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
10279 - protover_all_supported() would attempt to allocate up to 16GB on
10280 some inputs, leading to a potential memory DoS. Fixes bug 27206;
10281 bugfix on 0.3.3.5-rc.
10283 o Minor bugfixes (rust, directory authority, to appear in 0.3.5.4-alpha):
10284 - Fix an API mismatch in the rust implementation of
10285 protover_compute_vote(). This bug could have caused crashes on any
10286 directory authorities running Tor with Rust (which we do not yet
10287 recommend). Fixes bug 27741; bugfix on 0.3.3.6.
10289 o Minor bugfixes (rust, to appear in 0.3.5.4-alpha):
10290 - Fix a potential null dereference in protover_all_supported(). Add
10291 a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
10292 - Return a string that can be safely freed by C code, not one
10293 created by the rust allocator, in protover_all_supported(). Fixes
10294 bug 27740; bugfix on 0.3.3.1-alpha.
10296 o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
10297 - If a unit test running in a subprocess exits abnormally or with a
10298 nonzero status code, treat the test as having failed, even if the
10299 test reported success. Without this fix, memory leaks don't cause
10300 the tests to fail, even with LeakSanitizer. Fixes bug 27658;
10301 bugfix on 0.2.2.4-alpha.
10303 o Minor bugfixes (testing, backport from 0.3.5.3-alpha):
10304 - Make the hs_service tests use the same time source when creating
10305 the introduction point and when testing it. Now tests work better
10306 on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
10309 o Minor bugfixes (testing, to appear in 0.3.5.4-alpha):
10310 - Treat backtrace test failures as expected on BSD-derived systems
10311 (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
10312 (FreeBSD failures have been treated as expected since 18204 in
10313 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
10316 Changes in version 0.3.5.3-alpha - 2018-10-17
10317 Tor 0.3.5.3-alpha fixes several bugs, mostly from previous 0.3.5.x
10318 versions. One important fix for relays addresses a problem with rate-
10319 limiting code from back in 0.3.4.x: If the fix works out, we'll be
10320 backporting it soon. This release is still an alpha, but we hope it's
10321 getting closer and closer to stability.
10323 o Major features (onion services):
10324 - Version 3 onion services can now use the per-service
10325 HiddenServiceExportCircuitID option to differentiate client
10326 circuits. It communicates with the service by using the HAProxy
10327 protocol to assign virtual IP addresses to inbound client
10328 circuits. Closes ticket 4700. Patch by Mahrud Sayrafi.
10330 o Major bugfixes (compilation):
10331 - Fix compilation on ARM (and other less-used CPUs) when compiling
10332 with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
10334 o Major bugfixes (initialization, crash):
10335 - Fix an assertion crash that would stop Tor from starting up if it
10336 tried to activate a periodic event too early. Fixes bug 27861;
10337 bugfix on 0.3.5.1-alpha.
10339 o Major bugfixes (mainloop, bootstrap):
10340 - Make sure Tor bootstraps and works properly if only the
10341 ControlPort is set. Prior to this fix, Tor would only bootstrap
10342 when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
10343 port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
10345 o Major bugfixes (relay):
10346 - When our write bandwidth limit is exhausted, stop writing on the
10347 connection. Previously, we had a typo in the code that would make
10348 us stop reading instead, leading to relay connections being stuck
10349 indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
10352 o Minor features (continuous integration):
10353 - Use the Travis Homebrew addon to install packages on macOS during
10354 Travis CI. The package list is the same, but the Homebrew addon
10355 does not do a `brew update` by default. Implements ticket 27738.
10356 - Report what program produced the mysterious core file that we
10357 occasionally see on Travis CI during make distcheck. Closes
10360 o Minor features (geoip):
10361 - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
10362 Country database. Closes ticket 27991.
10364 o Minor bugfixes (code safety):
10365 - Rewrite our assertion macros so that they no longer suppress the
10366 compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
10369 o Minor bugfixes (compilation):
10370 - Compile the ed25519-donna code with a correct declaration of
10371 crypto_strongest_rand(). Previously, we built it with one type,
10372 but linked it against another in the unit tests, which caused
10373 compilation failures with LTO enabled. This could have caused
10374 other undefined behavior in the tests. Fixes bug 27728; bugfix
10377 o Minor bugfixes (compilation, netbsd):
10378 - Add a missing include back into procmon.c. Fixes bug 27990; bugfix
10381 o Minor bugfixes (continuous integration, appveyor):
10382 - Install only the necessary mingw packages during our appveyor
10383 builds. This change makes the build a little faster, and prevents
10384 a conflict with a preinstalled mingw openssl that appveyor now
10385 ships. Fixes bugs 27765 and 27943; bugfix on 0.3.4.2-alpha.
10387 o Minor bugfixes (directory permissions):
10388 - When a user requests a group-readable DataDirectory, give it to
10389 them. Previously, when the DataDirectory and the CacheDirectory
10390 were the same, the default setting (0) for
10391 CacheDirectoryGroupReadable would override the setting for
10392 DataDirectoryGroupReadable. Fixes bug 26913; bugfix
10395 o Minor bugfixes (memory leaks):
10396 - Fix a small memory leak when calling Tor with --dump-config. Fixes
10397 bug 27893; bugfix on 0.3.2.1-alpha.
10399 o Minor bugfixes (networking):
10400 - In retry_listeners_ports(), make sure that we're removing a member
10401 of old_conns smartlist at most once. Fixes bug 27808; bugfix
10403 - Refrain from attempting socket rebinding when old and new
10404 listeners are in different address families. Fixes bug 27928;
10405 bugfix on 0.3.5.1-alpha.
10407 o Minor bugfixes (onion service v3):
10408 - Stop dumping a stack trace when trying to connect to an intro
10409 point without having a descriptor for it. Fixes bug 27774; bugfix
10411 - Don't warn so loudly when Tor is unable to decode an onion
10412 descriptor. This can now happen as a normal use case if a client
10413 gets a descriptor with client authorization but the client is not
10414 authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
10415 - When selecting a v3 rendezvous point, don't only look at the
10416 protover, but also check whether the curve25519 onion key is
10417 present. This way we avoid picking a relay that supports the v3
10418 rendezvous but for which we don't have the microdescriptor. Fixes
10419 bug 27797; bugfix on 0.3.2.1-alpha.
10421 o Minor bugfixes (protover):
10422 - Reject protocol names containing bytes other than alphanumeric
10423 characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
10426 o Minor bugfixes (testing):
10427 - Make the hs_service tests use the same time source when creating
10428 the introduction point and when testing it. Now tests work better
10429 on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
10431 - In test_rebind.py, check if the Python version is in the supported
10432 range. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
10434 o Code simplification and refactoring:
10435 - Divide more large Tor source files -- especially ones that span
10436 multiple areas of functionality -- into smaller parts, including
10437 onion.c and main.c. Closes ticket 26747.
10438 - Divide the "routerparse.c" module into separate modules for each
10439 group of parsed objects. Closes ticket 27924.
10440 - Move protover_rust.c to the same place protover.c was moved to.
10441 Closes ticket 27814.
10442 - Split directory.c into separate pieces for client, server, and
10443 common functionality. Closes ticket 26744.
10444 - Split the non-statistics-related parts from the rephist.c and
10445 geoip.c modules. Closes ticket 27892.
10446 - Split the router.c file into relay-only and shared components, to
10447 help with future modularization. Closes ticket 27864.
10450 - In the tor-resolve(1) manpage, fix the reference to socks-
10451 extensions.txt by adding a web URL. Resolves ticket 27853.
10452 - Mention that we require Python to be 2.7 or newer for some
10453 integration tests that we ship with Tor. Resolves ticket 27677.
10456 Changes in version 0.3.5.2-alpha - 2018-09-21
10457 Tor 0.3.5.2-alpha fixes several bugs in 0.3.5.1-alpha, including one
10458 that made Tor think it had run out of sockets. Anybody running a relay
10459 or an onion service on 0.3.5.1-alpha should upgrade.
10461 o Major bugfixes (relay bandwidth statistics):
10462 - When we close relayed circuits, report the data in the circuit
10463 queues as being written in our relay bandwidth stats. This
10464 mitigates guard discovery and other attacks that close circuits
10465 for the explicit purpose of noticing this discrepancy in
10466 statistics. Fixes bug 23512; bugfix on 0.0.8pre3.
10468 o Major bugfixes (socket accounting):
10469 - In our socket accounting code, count a socket as closed even when
10470 it is closed indirectly by the TLS layer. Previously, we would
10471 count these sockets as still in use, and incorrectly believe that
10472 we had run out of sockets. Fixes bug 27795; bugfix
10475 o Minor bugfixes (32-bit OSX and iOS, timing):
10476 - Fix an integer overflow bug in our optimized 32-bit millisecond-
10477 difference algorithm for 32-bit Apple platforms. Previously, it
10478 would overflow when calculating the difference between two times
10479 more than 47 days apart. Fixes part of bug 27139; bugfix
10481 - Improve the precision of our 32-bit millisecond difference
10482 algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
10483 bugfix on 0.3.4.1-alpha.
10484 - Relax the tolerance on the mainloop/update_time_jumps test when
10485 running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
10488 o Minor bugfixes (onion service v3):
10489 - Close all SOCKS request (for the same .onion) if the newly fetched
10490 descriptor is unusable. Before that, we would close only the first
10491 one leaving the other hanging and let to time out by themselves.
10492 Fixes bug 27410; bugfix on 0.3.2.1-alpha.
10494 o Minor bugfixes (memory leak):
10495 - Fix an unlikely memory leak when trying to read a private key from
10496 a ridiculously large file. Fixes bug 27764; bugfix on
10497 0.3.5.1-alpha. This is CID 1439488.
10499 o Minor bugfixes (NSS):
10500 - Correctly detect failure to open a dummy TCP socket when stealing
10501 ownership of an fd from the NSS layer. Fixes bug 27782; bugfix
10504 o Minor bugfixes (rust):
10505 - protover_all_supported() would attempt to allocate up to 16GB on
10506 some inputs, leading to a potential memory DoS. Fixes bug 27206;
10507 bugfix on 0.3.3.5-rc.
10509 o Minor bugfixes (testing):
10510 - Revise the "conditionvar_timeout" test so that it succeeds even on
10511 heavily loaded systems where the test threads are not scheduled
10512 within 200 msec. Fixes bug 27073; bugfix on 0.2.6.3-alpha.
10514 o Code simplification and refactoring:
10515 - Divide the routerlist.c and dirserv.c modules into smaller parts.
10516 Closes ticket 27799.
10519 Changes in version 0.3.5.1-alpha - 2018-09-18
10520 Tor 0.3.5.1-alpha is the first release of the 0.3.5.x series. It adds
10521 client authorization for modern (v3) onion services, improves
10522 bootstrap reporting, begins reorganizing Tor's codebase, adds optional
10523 support for NSS in place of OpenSSL, and much more.
10525 o Major features (onion services, UI change):
10526 - For a newly created onion service, the default version is now 3.
10527 Tor still supports existing version 2 services, but the operator
10528 now needs to set "HiddenServiceVersion 2" in order to create a new
10529 version 2 service. For existing services, Tor now learns the
10530 version by reading the key file. Closes ticket 27215.
10532 o Major features (relay, UI change):
10533 - Relays no longer run as exits by default. If the "ExitRelay"
10534 option is auto (or unset), and no exit policy is specified with
10535 ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
10536 Previously in this case, we allowed exit traffic and logged a
10537 warning message. Closes ticket 21530. Patch by Neel Chauhan.
10538 - Tor now validates that the ContactInfo config option is valid UTF-
10539 8 when parsing torrc. Closes ticket 27428.
10541 o Major features (bootstrap):
10542 - Don't report directory progress until after a connection to a
10543 relay or bridge has succeeded. Previously, we'd report 80%
10544 progress based on cached directory information when we couldn't
10545 even connect to the network. Closes ticket 27169.
10547 o Major features (new code layout):
10548 - Nearly all of Tor's source code has been moved around into more
10549 logical places. The "common" directory is now divided into a set
10550 of libraries in "lib", and files in the "or" directory have been
10551 split into "core" (logic absolutely needed for onion routing),
10552 "feature" (independent modules in Tor), and "app" (to configure
10553 and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
10554 more information. Closes ticket 26481.
10556 This refactoring is not complete: although the libraries have been
10557 refactored to be acyclic, the main body of Tor is still too
10558 interconnected. We will attempt to improve this in the future.
10560 o Major features (onion services v3):
10561 - Implement onion service client authorization at the descriptor
10562 level: only authorized clients can decrypt a service's descriptor
10563 to find out how to contact it. A new torrc option was added to
10564 control this client side: ClientOnionAuthDir <path>. On the
10565 service side, if the "authorized_clients/" directory exists in the
10566 onion service directory path, client configurations are read from
10567 the files within. See the manpage for more details. Closes ticket
10568 27547. Patch done by Suphanat Chunhapanya (haxxpop).
10569 - Improve revision counter generation in next-gen onion services.
10570 Onion services can now scale by hosting multiple instances on
10571 different hosts without synchronization between them, which was
10572 previously impossible because descriptors would get rejected by
10573 HSDirs. Addresses ticket 25552.
10575 o Major features (portability, cryptography, experimental, TLS):
10576 - Tor now has the option to compile with the NSS library instead of
10577 OpenSSL. This feature is experimental, and we expect that bugs may
10578 remain. It is mainly intended for environments where Tor's
10579 performance is not CPU-bound, and where NSS is already known to be
10580 installed. To try it out, configure Tor with the --enable-nss
10581 flag. Closes tickets 26631, 26815, and 26816.
10583 If you are experimenting with this option and using an old cached
10584 consensus, Tor may fail to start. To solve this, delete your
10585 "cached-consensus" and "cached-microdesc-consensus" files,
10586 (if present), and restart Tor.
10588 o Major bugfixes (directory authority):
10589 - Actually check that the address we get from DirAuthority
10590 configuration line is valid IPv4. Explicitly disallow DirAuthority
10591 address to be a DNS hostname. Fixes bug 26488; bugfix
10594 o Major bugfixes (restart-in-process):
10595 - Fix a use-after-free error that could be caused by passing Tor an
10596 impossible set of options that would fail during options_act().
10597 Fixes bug 27708; bugfix on 0.3.3.1-alpha.
10599 o Minor features (admin tools):
10600 - Add a new --key-expiration option to print the expiration date of
10601 the signing cert in an ed25519_signing_cert file. Resolves
10604 o Minor features (build):
10605 - If you pass the "--enable-pic" option to configure, Tor will try
10606 to tell the compiler to build position-independent code suitable
10607 to link into a dynamic library. (The default remains -fPIE, for
10608 code suitable for a relocatable executable.) Closes ticket 23846.
10610 o Minor features (code correctness, testing):
10611 - Tor's build process now includes a "check-includes" make target to
10612 verify that no module of Tor relies on any headers from a higher-
10613 level module. We hope to use this feature over time to help
10614 refactor our codebase. Closes ticket 26447.
10616 o Minor features (code layout):
10617 - We have a new "lowest-level" error-handling API for use by code
10618 invoked from within the logging module. With this interface, the
10619 logging code is no longer at risk of calling into itself if a
10620 failure occurs while it is trying to log something. Closes
10623 o Minor features (compilation):
10624 - Tor's configure script now supports a --with-malloc= option to
10625 select your malloc implementation. Supported options are
10626 "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
10627 default). Addresses part of ticket 20424. Based on a patch from
10630 o Minor features (config):
10631 - The "auto" keyword in torrc is now case-insensitive. Closes
10634 o Minor features (continuous integration):
10635 - Don't do a distcheck with --disable-module-dirauth in Travis.
10636 Implements ticket 27252.
10637 - Install libcap-dev and libseccomp2-dev so these optional
10638 dependencies get tested on Travis CI. Closes ticket 26560.
10639 - Only run one online rust build in Travis, to reduce network
10640 errors. Skip offline rust builds on Travis for Linux gcc, because
10641 they're redundant. Implements ticket 27252.
10642 - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
10643 duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
10644 Linux with default settings, because all the non-default builds
10645 use gcc on Linux. Implements ticket 27252.
10647 o Minor features (controller):
10648 - Emit CIRC_BW events as soon as we detect that we processed an
10649 invalid or otherwise dropped cell on a circuit. This allows
10650 vanguards and other controllers to react more quickly to dropped
10651 cells. Closes ticket 27678.
10652 - For purposes of CIRC_BW-based dropped cell detection, track half-
10653 closed stream ids, and allow their ENDs, SENDMEs, DATA and path
10654 bias check cells to arrive without counting it as dropped until
10655 either the END arrives, or the windows are empty. Closes
10657 - Implement a 'GETINFO md/all' controller command to enable getting
10658 all known microdescriptors. Closes ticket 8323.
10659 - The GETINFO command now support an "uptime" argument, to return
10660 Tor's uptime in seconds. Closes ticket 25132.
10662 o Minor features (denial-of-service avoidance):
10663 - Make our OOM handler aware of the DNS cache so that it doesn't
10664 fill up the memory. This check is important for our DoS mitigation
10665 subsystem. Closes ticket 18642. Patch by Neel Chauhan.
10667 o Minor features (development):
10668 - Tor's makefile now supports running the "clippy" Rust style tool
10669 on our Rust code. Closes ticket 22156.
10671 o Minor features (directory authority):
10672 - There is no longer an artificial upper limit on the length of
10673 bandwidth lines. Closes ticket 26223.
10674 - When a bandwidth file is used to obtain the bandwidth measurements,
10675 include this bandwidth file headers in the votes. Closes
10677 - Improved support for networks with only a single authority or a
10678 single fallback directory. Patch from Gabriel Somlo. Closes
10681 o Minor features (embedding API):
10682 - The Tor controller API now supports a function to launch Tor with
10683 a preconstructed owning controller FD, so that embedding
10684 applications don't need to manage controller ports and
10685 authentication. Closes ticket 24204.
10686 - The Tor controller API now has a function that returns the name
10687 and version of the backend implementing the API. Closes
10690 o Minor features (geoip):
10691 - Update geoip and geoip6 to the September 6 2018 Maxmind GeoLite2
10692 Country database. Closes ticket 27631.
10694 o Minor features (memory management):
10695 - Get Libevent to use the same memory allocator as Tor, by calling
10696 event_set_mem_functions() during initialization. Resolves
10699 o Minor features (memory usage):
10700 - When not using them, store legacy TAP public onion keys in DER-
10701 encoded format, rather than as expanded public keys. This should
10702 save several megabytes on typical clients. Closes ticket 27246.
10704 o Minor features (OpenSSL):
10705 - When possible, use RFC5869 HKDF implementation from OpenSSL rather
10706 than our own. Resolves ticket 19979.
10708 o Minor features (Rust, code quality):
10709 - Improve rust code quality in the rust protover implementation by
10710 making it more idiomatic. Includes changing an internal API to
10711 take &str instead of &String. Closes ticket 26492.
10713 o Minor features (testing):
10714 - Add scripts/test/chutney-git-bisect.sh, for bisecting using
10715 chutney. Implements ticket 27211.
10717 o Minor features (tor-resolve):
10718 - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
10719 Side-effect of the refactoring for ticket 26526.
10721 o Minor features (UI):
10722 - Log each included configuration file or directory as we read it,
10723 to provide more visibility about where Tor is reading from. Patch
10724 from Unto Sten; closes ticket 27186.
10725 - Lower log level of "Scheduler type KIST has been enabled" to INFO.
10726 Closes ticket 26703.
10728 o Minor bugfixes (bootstrap):
10729 - Try harder to get descriptors in non-exit test networks, by using
10730 the mid weight for the third hop when there are no exits. Fixes
10731 bug 27237; bugfix on 0.2.6.2-alpha.
10733 o Minor bugfixes (C correctness):
10734 - Avoid casting smartlist index to int implicitly, as it may trigger
10735 a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
10736 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
10737 - Use time_t for all values in
10738 predicted_ports_prediction_time_remaining(). Rework the code that
10739 computes difference between durations/timestamps. Fixes bug 27165;
10740 bugfix on 0.3.1.1-alpha.
10742 o Minor bugfixes (client, memory usage):
10743 - When not running as a directory cache, there is no need to store
10744 the text of the current consensus networkstatus in RAM.
10745 Previously, however, clients would store it anyway, at a cost of
10746 over 5 MB. Now, they do not. Fixes bug 27247; bugfix
10749 o Minor bugfixes (client, reachableaddresses):
10750 - Instead of adding a "reject *:*" line to ReachableAddresses when
10751 loading the configuration, add one to the policy after parsing it
10752 in parse_reachable_addresses(). This prevents extra "reject *.*"
10753 lines from accumulating on reloads. Fixes bug 20874; bugfix on
10754 0.1.1.5-alpha. Patch by Neel Chauhan.
10756 o Minor bugfixes (code quality):
10757 - Rename sandbox_getaddrinfo() and other functions to no longer
10758 misleadingly suggest that they are sandbox-only. Fixes bug 26525;
10759 bugfix on 0.2.7.1-alpha.
10761 o Minor bugfixes (configuration, Onion Services):
10762 - In rend_service_parse_port_config(), disallow any input to remain
10763 after address-port pair was parsed. This will catch address and
10764 port being whitespace-separated by mistake of the user. Fixes bug
10765 27044; bugfix on 0.2.9.10.
10767 o Minor bugfixes (continuous integration):
10768 - Stop reinstalling identical packages in our Windows CI. Fixes bug
10769 27464; bugfix on 0.3.4.1-alpha.
10771 o Minor bugfixes (controller):
10772 - Consider all routerinfo errors other than "not a server" to be
10773 transient for the purpose of "GETINFO exit-policy/*" controller
10774 request. Print stacktrace in the unlikely case of failing to
10775 recompute routerinfo digest. Fixes bug 27034; bugfix
10778 o Minor bugfixes (directory connection shutdown):
10779 - Avoid a double-close when shutting down a stalled directory
10780 connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
10782 o Minor bugfixes (HTTP tunnel):
10783 - Fix a bug warning when closing an HTTP tunnel connection due to an
10784 HTTP request we couldn't handle. Fixes bug 26470; bugfix
10787 o Minor bugfixes (ipv6):
10788 - In addrs_in_same_network_family(), we choose the subnet size based
10789 on the IP version (IPv4 or IPv6). Previously, we chose a fixed
10790 subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
10791 15518; bugfix on 0.2.3.1-alpha. Patch by Neel Chauhan.
10793 o Minor bugfixes (logging):
10794 - As a precaution, do an early return from log_addr_has_changed() if
10795 Tor is running as client. Also, log a stack trace for debugging as
10796 this function should only be called when Tor runs as server. Fixes
10797 bug 26892; bugfix on 0.1.1.9-alpha.
10798 - Refrain from mentioning bug 21018 in the logs, as it is already
10799 fixed. Fixes bug 25477; bugfix on 0.2.9.8.
10801 o Minor bugfixes (logging, documentation):
10802 - When SafeLogging is enabled, scrub IP address in
10803 channel_tls_process_netinfo_cell(). Also, add a note to manpage
10804 that scrubbing is not guaranteed on loglevels below Notice. Fixes
10805 bug 26882; bugfix on 0.2.4.10-alpha.
10807 o Minor bugfixes (netflow padding):
10808 - Ensure circuitmux queues are empty before scheduling or sending
10809 padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
10811 o Minor bugfixes (onion service v2):
10812 - Log at level "info", not "warning", in the case that we do not
10813 have a consensus when a .onion request comes in. This can happen
10814 normally while bootstrapping. Fixes bug 27040; bugfix
10817 o Minor bugfixes (onion service v3):
10818 - When the onion service directory can't be created or has the wrong
10819 permissions, do not log a stack trace. Fixes bug 27335; bugfix
10822 o Minor bugfixes (OS compatibility):
10823 - Properly handle configuration changes that move a listener to/from
10824 wildcard IP address. If the first attempt to bind a socket fails,
10825 close the old listener and try binding the socket again. Fixes bug
10826 17873; bugfix on 0.0.8pre-1.
10828 o Minor bugfixes (performance)::
10829 - Rework node_is_a_configured_bridge() to no longer call
10830 node_get_all_orports(), which was performing too many memory
10831 allocations. Fixes bug 27224; bugfix on 0.2.3.9.
10833 o Minor bugfixes (relay statistics):
10834 - Update relay descriptor on bandwidth changes only when the uptime
10835 is smaller than 24h, in order to reduce the efficiency of guard
10836 discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
10838 o Minor bugfixes (relays):
10839 - Consider the fact that we'll be making direct connections to our
10840 entry and guard nodes when computing the fraction of nodes that
10841 have their descriptors. Also, if we are using bridges and there is
10842 at least one bridge with a full descriptor, treat the fraction of
10843 guards available as 100%. Fixes bug 25886; bugfix on 0.2.4.10-alpha.
10844 Patch by Neel Chauhan.
10845 - Update the message logged on relays when DirCache is disabled.
10846 Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
10847 Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
10849 o Minor bugfixes (rust, protover):
10850 - Compute protover votes correctly in the rust version of the
10851 protover code. Previously, the protover rewrite in 24031 allowed
10852 repeated votes from the same voter for the same protocol version
10853 to be counted multiple times in protover_compute_vote(). Fixes bug
10854 27649; bugfix on 0.3.3.5-rc.
10855 - Reject protover names that contain invalid characters. Fixes bug
10856 27687; bugfix on 0.3.3.1-alpha.
10858 o Minor bugfixes (testing):
10859 - Fix two unit tests to work when HOME environment variable is not
10860 set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
10861 - If a unit test running in a subprocess exits abnormally or with a
10862 nonzero status code, treat the test as having failed, even if the
10863 test reported success. Without this fix, memory leaks don't cause
10864 the tests to fail, even with LeakSanitizer. Fixes bug 27658;
10865 bugfix on 0.2.2.4-alpha.
10866 - When logging a version mismatch in our openssl_version tests,
10867 report the actual offending version strings. Fixes bug 26152;
10868 bugfix on 0.2.9.1-alpha.
10869 - Fix forking tests on Windows when there is a space somewhere in
10870 the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
10872 o Code simplification and refactoring:
10873 - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
10874 longer needed. Closes ticket 26502.
10875 - Include paths to header files within Tor are now qualified by
10876 directory within the top-level src directory.
10877 - Many structures have been removed from the centralized "or.h"
10878 header, and moved into their own headers. This will allow us to
10879 reduce the number of places in the code that rely on each
10880 structure's contents and layout. Closes ticket 26383.
10881 - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
10882 - Remove GetAdaptersAddresses_fn_t. The code that used it was
10883 removed as part of the 26481 refactor. Closes ticket 27467.
10884 - Rework Tor SOCKS server code to use Trunnel and benefit from
10885 autogenerated functions for parsing and generating SOCKS wire
10886 format. New implementation is cleaner, more maintainable and
10887 should be less prone to heartbleed-style vulnerabilities.
10888 Implements a significant fraction of ticket 3569.
10889 - Split sampled_guards_update_from_consensus() and
10890 select_entry_guard_for_circuit() into subfunctions. In
10891 entry_guards_update_primary() unite three smartlist enumerations
10892 into one and move smartlist comparison code out of the function.
10893 Closes ticket 21349.
10894 - Tor now assumes that you have standards-conformant stdint.h and
10895 inttypes.h headers when compiling. Closes ticket 26626.
10896 - Unify our bloom filter logic. Previously we had two copies of this
10897 code: one for routerlist filtering, and one for address set
10898 calculations. Closes ticket 26510.
10899 - Use the simpler strcmpstart() helper in
10900 rend_parse_v2_service_descriptor instead of strncmp(). Closes
10902 - Utility functions that can perform a DNS lookup are now wholly
10903 separated from those that can't, in separate headers and C
10904 modules. Closes ticket 26526.
10907 - Copy paragraph and URL to Tor's code of conduct document from
10908 CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
10909 - Remove old instructions from INSTALL document. Closes ticket 26588.
10910 - Warn users that they should not include MyFamily line(s) in their
10911 torrc when running Tor bridge. Closes ticket 26908.
10913 o Removed features:
10914 - Tor no longer supports building with the dmalloc library. For
10915 debugging memory issues, we suggest using gperftools or msan
10916 instead. Closes ticket 26426.
10917 - Tor no longer attempts to run on Windows environments without the
10918 GetAdaptersAddresses() function. This function has existed since
10919 Windows XP, which is itself already older than we support.
10920 - Remove Tor2web functionality for version 2 onion services. The
10921 Tor2webMode and Tor2webRendezvousPoints options are now obsolete.
10922 (This feature was never shipped in vanilla Tor and it was only
10923 possible to use this feature by building the support at compile
10924 time. Tor2webMode is not implemented for version 3 onion services.)
10925 Closes ticket 26367.
10928 Changes in version 0.2.9.17 - 2018-09-10
10929 Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
10931 o Minor features (compatibility, backport from 0.3.4.8):
10932 - Tell OpenSSL to maintain backward compatibility with previous
10933 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
10934 ciphers are disabled by default. Closes ticket 27344.
10936 o Minor features (continuous integration, backport from 0.3.4.7-rc):
10937 - Enable macOS builds in our Travis CI configuration. Closes
10939 - Install libcap-dev and libseccomp2-dev so these optional
10940 dependencies get tested on Travis CI. Closes ticket 26560.
10941 - Run asciidoc during Travis CI. Implements ticket 27087.
10942 - Use ccache in our Travis CI configuration. Closes ticket 26952.
10944 o Minor features (geoip):
10945 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
10946 Country database. Closes ticket 27089.
10948 o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
10949 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
10950 tell the compiler not to include the system malloc implementation.
10951 Fixes bug 20424; bugfix on 0.2.0.20-rc.
10953 o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
10954 - Silence a spurious compiler warning on the GetAdaptersAddresses
10955 function pointer cast. This issue is already fixed by 26481 in
10956 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
10957 bugfix on 0.2.3.11-alpha.
10958 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
10959 supported, and always fails. Some compilers warn about the
10960 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
10963 o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
10964 - Don't link or search for pthreads when building for Windows, even
10965 if we are using build environment (like mingw) that provides a
10966 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
10968 o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
10969 - Skip a pair of unreliable key generation tests on Windows, until
10970 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
10971 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
10973 o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
10974 - Pass the module flags to distcheck configure, and log the flags
10975 before running configure. (Backported to 0.2.9 and later as a
10976 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
10978 o Minor bugfixes (continuous integration, backport from 0.3.4.8):
10979 - When a Travis build fails, and showing a log fails, keep trying to
10980 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
10981 - When we use echo in Travis, don't pass a --flag as the first
10982 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
10984 o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
10985 - When voting for recommended versions, make sure that all of the
10986 versions are well-formed and parsable. Fixes bug 26485; bugfix
10989 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
10990 - Fix a bug in out sandboxing rules for the openat() syscall.
10991 Previously, no openat() call would be permitted, which would break
10992 filesystem operations on recent glibc versions. Fixes bug 25440;
10993 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
10995 o Minor bugfixes (onion services, backport from 0.3.4.8):
10996 - Silence a spurious compiler warning in
10997 rend_client_send_introduction(). Fixes bug 27463; bugfix
11000 o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
11001 - Log a protocol warning when single onion services or Tor2web clients
11002 fail to authenticate direct connections to relays.
11003 Fixes bug 26924; bugfix on 0.2.9.1-alpha.
11005 o Minor bugfixes (testing, backport from 0.3.4.6-rc):
11006 - Disable core dumps in test_bt.sh, to avoid failures in "make
11007 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11009 o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
11010 - Before running make test-network-all, delete old logs and test
11011 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11014 o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
11015 - Our "tortls/cert_matches_key" unit test no longer relies on
11016 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11017 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11018 Fixes bug 27226; bugfix on 0.2.5.1-alpha.
11020 o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
11021 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11022 27185; bugfix on 0.2.2.2-alpha.
11025 Changes in version 0.3.2.12 - 2018-09-10
11026 Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
11028 o Minor features (compatibility, backport from 0.3.4.8):
11029 - Tell OpenSSL to maintain backward compatibility with previous
11030 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11031 ciphers are disabled by default. Closes ticket 27344.
11033 o Minor features (continuous integration, backport from 0.3.4.7-rc):
11034 - Enable macOS builds in our Travis CI configuration. Closes
11036 - Install libcap-dev and libseccomp2-dev so these optional
11037 dependencies get tested on Travis CI. Closes ticket 26560.
11038 - Run asciidoc during Travis CI. Implements ticket 27087.
11039 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11041 o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
11042 - Use cargo cache in our Travis CI configuration. Closes
11045 o Minor features (controller, backport from 0.3.4.6-rc):
11046 - The control port now exposes the list of HTTPTunnelPorts and
11047 ExtOrPorts via GETINFO net/listeners/httptunnel and
11048 net/listeners/extor respectively. Closes ticket 26647.
11050 o Minor features (directory authorities, backport from 0.3.4.7-rc):
11051 - Authorities no longer vote to make the subprotocol version
11052 "LinkAuth=1" a requirement: it is unsupportable with NSS, and
11053 hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
11055 o Minor features (geoip):
11056 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11057 Country database. Closes ticket 27089.
11059 o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
11060 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11061 tell the compiler not to include the system malloc implementation.
11062 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11063 - Don't try to use a pragma to temporarily disable the
11064 -Wunused-const-variable warning if the compiler doesn't support
11065 it. Fixes bug 26785; bugfix on 0.3.2.11.
11067 o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
11068 - Silence a spurious compiler warning on the GetAdaptersAddresses
11069 function pointer cast. This issue is already fixed by 26481 in
11070 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11071 bugfix on 0.2.3.11-alpha.
11072 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11073 supported, and always fails. Some compilers warn about the
11074 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11077 o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
11078 - Don't link or search for pthreads when building for Windows, even
11079 if we are using build environment (like mingw) that provides a
11080 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11082 o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
11083 - Skip a pair of unreliable key generation tests on Windows, until
11084 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11085 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11087 o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
11088 - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
11089 - Pass the module flags to distcheck configure, and log the flags
11090 before running configure. (Backported to 0.2.9 and later as a
11091 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11093 o Minor bugfixes (continuous integration, backport from 0.3.4.8):
11094 - When a Travis build fails, and showing a log fails, keep trying to
11095 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11096 - When we use echo in Travis, don't pass a --flag as the first
11097 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11099 o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
11100 - When voting for recommended versions, make sure that all of the
11101 versions are well-formed and parsable. Fixes bug 26485; bugfix
11104 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
11105 - Fix a bug in out sandboxing rules for the openat() syscall.
11106 Previously, no openat() call would be permitted, which would break
11107 filesystem operations on recent glibc versions. Fixes bug 25440;
11108 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11110 o Minor bugfixes (logging, backport from 0.3.4.6-rc):
11111 - Improve the log message when connection initiators fail to
11112 authenticate direct connections to relays. Fixes bug 26927; bugfix
11115 o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
11116 - Fix bug that causes services to not ever rotate their descriptors
11117 if they were getting SIGHUPed often. Fixes bug 26932; bugfix
11120 o Minor bugfixes (onion services, backport from 0.3.4.8):
11121 - Silence a spurious compiler warning in
11122 rend_client_send_introduction(). Fixes bug 27463; bugfix
11125 o Minor bugfixes (rust, backport from 0.3.4.7-rc):
11126 - Backport test_rust.sh from master. Fixes bug 26497; bugfix
11128 - Consistently use ../../.. as a fallback for $abs_top_srcdir in
11129 test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
11130 - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
11131 $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
11133 o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
11134 - Log a protocol warning when single onion services or Tor2web clients
11135 fail to authenticate direct connections to relays.
11136 Fixes bug 26924; bugfix on 0.2.9.1-alpha.
11138 o Minor bugfixes (testing, backport from 0.3.4.6-rc):
11139 - Disable core dumps in test_bt.sh, to avoid failures in "make
11140 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11142 o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
11143 - When running make test-network-all, use the mixed+hs-v2 network.
11144 (A previous fix to chutney removed v3 onion services from the
11145 mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
11146 confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
11147 - Before running make test-network-all, delete old logs and test
11148 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11151 o Minor bugfixes (testing, openssl compatibility):
11152 - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
11153 internals. Previously, it relied on unsupported OpenSSL behavior in
11154 a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
11155 bugfix on 0.2.5.1-alpha.
11157 o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
11158 - Our "tortls/cert_matches_key" unit test no longer relies on
11159 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11160 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11161 Fixes bug 27226; bugfix on 0.2.5.1-alpha.
11163 o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
11164 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11165 27185; bugfix on 0.2.2.2-alpha.
11168 Changes in version 0.3.3.10 - 2018-09-10
11169 Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
11171 o Minor features (bug workaround, backport from 0.3.4.7-rc):
11172 - Compile correctly on systems that provide the C11 stdatomic.h
11173 header, but where C11 atomic functions don't actually compile.
11174 Closes ticket 26779; workaround for Debian issue 903709.
11176 o Minor features (compatibility, backport from 0.3.4.8):
11177 - Tell OpenSSL to maintain backward compatibility with previous
11178 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11179 ciphers are disabled by default. Closes ticket 27344.
11181 o Minor features (continuous integration, backport from 0.3.4.7-rc):
11182 - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
11183 - Enable macOS builds in our Travis CI configuration. Closes
11185 - Install libcap-dev and libseccomp2-dev so these optional
11186 dependencies get tested on Travis CI. Closes ticket 26560.
11187 - Run asciidoc during Travis CI. Implements ticket 27087.
11188 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11190 o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
11191 - Use cargo cache in our Travis CI configuration. Closes
11194 o Minor features (controller, backport from 0.3.4.6-rc):
11195 - The control port now exposes the list of HTTPTunnelPorts and
11196 ExtOrPorts via GETINFO net/listeners/httptunnel and
11197 net/listeners/extor respectively. Closes ticket 26647.
11199 o Minor features (directory authorities, backport from 0.3.4.7-rc):
11200 - Authorities no longer vote to make the subprotocol version
11201 "LinkAuth=1" a requirement: it is unsupportable with NSS, and
11202 hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
11204 o Minor features (geoip):
11205 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11206 Country database. Closes ticket 27089.
11208 o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
11209 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11210 tell the compiler not to include the system malloc implementation.
11211 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11212 - Don't try to use a pragma to temporarily disable the
11213 -Wunused-const-variable warning if the compiler doesn't support
11214 it. Fixes bug 26785; bugfix on 0.3.2.11.
11216 o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
11217 - Silence a spurious compiler warning on the GetAdaptersAddresses
11218 function pointer cast. This issue is already fixed by 26481 in
11219 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11220 bugfix on 0.2.3.11-alpha.
11221 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11222 supported, and always fails. Some compilers warn about the
11223 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11226 o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
11227 - Don't link or search for pthreads when building for Windows, even
11228 if we are using build environment (like mingw) that provides a
11229 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11231 o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
11232 - Skip a pair of unreliable key generation tests on Windows, until
11233 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11234 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11236 o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
11237 - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
11238 - Pass the module flags to distcheck configure, and log the flags
11239 before running configure. (Backported to 0.2.9 and later as a
11240 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11242 o Minor bugfixes (continuous integration, backport from 0.3.4.8):
11243 - When a Travis build fails, and showing a log fails, keep trying to
11244 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11245 - When we use echo in Travis, don't pass a --flag as the first
11246 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11248 o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
11249 - When voting for recommended versions, make sure that all of the
11250 versions are well-formed and parsable. Fixes bug 26485; bugfix
11253 o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
11254 - Always call tor_free_all() when leaving tor_run_main(). When we
11255 did not, restarting tor in-process would cause an assertion
11256 failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
11258 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
11259 - Fix a bug in our sandboxing rules for the openat() syscall.
11260 Previously, no openat() call would be permitted, which would break
11261 filesystem operations on recent glibc versions. Fixes bug 25440;
11262 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11264 o Minor bugfixes (logging, backport from 0.3.4.6-rc):
11265 - Improve the log message when connection initiators fail to
11266 authenticate direct connections to relays. Fixes bug 26927; bugfix
11269 o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
11270 - Fix bug that causes services to not ever rotate their descriptors
11271 if they were getting SIGHUPed often. Fixes bug 26932; bugfix
11274 o Minor bugfixes (onion services, backport from 0.3.4.8):
11275 - Silence a spurious compiler warning in
11276 rend_client_send_introduction(). Fixes bug 27463; bugfix
11279 o Minor bugfixes (portability, backport from 0.3.4.6-rc):
11280 - Work around two different bugs in the OS X 10.10 and later SDKs
11281 that would prevent us from successfully targeting earlier versions
11282 of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
11284 o Minor bugfixes (portability, backport from 0.3.4.7-rc):
11285 - Fix compilation of the unit tests on GNU/Hurd, which does not
11286 define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
11289 o Minor bugfixes (rust, backport from 0.3.4.7-rc):
11290 - Backport test_rust.sh from master. Fixes bug 26497; bugfix
11292 - Consistently use ../../.. as a fallback for $abs_top_srcdir in
11293 test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
11294 - Protover parsing was accepting the presence of whitespace in
11295 version strings, which the C implementation would choke on, e.g.
11296 "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
11297 - Protover parsing was ignoring a 2nd hyphen and everything after
11298 it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
11300 - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
11301 $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
11302 - cd to ${abs_top_builddir}/src/rust before running cargo in
11303 src/test/test_rust.sh. This makes the working directory consistent
11304 between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
11306 o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
11307 - Log a protocol warning when single onion services or Tor2web clients
11308 fail to authenticate direct connections to relays.
11309 Fixes bug 26924; bugfix on 0.2.9.1-alpha.
11311 o Minor bugfixes (testing, backport from 0.3.4.6-rc):
11312 - Disable core dumps in test_bt.sh, to avoid failures in "make
11313 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11315 o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
11316 - When running make test-network-all, use the mixed+hs-v2 network.
11317 (A previous fix to chutney removed v3 onion services from the
11318 mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
11319 confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
11320 - Before running make test-network-all, delete old logs and test
11321 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11324 o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
11325 - Our "tortls/cert_matches_key" unit test no longer relies on
11326 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11327 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11328 Fixes bug 27226; bugfix on 0.2.5.1-alpha.
11330 o Minor bugfixes (v3 onion services, backport from 0.3.4.6-rc):
11331 - Stop sending ed25519 link specifiers in v3 onion service introduce
11332 cells and descriptors, when the rendezvous or introduction point
11333 doesn't support ed25519 link authentication. Fixes bug 26627;
11334 bugfix on 0.3.2.4-alpha.
11336 o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
11337 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11338 27185; bugfix on 0.2.2.2-alpha.
11341 Changes in version 0.3.4.8 - 2018-09-10
11342 Tor 0.3.4.8 is the first stable release in its series; it includes
11343 compilation and portability fixes.
11345 The Tor 0.3.4 series includes improvements for running Tor in
11346 low-power and embedded environments, which should help performance in
11347 general. We've begun work on better modularity, and included preliminary
11348 changes on the directory authority side to accommodate a new bandwidth
11349 measurement system. We've also integrated more continuous-integration
11350 systems into our development process, and made corresponding changes to
11351 Tor's testing infrastructure. Finally, we've continued to refine
11352 our anti-denial-of-service code.
11354 Below are the changes since 0.3.4.7-rc. For a complete list of changes
11355 since 0.3.3.9, see the ReleaseNotes file.
11357 o Minor features (compatibility):
11358 - Tell OpenSSL to maintain backward compatibility with previous
11359 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11360 ciphers are disabled by default. Closes ticket 27344.
11362 o Minor features (continuous integration):
11363 - Log the compiler path and version during Appveyor builds.
11364 Implements ticket 27449.
11365 - Show config.log and test-suite.log after failed Appveyor builds.
11366 Also upload the zipped full logs as a build artifact. Implements
11369 o Minor bugfixes (compilation):
11370 - Silence a spurious compiler warning on the GetAdaptersAddresses
11371 function pointer cast. This issue is already fixed by 26481 in
11372 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11373 bugfix on 0.2.3.11-alpha.
11374 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11375 supported, and always fails. Some compilers warn about the
11376 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11379 o Minor bugfixes (continuous integration):
11380 - Disable gcc hardening in Appveyor Windows 64-bit builds. As of
11381 August 29 2018, Appveyor images come with gcc 8.2.0 by default.
11382 Executables compiled for 64-bit Windows with this version of gcc
11383 crash when Tor's --enable-gcc-hardening flag is set. Fixes bug
11384 27460; bugfix on 0.3.4.1-alpha.
11385 - When a Travis build fails, and showing a log fails, keep trying to
11386 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11387 - When we use echo in Travis, don't pass a --flag as the first
11388 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11390 o Minor bugfixes (onion services):
11391 - Silence a spurious compiler warning in
11392 rend_client_send_introduction(). Fixes bug 27463; bugfix
11395 o Minor bugfixes (testing, chutney):
11396 - When running make test-network-all, use the mixed+hs-v2 network.
11397 (A previous fix to chutney removed v3 onion services from the
11398 mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
11399 confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
11400 - Before running make test-network-all, delete old logs and test
11401 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11404 Changes in version 0.3.4.7-rc - 2018-08-24
11405 Tor 0.3.4.7-rc fixes several small compilation, portability, and
11406 correctness issues in previous versions of Tor. This version is a
11407 release candidate: if no serious bugs are found, we expect that the
11408 stable 0.3.4 release will be (almost) the same as this release.
11410 o Minor features (bug workaround):
11411 - Compile correctly on systems that provide the C11 stdatomic.h
11412 header, but where C11 atomic functions don't actually compile.
11413 Closes ticket 26779; workaround for Debian issue 903709.
11415 o Minor features (continuous integration):
11416 - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
11417 - Enable macOS builds in our Travis CI configuration. Closes
11419 - Install libcap-dev and libseccomp2-dev so these optional
11420 dependencies get tested on Travis CI. Closes ticket 26560.
11421 - Only post Appveyor IRC notifications when the build fails.
11422 Implements ticket 27275.
11423 - Run asciidoc during Travis CI. Implements ticket 27087.
11424 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11426 o Minor features (continuous integration, rust):
11427 - Use cargo cache in our Travis CI configuration. Closes
11430 o Minor features (directory authorities):
11431 - Authorities no longer vote to make the subprotocol version
11432 "LinkAuth=1" a requirement: it is unsupportable with NSS, and
11433 hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
11435 o Minor features (geoip):
11436 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11437 Country database. Closes ticket 27089.
11439 o Minor bugfixes (compilation, windows):
11440 - Don't link or search for pthreads when building for Windows, even
11441 if we are using build environment (like mingw) that provides a
11442 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11444 o Minor bugfixes (continuous integration):
11445 - Improve Appveyor CI IRC logging. Generate correct branches and
11446 URLs for pull requests and tags. Use unambiguous short commits.
11447 Fixes bug 26979; bugfix on master.
11448 - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
11449 - Pass the module flags to distcheck configure, and log the flags
11450 before running configure. (Backported to 0.2.9 and later as a
11451 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11453 o Minor bugfixes (in-process restart):
11454 - Always call tor_free_all() when leaving tor_run_main(). When we
11455 did not, restarting tor in-process would cause an assertion
11456 failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
11458 o Minor bugfixes (linux seccomp2 sandbox):
11459 - Fix a bug in out sandboxing rules for the openat() syscall.
11460 Previously, no openat() call would be permitted, which would break
11461 filesystem operations on recent glibc versions. Fixes bug 25440;
11462 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11464 o Minor bugfixes (onion services):
11465 - Fix bug that causes services to not ever rotate their descriptors
11466 if they were getting SIGHUPed often. Fixes bug 26932; bugfix
11469 o Minor bugfixes (portability):
11470 - Fix compilation of the unit tests on GNU/Hurd, which does not
11471 define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
11474 o Minor bugfixes (rust):
11475 - Backport test_rust.sh from master. Fixes bug 26497; bugfix
11477 - Consistently use ../../.. as a fallback for $abs_top_srcdir in
11478 test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
11479 - Protover parsing was accepting the presence of whitespace in
11480 version strings, which the C implementation would choke on, e.g.
11481 "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
11482 - Protover parsing was ignoring a 2nd hyphen and everything after
11483 it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
11485 - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
11486 $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
11487 - cd to ${abs_top_builddir}/src/rust before running cargo in
11488 src/test/test_rust.sh. This makes the working directory consistent
11489 between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
11491 o Minor bugfixes (testing, bootstrap):
11492 - When calculating bootstrap progress, check exit policies and the
11493 exit flag. Previously, Tor would only check the exit flag, which
11494 caused race conditions in small and fast networks like chutney.
11495 Fixes bug 27236; bugfix on 0.2.6.3-alpha.
11497 o Minor bugfixes (testing, openssl compatibility):
11498 - Our "tortls/cert_matches_key" unit test no longer relies on
11499 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11500 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11501 Fixes bug 27226; bugfix on 0.2.5.1-alpha.
11503 o Minor bugfixes (Windows, compilation):
11504 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11505 27185; bugfix on 0.2.2.2-alpha.
11508 Changes in version 0.3.4.6-rc - 2018-08-06
11509 Tor 0.3.4.6-rc fixes several small compilation, portability, and
11510 correctness issues in previous versions of Tor. This version is a
11511 release candidate: if no serious bugs are found, we expect that the
11512 stable 0.3.4 release will be (almost) the same as this release.
11514 o Major bugfixes (event scheduler):
11515 - When we enable a periodic event, schedule it in the event loop
11516 rather than running it immediately. Previously, we would re-run
11517 periodic events immediately in the middle of (for example)
11518 changing our options, with unpredictable effects. Fixes bug 27003;
11519 bugfix on 0.3.4.1-alpha.
11521 o Minor features (compilation):
11522 - When building Tor, prefer to use Python 3 over Python 2, and more
11523 recent (contemplated) versions over older ones. Closes
11525 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11526 tell the compiler not to include the system malloc implementation.
11527 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11528 - Don't try to use a pragma to temporarily disable the
11529 -Wunused-const-variable warning if the compiler doesn't support
11530 it. Fixes bug 26785; bugfix on 0.3.2.11.
11532 o Minor bugfixes (continuous integration):
11533 - Skip a pair of unreliable key generation tests on Windows, until
11534 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11535 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11537 o Minor features (controller):
11538 - The control port now exposes the list of HTTPTunnelPorts and
11539 ExtOrPorts via GETINFO net/listeners/httptunnel and
11540 net/listeners/extor respectively. Closes ticket 26647.
11542 o Minor bugfixes (directory authority):
11543 - When voting for recommended versions, make sure that all of the
11544 versions are well-formed and parsable. Fixes bug 26485; bugfix
11547 o Minor features (geoip):
11548 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11549 Country database. Closes ticket 26674.
11551 o Minor features (Rust, portability):
11552 - Rust cross-compilation is now supported. Closes ticket 25895.
11554 o Minor bugfixes (compilation):
11555 - Update build system so that tor builds again with --disable-unittests
11556 after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
11557 - Fix a compilation warning on some versions of GCC when building
11558 code that calls routerinfo_get_my_routerinfo() twice, assuming
11559 that the second call will succeed if the first one did. Fixes bug
11560 26269; bugfix on 0.2.8.2-alpha.
11562 o Minor bugfixes (controller):
11563 - Report the port correctly when a port is configured to bind to
11564 "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
11565 - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
11566 Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
11567 on 0.3.3.1-alpha. Patch by "akwizgran".
11569 o Minor bugfixes (correctness, flow control):
11570 - Upon receiving a stream-level SENDME cell, verify that our window
11571 has not grown too large. Fixes bug 26214; bugfix on svn
11574 o Minor bugfixes (memory, correctness):
11575 - Fix a number of small memory leaks identified by coverity. Fixes
11576 bug 26467; bugfix on numerous Tor versions.
11578 o Minor bugfixes (logging):
11579 - Improve the log message when connection initiators fail to
11580 authenticate direct connections to relays. Fixes bug 26927; bugfix
11583 o Minor bugfixes (portability):
11584 - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
11585 26994; bugfix on 0.3.4.1-alpha.
11586 - Work around two different bugs in the OS X 10.10 and later SDKs
11587 that would prevent us from successfully targeting earlier versions
11588 of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
11590 o Minor bugfixes (single onion services, Tor2web):
11591 - Log a protocol warning when single onion services or Tor2web
11592 clients fail to authenticate direct connections to relays. Fixes
11593 bug 26924; bugfix on 0.2.9.1-alpha.
11595 o Minor bugfixes (testing):
11596 - Disable core dumps in test_bt.sh, to avoid failures in "make
11597 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11599 o Minor bugfixes (testing, compatibility):
11600 - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
11601 only to pass strings (rather than "bytes" objects) to the Python
11602 subprocess module. Python 3 on Windows seems to require this.
11603 Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
11604 0.3.1.1-alpha (for hs_ntor_ref.py).
11606 o Minor bugfixes (v3 onion services):
11607 - Stop sending ed25519 link specifiers in v3 onion service introduce
11608 cells and descriptors, when the rendezvous or introduction point
11609 doesn't support ed25519 link authentication. Fixes bug 26627;
11610 bugfix on 0.3.2.4-alpha.
11613 Changes in version 0.3.4.5-rc - 2018-07-13
11614 Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
11615 bridge relays should upgrade.
11617 o Directory authority changes:
11618 - The "Bifroest" bridge authority has been retired; the new bridge
11619 authority is "Serge", and it is operated by George from the
11620 TorBSD project. Closes ticket 26771.
11623 Changes in version 0.3.3.9 - 2018-07-13
11624 Tor 0.3.3.9 moves to a new bridge authority, meaning people running
11625 bridge relays should upgrade.
11627 o Directory authority changes:
11628 - The "Bifroest" bridge authority has been retired; the new bridge
11629 authority is "Serge", and it is operated by George from the
11630 TorBSD project. Closes ticket 26771.
11633 Changes in version 0.3.2.11 - 2018-07-13
11634 Tor 0.3.2.11 moves to a new bridge authority, meaning people running
11635 bridge relays should upgrade. We also take this opportunity to backport
11638 o Directory authority changes:
11639 - The "Bifroest" bridge authority has been retired; the new bridge
11640 authority is "Serge", and it is operated by George from the
11641 TorBSD project. Closes ticket 26771.
11643 o Directory authority changes (backport from 0.3.3.7):
11644 - Add an IPv6 address for the "dannenberg" directory authority.
11645 Closes ticket 26343.
11647 o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
11648 - When directory authorities read a zero-byte bandwidth file, they
11649 would previously log a warning with the contents of an
11650 uninitialised buffer. They now log a warning about the empty file
11651 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
11653 o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
11654 - Correctly detect when onion services get disabled after HUP. Fixes
11655 bug 25761; bugfix on 0.3.2.1.
11657 o Minor features (sandbox, backport from 0.3.3.4-alpha):
11658 - Explicitly permit the poll() system call when the Linux
11659 seccomp2-based sandbox is enabled: apparently, some versions of
11660 libc use poll() when calling getpwnam(). Closes ticket 25313.
11662 o Minor feature (continuous integration, backport from 0.3.3.5-rc):
11663 - Update the Travis CI configuration to use the stable Rust channel,
11664 now that we have decided to require that. Closes ticket 25714.
11666 o Minor features (continuous integration, backport from 0.3.4.1-alpha):
11667 - Our .travis.yml configuration now includes support for testing the
11668 results of "make distcheck". (It's not uncommon for "make check"
11669 to pass but "make distcheck" to fail.) Closes ticket 25814.
11670 - Our Travis CI configuration now integrates with the Coveralls
11671 coverage analysis tool. Closes ticket 25818.
11673 o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
11674 - Add several checks to detect whether Tor relays are uploading
11675 their descriptors without specifying why they regenerated them.
11676 Diagnostic for ticket 25686.
11678 o Minor features (compilation, backport from 0.3.4.4-rc):
11679 - When building Tor, prefer to use Python 3 over Python 2, and more
11680 recent (contemplated) versions over older ones. Closes
11683 o Minor features (geoip):
11684 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11685 Country database. Closes ticket 26674.
11687 o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
11688 - Upon receiving a malformed connected cell, stop processing the
11689 cell immediately. Previously we would mark the connection for
11690 close, but continue processing the cell as if the connection were
11691 open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
11693 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
11694 - Allow the nanosleep() system call, which glibc uses to implement
11695 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
11697 o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
11698 - When running the hs_ntor_ref.py test, make sure only to pass
11699 strings (rather than "bytes" objects) to the Python subprocess
11700 module. Python 3 on Windows seems to require this. Fixes bug
11701 26535; bugfix on 0.3.1.1-alpha.
11702 - When running the ntor_ref.py test, make sure only to pass strings
11703 (rather than "bytes" objects) to the Python subprocess module.
11704 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
11707 o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
11708 - Work around a change in OpenSSL 1.1.1 where return values that
11709 would previously indicate "no password" now indicate an empty
11710 password. Without this workaround, Tor instances running with
11711 OpenSSL 1.1.1 would accept descriptors that other Tor instances
11712 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
11714 o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
11715 - Document that the PerConnBW{Rate,Burst} options will fall back to
11716 their corresponding consensus parameters only if those parameters
11717 are set. Previously we had claimed that these values would always
11718 be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
11720 o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
11721 - Fix a compilation warning on some versions of GCC when building
11722 code that calls routerinfo_get_my_routerinfo() twice, assuming
11723 that the second call will succeed if the first one did. Fixes bug
11724 26269; bugfix on 0.2.8.2-alpha.
11726 o Minor bugfixes (client, backport from 0.3.4.1-alpha):
11727 - Don't consider Tor running as a client if the ControlPort is open,
11728 but no actual client ports are open. Fixes bug 26062; bugfix
11731 o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
11732 - Prevent a possible out-of-bounds smartlist read in
11733 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
11735 o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
11736 - Fix a very unlikely (impossible, we believe) null pointer
11737 dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
11738 Coverity; this is CID 1430932.
11740 o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
11741 - Fix a memory leak when a v3 onion service is configured and gets a
11742 SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
11743 - When parsing the descriptor signature, look for the token plus an
11744 extra white-space at the end. This is more correct but also will
11745 allow us to support new fields that might start with "signature".
11746 Fixes bug 26069; bugfix on 0.3.0.1-alpha.
11748 o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
11749 - Relays now correctly block attempts to re-extend to the previous
11750 relay by Ed25519 identity. Previously they would warn in this
11751 case, but not actually reject the attempt. Fixes bug 26158; bugfix
11754 o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
11755 - Avoid a crash when running with DirPort set but ORPort turned off.
11756 Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
11758 o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
11759 - Silence unused-const-variable warnings in zstd.h with some GCC
11760 versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
11762 o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
11763 - Avoid intermittent test failures due to a test that had relied on
11764 onion service introduction point creation finishing within 5
11765 seconds of real clock time. Fixes bug 25450; bugfix
11768 o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
11769 - Fix a C99 compliance issue in our configuration script that caused
11770 compilation issues when compiling Tor with certain versions of
11771 xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
11773 o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
11774 - Fix a number of small memory leaks identified by coverity. Fixes
11775 bug 26467; bugfix on numerous Tor versions.
11777 o Code simplification and refactoring (backport from 0.3.3.5-rc):
11778 - Move the list of default directory authorities to its own file.
11779 Closes ticket 24854. Patch by "beastr0".
11782 Changes in version 0.2.9.16 - 2018-07-13
11783 Tor 0.2.9.16 moves to a new bridge authority, meaning people running
11784 bridge relays should upgrade. We also take this opportunity to backport
11787 o Directory authority changes:
11788 - The "Bifroest" bridge authority has been retired; the new bridge
11789 authority is "Serge", and it is operated by George from the
11790 TorBSD project. Closes ticket 26771.
11792 o Directory authority changes (backport from 0.3.3.7):
11793 - Add an IPv6 address for the "dannenberg" directory authority.
11794 Closes ticket 26343.
11796 o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
11797 - When directory authorities read a zero-byte bandwidth file, they
11798 would previously log a warning with the contents of an
11799 uninitialised buffer. They now log a warning about the empty file
11800 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
11802 o Minor features (sandbox, backport from 0.3.3.4-alpha):
11803 - Explicitly permit the poll() system call when the Linux
11804 seccomp2-based sandbox is enabled: apparently, some versions of
11805 libc use poll() when calling getpwnam(). Closes ticket 25313.
11807 o Minor features (continuous integration, backport from 0.3.4.1-alpha):
11808 - Our .travis.yml configuration now includes support for testing the
11809 results of "make distcheck". (It's not uncommon for "make check"
11810 to pass but "make distcheck" to fail.) Closes ticket 25814.
11811 - Our Travis CI configuration now integrates with the Coveralls
11812 coverage analysis tool. Closes ticket 25818.
11814 o Minor features (compilation, backport from 0.3.4.4-rc):
11815 - When building Tor, prefer to use Python 3 over Python 2, and more
11816 recent (contemplated) versions over older ones. Closes
11819 o Minor features (geoip):
11820 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11821 Country database. Closes ticket 26674.
11823 o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
11824 - Upon receiving a malformed connected cell, stop processing the
11825 cell immediately. Previously we would mark the connection for
11826 close, but continue processing the cell as if the connection were
11827 open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
11829 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
11830 - Allow the nanosleep() system call, which glibc uses to implement
11831 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
11833 o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
11834 - When running the ntor_ref.py test, make sure only to pass strings
11835 (rather than "bytes" objects) to the Python subprocess module.
11836 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
11839 o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
11840 - Work around a change in OpenSSL 1.1.1 where return values that
11841 would previously indicate "no password" now indicate an empty
11842 password. Without this workaround, Tor instances running with
11843 OpenSSL 1.1.1 would accept descriptors that other Tor instances
11844 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
11846 o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
11847 - Fix a compilation warning on some versions of GCC when building
11848 code that calls routerinfo_get_my_routerinfo() twice, assuming
11849 that the second call will succeed if the first one did. Fixes bug
11850 26269; bugfix on 0.2.8.2-alpha.
11852 o Minor bugfixes (client, backport from 0.3.4.1-alpha):
11853 - Don't consider Tor running as a client if the ControlPort is open,
11854 but no actual client ports are open. Fixes bug 26062; bugfix
11857 o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
11858 - Prevent a possible out-of-bounds smartlist read in
11859 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
11861 o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
11862 - Fix a very unlikely (impossible, we believe) null pointer
11863 dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
11864 Coverity; this is CID 1430932.
11866 o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
11867 - Fix a number of small memory leaks identified by coverity. Fixes
11868 bug 26467; bugfix on numerous Tor versions.
11870 o Code simplification and refactoring (backport from 0.3.3.5-rc):
11871 - Move the list of default directory authorities to its own file.
11872 Closes ticket 24854. Patch by "beastr0".
11875 Changes in version 0.3.4.4-rc - 2018-07-09
11876 Tor 0.3.4.4-rc fixes several small compilation, portability, and
11877 correctness issues in previous versions of Tor. This version is a
11878 release candidate: if no serious bugs are found, we expect that the
11879 stable 0.3.4 release will be (almost) the same as this release.
11881 o Minor features (compilation):
11882 - When building Tor, prefer to use Python 3 over Python 2, and more
11883 recent (contemplated) versions over older ones. Closes
11886 o Minor features (geoip):
11887 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11888 Country database. Closes ticket 26674.
11890 o Minor features (Rust, portability):
11891 - Rust cross-compilation is now supported. Closes ticket 25895.
11893 o Minor bugfixes (compilation):
11894 - Fix a compilation warning on some versions of GCC when building
11895 code that calls routerinfo_get_my_routerinfo() twice, assuming
11896 that the second call will succeed if the first one did. Fixes bug
11897 26269; bugfix on 0.2.8.2-alpha.
11899 o Minor bugfixes (control port):
11900 - Report the port correctly when a port is configured to bind to
11901 "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
11902 - Handle the HSADDRESS= argument to the HSPOST command properly.
11903 (Previously, this argument was misparsed and thus ignored.) Fixes
11904 bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
11906 o Minor bugfixes (correctness, flow control):
11907 - Upon receiving a stream-level SENDME cell, verify that our window
11908 has not grown too large. Fixes bug 26214; bugfix on svn
11911 o Minor bugfixes (memory, correctness):
11912 - Fix a number of small memory leaks identified by coverity. Fixes
11913 bug 26467; bugfix on numerous Tor versions.
11915 o Minor bugfixes (testing, compatibility):
11916 - When running the hs_ntor_ref.py test, make sure only to pass
11917 strings (rather than "bytes" objects) to the Python subprocess
11918 module. Python 3 on Windows seems to require this. Fixes bug
11919 26535; bugfix on 0.3.1.1-alpha.
11920 - When running the ntor_ref.py test, make sure only to pass strings
11921 (rather than "bytes" objects) to the Python subprocess module.
11922 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
11926 Changes in version 0.3.3.8 - 2018-07-09
11927 Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
11928 fixes for a memory leak affecting directory authorities.
11930 o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
11931 - Stop leaking memory on directory authorities when planning to
11932 vote. This bug was crashing authorities by exhausting their
11933 memory. Fixes bug 26435; bugfix on 0.3.3.6.
11935 o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
11936 - Make sure that failing tests in Rust will actually cause the build
11937 to fail: previously, they were ignored. Fixes bug 26258; bugfix
11940 o Minor features (compilation, backport from 0.3.4.4-rc):
11941 - When building Tor, prefer to use Python 3 over Python 2, and more
11942 recent (contemplated) versions over older ones. Closes
11945 o Minor features (geoip):
11946 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11947 Country database. Closes ticket 26674.
11949 o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
11950 - Add several checks to detect whether Tor relays are uploading
11951 their descriptors without specifying why they regenerated them.
11952 Diagnostic for ticket 25686.
11954 o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
11955 - Don't count path selection failures as circuit build failures.
11956 This change should eliminate cases where Tor blames its guard or
11957 the network for situations like insufficient microdescriptors
11958 and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
11961 o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
11962 - Fix a compilation warning on some versions of GCC when building
11963 code that calls routerinfo_get_my_routerinfo() twice, assuming
11964 that the second call will succeed if the first one did. Fixes bug
11965 26269; bugfix on 0.2.8.2-alpha.
11967 o Minor bugfixes (control port, backport from 0.3.4.4-rc):
11968 - Handle the HSADDRESS= argument to the HSPOST command properly.
11969 (Previously, this argument was misparsed and thus ignored.) Fixes
11970 bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
11972 o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
11973 - Fix a number of small memory leaks identified by coverity. Fixes
11974 bug 26467; bugfix on numerous Tor versions.
11976 o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
11977 - Relays now correctly block attempts to re-extend to the previous
11978 relay by Ed25519 identity. Previously they would warn in this
11979 case, but not actually reject the attempt. Fixes bug 26158; bugfix
11982 o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
11983 - When shutting down, Tor now clears all the flags in the control.c
11984 module. This should prevent a bug where authentication cookies are
11985 not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
11987 o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
11988 - When running the hs_ntor_ref.py test, make sure only to pass
11989 strings (rather than "bytes" objects) to the Python subprocess
11990 module. Python 3 on Windows seems to require this. Fixes bug
11991 26535; bugfix on 0.3.1.1-alpha.
11992 - When running the ntor_ref.py test, make sure only to pass strings
11993 (rather than "bytes" objects) to the Python subprocess module.
11994 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
11998 Changes in version 0.3.4.3-alpha - 2018-06-26
11999 Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
12000 one that was causing stability issues on directory authorities.
12002 o Major bugfixes (directory authority):
12003 - Stop leaking memory on directory authorities when planning to
12004 vote. This bug was crashing authorities by exhausting their
12005 memory. Fixes bug 26435; bugfix on 0.3.3.6.
12007 o Major bugfixes (rust, testing):
12008 - Make sure that failing tests in Rust will actually cause the build
12009 to fail: previously, they were ignored. Fixes bug 26258; bugfix
12012 o Minor feature (directory authorities):
12013 - Stop warning about incomplete bw lines before the first complete
12014 bw line has been found, so that additional header lines can be
12015 ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
12017 o Minor features (relay, diagnostic):
12018 - Add several checks to detect whether Tor relays are uploading
12019 their descriptors without specifying why they regenerated them.
12020 Diagnostic for ticket 25686.
12022 o Minor features (unit tests):
12023 - Test complete bandwidth measurements files, and test that
12024 incomplete bandwidth lines only give warnings when the end of the
12025 header has not been detected. Fixes bug 25947; bugfix
12028 o Minor bugfixes (compilation):
12029 - Refrain from compiling unit testing related object files when
12030 --disable-unittests is set to configure script. Fixes bug 24891;
12031 bugfix on 0.2.5.1-alpha.
12032 - When linking the libtor_testing.a library, only include the
12033 dirauth object files once. Previously, they were getting added
12034 twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
12035 - The --enable-fatal-warnings flag now affects Rust code as well.
12036 Closes ticket 26245.
12038 o Minor bugfixes (onion services):
12039 - Recompute some consensus information after detecting a clock jump,
12040 or after transitioning from a non-live consensus to a live
12041 consensus. We do this to avoid having an outdated state, and
12042 miscalculating the index for next-generation onion services. Fixes
12043 bug 24977; bugfix on 0.3.2.1-alpha.
12045 o Minor bugfixes (relay):
12046 - Relays now correctly block attempts to re-extend to the previous
12047 relay by Ed25519 identity. Previously they would warn in this
12048 case, but not actually reject the attempt. Fixes bug 26158; bugfix
12051 o Minor bugfixes (testing):
12052 - Fix compilation of the doctests in the Rust crypto crate. Fixes
12053 bug 26415; bugfix on 0.3.4.1-alpha.
12054 - Instead of trying to read the geoip configuration files from
12055 within the unit tests, instead create our own ersatz files with
12056 just enough geoip data in the format we expect. Trying to read
12057 from the source directory created problems on Windows with mingw,
12058 where the build system's paths are not the same as the platform's
12059 paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
12060 - Refrain from trying to get an item from an empty smartlist in
12061 test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
12062 to catch improper smartlist usage. Furthermore, enable
12063 DEBUG_SMARTLIST globally when build is configured with fragile
12064 hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
12067 Changes in version 0.3.3.7 - 2018-06-12
12068 Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
12069 fixes for bugs affecting compatibility and stability.
12071 o Directory authority changes:
12072 - Add an IPv6 address for the "dannenberg" directory authority.
12073 Closes ticket 26343.
12075 o Minor features (geoip):
12076 - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
12077 Country database. Closes ticket 26351.
12079 o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
12080 - Work around a change in OpenSSL 1.1.1 where return values that
12081 would previously indicate "no password" now indicate an empty
12082 password. Without this workaround, Tor instances running with
12083 OpenSSL 1.1.1 would accept descriptors that other Tor instances
12084 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
12086 o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
12087 - Silence unused-const-variable warnings in zstd.h with some GCC
12088 versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
12090 o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
12091 - Improve accuracy of the BUILDTIMEOUT_SET control port event's
12092 TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
12093 miscounting the total number of circuits for these field values.)
12094 Fixes bug 26121; bugfix on 0.3.3.1-alpha.
12096 o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
12097 - Prevent a possible out-of-bounds smartlist read in
12098 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
12100 o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
12101 - Only select relays when they have the descriptors we prefer to use
12102 for them. This change fixes a bug where we could select a relay
12103 because it had _some_ descriptor, but reject it later with a
12104 nonfatal assertion error because it didn't have the exact one we
12105 wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
12108 Changes in version 0.3.4.2-alpha - 2018-06-12
12109 Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
12110 release, and forward-ports an authority-only security fix from 0.3.3.6.
12112 o Directory authority changes:
12113 - Add an IPv6 address for the "dannenberg" directory authority.
12114 Closes ticket 26343.
12116 o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
12117 - Fix a bug that could have allowed an attacker to force a directory
12118 authority to use up all its RAM by passing it a maliciously
12119 crafted protocol versions string. Fixes bug 25517; bugfix on
12120 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
12122 o Minor features (continuous integration):
12123 - Add the necessary configuration files for continuous integration
12124 testing on Windows, via the Appveyor platform. Closes ticket
12125 25549. Patches from Marcin Cieślak and Isis Lovecruft.
12127 o Minor features (geoip):
12128 - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
12129 Country database. Closes ticket 26351.
12131 o Minor bugfixes (compatibility, openssl):
12132 - Work around a change in OpenSSL 1.1.1 where return values that
12133 would previously indicate "no password" now indicate an empty
12134 password. Without this workaround, Tor instances running with
12135 OpenSSL 1.1.1 would accept descriptors that other Tor instances
12136 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
12138 o Minor bugfixes (compilation):
12139 - Silence unused-const-variable warnings in zstd.h with some GCC
12140 versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
12141 - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
12142 flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
12143 - Avoid a compiler warning when casting the return value of
12144 smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
12145 26283; bugfix on 0.2.4.10-alpha.
12147 o Minor bugfixes (control port):
12148 - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
12149 CIRC_BW events. Previously, such cells were counted entirely in
12150 the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
12153 o Minor bugfixes (controller):
12154 - Improve accuracy of the BUILDTIMEOUT_SET control port event's
12155 TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
12156 miscounting the total number of circuits for these field values.)
12157 Fixes bug 26121; bugfix on 0.3.3.1-alpha.
12159 o Minor bugfixes (hardening):
12160 - Prevent a possible out-of-bounds smartlist read in
12161 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
12163 o Minor bugfixes (onion services):
12164 - Fix a bug that blocked the creation of ephemeral v3 onion
12165 services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
12167 o Minor bugfixes (test coverage tools):
12168 - Update our "cov-diff" script to handle output from the latest
12169 version of gcov, and to remove extraneous timestamp information
12170 from its output. Fixes bugs 26101 and 26102; bugfix
12174 Changes in version 0.3.3.6 - 2018-05-22
12175 Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
12176 backports several important fixes from the 0.3.4.1-alpha.
12178 The Tor 0.3.3 series includes controller support and other
12179 improvements for v3 onion services, official support for embedding Tor
12180 within other applications, and our first non-trivial module written in
12181 the Rust programming language. (Rust is still not enabled by default
12182 when building Tor.) And as usual, there are numerous other smaller
12183 bugfixes, features, and improvements.
12185 Below are the changes since 0.3.3.5-rc. For a list of all changes
12186 since 0.3.2.10, see the ReleaseNotes file.
12188 o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
12189 - When directory authorities read a zero-byte bandwidth file, they
12190 would previously log a warning with the contents of an
12191 uninitialised buffer. They now log a warning about the empty file
12192 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
12194 o Major bugfixes (security, directory authority, denial-of-service):
12195 - Fix a bug that could have allowed an attacker to force a directory
12196 authority to use up all its RAM by passing it a maliciously
12197 crafted protocol versions string. Fixes bug 25517; bugfix on
12198 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
12200 o Major bugfixes (crash, backport from 0.3.4.1-alpha):
12201 - Avoid a rare assertion failure in the circuit build timeout code
12202 if we fail to allow any circuits to actually complete. Fixes bug
12203 25733; bugfix on 0.2.2.2-alpha.
12205 o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
12206 - Avoid a crash when testing router reachability on a router that
12207 could have an ed25519 ID, but which does not. Fixes bug 25415;
12208 bugfix on 0.3.3.2-alpha.
12210 o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
12211 - Correctly detect when onion services get disabled after HUP. Fixes
12212 bug 25761; bugfix on 0.3.2.1.
12214 o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
12215 - Impose a limit on circuit cell queue size. The limit can be
12216 controlled by a consensus parameter. Fixes bug 25226; bugfix
12219 o Minor features (compatibility, backport from 0.3.4.1-alpha):
12220 - Avoid some compilation warnings with recent versions of LibreSSL.
12221 Closes ticket 26006.
12223 o Minor features (continuous integration, backport from 0.3.4.1-alpha):
12224 - Our .travis.yml configuration now includes support for testing the
12225 results of "make distcheck". (It's not uncommon for "make check"
12226 to pass but "make distcheck" to fail.) Closes ticket 25814.
12227 - Our Travis CI configuration now integrates with the Coveralls
12228 coverage analysis tool. Closes ticket 25818.
12230 o Minor features (geoip):
12231 - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
12232 database. Closes ticket 26104.
12234 o Minor bugfixes (client, backport from 0.3.4.1-alpha):
12235 - Don't consider Tor running as a client if the ControlPort is open,
12236 but no actual client ports are open. Fixes bug 26062; bugfix
12239 o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
12240 - Upon receiving a malformed connected cell, stop processing the
12241 cell immediately. Previously we would mark the connection for
12242 close, but continue processing the cell as if the connection were
12243 open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
12245 o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
12246 - Stop saying in the manual that clients cache ipv4 dns answers from
12247 exit relays. We haven't used them since 0.2.6.3-alpha, and in
12248 ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
12249 we forgot to say so in the man page. Fixes bug 26052; bugfix
12252 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
12253 - Allow the nanosleep() system call, which glibc uses to implement
12254 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
12256 o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
12257 - Fix a memory leak when a v3 onion service is configured and gets a
12258 SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
12259 - When parsing the descriptor signature, look for the token plus an
12260 extra white-space at the end. This is more correct but also will
12261 allow us to support new fields that might start with "signature".
12262 Fixes bug 26069; bugfix on 0.3.0.1-alpha.
12264 o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
12265 - Avoid a crash when running with DirPort set but ORPort turned off.
12266 Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
12268 o Documentation (backport from 0.3.4.1-alpha):
12269 - Correct an IPv6 error in the documentation for ExitPolicy. Closes
12270 ticket 25857. Patch from "CTassisF".
12273 Changes in version 0.3.4.1-alpha - 2018-05-17
12274 Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
12275 includes refactoring to begin reducing Tor's binary size and idle CPU
12276 usage on mobile, along with prep work for new bandwidth scanners,
12277 improvements to the experimental "vanguards" feature, and numerous
12278 other small features and bugfixes.
12280 o New system requirements:
12281 - Tor no longer tries to support old operating systems without
12282 mmap() or some local equivalent. Apparently, compilation on such
12283 systems has been broken for some time, without anybody noticing or
12284 complaining. Closes ticket 25398.
12286 o Major feature (directory authority, modularization):
12287 - The directory authority subsystem has been modularized. The code
12288 is now located in src/or/dirauth/, and is compiled in by default.
12289 To disable the module, the configure option
12290 --disable-module-dirauth has been added. This module may be
12291 disabled by default in some future release. Closes ticket 25610.
12293 o Major features (main loop, CPU usage):
12294 - When Tor is disabled (via DisableNetwork or via hibernation), it
12295 no longer needs to run any per-second events. This change should
12296 make it easier for mobile applications to disable Tor while the
12297 device is sleeping, or Tor is not running. Closes ticket 26063.
12298 - Tor no longer enables all of its periodic events by default.
12299 Previously, Tor would enable all possible main loop events,
12300 regardless of whether it needed them. Furthermore, many of these
12301 events are now disabled with Tor is hibernating or DisableNetwork
12302 is set. This is a big step towards reducing client CPU usage by
12303 reducing the amount of wake-ups the daemon does. Closes ticket
12305 - The bandwidth-limitation logic has been refactored so that
12306 bandwidth calculations are performed on-demand, rather than every
12307 TokenBucketRefillInterval milliseconds. This change should improve
12308 the granularity of our bandwidth calculations, and limit the
12309 number of times that the Tor process needs to wake up when it is
12310 idle. Closes ticket 25373.
12311 - Move responsibility for many operations from a once-per-second
12312 callback to a callback that is only scheduled as needed. Moving
12313 this functionality has allowed us to disable the callback when
12314 Tor's network is disabled. Once enough items are removed from our
12315 once-per-second callback, we can eliminate it entirely to conserve
12316 CPU when idle. The functionality removed includes: closing
12317 connections, circuits, and channels (ticket 25932); consensus
12318 voting (25937); flushing log callbacks (25951); honoring delayed
12319 SIGNEWNYM requests (25949); rescanning the consensus cache
12320 (25931); saving the state file to disk (25948); warning relay
12321 operators about unreachable ports (25952); and keeping track of
12322 Tor's uptime (26009).
12324 o Major bugfixes (directory authorities, security):
12325 - When directory authorities read a zero-byte bandwidth file, they
12326 would previously log a warning with the contents of an
12327 uninitialised buffer. They now log a warning about the empty file
12328 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
12330 o Major bugfixes (crash):
12331 - Avoid a rare assertion failure in the circuit build timeout code
12332 if we fail to allow any circuits to actually complete. Fixes bug
12333 25733; bugfix on 0.2.2.2-alpha.
12335 o Major bugfixes (directory authority):
12336 - Avoid a crash when testing router reachability on a router that
12337 could have an ed25519 ID, but which does not. Fixes bug 25415;
12338 bugfix on 0.3.3.2-alpha.
12340 o Major bugfixes (onion service):
12341 - Correctly detect when onion services get disabled after HUP. Fixes
12342 bug 25761; bugfix on 0.3.2.1.
12344 o Major bugfixes (protover, voting):
12345 - Revise Rust implementation of protover to use a more memory-
12346 efficient voting algorithm and corresponding data structures, thus
12347 avoiding a potential (but small impact) DoS attack where specially
12348 crafted protocol strings would expand to several potential
12349 megabytes in memory. In the process, several portions of code were
12350 revised to be methods on new, custom types, rather than functions
12351 taking interchangeable types, thus increasing type safety of the
12352 module. Custom error types and handling were added as well, in
12353 order to facilitate better error dismissal/handling in outside
12354 crates and avoid mistakenly passing an internal error string to C
12355 over the FFI boundary. Many tests were added, and some previous
12356 differences between the C and Rust implementations have been
12357 remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
12359 o Major bugfixes (relay, denial of service):
12360 - Impose a limit on circuit cell queue size. The limit can be
12361 controlled by a consensus parameter. Fixes bug 25226; bugfix
12364 o Minor features (accounting):
12365 - When Tor becomes dormant, it now uses a scheduled event to wake up
12366 at the right time. Previously, we would use the per-second timer
12367 to check whether to wake up, but we no longer have any per-second
12368 timers enabled when the network is disabled. Closes ticket 26064.
12370 o Minor features (code quality):
12371 - Add optional spell-checking for the Tor codebase, using the
12372 "misspell" program. To use this feature, run "make check-typos".
12373 Closes ticket 25024.
12375 o Minor features (compatibility):
12376 - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
12377 the no-deprecated option, and builds correctly with them. Closes
12378 tickets 19429, 19981, and 25353.
12379 - Avoid some compilation warnings with recent versions of LibreSSL.
12380 Closes ticket 26006.
12382 o Minor features (compression, zstd):
12383 - When running with zstd, Tor now considers using advanced functions
12384 that the zstd maintainers have labeled as potentially unstable. To
12385 prevent breakage, Tor will only use this functionality when the
12386 runtime version of the zstd library matches the version with which
12387 Tor was compiled. Closes ticket 25162.
12389 o Minor features (configuration):
12390 - The "DownloadSchedule" options have been renamed to end with
12391 "DownloadInitialDelay". The old names are still allowed, but will
12392 produce a warning. Comma-separated lists are still permitted for
12393 these options, but all values after the first are ignored (as they
12394 have been since 0.2.9). Closes ticket 23354.
12396 o Minor features (continuous integration):
12397 - Our .travis.yml configuration now includes support for testing the
12398 results of "make distcheck". (It's not uncommon for "make check"
12399 to pass but "make distcheck" to fail.) Closes ticket 25814.
12400 - Our Travis CI configuration now integrates with the Coveralls
12401 coverage analysis tool. Closes ticket 25818.
12403 o Minor features (control port):
12404 - Introduce GETINFO "current-time/{local,utc}" to return the local
12405 and UTC times respectively in ISO format. This helps a controller
12406 like Tor Browser detect a time-related error. Closes ticket 25511.
12407 Patch by Neel Chauhan.
12408 - Introduce new fields to the CIRC_BW event. There are two new
12409 fields in each of the read and written directions. The DELIVERED
12410 fields report the total valid data on the circuit, as measured by
12411 the payload sizes of verified and error-checked relay command
12412 cells. The OVERHEAD fields report the total unused bytes in each
12413 of these cells. Closes ticket 25903.
12415 o Minor features (directory authority):
12416 - Directory authorities now open their key-pinning files as O_SYNC,
12417 to limit their chances of accidentally writing partial lines.
12418 Closes ticket 23909.
12420 o Minor features (directory authority, forward compatibility):
12421 - Make the lines of the measured bandwidth file able to contain
12422 their entries in any order. Previously, the node_id entry needed
12423 to come first. Closes ticket 26004.
12425 o Minor features (entry guards):
12426 - Introduce a new torrc option NumPrimaryGuards for controlling the
12427 number of primary guards. Closes ticket 25843.
12429 o Minor features (geoip):
12430 - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
12431 database. Closes ticket 26104.
12433 o Minor features (performance):
12434 - Avoid a needless call to malloc() when processing an incoming
12435 relay cell. Closes ticket 24914.
12436 - Make our timing-wheel code run a tiny bit faster on 32-bit
12437 platforms, by preferring 32-bit math to 64-bit. Closes
12439 - Avoid a needless malloc()/free() pair every time we handle an ntor
12440 handshake. Closes ticket 25150.
12442 o Minor features (testing):
12443 - Add a unit test for voting_schedule_get_start_of_next_interval().
12444 Closes ticket 26014, and helps make unit test coverage
12445 more deterministic.
12446 - A new unittests module specifically for testing the functions in
12447 the (new-ish) bridges.c module has been created with new
12448 unittests, raising the code coverage percentages. Closes 25425.
12449 - We now have improved testing for addressmap_get_virtual_address()
12450 function. This should improve our test coverage, and make our test
12451 coverage more deterministic. Closes ticket 25993.
12453 o Minor features (timekeeping, circuit scheduling):
12454 - When keeping track of how busy each circuit have been recently on
12455 a given connection, use coarse-grained monotonic timers rather
12456 than gettimeofday(). This change should marginally increase
12457 accuracy and performance. Implements part of ticket 25927.
12459 o Minor bugfixes (bandwidth management):
12460 - Consider ourselves "low on write bandwidth" if we have exhausted
12461 our write bandwidth some time in the last second. This was the
12462 documented behavior before, but the actual behavior was to change
12463 this value every TokenBucketRefillInterval. Fixes bug 25828;
12464 bugfix on 0.2.3.5-alpha.
12466 o Minor bugfixes (C correctness):
12467 - Add a missing lock acquisition in the shutdown code of the control
12468 subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
12469 Coverity; this is CID 1433643.
12471 o Minor bugfixes (circuit path selection):
12472 - Don't count path selection failures as circuit build failures.
12473 This change should eliminate cases where Tor blames its guard or
12474 the network for situations like insufficient microdescriptors
12475 and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
12478 o Minor bugfixes (client):
12479 - Don't consider Tor running as a client if the ControlPort is open,
12480 but no actual client ports are open. Fixes bug 26062; bugfix
12483 o Minor bugfixes (code style):
12484 - Fixed multiple includes of transports.h in src/or/connection.c
12485 Fixes bug 25261; bugfix on 0.2.5.1-alpha.
12486 - Remove the unused variable n_possible from the function
12487 channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
12489 o Minor bugfixes (control interface):
12490 - Respond with more human-readable error messages to GETINFO exit-
12491 policy/* requests. Also, let controller know if an error is
12492 transient (response code 551) or not (response code 552). Fixes
12493 bug 25852; bugfix on 0.2.8.1-alpha.
12495 o Minor bugfixes (controller):
12496 - Make CIRC_BW event reflect the total of all data sent on a
12497 circuit, including padding and dropped cells. Also fix a mis-
12498 counting bug when STREAM_BW events were enabled. Fixes bug 25400;
12499 bugfix on 0.2.5.2-alpha.
12501 o Minor bugfixes (correctness, client):
12502 - Upon receiving a malformed connected cell, stop processing the cell
12503 immediately. Previously we would mark the connection for close, but
12504 continue processing the cell as if the connection were open. Fixes bug
12505 26072; bugfix on 0.2.4.7-alpha.
12507 o Minor bugfixes (directory client):
12508 - When unverified-consensus is verified, rename it to cached-
12509 consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
12510 - Fixed launching a certificate fetch always during the scheduled
12511 periodic consensus fetch by fetching only in those cases when
12512 consensus are waiting for certs. Fixes bug 24740; bugfix
12515 o Minor bugfixes (documentation):
12516 - Stop saying in the manual that clients cache ipv4 dns answers from
12517 exit relays. We haven't used them since 0.2.6.3-alpha, and in
12518 ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
12519 we forgot to say so in the man page. Fixes bug 26052; bugfix
12522 o Minor bugfixes (error reporting):
12523 - Improve tolerance for directory authorities with skewed clocks.
12524 Previously, an authority with a clock more than 60 seconds ahead
12525 could cause a client with a correct clock to warn that the
12526 client's clock was behind. Now the clocks of a majority of
12527 directory authorities have to be ahead of the client before this
12528 warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
12530 o Minor bugfixes (Linux seccomp2 sandbox):
12531 - Allow the nanosleep() system call, which glibc uses to implement
12532 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
12534 o Minor bugfixes (onion service):
12535 - Fix a memory leak when a v3 onion service is configured and gets a
12536 SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
12537 - When parsing the descriptor signature, look for the token plus an
12538 extra white-space at the end. This is more correct but also will
12539 allow us to support new fields that might start with "signature".
12540 Fixes bug 26069; bugfix on 0.3.0.1-alpha.
12542 o Minor bugfixes (path selection):
12543 - Only select relays when they have the descriptors we prefer to use
12544 for them. This change fixes a bug where we could select a relay
12545 because it had _some_ descriptor, but reject it later with a
12546 nonfatal assertion error because it didn't have the exact one we
12547 wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
12549 o Minor bugfixes (portability):
12550 - Do not align mmap length, as it is not required by POSIX, and the
12551 getpagesize function is deprecated. Fixes bug 25399; bugfix
12554 o Minor bugfixes (portability, FreeBSD):
12555 - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
12556 does not stringify on FreeBSD, so we switch to tor_asprintf().
12557 Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
12559 o Minor bugfixes (relay statistics):
12560 - When a relay is collecting internal statistics about how many
12561 create cell requests it has seen of each type, accurately count
12562 the requests from relays that temporarily fall out of the
12563 consensus. (To be extra conservative, we were already ignoring
12564 requests from clients in our counts, and we continue ignoring them
12565 here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
12567 o Minor bugfixes (relay, crash):
12568 - Avoid a crash when running with DirPort set but ORPort turned off.
12569 Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
12571 o Minor bugfixes (restart-in-process):
12572 - When shutting down, Tor now clears all the flags in the control.c
12573 module. This should prevent a bug where authentication cookies are
12574 not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
12576 o Minor bugfixes (testing):
12577 - When testing workqueue event-cancellation, make sure that we
12578 actually cancel an event, and that cancel each event with equal
12579 probability. (It was previously possible, though extremely
12580 unlikely, for our event-canceling test not to cancel any events.)
12581 Fixes bug 26008; bugfix on 0.2.6.3-alpha.
12582 - Repeat part of the test in test_client_pick_intro() a number of
12583 times, to give it consistent coverage. Fixes bug 25996; bugfix
12585 - Remove randomness from the hs_common/responsible_hsdirs test, so
12586 that it always takes the same path through the function it tests.
12587 Fixes bug 25997; bugfix on 0.3.2.1-alpha.
12588 - Change the behavior of the "channel/outbound" test so that it
12589 never causes a 10-second rollover for the EWMA circuitmux code.
12590 Previously, this behavior would happen randomly, and result in
12591 fluctuating test coverage. Fixes bug 25994; bugfix
12593 - Use X509_new() to allocate certificates that will be freed later
12594 with X509_free(). Previously, some parts of the unit tests had
12595 used tor_malloc_zero(), which is incorrect, and which caused test
12596 failures on Windows when they were built with extra hardening.
12597 Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
12599 - While running the circuit_timeout test, fix the PRNG to a
12600 deterministic AES stream, so that the test coverage from this test
12601 will itself be deterministic. Fixes bug 25995; bugfix
12604 o Minor bugfixes (vanguards):
12605 - Allow the last hop in a vanguard circuit to be the same as our
12606 first, to prevent the adversary from influencing guard node choice
12607 by choice of last hop. Also prevent the creation of A - B - A
12608 paths, or A - A paths, which are forbidden by relays. Fixes bug
12609 25870; bugfix on 0.3.3.1-alpha.
12611 o Code simplification and refactoring:
12612 - Remove duplicate code in parse_{c,s}method_line and bootstrap
12613 their functionalities into a single function. Fixes bug 6236;
12614 bugfix on 0.2.3.6-alpha.
12615 - We remove the PortForwarding and PortForwardingHelper options,
12616 related functions, and the port_forwarding tests. These options
12617 were used by the now-deprecated Vidalia to help ordinary users
12618 become Tor relays or bridges. Closes ticket 25409. Patch by
12620 - In order to make the OR and dir checking function in router.c less
12621 confusing we renamed some functions and
12622 consider_testing_reachability() has been split into
12623 router_should_check_reachability() and
12624 router_do_reachability_checks(). Also we improved the documentation
12625 in some functions. Closes ticket 18918.
12626 - Initial work to isolate Libevent usage to a handful of modules in
12627 our codebase, to simplify our call structure, and so that we can
12628 more easily change event loops in the future if needed. Closes
12630 - Introduce a function to call getsockname() and return tor_addr_t,
12631 to save a little complexity throughout the codebase. Closes
12633 - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
12634 as hsdir_index is always present. Also, we move hsdir_index_t into
12635 or.h. Closes ticket 23094. Patch by Neel Chauhan.
12636 - Merge functions used for describing nodes and suppress the
12637 functions that do not allocate memory for the output buffer
12638 string. NODE_DESC_BUF_LEN constant and format_node_description()
12639 function cannot be used externally from router.c module anymore.
12640 Closes ticket 25432. Patch by valentecaio.
12641 - Our main loop has been simplified so that all important operations
12642 happen inside events. Previously, some operations had to happen
12643 outside the event loop, to prevent infinite sequences of event
12644 activations. Closes ticket 25374.
12645 - Put a SHA1 public key digest in hs_service_intro_point_t, and use
12646 it in register_intro_circ() and service_intro_point_new(). This
12647 prevents the digest from being re-calculated each time. Closes
12648 ticket 23107. Patch by Neel Chauhan.
12649 - Refactor token-bucket implementations to use a common backend.
12650 Closes ticket 25766.
12651 - Remove extern declaration of stats_n_seconds_working variable from
12652 main, protecting its accesses with get_uptime() and reset_uptime()
12653 functions. Closes ticket 25081, patch by “valentecaio”.
12654 - Remove our previous logic for "cached gettimeofday()" -- our
12655 coarse monotonic timers are fast enough for this purpose, and far
12656 less error-prone. Implements part of ticket 25927.
12657 - Remove the return value for fascist_firewall_choose_address_base(),
12658 and sister functions such as fascist_firewall_choose_address_node()
12659 and fascist_firewall_choose_address_rs(). Also, while we're here,
12660 initialize the ap argument as leaving it uninitialized can pose a
12661 security hazard. Closes ticket 24734. Patch by Neel Chauhan.
12662 - Rename two fields of connection_t struct. timestamp_lastwritten is
12663 renamed to timestamp_last_write_allowed and timestamp_lastread is
12664 renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
12666 - Since Tor requires C99, remove our old workaround code for libc
12667 implementations where free(NULL) doesn't work. Closes ticket 24484.
12668 - Use our standard rate-limiting code to deal with excessive
12669 libevent failures, rather than the hand-rolled logic we had
12670 before. Closes ticket 26016.
12671 - We remove the return value of node_get_prim_orport() and
12672 node_get_prim_dirport(), and introduce node_get_prim_orport() in
12673 node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
12674 check for a null address. Closes ticket 23873. Patch by
12676 - We switch to should_record_bridge_info() in
12677 geoip_note_client_seen() and options_need_geoip_info() instead of
12678 accessing the configuration values directly. Fixes bug 25290;
12679 bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
12681 o Deprecated features:
12682 - As we are not recommending 0.2.5 anymore, we require relays that
12683 once had an ed25519 key associated with their RSA key to always
12684 have that key, instead of allowing them to drop back to a version
12685 that didn't support ed25519. This means they need to use a new RSA
12686 key if they want to downgrade to an older version of tor without
12687 ed25519. Closes ticket 20522.
12690 - Correct an IPv6 error in the documentation for ExitPolicy. Closes
12691 ticket 25857. Patch from "CTassisF".
12693 o Removed features:
12694 - Directory authorities will no longer support voting according to
12695 any consensus method before consensus method 25. This keeps
12696 authorities compatible with all authorities running 0.2.9.8 and
12697 later, and does not break any clients or relays. Implements ticket
12698 24378 and proposal 290.
12699 - The PortForwarding and PortForwardingHelper features have been
12700 removed. The reasoning is, given that implementations of NAT
12701 traversal protocols within common consumer grade routers are
12702 frequently buggy, and that the target audience for a NAT punching
12703 feature is a perhaps less-technically-inclined relay operator,
12704 when the helper fails to setup traversal the problems are usually
12705 deep, ugly, and very router specific, making them horrendously
12706 impossible for technical support to reliable assist with, and thus
12707 resulting in frustration all around. Unfortunately, relay
12708 operators who would like to run relays behind NATs will need to
12709 become more familiar with the port forwarding configurations on
12710 their local router. Closes 25409.
12711 - The TestingEnableTbEmptyEvent option has been removed. It was used
12712 in testing simulations to measure how often connection buckets
12713 were emptied, in order to improve our scheduling, but it has not
12714 been actively used in years. Closes ticket 25760.
12715 - The old "round-robin" circuit multiplexer (circuitmux)
12716 implementation has been removed, along with a fairly large set of
12717 code that existed to support it. It has not been the default
12718 circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
12719 but it still required an unreasonable amount of memory and CPU.
12720 Closes ticket 25268.
12723 Changes in version 0.3.3.5-rc - 2018-04-15
12724 Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
12725 including some that could affect reliability or correctness.
12727 This is the first release candidate in the 0.3.3 series. If we find no
12728 new bugs or regression here, then the first stable 0.3.3 release will
12729 be nearly identical to this one.
12731 o Major bugfixes (security, protover, voting):
12732 - Revise Rust implementation of protover to use a more memory-
12733 efficient voting algorithm and corresponding data structures, thus
12734 avoiding a potential memory-based DoS attack where specially
12735 crafted protocol strings would expand to fill available memory.
12736 Fixes bug 24031; bugfix on 0.3.3.1-alpha.
12738 o Major bugfixes (performance, load balancing):
12739 - Directory authorities no longer vote in favor of the Guard flag
12740 for relays without directory support. Starting in Tor
12741 0.3.0.1-alpha, clients have been avoiding using such relays in the
12742 Guard position, leading to increasingly broken load balancing for
12743 the 5%-or-so of Guards that don't advertise directory support.
12744 Fixes bug 22310; bugfix on 0.3.0.6.
12746 o Minor feature (continuous integration):
12747 - Update the Travis CI configuration to use the stable Rust channel,
12748 now that we have decided to require that. Closes ticket 25714.
12750 o Minor features (config options):
12751 - Change the way the default value for MaxMemInQueues is calculated.
12752 We now use 40% of the hardware RAM if the system has 8 GB RAM or
12753 more. Otherwise we use the former value of 75%. Closes
12756 o Minor features (geoip):
12757 - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
12758 Country database. Closes ticket 25718.
12760 o Minor bugfixes (client):
12761 - When using a listed relay as a bridge, and also using
12762 microdescriptors, and considering that relay as a non-bridge in a
12763 circuit, treat its microdescriptor as a valid source of
12764 information about that relay. This change should prevent a non-
12765 fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
12767 o Minor bugfixes (controller):
12768 - Restore the correct operation of the RESOLVE command, which had
12769 been broken since we added the ability to enable/disable DNS on
12770 specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
12772 o Minor bugfixes (distribution, compilation, rust):
12773 - Build correctly when the rust dependencies submodule is loaded,
12774 but the TOR_RUST_DEPENDENCIES environment variable is not set.
12775 Fixes bug 25679; bugfix on 0.3.3.1-alpha.
12776 - Actually include all of our Rust source in our source
12777 distributions. (Previously, a few of the files were accidentally
12778 omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
12780 o Minor bugfixes (documentation):
12781 - Document that the PerConnBW{Rate,Burst} options will fall back to
12782 their corresponding consensus parameters only if those parameters
12783 are set. Previously we had claimed that these values would always
12784 be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
12785 - Revert a misformatting issue in the ExitPolicy documentation.
12786 Fixes bug 25582; bugfix on 0.3.3.1-alpha.
12788 o Minor bugfixes (exit relay DNS retries):
12789 - Re-attempt timed-out DNS queries 3 times before failure, since our
12790 timeout is 5 seconds for them, but clients wait 10-15. Also allow
12791 slightly more timeouts per resolver when an exit has multiple
12792 resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
12794 o Minor bugfixes (onion services):
12795 - Re-instate counting the client HSDir fetch circuits against the
12796 MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
12798 - Remove underscores from the _HSLayer{2,3}Nodes options. This
12799 expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
12800 Fixes bug 25581; bugfix on 0.3.3.1-alpha
12802 o Code simplification and refactoring:
12803 - Move the list of default directory authorities to its own file.
12804 Closes ticket 24854. Patch by "beastr0".
12806 o Documentation (manpage, denial of service):
12807 - Provide more detail about the denial-of-service options, by
12808 listing each mitigation and explaining how they relate. Closes
12812 Changes in version 0.3.3.4-alpha - 2018-03-29
12813 Tor 0.3.3.4-alpha includes various bugfixes for issues found during
12814 the alpha testing of earlier releases in its series. We are
12815 approaching a stable 0.3.3.4-alpha release: more testing is welcome!
12817 o New system requirements:
12818 - When built with Rust, Tor now depends on version 0.2.39 of the
12819 libc crate. Closes tickets 25310 and 25664.
12821 o Major bugfixes (relay, connection):
12822 - If we have failed to connect to a relay and received a connection
12823 refused, timeout, or similar error (at the TCP level), do not try
12824 that same address/port again for 60 seconds after the failure has
12825 occurred. Fixes bug 24767; bugfix on 0.0.6.
12827 o Minor features (geoip):
12828 - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
12829 Country database. Closes ticket 25469.
12831 o Minor features (log messages):
12832 - Improve log message in the out-of-memory handler to include
12833 information about memory usage from the different compression
12834 backends. Closes ticket 25372.
12836 o Minor features (sandbox):
12837 - Explicitly permit the poll() system call when the Linux
12838 seccomp2-based sandbox is enabled: apparently, some versions of
12839 libc use poll() when calling getpwnam(). Closes ticket 25313.
12841 o Minor bugfixes (C correctness):
12842 - Fix a very unlikely (impossible, we believe) null pointer
12843 dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
12844 Coverity; this is CID 1430932.
12846 o Minor bugfixes (channel, client):
12847 - Better identify client connection when reporting to the geoip
12848 client cache. Fixes bug 24904; bugfix on 0.3.1.7.
12850 o Minor bugfixes (compilation):
12851 - Fix a C99 compliance issue in our configuration script that caused
12852 compilation issues when compiling Tor with certain versions of
12853 xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
12855 o Minor bugfixes (controller, reliability):
12856 - Avoid a (nonfatal) assertion failure when extending a one-hop
12857 circuit from the controller to become a multihop circuit. Fixes
12858 bug 24903; bugfix on 0.2.5.2-alpha.
12860 o Major bugfixes (networking):
12861 - Tor will no longer reject IPv6 address strings from Tor Browser
12862 when they are passed as hostnames in SOCKS5 requests. Fixes bug
12863 25036, bugfix on Tor 0.3.1.2.
12865 o Minor bugfixes (networking):
12866 - string_is_valid_hostname() will not consider IP strings to be
12867 valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
12869 o Minor bugfixes (onion service v3):
12870 - Avoid an assertion failure when the next onion service
12871 descriptor rotation type is out of sync with the consensus's
12872 valid-after time. Instead, log a warning message with extra
12873 information, so we can better hunt down the cause of this
12874 assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
12876 o Minor bugfixes (testing):
12877 - Avoid intermittent test failures due to a test that had relied on
12878 onion service introduction point creation finishing within 5
12879 seconds of real clock time. Fixes bug 25450; bugfix
12881 - Rust crates are now automatically detected and tested. Previously,
12882 some crates were not tested by `make test-rust` due to a static
12883 string in the `src/test/test_rust.sh` script specifying which
12884 crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
12886 o Minor bugfixes (testing, benchmarks):
12887 - Fix a crash when running benchmark tests on win32 systems. The
12888 crash was due to a mutex that wasn't initialized before logging
12889 and options were initialized. Fixes bug 25479; bugfix
12892 o Minor bugfixes (warnings, ipv6):
12893 - Avoid a bug warning that could occur when trying to connect to a
12894 relay over IPv6. This warning would occur on a Tor instance that
12895 downloads router descriptors, but prefers to use microdescriptors.
12896 Fixes bug 25213; bugfix on 0.3.3.1-alpha.
12898 o Code simplification and refactoring:
12899 - Remove the old (deterministic) directory retry logic entirely:
12900 We've used exponential backoff exclusively for some time. Closes
12904 - Improved the documentation of AccountingStart parameter. Closes
12906 - Update the documentation for "Log" to include the current list of
12907 logging domains. Closes ticket 25378.
12910 Changes in version 0.3.1.10 - 2018-03-03
12911 Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
12914 It includes an important security fix for a remote crash attack
12915 against directory authorities, tracked as TROVE-2018-001.
12917 This release also backports our new system for improved resistance to
12918 denial-of-service attacks against relays.
12920 This release also fixes several minor bugs and annoyances from
12923 All directory authorities should upgrade to one of the versions
12924 released today. Relays running 0.3.1.x may wish to update to one of
12925 the versions released today, for the DoS mitigations.
12927 Please note: according to our release calendar, Tor 0.3.1 will no
12928 longer be supported after 1 July 2018. If you will be running Tor
12929 after that date, you should make sure to plan to upgrade to the latest
12930 stable version, or downgrade to 0.2.9 (which will receive long-term
12933 o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
12934 - Fix a protocol-list handling bug that could be used to remotely crash
12935 directory authorities with a null-pointer exception. Fixes bug 25074;
12936 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
12939 o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
12940 - Give relays some defenses against the recent network overload. We
12941 start with three defenses (default parameters in parentheses).
12942 First: if a single client address makes too many concurrent
12943 connections (>100), hang up on further connections. Second: if a
12944 single client address makes circuits too quickly (more than 3 per
12945 second, with an allowed burst of 90) while also having too many
12946 connections open (3), refuse new create cells for the next while
12947 (1-2 hours). Third: if a client asks to establish a rendezvous
12948 point to you directly, ignore the request. These defenses can be
12949 manually controlled by new torrc options, but relays will also
12950 take guidance from consensus parameters, so there's no need to
12951 configure anything manually. Implements ticket 24902.
12953 o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
12954 - Update the sandbox rules so that they should now work correctly
12955 with Glibc 2.26. Closes ticket 24315.
12957 o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
12958 - Fix an "off by 2" error in counting rendezvous failures on the
12959 onion service side. While we thought we would stop the rendezvous
12960 attempt after one failed circuit, we were actually making three
12961 circuit attempts before giving up. Now switch to a default of 2,
12962 and allow the consensus parameter "hs_service_max_rdv_failures" to
12963 override. Fixes bug 24895; bugfix on 0.0.6.
12965 o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
12966 - Add Link protocol version 5 to the supported protocols list. Fixes
12967 bug 25070; bugfix on 0.3.1.1-alpha.
12969 o Major bugfixes (relay, backport from 0.3.3.1-alpha):
12970 - Fix a set of false positives where relays would consider
12971 connections to other relays as being client-only connections (and
12972 thus e.g. deserving different link padding schemes) if those
12973 relays fell out of the consensus briefly. Now we look only at the
12974 initial handshake and whether the connection authenticated as a
12975 relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
12977 o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
12978 - Make our OOM handler aware of the geoip client history cache so it
12979 doesn't fill up the memory. This check is important for IPv6 and
12980 our DoS mitigation subsystem. Closes ticket 25122.
12982 o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
12983 - Change relay bandwidth reporting stats interval from 4 hours to 24
12984 hours in order to reduce the efficiency of guard discovery
12985 attacks. Fixes ticket 23856.
12987 o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
12988 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
12989 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
12990 since they neither disabled TLS 1.3 nor enabled any of the
12991 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
12992 Closes ticket 24978.
12994 o Minor features (fallback directory mirrors, backport from 0.3.2.9):
12995 - The fallback directory list has been re-generated based on the
12996 current status of the network. Tor uses fallback directories to
12997 bootstrap when it doesn't yet have up-to-date directory
12998 information. Closes ticket 24801.
12999 - Make the default DirAuthorityFallbackRate 0.1, so that clients
13000 prefer to bootstrap from fallback directory mirrors. This is a
13001 follow-up to 24679, which removed weights from the default
13002 fallbacks. Implements ticket 24681.
13004 o Minor features (geoip):
13005 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13008 o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
13009 - Use the actual observed address of an incoming relay connection,
13010 not the canonical address of the relay from its descriptor, when
13011 making decisions about how to handle the incoming connection.
13012 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13014 o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
13015 - Directory authorities, when refusing a descriptor from a rejected
13016 relay, now explicitly tell the relay (in its logs) to set a valid
13017 ContactInfo address and contact the bad-relays@ mailing list.
13018 Fixes bug 25170; bugfix on 0.2.9.1.
13020 o Minor bugfixes (address selection, backport from 0.3.2.9):
13021 - When the fascist_firewall_choose_address_ functions don't find a
13022 reachable address, set the returned address to the null address
13023 and port. This is a precautionary measure, because some callers do
13024 not check the return value. Fixes bug 24736; bugfix
13027 o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
13028 - Fetch descriptors aggressively whenever we lack enough to build
13029 circuits, regardless of how many descriptors we are missing.
13030 Previously, we would delay launching the fetch when we had fewer
13031 than 15 missing descriptors, even if some of those descriptors
13032 were blocking circuits from building. Fixes bug 23985; bugfix on
13033 0.1.1.11-alpha. The effects of this bug became worse in
13034 0.3.0.3-alpha, when we began treating missing descriptors from our
13035 primary guards as a reason to delay circuits.
13036 - Don't try fetching microdescriptors from relays that have failed
13037 to deliver them in the past. Fixes bug 23817; bugfix
13040 o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
13041 - Fix a signed/unsigned comparison warning introduced by our fix to
13042 TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
13044 o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
13045 - Avoid a crash when attempting to use the seccomp2 sandbox together
13046 with the OwningControllerProcess feature. Fixes bug 24198; bugfix
13049 o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
13050 - Fix a possible crash on malformed consensus. If a consensus had
13051 contained an unparseable protocol line, it could have made clients
13052 and relays crash with a null-pointer exception. To exploit this
13053 issue, however, an attacker would need to be able to subvert the
13054 directory authority system. Fixes bug 25251; bugfix on
13055 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13057 o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
13058 - Recover better from empty or corrupt files in the consensus cache
13059 directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
13060 - When a consensus diff calculation is only partially successful,
13061 only record the successful parts as having succeeded. Partial
13062 success can happen if (for example) one compression method fails
13063 but the others succeed. Previously we misrecorded all the
13064 calculations as having succeeded, which would later cause a
13065 nonfatal assertion failure. Fixes bug 24086; bugfix
13068 o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
13069 - Tor now updates its guard state when it reads a consensus
13070 regardless of whether it's missing descriptors. That makes tor use
13071 its primary guards to fetch descriptors in some edge cases where
13072 it would previously have used fallback directories. Fixes bug
13073 23862; bugfix on 0.3.0.1-alpha.
13075 o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
13076 - Don't treat inability to store a cached consensus object as a bug:
13077 it can happen normally when we are out of disk space. Fixes bug
13078 24859; bugfix on 0.3.1.1-alpha.
13080 o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
13081 - When queuing DESTROY cells on a channel, only queue the circuit-id
13082 and reason fields: not the entire 514-byte cell. This fix should
13083 help mitigate any bugs or attacks that fill up these queues, and
13084 free more RAM for other uses. Fixes bug 24666; bugfix
13087 o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
13088 - When closing a connection via close_connection_immediately(), we
13089 mark it as "not blocked on bandwidth", to prevent later calls from
13090 trying to unblock it, and give it permission to read. This fixes a
13091 backtrace warning that can happen on relays under various
13092 circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
13094 o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
13095 - When selecting relays by bandwidth, avoid a rounding error that
13096 could sometimes cause load to be imbalanced incorrectly.
13097 Previously, we would always round upwards; now, we round towards
13098 the nearest integer. This had the biggest effect when a relay's
13099 weight adjustments should have given it weight 0, but it got
13100 weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
13101 - When calculating the fraction of nodes that have descriptors, and
13102 all nodes in the network have zero bandwidths, count the number of
13103 nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
13104 - Actually log the total bandwidth in compute_weighted_bandwidths().
13105 Fixes bug 24170; bugfix on 0.2.4.3-alpha.
13107 o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
13108 - Improve the performance of our consensus-diff application code
13109 when Tor is built with the --enable-fragile-hardening option set.
13110 Fixes bug 24826; bugfix on 0.3.1.1-alpha.
13112 o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
13113 - Don't exit the Tor process if setrlimit() fails to change the file
13114 limit (which can happen sometimes on some versions of OSX). Fixes
13115 bug 21074; bugfix on 0.0.9pre5.
13117 o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
13118 - Fix a bug in the bit-counting parts of our timing-wheel code on
13119 MSVC. (Note that MSVC is still not a supported build platform, due
13120 to cyptographic timing channel risks.) Fixes bug 24633; bugfix
13123 o Minor bugfixes (relay, partial backport):
13124 - Make the internal channel_is_client() function look at what sort
13125 of connection handshake the other side used, rather than whether
13126 the other side ever sent a create_fast cell to us. Backports part
13127 of the fixes from bugs 22805 and 24898.
13129 o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
13130 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13132 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13133 bugfix on 0.2.9.4-alpha.
13135 o Code simplification and refactoring (backport from 0.3.3.3-alpha):
13136 - Update the "rust dependencies" submodule to be a project-level
13137 repository, rather than a user repository. Closes ticket 25323.
13140 Changes in version 0.2.9.15 - 2018-03-03
13141 Tor 0.2.9.15 backports important security and stability bugfixes from
13142 later Tor releases.
13144 It includes an important security fix for a remote crash attack
13145 against directory authorities, tracked as TROVE-2018-001.
13147 This release also backports our new system for improved resistance to
13148 denial-of-service attacks against relays.
13150 This release also fixes several minor bugs and annoyances from
13153 All directory authorities should upgrade to one of the versions
13154 released today. Relays running 0.2.9.x may wish to update to one of
13155 the versions released today, for the DoS mitigations.
13157 o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
13158 - Fix a protocol-list handling bug that could be used to remotely crash
13159 directory authorities with a null-pointer exception. Fixes bug 25074;
13160 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13163 o Major features (denial-of-service mitigation):
13164 - Give relays some defenses against the recent network overload. We
13165 start with three defenses (default parameters in parentheses).
13166 First: if a single client address makes too many concurrent
13167 connections (>100), hang up on further connections. Second: if a
13168 single client address makes circuits too quickly (more than 3 per
13169 second, with an allowed burst of 90) while also having too many
13170 connections open (3), refuse new create cells for the next while
13171 (1-2 hours). Third: if a client asks to establish a rendezvous
13172 point to you directly, ignore the request. These defenses can be
13173 manually controlled by new torrc options, but relays will also
13174 take guidance from consensus parameters, so there's no need to
13175 configure anything manually. Implements ticket 24902.
13177 o Major bugfixes (bootstrapping):
13178 - Fetch descriptors aggressively whenever we lack enough to build
13179 circuits, regardless of how many descriptors we are missing.
13180 Previously, we would delay launching the fetch when we had fewer
13181 than 15 missing descriptors, even if some of those descriptors
13182 were blocking circuits from building. Fixes bug 23985; bugfix on
13183 0.1.1.11-alpha. The effects of this bug became worse in
13184 0.3.0.3-alpha, when we began treating missing descriptors from our
13185 primary guards as a reason to delay circuits.
13187 o Major bugfixes (onion services, retry behavior):
13188 - Fix an "off by 2" error in counting rendezvous failures on the
13189 onion service side. While we thought we would stop the rendezvous
13190 attempt after one failed circuit, we were actually making three
13191 circuit attempts before giving up. Now switch to a default of 2,
13192 and allow the consensus parameter "hs_service_max_rdv_failures" to
13193 override. Fixes bug 24895; bugfix on 0.0.6.
13195 o Minor feature (relay statistics):
13196 - Change relay bandwidth reporting stats interval from 4 hours to 24
13197 hours in order to reduce the efficiency of guard discovery
13198 attacks. Fixes ticket 23856.
13200 o Minor features (compatibility, OpenSSL):
13201 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13202 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13203 since they neither disabled TLS 1.3 nor enabled any of the
13204 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13205 Closes ticket 24978.
13207 o Minor features (denial-of-service avoidance):
13208 - Make our OOM handler aware of the geoip client history cache so it
13209 doesn't fill up the memory. This check is important for IPv6 and
13210 our DoS mitigation subsystem. Closes ticket 25122.
13212 o Minor features (fallback directory mirrors):
13213 - The fallback directory list has been re-generated based on the
13214 current status of the network. Tor uses fallback directories to
13215 bootstrap when it doesn't yet have up-to-date directory
13216 information. Closes ticket 24801.
13217 - Make the default DirAuthorityFallbackRate 0.1, so that clients
13218 prefer to bootstrap from fallback directory mirrors. This is a
13219 follow-up to 24679, which removed weights from the default
13220 fallbacks. Implements ticket 24681.
13222 o Minor features (geoip):
13223 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13226 o Minor features (linux seccomp2 sandbox):
13227 - Update the sandbox rules so that they should now work correctly
13228 with Glibc 2.26. Closes ticket 24315.
13230 o Minor bugfix (channel connection):
13231 - Use the actual observed address of an incoming relay connection,
13232 not the canonical address of the relay from its descriptor, when
13233 making decisions about how to handle the incoming connection.
13234 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13236 o Minor bugfix (directory authority):
13237 - Directory authorities, when refusing a descriptor from a rejected
13238 relay, now explicitly tell the relay (in its logs) to set a valid
13239 ContactInfo address and contact the bad-relays@ mailing list.
13240 Fixes bug 25170; bugfix on 0.2.9.1.
13242 o Minor bugfixes (address selection):
13243 - When the fascist_firewall_choose_address_ functions don't find a
13244 reachable address, set the returned address to the null address
13245 and port. This is a precautionary measure, because some callers do
13246 not check the return value. Fixes bug 24736; bugfix
13249 o Minor bugfixes (compilation):
13250 - Fix a signed/unsigned comparison warning introduced by our fix to
13251 TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
13253 o Minor bugfixes (control port, linux seccomp2 sandbox):
13254 - Avoid a crash when attempting to use the seccomp2 sandbox together
13255 with the OwningControllerProcess feature. Fixes bug 24198; bugfix
13258 o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
13259 - Fix a possible crash on malformed consensus. If a consensus had
13260 contained an unparseable protocol line, it could have made clients
13261 and relays crash with a null-pointer exception. To exploit this
13262 issue, however, an attacker would need to be able to subvert the
13263 directory authority system. Fixes bug 25251; bugfix on
13264 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13266 o Minor bugfixes (memory usage):
13267 - When queuing DESTROY cells on a channel, only queue the circuit-id
13268 and reason fields: not the entire 514-byte cell. This fix should
13269 help mitigate any bugs or attacks that fill up these queues, and
13270 free more RAM for other uses. Fixes bug 24666; bugfix
13273 o Minor bugfixes (network layer):
13274 - When closing a connection via close_connection_immediately(), we
13275 mark it as "not blocked on bandwidth", to prevent later calls from
13276 trying to unblock it, and give it permission to read. This fixes a
13277 backtrace warning that can happen on relays under various
13278 circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
13280 o Minor bugfixes (OSX):
13281 - Don't exit the Tor process if setrlimit() fails to change the file
13282 limit (which can happen sometimes on some versions of OSX). Fixes
13283 bug 21074; bugfix on 0.0.9pre5.
13285 o Minor bugfixes (path selection):
13286 - When selecting relays by bandwidth, avoid a rounding error that
13287 could sometimes cause load to be imbalanced incorrectly.
13288 Previously, we would always round upwards; now, we round towards
13289 the nearest integer. This had the biggest effect when a relay's
13290 weight adjustments should have given it weight 0, but it got
13291 weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
13292 - When calculating the fraction of nodes that have descriptors, and
13293 all nodes in the network have zero bandwidths, count the number of
13294 nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
13295 - Actually log the total bandwidth in compute_weighted_bandwidths().
13296 Fixes bug 24170; bugfix on 0.2.4.3-alpha.
13298 o Minor bugfixes (portability, msvc):
13299 - Fix a bug in the bit-counting parts of our timing-wheel code on
13300 MSVC. (Note that MSVC is still not a supported build platform, due
13301 to cryptographic timing channel risks.) Fixes bug 24633; bugfix
13304 o Minor bugfixes (relay):
13305 - Make the internal channel_is_client() function look at what sort
13306 of connection handshake the other side used, rather than whether
13307 the other side ever sent a create_fast cell to us. Backports part
13308 of the fixes from bugs 22805 and 24898.
13310 o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
13311 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13313 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13314 bugfix on 0.2.9.4-alpha.
13317 Changes in version 0.3.2.10 - 2018-03-03
13318 Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
13319 backports a number of bugfixes, including important fixes for security
13322 It includes an important security fix for a remote crash attack
13323 against directory authorities, tracked as TROVE-2018-001.
13325 Additionally, it backports a fix for a bug whose severity we have
13326 upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
13327 triggered in order to crash relays with a use-after-free pattern. As
13328 such, we are now tracking that bug as TROVE-2018-002 and
13329 CVE-2018-0491, and backporting it to earlier releases. This bug
13330 affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
13333 This release also backports our new system for improved resistance to
13334 denial-of-service attacks against relays.
13336 This release also fixes several minor bugs and annoyances from
13339 Relays running 0.3.2.x SHOULD upgrade to one of the versions released
13340 today, for the fix to TROVE-2018-002. Directory authorities should
13341 also upgrade. (Relays on earlier versions might want to update too for
13342 the DoS mitigations.)
13344 o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
13345 - Fix a protocol-list handling bug that could be used to remotely crash
13346 directory authorities with a null-pointer exception. Fixes bug 25074;
13347 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13350 o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
13351 - Avoid adding the same channel twice in the KIST scheduler pending
13352 list, which could lead to remote denial-of-service use-after-free
13353 attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
13355 o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
13356 - Give relays some defenses against the recent network overload. We
13357 start with three defenses (default parameters in parentheses).
13358 First: if a single client address makes too many concurrent
13359 connections (>100), hang up on further connections. Second: if a
13360 single client address makes circuits too quickly (more than 3 per
13361 second, with an allowed burst of 90) while also having too many
13362 connections open (3), refuse new create cells for the next while
13363 (1-2 hours). Third: if a client asks to establish a rendezvous
13364 point to you directly, ignore the request. These defenses can be
13365 manually controlled by new torrc options, but relays will also
13366 take guidance from consensus parameters, so there's no need to
13367 configure anything manually. Implements ticket 24902.
13369 o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
13370 - Fix an "off by 2" error in counting rendezvous failures on the
13371 onion service side. While we thought we would stop the rendezvous
13372 attempt after one failed circuit, we were actually making three
13373 circuit attempts before giving up. Now switch to a default of 2,
13374 and allow the consensus parameter "hs_service_max_rdv_failures" to
13375 override. Fixes bug 24895; bugfix on 0.0.6.
13376 - New-style (v3) onion services now obey the "max rendezvous circuit
13377 attempts" logic. Previously they would make as many rendezvous
13378 circuit attempts as they could fit in the MAX_REND_TIMEOUT second
13379 window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
13381 o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
13382 - Add Link protocol version 5 to the supported protocols list. Fixes
13383 bug 25070; bugfix on 0.3.1.1-alpha.
13385 o Major bugfixes (relay, backport from 0.3.3.1-alpha):
13386 - Fix a set of false positives where relays would consider
13387 connections to other relays as being client-only connections (and
13388 thus e.g. deserving different link padding schemes) if those
13389 relays fell out of the consensus briefly. Now we look only at the
13390 initial handshake and whether the connection authenticated as a
13391 relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
13393 o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
13394 - The scheduler subsystem was failing to promptly notice changes in
13395 consensus parameters, making it harder to switch schedulers
13396 network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
13398 o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
13399 - Make our OOM handler aware of the geoip client history cache so it
13400 doesn't fill up the memory. This check is important for IPv6 and
13401 our DoS mitigation subsystem. Closes ticket 25122.
13403 o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
13404 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13405 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13406 since they neither disabled TLS 1.3 nor enabled any of the
13407 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13408 Closes ticket 24978.
13410 o Minor features (geoip):
13411 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13414 o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
13415 - When logging a failure to create an onion service's descriptor,
13416 also log what the problem with the descriptor was. Diagnostic
13419 o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
13420 - Use the actual observed address of an incoming relay connection,
13421 not the canonical address of the relay from its descriptor, when
13422 making decisions about how to handle the incoming connection.
13423 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13425 o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
13426 - Fix a possible crash on malformed consensus. If a consensus had
13427 contained an unparseable protocol line, it could have made clients
13428 and relays crash with a null-pointer exception. To exploit this
13429 issue, however, an attacker would need to be able to subvert the
13430 directory authority system. Fixes bug 25251; bugfix on
13431 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13433 o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
13434 - Directory authorities, when refusing a descriptor from a rejected
13435 relay, now explicitly tell the relay (in its logs) to set a valid
13436 ContactInfo address and contact the bad-relays@ mailing list.
13437 Fixes bug 25170; bugfix on 0.2.9.1.
13439 o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
13440 - When building with Rust on OSX, link against libresolv, to work
13441 around the issue at https://github.com/rust-lang/rust/issues/46797.
13442 Fixes bug 24652; bugfix on 0.3.1.1-alpha.
13444 o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
13445 - Remove a BUG() statement when a client fetches an onion descriptor
13446 that has a lower revision counter than the one in its cache. This
13447 can happen in normal circumstances due to HSDir desync. Fixes bug
13448 24976; bugfix on 0.3.2.1-alpha.
13450 o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
13451 - Don't treat inability to store a cached consensus object as a bug:
13452 it can happen normally when we are out of disk space. Fixes bug
13453 24859; bugfix on 0.3.1.1-alpha.
13455 o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
13456 - Improve the performance of our consensus-diff application code
13457 when Tor is built with the --enable-fragile-hardening option set.
13458 Fixes bug 24826; bugfix on 0.3.1.1-alpha.
13460 o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
13461 - Don't exit the Tor process if setrlimit() fails to change the file
13462 limit (which can happen sometimes on some versions of OSX). Fixes
13463 bug 21074; bugfix on 0.0.9pre5.
13465 o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
13466 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13468 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13469 bugfix on 0.2.9.4-alpha.
13471 o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
13472 - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
13473 25005; bugfix on 0.3.2.7-rc.
13475 o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
13476 - Look at the "HSRend" protocol version, not the "HSDir" protocol
13477 version, when deciding whether a consensus entry can support the
13478 v3 onion service protocol as a rendezvous point. Fixes bug 25105;
13479 bugfix on 0.3.2.1-alpha.
13481 o Code simplification and refactoring (backport from 0.3.3.3-alpha):
13482 - Update the "rust dependencies" submodule to be a project-level
13483 repository, rather than a user repository. Closes ticket 25323.
13485 o Documentation (backport from 0.3.3.1-alpha)
13486 - Document that operators who run more than one relay or bridge are
13487 expected to set MyFamily and ContactInfo correctly. Closes
13491 Changes in version 0.3.3.3-alpha - 2018-03-03
13492 Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
13493 It includes an important security fix for a remote crash attack
13494 against directory authorities tracked as TROVE-2018-001.
13496 Additionally, with this release, we are upgrading the severity of a
13497 bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
13498 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
13499 a use-after-free pattern. As such, we are now tracking that bug as
13500 TROVE-2018-002 and CVE-2018-0491. This bug affected versions
13501 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
13503 This release also fixes several minor bugs and annoyances from
13506 Relays running 0.3.2.x should upgrade to one of the versions released
13507 today, for the fix to TROVE-2018-002. Directory authorities should
13508 also upgrade. (Relays on earlier versions might want to update too for
13509 the DoS mitigations.)
13511 o Major bugfixes (denial-of-service, directory authority):
13512 - Fix a protocol-list handling bug that could be used to remotely crash
13513 directory authorities with a null-pointer exception. Fixes bug 25074;
13514 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13517 o Minor features (compatibility, OpenSSL):
13518 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13519 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13520 since they neither disabled TLS 1.3 nor enabled any of the
13521 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13522 Closes ticket 24978.
13524 o Minor features (logging):
13525 - Clarify the log messages produced when getrandom() or a related
13526 entropy-generation mechanism gives an error. Closes ticket 25120.
13528 o Minor features (testing):
13529 - Add a "make test-rust" target to run the rust tests only. Closes
13532 o Minor bugfixes (denial-of-service):
13533 - Fix a possible crash on malformed consensus. If a consensus had
13534 contained an unparseable protocol line, it could have made clients
13535 and relays crash with a null-pointer exception. To exploit this
13536 issue, however, an attacker would need to be able to subvert the
13537 directory authority system. Fixes bug 25251; bugfix on
13538 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13540 o Minor bugfixes (DoS mitigation):
13541 - Add extra safety checks when refilling the circuit creation bucket
13542 to ensure we never set a value above the allowed maximum burst.
13543 Fixes bug 25202; bugfix on 0.3.3.2-alpha.
13544 - When a new consensus arrives, don't update our DoS-mitigation
13545 parameters if we aren't a public relay. Fixes bug 25223; bugfix
13548 o Minor bugfixes (man page, SocksPort):
13549 - Remove dead code from the old "SocksSocket" option, and rename
13550 SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
13551 still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
13553 o Minor bugfixes (performance):
13554 - Reduce the number of circuits that will be opened at once during
13555 the circuit build timeout phase. This is done by increasing the
13556 idle timeout to 3 minutes, and lowering the maximum number of
13557 concurrent learning circuits to 10. Fixes bug 24769; bugfix
13560 o Minor bugfixes (spec conformance):
13561 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13563 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13564 bugfix on 0.2.9.4-alpha.
13566 o Minor bugfixes (spec conformance, rust):
13567 - Resolve a denial-of-service issue caused by an infinite loop in
13568 the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
13569 Also tracked as TROVE-2018-003.
13571 o Code simplification and refactoring:
13572 - Update the "rust dependencies" submodule to be a project-level
13573 repository, rather than a user repository. Closes ticket 25323.
13576 Changes in version 0.3.3.2-alpha - 2018-02-10
13577 Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
13578 introduces a mechanism to handle the high loads that many relay
13579 operators have been reporting recently. It also fixes several bugs in
13580 older releases. If this new code proves reliable, we plan to backport
13581 it to older supported release series.
13583 o Major features (denial-of-service mitigation):
13584 - Give relays some defenses against the recent network overload. We
13585 start with three defenses (default parameters in parentheses).
13586 First: if a single client address makes too many concurrent
13587 connections (>100), hang up on further connections. Second: if a
13588 single client address makes circuits too quickly (more than 3 per
13589 second, with an allowed burst of 90) while also having too many
13590 connections open (3), refuse new create cells for the next while
13591 (1-2 hours). Third: if a client asks to establish a rendezvous
13592 point to you directly, ignore the request. These defenses can be
13593 manually controlled by new torrc options, but relays will also
13594 take guidance from consensus parameters, so there's no need to
13595 configure anything manually. Implements ticket 24902.
13597 o Major bugfixes (netflow padding):
13598 - Stop adding unneeded channel padding right after we finish
13599 flushing to a connection that has been trying to flush for many
13600 seconds. Instead, treat all partial or complete flushes as
13601 activity on the channel, which will defer the time until we need
13602 to add padding. This fix should resolve confusing and scary log
13603 messages like "Channel padding timeout scheduled 221453ms in the
13604 past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
13606 o Major bugfixes (protocol versions):
13607 - Add Link protocol version 5 to the supported protocols list. Fixes
13608 bug 25070; bugfix on 0.3.1.1-alpha.
13610 o Major bugfixes (scheduler, consensus):
13611 - The scheduler subsystem was failing to promptly notice changes in
13612 consensus parameters, making it harder to switch schedulers
13613 network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
13615 o Minor features (denial-of-service avoidance):
13616 - Make our OOM handler aware of the geoip client history cache so it
13617 doesn't fill up the memory. This check is important for IPv6 and
13618 our DoS mitigation subsystem. Closes ticket 25122.
13620 o Minor features (directory authority):
13621 - When directory authorities are unable to add signatures to a
13622 pending consensus, log the reason why. Closes ticket 24849.
13624 o Minor features (geoip):
13625 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13628 o Minor features (logging, diagnostic):
13629 - When logging a failure to create an onion service's descriptor,
13630 also log what the problem with the descriptor was. Diagnostic for
13633 o Minor bugfix (channel connection):
13634 - Use the actual observed address of an incoming relay connection,
13635 not the canonical address of the relay from its descriptor, when
13636 making decisions about how to handle the incoming connection.
13637 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13639 o Minor bugfix (directory authority):
13640 - Directory authorities, when refusing a descriptor from a rejected
13641 relay, now explicitly tell the relay (in its logs) to set a valid
13642 ContactInfo address and contact the bad-relays@ mailing list.
13643 Fixes bug 25170; bugfix on 0.2.9.1.
13645 o Minor bugfixes (all versions of Tor):
13646 - Use the "misspell" tool to detect and fix typos throughout the
13647 source code. Fixes bug 23650; bugfix on various versions of Tor.
13648 Patch from Deepesh Pathak.
13650 o Minor bugfixes (circuit, cannibalization):
13651 - Don't cannibalize preemptively-built circuits if we no longer
13652 recognize their first hop. This situation can happen if our Guard
13653 relay went off the consensus after the circuit was created. Fixes
13654 bug 24469; bugfix on 0.0.6.
13656 o Minor bugfixes (correctness):
13657 - Remove a nonworking, unnecessary check to see whether a circuit
13658 hop's identity digest was set when the circuit failed. Fixes bug
13659 24927; bugfix on 0.2.4.4-alpha.
13661 o Minor bugfixes (logging):
13662 - Don't treat inability to store a cached consensus object as a bug:
13663 it can happen normally when we are out of disk space. Fixes bug
13664 24859; bugfix on 0.3.1.1-alpha.
13665 - Fix a (mostly harmless) race condition when invoking
13666 LOG_PROTOCOL_WARN message from a subthread while the torrc options
13667 are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
13669 o Minor bugfixes (onion services):
13670 - Remove a BUG() statement when a client fetches an onion descriptor
13671 that has a lower revision counter than the one in its cache. This
13672 can happen in normal circumstances due to HSDir desync. Fixes bug
13673 24976; bugfix on 0.3.2.1-alpha.
13674 - If we are configured to offer a single onion service, don't log
13675 long-term established one hop rendezvous points in the heartbeat.
13676 Fixes bug 25116; bugfix on 0.2.9.6-rc.
13678 o Minor bugfixes (performance):
13679 - Avoid calling protocol_list_supports_protocol() from inside tight
13680 loops when running with cached routerinfo_t objects. Instead,
13681 summarize the relevant protocols as flags in the routerinfo_t, as
13682 we do for routerstatus_t objects. This change simplifies our code
13683 a little, and saves a large amount of short-term memory allocation
13684 operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
13686 o Minor bugfixes (Rust FFI):
13687 - Fix a minor memory leak which would happen whenever the C code
13688 would call the Rust implementation of
13689 protover_get_supported_protocols(). This was due to the C version
13690 returning a static string, whereas the Rust version newly allocated
13691 a CString to pass across the FFI boundary. Consequently, the C
13692 code was not expecting to need to free() what it was given. Fixes
13693 bug 25127; bugfix on 0.3.2.1-alpha.
13695 o Minor bugfixes (scheduler, KIST):
13696 - Avoid adding the same channel twice in the KIST scheduler pending
13697 list, which would waste CPU cycles. Fixes bug 24700; bugfix
13700 o Minor bugfixes (unit test, monotonic time):
13701 - Increase a constant (1msec to 10msec) in the monotonic time test
13702 that makes sure the nsec/usec/msec times read are synchronized.
13703 This change was needed to accommodate slow systems like armel or
13704 when the clock_gettime() is not a VDSO on the running kernel.
13705 Fixes bug 25113; bugfix on 0.2.9.1.
13707 o Minor bugfixes (v3 onion services):
13708 - Look at the "HSRend" protocol version, not the "HSDir" protocol
13709 version, when deciding whether a consensus entry can support the
13710 v3 onion service protocol as a rendezvous point. Fixes bug 25105;
13711 bugfix on 0.3.2.1-alpha.
13713 o Code simplification and refactoring:
13714 - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
13716 - Remove a series of counters used to track circuit extend attempts
13717 and connection status but that in reality we aren't using for
13718 anything other than stats logged by a SIGUSR1 signal. Closes
13721 o Documentation (man page):
13722 - The HiddenServiceVersion torrc option accepts only one number:
13723 either version 2 or 3. Closes ticket 25026; bugfix
13727 Changes in version 0.3.3.1-alpha - 2018-01-25
13728 Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
13729 several new features to Tor, including several improvements to
13730 bootstrapping, and support for an experimental "vanguards" feature to
13731 resist guard discovery attacks. This series also includes better
13732 support for applications that need to embed Tor or manage v3
13735 o Major features (embedding):
13736 - There is now a documented stable API for programs that need to
13737 embed Tor. See tor_api.h for full documentation and known bugs.
13738 Closes ticket 23684.
13739 - Tor now has support for restarting in the same process.
13740 Controllers that run Tor using the "tor_api.h" interface can now
13741 restart Tor after Tor has exited. This support is incomplete,
13742 however: we fixed crash bugs that prevented it from working at
13743 all, but many bugs probably remain, including a possibility of
13744 security issues. Implements ticket 24581.
13746 o Major features (IPv6, directory documents):
13747 - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
13748 consensus. This information makes it easier for IPv6 clients to
13749 bootstrap and choose reachable entry guards. Implements ticket 23826.
13750 - Add consensus method 28, which removes IPv6 ORPorts from
13751 microdescriptors. Now that the consensus contains IPv6 ORPorts, they
13752 are redundant in microdescs. This change will be used by Tor clients
13753 on 0.2.8.x and later. (That is to say, with all Tor clients that
13754 have IPv6 bootstrap and guard support.) Implements ticket 23828.
13755 - Expand the documentation for AuthDirHasIPv6Connectivity when it is
13756 set by different numbers of authorities. Fixes 23870
13759 o Major features (onion service v3, control port):
13760 - The control port now supports commands and events for v3 onion
13761 services. It is now possible to create ephemeral v3 services using
13762 ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
13763 CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
13764 DEL_ONION) have been extended to support v3 onion services. Closes
13765 ticket 20699; implements proposal 284.
13767 o Major features (onion services):
13768 - Provide torrc options to pin the second and third hops of onion
13769 service circuits to a list of nodes. The option HSLayer2Guards
13770 pins the second hop, and the option HSLayer3Guards pins the third
13771 hop. These options are for use in conjunction with experiments
13772 with "vanguards" for preventing guard enumeration attacks. Closes
13775 o Major features (rust, portability, experimental):
13776 - Tor now ships with an optional implementation of one of its
13777 smaller modules (protover.c) in the Rust programming language. To
13778 try it out, install a Rust build environment, and configure Tor
13779 with "--enable-rust --enable-cargo-online-mode". This should not
13780 cause any user-visible changes, but should help us gain more
13781 experience with Rust, and plan future Rust integration work.
13782 Implementation by Chelsea Komlo. Closes ticket 22840.
13784 o Minor features (storage, configuration):
13785 - Users can store cached directory documents somewhere other than
13786 the DataDirectory by using the CacheDirectory option. Similarly,
13787 the storage location for relay's keys can be overridden with the
13788 KeyDirectory option. Closes ticket 22703.
13790 o Major features (v3 onion services, ipv6):
13791 - When v3 onion service clients send introduce cells, they now
13792 include the IPv6 address of the rendezvous point, if it has one.
13793 Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
13794 in future Tor versions, IPv6-only v3 single onion services will be
13795 able to use IPv6 addresses to connect directly to the rendezvous
13796 point. Closes ticket 23577. Patch by Neel Chauhan.
13798 o Major bugfixes (onion services, retry behavior):
13799 - Fix an "off by 2" error in counting rendezvous failures on the
13800 onion service side. While we thought we would stop the rendezvous
13801 attempt after one failed circuit, we were actually making three
13802 circuit attempts before giving up. Now switch to a default of 2,
13803 and allow the consensus parameter "hs_service_max_rdv_failures" to
13804 override. Fixes bug 24895; bugfix on 0.0.6.
13805 - New-style (v3) onion services now obey the "max rendezvous circuit
13806 attempts" logic. Previously they would make as many rendezvous
13807 circuit attempts as they could fit in the MAX_REND_TIMEOUT second
13808 window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
13810 o Major bugfixes (relays):
13811 - Fix a set of false positives where relays would consider
13812 connections to other relays as being client-only connections (and
13813 thus e.g. deserving different link padding schemes) if those
13814 relays fell out of the consensus briefly. Now we look only at the
13815 initial handshake and whether the connection authenticated as a
13816 relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
13818 o Minor feature (IPv6):
13819 - Make IPv6-only clients wait for microdescs for relays, even if we
13820 were previously using descriptors (or were using them as a bridge)
13821 and have a cached descriptor for them. Implements ticket 23827.
13822 - When a consensus has IPv6 ORPorts, make IPv6-only clients use
13823 them, rather than waiting to download microdescriptors.
13824 Implements ticket 23827.
13826 o Minor features (cleanup):
13827 - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
13828 when it stops. Closes ticket 23271.
13830 o Minor features (defensive programming):
13831 - Most of the functions in Tor that free objects have been replaced
13832 with macros that free the objects and set the corresponding
13833 pointers to NULL. This change should help prevent a large class of
13834 dangling pointer bugs. Closes ticket 24337.
13835 - Where possible, the tor_free() macro now only evaluates its input
13836 once. Part of ticket 24337.
13837 - Check that microdesc ed25519 ids are non-zero in
13838 node_get_ed25519_id() before returning them. Implements ticket
13839 24001, patch by "aruna1234".
13841 o Minor features (embedding):
13842 - Tor can now start with a preauthenticated control connection
13843 created by the process that launched it. This feature is meant for
13844 use by programs that want to launch and manage a Tor process
13845 without allowing other programs to manage it as well. For more
13846 information, see the __OwningControllerFD option documented in
13847 control-spec.txt. Closes ticket 23900.
13848 - On most errors that would cause Tor to exit, it now tries to
13849 return from the tor_main() function, rather than calling the
13850 system exit() function. Most users won't notice a difference here,
13851 but it should be significant for programs that run Tor inside
13852 a separate thread: they should now be able to survive Tor's exit
13853 conditions rather than having Tor shut down the entire process.
13854 Closes ticket 23848.
13855 - Applications that want to embed Tor can now tell Tor not to
13856 register any of its own POSIX signal handlers, using the
13857 __DisableSignalHandlers option. Closes ticket 24588.
13859 o Minor features (fallback directory list):
13860 - Avoid selecting fallbacks that change their IP addresses too
13861 often. Select more fallbacks by ignoring the Guard flag, and
13862 allowing lower cutoffs for the Running and V2Dir flags. Also allow
13863 a lower bandwidth, and a higher number of fallbacks per operator
13864 (5% of the list). Implements ticket 24785.
13865 - Update the fallback whitelist and blacklist based on opt-ins and
13866 relay changes. Closes tickets 22321, 24678, 22527, 24135,
13869 o Minor features (fallback directory mirror configuration):
13870 - Add a nickname to each fallback in a C comment. This makes it
13871 easier for operators to find their relays, and allows stem to use
13872 nicknames to identify fallbacks. Implements ticket 24600.
13873 - Add a type and version header to the fallback directory mirror
13874 file. Also add a delimiter to the end of each fallback entry. This
13875 helps external parsers like stem and Relay Search. Implements
13877 - Add an extrainfo cache flag for each fallback in a C comment. This
13878 allows stem to use fallbacks to fetch extra-info documents, rather
13879 than using authorities. Implements ticket 22759.
13880 - Add the generateFallbackDirLine.py script for automatically
13881 generating fallback directory mirror lines from relay fingerprints.
13882 No more typos! Add the lookupFallbackDirContact.py script for
13883 automatically looking up operator contact info from relay
13884 fingerprints. Implements ticket 24706, patch by teor and atagar.
13885 - Reject any fallback directory mirror that serves an expired
13886 consensus. Implements ticket 20942, patch by "minik".
13887 - Remove commas and equals signs from external string inputs to the
13888 fallback list. This avoids format confusion attacks. Implements
13890 - Remove the "weight=10" line from fallback directory mirror
13891 entries. Ticket 24681 will maintain the current fallback weights
13892 by changing Tor's default fallback weight to 10. Implements
13894 - Stop logging excessive information about fallback netblocks.
13895 Implements ticket 24791.
13897 o Minor features (forward-compatibility):
13898 - If a relay supports some link authentication protocol that we do
13899 not recognize, then include that relay's ed25519 key when telling
13900 other relays to extend to it. Previously, we treated future
13901 versions as if they were too old to support ed25519 link
13902 authentication. Closes ticket 20895.
13904 o Minor features (heartbeat):
13905 - Add onion service information to our heartbeat logs, displaying
13906 stats about the activity of configured onion services. Closes
13909 o Minor features (instrumentation, development):
13910 - Add the MainloopStats option to allow developers to get
13911 instrumentation information from the main event loop via the
13912 heartbeat messages. We hope to use this to improve Tor's behavior
13913 when it's trying to sleep. Closes ticket 24605.
13915 o Minor features (log messages):
13916 - Improve a warning message that happens when we fail to re-parse an
13917 old router because of an expired certificate. Closes ticket 20020.
13918 - Make the log more quantitative when we hit MaxMemInQueues
13919 threshold exposing some values. Closes ticket 24501.
13921 o Minor features (logging, android):
13922 - Added support for the Android logging subsystem. Closes
13925 o Minor features (performance):
13926 - Support predictive circuit building for onion service circuits
13927 with multiple layers of guards. Closes ticket 23101.
13928 - Use stdatomic.h where available, rather than mutexes, to implement
13929 atomic_counter_t. Closes ticket 23953.
13931 o Minor features (performance, 32-bit):
13932 - Improve performance on 32-bit systems by avoiding 64-bit division
13933 when calculating the timestamp in milliseconds for channel padding
13934 computations. Implements ticket 24613.
13935 - Improve performance on 32-bit systems by avoiding 64-bit division
13936 when timestamping cells and buffer chunks for OOM calculations.
13937 Implements ticket 24374.
13939 o Minor features (performance, OSX, iOS):
13940 - Use the mach_approximate_time() function (when available) to
13941 implement coarse monotonic time. Having a coarse time function
13942 should avoid a large number of system calls, and improve
13943 performance slightly, especially under load. Closes ticket 24427.
13945 o Minor features (performance, windows):
13946 - Improve performance on Windows Vista and Windows 7 by adjusting
13947 TCP send window size according to the recommendation from
13948 SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
13951 o Major features (relay):
13952 - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
13953 operator to use a more reasonable ("reduced") exit policy, rather
13954 than the default one. If you want to run an exit node without
13955 thinking too hard about which ports to allow, this one is for you.
13956 Closes ticket 13605. Patch from Neel Chauhan.
13958 o Minor features (testing, debugging, embedding):
13959 - For development purposes, Tor now has a mode in which it runs for
13960 a few seconds, then stops, and starts again without exiting the
13961 process. This mode is meant to help us debug various issues with
13962 ticket 23847. To use this feature, compile with
13963 --enable-restart-debugging, and set the TOR_DEBUG_RESTART
13964 environment variable. This is expected to crash a lot, and is
13965 really meant for developers only. It will likely be removed in a
13966 future release. Implements ticket 24583.
13968 o Minor bugfix (network IPv6 test):
13969 - Tor's test scripts now check if "ping -6 ::1" works when the user
13970 runs "make test-network-all". Fixes bug 24677; bugfix on
13971 0.2.9.3-alpha. Patch by "ffmancera".
13973 o Minor bugfixes (build, rust):
13974 - Fix output of autoconf checks to display success messages for Rust
13975 dependencies and a suitable rustc compiler version. Fixes bug
13976 24612; bugfix on 0.3.1.3-alpha.
13977 - When building with Rust on OSX, link against libresolv, to work
13978 around the issue at https://github.com/rust-lang/rust/issues/46797.
13979 Fixes bug 24652; bugfix on 0.3.1.1-alpha.
13980 - Don't pass the --quiet option to cargo: it seems to suppress some
13981 errors, which is not what we want to do when building. Fixes bug
13982 24518; bugfix on 0.3.1.7.
13983 - Build correctly when building from outside Tor's source tree with
13984 the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
13987 o Minor bugfixes (directory authorities, IPv6):
13988 - When creating a routerstatus (vote) from a routerinfo (descriptor),
13989 set the IPv6 address to the unspecified IPv6 address, and
13990 explicitly initialize the port to zero. Fixes bug 24488; bugfix
13993 o Minor bugfixes (fallback directory mirrors):
13994 - Make updateFallbackDirs.py search harder for python. (Some OSs
13995 don't put it in /usr/bin.) Fixes bug 24708; bugfix
13998 o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
13999 - When hibernating, close connections normally and allow them to
14000 flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
14002 - Do not attempt to launch self-reachability tests when entering
14003 hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
14004 - Resolve several bugs related to descriptor fetching on bridge
14005 clients with bandwidth accounting enabled. (This combination is
14006 not recommended!) Fixes a case of bug 12062; bugfix
14008 - When hibernating, do not attempt to launch DNS checks. Fixes a
14009 case of bug 12062; bugfix on 0.1.2.2-alpha.
14010 - When hibernating, do not try to upload or download descriptors.
14011 Fixes a case of bug 12062; bugfix on 0.0.9pre5.
14013 o Minor bugfixes (IPv6, bridges):
14014 - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
14015 bugfix on 0.2.8.2-alpha.
14016 - Tor now sets IPv6 address in the routerstatus as well as in the
14017 router descriptors when updating addresses for a bridge. Closes
14018 ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
14020 o Minor bugfixes (linux seccomp2 sandbox):
14021 - When running with the sandbox enabled, reload configuration files
14022 correctly even when %include was used. Previously we would crash.
14023 Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
14025 o Minor bugfixes (memory leaks):
14026 - Avoid possible at-exit memory leaks related to use of Libevent's
14027 event_base_once() function. (This function tends to leak memory if
14028 the event_base is closed before the event fires.) Fixes bug 24584;
14029 bugfix on 0.2.8.1-alpha.
14030 - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
14033 o Minor bugfixes (OSX):
14034 - Don't exit the Tor process if setrlimit() fails to change the file
14035 limit (which can happen sometimes on some versions of OSX). Fixes
14036 bug 21074; bugfix on 0.0.9pre5.
14038 o Minor bugfixes (performance, fragile-hardening):
14039 - Improve the performance of our consensus-diff application code
14040 when Tor is built with the --enable-fragile-hardening option set.
14041 Fixes bug 24826; bugfix on 0.3.1.1-alpha.
14043 o Minor bugfixes (performance, timeouts):
14044 - Consider circuits for timeout as soon as they complete a hop. This
14045 is more accurate than applying the timeout in
14046 circuit_expire_building() because that function is only called
14047 once per second, which is now too slow for typical timeouts on the
14048 current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
14049 - Use onion service circuits (and other circuits longer than 3 hops)
14050 to calculate a circuit build timeout. Previously, Tor only
14051 calculated its build timeout based on circuits that planned to be
14052 exactly 3 hops long. With this change, we include measurements
14053 from all circuits at the point where they complete their third
14054 hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
14056 o Minor bugfixes (testing):
14057 - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
14058 bugfix on 0.2.3.1-alpha.
14059 - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
14060 25005; bugfix on 0.3.2.7-rc.
14062 o Code simplification and refactoring:
14063 - Remove /usr/athena from search path in configure.ac. Closes
14065 - Remove duplicate code in node_has_curve25519_onion_key() and
14066 node_get_curve25519_onion_key(), and add a check for a zero
14067 microdesc curve25519 onion key. Closes ticket 23966, patch by
14068 "aruna1234" and teor.
14069 - Rewrite channel_rsa_id_group_set_badness to reduce temporary
14070 memory allocations with large numbers of OR connections (e.g.
14071 relays). Closes ticket 24119.
14072 - Separate the function that deletes ephemeral files when Tor
14074 - Small changes to Tor's buf_t API to make it suitable for use as a
14075 general-purpose safe string constructor. Closes ticket 22342.
14076 - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
14077 avoid source code identifier confusion. Closes ticket 24467.
14078 - The tor_git_revision[] constant no longer needs to be redeclared
14079 by everything that links against the rest of Tor. Done as part of
14080 ticket 23845, to simplify our external API.
14081 - We make extend_info_from_node() use node_get_curve25519_onion_key()
14082 introduced in ticket 23577 to access the curve25519 public keys
14083 rather than accessing it directly. Closes ticket 23760. Patch by
14085 - Add a function to log channels' scheduler state changes to aid
14086 debugging efforts. Closes ticket 24531.
14089 - Add documentation on how to build tor with Rust dependencies
14090 without having to be online. Closes ticket 22907; bugfix
14092 - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
14093 traffic. Closes ticket 24318.
14094 - Document that OutboundBindAddress doesn't apply to DNS requests.
14095 Closes ticket 22145. Patch from Aruna Maurya.
14096 - Document that operators who run more than one relay or bridge are
14097 expected to set MyFamily and ContactInfo correctly. Closes
14100 o Code simplification and refactoring (channels):
14101 - Remove the incoming and outgoing channel queues. These were never
14102 used, but still took up a step in our fast path.
14103 - The majority of the channel unit tests have been rewritten and the
14104 code coverage has now been raised to 83.6% for channel.c. Closes
14106 - Remove other dead code from the channel subsystem: All together,
14107 this cleanup has removed more than 1500 lines of code overall and
14108 adding very little except for unit test.
14110 o Code simplification and refactoring (circuit rendezvous):
14111 - Split the client-side rendezvous circuit lookup into two
14112 functions: one that returns only established circuits and another
14113 that returns all kinds of circuits. Closes ticket 23459.
14115 o Code simplification and refactoring (controller):
14116 - Make most of the variables in networkstatus_getinfo_by_purpose()
14117 const. Implements ticket 24489.
14120 Changes in version 0.3.2.9 - 2018-01-09
14121 Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
14123 The 0.3.2 series includes our long-anticipated new onion service
14124 design, with numerous security features. (For more information, see
14125 our blog post at https://blog.torproject.org/fall-harvest.) We also
14126 have a new circuit scheduler algorithm for improved performance on
14127 relays everywhere (see https://blog.torproject.org/kist-and-tell),
14128 along with many smaller features and bugfixes.
14130 Per our stable release policy, we plan to support each stable release
14131 series for at least the next nine months, or for three months after
14132 the first stable release of the next series: whichever is longer. If
14133 you need a release with long-term support, we recommend that you stay
14134 with the 0.2.9 series.
14136 Below is a list of the changes since 0.3.2.8-rc. For a list of all
14137 changes since 0.3.1, see the ReleaseNotes file.
14139 o Minor features (fallback directory mirrors):
14140 - The fallback directory list has been re-generated based on the
14141 current status of the network. Tor uses fallback directories to
14142 bootstrap when it doesn't yet have up-to-date directory
14143 information. Closes ticket 24801.
14144 - Make the default DirAuthorityFallbackRate 0.1, so that clients
14145 prefer to bootstrap from fallback directory mirrors. This is a
14146 follow-up to 24679, which removed weights from the default
14147 fallbacks. Implements ticket 24681.
14149 o Minor features (geoip):
14150 - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
14153 o Minor bugfixes (address selection):
14154 - When the fascist_firewall_choose_address_ functions don't find a
14155 reachable address, set the returned address to the null address
14156 and port. This is a precautionary measure, because some callers do
14157 not check the return value. Fixes bug 24736; bugfix
14160 o Minor bugfixes (compilation):
14161 - Resolve a few shadowed-variable warnings in the onion service
14162 code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
14164 o Minor bugfixes (portability, msvc):
14165 - Fix a bug in the bit-counting parts of our timing-wheel code on
14166 MSVC. (Note that MSVC is still not a supported build platform, due
14167 to cryptographic timing channel risks.) Fixes bug 24633; bugfix
14171 Changes in version 0.3.2.8-rc - 2017-12-21
14172 Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
14173 schedulers that had led servers under heavy load to overload their
14174 outgoing connections. All relay operators running earlier 0.3.2.x
14175 versions should upgrade. This version also includes a mitigation for
14176 over-full DESTROY queues leading to out-of-memory conditions: if it
14177 works, we will soon backport it to earlier release series.
14179 This is the second release candidate in the 0.3.2 series. If we find
14180 no new bugs or regression here, then the first stable 0.3.2 release
14181 will be nearly identical to this.
14183 o Major bugfixes (KIST, scheduler):
14184 - The KIST scheduler did not correctly account for data already
14185 enqueued in each connection's send socket buffer, particularly in
14186 cases when the TCP/IP congestion window was reduced between
14187 scheduler calls. This situation lead to excessive per-connection
14188 buffering in the kernel, and a potential memory DoS. Fixes bug
14189 24665; bugfix on 0.3.2.1-alpha.
14191 o Minor features (geoip):
14192 - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
14195 o Minor bugfixes (hidden service v3):
14196 - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
14197 the probability of reaching a service for a client missing
14198 microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
14200 o Minor bugfixes (memory usage):
14201 - When queuing DESTROY cells on a channel, only queue the circuit-id
14202 and reason fields: not the entire 514-byte cell. This fix should
14203 help mitigate any bugs or attacks that fill up these queues, and
14204 free more RAM for other uses. Fixes bug 24666; bugfix
14207 o Minor bugfixes (scheduler, KIST):
14208 - Use a sane write limit for KISTLite when writing onto a connection
14209 buffer instead of using INT_MAX and shoving as much as it can.
14210 Because the OOM handler cleans up circuit queues, we are better
14211 off at keeping them in that queue instead of the connection's
14212 buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
14215 Changes in version 0.3.2.7-rc - 2017-12-14
14216 Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
14217 including some that could affect reliability or correctness.
14219 This is the first release candidate in the 0.3.2 series. If we find no
14220 new bugs or regression here, then the first stable 0.3.2. release will
14221 be nearly identical to this.
14223 o Major bugfixes (circuit prediction):
14224 - Fix circuit prediction logic so that a client doesn't treat a port
14225 as being "handled" by a circuit if that circuit already has
14226 isolation settings on it. This change should make Tor clients more
14227 responsive by improving their chances of having a pre-created
14228 circuit ready for use when a request arrives. Fixes bug 18859;
14229 bugfix on 0.2.3.3-alpha.
14231 o Minor features (logging):
14232 - Provide better warnings when the getrandom() syscall fails. Closes
14235 o Minor features (portability):
14236 - Tor now compiles correctly on arm64 with libseccomp-dev installed.
14237 (It doesn't yet work with the sandbox enabled.) Closes
14240 o Minor bugfixes (bridge clients, bootstrap):
14241 - Retry directory downloads when we get our first bridge descriptor
14242 during bootstrap or while reconnecting to the network. Keep
14243 retrying every time we get a bridge descriptor, until we have a
14244 reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
14245 - Stop delaying bridge descriptor fetches when we have cached bridge
14246 descriptors. Instead, only delay bridge descriptor fetches when we
14247 have at least one reachable bridge. Fixes part of bug 24367;
14248 bugfix on 0.2.0.3-alpha.
14249 - Stop delaying directory fetches when we have cached bridge
14250 descriptors. Instead, only delay bridge descriptor fetches when
14251 all our bridges are definitely unreachable. Fixes part of bug
14252 24367; bugfix on 0.2.0.3-alpha.
14254 o Minor bugfixes (compilation):
14255 - Fix a signed/unsigned comparison warning introduced by our fix to
14256 TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
14258 o Minor bugfixes (correctness):
14259 - Fix several places in our codebase where a C compiler would be
14260 likely to eliminate a check, based on assuming that undefined
14261 behavior had not happened elsewhere in the code. These cases are
14262 usually a sign of redundant checking or dubious arithmetic. Found
14263 by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
14264 Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
14267 o Minor bugfixes (onion service v3):
14268 - Fix a race where an onion service would launch a new intro circuit
14269 after closing an old one, but fail to register it before freeing
14270 the previously closed circuit. This bug was making the service
14271 unable to find the established intro circuit and thus not upload
14272 its descriptor, thus making a service unavailable for up to 24
14273 hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
14275 o Minor bugfixes (scheduler, KIST):
14276 - Properly set the scheduler state of an unopened channel in the
14277 KIST scheduler main loop. This prevents a harmless but annoying
14278 log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
14279 - Avoid a possible integer overflow when computing the available
14280 space on the TCP buffer of a channel. This had no security
14281 implications; but could make KIST allow too many cells on a
14282 saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
14283 - Downgrade to "info" a harmless warning about the monotonic time
14284 moving backwards: This can happen on platform not supporting
14285 monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
14288 Changes in version 0.3.2.6-alpha - 2017-12-01
14289 This version of Tor is the latest in the 0.3.2 alpha series. It
14290 includes fixes for several important security issues. All Tor users
14291 should upgrade to this release, or to one of the other releases coming
14294 o Major bugfixes (security):
14295 - Fix a denial of service bug where an attacker could use a
14296 malformed directory object to cause a Tor instance to pause while
14297 OpenSSL would try to read a passphrase from the terminal. (Tor
14298 instances run without a terminal, which is the case for most Tor
14299 packages, are not impacted.) Fixes bug 24246; bugfix on every
14300 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14301 Found by OSS-Fuzz as testcase 6360145429790720.
14302 - Fix a denial of service issue where an attacker could crash a
14303 directory authority using a malformed router descriptor. Fixes bug
14304 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14306 - When checking for replays in the INTRODUCE1 cell data for a
14307 (legacy) onion service, correctly detect replays in the RSA-
14308 encrypted part of the cell. We were previously checking for
14309 replays on the entire cell, but those can be circumvented due to
14310 the malleability of Tor's legacy hybrid encryption. This fix helps
14311 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14312 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14315 o Major bugfixes (security, onion service v2):
14316 - Fix a use-after-free error that could crash v2 Tor onion services
14317 when they failed to open circuits while expiring introduction
14318 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14319 also tracked as TROVE-2017-013 and CVE-2017-8823.
14321 o Major bugfixes (security, relay):
14322 - When running as a relay, make sure that we never build a path
14323 through ourselves, even in the case where we have somehow lost the
14324 version of our descriptor appearing in the consensus. Fixes part
14325 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14326 as TROVE-2017-012 and CVE-2017-8822.
14327 - When running as a relay, make sure that we never choose ourselves
14328 as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
14329 issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
14331 o Minor feature (relay statistics):
14332 - Change relay bandwidth reporting stats interval from 4 hours to 24
14333 hours in order to reduce the efficiency of guard discovery
14334 attacks. Fixes ticket 23856.
14336 o Minor features (directory authority):
14337 - Add an IPv6 address for the "bastet" directory authority. Closes
14340 o Minor bugfixes (client):
14341 - By default, do not enable storage of client-side DNS values. These
14342 values were unused by default previously, but they should not have
14343 been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
14346 Changes in version 0.3.1.9 - 2017-12-01:
14347 Tor 0.3.1.9 backports important security and stability fixes from the
14348 0.3.2 development series. All Tor users should upgrade to this
14349 release, or to another of the releases coming out today.
14351 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14352 - Fix a denial of service bug where an attacker could use a
14353 malformed directory object to cause a Tor instance to pause while
14354 OpenSSL would try to read a passphrase from the terminal. (Tor
14355 instances run without a terminal, which is the case for most Tor
14356 packages, are not impacted.) Fixes bug 24246; bugfix on every
14357 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14358 Found by OSS-Fuzz as testcase 6360145429790720.
14359 - Fix a denial of service issue where an attacker could crash a
14360 directory authority using a malformed router descriptor. Fixes bug
14361 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14363 - When checking for replays in the INTRODUCE1 cell data for a
14364 (legacy) onion service, correctly detect replays in the RSA-
14365 encrypted part of the cell. We were previously checking for
14366 replays on the entire cell, but those can be circumvented due to
14367 the malleability of Tor's legacy hybrid encryption. This fix helps
14368 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14369 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14372 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14373 - Fix a use-after-free error that could crash v2 Tor onion services
14374 when they failed to open circuits while expiring introduction
14375 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14376 also tracked as TROVE-2017-013 and CVE-2017-8823.
14378 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14379 - When running as a relay, make sure that we never build a path
14380 through ourselves, even in the case where we have somehow lost the
14381 version of our descriptor appearing in the consensus. Fixes part
14382 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14383 as TROVE-2017-012 and CVE-2017-8822.
14384 - When running as a relay, make sure that we never choose ourselves
14385 as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
14386 issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
14388 o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
14389 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14390 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14391 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14392 identifying and finding a workaround to this bug and to Moritz,
14393 Arthur Edelstein, and Roger for helping to track it down and
14396 o Minor features (bridge):
14397 - Bridges now include notice in their descriptors that they are
14398 bridges, and notice of their distribution status, based on their
14399 publication settings. Implements ticket 18329. For more fine-
14400 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14403 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14404 - Add an IPv6 address for the "bastet" directory authority. Closes
14407 o Minor features (geoip):
14408 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14411 o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
14412 - Avoid unnecessary calls to directory_fetches_from_authorities() on
14413 relays, to prevent spurious address resolutions and descriptor
14414 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
14415 bugfix on in 0.2.8.1-alpha.
14417 o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
14418 - Fix unused variable warnings in donna's Curve25519 SSE2 code.
14419 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
14421 o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
14422 - When a circuit is marked for close, do not attempt to package any
14423 cells for channels on that circuit. Previously, we would detect
14424 this condition lower in the call stack, when we noticed that the
14425 circuit had no attached channel, and log an annoying message.
14426 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
14428 o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
14429 - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
14430 so it matches dir-spec.txt. Fixes bug 24262; bugfix
14433 o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
14434 - Avoid a crash when transitioning from client mode to bridge mode.
14435 Previously, we would launch the worker threads whenever our
14436 "public server" mode changed, but not when our "server" mode
14437 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14440 Changes in version 0.3.0.13 - 2017-12-01
14441 Tor 0.3.0.13 backports important security and stability bugfixes from
14442 later Tor releases. All Tor users should upgrade to this release, or
14443 to another of the releases coming out today.
14445 Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
14446 2018. If you need a release with long-term support, please stick with
14447 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
14449 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14450 - Fix a denial of service bug where an attacker could use a
14451 malformed directory object to cause a Tor instance to pause while
14452 OpenSSL would try to read a passphrase from the terminal. (Tor
14453 instances run without a terminal, which is the case for most Tor
14454 packages, are not impacted.) Fixes bug 24246; bugfix on every
14455 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14456 Found by OSS-Fuzz as testcase 6360145429790720.
14457 - Fix a denial of service issue where an attacker could crash a
14458 directory authority using a malformed router descriptor. Fixes bug
14459 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14461 - When checking for replays in the INTRODUCE1 cell data for a
14462 (legacy) onion service, correctly detect replays in the RSA-
14463 encrypted part of the cell. We were previously checking for
14464 replays on the entire cell, but those can be circumvented due to
14465 the malleability of Tor's legacy hybrid encryption. This fix helps
14466 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14467 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14470 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14471 - Fix a use-after-free error that could crash v2 Tor onion services
14472 when they failed to open circuits while expiring introduction
14473 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14474 also tracked as TROVE-2017-013 and CVE-2017-8823.
14476 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14477 - When running as a relay, make sure that we never build a path
14478 through ourselves, even in the case where we have somehow lost the
14479 version of our descriptor appearing in the consensus. Fixes part
14480 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14481 as TROVE-2017-012 and CVE-2017-8822.
14482 - When running as a relay, make sure that we never choose ourselves
14483 as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
14484 issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
14486 o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
14487 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14488 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14489 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14490 identifying and finding a workaround to this bug and to Moritz,
14491 Arthur Edelstein, and Roger for helping to track it down and
14494 o Minor features (security, windows, backport from 0.3.1.1-alpha):
14495 - Enable a couple of pieces of Windows hardening: one
14496 (HeapEnableTerminationOnCorruption) that has been on-by-default
14497 since Windows 8, and unavailable before Windows 7; and one
14498 (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
14499 affect us, but shouldn't do any harm. Closes ticket 21953.
14501 o Minor features (bridge, backport from 0.3.1.9):
14502 - Bridges now include notice in their descriptors that they are
14503 bridges, and notice of their distribution status, based on their
14504 publication settings. Implements ticket 18329. For more fine-
14505 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14508 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14509 - Add an IPv6 address for the "bastet" directory authority. Closes
14512 o Minor features (geoip):
14513 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14516 o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
14517 - Avoid unnecessary calls to directory_fetches_from_authorities() on
14518 relays, to prevent spurious address resolutions and descriptor
14519 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
14520 bugfix on in 0.2.8.1-alpha.
14522 o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
14523 - Fix unused variable warnings in donna's Curve25519 SSE2 code.
14524 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
14526 o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
14527 - When a circuit is marked for close, do not attempt to package any
14528 cells for channels on that circuit. Previously, we would detect
14529 this condition lower in the call stack, when we noticed that the
14530 circuit had no attached channel, and log an annoying message.
14531 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
14533 o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
14534 - Avoid a crash when transitioning from client mode to bridge mode.
14535 Previously, we would launch the worker threads whenever our
14536 "public server" mode changed, but not when our "server" mode
14537 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14539 o Minor bugfixes (testing, backport from 0.3.1.6-rc):
14540 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
14541 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
14544 Changes in version 0.2.9.14 - 2017-12-01
14545 Tor 0.3.0.13 backports important security and stability bugfixes from
14546 later Tor releases. All Tor users should upgrade to this release, or
14547 to another of the releases coming out today.
14549 o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
14550 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14551 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14552 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14553 identifying and finding a workaround to this bug and to Moritz,
14554 Arthur Edelstein, and Roger for helping to track it down and
14557 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14558 - Fix a denial of service bug where an attacker could use a
14559 malformed directory object to cause a Tor instance to pause while
14560 OpenSSL would try to read a passphrase from the terminal. (Tor
14561 instances run without a terminal, which is the case for most Tor
14562 packages, are not impacted.) Fixes bug 24246; bugfix on every
14563 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14564 Found by OSS-Fuzz as testcase 6360145429790720.
14565 - Fix a denial of service issue where an attacker could crash a
14566 directory authority using a malformed router descriptor. Fixes bug
14567 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14569 - When checking for replays in the INTRODUCE1 cell data for a
14570 (legacy) onion service, correctly detect replays in the RSA-
14571 encrypted part of the cell. We were previously checking for
14572 replays on the entire cell, but those can be circumvented due to
14573 the malleability of Tor's legacy hybrid encryption. This fix helps
14574 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14575 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14578 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14579 - Fix a use-after-free error that could crash v2 Tor onion services
14580 when they failed to open circuits while expiring introduction
14581 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14582 also tracked as TROVE-2017-013 and CVE-2017-8823.
14584 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14585 - When running as a relay, make sure that we never build a path
14586 through ourselves, even in the case where we have somehow lost the
14587 version of our descriptor appearing in the consensus. Fixes part
14588 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14589 as TROVE-2017-012 and CVE-2017-8822.
14591 o Minor features (bridge, backport from 0.3.1.9):
14592 - Bridges now include notice in their descriptors that they are
14593 bridges, and notice of their distribution status, based on their
14594 publication settings. Implements ticket 18329. For more fine-
14595 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14598 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14599 - Add an IPv6 address for the "bastet" directory authority. Closes
14602 o Minor features (geoip):
14603 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14606 o Minor features (security, windows, backport from 0.3.1.1-alpha):
14607 - Enable a couple of pieces of Windows hardening: one
14608 (HeapEnableTerminationOnCorruption) that has been on-by-default
14609 since Windows 8, and unavailable before Windows 7; and one
14610 (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
14611 affect us, but shouldn't do any harm. Closes ticket 21953.
14613 o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
14614 - Avoid unnecessary calls to directory_fetches_from_authorities() on
14615 relays, to prevent spurious address resolutions and descriptor
14616 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
14617 bugfix on in 0.2.8.1-alpha.
14619 o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
14620 - Fix unused variable warnings in donna's Curve25519 SSE2 code.
14621 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
14623 o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
14624 - When a circuit is marked for close, do not attempt to package any
14625 cells for channels on that circuit. Previously, we would detect
14626 this condition lower in the call stack, when we noticed that the
14627 circuit had no attached channel, and log an annoying message.
14628 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
14630 o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
14631 - Avoid a crash when transitioning from client mode to bridge mode.
14632 Previously, we would launch the worker threads whenever our
14633 "public server" mode changed, but not when our "server" mode
14634 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14636 o Minor bugfixes (testing, backport from 0.3.1.6-rc):
14637 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
14638 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
14641 Changes in version 0.2.8.17 - 2017-12-01
14642 Tor 0.2.8.17 backports important security and stability bugfixes from
14643 later Tor releases. All Tor users should upgrade to this release, or
14644 to another of the releases coming out today.
14646 Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
14647 2018. If you need a release with long-term support, please upgrade with
14648 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
14650 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14651 - Fix a denial of service bug where an attacker could use a
14652 malformed directory object to cause a Tor instance to pause while
14653 OpenSSL would try to read a passphrase from the terminal. (Tor
14654 instances run without a terminal, which is the case for most Tor
14655 packages, are not impacted.) Fixes bug 24246; bugfix on every
14656 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14657 Found by OSS-Fuzz as testcase 6360145429790720.
14658 - When checking for replays in the INTRODUCE1 cell data for a
14659 (legacy) onion service, correctly detect replays in the RSA-
14660 encrypted part of the cell. We were previously checking for
14661 replays on the entire cell, but those can be circumvented due to
14662 the malleability of Tor's legacy hybrid encryption. This fix helps
14663 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14664 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14667 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14668 - Fix a use-after-free error that could crash v2 Tor onion services
14669 when they failed to open circuits while expiring introduction
14670 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14671 also tracked as TROVE-2017-013 and CVE-2017-8823.
14673 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14674 - When running as a relay, make sure that we never build a path through
14675 ourselves, even in the case where we have somehow lost the version of
14676 our descriptor appearing in the consensus. Fixes part of bug 21534;
14677 bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
14680 o Minor features (bridge, backport from 0.3.1.9):
14681 - Bridges now include notice in their descriptors that they are
14682 bridges, and notice of their distribution status, based on their
14683 publication settings. Implements ticket 18329. For more fine-
14684 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14687 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14688 - Add an IPv6 address for the "bastet" directory authority. Closes
14691 o Minor features (geoip):
14692 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14695 o Minor bugfixes (testing, backport from 0.3.1.6-rc):
14696 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
14697 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
14700 Changes in version 0.2.5.16 - 2017-12-01
14701 Tor 0.2.5.13 backports important security and stability bugfixes from
14702 later Tor releases. All Tor users should upgrade to this release, or
14703 to another of the releases coming out today.
14705 Note: the Tor 0.2.5 series will no longer be supported after 1 May
14706 2018. If you need a release with long-term support, please upgrade to
14707 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
14709 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14710 - Fix a denial of service bug where an attacker could use a
14711 malformed directory object to cause a Tor instance to pause while
14712 OpenSSL would try to read a passphrase from the terminal. (Tor
14713 instances run without a terminal, which is the case for most Tor
14714 packages, are not impacted.) Fixes bug 24246; bugfix on every
14715 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14716 Found by OSS-Fuzz as testcase 6360145429790720.
14717 - When checking for replays in the INTRODUCE1 cell data for a
14718 (legacy) onion service, correctly detect replays in the RSA-
14719 encrypted part of the cell. We were previously checking for
14720 replays on the entire cell, but those can be circumvented due to
14721 the malleability of Tor's legacy hybrid encryption. This fix helps
14722 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14723 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14726 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14727 - When running as a relay, make sure that we never build a path
14728 through ourselves, even in the case where we have somehow lost the
14729 version of our descriptor appearing in the consensus. Fixes part
14730 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14731 as TROVE-2017-012 and CVE-2017-8822.
14733 o Minor features (bridge, backport from 0.3.1.9):
14734 - Bridges now include notice in their descriptors that they are
14735 bridges, and notice of their distribution status, based on their
14736 publication settings. Implements ticket 18329. For more fine-
14737 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14740 o Minor features (geoip):
14741 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14745 Changes in version 0.3.2.5-alpha - 2017-11-22
14746 Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
14747 fixes several stability and reliability bugs, including a fix for
14748 intermittent bootstrapping failures that some people have been seeing
14749 since the 0.3.0.x series.
14751 Please test this alpha out -- many of these fixes will soon be
14752 backported to stable Tor versions if no additional bugs are found
14755 o Major bugfixes (bootstrapping):
14756 - Fetch descriptors aggressively whenever we lack enough to build
14757 circuits, regardless of how many descriptors we are missing.
14758 Previously, we would delay launching the fetch when we had fewer
14759 than 15 missing descriptors, even if some of those descriptors
14760 were blocking circuits from building. Fixes bug 23985; bugfix on
14761 0.1.1.11-alpha. The effects of this bug became worse in
14762 0.3.0.3-alpha, when we began treating missing descriptors from our
14763 primary guards as a reason to delay circuits.
14764 - Don't try fetching microdescriptors from relays that have failed
14765 to deliver them in the past. Fixes bug 23817; bugfix
14768 o Minor features (directory authority):
14769 - Make the "Exit" flag assignment only depend on whether the exit
14770 policy allows connections to ports 80 and 443. Previously relays
14771 would get the Exit flag if they allowed connections to one of
14772 these ports and also port 6667. Resolves ticket 23637.
14774 o Minor features (geoip):
14775 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14778 o Minor features (linux seccomp2 sandbox):
14779 - Update the sandbox rules so that they should now work correctly
14780 with Glibc 2.26. Closes ticket 24315.
14782 o Minor features (logging):
14783 - Downgrade a pair of log messages that could occur when an exit's
14784 resolver gave us an unusual (but not forbidden) response. Closes
14786 - Improve the message we log when re-enabling circuit build timeouts
14787 after having received a consensus. Closes ticket 20963.
14789 o Minor bugfixes (compilation):
14790 - Fix a memory leak warning in one of the libevent-related
14791 configuration tests that could occur when manually specifying
14792 -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
14793 Found and patched by Alex Xu.
14794 - When detecting OpenSSL on Windows from our configure script, make
14795 sure to try linking with the ws2_32 library. Fixes bug 23783;
14796 bugfix on 0.3.2.2-alpha.
14798 o Minor bugfixes (control port, linux seccomp2 sandbox):
14799 - Avoid a crash when attempting to use the seccomp2 sandbox together
14800 with the OwningControllerProcess feature. Fixes bug 24198; bugfix
14803 o Minor bugfixes (control port, onion services):
14804 - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
14805 HS_DESC event when a service is not able to upload a descriptor.
14806 Fixes bug 24230; bugfix on 0.2.7.1-alpha.
14808 o Minor bugfixes (directory cache):
14809 - Recover better from empty or corrupt files in the consensus cache
14810 directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
14811 - When a consensus diff calculation is only partially successful,
14812 only record the successful parts as having succeeded. Partial
14813 success can happen if (for example) one compression method fails
14814 but the others succeed. Previously we misrecorded all the
14815 calculations as having succeeded, which would later cause a
14816 nonfatal assertion failure. Fixes bug 24086; bugfix
14819 o Minor bugfixes (logging):
14820 - Only log once if we notice that KIST support is gone. Fixes bug
14821 24158; bugfix on 0.3.2.1-alpha.
14822 - Suppress a log notice when relay descriptors arrive. We already
14823 have a bootstrap progress for this so no need to log notice
14824 everytime tor receives relay descriptors. Microdescriptors behave
14825 the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
14827 o Minor bugfixes (network layer):
14828 - When closing a connection via close_connection_immediately(), we
14829 mark it as "not blocked on bandwidth", to prevent later calls from
14830 trying to unblock it, and give it permission to read. This fixes a
14831 backtrace warning that can happen on relays under various
14832 circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
14834 o Minor bugfixes (onion services):
14835 - The introduction circuit was being timed out too quickly while
14836 waiting for the rendezvous circuit to complete. Keep the intro
14837 circuit around longer instead of timing out and reopening new ones
14838 constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
14839 - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
14840 so it matches dir-spec.txt. Fixes bug 24262; bugfix
14842 - Silence a warning about failed v3 onion descriptor uploads that
14843 can happen naturally under certain edge cases. Fixes part of bug
14844 23662; bugfix on 0.3.2.1-alpha.
14846 o Minor bugfixes (tests):
14847 - Fix a memory leak in one of the bridge-distribution test cases.
14848 Fixes bug 24345; bugfix on 0.3.2.3-alpha.
14849 - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
14850 to correctly handle cases where a caller gives it an RSA key of
14851 under 160 bits. (This is not actually a bug in Tor itself, but
14852 rather in our fuzzing code.) Fixes bug 24247; bugfix on
14853 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
14856 - Add notes in man page regarding OS support for the various
14857 scheduler types. Attempt to use less jargon in the scheduler
14858 section. Closes ticket 24254.
14861 Changes in version 0.3.2.4-alpha - 2017-11-08
14862 Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
14863 It fixes several stability and reliability bugs, especially including
14864 a major reliability issue that has been plaguing fast exit relays in
14867 o Major bugfixes (exit relays, DNS):
14868 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14869 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14870 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14871 identifying and finding a workaround to this bug and to Moritz,
14872 Arthur Edelstein, and Roger for helping to track it down and
14875 o Major bugfixes (scheduler, channel):
14876 - Stop processing scheduled channels if they closed while flushing
14877 cells. This can happen if the write on the connection fails
14878 leading to the channel being closed while in the scheduler loop.
14879 Fixes bug 23751; bugfix on 0.3.2.1-alpha.
14881 o Minor features (logging, scheduler):
14882 - Introduce a SCHED_BUG() function to log extra information about
14883 the scheduler state if we ever catch a bug in the scheduler.
14884 Closes ticket 23753.
14886 o Minor features (removed deprecations):
14887 - The ClientDNSRejectInternalAddresses flag can once again be set in
14888 non-testing Tor networks, so long as they do not use the default
14889 directory authorities. This change also removes the deprecation of
14890 this flag from 0.2.9.2-alpha. Closes ticket 21031.
14892 o Minor features (testing):
14893 - Our fuzzing tests now test the encrypted portions of v3 onion
14894 service descriptors. Implements more of 21509.
14896 o Minor bugfixes (directory client):
14897 - On failure to download directory information, delay retry attempts
14898 by a random amount based on the "decorrelated jitter" algorithm.
14899 Our previous delay algorithm tended to produce extra-long delays
14900 too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
14902 o Minor bugfixes (IPv6, v3 single onion services):
14903 - Remove buggy code for IPv6-only v3 single onion services, and
14904 reject attempts to configure them. This release supports IPv4,
14905 dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
14906 stack v3 single onion services. Fixes bug 23820; bugfix
14909 o Minor bugfixes (logging, relay):
14910 - Give only a protocol warning when the ed25519 key is not
14911 consistent between the descriptor and microdescriptor of a relay.
14912 This can happen, for instance, if the relay has been flagged
14913 NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
14915 o Minor bugfixes (manpage, onion service):
14916 - Document that the HiddenServiceNumIntroductionPoints option is
14917 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
14918 bugfix on 0.3.2.1-alpha.
14920 o Minor bugfixes (memory leaks):
14921 - Fix a minor memory leak at exit in the KIST scheduler. This bug
14922 should have no user-visible impact. Fixes bug 23774; bugfix
14924 - Fix a memory leak when decrypting a badly formatted v3 onion
14925 service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
14926 Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
14928 o Minor bugfixes (onion services):
14929 - Cache some needed onion service client information instead of
14930 constantly computing it over and over again. Fixes bug 23623;
14931 bugfix on 0.3.2.1-alpha.
14932 - Properly retry HSv3 descriptor fetches when missing required
14933 directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
14935 o Minor bugfixes (path selection):
14936 - When selecting relays by bandwidth, avoid a rounding error that
14937 could sometimes cause load to be imbalanced incorrectly.
14938 Previously, we would always round upwards; now, we round towards
14939 the nearest integer. This had the biggest effect when a relay's
14940 weight adjustments should have given it weight 0, but it got
14941 weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
14942 - When calculating the fraction of nodes that have descriptors, and
14943 all nodes in the network have zero bandwidths, count the number of
14944 nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
14945 - Actually log the total bandwidth in compute_weighted_bandwidths().
14946 Fixes bug 24170; bugfix on 0.2.4.3-alpha.
14948 o Minor bugfixes (relay, crash):
14949 - Avoid a crash when transitioning from client mode to bridge mode.
14950 Previously, we would launch the worker threads whenever our
14951 "public server" mode changed, but not when our "server" mode
14952 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14954 o Minor bugfixes (testing):
14955 - Fix a spurious fuzzing-only use of an uninitialized value. Found
14956 by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
14957 - Test that IPv6-only clients can use microdescriptors when running
14958 "make test-network-all". Requires chutney master 61c28b9 or later.
14959 Closes ticket 24109.
14962 Changes in version 0.3.2.3-alpha - 2017-10-27
14963 Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
14964 numerous small bugs in earlier versions of 0.3.2.x, and adds a new
14965 directory authority, Bastet.
14967 o Directory authority changes:
14968 - Add "Bastet" as a ninth directory authority to the default list.
14969 Closes ticket 23910.
14970 - The directory authority "Longclaw" has changed its IP address.
14971 Closes ticket 23592.
14973 o Minor features (bridge):
14974 - Bridge relays can now set the BridgeDistribution config option to
14975 add a "bridge-distribution-request" line to their bridge
14976 descriptor, which tells BridgeDB how they'd like their bridge
14977 address to be given out. (Note that as of Oct 2017, BridgeDB does
14978 not yet implement this feature.) As a side benefit, this feature
14979 provides a way to distinguish bridge descriptors from non-bridge
14980 descriptors. Implements tickets 18329.
14982 o Minor features (client, entry guards):
14983 - Improve log messages when missing descriptors for primary guards.
14984 Resolves ticket 23670.
14986 o Minor features (geoip):
14987 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
14990 o Minor bugfixes (bridge):
14991 - Overwrite the bridge address earlier in the process of retrieving
14992 its descriptor, to make sure we reach it on the configured
14993 address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
14995 o Minor bugfixes (documentation):
14996 - Document better how to read gcov, and what our gcov postprocessing
14997 scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
14999 o Minor bugfixes (entry guards):
15000 - Tor now updates its guard state when it reads a consensus
15001 regardless of whether it's missing descriptors. That makes tor use
15002 its primary guards to fetch descriptors in some edge cases where
15003 it would previously have used fallback directories. Fixes bug
15004 23862; bugfix on 0.3.0.1-alpha.
15006 o Minor bugfixes (hidden service client):
15007 - When handling multiple SOCKS request for the same .onion address,
15008 only fetch the service descriptor once.
15009 - When a descriptor fetch fails with a non-recoverable error, close
15010 all pending SOCKS requests for that .onion. Fixes bug 23653;
15011 bugfix on 0.3.2.1-alpha.
15013 o Minor bugfixes (hidden service):
15014 - Always regenerate missing hidden service public key files. Prior
15015 to this, if the public key was deleted from disk, it wouldn't get
15016 recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
15018 - Make sure that we have a usable ed25519 key when the intro point
15019 relay supports ed25519 link authentication. Fixes bug 24002;
15020 bugfix on 0.3.2.1-alpha.
15022 o Minor bugfixes (hidden service, v2):
15023 - When reloading configured hidden services, copy all information
15024 from the old service object. Previously, some data was omitted,
15025 causing delays in descriptor upload, and other bugs. Fixes bug
15026 23790; bugfix on 0.2.1.9-alpha.
15028 o Minor bugfixes (memory safety, defensive programming):
15029 - Clear the target address when node_get_prim_orport() returns
15030 early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15032 o Minor bugfixes (relay):
15033 - Avoid a BUG warning when receiving a dubious CREATE cell while an
15034 option transition is in progress. Fixes bug 23952; bugfix
15037 o Minor bugfixes (testing):
15038 - Adjust the GitLab CI configuration to more closely match that of
15039 Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
15040 - Prevent scripts/test/coverage from attempting to move gcov output
15041 to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
15042 - When running unit tests as root, skip a test that would fail
15043 because it expects a permissions error. This affects some
15044 continuous integration setups. Fixes bug 23758; bugfix
15046 - Stop unconditionally mirroring the tor repository in GitLab CI.
15047 This prevented developers from enabling GitLab CI on master. Fixes
15048 bug 23755; bugfix on 0.3.2.2-alpha.
15049 - Fix the hidden service v3 descriptor decoding fuzzing to use the
15050 latest decoding API correctly. Fixes bug 21509; bugfix
15053 o Minor bugfixes (warnings):
15054 - When we get an HTTP request on a SOCKS port, tell the user about
15055 the new HTTPTunnelPort option. Previously, we would give a "Tor is
15056 not an HTTP Proxy" message, which stopped being true when
15057 HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
15061 Changes in version 0.2.5.15 - 2017-10-25
15062 Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
15063 series. It also adds a new directory authority, Bastet.
15065 Note: the Tor 0.2.5 series will no longer be supported after 1 May
15066 2018. If you need a release with long-term support, please upgrade to
15067 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
15069 o Directory authority changes:
15070 - Add "Bastet" as a ninth directory authority to the default list.
15071 Closes ticket 23910.
15072 - The directory authority "Longclaw" has changed its IP address.
15073 Closes ticket 23592.
15075 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
15076 - Avoid an assertion failure bug affecting our implementation of
15077 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
15078 handling of "0xx" differs from what we had expected. Fixes bug
15079 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
15081 o Minor features (geoip):
15082 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15085 o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
15086 - Fix a memset() off the end of an array when packing cells. This
15087 bug should be harmless in practice, since the corrupted bytes are
15088 still in the same structure, and are always padding bytes,
15089 ignored, or immediately overwritten, depending on compiler
15090 behavior. Nevertheless, because the memset()'s purpose is to make
15091 sure that any other cell-handling bugs can't expose bytes to the
15092 network, we need to fix it. Fixes bug 22737; bugfix on
15093 0.2.4.11-alpha. Fixes CID 1401591.
15095 o Build features (backport from 0.3.1.5-alpha):
15096 - Tor's repository now includes a Travis Continuous Integration (CI)
15097 configuration file (.travis.yml). This is meant to help new
15098 developers and contributors who fork Tor to a Github repository be
15099 better able to test their changes, and understand what we expect
15100 to pass. To use this new build feature, you must fork Tor to your
15101 Github account, then go into the "Integrations" menu in the
15102 repository settings for your fork and enable Travis, then push
15103 your changes. Closes ticket 22636.
15106 Changes in version 0.2.8.16 - 2017-10-25
15107 Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
15108 series, including a bugfix for a crash issue that had affected relays
15109 under memory pressure. It also adds a new directory authority, Bastet.
15111 Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
15112 2018. If you need a release with long-term support, please stick with
15113 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
15115 o Directory authority changes:
15116 - Add "Bastet" as a ninth directory authority to the default list.
15117 Closes ticket 23910.
15118 - The directory authority "Longclaw" has changed its IP address.
15119 Closes ticket 23592.
15121 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15122 - Fix a timing-based assertion failure that could occur when the
15123 circuit out-of-memory handler freed a connection's output buffer.
15124 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15126 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15127 - Remove longclaw's IPv6 address, as it will soon change. Authority
15128 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15129 3/8 directory authorities with IPv6 addresses, but there are also
15130 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15132 o Minor features (geoip):
15133 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15137 Changes in version 0.2.9.13 - 2017-10-25
15138 Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
15139 series, including a bugfix for a crash issue that had affected relays
15140 under memory pressure. It also adds a new directory authority, Bastet.
15142 o Directory authority changes:
15143 - Add "Bastet" as a ninth directory authority to the default list.
15144 Closes ticket 23910.
15145 - The directory authority "Longclaw" has changed its IP address.
15146 Closes ticket 23592.
15148 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15149 - Fix a timing-based assertion failure that could occur when the
15150 circuit out-of-memory handler freed a connection's output buffer.
15151 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15153 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15154 - Remove longclaw's IPv6 address, as it will soon change. Authority
15155 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15156 3/8 directory authorities with IPv6 addresses, but there are also
15157 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15159 o Minor features (geoip):
15160 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15163 o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
15164 - When a directory authority rejects a descriptor or extrainfo with
15165 a given digest, mark that digest as undownloadable, so that we do
15166 not attempt to download it again over and over. We previously
15167 tried to avoid downloading such descriptors by other means, but we
15168 didn't notice if we accidentally downloaded one anyway. This
15169 behavior became problematic in 0.2.7.2-alpha, when authorities
15170 began pinning Ed25519 keys. Fixes bug 22349; bugfix
15173 o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
15174 - Clear the address when node_get_prim_orport() returns early.
15175 Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15177 o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
15178 - When running as a Windows service, set the ID of the main thread
15179 correctly. Failure to do so made us fail to send log messages to
15180 the controller in 0.2.1.16-rc, slowed down controller event
15181 delivery in 0.2.7.3-rc and later, and crash with an assertion
15182 failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
15183 Patch and diagnosis from "Vort".
15186 Changes in version 0.3.0.12 - 2017-10-25
15187 Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
15188 series, including a bugfix for a crash issue that had affected relays
15189 under memory pressure. It also adds a new directory authority, Bastet.
15191 Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
15192 2018. If you need a release with long-term support, please stick with
15193 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
15195 o Directory authority changes:
15196 - Add "Bastet" as a ninth directory authority to the default list.
15197 Closes ticket 23910.
15198 - The directory authority "Longclaw" has changed its IP address.
15199 Closes ticket 23592.
15201 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15202 - Fix a timing-based assertion failure that could occur when the
15203 circuit out-of-memory handler freed a connection's output buffer.
15204 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15206 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15207 - Remove longclaw's IPv6 address, as it will soon change. Authority
15208 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15209 3/8 directory authorities with IPv6 addresses, but there are also
15210 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15212 o Minor features (geoip):
15213 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15216 o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
15217 - When a directory authority rejects a descriptor or extrainfo with
15218 a given digest, mark that digest as undownloadable, so that we do
15219 not attempt to download it again over and over. We previously
15220 tried to avoid downloading such descriptors by other means, but we
15221 didn't notice if we accidentally downloaded one anyway. This
15222 behavior became problematic in 0.2.7.2-alpha, when authorities
15223 began pinning Ed25519 keys. Fixes bug 22349; bugfix
15226 o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
15227 - Avoid a possible double close of a circuit by the intro point on
15228 error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
15229 bugfix on 0.3.0.1-alpha.
15231 o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
15232 - Clear the address when node_get_prim_orport() returns early.
15233 Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15235 o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
15236 - When running as a Windows service, set the ID of the main thread
15237 correctly. Failure to do so made us fail to send log messages to
15238 the controller in 0.2.1.16-rc, slowed down controller event
15239 delivery in 0.2.7.3-rc and later, and crash with an assertion
15240 failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
15241 Patch and diagnosis from "Vort".
15244 Changes in version 0.3.1.8 - 2017-10-25
15245 Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
15246 It includes several bugfixes, including a bugfix for a crash issue
15247 that had affected relays under memory pressure. It also adds
15248 a new directory authority, Bastet.
15250 o Directory authority changes:
15251 - Add "Bastet" as a ninth directory authority to the default list.
15252 Closes ticket 23910.
15253 - The directory authority "Longclaw" has changed its IP address.
15254 Closes ticket 23592.
15256 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15257 - Fix a timing-based assertion failure that could occur when the
15258 circuit out-of-memory handler freed a connection's output buffer.
15259 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15261 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15262 - Remove longclaw's IPv6 address, as it will soon change. Authority
15263 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15264 3/8 directory authorities with IPv6 addresses, but there are also
15265 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15267 o Minor features (geoip):
15268 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15271 o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
15272 - Fix a compilation warning when building with zstd support on
15273 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
15274 and fixed by Andreas Stieger.
15276 o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
15277 - Handle a pathological case when decompressing Zstandard data when
15278 the output buffer size is zero. Fixes bug 23551; bugfix
15281 o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
15282 - Remove the length limit on HTTP status lines that authorities can
15283 send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
15285 o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
15286 - Avoid a possible double close of a circuit by the intro point on
15287 error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
15288 bugfix on 0.3.0.1-alpha.
15290 o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
15291 - Clear the address when node_get_prim_orport() returns early.
15292 Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15294 o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
15295 - Fix additional channelpadding unit test failures by using mocked
15296 time instead of actual time for all tests. Fixes bug 23608; bugfix
15300 Changes in version 0.3.2.2-alpha - 2017-09-29
15301 Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
15302 release fixes several minor bugs in the new scheduler and next-
15303 generation onion services; both features were newly added in the 0.3.2
15304 series. Other fixes in this alpha include several fixes for non-fatal
15305 tracebacks which would appear in logs.
15307 With the aim to stabilise the 0.3.2 series by 15 December 2017, this
15308 alpha does not contain any substantial new features. Minor features
15309 include better testing and logging.
15311 The following comprises the complete list of changes included
15314 o Major bugfixes (relay, crash, assertion failure):
15315 - Fix a timing-based assertion failure that could occur when the
15316 circuit out-of-memory handler freed a connection's output buffer.
15317 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15319 o Major bugfixes (scheduler):
15320 - If a channel is put into the scheduler's pending list, then it
15321 starts closing, and then if the scheduler runs before it finishes
15322 closing, the scheduler will get stuck trying to flush its cells
15323 while the lower layers refuse to cooperate. Fix that race
15324 condition by giving the scheduler an escape method. Fixes bug
15325 23676; bugfix on 0.3.2.1-alpha.
15327 o Minor features (build, compilation):
15328 - The "check-changes" feature is now part of the "make check" tests;
15329 we'll use it to try to prevent misformed changes files from
15330 accumulating. Closes ticket 23564.
15331 - Tor builds should now fail if there are any mismatches between the
15332 C type representing a configuration variable and the C type the
15333 data-driven parser uses to store a value there. Previously, we
15334 needed to check these by hand, which sometimes led to mistakes.
15335 Closes ticket 23643.
15337 o Minor features (directory authorities):
15338 - Remove longclaw's IPv6 address, as it will soon change. Authority
15339 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15340 3/8 directory authorities with IPv6 addresses, but there are also
15341 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15343 o Minor features (hidden service, circuit, logging):
15344 - Improve logging of many callsite in the circuit subsystem to print
15345 the circuit identifier(s).
15346 - Log when we cleanup an intro point from a service so we know when
15347 and for what reason it happened. Closes ticket 23604.
15349 o Minor features (logging):
15350 - Log more circuit information whenever we are about to try to
15351 package a relay cell on a circuit with a nonexistent n_chan.
15352 Attempt to diagnose ticket 8185.
15353 - Improve info-level log identification of particular circuits, to
15354 help with debugging. Closes ticket 23645.
15356 o Minor features (relay):
15357 - When choosing which circuits can be expired as unused, consider
15358 circuits from clients even if those clients used regular CREATE
15359 cells to make them; and do not consider circuits from relays even
15360 if they were made with CREATE_FAST. Part of ticket 22805.
15362 o Minor features (robustness):
15363 - Change several fatal assertions when flushing buffers into non-
15364 fatal assertions, to prevent any recurrence of 23690.
15366 o Minor features (spec conformance, bridge, diagnostic):
15367 - When handling the USERADDR command on an ExtOrPort, warn when the
15368 transports provides a USERADDR with no port. In a future version,
15369 USERADDR commands of this format may be rejected. Detects problems
15370 related to ticket 23080.
15372 o Minor features (testing):
15373 - Add a unit test to make sure that our own generated platform
15374 string will be accepted by directory authorities. Closes
15377 o Minor bugfixes (bootstrapping):
15378 - When warning about state file clock skew, report the correct
15379 direction for the detected skew. Fixes bug 23606; bugfix
15381 - Avoid an assertion failure when logging a state file clock skew
15382 very early in bootstrapping. Fixes bug 23607; bugfix
15385 o Minor bugfixes (build, compilation):
15386 - Fix a compilation warning when building with zstd support on
15387 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
15388 and fixed by Andreas Stieger.
15389 - When searching for OpenSSL, don't accept any OpenSSL library that
15390 lacks TLSv1_1_method(): Tor doesn't build with those versions.
15391 Additionally, look in /usr/local/opt/openssl, if it's present.
15392 These changes together repair the default build on OSX systems
15393 with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
15395 o Minor bugfixes (compression):
15396 - Handle a pathological case when decompressing Zstandard data when
15397 the output buffer size is zero. Fixes bug 23551; bugfix
15400 o Minor bugfixes (documentation):
15401 - Fix manpage to not refer to the obsolete (and misspelled)
15402 UseEntryGuardsAsDirectoryGuards parameter in the description of
15403 NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
15405 o Minor bugfixes (hidden service v3):
15406 - Don't log an assertion failure when we can't find the right
15407 information to extend to an introduction point. In rare cases,
15408 this could happen, causing a warning, even though tor would
15409 recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
15410 - Pad RENDEZVOUS cell up to the size of the legacy cell which is
15411 much bigger so the rendezvous point can't distinguish which hidden
15412 service protocol is being used. Fixes bug 23420; bugfix
15415 o Minor bugfixes (hidden service, relay):
15416 - Avoid a possible double close of a circuit by the intro point on
15417 error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
15418 bugfix on 0.3.0.1-alpha.
15420 o Minor bugfixes (logging, relay shutdown, annoyance):
15421 - When a circuit is marked for close, do not attempt to package any
15422 cells for channels on that circuit. Previously, we would detect
15423 this condition lower in the call stack, when we noticed that the
15424 circuit had no attached channel, and log an annoying message.
15425 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
15427 o Minor bugfixes (scheduler):
15428 - When switching schedulers due to a consensus change, we didn't
15429 give the new scheduler a chance to react to the consensus. Fix
15430 that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
15431 - Make the KISTSchedRunInterval option a non negative value. With
15432 this, the way to disable KIST through the consensus is to set it
15433 to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
15434 - Only notice log the selected scheduler when we switch scheduler
15435 types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
15436 - Avoid a compilation warning on macOS in scheduler_ev_add() caused
15437 by a different tv_usec data type. Fixes bug 23575; bugfix
15439 - Make a hard exit if tor is unable to pick a scheduler which can
15440 happen if the user specifies a scheduler type that is not
15441 supported and not other types in Schedulers. Fixes bug 23581;
15442 bugfix on 0.3.2.1-alpha.
15443 - Properly initialize the scheduler last run time counter so it is
15444 not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
15446 o Minor bugfixes (testing):
15447 - Capture and detect several "Result does not fit" warnings in unit
15448 tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
15450 - Fix additional channelpadding unit test failures by using mocked
15451 time instead of actual time for all tests. Fixes bug 23608; bugfix
15453 - The removal of some old scheduler options caused some tests to
15454 fail on BSD systems. Assume current behavior is correct and make
15455 the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
15457 o Code simplification and refactoring:
15458 - Remove various ways of testing circuits and connections for
15459 "clientness"; instead, favor channel_is_client(). Part of
15462 o Deprecated features:
15463 - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
15464 now deprecated; they do not apply to relays, and they have had no
15465 effect on clients since 0.2.8.x. Closes ticket 19704.
15468 - HiddenServiceVersion man page entry wasn't mentioning the now
15469 supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
15470 - Clarify that the Address option is entirely about setting an
15471 advertised IPv4 address. Closes ticket 18891.
15472 - Clarify the manpage's use of the term "address" to clarify what
15473 kind of address is intended. Closes ticket 21405.
15474 - Document that onion service subdomains are allowed, and ignored.
15475 Closes ticket 18736.
15478 Changes in version 0.3.2.1-alpha - 2017-09-18
15479 Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
15480 includes support for our next-generation ("v3") onion service
15481 protocol, and adds a new circuit scheduler for more responsive
15482 forwarding decisions from relays. There are also numerous other small
15483 features and bugfixes here.
15485 Below are the changes since Tor 0.3.1.7.
15487 o Major feature (scheduler, channel):
15488 - Tor now uses new schedulers to decide which circuits should
15489 deliver cells first, in order to improve congestion at relays. The
15490 first type is called "KIST" ("Kernel Informed Socket Transport"),
15491 and is only available on Linux-like systems: it uses feedback from
15492 the kernel to prevent the kernel's TCP buffers from growing too
15493 full. The second new scheduler type is called "KISTLite": it
15494 behaves the same as KIST, but runs on systems without kernel
15495 support for inspecting TCP implementation details. The old
15496 scheduler is still available, under the name "Vanilla". To change
15497 the default scheduler preference order, use the new "Schedulers"
15498 option. (The default preference order is "KIST,KISTLite,Vanilla".)
15500 Matt Traudt implemented KIST, based on research by Rob Jansen,
15501 John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
15502 more information, see the design paper at
15503 http://www.robgjansen.com/publications/kist-sec2014.pdf and the
15504 followup implementation paper at https://arxiv.org/abs/1709.01044.
15505 Closes ticket 12541.
15507 o Major features (next-generation onion services):
15508 - Tor now supports the next-generation onion services protocol for
15509 clients and services! As part of this release, the core of
15510 proposal 224 has been implemented and is available for
15511 experimentation and testing by our users. This newer version of
15512 onion services ("v3") features many improvements over the legacy
15515 a) Better crypto (replaced SHA1/DH/RSA1024
15516 with SHA3/ed25519/curve25519)
15518 b) Improved directory protocol, leaking much less information to
15521 c) Improved directory protocol, with smaller surface for
15524 d) Better onion address security against impersonation.
15526 e) More extensible introduction/rendezvous protocol.
15528 f) A cleaner and more modular codebase.
15530 You can identify a next-generation onion address by its length:
15531 they are 56 characters long, as in
15532 "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
15534 In the future, we will release more options and features for v3
15535 onion services, but we first need a testing period, so that the
15536 current codebase matures and becomes more robust. Planned features
15537 include: offline keys, advanced client authorization, improved
15538 guard algorithms, and statistics. For full details, see
15541 Legacy ("v2") onion services will still work for the foreseeable
15542 future, and will remain the default until this new codebase gets
15543 tested and hardened. Service operators who want to experiment with
15544 the new system can use the 'HiddenServiceVersion 3' torrc
15545 directive along with the regular onion service configuration
15546 options. We will publish a blog post about this new feature
15549 o Major bugfixes (usability, control port):
15550 - Report trusted clock skew indications as bootstrap errors, so
15551 controllers can more easily alert users when their clocks are
15552 wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
15554 o Minor features (bug detection):
15555 - Log a warning message with a stack trace for any attempt to call
15556 get_options() during option validation. This pattern has caused
15557 subtle bugs in the past. Closes ticket 22281.
15559 o Minor features (client):
15560 - You can now use Tor as a tunneled HTTP proxy: use the new
15561 HTTPTunnelPort option to open a port that accepts HTTP CONNECT
15562 requests. Closes ticket 22407.
15563 - Add an extra check to make sure that we always use the newer guard
15564 selection code for picking our guards. Closes ticket 22779.
15565 - When downloading (micro)descriptors, don't split the list into
15566 multiple requests unless we want at least 32 descriptors.
15567 Previously, we split at 4, not 32, which led to significant
15568 overhead in HTTP request size and degradation in compression
15569 performance. Closes ticket 23220.
15571 o Minor features (command line):
15572 - Add a new commandline option, --key-expiration, which prints when
15573 the current signing key is going to expire. Implements ticket
15574 17639; patch by Isis Lovecruft.
15576 o Minor features (control port):
15577 - If an application tries to use the control port as an HTTP proxy,
15578 respond with a meaningful "This is the Tor control port" message,
15579 and log the event. Closes ticket 1667. Patch from Ravi
15581 - Provide better error message for GETINFO desc/(id|name) when not
15582 fetching router descriptors. Closes ticket 5847. Patch by
15584 - Add GETINFO "{desc,md}/download-enabled", to inform the controller
15585 whether Tor will try to download router descriptors and
15586 microdescriptors respectively. Closes ticket 22684.
15587 - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
15588 so controllers can tell whether the geoip databases are loaded.
15589 Closes ticket 23237.
15590 - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
15591 events. Closes ticket 19254. Patch by "DonnchaC".
15593 o Minor features (development support):
15594 - Developers can now generate a call-graph for Tor using the
15595 "calltool" python program, which post-processes object dumps. It
15596 should work okay on many Linux and OSX platforms, and might work
15597 elsewhere too. To run it, install calltool from
15598 https://gitweb.torproject.org/user/nickm/calltool.git and run
15599 "make callgraph". Closes ticket 19307.
15601 o Minor features (ed25519):
15602 - Add validation function to checks for torsion components in
15603 ed25519 public keys, used by prop224 client-side code. Closes
15604 ticket 22006. Math help by Ian Goldberg.
15606 o Minor features (exit relay, DNS):
15607 - Improve the clarity and safety of the log message from evdns when
15608 receiving an apparently spoofed DNS reply. Closes ticket 3056.
15610 o Minor features (integration, hardening):
15611 - Add a new NoExec option to prevent Tor from running other
15612 programs. When this option is set to 1, Tor will never try to run
15613 another program, regardless of the settings of
15614 PortForwardingHelper, ClientTransportPlugin, or
15615 ServerTransportPlugin. Once NoExec is set, it cannot be disabled
15616 without restarting Tor. Closes ticket 22976.
15618 o Minor features (logging):
15619 - Improve the warning message for specifying a relay by nickname.
15620 The previous message implied that nickname registration was still
15621 part of the Tor network design, which it isn't. Closes
15623 - If the sandbox filter fails to load, suggest to the user that
15624 their kernel might not support seccomp2. Closes ticket 23090.
15626 o Minor features (portability):
15627 - Check at configure time whether uint8_t is the same type as
15628 unsigned char. Lots of existing code already makes this
15629 assumption, and there could be strict aliasing issues if the
15630 assumption is violated. Closes ticket 22410.
15632 o Minor features (relay, configuration):
15633 - Reject attempts to use relative file paths when RunAsDaemon is
15634 set. Previously, Tor would accept these, but the directory-
15635 changing step of RunAsDaemon would give strange and/or confusing
15636 results. Closes ticket 22731.
15638 o Minor features (startup, safety):
15639 - When configured to write a PID file, Tor now exits if it is unable
15640 to do so. Previously, it would warn and continue. Closes
15643 o Minor features (static analysis):
15644 - The BUG() macro has been changed slightly so that Coverity no
15645 longer complains about dead code if the bug is impossible. Closes
15648 o Minor features (testing):
15649 - The default chutney network tests now include tests for the v3
15650 hidden service design. Make sure you have the latest version of
15651 chutney if you want to run these. Closes ticket 22437.
15652 - Add a unit test to verify that we can parse a hardcoded v2 hidden
15653 service descriptor. Closes ticket 15554.
15655 o Minor bugfixes (certificate handling):
15656 - Fix a time handling bug in Tor certificates set to expire after
15657 the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
15658 Coverity as CID 1415728.
15660 o Minor bugfixes (client, usability):
15661 - Refrain from needlessly rejecting SOCKS5-with-hostnames and
15662 SOCKS4a requests that contain IP address strings, even when
15663 SafeSocks in enabled, as this prevents user from connecting to
15664 known IP addresses without relying on DNS for resolving. SafeSocks
15665 still rejects SOCKS connections that connect to IP addresses when
15666 those addresses are _not_ encoded as hostnames. Fixes bug 22461;
15667 bugfix on Tor 0.2.6.2-alpha.
15669 o Minor bugfixes (code correctness):
15670 - Call htons() in extend_cell_format() for encoding a 16-bit value.
15671 Previously we used ntohs(), which happens to behave the same on
15672 all the platforms we support, but which isn't really correct.
15673 Fixes bug 23106; bugfix on 0.2.4.8-alpha.
15674 - For defense-in-depth, make the controller's write_escaped_data()
15675 function robust to extremely long inputs. Fixes bug 19281; bugfix
15676 on 0.1.1.1-alpha. Reported by Guido Vranken.
15678 o Minor bugfixes (compilation):
15679 - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
15680 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
15682 o Minor bugfixes (consensus expiry):
15683 - Check for adequate directory information correctly. Previously, Tor
15684 would reconsider whether it had sufficient directory information
15685 every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
15687 o Minor bugfixes (directory protocol):
15688 - Directory servers now include a "Date:" http header for response
15689 codes other than 200. Clients starting with a skewed clock and a
15690 recent consensus were getting "304 Not modified" responses from
15691 directory authorities, so without the Date header, the client
15692 would never hear about a wrong clock. Fixes bug 23499; bugfix
15694 - Make clients wait for 6 seconds before trying to download a
15695 consensus from an authority. Fixes bug 17750; bugfix
15698 o Minor bugfixes (DoS-resistance):
15699 - If future code asks if there are any running bridges, without
15700 checking if bridges are enabled, log a BUG warning rather than
15701 crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
15703 o Minor bugfixes (format strictness):
15704 - Restrict several data formats to decimal. Previously, the
15705 BuildTimeHistogram entries in the state file, the "bw=" entries in
15706 the bandwidth authority file, and the process IDs passed to the
15707 __OwningControllerProcess option could all be specified in hex or
15708 octal as well as in decimal. This was not an intentional feature.
15709 Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
15712 o Minor bugfixes (heartbeat):
15713 - If we fail to write a heartbeat message, schedule a retry for the
15714 minimum heartbeat interval number of seconds in the future. Fixes
15715 bug 19476; bugfix on 0.2.3.1-alpha.
15717 o Minor bugfixes (linux seccomp2 sandbox, logging):
15718 - Fix some messages on unexpected errors from the seccomp2 library.
15719 Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
15721 o Minor bugfixes (logging):
15722 - Remove duplicate log messages regarding opening non-local
15723 SocksPorts upon parsing config and opening listeners at startup.
15724 Fixes bug 4019; bugfix on 0.2.3.3-alpha.
15725 - Use a more comprehensible log message when telling the user
15726 they've excluded every running exit node. Fixes bug 7890; bugfix
15728 - When logging the number of descriptors we intend to download per
15729 directory request, do not log a number higher than then the number
15730 of descriptors we're fetching in total. Fixes bug 19648; bugfix
15732 - When warning about a directory owned by the wrong user, log the
15733 actual name of the user owning the directory. Previously, we'd log
15734 the name of the process owner twice. Fixes bug 23487; bugfix
15736 - The tor specification says hop counts are 1-based, so fix two log
15737 messages that mistakenly logged 0-based hop counts. Fixes bug
15738 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
15739 Credit to Xiaofan Li for reporting this issue.
15741 o Minor bugfixes (portability):
15742 - Stop using the PATH_MAX variable, which is not defined on GNU
15743 Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
15745 o Minor bugfixes (relay):
15746 - When uploading our descriptor for the first time after startup,
15747 report the reason for uploading as "Tor just started" rather than
15748 leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
15749 - Avoid unnecessary calls to directory_fetches_from_authorities() on
15750 relays, to prevent spurious address resolutions and descriptor
15751 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
15752 bugfix on in 0.2.8.1-alpha.
15754 o Minor bugfixes (tests):
15755 - Fix a broken unit test for the OutboundAddress option: the parsing
15756 function was never returning an error on failure. Fixes bug 23366;
15757 bugfix on 0.3.0.3-alpha.
15758 - Fix a signed-integer overflow in the unit tests for
15759 dir/download_status_random_backoff, which was untriggered until we
15760 fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
15762 o Minor bugfixes (usability, control port):
15763 - Stop making an unnecessary routerlist check in NETINFO clock skew
15764 detection; this was preventing clients from reporting NETINFO clock
15765 skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
15767 o Code simplification and refactoring:
15768 - Extract the code for handling newly-open channels into a separate
15769 function from the general code to handle channel state
15770 transitions. This change simplifies our callgraph, reducing the
15771 size of the largest strongly connected component by roughly a
15772 factor of two. Closes ticket 22608.
15773 - Remove dead code for largely unused statistics on the number of
15774 times we've attempted various public key operations. Fixes bug
15775 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
15776 - Remove several now-obsolete functions for asking about old
15777 variants directory authority status. Closes ticket 22311; patch
15779 - Remove some of the code that once supported "Named" and "Unnamed"
15780 routers. Authorities no longer vote for these flags. Closes
15782 - Rename the obsolete malleable hybrid_encrypt functions used in TAP
15783 and old hidden services, to indicate that they aren't suitable for
15784 new protocols or formats. Closes ticket 23026.
15785 - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
15786 22521. Patch from Neel Chauhan.
15787 - Split the enormous circuit_send_next_onion_skin() function into
15788 multiple subfunctions. Closes ticket 22804.
15789 - Split the portions of the buffer.c module that handle particular
15790 protocols into separate modules. Part of ticket 23149.
15791 - Use our test macros more consistently, to produce more useful
15792 error messages when our unit tests fail. Add coccinelle patches to
15793 allow us to re-check for test macro uses. Closes ticket 22497.
15795 o Deprecated features:
15796 - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
15797 only applies to direct unencrypted HTTP connections to your
15798 directory server, which your Tor probably isn't using. Closes
15802 - Clarify in the manual that "Sandbox 1" is only supported on Linux
15803 kernels. Closes ticket 22677.
15804 - Document all values of PublishServerDescriptor in the manpage.
15805 Closes ticket 15645.
15806 - Improve the documentation for the directory port part of the
15807 DirAuthority line. Closes ticket 20152.
15808 - Restore documentation for the authorities' "approved-routers"
15809 file. Closes ticket 21148.
15811 o Removed features:
15812 - The AllowDotExit option has been removed as unsafe. It has been
15813 deprecated since 0.2.9.2-alpha. Closes ticket 23426.
15814 - The ClientDNSRejectInternalAddresses flag can no longer be set on
15815 non-testing networks. It has been deprecated since 0.2.9.2-alpha.
15816 Closes ticket 21031.
15817 - The controller API no longer includes an AUTHDIR_NEWDESCS event:
15818 nobody was using it any longer. Closes ticket 22377.
15821 Changes in version 0.2.8.15 - 2017-09-18
15822 Tor 0.2.8.15 backports a collection of bugfixes from later
15825 Most significantly, it includes a fix for TROVE-2017-008, a
15826 security bug that affects hidden services running with the
15827 SafeLogging option disabled. For more information, see
15828 https://trac.torproject.org/projects/tor/ticket/23490
15830 Note that Tor 0.2.8.x will no longer be supported after 1 Jan
15831 2018. We suggest that you upgrade to the latest stable release if
15832 possible. If you can't, we recommend that you upgrade at least to
15833 0.2.9, which will be supported until 2020.
15835 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
15836 - Avoid an assertion failure bug affecting our implementation of
15837 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
15838 handling of "0xx" differs from what we had expected. Fixes bug
15839 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
15842 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
15845 o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
15846 - Backport a fix for an "unused variable" warning that appeared
15847 in some versions of mingw. Fixes bug 22838; bugfix on
15850 o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
15851 - Fix a memset() off the end of an array when packing cells. This
15852 bug should be harmless in practice, since the corrupted bytes are
15853 still in the same structure, and are always padding bytes,
15854 ignored, or immediately overwritten, depending on compiler
15855 behavior. Nevertheless, because the memset()'s purpose is to make
15856 sure that any other cell-handling bugs can't expose bytes to the
15857 network, we need to fix it. Fixes bug 22737; bugfix on
15858 0.2.4.11-alpha. Fixes CID 1401591.
15860 o Build features (backport from 0.3.1.5-alpha):
15861 - Tor's repository now includes a Travis Continuous Integration (CI)
15862 configuration file (.travis.yml). This is meant to help new
15863 developers and contributors who fork Tor to a Github repository be
15864 better able to test their changes, and understand what we expect
15865 to pass. To use this new build feature, you must fork Tor to your
15866 Github account, then go into the "Integrations" menu in the
15867 repository settings for your fork and enable Travis, then push
15868 your changes. Closes ticket 22636.
15871 Changes in version 0.2.9.12 - 2017-09-18
15872 Tor 0.2.9.12 backports a collection of bugfixes from later
15875 Most significantly, it includes a fix for TROVE-2017-008, a
15876 security bug that affects hidden services running with the
15877 SafeLogging option disabled. For more information, see
15878 https://trac.torproject.org/projects/tor/ticket/23490
15880 o Major features (security, backport from 0.3.0.2-alpha):
15881 - Change the algorithm used to decide DNS TTLs on client and server
15882 side, to better resist DNS-based correlation attacks like the
15883 DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
15884 Feamster. Now relays only return one of two possible DNS TTL
15885 values, and clients are willing to believe DNS TTL values up to 3
15886 hours long. Closes ticket 19769.
15888 o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
15889 - Fix a rare crash when sending a begin cell on a circuit whose
15890 linked directory connection had already been closed. Fixes bug
15891 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
15893 o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
15894 - Fix a bug that prevented exit nodes from caching DNS records for
15895 more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
15897 o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
15898 - Fix a typo that had prevented TPROXY-based transparent proxying
15899 from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
15900 Patch from "d4fq0fQAgoJ".
15902 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
15903 - Avoid an assertion failure bug affecting our implementation of
15904 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
15905 handling of "0xx" differs from what we had expected. Fixes bug
15906 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
15908 o Minor features (code style, backport from 0.3.1.3-alpha):
15909 - Add "Falls through" comments to our codebase, in order to silence
15910 GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
15911 Stieger. Closes ticket 22446.
15913 o Minor features (geoip):
15914 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
15917 o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
15918 - Roll over monthly accounting at the configured hour and minute,
15919 rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
15920 Found by Andrey Karpov with PVS-Studio.
15922 o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
15923 - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
15924 bugfix on 0.2.8.1-alpha.
15925 - Fix warnings when building with libscrypt and openssl scrypt support
15926 on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
15927 - When building with certain versions the mingw C header files, avoid
15928 float-conversion warnings when calling the C functions isfinite(),
15929 isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
15931 o Minor bugfixes (compilation, backport from 0.3.1.7):
15932 - Avoid compiler warnings in the unit tests for running tor_sscanf()
15933 with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
15935 o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
15936 - Backport a fix for an "unused variable" warning that appeared
15937 in some versions of mingw. Fixes bug 22838; bugfix on
15940 o Minor bugfixes (controller, backport from 0.3.1.7):
15941 - Do not crash when receiving a HSPOST command with an empty body.
15942 Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
15943 - Do not crash when receiving a POSTDESCRIPTOR command with an
15944 empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
15946 o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
15947 - Avoid Coverity build warnings related to our BUG() macro. By
15948 default, Coverity treats BUG() as the Linux kernel does: an
15949 instant abort(). We need to override that so our BUG() macro
15950 doesn't prevent Coverity from analyzing functions that use it.
15951 Fixes bug 23030; bugfix on 0.2.9.1-alpha.
15953 o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
15954 - Fix a memset() off the end of an array when packing cells. This
15955 bug should be harmless in practice, since the corrupted bytes are
15956 still in the same structure, and are always padding bytes,
15957 ignored, or immediately overwritten, depending on compiler
15958 behavior. Nevertheless, because the memset()'s purpose is to make
15959 sure that any other cell-handling bugs can't expose bytes to the
15960 network, we need to fix it. Fixes bug 22737; bugfix on
15961 0.2.4.11-alpha. Fixes CID 1401591.
15963 o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
15964 - When setting the maximum number of connections allowed by the OS,
15965 always allow some extra file descriptors for other files. Fixes
15966 bug 22797; bugfix on 0.2.0.10-alpha.
15968 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
15969 - Avoid a sandbox failure when trying to re-bind to a socket and
15970 mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
15972 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
15973 - Permit the fchmod system call, to avoid crashing on startup when
15974 starting with the seccomp2 sandbox and an unexpected set of
15975 permissions on the data directory or its contents. Fixes bug
15976 22516; bugfix on 0.2.5.4-alpha.
15978 o Minor bugfixes (relay, backport from 0.3.0.5-rc):
15979 - Avoid a double-marked-circuit warning that could happen when we
15980 receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
15983 o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
15984 - Reject version numbers with non-numeric prefixes (such as +, -, or
15985 whitespace). Disallowing whitespace prevents differential version
15986 parsing between POSIX-based and Windows platforms. Fixes bug 21507
15987 and part of 21508; bugfix on 0.0.8pre1.
15989 o Build features (backport from 0.3.1.5-alpha):
15990 - Tor's repository now includes a Travis Continuous Integration (CI)
15991 configuration file (.travis.yml). This is meant to help new
15992 developers and contributors who fork Tor to a Github repository be
15993 better able to test their changes, and understand what we expect
15994 to pass. To use this new build feature, you must fork Tor to your
15995 Github account, then go into the "Integrations" menu in the
15996 repository settings for your fork and enable Travis, then push
15997 your changes. Closes ticket 22636.
16000 Changes in version 0.3.0.11 - 2017-09-18
16001 Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
16004 Most significantly, it includes a fix for TROVE-2017-008, a
16005 security bug that affects hidden services running with the
16006 SafeLogging option disabled. For more information, see
16007 https://trac.torproject.org/projects/tor/ticket/23490
16009 o Minor features (code style, backport from 0.3.1.7):
16010 - Add "Falls through" comments to our codebase, in order to silence
16011 GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
16012 Stieger. Closes ticket 22446.
16015 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
16018 o Minor bugfixes (compilation, backport from 0.3.1.7):
16019 - Avoid compiler warnings in the unit tests for calling tor_sscanf()
16020 with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
16022 o Minor bugfixes (controller, backport from 0.3.1.7):
16023 - Do not crash when receiving a HSPOST command with an empty body.
16024 Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
16025 - Do not crash when receiving a POSTDESCRIPTOR command with an empty
16026 body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
16028 o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
16029 - When setting the maximum number of connections allowed by the OS,
16030 always allow some extra file descriptors for other files. Fixes
16031 bug 22797; bugfix on 0.2.0.10-alpha.
16033 o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
16034 - Remove a forgotten debugging message when an introduction point
16035 successfully establishes a hidden service prop224 circuit with
16037 - Change three other log_warn() for an introduction point to
16038 protocol warnings, because they can be failure from the network
16039 and are not relevant to the operator. Fixes bug 23078; bugfix on
16040 0.3.0.1-alpha and 0.3.0.2-alpha.
16043 Changes in version 0.3.1.7 - 2017-09-18
16044 Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
16046 With the 0.3.1 series, Tor now serves and downloads directory
16047 information in more compact formats, to save on bandwidth overhead. It
16048 also contains a new padding system to resist netflow-based traffic
16049 analysis, and experimental support for building parts of Tor in Rust
16050 (though no parts of Tor are in Rust yet). There are also numerous
16051 small features, bugfixes on earlier release series, and groundwork for
16052 the hidden services revamp of 0.3.2.
16054 This release also includes a fix for TROVE-2017-008, a security bug
16055 that affects hidden services running with the SafeLogging option
16056 disabled. For more information, see
16057 https://trac.torproject.org/projects/tor/ticket/23490
16059 Per our stable release policy, we plan to support each stable release
16060 series for at least the next nine months, or for three months after
16061 the first stable release of the next series: whichever is longer. If
16062 you need a release with long-term support, we recommend that you stay
16063 with the 0.2.9 series.
16065 Below is a list of the changes since 0.3.1.6-rc. For a list of all
16066 changes since 0.3.0, see the ReleaseNotes file.
16068 o Major bugfixes (security, hidden services, loggging):
16069 - Fix a bug where we could log uninitialized stack when a certain
16070 hidden service error occurred while SafeLogging was disabled.
16071 Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
16072 TROVE-2017-008 and CVE-2017-0380.
16074 o Minor features (defensive programming):
16075 - Create a pair of consensus parameters, nf_pad_tor2web and
16076 nf_pad_single_onion, to disable netflow padding in the consensus
16077 for non-anonymous connections in case the overhead is high. Closes
16080 o Minor features (diagnostic):
16081 - Add a stack trace to the bug warnings that can be logged when
16082 trying to send an outgoing relay cell with n_chan == 0. Diagnostic
16083 attempt for bug 23105.
16085 o Minor features (geoip):
16086 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
16089 o Minor bugfixes (compilation):
16090 - Avoid compiler warnings in the unit tests for calling tor_sscanf()
16091 with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
16093 o Minor bugfixes (controller):
16094 - Do not crash when receiving a HSPOST command with an empty body.
16095 Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
16096 - Do not crash when receiving a POSTDESCRIPTOR command with an empty
16097 body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
16099 o Minor bugfixes (relay):
16100 - Inform the geoip and rephist modules about all requests, even on
16101 relays that are only fetching microdescriptors. Fixes a bug
16102 related to 21585; bugfix on 0.3.0.1-alpha.
16104 o Minor bugfixes (unit tests):
16105 - Fix a channelpadding unit test failure on slow systems by using
16106 mocked time instead of actual time. Fixes bug 23077; bugfix
16110 Changes in version 0.3.1.6-rc - 2017-09-05
16111 Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
16112 release series, including a bug that produced weird behavior on
16113 Windows directory caches.
16115 This is the first release candidate in the Tor 0.3.1 series. If we
16116 find no new bugs or regressions here, the first stable 0.3.1 release
16117 will be nearly identical to it.
16119 o Major bugfixes (windows, directory cache):
16120 - On Windows, do not try to delete cached consensus documents and
16121 diffs before they are unmapped from memory--Windows won't allow
16122 that. Instead, allow the consensus cache directory to grow larger,
16123 to hold files that might need to stay around longer. Fixes bug
16124 22752; bugfix on 0.3.1.1-alpha.
16126 o Minor features (directory authority):
16127 - Improve the message that authorities report to relays that present
16128 RSA/Ed25519 keypairs that conflict with previously pinned keys.
16129 Closes ticket 22348.
16131 o Minor features (geoip):
16132 - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
16135 o Minor features (testing):
16136 - Add more tests for compression backend initialization. Closes
16139 o Minor bugfixes (directory cache):
16140 - Fix a memory leak when recovering space in the consensus cache.
16141 Fixes bug 23139; bugfix on 0.3.1.1-alpha.
16143 o Minor bugfixes (hidden service):
16144 - Increase the number of circuits that a service is allowed to
16145 open over a specific period of time. The value was lower than it
16146 should be (8 vs 12) in the normal case of 3 introduction points.
16147 Fixes bug 22159; bugfix on 0.3.0.5-rc.
16148 - Fix a BUG warning during HSv3 descriptor decoding that could be
16149 cause by a specially crafted descriptor. Fixes bug 23233; bugfix
16150 on 0.3.0.1-alpha. Bug found by "haxxpop".
16151 - Rate-limit the log messages if we exceed the maximum number of
16152 allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
16154 o Minor bugfixes (logging, relay):
16155 - Remove a forgotten debugging message when an introduction point
16156 successfully establishes a hidden service prop224 circuit with
16158 - Change three other log_warn() for an introduction point to
16159 protocol warnings, because they can be failure from the network
16160 and are not relevant to the operator. Fixes bug 23078; bugfix on
16161 0.3.0.1-alpha and 0.3.0.2-alpha.
16163 o Minor bugfixes (relay):
16164 - When a relay is not running as a directory cache, it will no
16165 longer generate compressed consensuses and consensus diff
16166 information. Previously, this was a waste of disk and CPU. Fixes
16167 bug 23275; bugfix on 0.3.1.1-alpha.
16169 o Minor bugfixes (robustness, error handling):
16170 - Improve our handling of the cases where OpenSSL encounters a
16171 memory error while encoding keys and certificates. We haven't
16172 observed these errors in the wild, but if they do happen, we now
16173 detect and respond better. Fixes bug 19418; bugfix on all versions
16174 of Tor. Reported by Guido Vranken.
16176 o Minor bugfixes (stability):
16177 - Avoid crashing on a double-free when unable to load or process an
16178 included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
16179 with the clang static analyzer.
16181 o Minor bugfixes (testing):
16182 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
16183 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
16184 - Port the hs_ntor handshake test to work correctly with recent
16185 versions of the pysha3 module. Fixes bug 23071; bugfix
16188 o Minor bugfixes (Windows service):
16189 - When running as a Windows service, set the ID of the main thread
16190 correctly. Failure to do so made us fail to send log messages to
16191 the controller in 0.2.1.16-rc, slowed down controller event
16192 delivery in 0.2.7.3-rc and later, and crash with an assertion
16193 failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
16194 Patch and diagnosis from "Vort".
16197 Changes in version 0.3.0.10 - 2017-08-02
16198 Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
16199 from the current Tor alpha series. OpenBSD users and TPROXY users
16200 should upgrade; others are probably okay sticking with 0.3.0.9.
16202 o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
16203 - Tor's repository now includes a Travis Continuous Integration (CI)
16204 configuration file (.travis.yml). This is meant to help new
16205 developers and contributors who fork Tor to a Github repository be
16206 better able to test their changes, and understand what we expect
16207 to pass. To use this new build feature, you must fork Tor to your
16208 Github account, then go into the "Integrations" menu in the
16209 repository settings for your fork and enable Travis, then push
16210 your changes. Closes ticket 22636.
16212 o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
16213 - Fix a typo that had prevented TPROXY-based transparent proxying
16214 from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
16215 Patch from "d4fq0fQAgoJ".
16217 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
16218 - Avoid an assertion failure bug affecting our implementation of
16219 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
16220 handling of "0xbar" differs from what we had expected. Fixes bug
16221 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
16223 o Minor features (backport from 0.3.1.5-alpha):
16224 - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
16227 o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
16228 - Roll over monthly accounting at the configured hour and minute,
16229 rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
16230 Found by Andrey Karpov with PVS-Studio.
16232 o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
16233 - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
16234 bugfix on 0.2.8.1-alpha.
16235 - Fix warnings when building with libscrypt and openssl scrypt
16236 support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
16237 - When building with certain versions of the mingw C header files,
16238 avoid float-conversion warnings when calling the C functions
16239 isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
16242 o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
16243 - Backport a fix for an "unused variable" warning that appeared
16244 in some versions of mingw. Fixes bug 22838; bugfix on
16247 o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
16248 - Avoid Coverity build warnings related to our BUG() macro. By
16249 default, Coverity treats BUG() as the Linux kernel does: an
16250 instant abort(). We need to override that so our BUG() macro
16251 doesn't prevent Coverity from analyzing functions that use it.
16252 Fixes bug 23030; bugfix on 0.2.9.1-alpha.
16254 o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
16255 - When rejecting a router descriptor for running an obsolete version
16256 of Tor without ntor support, warn about the obsolete tor version,
16257 not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
16259 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
16260 - Avoid a sandbox failure when trying to re-bind to a socket and
16261 mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
16263 o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
16264 - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
16265 Fixes bug 22803; bugfix on 0.3.0.1-alpha.
16268 Changes in version 0.3.1.5-alpha - 2017-08-01
16269 Tor 0.3.1.5-alpha improves the performance of consensus diff
16270 calculation, fixes a crash bug on older versions of OpenBSD, and fixes
16271 several other bugs. If no serious bugs are found in this version, the
16272 next version will be a release candidate.
16274 This release also marks the end of support for the Tor 0.2.4.x,
16275 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
16276 further bug or security fixes. Anyone still running or distributing
16277 one of those versions should upgrade.
16279 o Major features (build system, continuous integration):
16280 - Tor's repository now includes a Travis Continuous Integration (CI)
16281 configuration file (.travis.yml). This is meant to help new
16282 developers and contributors who fork Tor to a Github repository be
16283 better able to test their changes, and understand what we expect
16284 to pass. To use this new build feature, you must fork Tor to your
16285 Github account, then go into the "Integrations" menu in the
16286 repository settings for your fork and enable Travis, then push
16287 your changes. Closes ticket 22636.
16289 o Major bugfixes (openbsd, denial-of-service):
16290 - Avoid an assertion failure bug affecting our implementation of
16291 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
16292 handling of "0xbar" differs from what we had expected. Fixes bug
16293 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
16295 o Major bugfixes (relay, performance):
16296 - Perform circuit handshake operations at a higher priority than we
16297 use for consensus diff creation and compression. This should
16298 prevent circuits from starving when a relay or bridge receives a
16299 new consensus, especially on lower-powered machines. Fixes bug
16300 22883; bugfix on 0.3.1.1-alpha.
16302 o Minor features (bridge authority):
16303 - Add "fingerprint" lines to the networkstatus-bridges file produced
16304 by bridge authorities. Closes ticket 22207.
16306 o Minor features (directory cache, consensus diff):
16307 - Add a new MaxConsensusAgeForDiffs option to allow directory cache
16308 operators with low-resource environments to adjust the number of
16309 consensuses they'll store and generate diffs from. Most cache
16310 operators should leave it unchanged. Helps to work around
16313 o Minor features (geoip):
16314 - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
16317 o Minor features (relay, performance):
16318 - Always start relays with at least two worker threads, to prevent
16319 priority inversion on slow tasks. Part of the fix for bug 22883.
16320 - Allow background work to be queued with different priorities, so
16321 that a big pile of slow low-priority jobs will not starve out
16322 higher priority jobs. This lays the groundwork for a fix for
16325 o Minor bugfixes (build system, rust):
16326 - Fix a problem where Rust toolchains were not being found when
16327 building without --enable-cargo-online-mode, due to setting the
16328 $HOME environment variable instead of $CARGO_HOME. Fixes bug
16329 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
16331 o Minor bugfixes (compatibility, zstd):
16332 - Write zstd epilogues correctly when the epilogue requires
16333 reallocation of the output buffer, even with zstd 1.3.0.
16334 (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
16335 22927; bugfix on 0.3.1.1-alpha.
16337 o Minor bugfixes (compilation warnings):
16338 - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
16339 22915; bugfix on 0.2.8.1-alpha.
16340 - Fix warnings when building with libscrypt and openssl scrypt
16341 support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
16342 - Compile correctly when both openssl 1.1.0 and libscrypt are
16343 detected. Previously this would cause an error. Fixes bug 22892;
16344 bugfix on 0.3.1.1-alpha.
16345 - When building with certain versions of the mingw C header files,
16346 avoid float-conversion warnings when calling the C functions
16347 isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
16350 o Minor bugfixes (coverity build support):
16351 - Avoid Coverity build warnings related to our BUG() macro. By
16352 default, Coverity treats BUG() as the Linux kernel does: an
16353 instant abort(). We need to override that so our BUG() macro
16354 doesn't prevent Coverity from analyzing functions that use it.
16355 Fixes bug 23030; bugfix on 0.2.9.1-alpha.
16357 o Minor bugfixes (directory authority):
16358 - When a directory authority rejects a descriptor or extrainfo with
16359 a given digest, mark that digest as undownloadable, so that we do
16360 not attempt to download it again over and over. We previously
16361 tried to avoid downloading such descriptors by other means, but we
16362 didn't notice if we accidentally downloaded one anyway. This
16363 behavior became problematic in 0.2.7.2-alpha, when authorities
16364 began pinning Ed25519 keys. Fixes bug 22349; bugfix
16367 o Minor bugfixes (error reporting, windows):
16368 - When formatting Windows error messages, use the English format to
16369 avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
16372 o Minor bugfixes (file limits, osx):
16373 - When setting the maximum number of connections allowed by the OS,
16374 always allow some extra file descriptors for other files. Fixes
16375 bug 22797; bugfix on 0.2.0.10-alpha.
16377 o Minor bugfixes (linux seccomp2 sandbox):
16378 - Avoid a sandbox failure when trying to re-bind to a socket and
16379 mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
16381 o Minor bugfixes (memory leaks):
16382 - Fix a small memory leak when validating a configuration that uses
16383 two or more AF_UNIX sockets for the same port type. Fixes bug
16384 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
16386 o Minor bugfixes (unit tests):
16387 - test_consdiff_base64cmp would fail on OS X because while OS X
16388 follows the standard of (less than zero/zero/greater than zero),
16389 it doesn't follow the convention of (-1/0/+1). Make the test
16390 comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
16391 - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
16392 Fixes bug 22803; bugfix on 0.3.0.1-alpha.
16395 Changes in version 0.3.1.4-alpha - 2017-06-29
16396 Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
16397 to use a guard that was in the same network family as a chosen exit
16398 relay. This is a security regression; all clients running earlier
16399 versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
16402 This release also fixes several other bugs introduced in 0.3.0.x
16403 and 0.3.1.x, including others that can affect bandwidth usage
16406 o New dependencies:
16407 - To build with zstd and lzma support, Tor now requires the
16408 pkg-config tool at build time. (This requirement was new in
16409 0.3.1.1-alpha, but was not noted at the time. Noting it here to
16410 close ticket 22623.)
16412 o Major bugfixes (path selection, security):
16413 - When choosing which guard to use for a circuit, avoid the exit's
16414 family along with the exit itself. Previously, the new guard
16415 selection logic avoided the exit, but did not consider its family.
16416 Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
16417 006 and CVE-2017-0377.
16419 o Major bugfixes (compression, zstd):
16420 - Correctly detect a full buffer when decompressing a large zstd-
16421 compressed input. Previously, we would sometimes treat a full
16422 buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
16424 o Major bugfixes (directory protocol):
16425 - Ensure that we send "304 Not modified" as HTTP status code when a
16426 client is attempting to fetch a consensus or consensus diff, and
16427 the best one we can send them is one they already have. Fixes bug
16428 22702; bugfix on 0.3.1.1-alpha.
16430 o Major bugfixes (entry guards):
16431 - When starting with an old consensus, do not add new entry guards
16432 unless the consensus is "reasonably live" (under 1 day old). Fixes
16433 one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
16435 o Minor features (bug mitigation, diagnostics, logging):
16436 - Avoid an assertion failure, and log a better error message, when
16437 unable to remove a file from the consensus cache on Windows.
16438 Attempts to mitigate and diagnose bug 22752.
16440 o Minor features (geoip):
16441 - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
16444 o Minor bugfixes (compression):
16445 - When compressing or decompressing a buffer, check for a failure to
16446 create a compression object. Fixes bug 22626; bugfix
16448 - When decompressing a buffer, check for extra data after the end of
16449 the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
16450 - When decompressing an object received over an anonymous directory
16451 connection, if we have already decompressed it using an acceptable
16452 compression method, do not reject it for looking like an
16453 unacceptable compression method. Fixes part of bug 22670; bugfix
16455 - When serving directory votes compressed with zlib, do not claim to
16456 have compressed them with zstd. Fixes bug 22669; bugfix
16458 - When spooling compressed data to an output buffer, don't try to
16459 spool more data when there is no more data to spool and we are not
16460 trying to flush the input. Previously, we would sometimes launch
16461 compression requests with nothing to do, which interferes with our
16462 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
16464 o Minor bugfixes (defensive programming):
16465 - Detect and break out of infinite loops in our compression code. We
16466 don't think that any such loops exist now, but it's best to be
16467 safe. Closes ticket 22672.
16468 - Fix a memset() off the end of an array when packing cells. This
16469 bug should be harmless in practice, since the corrupted bytes are
16470 still in the same structure, and are always padding bytes,
16471 ignored, or immediately overwritten, depending on compiler
16472 behavior. Nevertheless, because the memset()'s purpose is to make
16473 sure that any other cell-handling bugs can't expose bytes to the
16474 network, we need to fix it. Fixes bug 22737; bugfix on
16475 0.2.4.11-alpha. Fixes CID 1401591.
16477 o Minor bugfixes (linux seccomp2 sandbox):
16478 - Permit the fchmod system call, to avoid crashing on startup when
16479 starting with the seccomp2 sandbox and an unexpected set of
16480 permissions on the data directory or its contents. Fixes bug
16481 22516; bugfix on 0.2.5.4-alpha.
16482 - Fix a crash in the LZMA module, when the sandbox was enabled, and
16483 liblzma would allocate more than 16 MB of memory. We solve this by
16484 bumping the mprotect() limit in the sandbox module from 16 MB to
16485 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
16487 o Minor bugfixes (logging):
16488 - When decompressing, do not warn if we fail to decompress using a
16489 compression method that we merely guessed. Fixes part of bug
16490 22670; bugfix on 0.1.1.14-alpha.
16491 - When decompressing, treat mismatch between content-encoding and
16492 actual compression type as a protocol warning. Fixes part of bug
16493 22670; bugfix on 0.1.1.9-alpha.
16494 - Downgrade "assigned_to_cpuworker failed" message to info-level
16495 severity. In every case that can reach it, either a better warning
16496 has already been logged, or no warning is warranted. Fixes bug
16497 22356; bugfix on 0.2.6.3-alpha.
16498 - Demote a warn that was caused by libevent delays to info if
16499 netflow padding is less than 4.5 seconds late, or to notice
16500 if it is more (4.5 seconds is the amount of time that a netflow
16501 record might be emitted after, if we chose the maximum timeout).
16502 Fixes bug 22212; bugfix on 0.3.1.1-alpha.
16504 o Minor bugfixes (process behavior):
16505 - When exiting because of an error, always exit with a nonzero exit
16506 status. Previously, we would fail to report an error in our exit
16507 status in cases related to __OwningControllerProcess failure,
16508 lockfile contention, and Ed25519 key initialization. Fixes bug
16509 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
16510 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
16514 - Add a manpage description for the key-pinning-journal file. Closes
16516 - Correctly note that bandwidth accounting values are stored in the
16517 state file, and the bw_accounting file is now obsolete. Closes
16519 - Document more of the files in the Tor data directory, including
16520 cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
16521 approved-routers, sr-random, and diff-cache. Found while fixing
16525 Changes in version 0.3.0.9 - 2017-06-29
16526 Tor 0.3.0.9 fixes a path selection bug that would allow a client
16527 to use a guard that was in the same network family as a chosen exit
16528 relay. This is a security regression; all clients running earlier
16529 versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
16532 This release also backports several other bugfixes from the 0.3.1.x
16535 o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
16536 - When choosing which guard to use for a circuit, avoid the exit's
16537 family along with the exit itself. Previously, the new guard
16538 selection logic avoided the exit, but did not consider its family.
16539 Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
16540 006 and CVE-2017-0377.
16542 o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
16543 - Don't block bootstrapping when a primary bridge is offline and we
16544 can't get its descriptor. Fixes bug 22325; fixes one case of bug
16545 21969; bugfix on 0.3.0.3-alpha.
16547 o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
16548 - When starting with an old consensus, do not add new entry guards
16549 unless the consensus is "reasonably live" (under 1 day old). Fixes
16550 one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
16552 o Minor features (geoip):
16553 - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
16556 o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
16557 - Reject version numbers with non-numeric prefixes (such as +, -, or
16558 whitespace). Disallowing whitespace prevents differential version
16559 parsing between POSIX-based and Windows platforms. Fixes bug 21507
16560 and part of 21508; bugfix on 0.0.8pre1.
16562 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
16563 - Permit the fchmod system call, to avoid crashing on startup when
16564 starting with the seccomp2 sandbox and an unexpected set of
16565 permissions on the data directory or its contents. Fixes bug
16566 22516; bugfix on 0.2.5.4-alpha.
16568 o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
16569 - Fix a memset() off the end of an array when packing cells. This
16570 bug should be harmless in practice, since the corrupted bytes are
16571 still in the same structure, and are always padding bytes,
16572 ignored, or immediately overwritten, depending on compiler
16573 behavior. Nevertheless, because the memset()'s purpose is to make
16574 sure that any other cell-handling bugs can't expose bytes to the
16575 network, we need to fix it. Fixes bug 22737; bugfix on
16576 0.2.4.11-alpha. Fixes CID 1401591.
16579 Changes in version 0.3.1.3-alpha - 2017-06-08
16580 Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
16581 remotely crash a hidden service with an assertion failure. Anyone
16582 running a hidden service should upgrade to this version, or to some
16583 other version with fixes for TROVE-2017-004 and TROVE-2017-005.
16585 Tor 0.3.1.3-alpha also includes fixes for several key management bugs
16586 that sometimes made relays unreliable, as well as several other
16587 bugfixes described below.
16589 o Major bugfixes (hidden service, relay, security):
16590 - Fix a remotely triggerable assertion failure when a hidden service
16591 handles a malformed BEGIN cell. Fixes bug 22493, tracked as
16592 TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
16593 - Fix a remotely triggerable assertion failure caused by receiving a
16594 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16595 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16598 o Major bugfixes (relay, link handshake):
16599 - When performing the v3 link handshake on a TLS connection, report
16600 that we have the x509 certificate that we actually used on that
16601 connection, even if we have changed certificates since that
16602 connection was first opened. Previously, we would claim to have
16603 used our most recent x509 link certificate, which would sometimes
16604 make the link handshake fail. Fixes one case of bug 22460; bugfix
16607 o Major bugfixes (relays, key management):
16608 - Regenerate link and authentication certificates whenever the key
16609 that signs them changes; also, regenerate link certificates
16610 whenever the signed key changes. Previously, these processes were
16611 only weakly coupled, and we relays could (for minutes to hours)
16612 wind up with an inconsistent set of keys and certificates, which
16613 other relays would not accept. Fixes two cases of bug 22460;
16614 bugfix on 0.3.0.1-alpha.
16615 - When sending an Ed25519 signing->link certificate in a CERTS cell,
16616 send the certificate that matches the x509 certificate that we
16617 used on the TLS connection. Previously, there was a race condition
16618 if the TLS context rotated after we began the TLS handshake but
16619 before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
16622 o Major bugfixes (torrc, crash):
16623 - Fix a crash bug when using %include in torrc. Fixes bug 22417;
16624 bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
16626 o Minor features (code style):
16627 - Add "Falls through" comments to our codebase, in order to silence
16628 GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
16629 Stieger. Closes ticket 22446.
16631 o Minor features (diagnostic):
16632 - Add logging messages to try to diagnose a rare bug that seems to
16633 generate RSA->Ed25519 cross-certificates dated in the 1970s. We
16634 think this is happening because of incorrect system clocks, but
16635 we'd like to know for certain. Diagnostic for bug 22466.
16637 o Minor bugfixes (correctness):
16638 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16639 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16641 o Minor bugfixes (directory protocol):
16642 - Check for libzstd >= 1.1, because older versions lack the
16643 necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
16645 o Minor bugfixes (link handshake):
16646 - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
16647 months, and regenerate it when it is within one month of expiring.
16648 Previously, we had generated this certificate at startup with a
16649 ten-year lifetime, but that could lead to weird behavior when Tor
16650 was started with a grossly inaccurate clock. Mitigates bug 22466;
16651 mitigation on 0.3.0.1-alpha.
16653 o Minor bugfixes (storage directories):
16654 - Always check for underflows in the cached storage directory usage.
16655 If the usage does underflow, re-calculate it. Also, avoid a
16656 separate underflow when the usage is not known. Fixes bug 22424;
16657 bugfix on 0.3.1.1-alpha.
16659 o Minor bugfixes (unit tests):
16660 - The unit tests now pass on systems where localhost is misconfigured
16661 to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
16665 - Clarify the manpage for the (deprecated) torify script. Closes
16668 Changes in version 0.3.0.8 - 2017-06-08
16669 Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
16670 remotely crash a hidden service with an assertion failure. Anyone
16671 running a hidden service should upgrade to this version, or to some
16672 other version with fixes for TROVE-2017-004 and TROVE-2017-005.
16674 Tor 0.3.0.8 also includes fixes for several key management bugs
16675 that sometimes made relays unreliable, as well as several other
16676 bugfixes described below.
16678 o Major bugfixes (hidden service, relay, security, backport
16679 from 0.3.1.3-alpha):
16680 - Fix a remotely triggerable assertion failure when a hidden service
16681 handles a malformed BEGIN cell. Fixes bug 22493, tracked as
16682 TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
16683 - Fix a remotely triggerable assertion failure caused by receiving a
16684 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16685 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16688 o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
16689 - When performing the v3 link handshake on a TLS connection, report
16690 that we have the x509 certificate that we actually used on that
16691 connection, even if we have changed certificates since that
16692 connection was first opened. Previously, we would claim to have
16693 used our most recent x509 link certificate, which would sometimes
16694 make the link handshake fail. Fixes one case of bug 22460; bugfix
16697 o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
16698 - Regenerate link and authentication certificates whenever the key
16699 that signs them changes; also, regenerate link certificates
16700 whenever the signed key changes. Previously, these processes were
16701 only weakly coupled, and we relays could (for minutes to hours)
16702 wind up with an inconsistent set of keys and certificates, which
16703 other relays would not accept. Fixes two cases of bug 22460;
16704 bugfix on 0.3.0.1-alpha.
16705 - When sending an Ed25519 signing->link certificate in a CERTS cell,
16706 send the certificate that matches the x509 certificate that we
16707 used on the TLS connection. Previously, there was a race condition
16708 if the TLS context rotated after we began the TLS handshake but
16709 before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
16712 o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
16713 - Stop rejecting v3 hidden service descriptors because their size
16714 did not match an old padding rule. Fixes bug 22447; bugfix on
16717 o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
16718 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
16719 December 2016 (of which ~126 were still functional) with a list of
16720 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
16721 2017. Resolves ticket 21564.
16723 o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
16724 - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
16725 bug 22252; bugfix on 0.2.9.3-alpha.
16727 o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
16728 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16729 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16731 o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
16732 - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
16733 months, and regenerate it when it is within one month of expiring.
16734 Previously, we had generated this certificate at startup with a
16735 ten-year lifetime, but that could lead to weird behavior when Tor
16736 was started with a grossly inaccurate clock. Mitigates bug 22466;
16737 mitigation on 0.3.0.1-alpha.
16739 o Minor bugfixes (memory leak, directory authority, backport from
16741 - When directory authorities reject a router descriptor due to
16742 keypinning, free the router descriptor rather than leaking the
16743 memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
16746 Changes in version 0.2.9.11 - 2017-06-08
16747 Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
16748 remotely crash a hidden service with an assertion failure. Anyone
16749 running a hidden service should upgrade to this version, or to some
16750 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16751 are not affected by TROVE-2017-004.)
16753 Tor 0.2.9.11 also backports fixes for several key management bugs
16754 that sometimes made relays unreliable, as well as several other
16755 bugfixes described below.
16757 o Major bugfixes (hidden service, relay, security, backport
16758 from 0.3.1.3-alpha):
16759 - Fix a remotely triggerable assertion failure caused by receiving a
16760 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16761 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16764 o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
16765 - When performing the v3 link handshake on a TLS connection, report
16766 that we have the x509 certificate that we actually used on that
16767 connection, even if we have changed certificates since that
16768 connection was first opened. Previously, we would claim to have
16769 used our most recent x509 link certificate, which would sometimes
16770 make the link handshake fail. Fixes one case of bug 22460; bugfix
16773 o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
16774 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
16775 December 2016 (of which ~126 were still functional) with a list of
16776 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
16777 2017. Resolves ticket 21564.
16779 o Minor features (future-proofing, backport from 0.3.0.7):
16780 - Tor no longer refuses to download microdescriptors or descriptors if
16781 they are listed as "published in the future". This change will
16782 eventually allow us to stop listing meaningful "published" dates
16783 in microdescriptor consensuses, and thereby allow us to reduce the
16784 resources required to download consensus diffs by over 50%.
16785 Implements part of ticket 21642; implements part of proposal 275.
16787 o Minor features (directory authorities, backport from 0.3.0.4-rc)
16788 - Directory authorities now reject relays running versions
16789 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
16790 suffer from bug 20499 and don't keep their consensus cache
16791 up-to-date. Resolves ticket 20509.
16793 o Minor features (geoip):
16794 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16797 o Minor bugfixes (control port, backport from 0.3.0.6):
16798 - The GETINFO extra-info/digest/<digest> command was broken because
16799 of a wrong base16 decode return value check, introduced when
16800 refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
16802 o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
16803 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16804 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16806 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
16807 - The getpid() system call is now permitted under the Linux seccomp2
16808 sandbox, to avoid crashing with versions of OpenSSL (and other
16809 libraries) that attempt to learn the process's PID by using the
16810 syscall rather than the VDSO code. Fixes bug 21943; bugfix
16813 o Minor bugfixes (memory leak, directory authority, backport
16814 from 0.3.1.2-alpha):
16815 - When directory authorities reject a router descriptor due to
16816 keypinning, free the router descriptor rather than leaking the
16817 memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
16819 Changes in version 0.2.8.14 - 2017-06-08
16820 Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
16821 remotely crash a hidden service with an assertion failure. Anyone
16822 running a hidden service should upgrade to this version, or to some
16823 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16824 are not affected by TROVE-2017-004.)
16826 o Major bugfixes (hidden service, relay, security):
16827 - Fix a remotely triggerable assertion failure caused by receiving a
16828 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16829 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16832 o Minor features (geoip):
16833 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16836 o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
16837 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
16838 December 2016 (of which ~126 were still functional) with a list of
16839 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
16840 2017. Resolves ticket 21564.
16842 o Minor bugfixes (correctness):
16843 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16844 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16846 Changes in version 0.2.7.8 - 2017-06-08
16847 Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
16848 remotely crash a hidden service with an assertion failure. Anyone
16849 running a hidden service should upgrade to this version, or to some
16850 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16851 are not affected by TROVE-2017-004.)
16853 o Major bugfixes (hidden service, relay, security):
16854 - Fix a remotely triggerable assertion failure caused by receiving a
16855 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16856 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16859 o Minor features (geoip):
16860 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16863 o Minor bugfixes (correctness):
16864 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16865 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16868 Changes in version 0.2.6.12 - 2017-06-08
16869 Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
16870 remotely crash a hidden service with an assertion failure. Anyone
16871 running a hidden service should upgrade to this version, or to some
16872 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16873 are not affected by TROVE-2017-004.)
16875 o Major bugfixes (hidden service, relay, security):
16876 - Fix a remotely triggerable assertion failure caused by receiving a
16877 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16878 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16881 o Minor features (geoip):
16882 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16885 o Minor bugfixes (correctness):
16886 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16887 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16889 Changes in version 0.2.5.14 - 2017-06-08
16890 Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
16891 remotely crash a hidden service with an assertion failure. Anyone
16892 running a hidden service should upgrade to this version, or to some
16893 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16894 are not affected by TROVE-2017-004.)
16896 o Major bugfixes (hidden service, relay, security):
16897 - Fix a remotely triggerable assertion failure caused by receiving a
16898 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16899 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16902 o Minor features (geoip):
16903 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16906 o Minor bugfixes (correctness):
16907 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16908 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16910 Changes in version 0.2.4.29 - 2017-06-08
16911 Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
16912 remotely crash a hidden service with an assertion failure. Anyone
16913 running a hidden service should upgrade to this version, or to some
16914 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16915 are not affected by TROVE-2017-004.)
16917 o Major bugfixes (hidden service, relay, security):
16918 - Fix a remotely triggerable assertion failure caused by receiving a
16919 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16920 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16923 o Minor features (geoip):
16924 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16927 o Minor bugfixes (correctness):
16928 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16929 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16932 Changes in version 0.3.1.2-alpha - 2017-05-26
16933 Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
16934 fixes a few bugs found while testing 0.3.1.1-alpha, including a
16935 memory corruption bug that affected relay stability.
16937 o Major bugfixes (crash, relay):
16938 - Fix a memory-corruption bug in relays that set MyFamily.
16939 Previously, they would double-free MyFamily elements when making
16940 the next descriptor or when changing their configuration. Fixes
16941 bug 22368; bugfix on 0.3.1.1-alpha.
16943 o Minor bugfixes (logging):
16944 - Log a better message when a directory authority replies to an
16945 upload with an unexpected status code. Fixes bug 11121; bugfix
16948 o Minor bugfixes (memory leak, directory authority):
16949 - When directory authorities reject a router descriptor due to
16950 keypinning, free the router descriptor rather than leaking the
16951 memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
16954 Changes in version 0.3.1.1-alpha - 2017-05-22
16955 Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
16956 reduces the bandwidth usage for Tor's directory protocol, adds some
16957 basic padding to resist netflow-based traffic analysis and to serve as
16958 the basis of other padding in the future, and adds rust support to the
16961 It also contains numerous other small features and improvements to
16962 security, correctness, and performance.
16964 Below are the changes since 0.3.0.7.
16966 o Major features (directory protocol):
16967 - Tor relays and authorities can now serve clients an abbreviated
16968 version of the consensus document, containing only the changes
16969 since an older consensus document that the client holds. Clients
16970 now request these documents when available. When both client and
16971 server use this new protocol, they will use far less bandwidth (up
16972 to 94% less) to keep the client's consensus up-to-date. Implements
16973 proposal 140; closes ticket 13339. Based on work by Daniel Martí.
16974 - Tor can now compress directory traffic with lzma or with zstd
16975 compression algorithms, which can deliver better bandwidth
16976 performance. Because lzma is computationally expensive, it's only
16977 used for documents that can be compressed once and served many
16978 times. Support for these algorithms requires that tor is built
16979 with the libzstd and/or liblzma libraries available. Implements
16980 proposal 278; closes ticket 21662.
16981 - Relays now perform the more expensive compression operations, and
16982 consensus diff generation, in worker threads. This separation
16983 avoids delaying the main thread when a new consensus arrives.
16985 o Major features (experimental):
16986 - Tor can now build modules written in Rust. To turn this on, pass
16987 the "--enable-rust" flag to the configure script. It's not time to
16988 get excited yet: currently, there is no actual Rust functionality
16989 beyond some simple glue code, and a notice at startup to tell you
16990 that Rust is running. Still, we hope that programmers and
16991 packagers will try building Tor with Rust support, so that we can
16992 find issues and solve portability problems. Closes ticket 22106.
16994 o Major features (traffic analysis resistance):
16995 - Connections between clients and relays now send a padding cell in
16996 each direction every 1.5 to 9.5 seconds (tunable via consensus
16997 parameters). This padding will not resist specialized
16998 eavesdroppers, but it should be enough to make many ISPs' routine
16999 network flow logging less useful in traffic analysis against
17002 Padding is negotiated using Tor's link protocol, so both relays
17003 and clients must upgrade for this to take effect. Clients may
17004 still send padding despite the relay's version by setting
17005 ConnectionPadding 1 in torrc, and may disable padding by setting
17006 ConnectionPadding 0 in torrc. Padding may be minimized for mobile
17007 users with the torrc option ReducedConnectionPadding. Implements
17008 Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
17009 - Relays will publish 24 hour totals of padding and non-padding cell
17010 counts to their extra-info descriptors, unless PaddingStatistics 0
17011 is set in torrc. These 24 hour totals are also rounded to
17012 multiples of 10000.
17014 o Major bugfixes (connection usage):
17015 - We use NETINFO cells to try to determine if both relays involved
17016 in a connection will agree on the canonical status of that
17017 connection. We prefer the connections where this is the case for
17018 extend cells, and try to close connections where relays disagree
17019 on their canonical status early. Also, we now prefer the oldest
17020 valid connection for extend cells. These two changes should reduce
17021 the number of long-term connections that are kept open between
17022 relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
17023 - Relays now log hourly statistics (look for
17024 "channel_check_for_duplicates" lines) on the total number of
17025 connections to other relays. If the number of connections per
17026 relay is unexpectedly large, this log message is at notice level.
17027 Otherwise it is at info.
17029 o Major bugfixes (entry guards):
17030 - Don't block bootstrapping when a primary bridge is offline and we
17031 can't get its descriptor. Fixes bug 22325; fixes one case of bug
17032 21969; bugfix on 0.3.0.3-alpha.
17034 o Major bugfixes (linux TPROXY support):
17035 - Fix a typo that had prevented TPROXY-based transparent proxying
17036 from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
17037 Patch from "d4fq0fQAgoJ".
17039 o Minor features (security, windows):
17040 - Enable a couple of pieces of Windows hardening: one
17041 (HeapEnableTerminationOnCorruption) that has been on-by-default
17042 since Windows 8, and unavailable before Windows 7; and one
17043 (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
17044 affect us, but shouldn't do any harm. Closes ticket 21953.
17046 o Minor features (config options):
17047 - Allow "%include" directives in torrc configuration files. These
17048 directives import the settings from other files, or from all the
17049 files in a directory. Closes ticket 1922. Code by Daniel Pinto.
17050 - Make SAVECONF return an error when overwriting a torrc that has
17051 includes. Using SAVECONF with the FORCE option will allow it to
17052 overwrite torrc even if includes are used. Related to ticket 1922.
17053 - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
17054 will work without the FORCE option. Related to ticket 1922.
17056 o Minor features (controller):
17057 - Warn the first time that a controller requests data in the long-
17058 deprecated 'GETINFO network-status' format. Closes ticket 21703.
17060 o Minor features (defaults):
17061 - The default value for UseCreateFast is now 0: clients which
17062 haven't yet received a consensus document will now use a proper
17063 ntor handshake to talk to their directory servers whenever they
17064 can. Closes ticket 21407.
17065 - Onion key rotation and expiry intervals are now defined as a
17066 network consensus parameter, per proposal 274. The default
17067 lifetime of an onion key is increased from 7 to 28 days. Old onion
17068 keys will expire after 7 days by default. This change will make
17069 consensus diffs much smaller, and save significant bandwidth.
17070 Closes ticket 21641.
17072 o Minor features (fallback directory list):
17073 - Update the fallback directory mirror whitelist and blacklist based
17074 on operator emails. Closes task 21121.
17075 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
17076 December 2016 (of which ~126 were still functional) with a list of
17077 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
17078 2017. Resolves ticket 21564.
17080 o Minor features (hidden services, logging):
17081 - Log a message when a hidden service descriptor has fewer
17082 introduction points than specified in
17083 HiddenServiceNumIntroductionPoints. Closes tickets 21598.
17084 - Log a message when a hidden service reaches its introduction point
17085 circuit limit, and when that limit is reset. Follow up to ticket
17086 21594; closes ticket 21622.
17087 - Warn user if multiple entries in EntryNodes and at least one
17088 HiddenService are used together. Pinning EntryNodes along with a
17089 hidden service can be possibly harmful; for instance see ticket
17090 14917 or 21155. Closes ticket 21155.
17092 o Minor features (linux seccomp2 sandbox):
17093 - We now have a document storage backend compatible with the Linux
17094 seccomp2 sandbox. This backend is used for consensus documents and
17095 diffs between them; in the long term, we'd like to use it for
17096 unparseable directory material too. Closes ticket 21645
17097 - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
17098 from 1MB to 16MB. This was necessary with the glibc allocator in
17099 order to allow worker threads to allocate more memory -- which in
17100 turn is necessary because of our new use of worker threads for
17101 compression. Closes ticket 22096.
17103 o Minor features (logging):
17104 - Log files are no longer created world-readable by default.
17105 (Previously, most distributors would store the logs in a non-
17106 world-readable location to prevent inappropriate access. This
17107 change is an extra precaution.) Closes ticket 21729; patch
17110 o Minor features (performance):
17111 - Our Keccak (SHA-3) implementation now accesses memory more
17112 efficiently, especially on little-endian systems. Closes
17114 - Add an O(1) implementation of channel_find_by_global_id(), to
17115 speed some controller functions.
17117 o Minor features (relay, configuration):
17118 - The MyFamily option may now be repeated as many times as desired,
17119 for relays that want to configure large families. Closes ticket
17120 4998; patch by Daniel Pinto.
17122 o Minor features (safety):
17123 - Add an explicit check to extrainfo_parse_entry_from_string() for
17124 NULL inputs. We don't believe this can actually happen, but it may
17125 help silence a warning from the Clang analyzer. Closes
17128 o Minor features (testing):
17129 - Add a "--disable-memory-sentinels" feature to help with fuzzing.
17130 When Tor is compiled with this option, we disable a number of
17131 redundant memory-safety failsafes that are intended to stop bugs
17132 from becoming security issues. This makes it easier to hunt for
17133 bugs that would be security issues without the failsafes turned
17134 on. Closes ticket 21439.
17135 - Add a general event-tracing instrumentation support to Tor. This
17136 subsystem will enable developers and researchers to add fine-
17137 grained instrumentation to their Tor instances, for use when
17138 examining Tor network performance issues. There are no trace
17139 events yet, and event-tracing is off by default unless enabled at
17140 compile time. Implements ticket 13802.
17141 - Improve our version parsing tests: add tests for typical version
17142 components, add tests for invalid versions, including numeric
17143 range and non-numeric prefixes. Unit tests 21278, 21450, and
17144 21507. Partially implements 21470.
17146 o Minor bugfixes (bandwidth accounting):
17147 - Roll over monthly accounting at the configured hour and minute,
17148 rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
17149 Found by Andrey Karpov with PVS-Studio.
17151 o Minor bugfixes (code correctness):
17152 - Accurately identify client connections by their lack of peer
17153 authentication. This means that we bail out earlier if asked to
17154 extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
17157 o Minor bugfixes (configuration):
17158 - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
17159 bug 22252; bugfix on 0.2.9.3-alpha.
17161 o Minor bugfixes (connection lifespan):
17162 - Allow more control over how long TLS connections are kept open:
17163 unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
17164 single option called CircuitsAvailableTimeout. Also, allow the
17165 consensus to control the default values for both this preference
17166 and the lifespan of relay-to-relay connections. Fixes bug 17592;
17167 bugfix on 0.2.5.5-alpha.
17168 - Increase the initial circuit build timeout testing frequency, to
17169 help ensure that ReducedConnectionPadding clients finish learning
17170 a timeout before their orconn would expire. The initial testing
17171 rate was set back in the days of TAP and before the Tor Browser
17172 updater, when we had to be much more careful about new clients
17173 making lots of circuits. With this change, a circuit build timeout
17174 is learned in about 15-20 minutes, instead of 100-120 minutes.
17176 o Minor bugfixes (controller):
17177 - GETINFO onions/current and onions/detached no longer respond with
17178 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
17179 - Trigger HS descriptor events on the control port when the client
17180 fails to pick a hidden service directory for a hidden service.
17181 This can happen if all the hidden service directories are in
17182 ExcludeNodes, or they have all been queried within the last 15
17183 minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
17185 o Minor bugfixes (directory authority):
17186 - When rejecting a router descriptor for running an obsolete version
17187 of Tor without ntor support, warn about the obsolete tor version,
17188 not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
17189 - Prevent the shared randomness subsystem from asserting when
17190 initialized by a bridge authority with an incomplete configuration
17191 file. Fixes bug 21586; bugfix on 0.2.9.8.
17193 o Minor bugfixes (exit-side DNS):
17194 - Fix an untriggerable assertion that checked the output of a
17195 libevent DNS error, so that the assertion actually behaves as
17196 expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
17197 Karpov using PVS-Studio.
17199 o Minor bugfixes (fallback directories):
17200 - Make the usage example in updateFallbackDirs.py actually work, and
17201 explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
17202 - Decrease the guard flag average required to be a fallback. This
17203 allows us to keep relays that have their guard flag removed when
17204 they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
17205 - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
17206 bugfix on 0.2.8.1-alpha.
17207 - Make sure fallback directory mirrors have the same address, port,
17208 and relay identity key for at least 30 days before they are
17209 selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
17211 o Minor bugfixes (hidden services):
17212 - Stop printing a cryptic warning when a hidden service gets a
17213 request to connect to a virtual port that it hasn't configured.
17214 Fixes bug 16706; bugfix on 0.2.6.3-alpha.
17215 - Simplify hidden service descriptor creation by using an existing
17216 flag to check if an introduction point is established. Fixes bug
17217 21599; bugfix on 0.2.7.2-alpha.
17219 o Minor bugfixes (memory leak):
17220 - Fix a small memory leak at exit from the backtrace handler code.
17221 Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
17223 o Minor bugfixes (protocol, logging):
17224 - Downgrade a log statement about unexpected relay cells from "bug"
17225 to "protocol warning", because there is at least one use case
17226 where it can be triggered by a buggy tor implementation. Fixes bug
17227 21293; bugfix on 0.1.1.14-alpha.
17229 o Minor bugfixes (testing):
17230 - Use unbuffered I/O for utility functions around the
17231 process_handle_t type. This fixes unit test failures reported on
17232 OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
17233 - Make display of captured unit test log messages consistent. Fixes
17234 bug 21510; bugfix on 0.2.9.3-alpha.
17235 - Make test-network.sh always call chutney's test-network.sh.
17236 Previously, this only worked on systems which had bash installed,
17237 due to some bash-specific code in the script. Fixes bug 19699;
17238 bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
17240 o Minor bugfixes (voting consistency):
17241 - Reject version numbers with non-numeric prefixes (such as +, -, or
17242 whitespace). Disallowing whitespace prevents differential version
17243 parsing between POSIX-based and Windows platforms. Fixes bug 21507
17244 and part of 21508; bugfix on 0.0.8pre1.
17246 o Minor bugfixes (windows, relay):
17247 - Resolve "Failure from drain_fd: No error" warnings on Windows
17248 relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
17250 o Code simplification and refactoring:
17251 - Break up the 630-line function connection_dir_client_reached_eof()
17252 into a dozen smaller functions. This change should help
17253 maintainability and readability of the client directory code.
17254 - Isolate our use of the openssl headers so that they are only
17255 included from our crypto wrapper modules, and from tests that
17256 examine those modules' internals. Closes ticket 21841.
17257 - Simplify our API to launch directory requests, making it more
17258 extensible and less error-prone. Now it's easier to add extra
17259 headers to directory requests. Closes ticket 21646.
17260 - Our base64 decoding functions no longer overestimate the output
17261 space that they need when parsing unpadded inputs. Closes
17263 - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
17264 Resolves ticket 22213.
17265 - The logic that directory caches use to spool request to clients,
17266 serving them one part at a time so as not to allocate too much
17267 memory, has been refactored for consistency. Previously there was
17268 a separate spooling implementation per type of spoolable data. Now
17269 there is one common spooling implementation, with extensible data
17270 types. Closes ticket 21651.
17271 - Tor's compression module now supports multiple backends. Part of
17272 the implementation for proposal 278; closes ticket 21663.
17275 - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
17276 Closes ticket 21873.
17277 - Correct documentation about the default DataDirectory value.
17278 Closes ticket 21151.
17279 - Document the default behavior of NumEntryGuards and
17280 NumDirectoryGuards correctly. Fixes bug 21715; bugfix
17282 - Document key=value pluggable transport arguments for Bridge lines
17283 in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
17284 - Note that bandwidth-limiting options don't affect TCP headers or
17285 DNS. Closes ticket 17170.
17287 o Removed features (configuration options, all in ticket 22060):
17288 - These configuration options are now marked Obsolete, and no longer
17289 have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
17290 AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
17291 TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
17292 in 0.2.9.2-alpha and have now been removed. The previous default
17293 behavior is now always chosen; the previous (less secure) non-
17294 default behavior is now unavailable.
17295 - CloseHSClientCircuitsImmediatelyOnTimeout and
17296 CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
17297 0.2.9.2-alpha and now have been removed. HS circuits never close
17298 on circuit build timeout; they have a longer timeout period.
17299 - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
17300 in 0.2.9.2-alpha and now have been removed. Use the ORPort option
17301 (and others) to configure listen-only and advertise-only addresses.
17303 o Removed features (tools):
17304 - We've removed the tor-checkkey tool from src/tools. Long ago, we
17305 used it to help people detect RSA keys that were generated by
17306 versions of Debian affected by CVE-2008-0166. But those keys have
17307 been out of circulation for ages, and this tool is no longer
17308 required. Closes ticket 21842.
17311 Changes in version 0.3.0.7 - 2017-05-15
17312 Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
17313 of Tor 0.3.0.x, where an attacker could cause a Tor relay process
17314 to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
17315 clients are not affected.
17317 o Major bugfixes (hidden service directory, security):
17318 - Fix an assertion failure in the hidden service directory code, which
17319 could be used by an attacker to remotely cause a Tor relay process to
17320 exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
17321 should upgrade. This security issue is tracked as TROVE-2017-002.
17322 Fixes bug 22246; bugfix on 0.3.0.1-alpha.
17325 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17328 o Minor features (future-proofing):
17329 - Tor no longer refuses to download microdescriptors or descriptors
17330 if they are listed as "published in the future". This change will
17331 eventually allow us to stop listing meaningful "published" dates
17332 in microdescriptor consensuses, and thereby allow us to reduce the
17333 resources required to download consensus diffs by over 50%.
17334 Implements part of ticket 21642; implements part of proposal 275.
17336 o Minor bugfixes (Linux seccomp2 sandbox):
17337 - The getpid() system call is now permitted under the Linux seccomp2
17338 sandbox, to avoid crashing with versions of OpenSSL (and other
17339 libraries) that attempt to learn the process's PID by using the
17340 syscall rather than the VDSO code. Fixes bug 21943; bugfix
17344 Changes in version 0.3.0.6 - 2017-04-26
17345 Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
17347 With the 0.3.0 series, clients and relays now use Ed25519 keys to
17348 authenticate their link connections to relays, rather than the old
17349 RSA1024 keys that they used before. (Circuit crypto has been
17350 Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
17351 the guard selection and replacement algorithm to behave more robustly
17352 in the presence of unreliable networks, and to resist guard-
17355 This series also includes numerous other small features and bugfixes,
17356 along with more groundwork for the upcoming hidden-services revamp.
17358 Per our stable release policy, we plan to support the Tor 0.3.0
17359 release series for at least the next nine months, or for three months
17360 after the first stable release of the 0.3.1 series: whichever is
17361 longer. If you need a release with long-term support, we recommend
17362 that you stay with the 0.2.9 series.
17364 Below are the changes since 0.3.0.5-rc. For a list of all changes
17365 since 0.2.9, see the ReleaseNotes file.
17367 o Minor features (geoip):
17368 - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
17371 o Minor bugfixes (control port):
17372 - The GETINFO extra-info/digest/<digest> command was broken because
17373 of a wrong base16 decode return value check, introduced when
17374 refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
17376 o Minor bugfixes (crash prevention):
17377 - Fix a (currently untriggerable, but potentially dangerous) crash
17378 bug when base32-encoding inputs whose sizes are not a multiple of
17379 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
17382 Changes in version 0.3.0.5-rc - 2017-04-05
17383 Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
17384 0.3.0 release series.
17386 This is the second release candidate in the Tor 0.3.0 series, and has
17387 much fewer changes than the first. If we find no new bugs or
17388 regressions here, the first stable 0.3.0 release will be nearly
17391 o Major bugfixes (crash, directory connections):
17392 - Fix a rare crash when sending a begin cell on a circuit whose
17393 linked directory connection had already been closed. Fixes bug
17394 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
17396 o Major bugfixes (guard selection):
17397 - Fix a guard selection bug where Tor would refuse to bootstrap in
17398 some cases if the user swapped a bridge for another bridge in
17399 their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
17400 Reported by "torvlnt33r".
17402 o Minor features (geoip):
17403 - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
17406 o Minor bugfix (compilation):
17407 - Fix a warning when compiling hs_service.c. Previously, it had no
17408 exported symbols when compiled for libor.a, resulting in a
17409 compilation warning from clang. Fixes bug 21825; bugfix
17412 o Minor bugfixes (hidden services):
17413 - Make hidden services check for failed intro point connections,
17414 even when they have exceeded their intro point creation limit.
17415 Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
17416 - Make hidden services with 8 to 10 introduction points check for
17417 failed circuits immediately after startup. Previously, they would
17418 wait for 5 minutes before performing their first checks. Fixes bug
17419 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
17421 o Minor bugfixes (memory leaks):
17422 - Fix a memory leak when using GETCONF on a port option. Fixes bug
17423 21682; bugfix on 0.3.0.3-alpha.
17425 o Minor bugfixes (relay):
17426 - Avoid a double-marked-circuit warning that could happen when we
17427 receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
17430 o Minor bugfixes (tests):
17431 - Run the entry_guard_parse_from_state_full() test with the time set
17432 to a specific date. (The guard state that this test was parsing
17433 contained guards that had expired since the test was first
17434 written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
17437 - Update the description of the directory server options in the
17438 manual page, to clarify that a relay no longer needs to set
17439 DirPort in order to be a directory cache. Closes ticket 21720.
17443 Changes in version 0.2.8.13 - 2017-03-03
17444 Tor 0.2.8.13 backports a security fix from later Tor
17445 releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
17446 this release, if for some reason they cannot upgrade to a later
17447 release series, and if they build Tor with the --enable-expensive-hardening
17450 Note that support for Tor 0.2.8.x is ending next year: we will not issue
17451 any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
17452 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17454 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17455 - Fix an integer underflow bug when comparing malformed Tor
17456 versions. This bug could crash Tor when built with
17457 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17458 0.2.9.8, which were built with -ftrapv by default. In other cases
17459 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17460 on 0.0.8pre1. Found by OSS-Fuzz.
17462 o Minor features (geoip):
17463 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17467 Changes in version 0.2.7.7 - 2017-03-03
17468 Tor 0.2.7.7 backports a number of security fixes from later Tor
17469 releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
17470 this release, if for some reason they cannot upgrade to a later
17473 Note that support for Tor 0.2.7.x is ending this year: we will not issue
17474 any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
17475 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17477 o Directory authority changes (backport from 0.2.8.5-rc):
17478 - Urras is no longer a directory authority. Closes ticket 19271.
17480 o Directory authority changes (backport from 0.2.9.2-alpha):
17481 - The "Tonga" bridge authority has been retired; the new bridge
17482 authority is "Bifroest". Closes tickets 19728 and 19690.
17484 o Directory authority key updates (backport from 0.2.8.1-alpha):
17485 - Update the V3 identity key for the dannenberg directory authority:
17486 it was changed on 18 November 2015. Closes task 17906. Patch
17489 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17490 - Fix a bug in parsing that could cause clients to read a single
17491 byte past the end of an allocated region. This bug could be used
17492 to cause hardened clients (built with --enable-expensive-hardening)
17493 to crash if they tried to visit a hostile hidden service. Non-
17494 hardened clients are only affected depending on the details of
17495 their platform's memory allocator. Fixes bug 21018; bugfix on
17496 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17497 2016-12-002 and as CVE-2016-1254.
17499 o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
17500 - Stop a crash that could occur when a client running with DNSPort
17501 received a query with multiple address types, and the first
17502 address type was not supported. Found and fixed by Scott Dial.
17503 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
17504 - Prevent a class of security bugs caused by treating the contents
17505 of a buffer chunk as if they were a NUL-terminated string. At
17506 least one such bug seems to be present in all currently used
17507 versions of Tor, and would allow an attacker to remotely crash
17508 most Tor instances, especially those compiled with extra compiler
17509 hardening. With this defense in place, such bugs can't crash Tor,
17510 though we should still fix them as they occur. Closes ticket
17511 20384 (TROVE-2016-10-001).
17513 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17514 - Avoid a difficult-to-trigger heap corruption attack when extending
17515 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17516 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17517 Reported by Guido Vranken.
17519 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17520 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17521 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17523 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17524 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17525 pointer to the previous (uninitialized) key value. The impact here
17526 should be limited to a difficult-to-trigger crash, if OpenSSL is
17527 running an engine that makes key generation failures possible, or
17528 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17529 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17532 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17533 - Fix an integer underflow bug when comparing malformed Tor
17534 versions. This bug could crash Tor when built with
17535 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17536 0.2.9.8, which were built with -ftrapv by default. In other cases
17537 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17538 on 0.0.8pre1. Found by OSS-Fuzz.
17540 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17541 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17542 zero size. Check size argument to memwipe() for underflow. Fixes
17543 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17546 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17547 - Make Tor survive errors involving connections without a
17548 corresponding event object. Previously we'd fail with an
17549 assertion; now we produce a log message. Related to bug 16248.
17551 o Minor features (geoip):
17552 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17556 Changes in version 0.2.6.11 - 2017-03-03
17557 Tor 0.2.6.11 backports a number of security fixes from later Tor
17558 releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
17559 this release, if for some reason they cannot upgrade to a later
17562 Note that support for Tor 0.2.6.x is ending this year: we will not issue
17563 any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
17564 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17566 o Directory authority changes (backport from 0.2.8.5-rc):
17567 - Urras is no longer a directory authority. Closes ticket 19271.
17569 o Directory authority changes (backport from 0.2.9.2-alpha):
17570 - The "Tonga" bridge authority has been retired; the new bridge
17571 authority is "Bifroest". Closes tickets 19728 and 19690.
17573 o Directory authority key updates (backport from 0.2.8.1-alpha):
17574 - Update the V3 identity key for the dannenberg directory authority:
17575 it was changed on 18 November 2015. Closes task 17906. Patch
17578 o Major features (security fixes, backport from 0.2.9.4-alpha):
17579 - Prevent a class of security bugs caused by treating the contents
17580 of a buffer chunk as if they were a NUL-terminated string. At
17581 least one such bug seems to be present in all currently used
17582 versions of Tor, and would allow an attacker to remotely crash
17583 most Tor instances, especially those compiled with extra compiler
17584 hardening. With this defense in place, such bugs can't crash Tor,
17585 though we should still fix them as they occur. Closes ticket
17586 20384 (TROVE-2016-10-001).
17588 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17589 - Fix a bug in parsing that could cause clients to read a single
17590 byte past the end of an allocated region. This bug could be used
17591 to cause hardened clients (built with --enable-expensive-hardening)
17592 to crash if they tried to visit a hostile hidden service. Non-
17593 hardened clients are only affected depending on the details of
17594 their platform's memory allocator. Fixes bug 21018; bugfix on
17595 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17596 2016-12-002 and as CVE-2016-1254.
17598 o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
17599 - Stop a crash that could occur when a client running with DNSPort
17600 received a query with multiple address types, and the first
17601 address type was not supported. Found and fixed by Scott Dial.
17602 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
17604 o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
17605 - Fix an error that could cause us to read 4 bytes before the
17606 beginning of an openssl string. This bug could be used to cause
17607 Tor to crash on systems with unusual malloc implementations, or
17608 systems with unusual hardening installed. Fixes bug 17404; bugfix
17611 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17612 - Avoid a difficult-to-trigger heap corruption attack when extending
17613 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17614 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17615 Reported by Guido Vranken.
17617 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17618 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17619 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17621 o Major bugfixes (guard selection, backport from 0.2.7.6):
17622 - Actually look at the Guard flag when selecting a new directory
17623 guard. When we implemented the directory guard design, we
17624 accidentally started treating all relays as if they have the Guard
17625 flag during guard selection, leading to weaker anonymity and worse
17626 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
17629 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17630 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17631 pointer to the previous (uninitialized) key value. The impact here
17632 should be limited to a difficult-to-trigger crash, if OpenSSL is
17633 running an engine that makes key generation failures possible, or
17634 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17635 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17638 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17639 - Fix an integer underflow bug when comparing malformed Tor
17640 versions. This bug could crash Tor when built with
17641 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17642 0.2.9.8, which were built with -ftrapv by default. In other cases
17643 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17644 on 0.0.8pre1. Found by OSS-Fuzz.
17646 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17647 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17648 zero size. Check size argument to memwipe() for underflow. Fixes
17649 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17652 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17653 - Make Tor survive errors involving connections without a
17654 corresponding event object. Previously we'd fail with an
17655 assertion; now we produce a log message. Related to bug 16248.
17657 o Minor features (geoip):
17658 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17661 o Minor bugfixes (compilation, backport from 0.2.7.6):
17662 - Fix a compilation warning with Clang 3.6: Do not check the
17663 presence of an address which can never be NULL. Fixes bug 17781.
17666 Changes in version 0.2.5.13 - 2017-03-03
17667 Tor 0.2.5.13 backports a number of security fixes from later Tor
17668 releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
17669 this release, if for some reason they cannot upgrade to a later
17672 Note that support for Tor 0.2.5.x is ending next year: we will not issue
17673 any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
17674 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17676 o Directory authority changes (backport from 0.2.8.5-rc):
17677 - Urras is no longer a directory authority. Closes ticket 19271.
17679 o Directory authority changes (backport from 0.2.9.2-alpha):
17680 - The "Tonga" bridge authority has been retired; the new bridge
17681 authority is "Bifroest". Closes tickets 19728 and 19690.
17683 o Directory authority key updates (backport from 0.2.8.1-alpha):
17684 - Update the V3 identity key for the dannenberg directory authority:
17685 it was changed on 18 November 2015. Closes task 17906. Patch
17688 o Major features (security fixes, backport from 0.2.9.4-alpha):
17689 - Prevent a class of security bugs caused by treating the contents
17690 of a buffer chunk as if they were a NUL-terminated string. At
17691 least one such bug seems to be present in all currently used
17692 versions of Tor, and would allow an attacker to remotely crash
17693 most Tor instances, especially those compiled with extra compiler
17694 hardening. With this defense in place, such bugs can't crash Tor,
17695 though we should still fix them as they occur. Closes ticket
17696 20384 (TROVE-2016-10-001).
17698 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17699 - Fix a bug in parsing that could cause clients to read a single
17700 byte past the end of an allocated region. This bug could be used
17701 to cause hardened clients (built with --enable-expensive-hardening)
17702 to crash if they tried to visit a hostile hidden service. Non-
17703 hardened clients are only affected depending on the details of
17704 their platform's memory allocator. Fixes bug 21018; bugfix on
17705 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17706 2016-12-002 and as CVE-2016-1254.
17708 o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
17709 - Stop a crash that could occur when a client running with DNSPort
17710 received a query with multiple address types, and the first
17711 address type was not supported. Found and fixed by Scott Dial.
17712 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
17714 o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
17715 - Fix an error that could cause us to read 4 bytes before the
17716 beginning of an openssl string. This bug could be used to cause
17717 Tor to crash on systems with unusual malloc implementations, or
17718 systems with unusual hardening installed. Fixes bug 17404; bugfix
17721 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17722 - Avoid a difficult-to-trigger heap corruption attack when extending
17723 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17724 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17725 Reported by Guido Vranken.
17727 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17728 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17729 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17731 o Major bugfixes (guard selection, backport from 0.2.7.6):
17732 - Actually look at the Guard flag when selecting a new directory
17733 guard. When we implemented the directory guard design, we
17734 accidentally started treating all relays as if they have the Guard
17735 flag during guard selection, leading to weaker anonymity and worse
17736 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
17739 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17740 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17741 pointer to the previous (uninitialized) key value. The impact here
17742 should be limited to a difficult-to-trigger crash, if OpenSSL is
17743 running an engine that makes key generation failures possible, or
17744 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17745 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17748 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17749 - Fix an integer underflow bug when comparing malformed Tor
17750 versions. This bug could crash Tor when built with
17751 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17752 0.2.9.8, which were built with -ftrapv by default. In other cases
17753 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17754 on 0.0.8pre1. Found by OSS-Fuzz.
17756 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17757 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17758 zero size. Check size argument to memwipe() for underflow. Fixes
17759 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17762 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17763 - Make Tor survive errors involving connections without a
17764 corresponding event object. Previously we'd fail with an
17765 assertion; now we produce a log message. Related to bug 16248.
17767 o Minor features (geoip):
17768 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17771 o Minor bugfixes (compilation, backport from 0.2.7.6):
17772 - Fix a compilation warning with Clang 3.6: Do not check the
17773 presence of an address which can never be NULL. Fixes bug 17781.
17775 o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
17776 - Check for failures from crypto_early_init, and refuse to continue.
17777 A previous typo meant that we could keep going with an
17778 uninitialized crypto library, and would have OpenSSL initialize
17779 its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
17780 when implementing ticket 4900. Patch by "teor".
17782 o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
17783 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
17784 a client authorized hidden service. Fixes bug 15823; bugfix
17788 Changes in version 0.2.4.28 - 2017-03-03
17789 Tor 0.2.4.28 backports a number of security fixes from later Tor
17790 releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
17791 this release, if for some reason they cannot upgrade to a later
17794 Note that support for Tor 0.2.4.x is ending soon: we will not issue
17795 any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
17796 a Tor release series with long-term support, we recommend Tor 0.2.9.x.
17798 o Directory authority changes (backport from 0.2.8.5-rc):
17799 - Urras is no longer a directory authority. Closes ticket 19271.
17801 o Directory authority changes (backport from 0.2.9.2-alpha):
17802 - The "Tonga" bridge authority has been retired; the new bridge
17803 authority is "Bifroest". Closes tickets 19728 and 19690.
17805 o Directory authority key updates (backport from 0.2.8.1-alpha):
17806 - Update the V3 identity key for the dannenberg directory authority:
17807 it was changed on 18 November 2015. Closes task 17906. Patch
17810 o Major features (security fixes, backport from 0.2.9.4-alpha):
17811 - Prevent a class of security bugs caused by treating the contents
17812 of a buffer chunk as if they were a NUL-terminated string. At
17813 least one such bug seems to be present in all currently used
17814 versions of Tor, and would allow an attacker to remotely crash
17815 most Tor instances, especially those compiled with extra compiler
17816 hardening. With this defense in place, such bugs can't crash Tor,
17817 though we should still fix them as they occur. Closes ticket
17818 20384 (TROVE-2016-10-001).
17820 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17821 - Fix a bug in parsing that could cause clients to read a single
17822 byte past the end of an allocated region. This bug could be used
17823 to cause hardened clients (built with --enable-expensive-hardening)
17824 to crash if they tried to visit a hostile hidden service. Non-
17825 hardened clients are only affected depending on the details of
17826 their platform's memory allocator. Fixes bug 21018; bugfix on
17827 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17828 2016-12-002 and as CVE-2016-1254.
17830 o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
17831 - Fix an error that could cause us to read 4 bytes before the
17832 beginning of an openssl string. This bug could be used to cause
17833 Tor to crash on systems with unusual malloc implementations, or
17834 systems with unusual hardening installed. Fixes bug 17404; bugfix
17837 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17838 - Avoid a difficult-to-trigger heap corruption attack when extending
17839 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17840 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17841 Reported by Guido Vranken.
17843 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17844 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17845 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17847 o Major bugfixes (guard selection, backport from 0.2.7.6):
17848 - Actually look at the Guard flag when selecting a new directory
17849 guard. When we implemented the directory guard design, we
17850 accidentally started treating all relays as if they have the Guard
17851 flag during guard selection, leading to weaker anonymity and worse
17852 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
17855 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17856 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17857 pointer to the previous (uninitialized) key value. The impact here
17858 should be limited to a difficult-to-trigger crash, if OpenSSL is
17859 running an engine that makes key generation failures possible, or
17860 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17861 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17864 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17865 - Fix an integer underflow bug when comparing malformed Tor
17866 versions. This bug could crash Tor when built with
17867 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17868 0.2.9.8, which were built with -ftrapv by default. In other cases
17869 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17870 on 0.0.8pre1. Found by OSS-Fuzz.
17872 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17873 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17874 zero size. Check size argument to memwipe() for underflow. Fixes
17875 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17878 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17879 - Make Tor survive errors involving connections without a
17880 corresponding event object. Previously we'd fail with an
17881 assertion; now we produce a log message. Related to bug 16248.
17883 o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
17884 - Make it harder for attackers to overload hidden services with
17885 introductions, by blocking multiple introduction requests on the
17886 same circuit. Resolves ticket 15515.
17888 o Minor features (geoip):
17889 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17892 o Minor bugfixes (compilation, backport from 0.2.7.6):
17893 - Fix a compilation warning with Clang 3.6: Do not check the
17894 presence of an address which can never be NULL. Fixes bug 17781.
17896 o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
17897 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
17898 a client authorized hidden service. Fixes bug 15823; bugfix
17902 Changes in version 0.3.0.4-rc - 2017-03-01
17903 Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
17904 0.3.0 release series, and introduces a few reliability features to
17905 keep them from coming back.
17907 This is the first release candidate in the Tor 0.3.0 series. If we
17908 find no new bugs or regressions here, the first stable 0.3.0 release
17909 will be nearly identical to it.
17911 o Major bugfixes (bridges):
17912 - When the same bridge is configured multiple times with the same
17913 identity, but at different address:port combinations, treat those
17914 bridge instances as separate guards. This fix restores the ability
17915 of clients to configure the same bridge with multiple pluggable
17916 transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
17918 o Major bugfixes (hidden service directory v3):
17919 - Stop crashing on a failed v3 hidden service descriptor lookup
17920 failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
17922 o Major bugfixes (parsing):
17923 - When parsing a malformed content-length field from an HTTP
17924 message, do not read off the end of the buffer. This bug was a
17925 potential remote denial-of-service attack against Tor clients and
17926 relays. A workaround was released in October 2016, to prevent this
17927 bug from crashing Tor. This is a fix for the underlying issue,
17928 which should no longer matter (if you applied the earlier patch).
17929 Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
17930 using AFL (http://lcamtuf.coredump.cx/afl/).
17931 - Fix an integer underflow bug when comparing malformed Tor
17932 versions. This bug could crash Tor when built with
17933 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17934 0.2.9.8, which were built with -ftrapv by default. In other cases
17935 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17936 on 0.0.8pre1. Found by OSS-Fuzz.
17938 o Minor feature (protocol versioning):
17939 - Add new protocol version for proposal 224. HSIntro now advertises
17940 version "3-4" and HSDir version "1-2". Fixes ticket 20656.
17942 o Minor features (directory authorities):
17943 - Directory authorities now reject descriptors that claim to be
17944 malformed versions of Tor. Helps prevent exploitation of
17946 - Reject version numbers with components that exceed INT32_MAX.
17947 Otherwise 32-bit and 64-bit platforms would behave inconsistently.
17948 Fixes bug 21450; bugfix on 0.0.8pre1.
17949 - Directory authorities now reject relays running versions
17950 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
17951 suffer from bug 20499 and don't keep their consensus cache
17952 up-to-date. Resolves ticket 20509.
17954 o Minor features (geoip):
17955 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17958 o Minor features (reliability, crash):
17959 - Try better to detect problems in buffers where they might grow (or
17960 think they have grown) over 2 GB in size. Diagnostic for
17963 o Minor features (testing):
17964 - During 'make test-network-all', if tor logs any warnings, ask
17965 chutney to output them. Requires a recent version of chutney with
17966 the 21572 patch. Implements 21570.
17968 o Minor bugfixes (certificate expiration time):
17969 - Avoid using link certificates that don't become valid till some
17970 time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
17972 o Minor bugfixes (code correctness):
17973 - Repair a couple of (unreachable or harmless) cases of the risky
17974 comparison-by-subtraction pattern that caused bug 21278.
17975 - Remove a redundant check for the UseEntryGuards option from the
17976 options_transition_affects_guards() function. Fixes bug 21492;
17977 bugfix on 0.3.0.1-alpha.
17979 o Minor bugfixes (directory mirrors):
17980 - Allow relays to use directory mirrors without a DirPort: these
17981 relays need to be contacted over their ORPorts using a begindir
17982 connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
17983 - Clarify the message logged when a remote relay is unexpectedly
17984 missing an ORPort or DirPort: users were confusing this with a
17985 local port. Fixes another case of bug 20711; bugfix
17988 o Minor bugfixes (guards):
17989 - Don't warn about a missing guard state on timeout-measurement
17990 circuits: they aren't supposed to be using guards. Fixes an
17991 instance of bug 21007; bugfix on 0.3.0.1-alpha.
17992 - Silence a BUG() warning when attempting to use a guard whose
17993 descriptor we don't know, and make this scenario less likely to
17994 happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
17996 o Minor bugfixes (hidden service):
17997 - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
17998 cells. Previously, we were using sizeof() on a pointer, instead of
17999 the real destination buffer. Fortunately, that value was only used
18000 to double-check that there was enough room--which was already
18001 enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
18003 o Minor bugfixes (testing):
18004 - Fix Raspbian build issues related to missing socket errno in
18005 test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
18007 - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
18008 actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
18009 - Use bash in src/test/test-network.sh. This ensures we reliably
18010 call chutney's newer tools/test-network.sh when available. Fixes
18011 bug 21562; bugfix on 0.2.9.1-alpha.
18014 - Small fixes to the fuzzing documentation. Closes ticket 21472.
18017 Changes in version 0.2.9.10 - 2017-03-01
18018 Tor 0.2.9.10 backports a security fix from later Tor release. It also
18019 includes fixes for some major issues affecting directory authorities,
18020 LibreSSL compatibility, and IPv6 correctness.
18022 The Tor 0.2.9.x release series is now marked as a long-term-support
18023 series. We intend to backport security fixes to 0.2.9.x until at
18024 least January of 2020.
18026 o Major bugfixes (directory authority, 0.3.0.3-alpha):
18027 - During voting, when marking a relay as a probable sybil, do not
18028 clear its BadExit flag: sybils can still be bad in other ways
18029 too. (We still clear the other flags.) Fixes bug 21108; bugfix
18032 o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
18033 - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
18034 any IPv6 addresses. Instead, only reject a port over IPv6 if the
18035 exit policy rejects that port on more than an IPv6 /16 of
18036 addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
18037 which rejected a relay's own IPv6 address by default. Fixes bug
18038 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
18040 o Major bugfixes (parsing, also in 0.3.0.4-rc):
18041 - Fix an integer underflow bug when comparing malformed Tor
18042 versions. This bug could crash Tor when built with
18043 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
18044 0.2.9.8, which were built with -ftrapv by default. In other cases
18045 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
18046 on 0.0.8pre1. Found by OSS-Fuzz.
18048 o Minor features (directory authorities, also in 0.3.0.4-rc):
18049 - Directory authorities now reject descriptors that claim to be
18050 malformed versions of Tor. Helps prevent exploitation of
18052 - Reject version numbers with components that exceed INT32_MAX.
18053 Otherwise 32-bit and 64-bit platforms would behave inconsistently.
18054 Fixes bug 21450; bugfix on 0.0.8pre1.
18056 o Minor features (geoip):
18057 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
18060 o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
18061 - Autoconf now checks to determine if OpenSSL structures are opaque,
18062 instead of explicitly checking for OpenSSL version numbers. Part
18064 - Support building with recent LibreSSL code that uses opaque
18065 structures. Closes ticket 21359.
18067 o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
18068 - Repair a couple of (unreachable or harmless) cases of the risky
18069 comparison-by-subtraction pattern that caused bug 21278.
18071 o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
18072 - The tor-resolve command line tool now rejects hostnames over 255
18073 characters in length. Previously, it would silently truncate them,
18074 which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
18075 Patch by "junglefowl".
18078 Changes in version 0.3.0.3-alpha - 2017-02-03
18079 Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
18080 0.3.0.x development series, including some that could cause
18081 authorities to behave badly. There is also a fix for a longstanding
18082 bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
18083 includes some smaller features and bugfixes.
18085 The Tor 0.3.0.x release series is now in patch-freeze: no additional
18086 features will be considered for inclusion in 0.3.0.x. We suspect that
18087 some bugs will probably remain, however, and we encourage people to
18090 o Major bugfixes (directory authority):
18091 - During voting, when marking a relay as a probable sybil, do not
18092 clear its BadExit flag: sybils can still be bad in other ways
18093 too. (We still clear the other flags.) Fixes bug 21108; bugfix
18095 - When deciding whether we have just found a router to be reachable,
18096 do not penalize it for not having performed an Ed25519 link
18097 handshake if it does not claim to support an Ed25519 handshake.
18098 Previously, we would treat such relays as non-running. Fixes bug
18099 21107; bugfix on 0.3.0.1-alpha.
18101 o Major bugfixes (entry guards):
18102 - Stop trying to build circuits through entry guards for which we
18103 have no descriptor. Also, stop crashing in the case that we *do*
18104 accidentally try to build a circuit in such a state. Fixes bug
18105 21242; bugfix on 0.3.0.1-alpha.
18107 o Major bugfixes (IPv6 Exits):
18108 - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
18109 any IPv6 addresses. Instead, only reject a port over IPv6 if the
18110 exit policy rejects that port on more than an IPv6 /16 of
18111 addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
18112 which rejected a relay's own IPv6 address by default. Fixes bug
18113 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
18115 o Minor feature (client):
18116 - Enable IPv6 traffic on the SocksPort by default. To disable this,
18117 a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
18119 o Minor feature (fallback scripts):
18120 - Add a check_existing mode to updateFallbackDirs.py, which checks
18121 if fallbacks in the hard-coded list are working. Closes ticket
18122 20174. Patch by haxxpop.
18124 o Minor features (ciphersuite selection):
18125 - Clients now advertise a list of ciphersuites closer to the ones
18126 preferred by Firefox. Closes part of ticket 15426.
18127 - Allow relays to accept a wider range of ciphersuites, including
18128 chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
18130 o Minor features (controller, configuration):
18131 - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
18132 and so on, now comes with a __*Port variant that will not be saved
18133 to the torrc file by the controller's SAVECONF command. This
18134 change allows TorBrowser to set up a single-use domain socket for
18135 each time it launches Tor. Closes ticket 20956.
18136 - The GETCONF command can now query options that may only be
18137 meaningful in context-sensitive lists. This allows the controller
18138 to query the mixed SocksPort/__SocksPort style options introduced
18139 in feature 20956. Implements ticket 21300.
18141 o Minor features (portability, compilation):
18142 - Autoconf now checks to determine if OpenSSL structures are opaque,
18143 instead of explicitly checking for OpenSSL version numbers. Part
18145 - Support building with recent LibreSSL code that uses opaque
18146 structures. Closes ticket 21359.
18148 o Minor features (relay):
18149 - We now allow separation of exit and relay traffic to different
18150 source IP addresses, using the OutboundBindAddressExit and
18151 OutboundBindAddressOR options respectively. Closes ticket 17975.
18152 Written by Michael Sonntag.
18154 o Minor bugfix (logging):
18155 - Don't recommend the use of Tor2web in non-anonymous mode.
18156 Recommending Tor2web is a bad idea because the client loses all
18157 anonymity. Tor2web should only be used in specific cases by users
18158 who *know* and understand the issues. Fixes bug 21294; bugfix
18161 o Minor bugfixes (client):
18162 - Always recover from failures in extend_info_from_node(), in an
18163 attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
18164 bugfix on 0.2.3.1-alpha.
18166 o Minor bugfixes (client, entry guards):
18167 - Fix a bug warning (with backtrace) when we fail a channel that
18168 circuits to fallback directories on it. Fixes bug 21128; bugfix
18170 - Fix a spurious bug warning (with backtrace) when removing an
18171 expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
18172 - Fix a bug of the new guard algorithm where tor could stall for up
18173 to 10 minutes before retrying a guard after a long period of no
18174 network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
18175 - Do not try to build circuits until we have descriptors for our
18176 primary entry guards. Related to fix for bug 21242.
18178 o Minor bugfixes (configure, autoconf):
18179 - Rename the configure option --enable-expensive-hardening to
18180 --enable-fragile-hardening. Expensive hardening makes the tor
18181 daemon abort when some kinds of issues are detected. Thus, it
18182 makes tor more at risk of remote crashes but safer against RCE or
18183 heartbleed bug category. We now try to explain this issue in a
18184 message from the configure script. Fixes bug 21290; bugfix
18187 o Minor bugfixes (controller):
18188 - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
18189 20824; bugfix on 0.3.0.1-alpha.
18191 o Minor bugfixes (hidden service):
18192 - Clean up the code for expiring intro points with no associated
18193 circuits. It was causing, rarely, a service with some expiring
18194 introduction points to not open enough additional introduction
18195 points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
18196 - Stop setting the torrc option HiddenServiceStatistics to "0" just
18197 because we're not a bridge or relay. Instead, we preserve whatever
18198 value the user set (or didn't set). Fixes bug 21150; bugfix
18200 - Resolve two possible underflows which could lead to creating and
18201 closing a lot of introduction point circuits in a non-stop loop.
18202 Fixes bug 21302; bugfix on 0.2.7.2-alpha.
18204 o Minor bugfixes (portability):
18205 - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
18206 It is supported by OpenBSD itself, and also by most OpenBSD
18207 variants (such as Bitrig). Fixes bug 20980; bugfix
18209 - When mapping a file of length greater than SIZE_MAX, do not
18210 silently truncate its contents. This issue could occur on 32 bit
18211 systems with large file support and files which are larger than 4
18212 GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
18214 o Minor bugfixes (tor-resolve):
18215 - The tor-resolve command line tool now rejects hostnames over 255
18216 characters in length. Previously, it would silently truncate them,
18217 which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
18218 Patch by "junglefowl".
18220 o Minor bugfixes (Windows services):
18221 - Be sure to initialize the monotonic time subsystem before using
18222 it, even when running as an NT service. Fixes bug 21356; bugfix
18226 Changes in version 0.3.0.2-alpha - 2017-01-23
18227 Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
18228 cause relays and clients to crash, even if they were not built with
18229 the --enable-expensive-hardening option. This bug affects all 0.2.9.x
18230 versions, and also affects 0.3.0.1-alpha: all relays running an affected
18231 version should upgrade.
18233 Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
18234 time-to-live values, makes directory authorities enforce the 1-to-1
18235 mapping of relay RSA identity keys to ED25519 identity keys, fixes a
18236 client-side onion service reachability bug, does better at selecting
18237 the set of fallback directories, and more.
18239 o Major bugfixes (security, also in 0.2.9.9):
18240 - Downgrade the "-ftrapv" option from "always on" to "only on when
18241 --enable-expensive-hardening is provided." This hardening option, like
18242 others, can turn survivable bugs into crashes--and having it on by
18243 default made a (relatively harmless) integer overflow bug into a
18244 denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
18247 o Major features (security):
18248 - Change the algorithm used to decide DNS TTLs on client and server
18249 side, to better resist DNS-based correlation attacks like the
18250 DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
18251 Feamster. Now relays only return one of two possible DNS TTL
18252 values, and clients are willing to believe DNS TTL values up to 3
18253 hours long. Closes ticket 19769.
18255 o Major features (directory authority, security):
18256 - The default for AuthDirPinKeys is now 1: directory authorities
18257 will reject relays where the RSA identity key matches a previously
18258 seen value, but the Ed25519 key has changed. Closes ticket 18319.
18260 o Major bugfixes (client, guard, crash):
18261 - In circuit_get_global_origin_list(), return the actual list of
18262 origin circuits. The previous version of this code returned the
18263 list of all the circuits, and could have caused strange bugs,
18264 including possible crashes. Fixes bug 21118; bugfix
18267 o Major bugfixes (client, onion service, also in 0.2.9.9):
18268 - Fix a client-side onion service reachability bug, where multiple
18269 socks requests to an onion service (or a single slow request)
18270 could cause us to mistakenly mark some of the service's
18271 introduction points as failed, and we cache that failure so
18272 eventually we run out and can't reach the service. Also resolves a
18273 mysterious "Remote server sent bogus reason code 65021" log
18274 warning. The bug was introduced in ticket 17218, where we tried to
18275 remember the circuit end reason as a uint16_t, which mangled
18276 negative values. Partially fixes bug 21056 and fixes bug 20307;
18277 bugfix on 0.2.8.1-alpha.
18279 o Major bugfixes (DNS):
18280 - Fix a bug that prevented exit nodes from caching DNS records for
18281 more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
18283 o Minor features (controller):
18284 - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
18285 shared-random values to the controller. Closes ticket 19925.
18287 o Minor features (entry guards):
18288 - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
18289 break regression tests.
18290 - Require UseEntryGuards when UseBridges is set, in order to make
18291 sure bridges aren't bypassed. Resolves ticket 20502.
18293 o Minor features (fallback directories):
18294 - Select 200 fallback directories for each release. Closes
18296 - Allow 3 fallback relays per operator, which is safe now that we
18297 are choosing 200 fallback relays. Closes ticket 20912.
18298 - Exclude relays affected by bug 20499 from the fallback list.
18299 Exclude relays from the fallback list if they are running versions
18300 known to be affected by bug 20499, or if in our tests they deliver
18301 a stale consensus (i.e. one that expired more than 24 hours ago).
18302 Closes ticket 20539.
18303 - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
18305 - Require fallback directories to have the same address and port for
18306 7 days (now that we have enough relays with this stability).
18307 Relays whose OnionOO stability timer is reset on restart by bug
18308 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
18309 this issue. Closes ticket 20880; maintains short-term fix
18311 - Require fallbacks to have flags for 90% of the time (weighted
18312 decaying average), rather than 95%. This allows at least 73% of
18313 clients to bootstrap in the first 5 seconds without contacting an
18314 authority. Part of ticket 18828.
18315 - Annotate updateFallbackDirs.py with the bandwidth and consensus
18316 weight for each candidate fallback. Closes ticket 20878.
18317 - Make it easier to change the output sort order of fallbacks.
18318 Closes ticket 20822.
18319 - Display the relay fingerprint when downloading consensuses from
18320 fallbacks. Closes ticket 20908.
18322 o Minor features (geoip, also in 0.2.9.9):
18323 - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
18326 o Minor features (next-gen onion service directories):
18327 - Remove the "EnableOnionServicesV3" consensus parameter that we
18328 introduced in 0.3.0.1-alpha: relays are now always willing to act
18329 as v3 onion service directories. Resolves ticket 19899.
18331 o Minor features (linting):
18332 - Enhance the changes file linter to warn on Tor versions that are
18333 prefixed with "tor-". Closes ticket 21096.
18335 o Minor features (logging):
18336 - In several places, describe unset ed25519 keys as "<unset>",
18337 rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
18339 o Minor bugfix (control protocol):
18340 - The reply to a "GETINFO config/names" request via the control
18341 protocol now spells the type "Dependent" correctly. This is a
18342 breaking change in the control protocol. (The field seems to be
18343 ignored by the most common known controllers.) Fixes bug 18146;
18344 bugfix on 0.1.1.4-alpha.
18346 o Minor bugfixes (bug resilience):
18347 - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
18348 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
18349 Hans Jerry Illikainen.
18351 o Minor bugfixes (build):
18352 - Replace obsolete Autoconf macros with their modern equivalent and
18353 prevent similar issues in the future. Fixes bug 20990; bugfix
18356 o Minor bugfixes (client, guards):
18357 - Fix bug where Tor would think that there are circuits waiting for
18358 better guards even though those circuits have been freed. Fixes
18359 bug 21142; bugfix on 0.3.0.1-alpha.
18361 o Minor bugfixes (config):
18362 - Don't assert on startup when trying to get the options list and
18363 LearnCircuitBuildTimeout is set to 0: we are currently parsing the
18364 options so of course they aren't ready yet. Fixes bug 21062;
18365 bugfix on 0.2.9.3-alpha.
18367 o Minor bugfixes (controller):
18368 - Make the GETINFO interface for inquiring about entry guards
18369 support the new guards backend. Fixes bug 20823; bugfix
18372 o Minor bugfixes (dead code):
18373 - Remove a redundant check for PidFile changes at runtime in
18374 options_transition_allowed(): this check is already performed
18375 regardless of whether the sandbox is active. Fixes bug 21123;
18376 bugfix on 0.2.5.4-alpha.
18378 o Minor bugfixes (documentation):
18379 - Update the tor manual page to document every option that can not
18380 be changed while tor is running. Fixes bug 21122.
18382 o Minor bugfixes (fallback directories):
18383 - Stop failing when a relay has no uptime data in
18384 updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
18385 - Avoid checking fallback candidates' DirPorts if they are down in
18386 OnionOO. When a relay operator has multiple relays, this
18387 prioritizes relays that are up over relays that are down. Fixes
18388 bug 20926; bugfix on 0.2.8.3-alpha.
18389 - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
18390 Fixes bug 20877; bugfix on 0.2.8.3-alpha.
18392 o Minor bugfixes (guards, bootstrapping):
18393 - When connecting to a directory guard during bootstrap, do not mark
18394 the guard as successful until we receive a good-looking directory
18395 response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
18397 o Minor bugfixes (onion services):
18398 - Fix the config reload pruning of old vs new services so it
18399 actually works when both ephemeral and non-ephemeral services are
18400 configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
18401 - Allow the number of introduction points to be as low as 0, rather
18402 than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
18404 o Minor bugfixes (IPv6):
18405 - Make IPv6-using clients try harder to find an IPv6 directory
18406 server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
18407 - When IPv6 addresses have not been downloaded yet (microdesc
18408 consensus documents don't list relay IPv6 addresses), use hard-
18409 coded addresses for authorities, fallbacks, and configured
18410 bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
18411 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
18413 o Minor bugfixes (memory leaks):
18414 - Fix a memory leak when configuring hidden services. Fixes bug
18415 20987; bugfix on 0.3.0.1-alpha.
18417 o Minor bugfixes (portability, also in 0.2.9.9):
18418 - Avoid crashing when Tor is built using headers that contain
18419 CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
18420 without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
18422 - Fix Libevent detection on platforms without Libevent 1 headers
18423 installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
18425 o Minor bugfixes (relay):
18426 - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
18427 initializing the keys would reset the DataDirectory to 0700
18428 instead of 0750 even if DataDirectoryGroupReadable was set to 1.
18429 Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
18431 o Minor bugfixes (testing):
18432 - Remove undefined behavior from the backtrace generator by removing
18433 its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
18435 o Minor bugfixes (unit tests):
18436 - Allow the unit tests to pass even when DNS lookups of bogus
18437 addresses do not fail as expected. Fixes bug 20862 and 20863;
18438 bugfix on unit tests introduced in 0.2.8.1-alpha
18439 through 0.2.9.4-alpha.
18441 o Code simplification and refactoring:
18442 - Refactor code to manipulate global_origin_circuit_list into
18443 separate functions. Closes ticket 20921.
18445 o Documentation (formatting):
18446 - Clean up formatting of tor.1 man page and HTML doc, where <pre>
18447 blocks were incorrectly appearing. Closes ticket 20885.
18449 o Documentation (man page):
18450 - Clarify many options in tor.1 and add some min/max values for
18451 HiddenService options. Closes ticket 21058.
18454 Changes in version 0.2.9.9 - 2017-01-23
18455 Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
18456 cause relays and clients to crash, even if they were not built with
18457 the --enable-expensive-hardening option. This bug affects all 0.2.9.x
18458 versions, and also affects 0.3.0.1-alpha: all relays running an affected
18459 version should upgrade.
18461 This release also resolves a client-side onion service reachability
18462 bug, and resolves a pair of small portability issues.
18464 o Major bugfixes (security):
18465 - Downgrade the "-ftrapv" option from "always on" to "only on when
18466 --enable-expensive-hardening is provided." This hardening option,
18467 like others, can turn survivable bugs into crashes -- and having
18468 it on by default made a (relatively harmless) integer overflow bug
18469 into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
18470 bugfix on 0.2.9.1-alpha.
18472 o Major bugfixes (client, onion service):
18473 - Fix a client-side onion service reachability bug, where multiple
18474 socks requests to an onion service (or a single slow request)
18475 could cause us to mistakenly mark some of the service's
18476 introduction points as failed, and we cache that failure so
18477 eventually we run out and can't reach the service. Also resolves a
18478 mysterious "Remote server sent bogus reason code 65021" log
18479 warning. The bug was introduced in ticket 17218, where we tried to
18480 remember the circuit end reason as a uint16_t, which mangled
18481 negative values. Partially fixes bug 21056 and fixes bug 20307;
18482 bugfix on 0.2.8.1-alpha.
18484 o Minor features (geoip):
18485 - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
18488 o Minor bugfixes (portability):
18489 - Avoid crashing when Tor is built using headers that contain
18490 CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
18491 without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
18493 - Fix Libevent detection on platforms without Libevent 1 headers
18494 installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
18497 Changes in version 0.3.0.1-alpha - 2016-12-19
18498 Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
18499 series. It strengthens Tor's link and circuit handshakes by
18500 identifying relays by their Ed25519 keys, improves the algorithm that
18501 clients use to choose and maintain their list of guards, and includes
18502 additional backend support for the next-generation hidden service
18503 design. It also contains numerous other small features and
18504 improvements to security, correctness, and performance.
18506 Below are the changes since 0.2.9.8.
18508 o Major features (guard selection algorithm):
18509 - Tor's guard selection algorithm has been redesigned from the
18510 ground up, to better support unreliable networks and restrictive
18511 sets of entry nodes, and to better resist guard-capture attacks by
18512 hostile local networks. Implements proposal 271; closes
18515 o Major features (next-generation hidden services):
18516 - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
18517 prop224 aka "Next Generation Hidden Services". Service and clients
18518 don't use this functionality yet. Closes ticket 19043. Based on
18519 initial code by Alec Heifetz.
18520 - Relays now support the HSDir version 3 protocol, so that they can
18521 can store and serve v3 descriptors. This is part of the next-
18522 generation onion service work detailed in proposal 224. Closes
18525 o Major features (protocol, ed25519 identity keys):
18526 - Relays now use Ed25519 to prove their Ed25519 identities and to
18527 one another, and to clients. This algorithm is faster and more
18528 secure than the RSA-based handshake we've been doing until now.
18529 Implements the second big part of proposal 220; Closes
18531 - Clients now support including Ed25519 identity keys in the EXTEND2
18532 cells they generate. By default, this is controlled by a consensus
18533 parameter, currently disabled. You can turn this feature on for
18534 testing by setting ExtendByEd25519ID in your configuration. This
18535 might make your traffic appear different than the traffic
18536 generated by other users, however. Implements part of ticket
18537 15056; part of proposal 220.
18538 - Relays now understand requests to extend to other relays by their
18539 Ed25519 identity keys. When an Ed25519 identity key is included in
18540 an EXTEND2 cell, the relay will only extend the circuit if the
18541 other relay can prove ownership of that identity. Implements part
18542 of ticket 15056; part of proposal 220.
18544 o Major bugfixes (scheduler):
18545 - Actually compare circuit policies in ewma_cmp_cmux(). This bug
18546 caused the channel scheduler to behave more or less randomly,
18547 rather than preferring channels with higher-priority circuits.
18548 Fixes bug 20459; bugfix on 0.2.6.2-alpha.
18550 o Minor features (controller):
18551 - When HSFETCH arguments cannot be parsed, say "Invalid argument"
18552 rather than "unrecognized." Closes ticket 20389; patch from
18555 o Minor features (diagnostic, directory client):
18556 - Warn when we find an unexpected inconsistency in directory
18557 download status objects. Prevents some negative consequences of
18560 o Minor features (directory authority):
18561 - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
18562 default) to control whether authorities should try to probe relays
18563 by their Ed25519 link keys. This option will go away in a few
18564 releases--unless we encounter major trouble in our ed25519 link
18565 protocol rollout, in which case it will serve as a safety option.
18567 o Minor features (directory cache):
18568 - Relays and bridges will now refuse to serve the consensus they
18569 have if they know it is too old for a client to use. Closes
18572 o Minor features (ed25519 link handshake):
18573 - Advertise support for the ed25519 link handshake using the
18574 subprotocol-versions mechanism, so that clients can tell which
18575 relays can identity themselves by Ed25519 ID. Closes ticket 20552.
18577 o Minor features (fingerprinting resistance, authentication):
18578 - Extend the length of RSA keys used for TLS link authentication to
18579 2048 bits. (These weren't used for forward secrecy; for forward
18580 secrecy, we used P256.) Closes ticket 13752.
18582 o Minor features (infrastructure):
18583 - Implement smartlist_add_strdup() function. Replaces the use of
18584 smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
18586 o Minor bugfixes (client):
18587 - When clients that use bridges start up with a cached consensus on
18588 disk, they were ignoring it and downloading a new one. Now they
18589 use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
18591 o Minor bugfixes (configuration):
18592 - Accept non-space whitespace characters after the severity level in
18593 the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
18594 - Support "TByte" and "TBytes" units in options given in bytes.
18595 "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
18596 supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
18598 o Minor bugfixes (consensus weight):
18599 - Add new consensus method that initializes bw weights to 1 instead
18600 of 0. This prevents a zero weight from making it all the way to
18601 the end (happens in small testing networks) and causing an error.
18602 Fixes bug 14881; bugfix on 0.2.2.17-alpha.
18604 o Minor bugfixes (descriptors):
18605 - Correctly recognise downloaded full descriptors as valid, even
18606 when using microdescriptors as circuits. This affects clients with
18607 FetchUselessDescriptors set, and may affect directory authorities.
18608 Fixes bug 20839; bugfix on 0.2.3.2-alpha.
18610 o Minor bugfixes (directory system):
18611 - Download all consensus flavors, descriptors, and authority
18612 certificates when FetchUselessDescriptors is set, regardless of
18613 whether tor is a directory cache or not. Fixes bug 20667; bugfix
18614 on all recent tor versions.
18615 - Bridges and relays now use microdescriptors (like clients do)
18616 rather than old-style router descriptors. Now bridges will blend
18617 in with clients in terms of the circuits they build. Fixes bug
18618 6769; bugfix on 0.2.3.2-alpha.
18620 o Minor bugfixes (ed25519 certificates):
18621 - Correctly interpret ed25519 certificates that would expire some
18622 time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
18624 o Minor bugfixes (hidden services):
18625 - Stop ignoring misconfigured hidden services. Instead, refuse to
18626 start tor until the misconfigurations have been corrected. Fixes
18627 bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
18630 o Minor bugfixes (memory leak at exit):
18631 - Fix a small harmless memory leak at exit of the previously unused
18632 RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
18635 o Minor bugfixes (util):
18636 - When finishing writing a file to disk, if we were about to replace
18637 the file with the temporary file created before and we fail to
18638 replace it, remove the temporary file so it doesn't stay on disk.
18639 Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
18641 o Minor bugfixes (Windows):
18642 - Check for getpagesize before using it to mmap files. This fixes
18643 compilation in some MinGW environments. Fixes bug 20530; bugfix on
18644 0.1.2.1-alpha. Reported by "ice".
18646 o Code simplification and refactoring:
18647 - Abolish all global guard context in entrynodes.c; replace with new
18648 guard_selection_t structure as preparation for proposal 271.
18649 Closes ticket 19858.
18650 - Introduce rend_service_is_ephemeral() that tells if given onion
18651 service is ephemeral. Replace unclear NULL-checkings for service
18652 directory with this function. Closes ticket 20526.
18653 - Extract magic numbers in circuituse.c into defined variables.
18654 - Refactor circuit_is_available_for_use to remove unnecessary check.
18655 - Refactor circuit_predict_and_launch_new for readability and
18656 testability. Closes ticket 18873.
18657 - Refactor large if statement in purpose_needs_anonymity to use
18658 switch statement instead. Closes part of ticket 20077.
18659 - Refactor the hashing API to return negative values for errors, as
18660 is done as throughout the codebase. Closes ticket 20717.
18661 - Remove data structures that were used to index or_connection
18662 objects by their RSA identity digests. These structures are fully
18663 redundant with the similar structures used in the
18664 channel abstraction.
18665 - Remove duplicate code in the channel_write_*cell() functions.
18666 Closes ticket 13827; patch from Pingl.
18667 - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
18668 use only purpose_needs_anonymity. Closes part of ticket 20077.
18669 - The code to generate and parse EXTEND and EXTEND2 cells has been
18670 replaced with code automatically generated by the
18674 - Include the "TBits" unit in Tor's man page. Fixes part of bug
18675 20622; bugfix on 0.2.5.1-alpha.
18676 - Change '1' to 'weight_scale' in consensus bw weights calculation
18677 comments, as that is reality. Closes ticket 20273. Patch
18679 - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
18680 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
18682 - Stop the man page from incorrectly stating that HiddenServiceDir
18683 must already exist. Fixes 20486.
18684 - Clarify that when ClientRejectInternalAddresses is enabled (which
18685 is the default), multicast DNS hostnames for machines on the local
18686 network (of the form *.local) are also rejected. Closes
18689 o Removed features:
18690 - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
18691 limit for relays running on a single IP applies to authority IP
18692 addresses as well as to non-authority IP addresses. Closes
18694 - The UseDirectoryGuards torrc option no longer exists: all users
18695 that use entry guards will also use directory guards. Related to
18696 proposal 271; implements part of ticket 20831.
18699 - New unit tests for tor_htonll(). Closes ticket 19563. Patch
18700 from "overcaffeinated".
18701 - Perform the coding style checks when running the tests and fail
18702 when coding style violations are found. Closes ticket 5500.
18703 - Add tests for networkstatus_compute_bw_weights_v10.
18704 - Add unit tests circuit_predict_and_launch_new.
18705 - Extract dummy_origin_circuit_new so it can be used by other
18709 Changes in version 0.2.8.12 - 2016-12-19
18710 Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
18711 below) where Tor clients could crash when attempting to visit a
18712 hostile hidden service. Clients are recommended to upgrade as packages
18713 become available for their systems.
18715 It also includes an updated list of fallback directories, backported
18718 Now that the Tor 0.2.9 series is stable, only major bugfixes will be
18719 backported to 0.2.8 in the future.
18721 o Major bugfixes (parsing, security, backported from 0.2.9.8):
18722 - Fix a bug in parsing that could cause clients to read a single
18723 byte past the end of an allocated region. This bug could be used
18724 to cause hardened clients (built with --enable-expensive-hardening)
18725 to crash if they tried to visit a hostile hidden service. Non-
18726 hardened clients are only affected depending on the details of
18727 their platform's memory allocator. Fixes bug 21018; bugfix on
18728 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
18729 2016-12-002 and as CVE-2016-1254.
18731 o Minor features (fallback directory list, backported from 0.2.9.8):
18732 - Replace the 81 remaining fallbacks of the 100 originally
18733 introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
18734 fallbacks (123 new, 54 existing, 27 removed) generated in December
18735 2016. Resolves ticket 20170.
18737 o Minor features (geoip, backported from 0.2.9.7-rc):
18738 - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
18742 Changes in version 0.2.9.8 - 2016-12-19
18743 Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
18745 The Tor 0.2.9 series makes mandatory a number of security features
18746 that were formerly optional. It includes support for a new shared-
18747 randomness protocol that will form the basis for next generation
18748 hidden services, includes a single-hop hidden service mode for
18749 optimizing .onion services that don't actually want to be hidden,
18750 tries harder not to overload the directory authorities with excessive
18751 downloads, and supports a better protocol versioning scheme for
18752 improved compatibility with other implementations of the Tor protocol.
18754 And of course, there are numerous other bugfixes and improvements.
18756 This release also includes a fix for a medium-severity issue (bug
18757 21018 below) where Tor clients could crash when attempting to visit a
18758 hostile hidden service. Clients are recommended to upgrade as packages
18759 become available for their systems.
18761 Below are the changes since 0.2.9.7-rc. For a list of all changes
18762 since 0.2.8, see the ReleaseNotes file.
18764 o Major bugfixes (parsing, security):
18765 - Fix a bug in parsing that could cause clients to read a single
18766 byte past the end of an allocated region. This bug could be used
18767 to cause hardened clients (built with --enable-expensive-hardening)
18768 to crash if they tried to visit a hostile hidden service. Non-
18769 hardened clients are only affected depending on the details of
18770 their platform's memory allocator. Fixes bug 21018; bugfix on
18771 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
18772 2016-12-002 and as CVE-2016-1254.
18774 o Minor features (fallback directory list):
18775 - Replace the 81 remaining fallbacks of the 100 originally
18776 introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
18777 fallbacks (123 new, 54 existing, 27 removed) generated in December
18778 2016. Resolves ticket 20170.
18781 Changes in version 0.2.9.7-rc - 2016-12-12
18782 Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
18783 including a few that had prevented tests from passing on
18786 o Minor features (geoip):
18787 - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
18790 o Minor bugfix (build):
18791 - The current Git revision when building from a local repository is
18792 now detected correctly when using git worktrees. Fixes bug 20492;
18793 bugfix on 0.2.3.9-alpha.
18795 o Minor bugfixes (directory authority):
18796 - When computing old Tor protocol line version in protover, we were
18797 looking at 0.2.7.5 twice instead of a specific case for
18798 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
18800 o Minor bugfixes (download scheduling):
18801 - Resolve a "bug" warning when considering a download schedule whose
18802 delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
18804 o Minor bugfixes (logging):
18805 - Downgrade a harmless log message about the
18806 pending_entry_connections list from "warn" to "info". Mitigates
18809 o Minor bugfixes (memory leak):
18810 - Fix a small memory leak when receiving AF_UNIX connections on a
18811 SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
18812 - When moving a signed descriptor object from a source to an
18813 existing destination, free the allocated memory inside that
18814 destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
18816 o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
18817 - Fix a memory leak and use-after-free error when removing entries
18818 from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
18819 0.2.5.5-alpha. Patch from "cypherpunks".
18821 o Minor bugfixes (portability):
18822 - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
18823 Fixes bug 20935; bugfix on 0.2.9.6-rc.
18825 o Minor bugfixes (unit tests):
18826 - Stop expecting NetBSD unit tests to report success for ipfw. Part
18827 of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
18828 - Fix tolerances in unit tests for monotonic time comparisons
18829 between nanoseconds and microseconds. Previously, we accepted a 10
18830 us difference only, which is not realistic on every platform's
18831 clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
18832 - Remove a double-free in the single onion service unit test. Stop
18833 ignoring a return value. Make future changes less error-prone.
18834 Fixes bug 20864; bugfix on 0.2.9.6-rc.
18837 Changes in version 0.2.8.11 - 2016-12-08
18838 Tor 0.2.8.11 backports fixes for additional portability issues that
18839 could prevent Tor from building correctly on OSX Sierra, or with
18840 OpenSSL 1.1. Affected users should upgrade; others can safely stay
18843 o Minor bugfixes (portability):
18844 - Avoid compilation errors when building on OSX Sierra. Sierra began
18845 to support the getentropy() and clock_gettime() APIs, but created
18846 a few problems in doing so. Tor 0.2.9 has a more thorough set of
18847 workarounds; in 0.2.8, we are just using the /dev/urandom and mach
18848 monotonic time interfaces. Fixes bug 20865. Bugfix
18851 o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
18852 - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
18853 architectures. Closes ticket 20588.
18856 Changes in version 0.2.8.10 - 2016-12-02
18857 Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
18858 unusable after they left standby mode. It also backports fixes for
18859 a few portability issues and a small but problematic memory leak.
18861 o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
18862 - When Tor leaves standby because of a new application request, open
18863 circuits as needed to serve that request. Previously, we would
18864 potentially wait a very long time. Fixes part of bug 19969; bugfix
18867 o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
18868 - Clients now respond to new application stream requests immediately
18869 when they arrive, rather than waiting up to one second before
18870 starting to handle them. Fixes part of bug 19969; bugfix
18873 o Minor bugfixes (portability, backport from 0.2.9.6-rc):
18874 - Work around a bug in the OSX 10.12 SDK that would prevent us from
18875 successfully targeting earlier versions of OSX. Resolves
18878 o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
18879 - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
18880 20551; bugfix on 0.2.1.1-alpha.
18882 o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
18883 - Work around a memory leak in OpenSSL 1.1 when encoding public
18884 keys. Fixes bug 20553; bugfix on 0.0.2pre8.
18886 o Minor features (geoip):
18887 - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
18890 Changes in version 0.2.9.6-rc - 2016-12-02
18891 Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
18892 version. We hope that it will be ready to become stable soon, and we
18893 encourage everyone to test this release. If no showstopper bugs are
18894 found here, the next 0.2.9 release will be stable.
18896 o Major bugfixes (relay, resolver, logging):
18897 - For relays that don't know their own address, avoid attempting a
18898 local hostname resolve for each descriptor we download. This
18899 will cut down on the number of "Success: chose address 'x.x.x.x'"
18900 log lines, and also avoid confusing clock jumps if the resolver
18901 is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
18903 o Minor bugfixes (client, fascistfirewall):
18904 - Avoid spurious warnings when ReachableAddresses or FascistFirewall
18905 is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
18907 o Minor bugfixes (hidden services):
18908 - Stop ignoring the anonymity status of saved keys for hidden
18909 services and single onion services when first starting tor.
18910 Instead, refuse to start tor if any hidden service key has been
18911 used in a different hidden service anonymity mode. Fixes bug
18912 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
18914 o Minor bugfixes (portability):
18915 - Work around a bug in the OSX 10.12 SDK that would prevent us from
18916 successfully targeting earlier versions of OSX. Resolves
18918 - Run correctly when built on Windows build environments that
18919 require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
18921 o Minor bugfixes (single onion services, Tor2web):
18922 - Stop complaining about long-term one-hop circuits deliberately
18923 created by single onion services and Tor2web. These log messages
18924 are intended to diagnose issue 8387, which relates to circuits
18925 hanging around forever for no reason. Fixes bug 20613; bugfix on
18926 0.2.9.1-alpha. Reported by "pastly".
18928 o Minor bugfixes (unit tests):
18929 - Stop spurious failures in the local interface address discovery
18930 unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
18934 - Correct the minimum bandwidth value in torrc.sample, and queue a
18935 corresponding change for torrc.minimal. Closes ticket 20085.
18938 Changes in version 0.2.9.5-alpha - 2016-11-08
18939 Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
18940 version. We believe one or two probably remain, and we encourage
18941 everyone to test this release.
18943 o Major bugfixes (client performance):
18944 - Clients now respond to new application stream requests immediately
18945 when they arrive, rather than waiting up to one second before
18946 starting to handle them. Fixes part of bug 19969; bugfix
18949 o Major bugfixes (client reliability):
18950 - When Tor leaves standby because of a new application request, open
18951 circuits as needed to serve that request. Previously, we would
18952 potentially wait a very long time. Fixes part of bug 19969; bugfix
18955 o Major bugfixes (download scheduling):
18956 - When using an exponential backoff schedule, do not give up on
18957 downloading just because we have failed a bunch of times. Since
18958 each delay is longer than the last, retrying indefinitely won't
18959 hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
18960 - If a consensus expires while we are waiting for certificates to
18961 download, stop waiting for certificates.
18962 - If we stop waiting for certificates less than a minute after we
18963 started downloading them, do not consider the certificate download
18964 failure a separate failure. Fixes bug 20533; bugfix
18966 - Remove the maximum delay on exponential-backoff scheduling. Since
18967 we now allow an infinite number of failures (see ticket 20536), we
18968 must now allow the time to grow longer on each failure. Fixes part
18969 of bug 20534; bugfix on 0.2.9.1-alpha.
18970 - Make our initial download delays closer to those from 0.2.8. Fixes
18971 another part of bug 20534; bugfix on 0.2.9.1-alpha.
18972 - When determining when to download a directory object, handle times
18973 after 2038 if the operating system supports them. (Someday this
18974 will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
18975 - When using exponential backoff in test networks, use a lower
18976 exponent, so the delays do not vary as much. This helps test
18977 networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
18979 o Minor features (geoip):
18980 - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
18983 o Minor bugfixes (client directory scheduling):
18984 - Treat "relay too busy to answer request" as a failed request and a
18985 reason to back off on our retry frequency. This is safe now that
18986 exponential backoffs retry indefinitely, and avoids a bug where we
18987 would reset our download schedule erroneously. Fixes bug 20593;
18988 bugfix on 0.2.9.1-alpha.
18990 o Minor bugfixes (client, logging):
18991 - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
18992 assume all nodes support EXTEND2. Use ntor whenever a key is
18993 available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
18994 - On DNSPort, stop logging a BUG warning on a failed hostname
18995 lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
18997 o Minor bugfixes (hidden services):
18998 - When configuring hidden services, check every hidden service
18999 directory's permissions. Previously, we only checked the last
19000 hidden service. Fixes bug 20529; bugfix the work to fix 13942
19003 o Minor bugfixes (portability):
19004 - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
19005 architectures. Closes ticket 20588.
19006 - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
19007 removed the ECDH ciphers which caused the tests to fail on
19008 platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
19009 - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
19010 20551; bugfix on 0.2.1.1-alpha.
19012 o Minor bugfixes (relay bootstrap):
19013 - Ensure relays don't make multiple connections during bootstrap.
19014 Fixes bug 20591; bugfix on 0.2.8.1-alpha.
19016 o Minor bugfixes (relay):
19017 - Work around a memory leak in OpenSSL 1.1 when encoding public
19018 keys. Fixes bug 20553; bugfix on 0.0.2pre8.
19019 - Avoid a small memory leak when informing worker threads about
19020 rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
19021 - Do not try to parallelize workers more than 16x without the user
19022 explicitly configuring us to do so, even if we do detect more than
19023 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
19025 o Minor bugfixes (single onion services):
19026 - Start correctly when creating a single onion service in a
19027 directory that did not previously exist. Fixes bug 20484; bugfix
19030 o Minor bugfixes (testing):
19031 - Avoid a unit test failure on systems with over 16 detectable CPU
19032 cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
19035 - Clarify that setting HiddenServiceNonAnonymousMode requires you to
19036 also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
19037 - Module-level documentation for several more modules. Closes
19038 tickets 19287 and 19290.
19041 Changes in version 0.2.8.9 - 2016-10-17
19042 Tor 0.2.8.9 backports a fix for a security hole in previous versions
19043 of Tor that would allow a remote attacker to crash a Tor client,
19044 hidden service, relay, or authority. All Tor users should upgrade to
19045 this version, or to 0.2.9.4-alpha. Patches will be released for older
19048 o Major features (security fixes, also in 0.2.9.4-alpha):
19049 - Prevent a class of security bugs caused by treating the contents
19050 of a buffer chunk as if they were a NUL-terminated string. At
19051 least one such bug seems to be present in all currently used
19052 versions of Tor, and would allow an attacker to remotely crash
19053 most Tor instances, especially those compiled with extra compiler
19054 hardening. With this defense in place, such bugs can't crash Tor,
19055 though we should still fix them as they occur. Closes ticket
19056 20384 (TROVE-2016-10-001).
19058 o Minor features (geoip):
19059 - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
19063 Changes in version 0.2.9.4-alpha - 2016-10-17
19064 Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
19065 that would allow a remote attacker to crash a Tor client, hidden
19066 service, relay, or authority. All Tor users should upgrade to this
19067 version, or to 0.2.8.9. Patches will be released for older versions
19070 Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
19071 previous versions of Tor, including the implementation of a feature to
19072 future- proof the Tor ecosystem against protocol changes, some bug
19073 fixes necessary for Tor Browser to use unix domain sockets correctly,
19074 and several portability improvements. We anticipate that this will be
19075 the last alpha in the Tor 0.2.9 series, and that the next release will
19076 be a release candidate.
19078 o Major features (security fixes):
19079 - Prevent a class of security bugs caused by treating the contents
19080 of a buffer chunk as if they were a NUL-terminated string. At
19081 least one such bug seems to be present in all currently used
19082 versions of Tor, and would allow an attacker to remotely crash
19083 most Tor instances, especially those compiled with extra compiler
19084 hardening. With this defense in place, such bugs can't crash Tor,
19085 though we should still fix them as they occur. Closes ticket
19086 20384 (TROVE-2016-10-001).
19088 o Major features (subprotocol versions):
19089 - Tor directory authorities now vote on a set of recommended
19090 subprotocol versions, and on a set of required subprotocol
19091 versions. Clients and relays that lack support for a _required_
19092 subprotocol version will not start; those that lack support for a
19093 _recommended_ subprotocol version will warn the user to upgrade.
19094 Closes ticket 19958; implements part of proposal 264.
19095 - Tor now uses "subprotocol versions" to indicate compatibility.
19096 Previously, versions of Tor looked at the declared Tor version of
19097 a relay to tell whether they could use a given feature. Now, they
19098 should be able to rely on its declared subprotocol versions. This
19099 change allows compatible implementations of the Tor protocol(s) to
19100 exist without pretending to be 100% bug-compatible with particular
19101 releases of Tor itself. Closes ticket 19958; implements part of
19104 o Minor feature (fallback directories):
19105 - Remove broken fallbacks from the hard-coded fallback directory
19106 list. Closes ticket 20190; patch by teor.
19108 o Minor features (client, directory):
19109 - Since authorities now omit all routers that lack the Running and
19110 Valid flags, we assume that any relay listed in the consensus must
19111 have those flags. Closes ticket 20001; implements part of
19114 o Minor features (compilation, portability):
19115 - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
19118 o Minor features (development tools, etags):
19119 - Teach the "make tags" Makefile target how to correctly find
19120 "MOCK_IMPL" function definitions. Patch from nherring; closes
19123 o Minor features (geoip):
19124 - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
19127 o Minor features (unix domain sockets):
19128 - When configuring a unix domain socket for a SocksPort,
19129 ControlPort, or Hidden service, you can now wrap the address in
19130 quotes, using C-style escapes inside the quotes. This allows unix
19131 domain socket paths to contain spaces.
19133 o Minor features (virtual addresses):
19134 - Increase the maximum number of bits for the IPv6 virtual network
19135 prefix from 16 to 104. In this way, the condition for address
19136 allocation is less restrictive. Closes ticket 20151; feature
19139 o Minor bugfixes (address discovery):
19140 - Stop reordering IP addresses returned by the OS. This makes it
19141 more likely that Tor will guess the same relay IP address every
19142 time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
19143 Reported by René Mayrhofer, patch by "cypherpunks".
19145 o Minor bugfixes (client, unix domain sockets):
19146 - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
19147 the client address is meaningless. Fixes bug 20261; bugfix
19150 o Minor bugfixes (compilation, OpenBSD):
19151 - Detect Libevent2 functions correctly on systems that provide
19152 libevent2, but where libevent1 is linked with -levent. Fixes bug
19153 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
19155 o Minor bugfixes (configuration):
19156 - When parsing quoted configuration values from the torrc file,
19157 handle windows line endings correctly. Fixes bug 19167; bugfix on
19158 0.2.0.16-alpha. Patch from "Pingl".
19160 o Minor bugfixes (getpass):
19161 - Defensively fix a non-triggerable heap corruption at do_getpass()
19162 to protect ourselves from mistakes in the future. Fixes bug
19163 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
19166 o Minor bugfixes (hidden service):
19167 - Allow hidden services to run on IPv6 addresses even when the
19168 IPv6Exit option is not set. Fixes bug 18357; bugfix
19172 - Add module-level internal documentation for 36 C files that
19173 previously didn't have a high-level overview. Closes ticket #20385.
19175 o Required libraries:
19176 - When building with OpenSSL, Tor now requires version 1.0.1 or
19177 later. OpenSSL 1.0.0 and earlier are no longer supported by the
19178 OpenSSL team, and should not be used. Closes ticket 20303.
19181 Changes in version 0.2.9.3-alpha - 2016-09-23
19182 Tor 0.2.9.3-alpha adds improved support for entities that want to make
19183 high-performance services available through the Tor .onion mechanism
19184 without themselves receiving anonymity as they host those services. It
19185 also tries harder to ensure that all steps on a circuit are using the
19186 strongest crypto possible, strengthens some TLS properties, and
19187 resolves several bugs -- including a pair of crash bugs from the 0.2.8
19188 series. Anybody running an earlier version of 0.2.9.x should upgrade.
19190 o Major bugfixes (crash, also in 0.2.8.8):
19191 - Fix a complicated crash bug that could affect Tor clients
19192 configured to use bridges when replacing a networkstatus consensus
19193 in which one of their bridges was mentioned. OpenBSD users saw
19194 more crashes here, but all platforms were potentially affected.
19195 Fixes bug 20103; bugfix on 0.2.8.2-alpha.
19197 o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
19198 - Fix a timing-dependent assertion failure that could occur when we
19199 tried to flush from a circuit after having freed its cells because
19200 of an out-of-memory condition. Fixes bug 20203; bugfix on
19201 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
19204 o Major features (circuit building, security):
19205 - Authorities, relays and clients now require ntor keys in all
19206 descriptors, for all hops (except for rare hidden service protocol
19207 cases), for all circuits, and for all other roles. Part of
19209 - Tor authorities, relays, and clients only use ntor, except for
19210 rare cases in the hidden service protocol. Part of ticket 19163.
19212 o Major features (single-hop "hidden" services):
19213 - Add experimental HiddenServiceSingleHopMode and
19214 HiddenServiceNonAnonymousMode options. When both are set to 1,
19215 every hidden service on a Tor instance becomes a non-anonymous
19216 Single Onion Service. Single Onions make one-hop (direct)
19217 connections to their introduction and rendezvous points. One-hop
19218 circuits make Single Onion servers easily locatable, but clients
19219 remain location-anonymous. This is compatible with the existing
19220 hidden service implementation, and works on the current tor
19221 network without any changes to older relays or clients. Implements
19222 proposal 260, completes ticket 17178. Patch by teor and asn.
19224 o Major features (resource management):
19225 - Tor can now notice it is about to run out of sockets, and
19226 preemptively close connections of lower priority. (This feature is
19227 off by default for now, since the current prioritizing method is
19228 yet not mature enough. You can enable it by setting
19229 "DisableOOSCheck 0", but watch out: it might close some sockets
19230 you would rather have it keep.) Closes ticket 18640.
19232 o Major bugfixes (circuit building):
19233 - Hidden service client-to-intro-point and service-to-rendezvous-
19234 point circuits use the TAP key supplied by the protocol, to avoid
19235 epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
19237 o Major bugfixes (compilation, OpenBSD):
19238 - Fix a Libevent-detection bug in our autoconf script that would
19239 prevent Tor from linking successfully on OpenBSD. Patch from
19240 rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
19242 o Major bugfixes (hidden services):
19243 - Clients now require hidden services to include the TAP keys for
19244 their intro points in the hidden service descriptor. This prevents
19245 an inadvertent upgrade to ntor, which a malicious hidden service
19246 could use to distinguish clients by consensus version. Fixes bug
19247 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
19249 o Minor features (security, TLS):
19250 - Servers no longer support clients that without AES ciphersuites.
19251 (3DES is no longer considered an acceptable cipher.) We believe
19252 that no such Tor clients currently exist, since Tor has required
19253 OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
19255 o Minor feature (fallback directories):
19256 - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
19257 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
19258 2016. Closes ticket 20190; patch by teor.
19260 o Minor features (geoip, also in 0.2.8.8):
19261 - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
19264 o Minor feature (port flags):
19265 - Add new flags to the *Port options to finer control over which
19266 requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
19267 and the synthetic flag OnionTrafficOnly, which is equivalent to
19268 NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
19269 18693; patch by "teor".
19271 o Minor features (directory authority):
19272 - After voting, if the authorities decide that a relay is not
19273 "Valid", they no longer include it in the consensus at all. Closes
19274 ticket 20002; implements part of proposal 272.
19276 o Minor features (testing):
19277 - Disable memory protections on OpenBSD when performing our unit
19278 tests for memwipe(). The test deliberately invokes undefined
19279 behavior, and the OpenBSD protections interfere with this. Patch
19280 from "rubiate". Closes ticket 20066.
19282 o Minor features (testing, ipv6):
19283 - Add the single-onion and single-onion-ipv6 chutney targets to
19284 "make test-network-all". This requires a recent chutney version
19285 with the single onion network flavours (git c72a652 or later).
19286 Closes ticket 20072; patch by teor.
19287 - Add the hs-ipv6 chutney target to make test-network-all's IPv6
19288 tests. Remove bridges+hs, as it's somewhat redundant. This
19289 requires a recent chutney version that supports IPv6 clients,
19290 relays, and authorities. Closes ticket 20069; patch by teor.
19292 o Minor features (Tor2web):
19293 - Make Tor2web clients respect ReachableAddresses. This feature was
19294 inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
19295 0.2.8.7. Implements feature 20034. Patch by teor.
19297 o Minor features (unit tests):
19298 - We've done significant work to make the unit tests run faster.
19299 - Our link-handshake unit tests now check that when invalid
19300 handshakes fail, they fail with the error messages we expected.
19301 - Our unit testing code that captures log messages no longer
19302 prevents them from being written out if the user asked for them
19303 (by passing --debug or --info or or --notice --warn to the "test"
19304 binary). This change prevents us from missing unexpected log
19305 messages simply because we were looking for others. Related to
19307 - The unit tests now log all warning messages with the "BUG" flag.
19308 Previously, they only logged errors by default. This change will
19309 help us make our testing code more correct, and make sure that we
19310 only hit this code when we mean to. In the meantime, however,
19311 there will be more warnings in the unit test logs than before.
19312 This is preparatory work for ticket 19999.
19313 - The unit tests now treat any failure of a "tor_assert_nonfatal()"
19314 assertion as a test failure.
19316 o Minor bug fixes (circuits):
19317 - Use the CircuitBuildTimeout option whenever
19318 LearnCircuitBuildTimeout is disabled. Previously, we would respect
19319 the option when a user disabled it, but not when it was disabled
19320 because some other option was set. Fixes bug 20073; bugfix on
19321 0.2.4.12-alpha. Patch by teor.
19323 o Minor bugfixes (allocation):
19324 - Change how we allocate memory for large chunks on buffers, to
19325 avoid a (currently impossible) integer overflow, and to waste less
19326 space when allocating unusually large chunks. Fixes bug 20081;
19327 bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
19328 - Always include orconfig.h before including any other C headers.
19329 Sometimes, it includes macros that affect the behavior of the
19330 standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
19331 first version to use AC_USE_SYSTEM_EXTENSIONS).
19332 - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
19333 compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
19334 Patch from Gisle Vanem.
19335 - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
19336 They apparently require a set of annotations that we aren't
19337 currently using, and they create false positives in our pthreads
19338 wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
19340 o Minor bugfixes (directory authority):
19341 - Die with a more useful error when the operator forgets to place
19342 the authority_signing_key file into the keys directory. This
19343 avoids an uninformative assert & traceback about having an invalid
19344 key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
19345 - When allowing private addresses, mark Exits that only exit to
19346 private locations as such. Fixes bug 20064; bugfix
19349 o Minor bugfixes (documentation):
19350 - Document the default PathsNeededToBuildCircuits value that's used
19351 by clients when the directory authorities don't set
19352 min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
19353 in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
19354 - Fix manual for the User option: it takes a username, not a UID.
19355 Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
19358 o Minor bugfixes (hidden services):
19359 - Stop logging intro point details to the client log on certain
19360 error conditions. Fixed as part of bug 20012; bugfix on
19361 0.2.4.8-alpha. Patch by teor.
19363 o Minor bugfixes (IPv6, testing):
19364 - Check for IPv6 correctly on Linux when running test networks.
19365 Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
19367 o Minor bugfixes (Linux seccomp2 sandbox):
19368 - Add permission to run the sched_yield() and sigaltstack() system
19369 calls, in order to support versions of Tor compiled with asan or
19370 ubsan code that use these calls. Now "sandbox 1" and
19371 "--enable-expensive-hardening" should be compatible on more
19372 systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
19374 o Minor bugfixes (logging):
19375 - When logging a message from the BUG() macro, be explicit about
19376 what we were asserting. Previously we were confusing what we were
19377 asserting with what the bug was. Fixes bug 20093; bugfix
19379 - When we are unable to remove the bw_accounting file, do not warn
19380 if the reason we couldn't remove it was that it didn't exist.
19381 Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
19383 o Minor bugfixes (option parsing):
19384 - Count unix sockets when counting client listeners (SOCKS, Trans,
19385 NATD, and DNS). This has no user-visible behaviour changes: these
19386 options are set once, and never read. Required for correct
19387 behaviour in ticket 17178. Fixes bug 19677; bugfix on
19388 0.2.6.3-alpha. Patch by teor.
19390 o Minor bugfixes (options):
19391 - Check the consistency of UseEntryGuards and EntryNodes more
19392 reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
19394 - Stop changing the configured value of UseEntryGuards on
19395 authorities and Tor2web clients. Fixes bug 20074; bugfix on
19396 commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
19399 o Minor bugfixes (Tor2web):
19400 - Prevent Tor2web clients running hidden services, these services
19401 are not anonymous due to the one-hop client paths. Fixes bug
19402 19678. Patch by teor.
19404 o Minor bugfixes (unit tests):
19405 - Fix a shared-random unit test that was failing on big endian
19406 architectures due to internal representation of a integer copied
19407 to a buffer. The test is changed to take a full 32 bytes of data
19408 and use the output of a python script that make the COMMIT and
19409 REVEAL calculation according to the spec. Fixes bug 19977; bugfix
19411 - The tor_tls_server_info_callback unit test no longer crashes when
19412 debug-level logging is turned on. Fixes bug 20041; bugfix
19416 Changes in version 0.2.8.8 - 2016-09-23
19417 Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
19418 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
19419 who select public relays as their bridges.
19421 o Major bugfixes (crash):
19422 - Fix a complicated crash bug that could affect Tor clients
19423 configured to use bridges when replacing a networkstatus consensus
19424 in which one of their bridges was mentioned. OpenBSD users saw
19425 more crashes here, but all platforms were potentially affected.
19426 Fixes bug 20103; bugfix on 0.2.8.2-alpha.
19428 o Major bugfixes (relay, OOM handler):
19429 - Fix a timing-dependent assertion failure that could occur when we
19430 tried to flush from a circuit after having freed its cells because
19431 of an out-of-memory condition. Fixes bug 20203; bugfix on
19432 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
19435 o Minor feature (fallback directories):
19436 - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
19437 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
19438 2016. Closes ticket 20190; patch by teor.
19440 o Minor features (geoip):
19441 - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
19445 Changes in version 0.2.9.2-alpha - 2016-08-24
19446 Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
19447 several new features and bugfixes. It also includes an important
19448 authority update and an important bugfix from 0.2.8.7. Everyone who
19449 sets the ReachableAddresses option, and all bridges, are strongly
19450 encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
19452 o Directory authority changes (also in 0.2.8.7):
19453 - The "Tonga" bridge authority has been retired; the new bridge
19454 authority is "Bifroest". Closes tickets 19728 and 19690.
19456 o Major bugfixes (client, security, also in 0.2.8.7):
19457 - Only use the ReachableAddresses option to restrict the first hop
19458 in a path. In earlier versions of 0.2.8.x, it would apply to
19459 every hop in the path, with a possible degradation in anonymity
19460 for anyone using an uncommon ReachableAddress setting. Fixes bug
19461 19973; bugfix on 0.2.8.2-alpha.
19463 o Major features (user interface):
19464 - Tor now supports the ability to declare options deprecated, so
19465 that we can recommend that people stop using them. Previously,
19466 this was done in an ad-hoc way. Closes ticket 19820.
19468 o Major bugfixes (directory downloads):
19469 - Avoid resetting download status for consensuses hourly, since we
19470 already have another, smarter retry mechanism. Fixes bug 8625;
19471 bugfix on 0.2.0.9-alpha.
19473 o Minor features (config):
19474 - Warn users when descriptor and port addresses are inconsistent.
19475 Mitigates bug 13953; patch by teor.
19477 o Minor features (geoip):
19478 - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
19481 o Minor features (user interface):
19482 - There is a new --list-deprecated-options command-line option to
19483 list all of the deprecated options. Implemented as part of
19486 o Minor bugfixes (code style):
19487 - Fix an integer signedness conversion issue in the case conversion
19488 tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
19490 o Minor bugfixes (compilation):
19491 - Build correctly on versions of libevent2 without support for
19492 evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
19494 - Fix a compilation warning on GCC versions before 4.6. Our
19495 ENABLE_GCC_WARNING macro used the word "warning" as an argument,
19496 when it is also required as an argument to the compiler pragma.
19497 Fixes bug 19901; bugfix on 0.2.9.1-alpha.
19499 o Minor bugfixes (compilation, also in 0.2.8.7):
19500 - Remove an inappropriate "inline" in tortls.c that was causing
19501 warnings on older versions of GCC. Fixes bug 19903; bugfix
19504 o Minor bugfixes (fallback directories, also in 0.2.8.7):
19505 - Avoid logging a NULL string pointer when loading fallback
19506 directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
19507 and 0.2.8.1-alpha. Report and patch by "rubiate".
19509 o Minor bugfixes (logging):
19510 - Log a more accurate message when we fail to dump a microdescriptor.
19511 Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
19513 o Minor bugfixes (memory leak):
19514 - Fix a series of slow memory leaks related to parsing torrc files
19515 and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
19517 o Deprecated features:
19518 - A number of DNS-cache-related sub-options for client ports are now
19519 deprecated for security reasons, and may be removed in a future
19520 version of Tor. (We believe that client-side DNS caching is a bad
19521 idea for anonymity, and you should not turn it on.) The options
19522 are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
19523 UseIPv4Cache, and UseIPv6Cache.
19524 - A number of options are deprecated for security reasons, and may
19525 be removed in a future version of Tor. The options are:
19526 AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
19527 AllowSingleHopExits, ClientDNSRejectInternalAddresses,
19528 CloseHSClientCircuitsImmediatelyOnTimeout,
19529 CloseHSServiceRendCircuitsImmediatelyOnTimeout,
19530 ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
19531 UseNTorHandshake, and WarnUnsafeSocks.
19532 - The *ListenAddress options are now deprecated as unnecessary: the
19533 corresponding *Port options should be used instead. These options
19534 may someday be removed. The affected options are:
19535 ControlListenAddress, DNSListenAddress, DirListenAddress,
19536 NATDListenAddress, ORListenAddress, SocksListenAddress,
19537 and TransListenAddress.
19540 - Correct the IPv6 syntax in our documentation for the
19541 VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
19544 - We no longer include the (dead, deprecated) bufferevent code in
19545 Tor. Closes ticket 19450. Based on a patch from U+039b.
19548 Changes in version 0.2.8.7 - 2016-08-24
19549 Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
19550 option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
19551 who sets the ReachableAddresses option, and all bridges, are strongly
19552 encouraged to upgrade.
19554 o Directory authority changes:
19555 - The "Tonga" bridge authority has been retired; the new bridge
19556 authority is "Bifroest". Closes tickets 19728 and 19690.
19558 o Major bugfixes (client, security):
19559 - Only use the ReachableAddresses option to restrict the first hop
19560 in a path. In earlier versions of 0.2.8.x, it would apply to
19561 every hop in the path, with a possible degradation in anonymity
19562 for anyone using an uncommon ReachableAddress setting. Fixes bug
19563 19973; bugfix on 0.2.8.2-alpha.
19565 o Minor features (geoip):
19566 - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
19569 o Minor bugfixes (compilation):
19570 - Remove an inappropriate "inline" in tortls.c that was causing
19571 warnings on older versions of GCC. Fixes bug 19903; bugfix
19574 o Minor bugfixes (fallback directories):
19575 - Avoid logging a NULL string pointer when loading fallback
19576 directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
19577 and 0.2.8.1-alpha. Report and patch by "rubiate".
19580 Changes in version 0.2.9.1-alpha - 2016-08-08
19581 Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
19582 series. It improves our support for hardened builds and compiler
19583 warnings, deploys some critical infrastructure for improvements to
19584 hidden services, includes a new timing backend that we hope to use for
19585 better support for traffic padding, makes it easier for programmers to
19586 log unexpected events, and contains other small improvements to
19587 security, correctness, and performance.
19589 Below are the changes since 0.2.8.6.
19591 o New system requirements:
19592 - Tor now requires Libevent version 2.0.10-stable or later. Older
19593 versions of Libevent have less efficient backends for several
19594 platforms, and lack the DNS code that we use for our server-side
19595 DNS support. This implements ticket 19554.
19596 - Tor now requires zlib version 1.2 or later, for security,
19597 efficiency, and (eventually) gzip support. (Back when we started,
19598 zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
19599 released in 2003. We recommend the latest version.)
19601 o Major features (build, hardening):
19602 - Tor now builds with -ftrapv by default on compilers that support
19603 it. This option detects signed integer overflow (which C forbids),
19604 and turns it into a hard-failure. We do not apply this option to
19605 code that needs to run in constant time to avoid side-channels;
19606 instead, we use -fwrapv in that code. Closes ticket 17983.
19607 - When --enable-expensive-hardening is selected, stop applying the
19608 clang/gcc sanitizers to code that needs to run in constant time.
19609 Although we are aware of no introduced side-channels, we are not
19610 able to prove that there are none. Related to ticket 17983.
19612 o Major features (compilation):
19613 - Our big list of extra GCC warnings is now enabled by default when
19614 building with GCC (or with anything like Clang that claims to be
19615 GCC-compatible). To make all warnings into fatal compilation
19616 errors, pass --enable-fatal-warnings to configure. Closes
19618 - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
19619 turn on C and POSIX extensions. (Previously, we attempted to do
19620 this on an ad hoc basis.) Closes ticket 19139.
19622 o Major features (directory authorities, hidden services):
19623 - Directory authorities can now perform the shared randomness
19624 protocol specified by proposal 250. Using this protocol, directory
19625 authorities generate a global fresh random value every day. In the
19626 future, this value will be used by hidden services to select
19627 HSDirs. This release implements the directory authority feature;
19628 the hidden service side will be implemented in the future as part
19629 of proposal 224. Resolves ticket 16943; implements proposal 250.
19631 o Major features (downloading, random exponential backoff):
19632 - When we fail to download an object from a directory service, wait
19633 for an (exponentially increasing) randomized amount of time before
19634 retrying, rather than a fixed interval as we did before. This
19635 prevents a group of Tor instances from becoming too synchronized,
19636 or a single Tor instance from becoming too predictable, in its
19637 download schedule. Closes ticket 15942.
19639 o Major bugfixes (exit policies):
19640 - Avoid disclosing exit outbound bind addresses, configured port
19641 bind addresses, and local interface addresses in relay descriptors
19642 by default under ExitPolicyRejectPrivate. Instead, only reject
19643 these (otherwise unlisted) addresses if
19644 ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
19645 0.2.7.2-alpha. Patch by teor.
19647 o Major bugfixes (hidden service client):
19648 - Allow Tor clients with appropriate controllers to work with
19649 FetchHidServDescriptors set to 0. Previously, this option also
19650 disabled descriptor cache lookup, thus breaking hidden services
19651 entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
19653 o Minor features (build, hardening):
19654 - Detect and work around a libclang_rt problem that would prevent
19655 clang from finding __mulodi4() on some 32-bit platforms, and thus
19656 keep -ftrapv from linking on those systems. Closes ticket 19079.
19657 - When building on a system without runtime support for the runtime
19658 hardening options, try to log a useful warning at configuration
19659 time, rather than an incomprehensible warning at link time. If
19660 expensive hardening was requested, this warning becomes an error.
19661 Closes ticket 18895.
19663 o Minor features (code safety):
19664 - In our integer-parsing functions, ensure that maxiumum value we
19665 give is no smaller than the minimum value. Closes ticket 19063;
19668 o Minor features (controller):
19669 - Implement new GETINFO queries for all downloads that use
19670 download_status_t to schedule retries. This allows controllers to
19671 examine the schedule for pending downloads. Closes ticket 19323.
19672 - Allow controllers to configure basic client authorization on
19673 hidden services when they create them with the ADD_ONION control
19674 command. Implements ticket 15588. Patch by "special".
19675 - Fire a STATUS_SERVER controller event whenever the hibernation
19676 status changes between "awake"/"soft"/"hard". Closes ticket 18685.
19678 o Minor features (directory authority):
19679 - Directory authorities now only give the Guard flag to a relay if
19680 they are also giving it the Stable flag. This change allows us to
19681 simplify path selection for clients. It should have minimal effect
19682 in practice, since >99% of Guards already have the Stable flag.
19683 Implements ticket 18624.
19684 - Directory authorities now write their v3-status-votes file out to
19685 disk earlier in the consensus process, so we have a record of the
19686 votes even if we abort the consensus process. Resolves
19689 o Minor features (hidden service):
19690 - Stop being so strict about the payload length of "rendezvous1"
19691 cells. We used to be locked in to the "TAP" handshake length, and
19692 now we can handle better handshakes like "ntor". Resolves
19695 o Minor features (infrastructure, time):
19696 - Tor now uses the operating system's monotonic timers (where
19697 available) for internal fine-grained timing. Previously we would
19698 look at the system clock, and then attempt to compensate for the
19699 clock running backwards. Closes ticket 18908.
19700 - Tor now includes an improved timer backend, so that we can
19701 efficiently support tens or hundreds of thousands of concurrent
19702 timers, as will be needed for some of our planned anti-traffic-
19703 analysis work. This code is based on William Ahern's "timeout.c"
19704 project, which implements a "tickless hierarchical timing wheel".
19705 Closes ticket 18365.
19707 o Minor features (logging):
19708 - Provide a more useful warning message when configured with an
19709 invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
19710 - When dumping unparseable router descriptors, optionally store them
19711 in separate files, named by digest, up to a configurable size
19712 limit. You can change the size limit by setting the
19713 MaxUnparseableDescSizeToLog option, and disable this feature by
19714 setting that option to 0. Closes ticket 18322.
19715 - Add a set of macros to check nonfatal assertions, for internal
19716 use. Migrating more of our checks to these should help us avoid
19717 needless crash bugs. Closes ticket 18613.
19719 o Minor features (performance):
19720 - Change the "optimistic data" extension from "off by default" to
19721 "on by default". The default was ordinarily overridden by a
19722 consensus option, but when clients were bootstrapping for the
19723 first time, they would not have a consensus to get the option
19724 from. Changing this default saves a round-trip during startup.
19725 Closes ticket 18815.
19727 o Minor features (relay, usability):
19728 - When the directory authorities refuse a bad relay's descriptor,
19729 encourage the relay operator to contact us. Many relay operators
19730 won't notice this line in their logs, but it's a win if even a few
19731 learn why we don't like what their relay was doing. Resolves
19734 o Minor features (testing):
19735 - Let backtrace tests work correctly under AddressSanitizer. Fixes
19736 part of bug 18934; bugfix on 0.2.5.2-alpha.
19737 - Move the test-network.sh script to chutney, and modify tor's test-
19738 network.sh to call the (newer) chutney version when available.
19739 Resolves ticket 19116. Patch by teor.
19740 - Use the lcov convention for marking lines as unreachable, so that
19741 we don't count them when we're generating test coverage data.
19742 Update our coverage tools to understand this convention. Closes
19745 o Minor bugfixes (bootstrap):
19746 - Remember the directory we fetched the consensus or previous
19747 certificates from, and use it to fetch future authority
19748 certificates. This change improves bootstrapping performance.
19749 Fixes bug 18963; bugfix on 0.2.8.1-alpha.
19751 o Minor bugfixes (build):
19752 - The test-stem and test-network makefile targets now depend only on
19753 the tor binary that they are testing. Previously, they depended on
19754 "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
19755 patch from "cypherpunks".
19757 o Minor bugfixes (circuits):
19758 - Make sure extend_info_from_router() is only called on servers.
19759 Fixes bug 19639; bugfix on 0.2.8.1-alpha.
19761 o Minor bugfixes (compilation):
19762 - When building with Clang, use a full set of GCC warnings.
19763 (Previously, we included only a subset, because of the way we
19764 detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
19766 o Minor bugfixes (directory authority):
19767 - Authorities now sort the "package" lines in their votes, for ease
19768 of debugging. (They are already sorted in consensus documents.)
19769 Fixes bug 18840; bugfix on 0.2.6.3-alpha.
19770 - When parsing a detached signature, make sure we use the length of
19771 the digest algorithm instead of an hardcoded DIGEST256_LEN in
19772 order to avoid comparing bytes out-of-bounds with a smaller digest
19773 length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
19775 o Minor bugfixes (documentation):
19776 - Document the --passphrase-fd option in the tor manpage. Fixes bug
19777 19504; bugfix on 0.2.7.3-rc.
19778 - Fix the description of the --passphrase-fd option in the
19779 tor-gencert manpage. The option is used to pass the number of a
19780 file descriptor to read the passphrase from, not to read the file
19781 descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
19783 o Minor bugfixes (ephemeral hidden service):
19784 - When deleting an ephemeral hidden service, close its intro points
19785 even if they are not completely open. Fixes bug 18604; bugfix
19788 o Minor bugfixes (guard selection):
19789 - Use a single entry guard even if the NumEntryGuards consensus
19790 parameter is not provided. Fixes bug 17688; bugfix
19792 - Don't mark guards as unreachable if connection_connect() fails.
19793 That function fails for local reasons, so it shouldn't reveal
19794 anything about the status of the guard. Fixes bug 14334; bugfix
19797 o Minor bugfixes (hidden service client):
19798 - Increase the minimum number of internal circuits we preemptively
19799 build from 2 to 3, so a circuit is available when a client
19800 connects to another onion service. Fixes bug 13239; bugfix
19803 o Minor bugfixes (logging):
19804 - When logging a directory ownership mismatch, log the owning
19805 username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
19807 o Minor bugfixes (memory leaks):
19808 - Fix a small, uncommon memory leak that could occur when reading a
19809 truncated ed25519 key file. Fixes bug 18956; bugfix
19812 o Minor bugfixes (testing):
19813 - Allow clients to retry HSDirs much faster in test networks. Fixes
19814 bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
19815 - Disable ASAN's detection of segmentation faults while running
19816 test_bt.sh, so that we can make sure that our own backtrace
19817 generation code works. Fixes another aspect of bug 18934; bugfix
19818 on 0.2.5.2-alpha. Patch from "cypherpunks".
19819 - Fix the test-network-all target on out-of-tree builds by using the
19820 correct path to the test driver script. Fixes bug 19421; bugfix
19823 o Minor bugfixes (time):
19824 - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
19825 bugfix on all released tor versions.
19826 - When computing the difference between two times in milliseconds,
19827 we now round to the nearest millisecond correctly. Previously, we
19828 could sometimes round in the wrong direction. Fixes bug 19428;
19829 bugfix on 0.2.2.2-alpha.
19831 o Minor bugfixes (user interface):
19832 - Display a more accurate number of suppressed messages in the log
19833 rate-limiter. Previously, there was a potential integer overflow
19834 in the counter. Now, if the number of messages hits a maximum, the
19835 rate-limiter doesn't count any further. Fixes bug 19435; bugfix
19837 - Fix a typo in the passphrase prompt for the ed25519 identity key.
19838 Fixes bug 19503; bugfix on 0.2.7.2-alpha.
19840 o Code simplification and refactoring:
19841 - Remove redundant declarations of the MIN macro. Closes
19843 - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
19844 Closes ticket 18462; patch from "icanhasaccount".
19845 - Split the 600-line directory_handle_command_get function into
19846 separate functions for different URL types. Closes ticket 16698.
19849 - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
19850 ticket 19153. Patch from "U+039b".
19852 o Removed features:
19853 - Remove support for "GET /tor/bytes.txt" DirPort request, and
19854 "GETINFO dir-usage" controller request, which were only available
19855 via a compile-time option in Tor anyway. Feature was added in
19856 0.2.2.1-alpha. Resolves ticket 19035.
19857 - There is no longer a compile-time option to disable support for
19858 TransPort. (If you don't want TransPort; just don't use it.) Patch
19859 from "U+039b". Closes ticket 19449.
19862 - Run more workqueue tests as part of "make check". These had
19863 previously been implemented, but you needed to know special
19864 command-line options to enable them.
19865 - We now have unit tests for our code to reject zlib "compression
19866 bombs". (Fortunately, the code works fine.)
19869 Changes in version 0.2.8.6 - 2016-08-02
19871 Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
19873 The Tor 0.2.8 series improves client bootstrapping performance,
19874 completes the authority-side implementation of improved identity
19875 keys for relays, and includes numerous bugfixes and performance
19876 improvements throughout the program. This release continues to
19877 improve the coverage of Tor's test suite. For a full list of
19878 changes since Tor 0.2.7, see the ReleaseNotes file.
19880 Changes since 0.2.8.5-rc:
19882 o Minor features (geoip):
19883 - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
19886 o Minor bugfixes (compilation):
19887 - Fix a compilation warning in the unit tests on systems where char
19888 is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
19890 o Minor bugfixes (fallback directories):
19891 - Remove 1 fallback that was on the hardcoded list, then opted-out,
19892 leaving 89 of the 100 fallbacks originally introduced in Tor
19893 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
19895 o Minor bugfixes (Linux seccomp2 sandbox):
19896 - Allow more syscalls when running with "Sandbox 1" enabled:
19897 sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
19898 some systems, these are required for Tor to start. Fixes bug
19899 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
19900 - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
19901 so that get_interface_address6_via_udp_socket_hack() can work.
19902 Fixes bug 19660; bugfix on 0.2.5.1-alpha.
19905 Changes in version 0.2.8.5-rc - 2016-07-07
19906 Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
19907 series. If we find no new bugs or regressions here, the first stable
19908 0.2.8 release will be identical to it. It has a few small bugfixes
19909 against previous versions.
19911 o Directory authority changes:
19912 - Urras is no longer a directory authority. Closes ticket 19271.
19914 o Major bugfixes (heartbeat):
19915 - Fix a regression that would crash Tor when the periodic
19916 "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
19917 0.2.8.1-alpha. Reported by "kubaku".
19919 o Minor features (build):
19920 - Tor now again builds with the recent OpenSSL 1.1 development
19921 branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
19922 - When building manual pages, set the timezone to "UTC", so that the
19923 output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
19924 Patch from intrigeri.
19926 o Minor bugfixes (fallback directory selection):
19927 - Avoid errors during fallback selection if there are no eligible
19928 fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
19931 o Minor bugfixes (IPv6, microdescriptors):
19932 - Don't check node addresses when we only have a routerstatus. This
19933 allows IPv6-only clients to bootstrap by fetching microdescriptors
19934 from fallback directory mirrors. (The microdescriptor consensus
19935 has no IPv6 addresses in it.) Fixes bug 19608; bugfix
19938 o Minor bugfixes (logging):
19939 - Reduce pointlessly verbose log messages when directory servers
19940 can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
19941 0.2.8.1-alpha. Patch by teor.
19942 - When a fallback directory changes its fingerprint from the hard-
19943 coded fingerprint, log a less severe, more explanatory log
19944 message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
19946 o Minor bugfixes (Linux seccomp2 sandboxing):
19947 - Allow statistics to be written to disk when "Sandbox 1" is
19948 enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
19949 0.2.6.1-alpha respectively.
19951 o Minor bugfixes (user interface):
19952 - Remove a warning message "Service [scrubbed] not found after
19953 descriptor upload". This message appears when one uses HSPOST
19954 control command to upload a service descriptor. Since there is
19955 only a descriptor and no service, showing this message is
19956 pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
19958 o Fallback directory list:
19959 - Add a comment to the generated fallback directory list that
19960 explains how to comment out unsuitable fallbacks in a way that's
19961 compatible with the stem fallback parser.
19962 - Update fallback whitelist and blacklist based on relay operator
19963 emails. Blacklist unsuitable (non-working, over-volatile)
19964 fallbacks. Resolves ticket 19071. Patch by teor.
19965 - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
19966 originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
19967 ticket 19071; patch by teor.
19970 Changes in version 0.2.8.4-rc - 2016-06-15
19971 Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
19972 If we find no new bugs or regressions here, the first stable 0.2.8
19973 release will be identical to it. It has a few small bugfixes against
19976 o Major bugfixes (user interface):
19977 - Correctly give a warning in the cases where a relay is specified
19978 by nickname, and one such relay is found, but it is not officially
19979 Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
19981 o Minor features (build):
19982 - Tor now builds once again with the recent OpenSSL 1.1 development
19983 branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
19985 o Minor features (geoip):
19986 - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
19989 o Minor bugfixes (compilation):
19990 - Cause the unit tests to compile correctly on mingw64 versions that
19991 lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
19993 o Minor bugfixes (downloading):
19994 - Predict more correctly whether we'll be downloading over HTTP when
19995 we determine the maximum length of a URL. This should avoid a
19996 "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
20000 Changes in version 0.2.8.3-alpha - 2016-05-26
20001 Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
20002 the course of the 0.2.8 development cycle. It improves the behavior of
20003 directory clients, fixes several crash bugs, fixes a gap in compiler
20004 hardening, and allows the full integration test suite to run on
20007 o Major bugfixes (security, client, DNS proxy):
20008 - Stop a crash that could occur when a client running with DNSPort
20009 received a query with multiple address types, and the first
20010 address type was not supported. Found and fixed by Scott Dial.
20011 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
20013 o Major bugfixes (security, compilation):
20014 - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
20015 is predefined. Previously, our use of -D_FORTIFY_SOURCE would
20016 cause a compiler warning, thereby making other checks fail, and
20017 needlessly disabling compiler-hardening support. Fixes one case of
20018 bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
20020 o Major bugfixes (security, directory authorities):
20021 - Fix a crash and out-of-bounds write during authority voting, when
20022 the list of relays includes duplicate ed25519 identity keys. Fixes
20023 bug 19032; bugfix on 0.2.8.2-alpha.
20025 o Major bugfixes (client, bootstrapping):
20026 - Check if bootstrap consensus downloads are still needed when the
20027 linked connection attaches. This prevents tor making unnecessary
20028 begindir-style connections, which are the only directory
20029 connections tor clients make since the fix for 18483 was merged.
20030 - Fix some edge cases where consensus download connections may not
20031 have been closed, even though they were not needed. Related to fix
20033 - Make relays retry consensus downloads the correct number of times,
20034 rather than the more aggressive client retry count. Fixes part of
20036 - Stop downloading consensuses when we have a consensus, even if we
20037 don't have all the certificates for it yet. Fixes bug 18809;
20038 bugfix on 0.2.8.1-alpha. Patches by arma and teor.
20040 o Major bugfixes (directory mirrors):
20041 - Decide whether to advertise begindir support in the the same way
20042 we decide whether to advertise our DirPort. Allowing these
20043 decisions to become out-of-sync led to surprising behavior like
20044 advertising begindir support when hibernation made us not
20045 advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
20048 o Major bugfixes (IPv6 bridges, client):
20049 - Actually use IPv6 addresses when selecting directory addresses for
20050 IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
20053 o Major bugfixes (key management):
20054 - If OpenSSL fails to generate an RSA key, do not retain a dangling
20055 pointer to the previous (uninitialized) key value. The impact here
20056 should be limited to a difficult-to-trigger crash, if OpenSSL is
20057 running an engine that makes key generation failures possible, or
20058 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
20059 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
20062 o Major bugfixes (testing):
20063 - Fix a bug that would block 'make test-network-all' on systems where
20064 IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
20065 - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
20066 bugfix on 0.2.8.1-alpha.
20068 o Minor features (clients):
20069 - Make clients, onion services, and bridge relays always use an
20070 encrypted begindir connection for directory requests. Resolves
20071 ticket 18483. Patch by "teor".
20073 o Minor features (fallback directory mirrors):
20074 - Give each fallback the same weight for client selection; restrict
20075 fallbacks to one per operator; report fallback directory detail
20076 changes when rebuilding list; add new fallback directory mirrors
20077 to the whitelist; and many other minor simplifications and fixes.
20078 Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
20079 0.2.8.1-alpha; patch by "teor".
20080 - Replace the 21 fallbacks generated in January 2016 and included in
20081 Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
20082 2016. Closes task 17158; patch by "teor".
20084 o Minor features (geoip):
20085 - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
20088 o Minor bugfixes (assert, portability):
20089 - Fix an assertion failure in memarea.c on systems where "long" is
20090 shorter than the size of a pointer. Fixes bug 18716; bugfix
20093 o Minor bugfixes (bootstrap):
20094 - Consistently use the consensus download schedule for authority
20095 certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
20097 o Minor bugfixes (build):
20098 - Remove a pair of redundant AM_CONDITIONAL declarations from
20099 configure.ac. Fixes one final case of bug 17744; bugfix
20101 - Resolve warnings when building on systems that are concerned with
20102 signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
20104 - When libscrypt.h is found, but no libscrypt library can be linked,
20105 treat libscrypt as absent. Fixes bug 19161; bugfix
20108 o Minor bugfixes (client):
20109 - Turn all TestingClientBootstrap* into non-testing torrc options.
20110 This changes simply renames them by removing "Testing" in front of
20111 them and they do not require TestingTorNetwork to be enabled
20112 anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
20113 - Make directory node selection more reliable, mainly for IPv6-only
20114 clients and clients with few reachable addresses. Fixes bug 18929;
20115 bugfix on 0.2.8.1-alpha. Patch by "teor".
20117 o Minor bugfixes (controller, microdescriptors):
20118 - Make GETINFO dir/status-vote/current/consensus conform to the
20119 control specification by returning "551 Could not open cached
20120 consensus..." when not caching consensuses. Fixes bug 18920;
20121 bugfix on 0.2.2.6-alpha.
20123 o Minor bugfixes (crypto, portability):
20124 - The SHA3 and SHAKE routines now produce the correct output on Big
20125 Endian systems. No code calls either algorithm yet, so this is
20126 primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
20127 - Tor now builds again with the recent OpenSSL 1.1 development
20128 branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
20131 o Minor bugfixes (directories):
20132 - When fetching extrainfo documents, compare their SHA256 digests
20133 and Ed25519 signing key certificates with the routerinfo that led
20134 us to fetch them, rather than with the most recent routerinfo.
20135 Otherwise we generate many spurious warnings about mismatches.
20136 Fixes bug 17150; bugfix on 0.2.7.2-alpha.
20138 o Minor bugfixes (logging):
20139 - When we can't generate a signing key because OfflineMasterKey is
20140 set, do not imply that we should have been able to load it. Fixes
20141 bug 18133; bugfix on 0.2.7.2-alpha.
20142 - Stop periodic_event_dispatch() from blasting twelve lines per
20143 second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
20144 - When rejecting a misformed INTRODUCE2 cell, only log at
20145 PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
20147 o Minor bugfixes (pluggable transports):
20148 - Avoid reporting a spurious error when we decide that we don't need
20149 to terminate a pluggable transport because it has already exited.
20150 Fixes bug 18686; bugfix on 0.2.5.5-alpha.
20152 o Minor bugfixes (pointer arithmetic):
20153 - Fix a bug in memarea_alloc() that could have resulted in remote
20154 heap write access, if Tor had ever passed an unchecked size to
20155 memarea_alloc(). Fortunately, all the sizes we pass to
20156 memarea_alloc() are pre-checked to be less than 128 kilobytes.
20157 Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
20160 o Minor bugfixes (relays):
20161 - Consider more config options when relays decide whether to
20162 regenerate their descriptor. Fixes more of bug 12538; bugfix
20164 - Resolve some edge cases where we might launch an ORPort
20165 reachability check even when DisableNetwork is set. Noticed while
20166 fixing bug 18616; bugfix on 0.2.3.9-alpha.
20168 o Minor bugfixes (statistics):
20169 - We now include consensus downloads via IPv6 in our directory-
20170 request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
20172 o Minor bugfixes (testing):
20173 - Allow directories in small networks to bootstrap by skipping
20174 DirPort checks when the consensus has no exits. Fixes bug 19003;
20175 bugfix on 0.2.8.1-alpha. Patch by teor.
20176 - Fix a small memory leak that would occur when the
20177 TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
20178 bugfix on 0.2.5.2-alpha.
20180 o Minor bugfixes (time handling):
20181 - When correcting a corrupt 'struct tm' value, fill in the tm_wday
20182 field. Otherwise, our unit tests crash on Windows. Fixes bug
20183 18977; bugfix on 0.2.2.25-alpha.
20186 - Document the contents of the 'datadir/keys' subdirectory in the
20187 manual page. Closes ticket 17621.
20188 - Stop recommending use of nicknames to identify relays in our
20189 MapAddress documentation. Closes ticket 18312.
20192 Changes in version 0.2.8.2-alpha - 2016-03-28
20193 Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
20194 bugs in earlier versions of Tor, including some that prevented
20195 authorities using Tor 0.2.7.x from running correctly. IPv6 and
20196 directory support should also be much improved.
20198 o New system requirements:
20199 - Tor no longer supports versions of OpenSSL with a broken
20200 implementation of counter mode. (This bug was present in OpenSSL
20201 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
20202 longer runs with, these versions.
20203 - Tor no longer attempts to support platforms where the "time_t"
20204 type is unsigned. (To the best of our knowledge, only OpenVMS does
20205 this, and Tor has never actually built on OpenVMS.) Closes
20207 - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
20208 later (released in 2008 and 2009 respectively). If you are
20209 building Tor from the git repository instead of from the source
20210 distribution, and your tools are older than this, you will need to
20211 upgrade. Closes ticket 17732.
20213 o Major bugfixes (security, pointers):
20214 - Avoid a difficult-to-trigger heap corruption attack when extending
20215 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
20216 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
20217 Reported by Guido Vranken.
20219 o Major bugfixes (bridges, pluggable transports):
20220 - Modify the check for OR connections to private addresses. Allow
20221 bridges on private addresses, including pluggable transports that
20222 ignore the (potentially private) address in the bridge line. Fixes
20223 bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
20225 o Major bugfixes (compilation):
20226 - Repair hardened builds under the clang compiler. Previously, our
20227 use of _FORTIFY_SOURCE would conflict with clang's address
20228 sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
20230 o Major bugfixes (crash on shutdown):
20231 - Correctly handle detaching circuits from muxes when shutting down.
20232 Fixes bug 18116; bugfix on 0.2.8.1-alpha.
20233 - Fix an assert-on-exit bug related to counting memory usage in
20234 rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
20236 o Major bugfixes (crash on startup):
20237 - Fix a segfault during startup: If a Unix domain socket was
20238 configured as listener (such as a ControlSocket or a SocksPort
20239 "unix:" socket), and tor was started as root but not configured to
20240 switch to another user, tor would segfault while trying to string
20241 compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
20244 o Major bugfixes (dns proxy mode, crash):
20245 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
20246 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
20248 o Major bugfixes (relays, bridge clients):
20249 - Ensure relays always allow IPv4 OR and Dir connections. Ensure
20250 bridge clients use the address configured in the bridge line.
20251 Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
20254 o Major bugfixes (voting):
20255 - Actually enable support for authorities to match routers by their
20256 Ed25519 identities. Previously, the code had been written, but
20257 some debugging code that had accidentally been left in the
20258 codebase made it stay turned off. Fixes bug 17702; bugfix
20260 - When collating votes by Ed25519 identities, authorities now
20261 include a "NoEdConsensus" flag if the ed25519 value (or lack
20262 thereof) for a server does not reflect the majority consensus.
20263 Related to bug 17668; bugfix on 0.2.7.2-alpha.
20264 - When generating a vote with keypinning disabled, never include two
20265 entries for the same ed25519 identity. This bug was causing
20266 authorities to generate votes that they could not parse when a
20267 router violated key pinning by changing its RSA identity but
20268 keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
20269 18318. Bugfix on 0.2.7.2-alpha.
20271 o Minor features (security, win32):
20272 - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
20273 attack. Fixes bug 18123; bugfix on all tor versions. Patch
20276 o Minor features (bug-resistance):
20277 - Make Tor survive errors involving connections without a
20278 corresponding event object. Previously we'd fail with an
20279 assertion; now we produce a log message. Related to bug 16248.
20281 o Minor features (build):
20282 - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
20283 as having possible IPFW support. Closes ticket 18448. Patch from
20284 Steven Chamberlain.
20286 o Minor features (code hardening):
20287 - Use tor_snprintf() and tor_vsnprintf() even in external and low-
20288 level code, to harden against accidental failures to NUL-
20289 terminate. Part of ticket 17852. Patch from jsturgix. Found
20292 o Minor features (crypto):
20293 - Validate the hard-coded Diffie-Hellman parameters and ensure that
20294 p is a safe prime, and g is a suitable generator. Closes
20297 o Minor features (geoip):
20298 - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
20301 o Minor features (hidden service directory):
20302 - Streamline relay-side hsdir handling: when relays consider whether
20303 to accept an uploaded hidden service descriptor, they no longer
20304 check whether they are one of the relays in the network that is
20305 "supposed" to handle that descriptor. Implements ticket 18332.
20307 o Minor features (IPv6):
20308 - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
20309 to 1, tor prefers IPv6 directory addresses.
20310 - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
20311 avoids using IPv4 for client OR and directory connections.
20312 - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
20313 "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
20314 "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
20316 o Minor features (linux seccomp2 sandbox):
20317 - Reject attempts to change our Address with "Sandbox 1" enabled.
20318 Changing Address with Sandbox turned on would never actually work,
20319 but previously it would fail in strange and confusing ways. Found
20320 while fixing 18548.
20322 o Minor features (robustness):
20323 - Exit immediately with an error message if the code attempts to use
20324 Libevent without having initialized it. This should resolve some
20325 frequently-made mistakes in our unit tests. Closes ticket 18241.
20327 o Minor features (unix domain sockets):
20328 - Add a new per-socket option, RelaxDirModeCheck, to allow creating
20329 Unix domain sockets without checking the permissions on the parent
20330 directory. (Tor checks permissions by default because some
20331 operating systems only check permissions on the parent directory.
20332 However, some operating systems do look at permissions on the
20333 socket, and tor's default check is unneeded.) Closes ticket 18458.
20336 o Minor bugfixes (exit policies, security):
20337 - Refresh an exit relay's exit policy when interface addresses
20338 change. Previously, tor only refreshed the exit policy when the
20339 configured external address changed. Fixes bug 18208; bugfix on
20340 0.2.7.3-rc. Patch by teor.
20342 o Minor bugfixes (security, hidden services):
20343 - Prevent hidden services connecting to client-supplied rendezvous
20344 addresses that are reserved as internal or multicast. Fixes bug
20345 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
20347 o Minor bugfixes (build):
20348 - Do not link the unit tests against both the testing and non-
20349 testing versions of the static libraries. Fixes bug 18490; bugfix
20351 - Avoid spurious failures from configure files related to calling
20352 exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
20353 0.2.0.1-alpha. Patch from "cypherpunks".
20354 - Silence spurious clang-scan warnings in the ed25519_donna code by
20355 explicitly initializing some objects. Fixes bug 18384; bugfix on
20356 0.2.7.2-alpha. Patch by teor.
20358 o Minor bugfixes (client, bootstrap):
20359 - Count receipt of new microdescriptors as progress towards
20360 bootstrapping. Previously, with EntryNodes set, Tor might not
20361 successfully repopulate the guard set on bootstrapping. Fixes bug
20362 16825; bugfix on 0.2.3.1-alpha.
20364 o Minor bugfixes (code correctness):
20365 - Update to the latest version of Trunnel, which tries harder to
20366 avoid generating code that can invoke memcpy(p,NULL,0). Bug found
20367 by clang address sanitizer. Fixes bug 18373; bugfix
20370 o Minor bugfixes (configuration):
20371 - Fix a tiny memory leak when parsing a port configuration ending in
20372 ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
20374 o Minor bugfixes (containers):
20375 - If we somehow attempt to construct a heap with more than
20376 1073741822 elements, avoid an integer overflow when maintaining
20377 the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
20379 o Minor bugfixes (correctness):
20380 - Fix a bad memory handling bug that would occur if we had queued a
20381 cell on a channel's incoming queue. Fortunately, we can't actually
20382 queue a cell like that as our code is constructed today, but it's
20383 best to avoid this kind of error, even if there isn't any code
20384 that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
20386 o Minor bugfixes (directory):
20387 - When generating a URL for a directory server on an IPv6 address,
20388 wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
20389 on 0.2.3.9-alpha. Patch from Malek.
20391 o Minor bugfixes (fallback directory mirrors):
20392 - When requesting extrainfo descriptors from a trusted directory
20393 server, check whether it is an authority or a fallback directory
20394 which supports extrainfo descriptors. Fixes bug 18489; bugfix on
20395 0.2.4.7-alpha. Reported by atagar, patch by teor.
20397 o Minor bugfixes (hidden service, client):
20398 - Handle the case where the user makes several fast consecutive
20399 requests to the same .onion address. Previously, the first six
20400 requests would each trigger a descriptor fetch, each picking a
20401 directory (there are 6 overall) and the seventh one would fail
20402 because no directories were left, thereby triggering a close on
20403 all current directory connections asking for the hidden service.
20404 The solution here is to not close the connections if we have
20405 pending directory fetches. Fixes bug 15937; bugfix
20408 o Minor bugfixes (hidden service, control port):
20409 - Add the onion address to the HS_DESC event for the UPLOADED action
20410 both on success or failure. It was previously hardcoded with
20411 UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
20413 o Minor bugfixes (hidden service, directory):
20414 - Bridges now refuse "rendezvous2" (hidden service descriptor)
20415 publish attempts. Suggested by ticket 18332.
20417 o Minor bugfixes (linux seccomp2 sandbox):
20418 - Allow the setrlimit syscall, and the prlimit and prlimit64
20419 syscalls, which some libc implementations use under the hood.
20420 Fixes bug 15221; bugfix on 0.2.5.1-alpha.
20421 - Avoid a 10-second delay when starting as a client with "Sandbox 1"
20422 enabled and no DNS resolvers configured. This should help TAILS
20423 start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
20424 - Fix the sandbox's interoperability with unix domain sockets under
20425 setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
20427 o Minor bugfixes (logging):
20428 - When logging information about an unparsable networkstatus vote or
20429 consensus, do not say "vote" when we mean consensus. Fixes bug
20430 18368; bugfix on 0.2.0.8-alpha.
20431 - Scrub service name in "unrecognized service ID" log messages.
20432 Fixes bug 18600; bugfix on 0.2.4.11-alpha.
20433 - Downgrade logs and backtraces about IP versions to info-level.
20434 Only log backtraces once each time tor runs. Assists in diagnosing
20435 bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
20436 Christian, patch by teor.
20438 o Minor bugfixes (memory safety):
20439 - Avoid freeing an uninitialized pointer when opening a socket fails
20440 in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
20441 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
20443 - Correctly duplicate addresses in get_interface_address6_list().
20444 Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
20445 patch by "cypherpunks".
20446 - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
20448 - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
20449 18672; bugfix on 0.2.5.1-alpha.
20451 o Minor bugfixes (private directory):
20452 - Prevent a race condition when creating private directories. Fixes
20453 part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
20454 Patch from jsturgix. Found with Flawfinder.
20456 o Minor bugfixes (test networks, IPv6):
20457 - Allow internal IPv6 addresses in descriptors in test networks.
20458 Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
20461 o Minor bugfixes (testing):
20462 - We no longer disable assertions in the unit tests when coverage is
20463 enabled. Instead, we require you to say --disable-asserts-in-tests
20464 to the configure script if you need assertions disabled in the
20465 unit tests (for example, if you want to perform branch coverage).
20466 Fixes bug 18242; bugfix on 0.2.7.1-alpha.
20468 o Minor bugfixes (time parsing):
20469 - Avoid overflow in tor_timegm when parsing dates in and after 2038
20470 on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
20471 0.0.2pre14. Patch by teor.
20473 o Minor bugfixes (tor-gencert):
20474 - Correctly handle the case where an authority operator enters a
20475 passphrase but sends an EOF before sending a newline. Fixes bug
20476 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
20478 o Code simplification and refactoring:
20479 - Quote all the string interpolations in configure.ac -- even those
20480 which we are pretty sure can't contain spaces. Closes ticket
20481 17744. Patch from zerosion.
20482 - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
20483 inplace, so there's no need to have a separate implementation for
20484 the non-inplace code. Closes ticket 18258. Patch from Malek.
20485 - Simplify return types for some crypto functions that can't
20486 actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
20489 - Change build messages to refer to "Fedora" instead of "Fedora
20490 Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
20491 Patches from "icanhasaccount" and "cypherpunks".
20493 o Removed features:
20494 - We no longer maintain an internal freelist in memarea.c.
20495 Allocators should be good enough to make this code unnecessary,
20496 and it's doubtful that it ever had any performance benefit.
20499 - Fix several warnings from clang's address sanitizer produced in
20501 - Treat backtrace test failures as expected on FreeBSD until we
20502 solve bug 17808. Closes ticket 18204.
20505 Changes in version 0.2.8.1-alpha - 2016-02-04
20506 Tor 0.2.8.1-alpha is the first alpha release in its series. It
20507 includes numerous small features and bugfixes against previous Tor
20508 versions, and numerous small infrastructure improvements. The most
20509 notable features are a set of improvements to the directory subsystem.
20511 o Major features (security, Linux):
20512 - When Tor starts as root on Linux and is told to switch user ID, it
20513 can now retain the capability to bind to low ports. By default,
20514 Tor will do this only when it's switching user ID and some low
20515 ports have been configured. You can change this behavior with the
20516 new option KeepBindCapabilities. Closes ticket 8195.
20518 o Major features (directory system):
20519 - When bootstrapping multiple consensus downloads at a time, use the
20520 first one that starts downloading, and close the rest. This
20521 reduces failures when authorities or fallback directories are slow
20522 or down. Together with the code for feature 15775, this feature
20523 should reduces failures due to fallback churn. Implements ticket
20524 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
20525 "mikeperry" and "teor".
20526 - Include a trial list of 21 default fallback directories, generated
20527 in January 2016, based on an opt-in survey of suitable relays.
20528 Doing this should make clients bootstrap more quickly and reliably,
20529 and reduce the load on the directory authorities. Closes ticket
20530 15775. Patch by "teor".
20531 Candidates identified using an OnionOO script by "weasel", "teor",
20532 "gsathya", and "karsten".
20533 - Previously only relays that explicitly opened a directory port
20534 (DirPort) accepted directory requests from clients. Now all
20535 relays, with and without a DirPort, accept and serve tunneled
20536 directory requests that they receive through their ORPort. You can
20537 disable this behavior using the new DirCache option. Closes
20540 o Major key updates:
20541 - Update the V3 identity key for the dannenberg directory authority:
20542 it was changed on 18 November 2015. Closes task 17906. Patch
20545 o Minor features (security, clock):
20546 - Warn when the system clock appears to move back in time (when the
20547 state file was last written in the future). Tor doesn't know that
20548 consensuses have expired if the clock is in the past. Patch by
20549 "teor". Implements ticket 17188.
20551 o Minor features (security, exit policies):
20552 - ExitPolicyRejectPrivate now rejects more private addresses by
20553 default. Specifically, it now rejects the relay's outbound bind
20554 addresses (if configured), and the relay's configured port
20555 addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
20556 0.2.0.11-alpha. Patch by "teor".
20558 o Minor features (security, memory erasure):
20559 - Set the unused entries in a smartlist to NULL. This helped catch
20560 a (harmless) bug, and shouldn't affect performance too much.
20561 Implements ticket 17026.
20562 - Use SecureMemoryWipe() function to securely clean memory on
20563 Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
20564 Implements feature 17986.
20565 - Use explicit_bzero or memset_s when present. Previously, we'd use
20566 OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
20567 from <logan@hackers.mu> and <selven@hackers.mu>.
20568 - Make memwipe() do nothing when passed a NULL pointer or buffer of
20569 zero size. Check size argument to memwipe() for underflow. Fixes
20570 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
20573 o Minor features (security, RNG):
20574 - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
20575 positively are not allowed to fail. Previously we depended on
20576 internal details of OpenSSL's behavior. Closes ticket 17686.
20577 - Never use the system entropy output directly for anything besides
20578 seeding the PRNG. When we want to generate important keys, instead
20579 of using system entropy directly, we now hash it with the PRNG
20580 stream. This may help resist certain attacks based on broken OS
20581 entropy implementations. Closes part of ticket 17694.
20582 - Use modern system calls (like getentropy() or getrandom()) to
20583 generate strong entropy on platforms that have them. Closes
20586 o Minor features (accounting):
20587 - Added two modes to the AccountingRule option: One for limiting
20588 only the number of bytes sent ("AccountingRule out"), and one for
20589 limiting only the number of bytes received ("AccountingRule in").
20590 Closes ticket 15989; patch from "unixninja92".
20592 o Minor features (build):
20593 - Since our build process now uses "make distcheck", we no longer
20594 force "make dist" to depend on "make check". Closes ticket 17893;
20595 patch from "cypherpunks."
20596 - Tor now builds successfully with the recent OpenSSL 1.1
20597 development branch, and with the latest LibreSSL. Closes tickets
20598 17549, 17921, and 17984.
20600 o Minor features (controller):
20601 - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
20602 tickets 16774 and 17817. Patch by George Tankersley.
20603 - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
20604 service descriptor from a service's local hidden service
20605 descriptor cache. Closes ticket 14846.
20606 - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
20607 controllers can examine the the reject rules added by
20608 ExitPolicyRejectPrivate. This makes it easier for stem to display
20611 o Minor features (crypto):
20612 - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
20614 - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
20615 - When allocating a digest state object, allocate no more space than
20616 we actually need. Previously, we would allocate as much space as
20617 the state for the largest algorithm would need. This change saves
20618 up to 672 bytes per circuit. Closes ticket 17796.
20619 - Improve performance when hashing non-multiple of 8 sized buffers,
20620 based on Andrew Moon's public domain SipHash-2-4 implementation.
20621 Fixes bug 17544; bugfix on 0.2.5.3-alpha.
20623 o Minor features (directory downloads):
20624 - Wait for busy authorities and fallback directories to become non-
20625 busy when bootstrapping. (A similar change was made in 6c443e987d
20626 for directory caches chosen from the consensus.) Closes ticket
20627 17864; patch by "teor".
20628 - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
20629 directory mirrors. The default is 1; set it to 0 to disable
20630 fallbacks. Implements ticket 17576. Patch by "teor".
20632 o Minor features (geoip):
20633 - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
20636 o Minor features (IPv6):
20637 - Add an argument 'ipv6=address:orport' to the DirAuthority and
20638 FallbackDir torrc options, to specify an IPv6 address for an
20639 authority or fallback directory. Add hard-coded ipv6 addresses for
20640 directory authorities that have them. Closes ticket 17327; patch
20641 from Nick Mathewson and "teor".
20642 - Add address policy assume_action support for IPv6 addresses.
20643 - Limit IPv6 mask bits to 128.
20644 - Warn when comparing against an AF_UNSPEC address in a policy, it's
20645 almost always a bug. Closes ticket 17863; patch by "teor".
20646 - Allow users to configure directory authorities and fallback
20647 directory servers with IPv6 addresses and ORPorts. Resolves
20649 - routerset_parse now accepts IPv6 literal addresses. Fixes bug
20650 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
20651 - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
20652 17638; bugfix on 0.0.2pre8. Patch by "teor".
20654 o Minor features (logging):
20655 - When logging to syslog, allow a tag to be added to the syslog
20656 identity (the string prepended to every log message). The tag can
20657 be configured with SyslogIdentityTag and defaults to none. Setting
20658 it to "foo" will cause logs to be tagged as "Tor-foo". Closes
20661 o Minor features (portability):
20662 - Use timingsafe_memcmp() where available. Closes ticket 17944;
20663 patch from <logan@hackers.mu>.
20665 o Minor features (relay, address discovery):
20666 - Add a family argument to get_interface_addresses_raw() and
20667 subfunctions to make network interface address interogation more
20668 efficient. Now Tor can specifically ask for IPv4, IPv6 or both
20669 types of interfaces from the operating system. Resolves
20671 - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
20672 fails to enumerate interface addresses using the platform-specific
20673 API, have it rely on the UDP socket fallback technique to try and
20674 find out what IP addresses (both IPv4 and IPv6) our machine has.
20675 Resolves ticket 17951.
20677 o Minor features (replay cache):
20678 - The replay cache now uses SHA256 instead of SHA1. Implements
20679 feature 8961. Patch by "teor", issue reported by "rransom".
20681 o Minor features (unix file permissions):
20682 - Defer creation of Unix sockets until after setuid. This avoids
20683 needing CAP_CHOWN and CAP_FOWNER when using systemd's
20684 CapabilityBoundingSet, or chown and fowner when using SELinux.
20685 Implements part of ticket 17562. Patch from Jamie Nguyen.
20686 - If any directory created by Tor is marked as group readable, the
20687 filesystem group is allowed to be either the default GID or the
20688 root user. Allowing root to read the DataDirectory prevents the
20689 need for CAP_READ_SEARCH when using systemd's
20690 CapabilityBoundingSet, or dac_read_search when using SELinux.
20691 Implements part of ticket 17562. Patch from Jamie Nguyen.
20692 - Introduce a new DataDirectoryGroupReadable option. If it is set to
20693 1, the DataDirectory will be made readable by the default GID.
20694 Implements part of ticket 17562. Patch from Jamie Nguyen.
20696 o Minor bugfixes (accounting):
20697 - The max bandwidth when using 'AccountRule sum' is now correctly
20698 logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
20699 from "unixninja92".
20701 o Minor bugfixes (code correctness):
20702 - When closing an entry connection, generate a warning if we should
20703 have sent an end cell for it but we haven't. Fixes bug 17876;
20704 bugfix on 0.2.3.2-alpha.
20705 - Assert that allocated memory held by the reputation code is freed
20706 according to its internal counters. Fixes bug 17753; bugfix
20708 - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
20711 o Minor bugfixes (compilation):
20712 - Mark all object files that include micro-revision.i as depending
20713 on it, so as to make parallel builds more reliable. Fixes bug
20714 17826; bugfix on 0.2.5.1-alpha.
20715 - Don't try to use the pthread_condattr_setclock() function unless
20716 it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
20717 17819; bugfix on 0.2.6.3-alpha.
20718 - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
20720 - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
20721 bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
20722 - Fix search for libevent libraries on OpenBSD (and other systems
20723 that install libevent 1 and libevent 2 in parallel). Fixes bug
20724 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
20725 - Isolate environment variables meant for tests from the rest of the
20726 build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
20727 - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
20729 - Remove config.log only from make distclean, not from make clean.
20730 Fixes bug 17924; bugfix on 0.2.4.1-alpha.
20732 o Minor bugfixes (crypto):
20733 - Check the return value of HMAC() and assert on failure. Fixes bug
20734 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
20736 o Minor bugfixes (fallback directories):
20737 - Mark fallbacks as "too busy" when they return a 503 response,
20738 rather than just marking authorities. Fixes bug 17572; bugfix on
20739 0.2.4.7-alpha. Patch by "teor".
20741 o Minor bugfixes (IPv6):
20742 - Update the limits in max_dl_per_request for IPv6 address length.
20743 Fixes bug 17573; bugfix on 0.2.1.5-alpha.
20745 o Minor bugfixes (linux seccomp2 sandbox):
20746 - Fix a crash when using offline master ed25519 keys with the Linux
20747 seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
20749 o Minor bugfixes (logging):
20750 - In log messages that include a function name, use __FUNCTION__
20751 instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
20752 with clang __PRETTY_FUNCTION__ has extra information we don't
20753 need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
20755 - Remove needless quotes from a log message about unparseable
20756 addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
20758 o Minor bugfixes (portability):
20759 - Remove an #endif from configure.ac so that we correctly detect the
20760 presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
20763 o Minor bugfixes (relays):
20764 - Check that both the ORPort and DirPort (if present) are reachable
20765 before publishing a relay descriptor. Otherwise, relays publish a
20766 descriptor with DirPort 0 when the DirPort reachability test takes
20767 longer than the ORPort reachability test. Fixes bug 18050; bugfix
20768 on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
20770 o Minor bugfixes (relays, hidden services):
20771 - Refuse connection requests to private OR addresses unless
20772 ExtendAllowPrivateAddresses is set. Previously, tor would connect,
20773 then refuse to send any cells to a private address. Fixes bugs
20774 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
20776 o Minor bugfixes (safe logging):
20777 - When logging a malformed hostname received through socks4, scrub
20778 it if SafeLogging says we should. Fixes bug 17419; bugfix
20781 o Minor bugfixes (statistics code):
20782 - Consistently check for overflow in round_*_to_next_multiple_of
20783 functions, and add unit tests with additional and maximal values.
20784 Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
20785 - Handle edge cases in the laplace functions: avoid division by
20786 zero, avoid taking the log of zero, and silence clang type
20787 conversion warnings using round and trunc. Add unit tests for edge
20788 cases with maximal values. Fixes part of bug 13192; bugfix
20791 o Minor bugfixes (testing):
20792 - The test for log_heartbeat was incorrectly failing in timezones
20793 with non-integer offsets. Instead of comparing the end of the time
20794 string against a constant, compare it to the output of
20795 format_local_iso_time when given the correct input. Fixes bug
20796 18039; bugfix on 0.2.5.4-alpha.
20797 - Make unit tests pass on IPv6-only systems, and systems without
20798 localhost addresses (like some FreeBSD jails). Fixes bug 17632;
20799 bugfix on 0.2.7.3-rc. Patch by "teor".
20800 - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
20802 - Check the full results of SHA256 and SHA512 digests in the unit
20803 tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
20805 o Code simplification and refactoring:
20806 - Move logging of redundant policy entries in
20807 policies_parse_exit_policy_internal into its own function. Closes
20808 ticket 17608; patch from "juce".
20809 - Extract the more complicated parts of circuit_mark_for_close()
20810 into a new function that we run periodically before circuits are
20811 freed. This change removes more than half of the functions
20812 currently in the "blob". Closes ticket 17218.
20813 - Clean up a little duplicated code in
20814 crypto_expand_key_material_TAP(). Closes ticket 17587; patch
20816 - Decouple the list of streams waiting to be attached to circuits
20817 from the overall connection list. This change makes it possible to
20818 attach streams quickly while simplifying Tor's callgraph and
20819 avoiding O(N) scans of the entire connection list. Closes
20821 - When a direct directory request fails immediately on launch,
20822 instead of relaunching that request from inside the code that
20823 launches it, instead mark the connection for teardown. This change
20824 simplifies Tor's callback and prevents the directory-request
20825 launching code from invoking itself recursively. Closes
20827 - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
20828 use them. Closes ticket 17926.
20831 - Add a description of the correct use of the '--keygen' command-
20832 line option. Closes ticket 17583; based on text by 's7r'.
20833 - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
20834 - Explain actual minima for BandwidthRate. Closes ticket 16382.
20835 - Fix a minor formatting typo in the manpage. Closes ticket 17791.
20836 - Mention torspec URL in the manpage and point the reader to it
20837 whenever we mention a document that belongs in torspce. Fixes
20840 o Removed features:
20841 - Remove client-side support for connecting to Tor relays running
20842 versions of Tor before 0.2.3.6-alpha. These relays didn't support
20843 the v3 TLS handshake protocol, and are no longer allowed on the
20844 Tor network. Implements the client side of ticket 11150. Based on
20845 patches by Tom van der Woerdt.
20848 - Add unit tests to check for common RNG failure modes, such as
20849 returning all zeroes, identical values, or incrementing values
20850 (OpenSSL's rand_predictable feature). Patch by "teor".
20851 - Log more information when the backtrace tests fail. Closes ticket
20852 17892. Patch from "cypherpunks."
20853 - Always test both ed25519 backends, so that we can be sure that our
20854 batch-open replacement code works. Part of ticket 16794.
20855 - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
20856 portion of ticket 16831.
20857 - More unit tests for compat_libevent.c, procmon.c, tortls.c,
20858 util_format.c, directory.c, and options_validate.c. Closes tickets
20859 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
20861 - Unit tests for directory_handle_command_get. Closes ticket 17004.
20862 Patch from Reinaldo de Souza Jr.
20865 Changes in version 0.2.7.6 - 2015-12-10
20866 Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
20867 well as a minor bug in hidden service reliability.
20869 o Major bugfixes (guard selection):
20870 - Actually look at the Guard flag when selecting a new directory
20871 guard. When we implemented the directory guard design, we
20872 accidentally started treating all relays as if they have the Guard
20873 flag during guard selection, leading to weaker anonymity and worse
20874 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
20877 o Minor features (geoip):
20878 - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
20881 o Minor bugfixes (compilation):
20882 - When checking for net/pfvar.h, include netinet/in.h if possible.
20883 This fixes transparent proxy detection on OpenBSD. Fixes bug
20884 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
20885 - Fix a compilation warning with Clang 3.6: Do not check the
20886 presence of an address which can never be NULL. Fixes bug 17781.
20888 o Minor bugfixes (correctness):
20889 - When displaying an IPv6 exit policy, include the mask bits
20890 correctly even when the number is greater than 31. Fixes bug
20891 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
20892 - The wrong list was used when looking up expired intro points in a
20893 rend service object, causing what we think could be reachability
20894 issues for hidden services, and triggering a BUG log. Fixes bug
20895 16702; bugfix on 0.2.7.2-alpha.
20896 - Fix undefined behavior in the tor_cert_checksig function. Fixes
20897 bug 17722; bugfix on 0.2.7.2-alpha.
20900 Changes in version 0.2.7.5 - 2015-11-20
20901 The Tor 0.2.7 release series is dedicated to the memory of Tor user
20902 and privacy advocate Caspar Bowden (1961-2015). Caspar worked
20903 tirelessly to advocate human rights regardless of national borders,
20904 and oppose the encroachments of mass surveillance. He opposed national
20905 exceptionalism, he brought clarity to legal and policy debates, he
20906 understood and predicted the impact of mass surveillance on the world,
20907 and he laid the groundwork for resisting it. While serving on the Tor
20908 Project's board of directors, he brought us his uncompromising focus
20909 on technical excellence in the service of humankind. Caspar was an
20910 inimitable force for good and a wonderful friend. He was kind,
20911 humorous, generous, gallant, and believed we should protect one
20912 another without exception. We honor him here for his ideals, his
20913 efforts, and his accomplishments. Please honor his memory with works
20914 that would make him proud.
20916 Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
20918 The 0.2.7 series adds a more secure identity key type for relays,
20919 improves cryptography performance, resolves several longstanding
20920 hidden-service performance issues, improves controller support for
20921 hidden services, and includes small bugfixes and performance
20922 improvements throughout the program. This release series also includes
20923 more tests than before, and significant simplifications to which parts
20924 of Tor invoke which others.
20926 (This release contains no code changes since 0.2.7.4-rc.)
20929 Changes in version 0.2.7.4-rc - 2015-10-21
20930 Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
20931 fixes some important memory leaks, and a scary-looking (but mostly
20932 harmless in practice) invalid-read bug. It also has a few small
20933 bugfixes, notably fixes for compilation and portability on different
20934 platforms. If no further significant bounds are found, the next
20935 release will the the official stable release.
20937 o Major bugfixes (security, correctness):
20938 - Fix an error that could cause us to read 4 bytes before the
20939 beginning of an openssl string. This bug could be used to cause
20940 Tor to crash on systems with unusual malloc implementations, or
20941 systems with unusual hardening installed. Fixes bug 17404; bugfix
20944 o Major bugfixes (correctness):
20945 - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
20946 bug 17401; bugfix on 0.2.7.3-rc.
20948 o Major bugfixes (memory leaks):
20949 - Fix a memory leak in ed25519 batch signature checking. Fixes bug
20950 17398; bugfix on 0.2.6.1-alpha.
20951 - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
20952 17402; bugfix on 0.2.7.3-rc.
20953 - Fix a memory leak when reading an expired signing key from disk.
20954 Fixes bug 17403; bugfix on 0.2.7.2-rc.
20956 o Minor features (geoIP):
20957 - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
20960 o Minor bugfixes (compilation):
20961 - Repair compilation with the most recent (unreleased, alpha)
20962 vesions of OpenSSL 1.1. Fixes part of ticket 17237.
20963 - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
20964 17251; bugfix on 0.2.7.2-alpha.
20965 - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
20966 bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
20968 o Minor bugfixes (portability):
20969 - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
20970 part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
20973 o Minor bugfixes (sandbox):
20974 - Add the "hidserv-stats" filename to our sandbox filter for the
20975 HiddenServiceStatistics option to work properly. Fixes bug 17354;
20976 bugfix on 0.2.6.2-alpha. Patch from David Goulet.
20978 o Minor bugfixes (testing):
20979 - Add unit tests for get_interface_address* failure cases. Fixes bug
20980 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
20981 - Fix breakage when running 'make check' with BSD make. Fixes bug
20982 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
20983 - Make the get_ifaddrs_* unit tests more tolerant of different
20984 network configurations. (Don't assume every test box has an IPv4
20985 address, and don't assume every test box has a non-localhost
20986 address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
20987 - Skip backtrace tests when backtrace support is not compiled in.
20988 Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
20992 - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
20993 - Note that HiddenServicePorts can take a unix domain socket. Closes
20997 Changes in version 0.2.7.3-rc - 2015-09-25
20998 Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
20999 contains numerous usability fixes for Ed25519 keys, safeguards against
21000 several misconfiguration problems, significant simplifications to
21001 Tor's callgraph, and numerous bugfixes and small features.
21003 This is the most tested release of Tor to date. The unit tests cover
21004 39.40% of the code, and the integration tests (accessible with "make
21005 test-full-online", requiring stem and chutney and a network
21006 connection) raise the coverage to 64.49%.
21008 o Major features (security, hidden services):
21009 - Hidden services, if using the EntryNodes option, are required to
21010 use more than one EntryNode, in order to avoid a guard discovery
21011 attack. (This would only affect people who had configured hidden
21012 services and manually specified the EntryNodes option with a
21013 single entry-node. The impact was that it would be easy to
21014 remotely identify the guard node used by such a hidden service.
21015 See ticket for more information.) Fixes ticket 14917.
21017 o Major features (Ed25519 keys, keypinning):
21018 - The key-pinning option on directory authorities is now advisory-
21019 only by default. In a future version, or when the AuthDirPinKeys
21020 option is set, pins are enforced again. Disabling key-pinning
21021 seemed like a good idea so that we can survive the fallout of any
21022 usability problems associated with Ed25519 keys. Closes
21025 o Major features (Ed25519 performance):
21026 - Improve the speed of Ed25519 operations and Curve25519 keypair
21027 generation when built targeting 32 bit x86 platforms with SSE2
21028 available. Implements ticket 16535.
21029 - Improve the runtime speed of Ed25519 signature verification by
21030 using Ed25519-donna's batch verification support. Implements
21033 o Major features (performance testing):
21034 - The test-network.sh script now supports performance testing.
21035 Requires corresponding chutney performance testing changes. Patch
21036 by "teor". Closes ticket 14175.
21038 o Major features (relay, Ed25519):
21039 - Significant usability improvements for Ed25519 key management. Log
21040 messages are better, and the code can recover from far more
21041 failure conditions. Thanks to "s7r" for reporting and diagnosing
21043 - Add a new OfflineMasterKey option to tell Tor never to try loading
21044 or generating a secret Ed25519 identity key. You can use this in
21045 combination with tor --keygen to manage offline and/or encrypted
21046 Ed25519 keys. Implements ticket 16944.
21047 - Add a --newpass option to allow changing or removing the
21048 passphrase of an encrypted key with tor --keygen. Implements part
21050 - On receiving a HUP signal, check to see whether the Ed25519
21051 signing key has changed, and reload it if so. Closes ticket 16790.
21053 o Major bugfixes (relay, Ed25519):
21054 - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
21055 0.2.7.2-alpha. Reported by "s7r".
21056 - Improve handling of expired signing keys with offline master keys.
21057 Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
21059 o Minor features (client-side privacy):
21060 - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
21061 lifespan when IsolateSOCKSAuth and streams with SOCKS
21062 authentication are attached to the circuit. This allows
21063 applications like TorBrowser to manage circuit lifetime on their
21064 own. Implements feature 15482.
21065 - When logging malformed hostnames from SOCKS5 requests, respect
21066 SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
21068 o Minor features (compilation):
21069 - Give a warning as early as possible when trying to build with an
21070 unsupported OpenSSL version. Closes ticket 16901.
21071 - Fail during configure if we're trying to build against an OpenSSL
21072 built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
21073 which started requiring ECC.
21075 o Minor features (geoip):
21076 - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
21079 o Minor features (hidden services):
21080 - Relays need to have the Fast flag to get the HSDir flag. As this
21081 is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
21082 drop. This change should make some attacks against the hidden
21083 service directory system harder. Fixes ticket 15963.
21084 - Turn on hidden service statistics collection by setting the torrc
21085 option HiddenServiceStatistics to "1" by default. (This keeps
21086 track only of the fraction of traffic used by hidden services, and
21087 the total number of hidden services in existence.) Closes
21089 - Client now uses an introduction point failure cache to know when
21090 to fetch or keep a descriptor in their cache. Previously, failures
21091 were recorded implicitly, but not explicitly remembered. Closes
21094 o Minor features (testing, authorities, documentation):
21095 - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
21096 explicitly manage consensus flags in testing networks. Patch by
21097 "robgjansen", modified by "teor". Implements part of ticket 14882.
21099 o Minor bugfixes (security, exit policies):
21100 - ExitPolicyRejectPrivate now also rejects the relay's published
21101 IPv6 address (if any), and any publicly routable IPv4 or IPv6
21102 addresses on any local interfaces. ticket 17027. Patch by "teor".
21103 Fixes bug 17027; bugfix on 0.2.0.11-alpha.
21105 o Minor bug fixes (torrc exit policies):
21106 - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
21107 produce IPv6 wildcard addresses. Previously they would produce
21108 both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
21109 of bug 16069; bugfix on 0.2.4.7-alpha.
21110 - When parsing torrc ExitPolicies, we now warn for a number of cases
21111 where the user's intent is likely to differ from Tor's actual
21112 behavior. These include: using an IPv4 address with an accept6 or
21113 reject6 line; using "private" on an accept6 or reject6 line; and
21114 including any ExitPolicy lines after accept *:* or reject *:*.
21115 Related to ticket 16069.
21116 - When parsing torrc ExitPolicies, we now issue an info-level
21117 message when expanding an "accept/reject *" line to include both
21118 IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
21119 - In each instance above, usage advice is provided to avoid the
21120 message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
21121 16069; bugfix on 0.2.4.7-alpha.
21123 o Minor bugfixes (authority):
21124 - Don't assign "HSDir" to a router if it isn't Valid and Running.
21125 Fixes bug 16524; bugfix on 0.2.7.2-alpha.
21126 - Downgrade log messages about Ed25519 key issues if they are in old
21127 cached router descriptors. Fixes part of bug 16286; bugfix
21129 - When we find an Ed25519 key issue in a cached descriptor, stop
21130 saying the descriptor was just "uploaded". Fixes another part of
21131 bug 16286; bugfix on 0.2.7.2-alpha.
21133 o Minor bugfixes (control port):
21134 - Repair a warning and a spurious result when getting the maximum
21135 number of file descriptors from the controller. Fixes bug 16697;
21136 bugfix on 0.2.7.2-alpha.
21138 o Minor bugfixes (correctness):
21139 - When calling channel_free_list(), avoid calling smartlist_remove()
21140 while inside a FOREACH loop. This partially reverts commit
21141 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
21142 incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
21144 o Minor bugfixes (documentation):
21145 - Advise users on how to configure separate IPv4 and IPv6 exit
21146 policies in the manpage and sample torrcs. Related to ticket 16069.
21147 - Fix the usage message of tor-resolve(1) so that it no longer lists
21148 the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
21149 - Fix an error in the manual page and comments for
21150 TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
21151 required "ORPort connectivity". While this is true, it is in no
21152 way unique to the HSDir flag. Of all the flags, only HSDirs need a
21153 DirPort configured in order for the authorities to assign that
21154 particular flag. Patch by "teor". Fixed as part of 14882; bugfix
21157 o Minor bugfixes (Ed25519):
21158 - Fix a memory leak when reading router descriptors with expired
21159 Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
21161 o Minor bugfixes (linux seccomp2 sandbox):
21162 - Allow bridge authorities to run correctly under the seccomp2
21163 sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
21164 - Allow routers with ed25519 keys to run correctly under the
21165 seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
21167 o Minor bugfixes (open file limit):
21168 - Fix set_max_file_descriptors() to set by default the max open file
21169 limit to the current limit when setrlimit() fails. Fixes bug
21170 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
21172 o Minor bugfixes (portability):
21173 - Try harder to normalize the exit status of the Tor process to the
21174 standard-provided range. Fixes bug 16975; bugfix on every version
21176 - Check correctly for Windows socket errors in the workqueue
21177 backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
21178 - Fix the behavior of crypto_rand_time_range() when told to consider
21179 times before 1970. (These times were possible when running in a
21180 simulated network environment where time()'s output starts at
21181 zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
21182 - Restore correct operation of TLS client-cipher detection on
21183 OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
21185 o Minor bugfixes (relay):
21186 - Ensure that worker threads actually exit when a fatal error or
21187 shutdown is indicated. This fix doesn't currently affect the
21188 behavior of Tor, because Tor workers never indicates fatal error
21189 or shutdown except in the unit tests. Fixes bug 16868; bugfix
21191 - Unblock threads before releasing the work queue mutex to ensure
21192 predictable scheduling behavior. Fixes bug 16644; bugfix
21195 o Code simplification and refactoring:
21196 - Change the function that's called when we need to retry all
21197 downloads so that it only reschedules the downloads to happen
21198 immediately, rather than launching them all at once itself. This
21199 further simplifies Tor's callgraph.
21200 - Move some format-parsing functions out of crypto.c and
21201 crypto_curve25519.c into crypto_format.c and/or util_format.c.
21202 - Move the client-only parts of init_keys() into a separate
21203 function. Closes ticket 16763.
21204 - Simplify the microdesc_free() implementation so that it no longer
21205 appears (to code analysis tools) to potentially invoke a huge
21206 suite of other microdesc functions.
21207 - Simply the control graph further by deferring the inner body of
21208 directory_all_unreachable() into a callback. Closes ticket 16762.
21209 - Treat the loss of an owning controller as equivalent to a SIGTERM
21210 signal. This removes a tiny amount of duplicated code, and
21211 simplifies our callgraph. Closes ticket 16788.
21212 - When generating an event to send to the controller, we no longer
21213 put the event over the network immediately. Instead, we queue
21214 these events, and use a Libevent callback to deliver them. This
21215 change simplifies Tor's callgraph by reducing the number of
21216 functions from which all other Tor functions are reachable. Closes
21218 - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
21219 that try to scan or compile every file on Unix won't decide that
21221 - Remove the unused "nulterminate" argument from buf_pullup().
21224 - Recommend a 40 GB example AccountingMax in torrc.sample rather
21225 than a 4 GB max. Closes ticket 16742.
21226 - Include the TUNING document in our source tarball. It is referred
21227 to in the ChangeLog and an error message. Fixes bug 16929; bugfix
21231 - The internal pure-C tor-fw-helper tool is now removed from the Tor
21232 distribution, in favor of the pure-Go clone available from
21233 https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
21234 used by the C tor-fw-helper are not, in our opinion, very
21235 confidence- inspiring in their secure-programming techniques.
21236 Closes ticket 13338.
21237 - Remove the code that would try to aggressively flush controller
21238 connections while writing to them. This code was introduced in
21239 0.1.2.7-alpha, in order to keep output buffers from exceeding
21240 their limits. But there is no longer a maximum output buffer size,
21241 and flushing data in this way caused some undesirable recursions
21242 in our call graph. Closes ticket 16480.
21245 - Make "bridges+hs" the default test network. This tests almost all
21246 tor functionality during make test-network, while allowing tests
21247 to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
21248 test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
21249 (chutney). Patches by "teor".
21250 - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
21251 by-side in the same parent directory. Closes ticket 16903. Patch
21253 - Use environment variables rather than autoconf substitutions to
21254 send variables from the build system to the test scripts. This
21255 change should be easier to maintain, and cause 'make distcheck' to
21256 work better than before. Fixes bug 17148.
21257 - Add a new set of callgraph analysis scripts that use clang to
21258 produce a list of which Tor functions are reachable from which
21259 other Tor functions. We're planning to use these to help simplify
21260 our code structure by identifying illogical dependencies.
21261 - Add new 'test-full' and 'test-full-online' targets to run all
21262 tests, including integration tests with stem and chutney.
21263 - Make the test-workqueue test work on Windows by initializing the
21264 network before we begin.
21265 - New make target (make test-network-all) to run multiple applicable
21266 chutney test cases. Patch from Teor; closes 16953.
21267 - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
21268 functions in dns.c. Implements a portion of ticket 16831.
21269 - When building Tor with testing coverage enabled, run Chutney tests
21270 (if any) using the 'tor-cov' coverage binary.
21271 - When running test-network or test-stem, check for the absence of
21272 stem/chutney before doing any build operations.
21275 Changes in version 0.2.7.2-alpha - 2015-07-27
21276 This, the second alpha in the Tor 0.2.7 series, has a number of new
21277 features, including a way to manually pick the number of introduction
21278 points for hidden services, and the much stronger Ed25519 signing key
21279 algorithm for regular Tor relays (including support for encrypted
21280 offline identity keys in the new algorithm).
21282 Support for Ed25519 on relays is currently limited to signing router
21283 descriptors; later alphas in this series will extend Ed25519 key
21284 support to more parts of the Tor protocol.
21286 o Major features (Ed25519 identity keys, Proposal 220):
21287 - All relays now maintain a stronger identity key, using the Ed25519
21288 elliptic curve signature format. This master key is designed so
21289 that it can be kept offline. Relays also generate an online
21290 signing key, and a set of other Ed25519 keys and certificates.
21291 These are all automatically regenerated and rotated as needed.
21292 Implements part of ticket 12498.
21293 - Directory authorities now vote on Ed25519 identity keys along with
21294 RSA1024 keys. Implements part of ticket 12498.
21295 - Directory authorities track which Ed25519 identity keys have been
21296 used with which RSA1024 identity keys, and do not allow them to
21297 vary freely. Implements part of ticket 12498.
21298 - Microdescriptors now include Ed25519 identity keys. Implements
21299 part of ticket 12498.
21300 - Add support for offline encrypted Ed25519 master keys. To use this
21301 feature on your tor relay, run "tor --keygen" to make a new master
21302 key (or to make a new signing key if you already have a master
21303 key). Closes ticket 13642.
21305 o Major features (Hidden services):
21306 - Add the torrc option HiddenServiceNumIntroductionPoints, to
21307 specify a fixed number of introduction points. Its maximum value
21308 is 10 and default is 3. Using this option can increase a hidden
21309 service's reliability under load, at the cost of making it more
21310 visible that the hidden service is facing extra load. Closes
21312 - Remove the adaptive algorithm for choosing the number of
21313 introduction points, which used to change the number of
21314 introduction points (poorly) depending on the number of
21315 connections the HS sees. Closes ticket 4862.
21317 o Major features (onion key cross-certification):
21318 - Relay descriptors now include signatures of their own identity
21319 keys, made using the TAP and ntor onion keys. These signatures
21320 allow relays to prove ownership of their own onion keys. Because
21321 of this change, microdescriptors will no longer need to include
21322 RSA identity keys. Implements proposal 228; closes ticket 12499.
21324 o Major features (performance):
21325 - Improve the runtime speed of Ed25519 operations by using the
21326 public-domain Ed25519-donna by Andrew M. ("floodyberry").
21327 Implements ticket 16467.
21328 - Improve the runtime speed of the ntor handshake by using an
21329 optimized curve25519 basepoint scalarmult implementation from the
21330 public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
21331 ideas by Adam Langley. Implements ticket 9663.
21333 o Major bugfixes (client-side privacy, also in 0.2.6.9):
21334 - Properly separate out each SOCKSPort when applying stream
21335 isolation. The error occurred because each port's session group
21336 was being overwritten by a default value when the listener
21337 connection was initialized. Fixes bug 16247; bugfix on
21338 0.2.6.3-alpha. Patch by "jojelino".
21340 o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
21341 - Stop refusing to store updated hidden service descriptors on a
21342 client. This reverts commit 9407040c59218 (which indeed fixed bug
21343 14219, but introduced a major hidden service reachability
21344 regression detailed in bug 16381). This is a temporary fix since
21345 we can live with the minor issue in bug 14219 (it just results in
21346 some load on the network) but the regression of 16381 is too much
21347 of a setback. First-round fix for bug 16381; bugfix
21350 o Major bugfixes (hidden services):
21351 - When cannibalizing a circuit for an introduction point, always
21352 extend to the chosen exit node (creating a 4 hop circuit).
21353 Previously Tor would use the current circuit exit node, which
21354 changed the original choice of introduction point, and could cause
21355 the hidden service to skip excluded introduction points or
21356 reconnect to a skipped introduction point. Fixes bug 16260; bugfix
21359 o Major bugfixes (open file limit):
21360 - The open file limit wasn't checked before calling
21361 tor_accept_socket_nonblocking(), which would make Tor exceed the
21362 limit. Now, before opening a new socket, Tor validates the open
21363 file limit just before, and if the max has been reached, return an
21364 error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
21366 o Major bugfixes (stability, also in 0.2.6.10):
21367 - Stop crashing with an assertion failure when parsing certain kinds
21368 of malformed or truncated microdescriptors. Fixes bug 16400;
21369 bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
21370 by "cypherpunks_backup".
21371 - Stop random client-side assertion failures that could occur when
21372 connecting to a busy hidden service, or connecting to a hidden
21373 service while a NEWNYM is in progress. Fixes bug 16013; bugfix
21376 o Minor features (directory authorities, security, also in 0.2.6.9):
21377 - The HSDir flag given by authorities now requires the Stable flag.
21378 For the current network, this results in going from 2887 to 2806
21379 HSDirs. Also, it makes it harder for an attacker to launch a sybil
21380 attack by raising the effort for a relay to become Stable to
21381 require at the very least 7 days, while maintaining the 96 hours
21382 uptime requirement for HSDir. Implements ticket 8243.
21384 o Minor features (client):
21385 - Relax the validation of hostnames in SOCKS5 requests, allowing the
21386 character '_' to appear, in order to cope with domains observed in
21387 the wild that are serving non-RFC compliant records. Resolves
21389 - Relax the validation done to hostnames in SOCKS5 requests, and
21390 allow a single trailing '.' to cope with clients that pass FQDNs
21391 using that syntax to explicitly indicate that the domain name is
21392 fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
21393 - Add GroupWritable and WorldWritable options to unix-socket based
21394 SocksPort and ControlPort options. These options apply to a single
21395 socket, and override {Control,Socks}SocketsGroupWritable. Closes
21398 o Minor features (control protocol):
21399 - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
21400 the control protocol. Resolves ticket 15358.
21402 o Minor features (directory authorities):
21403 - Directory authorities no longer vote against the "Fast", "Stable",
21404 and "HSDir" flags just because they were going to vote against
21405 "Running": if the consensus turns out to be that the router was
21406 running, then the authority's vote should count. Patch from Peter
21407 Retzlaff; closes issue 8712.
21409 o Minor features (geoip, also in 0.2.6.10):
21410 - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
21411 - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
21413 o Minor features (hidden services):
21414 - Add the new options "HiddenServiceMaxStreams" and
21415 "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
21416 limit the maximum number of simultaneous streams per circuit, and
21417 optionally tear down the circuit when the limit is exceeded. Part
21420 o Minor features (portability):
21421 - Use C99 variadic macros when the compiler is not GCC. This avoids
21422 failing compilations on MSVC, and fixes a log-file-based race
21423 condition in our old workarounds. Original patch from Gisle Vanem.
21425 o Minor bugfixes (compilation, also in 0.2.6.9):
21426 - Build with --enable-systemd correctly when libsystemd is
21427 installed, but systemd is not. Fixes bug 16164; bugfix on
21428 0.2.6.3-alpha. Patch from Peter Palfrader.
21430 o Minor bugfixes (controller):
21431 - Add the descriptor ID in each HS_DESC control event. It was
21432 missing, but specified in control-spec.txt. Fixes bug 15881;
21433 bugfix on 0.2.5.2-alpha.
21435 o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
21436 - Check for failures from crypto_early_init, and refuse to continue.
21437 A previous typo meant that we could keep going with an
21438 uninitialized crypto library, and would have OpenSSL initialize
21439 its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
21440 when implementing ticket 4900. Patch by "teor".
21442 o Minor bugfixes (hidden services):
21443 - Fix a crash when reloading configuration while at least one
21444 configured and one ephemeral hidden service exists. Fixes bug
21445 16060; bugfix on 0.2.7.1-alpha.
21446 - Avoid crashing with a double-free bug when we create an ephemeral
21447 hidden service but adding it fails for some reason. Fixes bug
21448 16228; bugfix on 0.2.7.1-alpha.
21450 o Minor bugfixes (Linux seccomp2 sandbox):
21451 - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
21452 defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
21454 o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
21455 - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
21456 these when eventfd2() support is missing. Fixes bug 16363; bugfix
21457 on 0.2.6.3-alpha. Patch from "teor".
21459 o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
21460 - Fix sandboxing to work when running as a relay, by allowing the
21461 renaming of secret_id_key, and allowing the eventfd2 and futex
21462 syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
21464 - Allow systemd connections to work with the Linux seccomp2 sandbox
21465 code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
21468 o Minor bugfixes (relay):
21469 - Fix a rarely-encountered memory leak when failing to initialize
21470 the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
21471 from "cypherpunks".
21473 o Minor bugfixes (systemd):
21474 - Fix an accidental formatting error that broke the systemd
21475 configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
21476 - Tor's systemd unit file no longer contains extraneous spaces.
21477 These spaces would sometimes confuse tools like deb-systemd-
21478 helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
21480 o Minor bugfixes (tests):
21481 - Use the configured Python executable when running test-stem-full.
21482 Fixes bug 16470; bugfix on 0.2.7.1-alpha.
21484 o Minor bugfixes (tests, also in 0.2.6.9):
21485 - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
21486 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
21488 o Minor bugfixes (threads, comments):
21489 - Always initialize return value in compute_desc_id in rendcommon.c
21490 Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
21491 - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
21492 Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
21493 - Remove undefined directive-in-macro in test_util_writepid clang
21494 3.7 complains that using a preprocessor directive inside a macro
21495 invocation in test_util_writepid in test_util.c is undefined.
21496 Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
21498 o Code simplification and refactoring:
21499 - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
21500 to ensure they remain consistent and visible everywhere.
21501 - Remove some vestigial workarounds for the MSVC6 compiler. We
21502 haven't supported that in ages.
21503 - The link authentication code has been refactored for better
21504 testability and reliability. It now uses code generated with the
21505 "trunnel" binary encoding generator, to reduce the risk of bugs
21506 due to programmer error. Done as part of ticket 12498.
21509 - Include a specific and (hopefully) accurate documentation of the
21510 torrc file's meta-format in doc/torrc_format.txt. This is mainly
21511 of interest to people writing programs to parse or generate torrc
21512 files. This document is not a commitment to long-term
21513 compatibility; some aspects of the current format are a bit
21514 ridiculous. Closes ticket 2325.
21516 o Removed features:
21517 - Tor no longer supports copies of OpenSSL that are missing support
21518 for Elliptic Curve Cryptography. (We began using ECC when
21519 available in 0.2.4.8-alpha, for more safe and efficient key
21520 negotiation.) In particular, support for at least one of P256 or
21521 P224 is now required, with manual configuration needed if only
21522 P224 is available. Resolves ticket 16140.
21523 - Tor no longer supports versions of OpenSSL before 1.0. (If you are
21524 on an operating system that has not upgraded to OpenSSL 1.0 or
21525 later, and you compile Tor from source, you will need to install a
21526 more recent OpenSSL to link Tor against.) These versions of
21527 OpenSSL are still supported by the OpenSSL, but the numerous
21528 cryptographic improvements in later OpenSSL releases makes them a
21529 clear choice. Resolves ticket 16034.
21530 - Remove the HidServDirectoryV2 option. Now all relays offer to
21531 store hidden service descriptors. Related to 16543.
21532 - Remove the VoteOnHidServDirectoriesV2 option, since all
21533 authorities have long set it to 1. Closes ticket 16543.
21536 - Document use of coverity, clang static analyzer, and clang dynamic
21537 undefined behavior and address sanitizers in doc/HACKING. Include
21538 detailed usage instructions in the blacklist. Patch by "teor".
21539 Closes ticket 15817.
21540 - The link authentication protocol code now has extensive tests.
21541 - The relay descriptor signature testing code now has
21543 - The test_workqueue program now runs faster, and is enabled by
21544 default as a part of "make check".
21545 - Now that OpenSSL has its own scrypt implementation, add an unit
21546 test that checks for interoperability between libscrypt_scrypt()
21547 and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
21548 and rely on EVP_PBE_scrypt() whenever possible. Resolves
21552 Changes in version 0.2.6.10 - 2015-07-12
21553 Tor version 0.2.6.10 fixes some significant stability and hidden
21554 service client bugs, bulletproofs the cryptography init process, and
21555 fixes a bug when using the sandbox code with some older versions of
21556 Linux. Everyone running an older version, especially an older version
21557 of 0.2.6, should upgrade.
21559 o Major bugfixes (hidden service clients, stability):
21560 - Stop refusing to store updated hidden service descriptors on a
21561 client. This reverts commit 9407040c59218 (which indeed fixed bug
21562 14219, but introduced a major hidden service reachability
21563 regression detailed in bug 16381). This is a temporary fix since
21564 we can live with the minor issue in bug 14219 (it just results in
21565 some load on the network) but the regression of 16381 is too much
21566 of a setback. First-round fix for bug 16381; bugfix
21569 o Major bugfixes (stability):
21570 - Stop crashing with an assertion failure when parsing certain kinds
21571 of malformed or truncated microdescriptors. Fixes bug 16400;
21572 bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
21573 by "cypherpunks_backup".
21574 - Stop random client-side assertion failures that could occur when
21575 connecting to a busy hidden service, or connecting to a hidden
21576 service while a NEWNYM is in progress. Fixes bug 16013; bugfix
21579 o Minor features (geoip):
21580 - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
21581 - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
21583 o Minor bugfixes (crypto error-handling):
21584 - Check for failures from crypto_early_init, and refuse to continue.
21585 A previous typo meant that we could keep going with an
21586 uninitialized crypto library, and would have OpenSSL initialize
21587 its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
21588 when implementing ticket 4900. Patch by "teor".
21590 o Minor bugfixes (Linux seccomp2 sandbox):
21591 - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
21592 these when eventfd2() support is missing. Fixes bug 16363; bugfix
21593 on 0.2.6.3-alpha. Patch from "teor".
21596 Changes in version 0.2.6.9 - 2015-06-11
21597 Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
21598 requirements for receiving an HSDir flag, and addresses some other small
21599 bugs in the systemd and sandbox code. Clients using circuit isolation
21600 should upgrade; all directory authorities should upgrade.
21602 o Major bugfixes (client-side privacy):
21603 - Properly separate out each SOCKSPort when applying stream
21604 isolation. The error occurred because each port's session group was
21605 being overwritten by a default value when the listener connection
21606 was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
21609 o Minor feature (directory authorities, security):
21610 - The HSDir flag given by authorities now requires the Stable flag.
21611 For the current network, this results in going from 2887 to 2806
21612 HSDirs. Also, it makes it harder for an attacker to launch a sybil
21613 attack by raising the effort for a relay to become Stable which
21614 takes at the very least 7 days to do so and by keeping the 96
21615 hours uptime requirement for HSDir. Implements ticket 8243.
21617 o Minor bugfixes (compilation):
21618 - Build with --enable-systemd correctly when libsystemd is
21619 installed, but systemd is not. Fixes bug 16164; bugfix on
21620 0.2.6.3-alpha. Patch from Peter Palfrader.
21622 o Minor bugfixes (Linux seccomp2 sandbox):
21623 - Fix sandboxing to work when running as a relaymby renaming of
21624 secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
21625 bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
21626 - Allow systemd connections to work with the Linux seccomp2 sandbox
21627 code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
21630 o Minor bugfixes (tests):
21631 - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
21632 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
21635 Changes in version 0.2.6.8 - 2015-05-21
21636 Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
21637 fixes an authority-side bug in assigning the HSDir flag. All directory
21638 authorities should upgrade.
21640 o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
21641 - Revert commit that made directory authorities assign the HSDir
21642 flag to relays without a DirPort; this was bad because such relays
21643 can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
21646 o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
21647 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
21648 a client authorized hidden service. Fixes bug 15823; bugfix
21651 o Minor features (geoip):
21652 - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
21653 - Update geoip6 to the April 8 2015 Maxmind GeoLite2
21657 Changes in version 0.2.7.1-alpha - 2015-05-12
21658 Tor 0.2.7.1-alpha is the first alpha release in its series. It
21659 includes numerous small features and bugfixes against previous Tor
21660 versions, and numerous small infrastructure improvements. The most
21661 notable features are several new ways for controllers to interact with
21662 the hidden services subsystem.
21664 o New system requirements:
21665 - Tor no longer includes workarounds to support Libevent versions
21666 before 1.3e. Libevent 2.0 or later is recommended. Closes
21669 o Major features (controller):
21670 - Add the ADD_ONION and DEL_ONION commands that allow the creation
21671 and management of hidden services via the controller. Closes
21673 - New "GETINFO onions/current" and "GETINFO onions/detached"
21674 commands to get information about hidden services created via the
21675 controller. Part of ticket 6411.
21676 - New HSFETCH command to launch a request for a hidden service
21677 descriptor. Closes ticket 14847.
21678 - New HSPOST command to upload a hidden service descriptor. Closes
21679 ticket 3523. Patch by "DonnchaC".
21681 o Major bugfixes (hidden services):
21682 - Revert commit that made directory authorities assign the HSDir
21683 flag to relays without a DirPort; this was bad because such relays
21684 can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
21687 o Minor features (clock-jump tolerance):
21688 - Recover better when our clock jumps back many hours, like might
21689 happen for Tails or Whonix users who start with a very wrong
21690 hardware clock, use Tor to discover a more accurate time, and then
21691 fix their clock. Resolves part of ticket 8766.
21693 o Minor features (command-line interface):
21694 - Make --hash-password imply --hush to prevent unnecessary noise.
21695 Closes ticket 15542. Patch from "cypherpunks".
21696 - Print a warning whenever we find a relative file path being used
21697 as torrc option. Resolves issue 14018.
21699 o Minor features (controller):
21700 - Add DirAuthority lines for default directory authorities to the
21701 output of the "GETINFO config/defaults" command if not already
21702 present. Implements ticket 14840.
21703 - Controllers can now use "GETINFO hs/client/desc/id/..." to
21704 retrieve items from the client's hidden service descriptor cache.
21705 Closes ticket 14845.
21706 - Implement a new controller command "GETINFO status/fresh-relay-
21707 descs" to fetch a descriptor/extrainfo pair that was generated on
21708 demand just for the controller's use. Implements ticket 14784.
21710 o Minor features (DoS-resistance):
21711 - Make it harder for attackers to overload hidden services with
21712 introductions, by blocking multiple introduction requests on the
21713 same circuit. Resolves ticket 15515.
21715 o Minor features (geoip):
21716 - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
21717 - Update geoip6 to the April 8 2015 Maxmind GeoLite2
21720 o Minor features (HS popularity countermeasure):
21721 - To avoid leaking HS popularity, don't cycle the introduction point
21722 when we've handled a fixed number of INTRODUCE2 cells but instead
21723 cycle it when a random number of introductions is reached, thus
21724 making it more difficult for an attacker to find out the amount of
21725 clients that have used the introduction point for a specific HS.
21726 Closes ticket 15745.
21728 o Minor features (logging):
21729 - Include the Tor version in all LD_BUG log messages, since people
21730 tend to cut and paste those into the bugtracker. Implements
21733 o Minor features (pluggable transports):
21734 - When launching managed pluggable transports on Linux systems,
21735 attempt to have the kernel deliver a SIGTERM on tor exit if the
21736 pluggable transport process is still running. Resolves
21738 - When launching managed pluggable transports, setup a valid open
21739 stdin in the child process that can be used to detect if tor has
21740 terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
21741 can be used by implementations to detect this new behavior.
21742 Resolves ticket 15435.
21744 o Minor features (testing):
21745 - Add a test to verify that the compiler does not eliminate our
21746 memwipe() implementation. Closes ticket 15377.
21747 - Add make rule `check-changes` to verify the format of changes
21748 files. Closes ticket 15180.
21749 - Add unit tests for control_event_is_interesting(). Add a compile-
21750 time check that the number of events doesn't exceed the capacity
21751 of control_event_t.event_mask. Closes ticket 15431, checks for
21752 bugs similar to 13085. Patch by "teor".
21753 - Command-line argument tests moved to Stem. Resolves ticket 14806.
21754 - Integrate the ntor, backtrace, and zero-length keys tests into the
21755 automake test suite. Closes ticket 15344.
21756 - Remove assertions during builds to determine Tor's test coverage.
21757 We don't want to trigger these even in assertions, so including
21758 them artificially makes our branch coverage look worse than it is.
21759 This patch provides the new test-stem-full and coverage-html-full
21760 configure options. Implements ticket 15400.
21762 o Minor bugfixes (build):
21763 - Improve out-of-tree builds by making non-standard rules work and
21764 clean up additional files and directories. Fixes bug 15053; bugfix
21767 o Minor bugfixes (command-line interface):
21768 - When "--quiet" is provided along with "--validate-config", do not
21769 write anything to stdout on success. Fixes bug 14994; bugfix
21771 - When complaining about bad arguments to "--dump-config", use
21772 stderr, not stdout.
21774 o Minor bugfixes (configuration, unit tests):
21775 - Only add the default fallback directories when the DirAuthorities,
21776 AlternateDirAuthority, and FallbackDir directory config options
21777 are set to their defaults. The default fallback directory list is
21778 currently empty, this fix will only change tor's behavior when it
21779 has default fallback directories. Includes unit tests for
21780 consider_adding_dir_servers(). Fixes bug 15642; bugfix on
21781 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
21783 o Minor bugfixes (correctness):
21784 - For correctness, avoid modifying a constant string in
21785 handle_control_postdescriptor. Fixes bug 15546; bugfix
21787 - Remove side-effects from tor_assert() calls. This was harmless,
21788 because we never disable assertions, but it is bad style and
21789 unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
21792 o Minor bugfixes (hidden service):
21793 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
21794 a client authorized hidden service. Fixes bug 15823; bugfix
21796 - Remove an extraneous newline character from the end of hidden
21797 service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
21799 o Minor bugfixes (interface):
21800 - Print usage information for --dump-config when it is used without
21801 an argument. Also, fix the error message to use different wording
21802 and add newline at the end. Fixes bug 15541; bugfix
21805 o Minor bugfixes (logs):
21806 - When building Tor under Clang, do not include an extra set of
21807 parentheses in log messages that include function names. Fixes bug
21808 15269; bugfix on every released version of Tor when compiled with
21809 recent enough Clang.
21811 o Minor bugfixes (network):
21812 - When attempting to use fallback technique for network interface
21813 lookup, disregard loopback and multicast addresses since they are
21814 unsuitable for public communications.
21816 o Minor bugfixes (statistics):
21817 - Disregard the ConnDirectionStatistics torrc options when Tor is
21818 not a relay since in that mode of operation no sensible data is
21819 being collected and because Tor might run into measurement hiccups
21820 when running as a client for some time, then becoming a relay.
21821 Fixes bug 15604; bugfix on 0.2.2.35.
21823 o Minor bugfixes (test networks):
21824 - When self-testing reachability, use ExtendAllowPrivateAddresses to
21825 determine if local/private addresses imply reachability. The
21826 previous fix used TestingTorNetwork, which implies
21827 ExtendAllowPrivateAddresses, but this excluded rare configurations
21828 where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
21829 not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
21830 issue discovered by CJ Ess.
21832 o Minor bugfixes (testing):
21833 - Check for matching value in server response in ntor_ref.py. Fixes
21834 bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
21836 - Set the severity correctly when testing
21837 get_interface_addresses_ifaddrs() and
21838 get_interface_addresses_win32(), so that the tests fail gracefully
21839 instead of triggering an assertion. Fixes bug 15759; bugfix on
21840 0.2.6.3-alpha. Reported by Nicolas Derive.
21842 o Code simplification and refactoring:
21843 - Move the hacky fallback code out of get_interface_address6() into
21844 separate function and get it covered with unit-tests. Resolves
21846 - Refactor hidden service client-side cache lookup to intelligently
21847 report its various failure cases, and disentangle failure cases
21848 involving a lack of introduction points. Closes ticket 14391.
21849 - Use our own Base64 encoder instead of OpenSSL's, to allow more
21850 control over the output. Part of ticket 15652.
21853 - Improve the descriptions of statistics-related torrc options in
21854 the manpage to describe rationale and possible uses cases. Fixes
21856 - Improve the layout and formatting of ./configure --help messages.
21857 Closes ticket 15024. Patch from "cypherpunks".
21858 - Standardize on the term "server descriptor" in the manual page.
21859 Previously, we had used "router descriptor", "server descriptor",
21860 and "relay descriptor" interchangeably. Part of ticket 14987.
21863 - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
21864 and always use the internal Base64 decoder. The internal decoder
21865 has been part of tor since 0.2.0.10-alpha, and no one should
21866 be using the OpenSSL one. Part of ticket 15652.
21867 - Remove the 'tor_strclear()' function; use memwipe() instead.
21868 Closes ticket 14922.
21870 o Removed features:
21871 - Remove the (seldom-used) DynamicDHGroups feature. For anti-
21872 fingerprinting we now recommend pluggable transports; for forward-
21873 secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
21874 - Remove the undocumented "--digests" command-line option. It
21875 complicated our build process, caused subtle build issues on
21876 multiple platforms, and is now redundant since we started
21877 including git version identifiers. Closes ticket 14742.
21878 - Tor no longer contains checks for ancient directory cache versions
21879 that didn't know about microdescriptors.
21880 - Tor no longer contains workarounds for stat files generated by
21881 super-old versions of Tor that didn't choose guards sensibly.
21884 Changes in version 0.2.4.27 - 2015-04-06
21885 Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
21886 could be used by an attacker to crash hidden services, or crash clients
21887 visiting hidden services. Hidden services should upgrade as soon as
21888 possible; clients should upgrade whenever packages become available.
21890 This release also backports a simple improvement to make hidden
21891 services a bit less vulnerable to denial-of-service attacks.
21893 o Major bugfixes (security, hidden service):
21894 - Fix an issue that would allow a malicious client to trigger an
21895 assertion failure and halt a hidden service. Fixes bug 15600;
21896 bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
21897 - Fix a bug that could cause a client to crash with an assertion
21898 failure when parsing a malformed hidden service descriptor. Fixes
21899 bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
21901 o Minor features (DoS-resistance, hidden service):
21902 - Introduction points no longer allow multiple INTRODUCE1 cells to
21903 arrive on the same circuit. This should make it more expensive for
21904 attackers to overwhelm hidden services with introductions.
21905 Resolves ticket 15515.
21908 Changes in version 0.2.5.12 - 2015-04-06
21909 Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
21910 could be used by an attacker to crash hidden services, or crash clients
21911 visiting hidden services. Hidden services should upgrade as soon as
21912 possible; clients should upgrade whenever packages become available.
21914 This release also backports a simple improvement to make hidden
21915 services a bit less vulnerable to denial-of-service attacks.
21917 o Major bugfixes (security, hidden service):
21918 - Fix an issue that would allow a malicious client to trigger an
21919 assertion failure and halt a hidden service. Fixes bug 15600;
21920 bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
21921 - Fix a bug that could cause a client to crash with an assertion
21922 failure when parsing a malformed hidden service descriptor. Fixes
21923 bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
21925 o Minor features (DoS-resistance, hidden service):
21926 - Introduction points no longer allow multiple INTRODUCE1 cells to
21927 arrive on the same circuit. This should make it more expensive for
21928 attackers to overwhelm hidden services with introductions.
21929 Resolves ticket 15515.
21932 Changes in version 0.2.6.7 - 2015-04-06
21933 Tor 0.2.6.7 fixes two security issues that could be used by an
21934 attacker to crash hidden services, or crash clients visiting hidden
21935 services. Hidden services should upgrade as soon as possible; clients
21936 should upgrade whenever packages become available.
21938 This release also contains two simple improvements to make hidden
21939 services a bit less vulnerable to denial-of-service attacks.
21941 o Major bugfixes (security, hidden service):
21942 - Fix an issue that would allow a malicious client to trigger an
21943 assertion failure and halt a hidden service. Fixes bug 15600;
21944 bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
21945 - Fix a bug that could cause a client to crash with an assertion
21946 failure when parsing a malformed hidden service descriptor. Fixes
21947 bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
21949 o Minor features (DoS-resistance, hidden service):
21950 - Introduction points no longer allow multiple INTRODUCE1 cells to
21951 arrive on the same circuit. This should make it more expensive for
21952 attackers to overwhelm hidden services with introductions.
21953 Resolves ticket 15515.
21954 - Decrease the amount of reattempts that a hidden service performs
21955 when its rendezvous circuits fail. This reduces the computational
21956 cost for running a hidden service under heavy load. Resolves
21960 Changes in version 0.2.6.6 - 2015-03-24
21961 Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
21963 It adds numerous safety, security, correctness, and performance
21964 improvements. Client programs can be configured to use more kinds of
21965 sockets, AutomapHosts works better, the multithreading backend is
21966 improved, cell transmission is refactored, test coverage is much
21967 higher, more denial-of-service attacks are handled, guard selection is
21968 improved to handle long-term guards better, pluggable transports
21969 should work a bit better, and some annoying hidden service performance
21970 bugs should be addressed.
21972 o Minor bugfixes (portability):
21973 - Use the correct datatype in the SipHash-2-4 function to prevent
21974 compilers from assuming any sort of alignment. Fixes bug 15436;
21975 bugfix on 0.2.5.3-alpha.
21977 Changes in version 0.2.6.5-rc - 2015-03-18
21978 Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
21979 the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
21981 o Major bugfixes (client):
21982 - Avoid crashing when making certain configuration option changes on
21983 clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
21986 o Major bugfixes (pluggable transports):
21987 - Initialize the extended OR Port authentication cookie before
21988 launching pluggable transports. This prevents a race condition
21989 that occurred when server-side pluggable transports would cache the
21990 authentication cookie before it has been (re)generated. Fixes bug
21991 15240; bugfix on 0.2.5.1-alpha.
21993 o Major bugfixes (portability):
21994 - Do not crash on startup when running on Solaris. Fixes a bug
21995 related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
21998 o Minor features (heartbeat):
21999 - On relays, report how many connections we negotiated using each
22000 version of the Tor link protocols. This information will let us
22001 know if removing support for very old versions of the Tor
22002 protocols is harming the network. Closes ticket 15212.
22004 o Code simplification and refactoring:
22005 - Refactor main loop to extract the 'loop' part. This makes it
22006 easier to run Tor under Shadow. Closes ticket 15176.
22009 Changes in version 0.2.5.11 - 2015-03-17
22010 Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
22012 It backports several bugfixes from the 0.2.6 branch, including a
22013 couple of medium-level security fixes for relays and exit nodes.
22014 It also updates the list of directory authorities.
22016 o Directory authority changes:
22017 - Remove turtles as a directory authority.
22018 - Add longclaw as a new (v3) directory authority. This implements
22019 ticket 13296. This keeps the directory authority count at 9.
22020 - The directory authority Faravahar has a new IP address. This
22021 closes ticket 14487.
22023 o Major bugfixes (crash, OSX, security):
22024 - Fix a remote denial-of-service opportunity caused by a bug in
22025 OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
22028 o Major bugfixes (relay, stability, possible security):
22029 - Fix a bug that could lead to a relay crashing with an assertion
22030 failure if a buffer of exactly the wrong layout was passed to
22031 buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
22032 0.2.0.10-alpha. Patch from 'cypherpunks'.
22033 - Do not assert if the 'data' pointer on a buffer is advanced to the
22034 very end of the buffer; log a BUG message instead. Only assert if
22035 it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
22037 o Major bugfixes (exit node stability):
22038 - Fix an assertion failure that could occur under high DNS load.
22039 Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
22040 diagnosed and fixed by "cypherpunks".
22042 o Major bugfixes (Linux seccomp2 sandbox):
22043 - Upon receiving sighup with the seccomp2 sandbox enabled, do not
22044 crash during attempts to call wait4. Fixes bug 15088; bugfix on
22045 0.2.5.1-alpha. Patch from "sanic".
22047 o Minor features (controller):
22048 - New "GETINFO bw-event-cache" to get information about recent
22049 bandwidth events. Closes ticket 14128. Useful for controllers to
22050 get recent bandwidth history after the fix for ticket 13988.
22052 o Minor features (geoip):
22053 - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
22054 - Update geoip6 to the March 3 2015 Maxmind GeoLite2
22057 o Minor bugfixes (client, automapping):
22058 - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
22059 no value follows the option. Fixes bug 14142; bugfix on
22060 0.2.4.7-alpha. Patch by "teor".
22061 - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
22062 14195; bugfix on 0.1.0.1-rc.
22064 o Minor bugfixes (compilation):
22065 - Build without warnings with the stock OpenSSL srtp.h header, which
22066 has a duplicate declaration of SSL_get_selected_srtp_profile().
22067 Fixes bug 14220; this is OpenSSL's bug, not ours.
22069 o Minor bugfixes (directory authority):
22070 - Allow directory authorities to fetch more data from one another if
22071 they find themselves missing lots of votes. Previously, they had
22072 been bumping against the 10 MB queued data limit. Fixes bug 14261;
22073 bugfix on 0.1.2.5-alpha.
22074 - Enlarge the buffer to read bwauth generated files to avoid an
22075 issue when parsing the file in dirserv_read_measured_bandwidths().
22076 Fixes bug 14125; bugfix on 0.2.2.1-alpha.
22078 o Minor bugfixes (statistics):
22079 - Increase period over which bandwidth observations are aggregated
22080 from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
22082 o Minor bugfixes (preventative security, C safety):
22083 - When reading a hexadecimal, base-32, or base-64 encoded value from
22084 a string, always overwrite the whole output buffer. This prevents
22085 some bugs where we would look at (but fortunately, not reveal)
22086 uninitialized memory on the stack. Fixes bug 14013; bugfix on all
22090 Changes in version 0.2.4.26 - 2015-03-17
22091 Tor 0.2.4.26 includes an updated list of directory authorities. It
22092 also backports a couple of stability and security bugfixes from 0.2.5
22095 o Directory authority changes:
22096 - Remove turtles as a directory authority.
22097 - Add longclaw as a new (v3) directory authority. This implements
22098 ticket 13296. This keeps the directory authority count at 9.
22099 - The directory authority Faravahar has a new IP address. This
22100 closes ticket 14487.
22102 o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
22103 - Fix an assertion failure that could occur under high DNS load.
22104 Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
22105 diagnosed and fixed by "cypherpunks".
22107 o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
22108 - Fix a bug that could lead to a relay crashing with an assertion
22109 failure if a buffer of exactly the wrong layout was passed to
22110 buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
22111 0.2.0.10-alpha. Patch from 'cypherpunks'.
22112 - Do not assert if the 'data' pointer on a buffer is advanced to the
22113 very end of the buffer; log a BUG message instead. Only assert if
22114 it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
22116 o Minor features (geoip):
22117 - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
22118 - Update geoip6 to the March 3 2015 Maxmind GeoLite2
22121 Changes in version 0.2.6.4-rc - 2015-03-09
22122 Tor 0.2.6.4-alpha fixes an issue in the directory code that an
22123 attacker might be able to use in order to crash certain Tor
22124 directories. It also resolves some minor issues left over from, or
22125 introduced in, Tor 0.2.6.3-alpha or earlier.
22127 o Major bugfixes (crash, OSX, security):
22128 - Fix a remote denial-of-service opportunity caused by a bug in
22129 OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
22132 o Major bugfixes (relay, stability, possible security):
22133 - Fix a bug that could lead to a relay crashing with an assertion
22134 failure if a buffer of exactly the wrong layout is passed to
22135 buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
22136 0.2.0.10-alpha. Patch from "cypherpunks".
22137 - Do not assert if the 'data' pointer on a buffer is advanced to the
22138 very end of the buffer; log a BUG message instead. Only assert if
22139 it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
22141 o Major bugfixes (FreeBSD IPFW transparent proxy):
22142 - Fix address detection with FreeBSD transparent proxies, when
22143 "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
22146 o Major bugfixes (Linux seccomp2 sandbox):
22147 - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
22148 seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
22150 - Allow AF_UNIX hidden services to be used with the seccomp2
22151 sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
22152 - Upon receiving sighup with the seccomp2 sandbox enabled, do not
22153 crash during attempts to call wait4. Fixes bug 15088; bugfix on
22154 0.2.5.1-alpha. Patch from "sanic".
22156 o Minor features (controller):
22157 - Messages about problems in the bootstrap process now include
22158 information about the server we were trying to connect to when we
22159 noticed the problem. Closes ticket 15006.
22161 o Minor features (geoip):
22162 - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
22163 - Update geoip6 to the March 3 2015 Maxmind GeoLite2
22166 o Minor features (logs):
22167 - Quiet some log messages in the heartbeat and at startup. Closes
22170 o Minor bugfixes (certificate handling):
22171 - If an authority operator accidentally makes a signing certificate
22172 with a future publication time, do not discard its real signing
22173 certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
22174 - Remove any old authority certificates that have been superseded
22175 for at least two days. Previously, we would keep superseded
22176 certificates until they expired, if they were published close in
22177 time to the certificate that superseded them. Fixes bug 11454;
22178 bugfix on 0.2.1.8-alpha.
22180 o Minor bugfixes (compilation):
22181 - Fix a compilation warning on s390. Fixes bug 14988; bugfix
22183 - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
22186 o Minor bugfixes (testing):
22187 - Fix endianness issues in unit test for resolve_my_address() to
22188 have it pass on big endian systems. Fixes bug 14980; bugfix on
22190 - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
22191 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
22192 - When running the new 'make test-stem' target, use the configured
22193 python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
22194 from "cypherpunks".
22195 - When running the zero-length-keys tests, do not use the default
22196 torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
22199 o Directory authority IP change:
22200 - The directory authority Faravahar has a new IP address. This
22201 closes ticket 14487.
22204 - Remove some lingering dead code that once supported mempools.
22205 Mempools were disabled by default in 0.2.5, and removed entirely
22206 in 0.2.6.3-alpha. Closes more of ticket 14848; patch
22210 Changes in version 0.2.6.3-alpha - 2015-02-19
22211 Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
22212 the 0.2.6.x series. It introduces support for more kinds of sockets,
22213 makes it harder to accidentally run an exit, improves our
22214 multithreading backend, incorporates several fixes for the
22215 AutomapHostsOnResolve option, and fixes numerous other bugs besides.
22217 If no major regressions or security holes are found in this version,
22218 the next version will be a release candidate.
22220 o Deprecated versions:
22221 - Tor relays older than 0.2.4.18-rc are no longer allowed to
22222 advertise themselves on the network. Closes ticket 13555.
22224 o Major features (security, unix domain sockets):
22225 - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
22226 applications can reach Tor without having to create AF_INET or
22227 AF_INET6 sockets, meaning they can completely disable their
22228 ability to make non-Tor network connections. To create a socket of
22229 this type, use "SocksPort unix:/path/to/socket". Implements
22231 - Support mapping hidden service virtual ports to AF_UNIX sockets.
22232 The syntax is "HiddenServicePort 80 unix:/path/to/socket".
22233 Implements ticket 11485.
22235 o Major features (changed defaults):
22236 - Prevent relay operators from unintentionally running exits: When a
22237 relay is configured as an exit node, we now warn the user unless
22238 the "ExitRelay" option is set to 1. We warn even more loudly if
22239 the relay is configured with the default exit policy, since this
22240 can indicate accidental misconfiguration. Setting "ExitRelay 0"
22241 stops Tor from running as an exit relay. Closes ticket 10067.
22243 o Major features (directory system):
22244 - When downloading server- or microdescriptors from a directory
22245 server, we no longer launch multiple simultaneous requests to the
22246 same server. This reduces load on the directory servers,
22247 especially when directory guards are in use. Closes ticket 9969.
22248 - When downloading server- or microdescriptors over a tunneled
22249 connection, do not limit the length of our requests to what the
22250 Squid proxy is willing to handle. Part of ticket 9969.
22251 - Authorities can now vote on the correct digests and latest
22252 versions for different software packages. This allows packages
22253 that include Tor to use the Tor authority system as a way to get
22254 notified of updates and their correct digests. Implements proposal
22255 227. Closes ticket 10395.
22257 o Major features (guards):
22258 - Introduce the Guardfraction feature to improves load balancing on
22259 guard nodes. Specifically, it aims to reduce the traffic gap that
22260 guard nodes experience when they first get the Guard flag. This is
22261 a required step if we want to increase the guard lifetime to 9
22262 months or greater. Closes ticket 9321.
22264 o Major features (performance):
22265 - Make the CPU worker implementation more efficient by avoiding the
22266 kernel and lengthening pipelines. The original implementation used
22267 sockets to transfer data from the main thread to the workers, and
22268 didn't allow any thread to be assigned more than a single piece of
22269 work at once. The new implementation avoids communications
22270 overhead by making requests in shared memory, avoiding kernel IO
22271 where possible, and keeping more requests in flight at once.
22272 Implements ticket 9682.
22274 o Major features (relay):
22275 - Raise the minimum acceptable configured bandwidth rate for bridges
22276 to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
22277 20 KiB/sec.) Closes ticket 13822.
22279 o Major bugfixes (exit node stability):
22280 - Fix an assertion failure that could occur under high DNS load.
22281 Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
22282 diagnosed and fixed by "cypherpunks".
22284 o Major bugfixes (mixed relay-client operation):
22285 - When running as a relay and client at the same time (not
22286 recommended), if we decide not to use a new guard because we want
22287 to retry older guards, only close the locally-originating circuits
22288 passing through that guard. Previously we would close all the
22289 circuits through that guard. Fixes bug 9819; bugfix on
22290 0.2.1.1-alpha. Reported by "skruffy".
22292 o Minor features (build):
22293 - New --disable-system-torrc compile-time option to prevent Tor from
22294 looking for the system-wide torrc or torrc-defaults files.
22295 Resolves ticket 13037.
22297 o Minor features (controller):
22298 - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
22299 events so controllers can observe circuit isolation inputs. Closes
22301 - ControlPort now supports the unix:/path/to/socket syntax as an
22302 alternative to the ControlSocket option, for consistency with
22303 SocksPort and HiddenServicePort. Closes ticket 14451.
22304 - New "GETINFO bw-event-cache" to get information about recent
22305 bandwidth events. Closes ticket 14128. Useful for controllers to
22306 get recent bandwidth history after the fix for ticket 13988.
22308 o Minor features (Denial of service resistance):
22309 - Count the total number of bytes used storing hidden service
22310 descriptors against the value of MaxMemInQueues. If we're low on
22311 memory, and more than 20% of our memory is used holding hidden
22312 service descriptors, free them until no more than 10% of our
22313 memory holds hidden service descriptors. Free the least recently
22314 fetched descriptors first. Resolves ticket 13806.
22315 - When we have recently been under memory pressure (over 3/4 of
22316 MaxMemInQueues is allocated), then allocate smaller zlib objects
22317 for small requests. Closes ticket 11791.
22319 o Minor features (geoip):
22320 - Update geoip and geoip6 files to the January 7 2015 Maxmind
22321 GeoLite2 Country database.
22323 o Minor features (guard nodes):
22324 - Reduce the time delay before saving guard status to disk from 10
22325 minutes to 30 seconds (or from one hour to 10 minutes if
22326 AvoidDiskWrites is set). Closes ticket 12485.
22328 o Minor features (hidden service):
22329 - Make Sybil attacks against hidden services harder by changing the
22330 minimum time required to get the HSDir flag from 25 hours up to 96
22331 hours. Addresses ticket 14149.
22332 - New option "HiddenServiceAllowUnknownPorts" to allow hidden
22333 services to disable the anti-scanning feature introduced in
22334 0.2.6.2-alpha. With this option not set, a connection to an
22335 unlisted port closes the circuit. With this option set, only a
22336 RELAY_DONE cell is sent. Closes ticket 14084.
22338 o Minor features (interface):
22339 - Implement "-f -" command-line option to read torrc configuration
22340 from standard input, if you don't want to store the torrc file in
22341 the file system. Implements feature 13865.
22343 o Minor features (logging):
22344 - Add a count of unique clients to the bridge heartbeat message.
22345 Resolves ticket 6852.
22346 - Suppress "router info incompatible with extra info" message when
22347 reading extrainfo documents from cache. (This message got loud
22348 around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
22350 - Elevate hidden service authorized-client message from DEBUG to
22351 INFO. Closes ticket 14015.
22353 o Minor features (stability):
22354 - Add assertions in our hash-table iteration code to check for
22355 corrupted values that could cause infinite loops. Closes
22358 o Minor features (systemd):
22359 - Various improvements and modernizations in systemd hardening
22360 support. Closes ticket 13805. Patch from Craig Andrews.
22362 o Minor features (testing networks):
22363 - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
22364 and the default on a testing network to 2 minutes. Drop the
22365 MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
22366 keep the default on a testing network at 30 seconds. This reduces
22367 HS bootstrap time to around 25 seconds. Also, change the default
22368 time in test-network.sh to match. Closes ticket 13401. Patch
22370 - Create TestingDirAuthVoteHSDir to correspond to
22371 TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
22372 HSDir flag for the listed relays regardless of uptime or ORPort
22373 connectivity. Respects the value of VoteOnHidServDirectoriesV2.
22374 Partial implementation for ticket 14067. Patch by "teor".
22376 o Minor features (tor2web mode):
22377 - Introduce the config option Tor2webRendezvousPoints, which allows
22378 clients in Tor2webMode to select a specific Rendezvous Point to be
22379 used in HS circuits. This might allow better performance for
22380 Tor2Web nodes. Implements ticket 12844.
22382 o Minor bugfixes (client DNS):
22383 - Report the correct cached DNS expiration times on SOCKS port or in
22384 DNS replies. Previously, we would report everything as "never
22385 expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
22386 - Avoid a small memory leak when we find a cached answer for a
22387 reverse DNS lookup in a client-side DNS cache. (Remember, client-
22388 side DNS caching is off by default, and is not recommended.) Fixes
22389 bug 14259; bugfix on 0.2.0.1-alpha.
22391 o Minor bugfixes (client, automapping):
22392 - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
22393 no value follows the option. Fixes bug 14142; bugfix on
22394 0.2.4.7-alpha. Patch by "teor".
22395 - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
22396 14195; bugfix on 0.1.0.1-rc.
22397 - Prevent changes to other options from removing the wildcard value
22398 "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
22400 - Allow MapAddress and AutomapHostsOnResolve to work together when
22401 an address is mapped into another address type (like .onion) that
22402 must be automapped at resolve time. Fixes bug 7555; bugfix
22405 o Minor bugfixes (client, bridges):
22406 - When we are using bridges and we had a network connectivity
22407 problem, only retry connecting to our currently configured
22408 bridges, not all bridges we know about and remember using. Fixes
22409 bug 14216; bugfix on 0.2.2.17-alpha.
22411 o Minor bugfixes (client, IPv6):
22412 - Reject socks requests to literal IPv6 addresses when IPv6Traffic
22413 flag is not set; and not because the NoIPv4Traffic flag was set.
22414 Previously we'd looked at the NoIPv4Traffic flag for both types of
22415 literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
22417 o Minor bugfixes (compilation):
22418 - The address of an array in the middle of a structure will always
22419 be non-NULL. clang recognises this and complains. Disable the
22420 tautologous and redundant check to silence this warning. Fixes bug
22421 14001; bugfix on 0.2.1.2-alpha.
22422 - Avoid warnings when building with systemd 209 or later. Fixes bug
22423 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
22424 - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
22425 Addresses ticket 14188.
22426 - Build without warnings with the stock OpenSSL srtp.h header, which
22427 has a duplicate declaration of SSL_get_selected_srtp_profile().
22428 Fixes bug 14220; this is OpenSSL's bug, not ours.
22429 - Do not compile any code related to Tor2Web mode when Tor2Web mode
22430 is not enabled at compile time. Previously, this code was included
22431 in a disabled state. See discussion on ticket 12844.
22432 - Remove the --disable-threads configure option again. It was
22433 accidentally partially reintroduced in 29ac883606d6d. Fixes bug
22434 14819; bugfix on 0.2.6.2-alpha.
22436 o Minor bugfixes (controller):
22437 - Report "down" in response to the "GETINFO entry-guards" command
22438 when relays are down with an unreachable_since value. Previously,
22439 we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
22440 - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
22441 14116; bugfix on 0.2.2.9-alpha.
22442 - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
22443 reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
22445 o Minor bugfixes (directory authority):
22446 - Allow directory authorities to fetch more data from one another if
22447 they find themselves missing lots of votes. Previously, they had
22448 been bumping against the 10 MB queued data limit. Fixes bug 14261;
22449 bugfix on 0.1.2.5-alpha.
22450 - Do not attempt to download extrainfo documents which we will be
22451 unable to validate with a matching server descriptor. Fixes bug
22452 13762; bugfix on 0.2.0.1-alpha.
22453 - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
22454 control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
22455 - Enlarge the buffer to read bwauth generated files to avoid an
22456 issue when parsing the file in dirserv_read_measured_bandwidths().
22457 Fixes bug 14125; bugfix on 0.2.2.1-alpha.
22459 o Minor bugfixes (file handling):
22460 - Stop failing when key files are zero-length. Instead, generate new
22461 keys, and overwrite the empty key files. Fixes bug 13111; bugfix
22462 on all versions of Tor. Patch by "teor".
22463 - Stop generating a fresh .old RSA onion key file when the .old file
22464 is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
22465 - Avoid overwriting .old key files with empty key files.
22466 - Skip loading zero-length extrainfo store, router store, stats,
22467 state, and key files.
22468 - Avoid crashing when trying to reload a torrc specified as a
22469 relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
22472 o Minor bugfixes (hidden services):
22473 - Close the introduction circuit when we have no more usable intro
22474 points, instead of waiting for it to time out. This also ensures
22475 that no follow-up HS descriptor fetch is triggered when the
22476 circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
22477 - When fetching a hidden service descriptor for a down service that
22478 was recently up, do not keep refetching until we try the same
22479 replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
22480 - Successfully launch Tor with a nonexistent hidden service
22481 directory. Our fix for bug 13942 didn't catch this case. Fixes bug
22482 14106; bugfix on 0.2.6.2-alpha.
22484 o Minor bugfixes (logging):
22485 - Avoid crashing when there are more log domains than entries in
22486 domain_list. Bugfix on 0.2.3.1-alpha.
22487 - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
22489 - Don't log messages to stdout twice when starting up. Fixes bug
22490 13993; bugfix on 0.2.6.1-alpha.
22492 o Minor bugfixes (parsing):
22493 - Stop accepting milliseconds (or other junk) at the end of
22494 descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
22495 - Support two-number and three-number version numbers correctly, in
22496 case we change the Tor versioning system in the future. Fixes bug
22497 13661; bugfix on 0.0.8pre1.
22499 o Minor bugfixes (path counting):
22500 - When deciding whether the consensus lists any exit nodes, count
22501 the number listed in the consensus, not the number we have
22502 descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
22503 - When deciding whether we have any exit nodes, only examine
22504 ExitNodes when the ExitNodes option is actually set. Fixes part of
22505 bug 14918; bugfix on 0.2.6.2-alpha.
22506 - Get rid of redundant and possibly scary warnings that we are
22507 missing directory information while we bootstrap. Fixes part of
22508 bug 14918; bugfix on 0.2.6.2-alpha.
22510 o Minor bugfixes (portability):
22511 - Fix the ioctl()-based network interface lookup code so that it
22512 will work on systems that have variable-length struct ifreq, for
22514 - Fix scheduler compilation on targets where char is unsigned. Fixes
22515 bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
22517 o Minor bugfixes (sandbox):
22518 - Allow glibc fatal errors to be sent to stderr before Tor exits.
22519 Previously, glibc would try to write them to /dev/tty, and the
22520 sandbox would trap the call and make Tor exit prematurely. Fixes
22521 bug 14759; bugfix on 0.2.5.1-alpha.
22523 o Minor bugfixes (shutdown):
22524 - When shutting down, always call event_del() on lingering read or
22525 write events before freeing them. Otherwise, we risk double-frees
22526 or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
22529 o Minor bugfixes (small memory leaks):
22530 - Avoid leaking memory when using IPv6 virtual address mappings.
22531 Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
22534 o Minor bugfixes (statistics):
22535 - Increase period over which bandwidth observations are aggregated
22536 from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
22538 o Minor bugfixes (systemd support):
22539 - Fix detection and operation of systemd watchdog. Fixes part of bug
22540 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
22541 - Run correctly under systemd with the RunAsDaemon option set. Fixes
22542 part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
22543 - Inform the systemd supervisor about more changes in the Tor
22544 process status. Implements part of ticket 14141. Patch from
22546 - Cause the "--disable-systemd" option to actually disable systemd
22547 support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
22550 o Minor bugfixes (TLS):
22551 - Check more thoroughly throughout the TLS code for possible
22552 unlogged TLS errors. Possible diagnostic or fix for bug 13319.
22554 o Minor bugfixes (transparent proxy):
22555 - Use getsockname, not getsockopt, to retrieve the address for a
22556 TPROXY-redirected connection. Fixes bug 13796; bugfix
22559 o Code simplification and refactoring:
22560 - Move fields related to isolating and configuring client ports into
22561 a shared structure. Previously, they were duplicated across
22562 port_cfg_t, listener_connection_t, and edge_connection_t. Failure
22563 to copy them correctly had been the cause of at least one bug in
22564 the past. Closes ticket 8546.
22565 - Refactor the get_interface_addresses_raw() doom-function into
22566 multiple smaller and simpler subfunctions. Cover the resulting
22567 subfunctions with unit-tests. Fixes a significant portion of
22569 - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
22570 only for version <= 0.2.2.24 which is now deprecated. Closes
22572 - Remove a test for a long-defunct broken version-one
22576 - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
22577 for writing the OpenBSD-specific tips. Resolves ticket 13702.
22578 - Make the tor-resolve documentation match its help string and its
22579 options. Resolves part of ticket 14325.
22580 - Log a more useful error message from tor-resolve when failing to
22581 look up a hidden service address. Resolves part of ticket 14325.
22583 o Downgraded warnings:
22584 - Don't warn when we've attempted to contact a relay using the wrong
22585 ntor onion key. Closes ticket 9635.
22587 o Removed features:
22588 - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
22589 longer silently accepted as an alias for "ExitNodes".
22590 - The --enable-mempool and --enable-buf-freelists options, which
22591 were originally created to work around bad malloc implementations,
22592 no longer exist. They were off-by-default in 0.2.5. Closes
22596 - Make the checkdir/perms test complete successfully even if the
22597 global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
22598 - Test that tor does not fail when key files are zero-length. Check
22599 that tor generates new keys, and overwrites the empty key files.
22600 - Test that tor generates new keys when keys are missing
22601 (existing behavior).
22602 - Test that tor does not overwrite key files that already contain
22603 data (existing behavior). Tests bug 13111. Patch by "teor".
22604 - New "make test-stem" target to run stem integration tests.
22605 Requires that the "STEM_SOURCE_DIR" environment variable be set.
22606 Closes ticket 14107.
22607 - Make the test_cmdline_args.py script work correctly on Windows.
22608 Patch from Gisle Vanem.
22609 - Move the slower unit tests into a new "./src/test/test-slow"
22610 binary that can be run independently of the other tests. Closes
22612 - Avoid undefined behavior when sampling huge values from the
22613 Laplace distribution. This made unittests fail on Raspberry Pi.
22614 Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
22617 Changes in version 0.2.6.2-alpha - 2014-12-31
22618 Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
22619 It introduces a major new backend for deciding when to send cells on
22620 channels, which should lead down the road to big performance
22621 increases. It contains security and statistics features for better
22622 work on hidden services, and numerous bugfixes.
22624 This release contains many new unit tests, along with major
22625 performance improvements for running testing networks using Chutney.
22626 Thanks to a series of patches contributed by "teor", testing networks
22627 should now bootstrap in seconds, rather than minutes.
22629 o Major features (relay, infrastructure):
22630 - Complete revision of the code that relays use to decide which cell
22631 to send next. Formerly, we selected the best circuit to write on
22632 each channel, but we didn't select among channels in any
22633 sophisticated way. Now, we choose the best circuits globally from
22634 among those whose channels are ready to deliver traffic.
22636 This patch implements a new inter-cmux comparison API, a global
22637 high/low watermark mechanism and a global scheduler loop for
22638 transmission prioritization across all channels as well as among
22639 circuits on one channel. This schedule is currently tuned to
22640 (tolerantly) avoid making changes in network performance, but it
22641 should form the basis for major circuit performance increases in
22642 the future. Code by Andrea; tuning by Rob Jansen; implements
22645 o Major features (hidden services):
22646 - Make HS port scanning more difficult by immediately closing the
22647 circuit when a user attempts to connect to a nonexistent port.
22648 Closes ticket 13667.
22649 - Add a HiddenServiceStatistics option that allows Tor relays to
22650 gather and publish statistics about the overall size and volume of
22651 hidden service usage. Specifically, when this option is turned on,
22652 an HSDir will publish an approximate number of hidden services
22653 that have published descriptors to it the past 24 hours. Also, if
22654 a relay has acted as a hidden service rendezvous point, it will
22655 publish the approximate amount of rendezvous cells it has relayed
22656 the past 24 hours. The statistics themselves are obfuscated so
22657 that the exact values cannot be derived. For more details see
22658 proposal 238, "Better hidden service stats from Tor relays". This
22659 feature is currently disabled by default. Implements feature 13192.
22661 o Major bugfixes (client, automap):
22662 - Repair automapping with IPv6 addresses. This automapping should
22663 have worked previously, but one piece of debugging code that we
22664 inserted to detect a regression actually caused the regression to
22665 manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
22666 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
22669 o Major bugfixes (hidden services):
22670 - When closing an introduction circuit that was opened in parallel
22671 with others, don't mark the introduction point as unreachable.
22672 Previously, the first successful connection to an introduction
22673 point would make the other introduction points get marked as
22674 having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
22676 o Directory authority changes:
22677 - Remove turtles as a directory authority.
22678 - Add longclaw as a new (v3) directory authority. This implements
22679 ticket 13296. This keeps the directory authority count at 9.
22681 o Major removed features:
22682 - Tor clients no longer support connecting to hidden services
22683 running on Tor 0.2.2.x and earlier; the Support022HiddenServices
22684 option has been removed. (There shouldn't be any hidden services
22685 running these versions on the network.) Closes ticket 7803.
22687 o Minor features (client):
22688 - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
22689 is enabled, reject requests with IP addresses as hostnames.
22690 Resolves ticket 13315.
22692 o Minor features (controller):
22693 - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
22694 write an unscheduled heartbeat message to the log. Implements
22697 o Minor features (geoip):
22698 - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
22701 o Minor features (hidden services):
22702 - When re-enabling the network, don't try to build introduction
22703 circuits until we have successfully built a circuit. This makes
22704 hidden services come up faster when the network is re-enabled.
22705 Patch from "akwizgran". Closes ticket 13447.
22706 - When we fail to retrieve a hidden service descriptor, send the
22707 controller an "HS_DESC FAILED" controller event. Implements
22709 - New HiddenServiceDirGroupReadable option to cause hidden service
22710 directories and hostname files to be created group-readable. Patch
22711 from "anon", David Stainton, and "meejah". Closes ticket 11291.
22713 o Minor features (systemd):
22714 - Where supported, when running with systemd, report successful
22715 startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
22716 - When running with systemd, support systemd watchdog messages. Part
22717 of ticket 11016. Patch by Michael Scherer.
22719 o Minor features (transparent proxy):
22720 - Update the transparent proxy option checks to allow for both ipfw
22721 and pf on OS X. Closes ticket 14002.
22722 - Use the correct option when using IPv6 with transparent proxy
22723 support on Linux. Resolves 13808. Patch by Francisco Blas
22726 o Minor bugfixes (preventative security, C safety):
22727 - When reading a hexadecimal, base-32, or base-64 encoded value from
22728 a string, always overwrite the whole output buffer. This prevents
22729 some bugs where we would look at (but fortunately, not reveal)
22730 uninitialized memory on the stack. Fixes bug 14013; bugfix on all
22732 - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
22733 just the part that's used. This makes it harder for data leak bugs
22734 to occur in the event of other programming failures. Resolves
22737 o Minor bugfixes (client, microdescriptors):
22738 - Use a full 256 bits of the SHA256 digest of a microdescriptor when
22739 computing which microdescriptors to download. This keeps us from
22740 erroneous download behavior if two microdescriptor digests ever
22741 have the same first 160 bits. Fixes part of bug 13399; bugfix
22743 - Reset a router's status if its microdescriptor digest changes,
22744 even if the first 160 bits remain the same. Fixes part of bug
22745 13399; bugfix on 0.2.3.1-alpha.
22747 o Minor bugfixes (compilation):
22748 - Silence clang warnings under --enable-expensive-hardening,
22749 including implicit truncation of 64 bit values to 32 bit, const
22750 char assignment to self, tautological compare, and additional
22751 parentheses around equality tests. Fixes bug 13577; bugfix
22753 - Fix a clang warning about checking whether an address in the
22754 middle of a structure is NULL. Fixes bug 14001; bugfix
22757 o Minor bugfixes (hidden services):
22758 - Correctly send a controller event when we find that a rendezvous
22759 circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
22760 - Pre-check directory permissions for new hidden-services to avoid
22761 at least one case of "Bug: Acting on config options left us in a
22762 broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
22763 - When adding a new hidden service (for example, via SETCONF), Tor
22764 no longer congratulates the user for running a relay. Fixes bug
22765 13941; bugfix on 0.2.6.1-alpha.
22766 - When fetching hidden service descriptors, we now check not only
22767 for whether we got the hidden service we had in mind, but also
22768 whether we got the particular descriptors we wanted. This prevents
22769 a class of inefficient but annoying DoS attacks by hidden service
22770 directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
22773 o Minor bugfixes (Linux seccomp2 sandbox):
22774 - Make transparent proxy support work along with the seccomp2
22775 sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
22776 by Francisco Blas Izquierdo Riera.
22777 - Fix a memory leak in tor-resolve when running with the sandbox
22778 enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
22780 o Minor bugfixes (logging):
22781 - Downgrade warnings about RSA signature failures to info log level.
22782 Emit a warning when an extra info document is found incompatible
22783 with a corresponding router descriptor. Fixes bug 9812; bugfix
22785 - Make connection_ap_handshake_attach_circuit() log the circuit ID
22786 correctly. Fixes bug 13701; bugfix on 0.0.6.
22788 o Minor bugfixes (misc):
22789 - Stop allowing invalid address patterns like "*/24" that contain
22790 both a wildcard address and a bit prefix length. This affects all
22791 our address-range parsing code. Fixes bug 7484; bugfix
22794 o Minor bugfixes (testing networks, fast startup):
22795 - Allow Tor to build circuits using a consensus with no exits. If
22796 the consensus has no exits (typical of a bootstrapping test
22797 network), allow Tor to build circuits once enough descriptors have
22798 been downloaded. This assists in bootstrapping a testing Tor
22799 network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
22801 - When V3AuthVotingInterval is low, give a lower If-Modified-Since
22802 header to directory servers. This allows us to obtain consensuses
22803 promptly when the consensus interval is very short. This assists
22804 in bootstrapping a testing Tor network. Fixes parts of bugs 13718
22805 and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
22806 - Stop assuming that private addresses are local when checking
22807 reachability in a TestingTorNetwork. Instead, when testing, assume
22808 all OR connections are remote. (This is necessary due to many test
22809 scenarios running all relays on localhost.) This assists in
22810 bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
22811 0.1.0.1-rc. Patch by "teor".
22812 - Avoid building exit circuits from a consensus with no exits. Now
22813 thanks to our fix for 13718, we accept a no-exit network as not
22814 wholly lost, but we need to remember not to try to build exit
22815 circuits on it. Closes ticket 13814; patch by "teor".
22816 - Stop requiring exits to have non-zero bandwithcapacity in a
22817 TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
22818 ignore exit bandwidthcapacity. This assists in bootstrapping a
22819 testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
22820 on 0.2.0.3-alpha. Patch by "teor".
22821 - Add "internal" to some bootstrap statuses when no exits are
22822 available. If the consensus does not contain Exits, Tor will only
22823 build internal circuits. In this case, relevant statuses will
22824 contain the word "internal" as indicated in the Tor control-
22825 spec.txt. When bootstrap completes, Tor will be ready to build
22826 internal circuits. If a future consensus contains Exits, exit
22827 circuits may become available. Fixes part of bug 13718; bugfix on
22828 0.2.4.10-alpha. Patch by "teor".
22829 - Decrease minimum consensus interval to 10 seconds when
22830 TestingTorNetwork is set, or 5 seconds for the first consensus.
22831 Fix assumptions throughout the code that assume larger intervals.
22832 Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
22834 - Avoid excluding guards from path building in minimal test
22835 networks, when we're in a test network and excluding guards would
22836 exclude all relays. This typically occurs in incredibly small tor
22837 networks, and those using "TestingAuthVoteGuard *". Fixes part of
22838 bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
22840 o Code simplification and refactoring:
22841 - Stop using can_complete_circuits as a global variable; access it
22842 with a function instead.
22843 - Avoid using operators directly as macro arguments: this lets us
22844 apply coccinelle transformations to our codebase more directly.
22845 Closes ticket 13172.
22846 - Combine the functions used to parse ClientTransportPlugin and
22847 ServerTransportPlugin into a single function. Closes ticket 6456.
22848 - Add inline functions and convenience macros for inspecting channel
22849 state. Refactor the code to use convenience macros instead of
22850 checking channel state directly. Fixes issue 7356.
22851 - Document all members of was_router_added_t and rename
22852 ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
22853 confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
22854 - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
22855 constant instead of hardcoded value. Fixes issue 13840.
22856 - Refactor our generic strmap and digestmap types into a single
22857 implementation, so that we can add a new digest256map
22861 - Document the bridge-authority-only 'networkstatus-bridges' file.
22862 Closes ticket 13713; patch from "tom".
22863 - Fix typo in PredictedPortsRelevanceTime option description in
22864 manpage. Resolves issue 13707.
22865 - Stop suggesting that users specify relays by nickname: it isn't a
22866 good idea. Also, properly cross-reference how to specify relays in
22867 all parts of manual documenting options that take a list of
22868 relays. Closes ticket 13381.
22869 - Clarify the HiddenServiceDir option description in manpage to make
22870 it clear that relative paths are taken with respect to the current
22871 working directory. Also clarify that this behavior is not
22872 guaranteed to remain indefinitely. Fixes issue 13913.
22875 - New tests for many parts of channel, relay, and circuitmux
22876 functionality. Code by Andrea; part of 9262.
22877 - New tests for parse_transport_line(). Part of ticket 6456.
22878 - In the unit tests, use chgrp() to change the group of the unit
22879 test temporary directory to the current user, so that the sticky
22880 bit doesn't interfere with tests that check directory groups.
22882 - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
22886 Changes in version 0.2.6.1-alpha - 2014-10-30
22887 Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
22888 includes numerous code cleanups and new tests, and fixes a large
22889 number of annoying bugs. Out-of-memory conditions are handled better
22890 than in 0.2.5, pluggable transports have improved proxy support, and
22891 clients now use optimistic data for contacting hidden services. Also,
22892 we are now more robust to changes in what we consider a parseable
22893 directory object, so that tightening restrictions does not have a risk
22894 of introducing infinite download loops.
22896 This is the first alpha release in a new series, so expect there to be
22897 bugs. Users who would rather test out a more stable branch should stay
22898 with 0.2.5.x for now.
22900 o New compiler and system requirements:
22901 - Tor 0.2.6.x requires that your compiler support more of the C99
22902 language standard than before. The 'configure' script now detects
22903 whether your compiler supports C99 mid-block declarations and
22904 designated initializers. If it does not, Tor will not compile.
22906 We may revisit this requirement if it turns out that a significant
22907 number of people need to build Tor with compilers that don't
22908 bother implementing a 15-year-old standard. Closes ticket 13233.
22909 - Tor no longer supports systems without threading support. When we
22910 began working on Tor, there were several systems that didn't have
22911 threads, or where the thread support wasn't able to run the
22912 threads of a single process on multiple CPUs. That no longer
22913 holds: every system where Tor needs to run well now has threading
22914 support. Resolves ticket 12439.
22916 o Removed platform support:
22917 - We no longer include special code to build on Windows CE; as far
22918 as we know, nobody has used Tor on Windows CE in a very long time.
22919 Closes ticket 11446.
22921 o Major features (bridges):
22922 - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
22923 transports if they are configured via the "TOR_PT_PROXY"
22924 environment variable. Implements proposal 232. Resolves
22927 o Major features (client performance, hidden services):
22928 - Allow clients to use optimistic data when connecting to a hidden
22929 service, which should remove a round-trip from hidden service
22930 initialization. See proposal 181 for details. Implements
22933 o Major features (directory system):
22934 - Upon receiving an unparseable directory object, if its digest
22935 matches what we expected, then don't try to download it again.
22936 Previously, when we got a descriptor we didn't like, we would keep
22937 trying to download it over and over. Closes ticket 11243.
22939 o Major features (sample torrc):
22940 - Add a new, infrequently-changed "torrc.minimal". This file is
22941 similar to torrc.sample, but it will change as infrequently as
22942 possible, for the benefit of users whose systems prompt them for
22943 intervention whenever a default configuration file is changed.
22944 Making this change allows us to update torrc.sample to be a more
22945 generally useful "sample torrc".
22947 o Major bugfixes (directory authorities):
22948 - Do not assign the HSDir flag to relays if they are not Valid, or
22949 currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
22951 o Major bugfixes (directory bandwidth performance):
22952 - Don't flush the zlib buffer aggressively when compressing
22953 directory information for clients. This should save about 7% of
22954 the bandwidth currently used for compressed descriptors and
22955 microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
22957 o Minor features (security, memory wiping):
22958 - Ensure we securely wipe keys from memory after
22959 crypto_digest_get_digest and init_curve25519_keypair_from_file
22960 have finished using them. Resolves ticket 13477.
22962 o Minor features (security, out-of-memory handling):
22963 - When handling an out-of-memory condition, allocate less memory for
22964 temporary data structures. Fixes issue 10115.
22965 - When handling an out-of-memory condition, consider more types of
22966 buffers, including those on directory connections, and zlib
22967 buffers. Resolves ticket 11792.
22970 - When identity keypair is generated for first time, log a
22971 congratulatory message that links to the new relay lifecycle
22972 document. Implements feature 10427.
22974 o Minor features (client):
22975 - Clients are now willing to send optimistic data (before they
22976 receive a 'connected' cell) to relays of any version. (Relays
22977 without support for optimistic data are no longer supported on the
22978 Tor network.) Resolves ticket 13153.
22980 o Minor features (directory authorities):
22981 - Don't list relays with a bandwidth estimate of 0 in the consensus.
22982 Implements a feature proposed during discussion of bug 13000.
22983 - In tor-gencert, report an error if the user provides the same
22984 argument more than once.
22985 - If a directory authority can't find a best consensus method in the
22986 votes that it holds, it now falls back to its favorite consensus
22987 method. Previously, it fell back to method 1. Neither of these is
22988 likely to get enough signatures, but "fall back to favorite"
22989 doesn't require us to maintain support an obsolete consensus
22990 method. Implements part of proposal 215.
22992 o Minor features (logging):
22993 - On Unix-like systems, you can now use named pipes as the target of
22994 the Log option, and other options that try to append to files.
22995 Closes ticket 12061. Patch from "carlo von lynX".
22996 - When opening a log file at startup, send it every log message that
22997 we generated between startup and opening it. Previously, log
22998 messages that were generated before opening the log file were only
22999 logged to stdout. Closes ticket 6938.
23000 - Add a TruncateLogFile option to overwrite logs instead of
23001 appending to them. Closes ticket 5583.
23003 o Minor features (portability, Solaris):
23004 - Threads are no longer disabled by default on Solaris; we believe
23005 that the versions of Solaris with broken threading support are all
23006 obsolete by now. Resolves ticket 9495.
23008 o Minor features (relay):
23009 - Re-check our address after we detect a changed IP address from
23010 getsockname(). This ensures that the controller command "GETINFO
23011 address" will report the correct value. Resolves ticket 11582.
23013 - A new AccountingRule option lets Relays set whether they'd like
23014 AccountingMax to be applied separately to inbound and outbound
23015 traffic, or applied to the sum of inbound and outbound traffic.
23016 Resolves ticket 961. Patch by "chobe".
23018 o Minor features (testing networks):
23019 - Add the TestingDirAuthVoteExit option, which lists nodes to assign
23020 the "Exit" flag regardless of their uptime, bandwidth, or exit
23021 policy. TestingTorNetwork must be set for this option to have any
23022 effect. Previously, authorities would take up to 35 minutes to
23023 give nodes the Exit flag in a test network. Partially implements
23026 o Minor features (validation):
23027 - Check all date/time values passed to tor_timegm and
23028 parse_rfc1123_time for validity, taking leap years into account.
23029 Improves HTTP header validation. Implemented with bug 13476.
23030 - In correct_tm(), limit the range of values returned by system
23031 localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
23032 This means we don't have to deal with negative or too large dates,
23033 even if a clock is wrong. Otherwise we might fail to read a file
23034 written by us which includes such a date. Fixes bug 13476.
23036 o Minor bugfixes (bridge clients):
23037 - When configured to use a bridge without an identity digest (not
23038 recommended), avoid launching an extra channel to it when
23039 bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
23041 o Minor bugfixes (bridges):
23042 - When DisableNetwork is set, do not launch pluggable transport
23043 plugins, and if any are running, terminate them. Fixes bug 13213;
23044 bugfix on 0.2.3.6-alpha.
23046 o Minor bugfixes (C correctness):
23047 - Fix several instances of possible integer overflow/underflow/NaN.
23048 Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
23050 - In circuit_build_times_calculate_timeout() in circuitstats.c,
23051 avoid dividing by zero in the pareto calculations. This traps
23052 under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
23054 - Fix an integer overflow in format_time_interval(). Fixes bug
23055 13393; bugfix on 0.2.0.10-alpha.
23056 - Set the correct day of year value when the system's localtime(_r)
23057 or gmtime(_r) functions fail to set struct tm. Not externally
23058 visible. Fixes bug 13476; bugfix on 0.0.2pre14.
23059 - Avoid unlikely signed integer overflow in tor_timegm on systems
23060 with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
23062 o Minor bugfixes (client):
23063 - Fix smartlist_choose_node_by_bandwidth() so that relays with the
23064 BadExit flag are not considered worthy candidates. Fixes bug
23065 13066; bugfix on 0.1.2.3-alpha.
23066 - Use the consensus schedule for downloading consensuses, and not
23067 the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
23068 - Handle unsupported or malformed SOCKS5 requests properly by
23069 responding with the appropriate error message before closing the
23070 connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
23072 o Minor bugfixes (client, torrc):
23073 - Stop modifying the value of our DirReqStatistics torrc option just
23074 because we're not a bridge or relay. This bug was causing Tor
23075 Browser users to write "DirReqStatistics 0" in their torrc files
23076 as if they had chosen to change the config. Fixes bug 4244; bugfix
23078 - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
23079 that our options have changed every time we SIGHUP. Fixes bug
23080 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
23082 o Minor bugfixes (controller):
23083 - Return an error when the second or later arguments of the
23084 "setevents" controller command are invalid events. Previously we
23085 would return success while silently skipping invalid events. Fixes
23086 bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
23088 o Minor bugfixes (directory system):
23089 - Always believe that v3 directory authorities serve extra-info
23090 documents, whether they advertise "caches-extra-info" or not.
23091 Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
23092 - When running as a v3 directory authority, advertise that you serve
23093 extra-info documents so that clients who want them can find them
23094 from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
23095 - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
23096 Previously, directories offering BRIDGE_DIRINFO and some other
23097 flag (i.e. microdescriptors or extrainfo) would be ignored when
23098 looking for bridges. Partially fixes bug 13163; bugfix
23101 o Minor bugfixes (networking):
23102 - Check for orconns and use connection_or_close_for_error() rather
23103 than connection_mark_for_close() directly in the getsockopt()
23104 failure case of connection_handle_write_impl(). Fixes bug 11302;
23105 bugfix on 0.2.4.4-alpha.
23107 o Minor bugfixes (relay):
23108 - When generating our family list, remove spaces from around the
23109 entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
23110 - If our previous bandwidth estimate was 0 bytes, allow publishing a
23111 new relay descriptor immediately. Fixes bug 13000; bugfix
23114 o Minor bugfixes (testing networks):
23115 - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
23116 testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
23117 - Stop using the default authorities in networks which provide both
23118 AlternateDirAuthority and AlternateBridgeAuthority. Partially
23119 fixes bug 13163; bugfix on 0.2.0.13-alpha.
23121 o Minor bugfixes (testing):
23122 - Stop spawn test failures due to a race condition between the
23123 SIGCHLD handler updating the process status, and the test reading
23124 it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
23126 o Minor bugfixes (testing, Windows):
23127 - Avoid passing an extra backslash when creating a temporary
23128 directory for running the unit tests on Windows. Fixes bug 12392;
23129 bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
23131 o Minor bugfixes (windows):
23132 - Remove code to special-case handling of NTE_BAD_KEYSET when
23133 acquiring windows CryptoAPI context. This error can't actually
23134 occur for the parameters we're providing. Fixes bug 10816; bugfix
23137 o Minor bugfixes (zlib):
23138 - Avoid truncating a zlib stream when trying to finalize it with an
23139 empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
23142 - Allow our configure script to build correctly with autoconf 2.62
23143 again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
23144 - Improve the error message from ./configure to make it clear that
23145 when asciidoc has not been found, the user will have to either add
23146 --disable-asciidoc argument or install asciidoc. Resolves
23149 o Code simplification and refactoring:
23150 - Change the entry_is_live() function to take named bitfield
23151 elements instead of an unnamed list of booleans. Closes
23153 - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
23154 Resolves ticket 12205.
23155 - Use calloc and reallocarray functions instead of multiply-
23156 then-malloc. This makes it less likely for us to fall victim to an
23157 integer overflow attack when allocating. Resolves ticket 12855.
23158 - Use the standard macro name SIZE_MAX, instead of our
23160 - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
23161 functions which take them as arguments. Replace 0 with NO_DIRINFO
23162 in a function call for clarity. Seeks to prevent future issues
23164 - Avoid 4 null pointer errors under clang static analysis by using
23165 tor_assert() to prove that the pointers aren't null. Fixes
23167 - Rework the API of policies_parse_exit_policy() to use a bitmask to
23168 represent parsing options, instead of a confusing mess of
23169 booleans. Resolves ticket 8197.
23170 - Introduce a helper function to parse ExitPolicy in
23171 or_options_t structure.
23174 - Add a doc/TUNING document with tips for handling large numbers of
23175 TCP connections when running busy Tor relay. Update the warning
23176 message to point to this file when running out of sockets
23177 operating system is allowing to use simultaneously. Resolves
23180 o Removed features:
23181 - We no longer remind the user about configuration options that have
23182 been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
23183 - Remove our old, non-weighted bandwidth-based node selection code.
23184 Previously, we used it as a fallback when we couldn't perform
23185 weighted bandwidth-based node selection. But that would only
23186 happen in the cases where we had no consensus, or when we had a
23187 consensus generated by buggy or ancient directory authorities. In
23188 either case, it's better to use the more modern, better maintained
23189 algorithm, with reasonable defaults for the weights. Closes
23191 - Remove the --disable-curve25519 configure option. Relays and
23192 clients now are required to support curve25519 and the
23194 - The old "StrictEntryNodes" and "StrictExitNodes" options, which
23195 used to be deprecated synonyms for "StrictNodes", are now marked
23196 obsolete. Resolves ticket 12226.
23197 - Clients don't understand the BadDirectory flag in the consensus
23198 anymore, and ignore it.
23201 - Refactor the function that chooses guard nodes so that it can more
23202 easily be tested; write some tests for it.
23203 - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
23204 bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
23205 - Create unit tests for format_time_interval(). With bug 13393.
23206 - Add unit tests for tor_timegm signed overflow, tor_timegm and
23207 parse_rfc1123_time validity checks, correct_tm year clamping. Unit
23208 tests (visible) fixes in bug 13476.
23209 - Add a "coverage-html" make target to generate HTML-visualized
23210 coverage results when building with --enable-coverage. (Requires
23211 lcov.) Patch from Kevin Murray.
23212 - Enable the backtrace handler (where supported) when running the
23214 - Revise all unit tests that used the legacy test_* macros to
23215 instead use the recommended tt_* macros. This patch was generated
23216 with coccinelle, to avoid manual errors. Closes ticket 13119.
23218 o Distribution (systemd):
23219 - systemd unit file: only allow tor to write to /var/lib/tor and
23220 /var/log/tor. The rest of the filesystem is accessible for reading
23221 only. Patch by intrigeri; resolves ticket 12751.
23222 - systemd unit file: ensure that the process and all its children
23223 can never gain new privileges. Patch by intrigeri; resolves
23225 - systemd unit file: set up /var/run/tor as writable for the Tor
23226 service. Patch by intrigeri; resolves ticket 13196.
23228 o Removed features (directory authorities):
23229 - Remove code that prevented authorities from listing Tor relays
23230 affected by CVE-2011-2769 as guards. These relays are already
23231 rejected altogether due to the minimum version requirement of
23232 0.2.3.16-alpha. Closes ticket 13152.
23233 - The "AuthDirRejectUnlisted" option no longer has any effect, as
23234 the fingerprints file (approved-routers) has been deprecated.
23235 - Directory authorities do not support being Naming dirauths anymore.
23236 The "NamingAuthoritativeDir" config option is now obsolete.
23237 - Directory authorities do not support giving out the BadDirectory
23239 - Directory authorities no longer advertise or support consensus
23240 methods 1 through 12 inclusive. These consensus methods were
23241 obsolete and/or insecure: maintaining the ability to support them
23242 served no good purpose. Implements part of proposal 215; closes
23245 o Testing (test-network.sh):
23246 - Stop using "echo -n", as some shells' built-in echo doesn't
23247 support "-n". Instead, use "/bin/echo -n". Partially fixes
23249 - Stop an apparent test-network hang when used with make -j2. Fixes
23251 - Add a --delay option to test-network.sh, which configures the
23252 delay before the chutney network tests for data transmission.
23253 Partially implements ticket 13161.
23256 Changes in version 0.2.5.10 - 2014-10-24
23257 Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
23259 It adds several new security features, including improved
23260 denial-of-service resistance for relays, new compiler hardening
23261 options, and a system-call sandbox for hardened installations on Linux
23262 (requires seccomp2). The controller protocol has several new features,
23263 resolving IPv6 addresses should work better than before, and relays
23264 should be a little more CPU-efficient. We've added support for more
23265 OpenBSD and FreeBSD transparent proxy types. We've improved the build
23266 system and testing infrastructure to allow unit testing of more parts
23267 of the Tor codebase. Finally, we've addressed several nagging pluggable
23268 transport usability issues, and included numerous other small bugfixes
23269 and features mentioned below.
23271 This release marks end-of-life for Tor 0.2.3.x; those Tor versions
23272 have accumulated many known flaws; everyone should upgrade.
23274 o Deprecated versions:
23275 - Tor 0.2.3.x has reached end-of-life; it has received no patches or
23276 attention for some while.
23279 Changes in version 0.2.5.9-rc - 2014-10-20
23280 Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
23281 series. It disables SSL3 in response to the recent "POODLE" attack
23282 (even though POODLE does not affect Tor). It also works around a crash
23283 bug caused by some operating systems' response to the "POODLE" attack
23284 (which does affect Tor). It also contains a few miscellaneous fixes.
23286 o Major security fixes:
23287 - Disable support for SSLv3. All versions of OpenSSL in use with Tor
23288 today support TLS 1.0 or later, so we can safely turn off support
23289 for this old (and insecure) protocol. Fixes bug 13426.
23291 o Major bugfixes (openssl bug workaround):
23292 - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
23293 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
23294 13471. This is a workaround for an OpenSSL bug.
23297 - Disable the sandbox name resolver cache when running tor-resolve:
23298 tor-resolve doesn't use the sandbox code, and turning it on was
23299 breaking attempts to do tor-resolve on a non-default server on
23300 Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
23302 o Compilation fixes:
23303 - Build and run correctly on systems like OpenBSD-current that have
23304 patched OpenSSL to remove get_cipher_by_char and/or its
23305 implementations. Fixes issue 13325.
23307 o Downgraded warnings:
23308 - Downgrade the severity of the 'unexpected sendme cell from client'
23309 from 'warn' to 'protocol warning'. Closes ticket 8093.
23312 Changes in version 0.2.4.25 - 2014-10-20
23313 Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
23314 (even though POODLE does not affect Tor). It also works around a crash
23315 bug caused by some operating systems' response to the "POODLE" attack
23316 (which does affect Tor).
23318 o Major security fixes (also in 0.2.5.9-rc):
23319 - Disable support for SSLv3. All versions of OpenSSL in use with Tor
23320 today support TLS 1.0 or later, so we can safely turn off support
23321 for this old (and insecure) protocol. Fixes bug 13426.
23323 o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
23324 - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
23325 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
23326 13471. This is a workaround for an OpenSSL bug.
23329 Changes in version 0.2.5.8-rc - 2014-09-22
23330 Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
23331 series. It fixes a bug that affects consistency and speed when
23332 connecting to hidden services, and it updates the location of one of
23333 the directory authorities.
23336 - Clients now send the correct address for their chosen rendezvous
23337 point when trying to access a hidden service. They used to send
23338 the wrong address, which would still work some of the time because
23339 they also sent the identity digest of the rendezvous point, and if
23340 the hidden service happened to try connecting to the rendezvous
23341 point from a relay that already had a connection open to it,
23342 the relay would reuse that connection. Now connections to hidden
23343 services should be more robust and faster. Also, this bug meant
23344 that clients were leaking to the hidden service whether they were
23345 on a little-endian (common) or big-endian (rare) system, which for
23346 some users might have reduced their anonymity. Fixes bug 13151;
23347 bugfix on 0.2.1.5-alpha.
23349 o Directory authority changes:
23350 - Change IP address for gabelmoo (v3 directory authority).
23353 Changes in version 0.2.4.24 - 2014-09-22
23354 Tor 0.2.4.24 fixes a bug that affects consistency and speed when
23355 connecting to hidden services, and it updates the location of one of
23356 the directory authorities.
23359 - Clients now send the correct address for their chosen rendezvous
23360 point when trying to access a hidden service. They used to send
23361 the wrong address, which would still work some of the time because
23362 they also sent the identity digest of the rendezvous point, and if
23363 the hidden service happened to try connecting to the rendezvous
23364 point from a relay that already had a connection open to it,
23365 the relay would reuse that connection. Now connections to hidden
23366 services should be more robust and faster. Also, this bug meant
23367 that clients were leaking to the hidden service whether they were
23368 on a little-endian (common) or big-endian (rare) system, which for
23369 some users might have reduced their anonymity. Fixes bug 13151;
23370 bugfix on 0.2.1.5-alpha.
23372 o Directory authority changes:
23373 - Change IP address for gabelmoo (v3 directory authority).
23375 o Minor features (geoip):
23376 - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
23380 Changes in version 0.2.5.7-rc - 2014-09-11
23381 Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
23382 release series, and some long-standing bugs related to ORPort reachability
23383 testing and failure to send CREATE cells. It is the first release
23384 candidate for the Tor 0.2.5.x series.
23386 o Major bugfixes (client, startup):
23387 - Start making circuits as soon as DisabledNetwork is turned off.
23388 When Tor started with DisabledNetwork set, it would correctly
23389 conclude that it shouldn't build circuits, but it would mistakenly
23390 cache this conclusion, and continue believing it even when
23391 DisableNetwork is set to 0. Fixes the bug introduced by the fix
23392 for bug 11200; bugfix on 0.2.5.4-alpha.
23393 - Resume expanding abbreviations for command-line options. The fix
23394 for bug 4647 accidentally removed our hack from bug 586 that
23395 rewrote HashedControlPassword to __HashedControlSessionPassword
23396 when it appears on the commandline (which allowed the user to set
23397 her own HashedControlPassword in the torrc file while the
23398 controller generates a fresh session password for each run). Fixes
23399 bug 12948; bugfix on 0.2.5.1-alpha.
23400 - Warn about attempts to run hidden services and relays in the same
23401 process: that's probably not a good idea. Closes ticket 12908.
23403 o Major bugfixes (relay):
23404 - Avoid queuing or sending destroy cells for circuit ID zero when we
23405 fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
23406 Found and fixed by "cypherpunks".
23407 - Fix ORPort reachability detection on relays running behind a
23408 proxy, by correctly updating the "local" mark on the controlling
23409 channel when changing the address of an or_connection_t after the
23410 handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
23412 o Minor features (bridge):
23413 - Add an ExtORPortCookieAuthFileGroupReadable option to make the
23414 cookie file for the ExtORPort g+r by default.
23416 o Minor features (geoip):
23417 - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
23420 o Minor bugfixes (logging):
23421 - Reduce the log severity of the "Pluggable transport proxy does not
23422 provide any needed transports and will not be launched." message,
23423 since Tor Browser includes several ClientTransportPlugin lines in
23424 its torrc-defaults file, leading every Tor Browser user who looks
23425 at her logs to see these notices and wonder if they're dangerous.
23426 Resolves bug 13124; bugfix on 0.2.5.3-alpha.
23427 - Downgrade "Unexpected onionskin length after decryption" warning
23428 to a protocol-warn, since there's nothing relay operators can do
23429 about a client that sends them a malformed create cell. Resolves
23430 bug 12996; bugfix on 0.0.6rc1.
23431 - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
23432 cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
23433 - When logging information about an EXTEND2 or EXTENDED2 cell, log
23434 their names correctly. Fixes part of bug 12700; bugfix
23436 - When logging information about a relay cell whose command we don't
23437 recognize, log its command as an integer. Fixes part of bug 12700;
23438 bugfix on 0.2.1.10-alpha.
23439 - Escape all strings from the directory connection before logging
23440 them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
23442 o Minor bugfixes (controller):
23443 - Restore the functionality of CookieAuthFileGroupReadable. Fixes
23444 bug 12864; bugfix on 0.2.5.1-alpha.
23445 - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
23446 controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
23449 o Minor bugfixes (compilation):
23450 - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
23451 bugfix on 0.2.5.5-alpha.
23452 - Make the nmake make files work again. Fixes bug 13081. Bugfix on
23453 0.2.5.1-alpha. Patch from "NewEraCracker".
23454 - In routerlist_assert_ok(), don't take the address of a
23455 routerinfo's cache_info member unless that routerinfo is non-NULL.
23456 Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
23457 - Fix a large number of false positive warnings from the clang
23458 analyzer static analysis tool. This should make real warnings
23459 easier for clang analyzer to find. Patch from "teor". Closes
23462 o Distribution (systemd):
23463 - Verify configuration file via ExecStartPre in the systemd unit
23464 file. Patch from intrigeri; resolves ticket 12730.
23465 - Explicitly disable RunAsDaemon in the systemd unit file. Our
23466 current systemd unit uses "Type = simple", so systemd does not
23467 expect tor to fork. If the user has "RunAsDaemon 1" in their
23468 torrc, then things won't work as expected. This is e.g. the case
23469 on Debian (and derivatives), since there we pass "--defaults-torrc
23470 /usr/share/tor/tor-service-defaults-torrc" (that contains
23471 "RunAsDaemon 1") by default. Patch by intrigeri; resolves
23475 - Adjust the URLs in the README to refer to the new locations of
23476 several documents on the website. Fixes bug 12830. Patch from
23478 - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
23482 Changes in version 0.2.5.6-alpha - 2014-07-28
23483 Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
23484 risk from guard rotation, and fixes a variety of other issues to get
23485 us closer to a release candidate.
23487 o Major features (also in 0.2.4.23):
23488 - Make the number of entry guards configurable via a new
23489 NumEntryGuards consensus parameter, and the number of directory
23490 guards configurable via a new NumDirectoryGuards consensus
23491 parameter. Implements ticket 12688.
23493 o Major bugfixes (also in 0.2.4.23):
23494 - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
23495 implementation that caused incorrect results on 32-bit
23496 implementations when certain malformed inputs were used along with
23497 a small class of private ntor keys. This bug does not currently
23498 appear to allow an attacker to learn private keys or impersonate a
23499 Tor server, but it could provide a means to distinguish 32-bit Tor
23500 implementations from 64-bit Tor implementations. Fixes bug 12694;
23501 bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
23505 - Perform circuit cleanup operations even when circuit
23506 construction operations are disabled (because the network is
23507 disabled, or because there isn't enough directory information).
23508 Previously, when we were not building predictive circuits, we
23509 were not closing expired circuits either. Fixes bug 8387; bugfix on
23510 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
23511 became more strict about when we have "enough directory information
23512 to build circuits".
23515 - Authorities now assign the Guard flag to the fastest 25% of the
23516 network (it used to be the fastest 50%). Also raise the consensus
23517 weight that guarantees the Guard flag from 250 to 2000. For the
23518 current network, this results in about 1100 guards, down from 2500.
23519 This step paves the way for moving the number of entry guards
23520 down to 1 (proposal 236) while still providing reasonable expected
23521 performance for most users. Implements ticket 12690.
23522 - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
23524 - Slightly enhance the diagnostic message for bug 12184.
23526 o Minor bugfixes (also in 0.2.4.23):
23527 - Warn and drop the circuit if we receive an inbound 'relay early'
23528 cell. Those used to be normal to receive on hidden service circuits
23529 due to bug 1038, but the buggy Tor versions are long gone from
23530 the network so we can afford to resume watching for them. Resolves
23531 the rest of bug 1038; bugfix on 0.2.1.19.
23532 - Correct a confusing error message when trying to extend a circuit
23533 via the control protocol but we don't know a descriptor or
23534 microdescriptor for one of the specified relays. Fixes bug 12718;
23535 bugfix on 0.2.3.1-alpha.
23538 - Fix compilation when building with bufferevents enabled. (This
23539 configuration is still not expected to work, however.)
23540 Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
23541 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
23543 - Compile correctly with builds and forks of OpenSSL (such as
23544 LibreSSL) that disable compression. Fixes bug 12602; bugfix on
23545 0.2.1.1-alpha. Patch from "dhill".
23548 Changes in version 0.2.4.23 - 2014-07-28
23549 Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
23550 guard rotation, and also backports several important fixes from the
23551 Tor 0.2.5 alpha release series.
23554 - Clients now look at the "usecreatefast" consensus parameter to
23555 decide whether to use CREATE_FAST or CREATE cells for the first hop
23556 of their circuit. This approach can improve security on connections
23557 where Tor's circuit handshake is stronger than the available TLS
23558 connection security levels, but the tradeoff is more computational
23559 load on guard relays. Implements proposal 221. Resolves ticket 9386.
23560 - Make the number of entry guards configurable via a new
23561 NumEntryGuards consensus parameter, and the number of directory
23562 guards configurable via a new NumDirectoryGuards consensus
23563 parameter. Implements ticket 12688.
23566 - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
23567 implementation that caused incorrect results on 32-bit
23568 implementations when certain malformed inputs were used along with
23569 a small class of private ntor keys. This bug does not currently
23570 appear to allow an attacker to learn private keys or impersonate a
23571 Tor server, but it could provide a means to distinguish 32-bit Tor
23572 implementations from 64-bit Tor implementations. Fixes bug 12694;
23573 bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
23577 - Warn and drop the circuit if we receive an inbound 'relay early'
23578 cell. Those used to be normal to receive on hidden service circuits
23579 due to bug 1038, but the buggy Tor versions are long gone from
23580 the network so we can afford to resume watching for them. Resolves
23581 the rest of bug 1038; bugfix on 0.2.1.19.
23582 - Correct a confusing error message when trying to extend a circuit
23583 via the control protocol but we don't know a descriptor or
23584 microdescriptor for one of the specified relays. Fixes bug 12718;
23585 bugfix on 0.2.3.1-alpha.
23586 - Avoid an illegal read from stack when initializing the TLS
23587 module using a version of OpenSSL without all of the ciphers
23588 used by the v2 link handshake. Fixes bug 12227; bugfix on
23589 0.2.4.8-alpha. Found by "starlight".
23592 - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
23596 Changes in version 0.2.5.5-alpha - 2014-06-18
23597 Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
23598 0.2.5.x release series, including a couple of DoS issues, some
23599 performance regressions, a large number of bugs affecting the Linux
23600 seccomp2 sandbox code, and various other bugfixes. It also adds
23601 diagnostic bugfixes for a few tricky issues that we're trying to
23604 o Major features (security, traffic analysis resistance):
23605 - Several major improvements to the algorithm used to decide when to
23606 close TLS connections. Previous versions of Tor closed connections
23607 at a fixed interval after the last time a non-padding cell was
23608 sent over the connection, regardless of the target of the
23609 connection. Now, we randomize the intervals by adding up to 50% of
23610 their base value, we measure the length of time since connection
23611 last had at least one circuit, and we allow connections to known
23612 ORs to remain open a little longer (15 minutes instead of 3
23613 minutes minimum). These changes should improve Tor's resistance
23614 against some kinds of traffic analysis, and lower some overhead
23615 from needlessly closed connections. Fixes ticket 6799.
23616 Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
23618 o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
23619 - Fix a memory leak that could occur if a microdescriptor parse
23620 fails during the tokenizing step. This bug could enable a memory
23621 exhaustion attack by directory servers. Fixes bug 11649; bugfix
23624 o Major bugfixes (security, directory authorities):
23625 - Directory authorities now include a digest of each relay's
23626 identity key as a part of its microdescriptor.
23628 This is a workaround for bug 11743 (reported by "cypherpunks"),
23629 where Tor clients do not support receiving multiple
23630 microdescriptors with the same SHA256 digest in the same
23631 consensus. When clients receive a consensus like this, they only
23632 use one of the relays. Without this fix, a hostile relay could
23633 selectively disable some client use of target relays by
23634 constructing a router descriptor with a different identity and the
23635 same microdescriptor parameters and getting the authorities to
23636 list it in a microdescriptor consensus. This fix prevents an
23637 attacker from causing a microdescriptor collision, because the
23638 router's identity is not forgeable.
23640 o Major bugfixes (relay):
23641 - Use a direct dirport connection when uploading non-anonymous
23642 descriptors to the directory authorities. Previously, relays would
23643 incorrectly use tunnel connections under a fairly wide variety of
23644 circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
23645 - When a circuit accidentally has the same circuit ID for its
23646 forward and reverse direction, correctly detect the direction of
23647 cells using that circuit. Previously, this bug made roughly one
23648 circuit in a million non-functional. Fixes bug 12195; this is a
23649 bugfix on every version of Tor.
23651 o Major bugfixes (client, pluggable transports):
23652 - When managing pluggable transports, use OS notification facilities
23653 to learn if they have crashed, and don't attempt to kill any
23654 process that has already exited. Fixes bug 8746; bugfix
23657 o Minor features (diagnostic):
23658 - When logging a warning because of bug 7164, additionally check the
23659 hash table for consistency (as proposed on ticket 11737). This may
23660 help diagnose bug 7164.
23661 - When we log a heartbeat, log how many one-hop circuits we have
23662 that are at least 30 minutes old, and log status information about
23663 a few of them. This is an attempt to track down bug 8387.
23664 - When encountering an unexpected CR while writing text to a file on
23665 Windows, log the name of the file. Should help diagnosing
23667 - Give more specific warnings when a client notices that an onion
23668 handshake has failed. Fixes ticket 9635.
23669 - Add significant new logging code to attempt to diagnose bug 12184,
23670 where relays seem to run out of available circuit IDs.
23671 - Improve the diagnostic log message for bug 8387 even further to
23672 try to improve our odds of figuring out why one-hop directory
23673 circuits sometimes do not get closed.
23675 o Minor features (security, memory management):
23676 - Memory allocation tricks (mempools and buffer freelists) are now
23677 disabled by default. You can turn them back on with
23678 --enable-mempools and --enable-buf-freelists respectively. We're
23679 disabling these features because malloc performance is good enough
23680 on most platforms, and a similar feature in OpenSSL exacerbated
23681 exploitation of the Heartbleed attack. Resolves ticket 11476.
23683 o Minor features (security):
23684 - Apply the secure SipHash-2-4 function to the hash table mapping
23685 circuit IDs and channels to circuits. We missed this one when we
23686 were converting all the other hash functions to use SipHash back
23687 in 0.2.5.3-alpha. Resolves ticket 11750.
23689 o Minor features (build):
23690 - The configure script has a --disable-seccomp option to turn off
23691 support for libseccomp on systems that have it, in case it (or
23692 Tor's use of it) is broken. Resolves ticket 11628.
23694 o Minor features (other):
23695 - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
23698 o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
23699 - When running a hidden service, do not allow TunneledDirConns 0;
23700 this will keep the hidden service from running, and also
23701 make it publish its descriptors directly over HTTP. Fixes bug 10849;
23702 bugfix on 0.2.1.1-alpha.
23704 o Minor bugfixes (performance):
23705 - Avoid a bug where every successful connection made us recompute
23706 the flag telling us whether we have sufficient information to
23707 build circuits. Previously, we would forget our cached value
23708 whenever we successfully opened a channel (or marked a router as
23709 running or not running for any other reason), regardless of
23710 whether we had previously believed the router to be running. This
23711 forced us to run an expensive update operation far too often.
23712 Fixes bug 12170; bugfix on 0.1.2.1-alpha.
23713 - Avoid using tor_memeq() for checking relay cell integrity. This
23714 removes a possible performance bottleneck. Fixes part of bug
23715 12169; bugfix on 0.2.1.31.
23717 o Minor bugfixes (compilation):
23718 - Fix compilation of test_status.c when building with MVSC. Bugfix
23719 on 0.2.5.4-alpha. Patch from Gisle Vanem.
23720 - Resolve GCC complaints on OpenBSD about discarding constness in
23721 TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
23722 on 0.1.1.23. Patch from Dana Koch.
23723 - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
23724 treatment of long and time_t as comparable types. Fixes part of
23725 bug 11633. Patch from Dana Koch.
23726 - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
23727 11623; bugfix on 0.2.5.3-alpha.
23728 - When deciding whether to build the 64-bit curve25519
23729 implementation, detect platforms where we can compile 128-bit
23730 arithmetic but cannot link it. Fixes bug 11729; bugfix on
23731 0.2.4.8-alpha. Patch from "conradev".
23732 - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
23733 bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
23734 - Fix compilation with dmalloc. Fixes bug 11605; bugfix
23737 o Minor bugfixes (Directory server):
23738 - When sending a compressed set of descriptors or microdescriptors,
23739 make sure to finalize the zlib stream. Previously, we would write
23740 all the compressed data, but if the last descriptor we wanted to
23741 send was missing or too old, we would not mark the stream as
23742 finished. This caused problems for decompression tools. Fixes bug
23743 11648; bugfix on 0.1.1.23.
23745 o Minor bugfixes (Linux seccomp sandbox):
23746 - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
23747 11622; bugfix on 0.2.5.1-alpha.
23748 - Avoid crashing when re-opening listener ports with the seccomp
23749 sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
23750 - Avoid crashing with the seccomp sandbox enabled along with
23751 ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
23752 - When we receive a SIGHUP with the sandbox enabled, correctly
23753 support rotating our log files. Fixes bug 12032; bugfix
23755 - Avoid crash when running with sandboxing enabled and
23756 DirReqStatistics not disabled. Fixes bug 12035; bugfix
23758 - Fix a "BUG" warning when trying to write bridge-stats files with
23759 the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
23761 - Prevent the sandbox from crashing on startup when run with the
23762 --enable-expensive-hardening configuration option. Fixes bug
23763 11477; bugfix on 0.2.5.4-alpha.
23764 - When running with DirPortFrontPage and sandboxing both enabled,
23765 reload the DirPortFrontPage correctly when restarting. Fixes bug
23766 12028; bugfix on 0.2.5.1-alpha.
23767 - Don't try to enable the sandbox when using the Tor binary to check
23768 its configuration, hash a passphrase, or so on. Doing so was
23769 crashing on startup for some users. Fixes bug 11609; bugfix
23771 - Avoid warnings when running with sandboxing and node statistics
23772 enabled at the same time. Fixes part of 12064; bugfix on
23773 0.2.5.1-alpha. Patch from Michael Wolf.
23774 - Avoid warnings when running with sandboxing enabled at the same
23775 time as cookie authentication, hidden services, or directory
23776 authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
23777 - Do not allow options that require calls to exec to be enabled
23778 alongside the seccomp2 sandbox: they will inevitably crash. Fixes
23779 bug 12043; bugfix on 0.2.5.1-alpha.
23780 - Handle failures in getpwnam()/getpwuid() when running with the
23781 User option set and the Linux syscall sandbox enabled. Fixes bug
23782 11946; bugfix on 0.2.5.1-alpha.
23783 - Refactor the getaddrinfo workaround that the seccomp sandbox uses
23784 to avoid calling getaddrinfo() after installing the sandbox
23785 filters. Previously, it preloaded a cache with the IPv4 address
23786 for our hostname, and nothing else. Now, it loads the cache with
23787 every address that it used to initialize the Tor process. Fixes
23788 bug 11970; bugfix on 0.2.5.1-alpha.
23790 o Minor bugfixes (pluggable transports):
23791 - Enable the ExtORPortCookieAuthFile option, to allow changing the
23792 default location of the authentication token for the extended OR
23793 Port as used by sever-side pluggable transports. We had
23794 implemented this option before, but the code to make it settable
23795 had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
23796 - Avoid another 60-second delay when starting Tor in a pluggable-
23797 transport-using configuration when we already have cached
23798 descriptors for our bridges. Fixes bug 11965; bugfix
23801 o Minor bugfixes (client):
23802 - Avoid "Tried to open a socket with DisableNetwork set" warnings
23803 when starting a client with bridges configured and DisableNetwork
23804 set. (Tor launcher starts Tor with DisableNetwork set the first
23805 time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
23807 o Minor bugfixes (testing):
23808 - The Python parts of the test scripts now work on Python 3 as well
23809 as Python 2, so systems where '/usr/bin/python' is Python 3 will
23810 no longer have the tests break. Fixes bug 11608; bugfix
23812 - When looking for versions of python that we could run the tests
23813 with, check for "python2.7" and "python3.3"; previously we were
23814 only looking for "python", "python2", and "python3". Patch from
23815 Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
23816 - Fix all valgrind warnings produced by the unit tests. There were
23817 over a thousand memory leak warnings previously, mostly produced
23818 by forgetting to free things in the unit test code. Fixes bug
23819 11618, bugfixes on many versions of Tor.
23821 o Minor bugfixes (tor-fw-helper):
23822 - Give a correct log message when tor-fw-helper fails to launch.
23823 (Previously, we would say something like "tor-fw-helper sent us a
23824 string we could not parse".) Fixes bug 9781; bugfix
23827 o Minor bugfixes (relay, threading):
23828 - Check return code on spawn_func() in cpuworker code, so that we
23829 don't think we've spawned a nonworking cpuworker and write junk to
23830 it forever. Fix related to bug 4345; bugfix on all released Tor
23831 versions. Found by "skruffy".
23832 - Use a pthread_attr to make sure that spawn_func() cannot return an
23833 error while at the same time launching a thread. Fix related to
23834 bug 4345; bugfix on all released Tor versions. Reported
23837 o Minor bugfixes (relay, oom prevention):
23838 - Correctly detect the total available system memory. We tried to do
23839 this in 0.2.5.4-alpha, but the code was set up to always return an
23840 error value, even on success. Fixes bug 11805; bugfix
23843 o Minor bugfixes (relay, other):
23844 - We now drop CREATE cells for already-existent circuit IDs and for
23845 zero-valued circuit IDs, regardless of other factors that might
23846 otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
23848 - Avoid an illegal read from stack when initializing the TLS module
23849 using a version of OpenSSL without all of the ciphers used by the
23850 v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
23852 - When rejecting DATA cells for stream_id zero, still count them
23853 against the circuit's deliver window so that we don't fail to send
23854 a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
23856 o Minor bugfixes (logging):
23857 - Fix a misformatted log message about delayed directory fetches.
23858 Fixes bug 11654; bugfix on 0.2.5.3-alpha.
23859 - Squelch a spurious LD_BUG message "No origin circuit for
23860 successful SOCKS stream" in certain hidden service failure cases;
23864 - Include a tor.service file in contrib/dist for use with systemd.
23865 Some distributions will be able to use this file unmodified;
23866 others will need to tweak it, or write their own. Patch from Jamie
23867 Nguyen; resolves ticket 8368.
23870 - Clean up several option names in the manpage to match their real
23871 names, add the missing documentation for a couple of testing and
23872 directory authority options, remove the documentation for a
23873 V2-directory fetching option that no longer exists. Resolves
23875 - Correct the documentation so that it lists the correct directory
23876 for the stats files. (They are in a subdirectory called "stats",
23878 - In the manpage, move more authority-only options into the
23879 directory authority section so that operators of regular directory
23880 caches don't get confused.
23883 - The contrib directory has been sorted and tidied. Before, it was
23884 an unsorted dumping ground for useful and not-so-useful things.
23885 Now, it is divided based on functionality, and the items which
23886 seemed to be nonfunctional or useless have been removed. Resolves
23887 ticket 8966; based on patches from "rl1987".
23890 - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
23891 and MTBF calculations, but that nobody was using. Fixes ticket 11742.
23892 - The TunnelDirConns and PreferTunnelledDirConns options no longer
23893 exist; tunneled directory connections have been available since
23894 0.1.2.5-alpha, and turning them off is not a good idea. This is a
23895 brute-force fix for 10849, where "TunnelDirConns 0" would break
23899 Changes in version 0.2.4.22 - 2014-05-16
23900 Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
23901 alpha release series. These include blocking all authority signing
23902 keys that may have been affected by the OpenSSL "heartbleed" bug,
23903 choosing a far more secure set of TLS ciphersuites by default, closing
23904 a couple of memory leaks that could be used to run a target relay out
23905 of RAM, and several others.
23907 o Major features (security, backport from 0.2.5.4-alpha):
23908 - Block authority signing keys that were used on authorities
23909 vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
23910 don't have any evidence that these keys _were_ compromised; we're
23911 doing this to be prudent.) Resolves ticket 11464.
23913 o Major bugfixes (security, OOM):
23914 - Fix a memory leak that could occur if a microdescriptor parse
23915 fails during the tokenizing step. This bug could enable a memory
23916 exhaustion attack by directory servers. Fixes bug 11649; bugfix
23919 o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
23920 - The relay ciphersuite list is now generated automatically based on
23921 uniform criteria, and includes all OpenSSL ciphersuites with
23922 acceptable strength and forward secrecy. Previously, we had left
23923 some perfectly fine ciphersuites unsupported due to omission or
23924 typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
23925 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
23926 - Relays now trust themselves to have a better view than clients of
23927 which TLS ciphersuites are better than others. (Thanks to bug
23928 11513, the relay list is now well-considered, whereas the client
23929 list has been chosen mainly for anti-fingerprinting purposes.)
23930 Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
23931 CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
23932 AES128. Resolves ticket 11528.
23933 - Clients now try to advertise the same list of ciphersuites as
23934 Firefox 28. This change enables selection of (fast) GCM
23935 ciphersuites, disables some strange old ciphers, and stops
23936 advertising the ECDH (not to be confused with ECDHE) ciphersuites.
23937 Resolves ticket 11438.
23939 o Minor bugfixes (configuration, security):
23940 - When running a hidden service, do not allow TunneledDirConns 0:
23941 trying to set that option together with a hidden service would
23942 otherwise prevent the hidden service from running, and also make
23943 it publish its descriptors directly over HTTP. Fixes bug 10849;
23944 bugfix on 0.2.1.1-alpha.
23946 o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
23947 - Avoid sending a garbage value to the controller when a circuit is
23948 cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
23950 o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
23951 - Stop leaking memory when we successfully resolve a PTR record.
23952 Fixes bug 11437; bugfix on 0.2.4.7-alpha.
23954 o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
23955 - Avoid 60-second delays in the bootstrapping process when Tor is
23956 launching for a second time while using bridges. Fixes bug 9229;
23957 bugfix on 0.2.0.3-alpha.
23959 o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
23960 - Give the correct URL in the warning message when trying to run a
23961 relay on an ancient version of Windows. Fixes bug 9393.
23963 o Minor bugfixes (compilation):
23964 - Fix a compilation error when compiling with --disable-curve25519.
23965 Fixes bug 9700; bugfix on 0.2.4.17-rc.
23968 - Downgrade the warning severity for the the "md was still
23969 referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
23970 for trying to diagnose this bug, and the current warning in
23971 earlier versions of tor achieves nothing useful. Addresses warning
23974 o Minor features (log verbosity, backport from 0.2.5.4-alpha):
23975 - When we run out of usable circuit IDs on a channel, log only one
23976 warning for the whole channel, and describe how many circuits
23977 there were on the channel. Fixes part of ticket 11553.
23979 o Minor features (security, backport from 0.2.5.4-alpha):
23980 - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
23981 leave the default at 8GBytes), to better support Raspberry Pi
23982 users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
23984 o Documentation (backport from 0.2.5.4-alpha):
23985 - Correctly document that we search for a system torrc file before
23986 looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
23990 Changes in version 0.2.5.4-alpha - 2014-04-25
23991 Tor 0.2.5.4-alpha includes several security and performance
23992 improvements for clients and relays, including blacklisting authority
23993 signing keys that were used while susceptible to the OpenSSL
23994 "heartbleed" bug, fixing two expensive functions on busy relays,
23995 improved TLS ciphersuite preference lists, support for run-time
23996 hardening on compilers that support AddressSanitizer, and more work on
23997 the Linux sandbox code.
23999 There are also several usability fixes for clients (especially clients
24000 that use bridges), two new TransPort protocols supported (one on
24001 OpenBSD, one on FreeBSD), and various other bugfixes.
24003 This release marks end-of-life for Tor 0.2.2.x; those Tor versions
24004 have accumulated many known flaws; everyone should upgrade.
24006 o Major features (security):
24007 - If you don't specify MaxMemInQueues yourself, Tor now tries to
24008 pick a good value based on your total system memory. Previously,
24009 the default was always 8 GB. You can still override the default by
24010 setting MaxMemInQueues yourself. Resolves ticket 11396.
24011 - Block authority signing keys that were used on authorities
24012 vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
24013 don't have any evidence that these keys _were_ compromised; we're
24014 doing this to be prudent.) Resolves ticket 11464.
24016 o Major features (relay performance):
24017 - Speed up server-side lookups of rendezvous and introduction point
24018 circuits by using hashtables instead of linear searches. These
24019 functions previously accounted between 3 and 7% of CPU usage on
24020 some busy relays. Resolves ticket 9841.
24021 - Avoid wasting CPU when extending a circuit over a channel that is
24022 nearly out of circuit IDs. Previously, we would do a linear scan
24023 over possible circuit IDs before finding one or deciding that we
24024 had exhausted our possibilities. Now, we try at most 64 random
24025 circuit IDs before deciding that we probably won't succeed. Fixes
24026 a possible root cause of ticket 11553.
24028 o Major features (seccomp2 sandbox, Linux only):
24029 - The seccomp2 sandbox can now run a test network for multiple hours
24030 without crashing. The sandbox is still experimental, and more bugs
24031 will probably turn up. To try it, enable "Sandbox 1" on a Linux
24032 host. Resolves ticket 11351.
24033 - Strengthen sandbox code: the sandbox can now test the arguments
24034 for rename(), and blocks _sysctl() entirely. Resolves another part
24036 - When the sandbox blocks a system call, it now tries to log a stack
24037 trace before exiting. Resolves ticket 11465.
24039 o Major bugfixes (TLS cipher selection):
24040 - The relay ciphersuite list is now generated automatically based on
24041 uniform criteria, and includes all OpenSSL ciphersuites with
24042 acceptable strength and forward secrecy. Previously, we had left
24043 some perfectly fine ciphersuites unsupported due to omission or
24044 typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
24045 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
24046 - Relays now trust themselves to have a better view than clients of
24047 which TLS ciphersuites are better than others. (Thanks to bug
24048 11513, the relay list is now well-considered, whereas the client
24049 list has been chosen mainly for anti-fingerprinting purposes.)
24050 Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
24051 CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
24052 AES128. Resolves ticket 11528.
24053 - Clients now try to advertise the same list of ciphersuites as
24054 Firefox 28. This change enables selection of (fast) GCM
24055 ciphersuites, disables some strange old ciphers, and stops
24056 advertising the ECDH (not to be confused with ECDHE) ciphersuites.
24057 Resolves ticket 11438.
24059 o Major bugfixes (bridge client):
24060 - Avoid 60-second delays in the bootstrapping process when Tor is
24061 launching for a second time while using bridges. Fixes bug 9229;
24062 bugfix on 0.2.0.3-alpha.
24064 o Minor features (transparent proxy, *BSD):
24065 - Support FreeBSD's ipfw firewall interface for TransPort ports on
24066 FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
24067 10267; patch from "yurivict".
24068 - Support OpenBSD's divert-to rules with the pf firewall for
24069 transparent proxy ports. To enable it, set "TransProxyType
24070 pf-divert". This allows Tor to run a TransPort transparent proxy
24071 port on OpenBSD 4.4 or later without root privileges. See the
24072 pf.conf(5) manual page for information on configuring pf to use
24073 divert-to rules. Closes ticket 10896; patch from Dana Koch.
24075 o Minor features (security):
24076 - New --enable-expensive-hardening option to enable security
24077 hardening options that consume nontrivial amounts of CPU and
24078 memory. Right now, this includes AddressSanitizer and UbSan, which
24079 are supported in newer versions of GCC and Clang. Closes ticket
24082 o Minor features (log verbosity):
24083 - Demote the message that we give when a flushing connection times
24084 out for too long from NOTICE to INFO. It was usually meaningless.
24085 Resolves ticket 5286.
24086 - Don't log so many notice-level bootstrapping messages at startup
24087 about downloading descriptors. Previously, we'd log a notice
24088 whenever we learned about more routers. Now, we only log a notice
24089 at every 5% of progress. Fixes bug 9963.
24090 - Warn less verbosely when receiving a malformed
24091 ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
24092 - When we run out of usable circuit IDs on a channel, log only one
24093 warning for the whole channel, and describe how many circuits
24094 there were on the channel. Fixes part of ticket 11553.
24096 o Minor features (relay):
24097 - If a circuit timed out for at least 3 minutes, check if we have a
24098 new external IP address, and publish a new descriptor with the new
24099 IP address if it changed. Resolves ticket 2454.
24101 o Minor features (controller):
24102 - Make the entire exit policy available from the control port via
24103 GETINFO exit-policy/*. Implements enhancement 7952. Patch from
24105 - Because of the fix for ticket 11396, the real limit for memory
24106 usage may no longer match the configured MaxMemInQueues value. The
24107 real limit is now exposed via GETINFO limits/max-mem-in-queues.
24109 o Minor features (bridge client):
24110 - Report a more useful failure message when we can't connect to a
24111 bridge because we don't have the right pluggable transport
24112 configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
24114 o Minor features (diagnostic):
24115 - Add more log messages to diagnose bug 7164, which causes
24116 intermittent "microdesc_free() called but md was still referenced"
24117 warnings. We now include more information, to figure out why we
24118 might be cleaning a microdescriptor for being too old if it's
24119 still referenced by a live node_t object.
24121 o Minor bugfixes (client, DNSPort):
24122 - When using DNSPort, try to respond to AAAA requests with AAAA
24123 answers. Previously, we hadn't looked at the request type when
24124 deciding which answer type to prefer. Fixes bug 10468; bugfix on
24126 - When receiving a DNS query for an unsupported record type, reply
24127 with no answer rather than with a NOTIMPL error. This behavior
24128 isn't correct either, but it will break fewer client programs, we
24129 hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
24132 o Minor bugfixes (exit relay):
24133 - Stop leaking memory when we successfully resolve a PTR record.
24134 Fixes bug 11437; bugfix on 0.2.4.7-alpha.
24136 o Minor bugfixes (bridge client):
24137 - Stop accepting bridge lines containing hostnames. Doing so would
24138 cause clients to perform DNS requests on the hostnames, which was
24139 not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
24140 - Avoid a 60-second delay in the bootstrapping process when a Tor
24141 client with pluggable transports re-reads its configuration at
24142 just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
24144 o Minor bugfixes (client, logging during bootstrap):
24145 - Warn only once if we start logging in an unsafe way. Previously,
24146 we complain as many times as we had problems. Fixes bug 9870;
24147 bugfix on 0.2.5.1-alpha.
24148 - Only report the first fatal bootstrap error on a given OR
24149 connection. This stops us from telling the controller bogus error
24150 messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
24151 - Be more helpful when trying to run sandboxed on Linux without
24152 libseccomp. Instead of saying "Sandbox is not implemented on this
24153 platform", we now explain that we need to be built with
24154 libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
24155 - Avoid generating spurious warnings when starting with
24156 DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
24159 o Minor bugfixes (closing OR connections):
24160 - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
24161 check if it's an or_connection_t and correctly call
24162 connection_or_close_for_error() rather than
24163 connection_mark_for_close() directly. Fixes bug 11304; bugfix on
24165 - When closing all connections on setting DisableNetwork to 1, use
24166 connection_or_close_normally() rather than closing OR connections
24167 out from under the channel layer. Fixes bug 11306; bugfix on
24170 o Minor bugfixes (controller):
24171 - Avoid sending a garbage value to the controller when a circuit is
24172 cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
24174 o Minor bugfixes (tor-fw-helper):
24175 - Allow tor-fw-helper to build again by adding src/ext to its
24176 CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
24178 o Minor bugfixes (bridges):
24179 - Avoid potential crashes or bad behavior when launching a
24180 server-side managed proxy with ORPort or ExtORPort temporarily
24181 disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
24183 o Minor bugfixes (platform-specific):
24184 - Fix compilation on Solaris, which does not have <endian.h>. Fixes
24185 bug 11426; bugfix on 0.2.5.3-alpha.
24186 - When dumping a malformed directory object to disk, save it in
24187 binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
24189 - Don't report failures from make_socket_reuseable() on incoming
24190 sockets on OSX: this can happen when incoming connections close
24191 early. Fixes bug 10081.
24193 o Minor bugfixes (trivial memory leaks):
24194 - Fix a small memory leak when signing a directory object. Fixes bug
24195 11275; bugfix on 0.2.4.13-alpha.
24196 - Free placeholder entries in our circuit table at exit; fixes a
24197 harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
24198 - Don't re-initialize a second set of OpenSSL mutexes when starting
24199 up. Previously, we'd make one set of mutexes, and then immediately
24200 replace them with another. Fixes bug 11726; bugfix on
24202 - Resolve some memory leaks found by coverity in the unit tests, on
24203 exit in tor-gencert, and on a failure to compute digests for our
24204 own keys when generating a v3 networkstatus vote. These leaks
24205 should never have affected anyone in practice.
24207 o Minor bugfixes (hidden service):
24208 - Only retry attempts to connect to a chosen rendezvous point 8
24209 times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
24211 o Minor bugfixes (misc code correctness):
24212 - Fix various instances of undefined behavior in channeltls.c,
24213 tor_memmem(), and eventdns.c that would cause us to construct
24214 pointers to memory outside an allocated object. (These invalid
24215 pointers were not accessed, but C does not even allow them to
24216 exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
24217 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
24218 - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
24219 fix some miscellaneous errors in our tests and codebase. Fixes bug
24220 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
24221 - Always check return values for unlink, munmap, UnmapViewOfFile;
24222 check strftime return values more often. In some cases all we can
24223 do is report a warning, but this may help prevent deeper bugs from
24224 going unnoticed. Closes ticket 8787; bugfixes on many, many tor
24226 - Fix numerous warnings from the clang "scan-build" static analyzer.
24227 Some of these are programming style issues; some of them are false
24228 positives that indicated awkward code; some are undefined behavior
24229 cases related to constructing (but not using) invalid pointers;
24230 some are assumptions about API behavior; some are (harmlessly)
24231 logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
24232 correct; and one or two are genuine bugs that weren't reachable
24233 from the rest of the program. Fixes bug 8793; bugfixes on many,
24237 - Build the torify.1 manpage again. Previously, we were only trying
24238 to build it when also building tor-fw-helper. That's why we didn't
24239 notice that we'd broken the ability to build it. Fixes bug 11321;
24240 bugfix on 0.2.5.1-alpha.
24241 - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
24242 11061; bugfix on 0.2.4.7-alpha.
24243 - Correctly document that we search for a system torrc file before
24244 looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
24246 - Resolve warnings from Doxygen.
24248 o Code simplifications and refactoring:
24249 - Remove is_internal_IP() function. Resolves ticket 4645.
24250 - Remove unused function circuit_dump_by_chan from circuitlist.c.
24251 Closes issue 9107; patch from "marek".
24252 - Change our use of the ENUM_BF macro to avoid declarations that
24255 o Deprecated versions:
24256 - Tor 0.2.2.x has reached end-of-life; it has received no patches or
24257 attention for some while. Directory authorities no longer accept
24258 descriptors from relays running any version of Tor prior to Tor
24259 0.2.3.16-alpha. Resolves ticket 11149.
24262 - New macros in test.h to simplify writing mock-functions for unit
24263 tests. Part of ticket 11507. Patch from Dana Koch.
24264 - Complete tests for the status.c module. Resolves ticket 11507.
24265 Patch from Dana Koch.
24268 - Remove all code for the long unused v1 directory protocol.
24269 Resolves ticket 11070.
24272 Changes in version 0.2.5.3-alpha - 2014-03-22
24273 Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
24274 two new anti-DoS features for Tor relays, resolves a bug that kept
24275 SOCKS5 support for IPv6 from working, fixes several annoying usability
24276 issues for bridge users, and removes more old code for unused
24279 The Tor 0.2.5.x release series is now in patch-freeze: no feature
24280 patches not already written will be considered for inclusion in 0.2.5.x.
24282 o Major features (relay security, DoS-resistance):
24283 - When deciding whether we have run out of memory and we need to
24284 close circuits, also consider memory allocated in buffers for
24285 streams attached to each circuit.
24287 This change, which extends an anti-DoS feature introduced in
24288 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
24289 better resist more memory-based DoS attacks than before. Since the
24290 MaxMemInCellQueues option now applies to all queues, it is renamed
24291 to MaxMemInQueues. This feature fixes bug 10169.
24292 - Avoid hash-flooding denial-of-service attacks by using the secure
24293 SipHash-2-4 hash function for our hashtables. Without this
24294 feature, an attacker could degrade performance of a targeted
24295 client or server by flooding their data structures with a large
24296 number of entries to be stored at the same hash table position,
24297 thereby slowing down the Tor instance. With this feature, hash
24298 table positions are derived from a randomized cryptographic key,
24299 and an attacker cannot predict which entries will collide. Closes
24301 - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
24302 the default at 8GBytes), to better support Raspberry Pi users. Fixes
24303 bug 9686; bugfix on 0.2.4.14-alpha.
24305 o Minor features (bridges, pluggable transports):
24306 - Bridges now write the SHA1 digest of their identity key
24307 fingerprint (that is, a hash of a hash of their public key) to
24308 notice-level logs, and to a new hashed-fingerprint file. This
24309 information will help bridge operators look up their bridge in
24310 Globe and similar tools. Resolves ticket 10884.
24311 - Improve the message that Tor displays when running as a bridge
24312 using pluggable transports without an Extended ORPort listener.
24313 Also, log the message in the log file too. Resolves ticket 11043.
24315 o Minor features (other):
24316 - Add a new option, PredictedPortsRelevanceTime, to control how long
24317 after having received a request to connect to a given port Tor
24318 will try to keep circuits ready in anticipation of future requests
24319 for that port. Patch from "unixninja92"; implements ticket 9176.
24320 - Generate a warning if any ports are listed in the SocksPolicy,
24321 DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
24322 AuthDirBadExit options. (These options only support address
24323 ranges.) Fixes part of ticket 11108.
24324 - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
24327 o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
24328 - Build without warnings under clang 3.4. (We have some macros that
24329 define static functions only some of which will get used later in
24330 the module. Starting with clang 3.4, these give a warning unless the
24331 unused attribute is set on them.) Resolves ticket 10904.
24332 - Fix build warnings about missing "a2x" comment when building the
24333 manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
24334 Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
24336 o Minor bugfixes (client):
24337 - Improve the log message when we can't connect to a hidden service
24338 because all of the hidden service directory nodes hosting its
24339 descriptor are excluded. Improves on our fix for bug 10722, which
24340 was a bugfix on 0.2.0.10-alpha.
24341 - Raise a control port warning when we fail to connect to all of
24342 our bridges. Previously, we didn't inform the controller, and
24343 the bootstrap process would stall. Fixes bug 11069; bugfix on
24345 - Exit immediately when a process-owning controller exits.
24346 Previously, tor relays would wait for a little while after their
24347 controller exited, as if they had gotten an INT signal -- but this
24348 was problematic, since there was no feedback for the user. To do a
24349 clean shutdown, controllers should send an INT signal and give Tor
24350 a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
24351 - Stop attempting to connect to bridges before our pluggable
24352 transports are configured (harmless but resulted in some erroneous
24353 log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
24354 - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
24355 generating incorrect SOCKS5 responses, and confusing client
24356 applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
24358 o Minor bugfixes (relays and bridges):
24359 - Avoid crashing on a malformed resolv.conf file when running a
24360 relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
24361 - Non-exit relays no longer launch mock DNS requests to check for
24362 DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
24363 non-exit relays stopped servicing DNS requests. Fixes bug 965;
24364 bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
24365 - Bridges now report complete directory request statistics. Related
24366 to bug 5824; bugfix on 0.2.2.1-alpha.
24367 - Bridges now never collect statistics that were designed for
24368 relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
24369 - Stop giving annoying warning messages when we decide not to launch
24370 a pluggable transport proxy that we don't need (because there are
24371 no bridges configured to use it). Resolves ticket 5018; bugfix
24373 - Give the correct URL in the warning message when trying to run a
24374 relay on an ancient version of Windows. Fixes bug 9393.
24376 o Minor bugfixes (backtrace support):
24377 - Support automatic backtraces on more platforms by using the
24378 "-fasynchronous-unwind-tables" compiler option. This option is
24379 needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
24380 is on by default and table generation is not. This doesn't yet
24381 add Windows support; only Linux, OSX, and some BSDs are affected.
24382 Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
24383 - Avoid strange behavior if two threads hit failed assertions at the
24384 same time and both try to log backtraces at once. (Previously, if
24385 this had happened, both threads would have stored their intermediate
24386 results in the same buffer, and generated junk outputs.) Reported by
24387 "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
24388 - Fix a compiler warning in format_number_sigsafe(). Bugfix on
24389 0.2.5.2-alpha; patch from Nick Hopper.
24391 o Minor bugfixes (unit tests):
24392 - Fix a small bug in the unit tests that might have made the tests
24393 call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
24394 bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
24397 - Remove all remaining code related to version-0 hidden service
24398 descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
24399 the rest of bug 10841.
24402 - Document in the manpage that "KBytes" may also be written as
24403 "kilobytes" or "KB", that "Kbits" may also be written as
24404 "kilobits", and so forth. Closes ticket 9222.
24405 - Document that the ClientOnly config option overrides ORPort.
24406 Our old explanation made ClientOnly sound as though it did
24407 nothing at all. Resolves bug 9059.
24408 - Explain that SocksPolicy, DirPolicy, and similar options don't
24409 take port arguments. Fixes the other part of ticket 11108.
24410 - Fix a comment about the rend_server_descriptor_t.protocols field
24411 to more accurately describe its range. Also, make that field
24412 unsigned, to more accurately reflect its usage. Fixes bug 9099;
24413 bugfix on 0.2.1.5-alpha.
24414 - Fix the manpage's description of HiddenServiceAuthorizeClient:
24415 the maximum client name length is 16, not 19. Fixes bug 11118;
24416 bugfix on 0.2.1.6-alpha.
24418 o Code simplifications and refactoring:
24419 - Get rid of router->address, since in all cases it was just the
24420 string representation of router->addr. Resolves ticket 5528.
24422 o Test infrastructure:
24423 - Update to the latest version of tinytest.
24424 - Improve the tinytest implementation of string operation tests so
24425 that comparisons with NULL strings no longer crash the tests; they
24426 now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
24429 Changes in version 0.2.4.21 - 2014-02-28
24430 Tor 0.2.4.21 further improves security against potential adversaries who
24431 find breaking 1024-bit crypto doable, and backports several stability
24432 and robustness patches from the 0.2.5 branch.
24434 o Major features (client security):
24435 - When we choose a path for a 3-hop circuit, make sure it contains
24436 at least one relay that supports the NTor circuit extension
24437 handshake. Otherwise, there is a chance that we're building
24438 a circuit that's worth attacking by an adversary who finds
24439 breaking 1024-bit crypto doable, and that chance changes the game
24440 theory. Implements ticket 9777.
24443 - Do not treat streams that fail with reason
24444 END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
24445 since it could also indicate an ENETUNREACH connection error. Fixes
24446 part of bug 10777; bugfix on 0.2.4.8-alpha.
24448 o Code simplification and refactoring:
24449 - Remove data structures which were introduced to implement the
24450 CellStatistics option: they are now redundant with the new timestamp
24451 field in the regular packed_cell_t data structure, which we did
24452 in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
24455 - Always clear OpenSSL bignums before freeing them -- even bignums
24456 that don't contain secrets. Resolves ticket 10793. Patch by
24458 - Build without warnings under clang 3.4. (We have some macros that
24459 define static functions only some of which will get used later in
24460 the module. Starting with clang 3.4, these give a warning unless the
24461 unused attribute is set on them.) Resolves ticket 10904.
24462 - Update geoip and geoip6 files to the February 7 2014 Maxmind
24463 GeoLite2 Country database.
24466 - Set the listen() backlog limit to the largest actually supported
24467 on the system, not to the value in a header file. Fixes bug 9716;
24468 bugfix on every released Tor.
24469 - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
24470 exit node as a NOROUTE error, not an INTERNAL error, since they
24471 can apparently happen when trying to connect to the wrong sort
24472 of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
24473 - Fix build warnings about missing "a2x" comment when building the
24474 manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
24475 Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
24476 - Avoid a segfault on SIGUSR1, where we had freed a connection but did
24477 not entirely remove it from the connection lists. Fixes bug 9602;
24478 bugfix on 0.2.4.4-alpha.
24479 - Fix a segmentation fault in our benchmark code when running with
24480 Fedora's OpenSSL package, or any other OpenSSL that provides
24481 ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
24482 - Turn "circuit handshake stats since last time" log messages into a
24483 heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
24485 o Documentation fixes:
24486 - Document that all but one DirPort entry must have the NoAdvertise
24487 flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
24490 Changes in version 0.2.5.2-alpha - 2014-02-13
24491 Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
24492 like the "poor random number generation" fix and the "building too many
24493 circuits" fix. It also further improves security against potential
24494 adversaries who find breaking 1024-bit crypto doable, and launches
24495 pluggable transports on demand (which gets us closer to integrating
24496 pluggable transport support by default -- not to be confused with Tor
24497 bundles enabling pluggable transports and bridges by default).
24499 o Major features (client security):
24500 - When we choose a path for a 3-hop circuit, make sure it contains
24501 at least one relay that supports the NTor circuit extension
24502 handshake. Otherwise, there is a chance that we're building
24503 a circuit that's worth attacking by an adversary who finds
24504 breaking 1024-bit crypto doable, and that chance changes the game
24505 theory. Implements ticket 9777.
24506 - Clients now look at the "usecreatefast" consensus parameter to
24507 decide whether to use CREATE_FAST or CREATE cells for the first hop
24508 of their circuit. This approach can improve security on connections
24509 where Tor's circuit handshake is stronger than the available TLS
24510 connection security levels, but the tradeoff is more computational
24511 load on guard relays. Implements proposal 221. Resolves ticket 9386.
24513 o Major features (bridges):
24514 - Don't launch pluggable transport proxies if we don't have any
24515 bridges configured that would use them. Now we can list many
24516 pluggable transports, and Tor will dynamically start one when it
24517 hears a bridge address that needs it. Resolves ticket 5018.
24518 - The bridge directory authority now assigns status flags (Stable,
24519 Guard, etc) to bridges based on thresholds calculated over all
24520 Running bridges. Now bridgedb can finally make use of its features
24521 to e.g. include at least one Stable bridge in its answers. Fixes
24524 o Major features (other):
24525 - Extend ORCONN controller event to include an "ID" parameter,
24526 and add four new controller event types CONN_BW, CIRC_BW,
24527 CELL_STATS, and TB_EMPTY that show connection and circuit usage.
24528 The new events are emitted in private Tor networks only, with the
24529 goal of being able to better track performance and load during
24530 full-network simulations. Implements proposal 218 and ticket 7359.
24531 - On some platforms (currently: recent OSX versions, glibc-based
24532 platforms that support the ELF format, and a few other
24533 Unix-like operating systems), Tor can now dump stack traces
24534 when a crash occurs or an assertion fails. By default, traces
24535 are dumped to stderr (if possible) and to any logs that are
24536 reporting errors. Implements ticket 9299.
24539 - Avoid a segfault on SIGUSR1, where we had freed a connection but did
24540 not entirely remove it from the connection lists. Fixes bug 9602;
24541 bugfix on 0.2.4.4-alpha.
24542 - Do not treat streams that fail with reason
24543 END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
24544 since it could also indicate an ENETUNREACH connection error. Fixes
24545 part of bug 10777; bugfix on 0.2.4.8-alpha.
24547 o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
24548 - Do not allow OpenSSL engines to replace the PRNG, even when
24549 HardwareAccel is set. The only default builtin PRNG engine uses
24550 the Intel RDRAND instruction to replace the entire PRNG, and
24551 ignores all attempts to seed it with more entropy. That's
24552 cryptographically stupid: the right response to a new alleged
24553 entropy source is never to discard all previously used entropy
24554 sources. Fixes bug 10402; works around behavior introduced in
24555 OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
24557 - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
24558 address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
24559 - Avoid launching spurious extra circuits when a stream is pending.
24560 This fixes a bug where any circuit that _wasn't_ unusable for new
24561 streams would be treated as if it were, causing extra circuits to
24562 be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
24564 o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24565 - No longer stop reading or writing on cpuworker connections when
24566 our rate limiting buckets go empty. Now we should handle circuit
24567 handshake requests more promptly. Resolves bug 9731.
24568 - Stop trying to bootstrap all our directory information from
24569 only our first guard. Discovered while fixing bug 9946; bugfix
24572 o Minor features (bridges, pluggable transports):
24573 - Add threshold cutoffs to the networkstatus document created by
24574 the Bridge Authority. Fixes bug 1117.
24575 - On Windows, spawn background processes using the CREATE_NO_WINDOW
24576 flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
24577 doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
24578 Vidalia set this option for us.) Implements ticket 10297.
24580 o Minor features (security):
24581 - Always clear OpenSSL bignums before freeing them -- even bignums
24582 that don't contain secrets. Resolves ticket 10793. Patch by
24585 o Minor features (config options and command line):
24586 - Add an --allow-missing-torrc commandline option that tells Tor to
24587 run even if the configuration file specified by -f is not available.
24588 Implements ticket 10060.
24589 - Add support for the TPROXY transparent proxying facility on Linux.
24590 See documentation for the new TransProxyType option for more
24591 details. Implementation by "thomo". Closes ticket 10582.
24593 o Minor features (controller):
24594 - Add a new "HS_DESC" controller event that reports activities
24595 related to hidden service descriptors. Resolves ticket 8510.
24596 - New "DROPGUARDS" controller command to forget all current entry
24597 guards. Not recommended for ordinary use, since replacing guards
24598 too frequently makes several attacks easier. Resolves ticket 9934;
24601 o Minor features (build):
24602 - Assume that a user using ./configure --host wants to cross-compile,
24603 and give an error if we cannot find a properly named
24604 tool-chain. Add a --disable-tool-name-check option to proceed
24605 nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
24606 - If we run ./configure and the compiler recognizes -fstack-protector
24607 but the linker rejects it, warn the user about a potentially missing
24608 libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
24610 o Minor features (testing):
24611 - If Python is installed, "make check" now runs extra tests beyond
24612 the unit test scripts.
24613 - When bootstrapping a test network, sometimes very few relays get
24614 the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
24615 specify a set of relays which should be voted Guard regardless of
24616 their uptime or bandwidth. Addresses ticket 9206.
24618 o Minor features (log messages):
24619 - When ServerTransportPlugin is set on a bridge, Tor can write more
24620 useful statistics about bridge use in its extrainfo descriptors,
24621 but only if the Extended ORPort ("ExtORPort") is set too. Add a
24622 log message to inform the user in this case. Resolves ticket 9651.
24623 - When receiving a new controller connection, log the origin address.
24624 Resolves ticket 9698; patch from "sigpipe".
24625 - When logging OpenSSL engine status at startup, log the status of
24626 more engines. Fixes ticket 10043; patch from Joshua Datko.
24627 - Turn "circuit handshake stats since last time" log messages into a
24628 heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
24630 o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24631 - Improve the circuit queue out-of-memory handler. Previously, when
24632 we ran low on memory, we'd close whichever circuits had the most
24633 queued cells. Now, we close those that have the *oldest* queued
24634 cells, on the theory that those are most responsible for us
24635 running low on memory. Based on analysis from a forthcoming paper
24636 by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
24637 - Generate bootstrapping status update events correctly when fetching
24638 microdescriptors. Fixes bug 9927.
24639 - Update to the October 2 2013 Maxmind GeoLite Country database.
24641 o Minor bugfixes (clients):
24642 - When closing a channel that has already been open, do not close
24643 pending circuits that were waiting to connect to the same relay.
24644 Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
24647 o Minor bugfixes (relays):
24648 - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
24649 exit node as a NOROUTE error, not an INTERNAL error, since they
24650 can apparently happen when trying to connect to the wrong sort
24651 of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
24653 o Minor bugfixes (bridges):
24654 - Fix a bug where the first connection works to a bridge that uses a
24655 pluggable transport with client-side parameters, but we don't send
24656 the client-side parameters on subsequent connections. (We don't
24657 use any pluggable transports with client-side parameters yet,
24658 but ScrambleSuit will soon become the first one.) Fixes bug 9162;
24659 bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
24661 o Minor bugfixes (node selection):
24662 - If ExcludeNodes is set, consider non-excluded hidden service
24663 directory servers before excluded ones. Do not consider excluded
24664 hidden service directory servers at all if StrictNodes is
24665 set. (Previously, we would sometimes decide to connect to those
24666 servers, and then realize before we initiated a connection that
24667 we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
24668 Reported by "mr-4".
24669 - If we set the ExitNodes option but it doesn't include any nodes
24670 that have the Exit flag, we would choose not to bootstrap. Now we
24671 bootstrap so long as ExitNodes includes nodes which can exit to
24672 some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
24674 o Minor bugfixes (controller and command-line):
24675 - If changing a config option via "setconf" fails in a recoverable
24676 way, we used to nonetheless write our new control ports to the
24677 file described by the "ControlPortWriteToFile" option. Now we only
24678 write out that file if we successfully switch to the new config
24679 option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
24680 - When a command-line option such as --version or --help that
24681 ordinarily implies --hush appears on the command line along with
24682 --quiet, then actually obey --quiet. Previously, we obeyed --quiet
24683 only if it appeared later on the command line. Fixes bug 9578;
24684 bugfix on 0.2.5.1-alpha.
24686 o Minor bugfixes (code correctness):
24687 - Previously we used two temporary files when writing descriptors to
24688 disk; now we only use one. Fixes bug 1376.
24689 - Remove an erroneous (but impossible and thus harmless) pointer
24690 comparison that would have allowed compilers to skip a bounds
24691 check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
24692 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
24693 - Fix an always-true assertion in pluggable transports code so it
24694 actually checks what it was trying to check. Fixes bug 10046;
24695 bugfix on 0.2.3.9-alpha. Found by "dcb".
24697 o Minor bugfixes (protocol correctness):
24698 - When receiving a VERSIONS cell with an odd number of bytes, close
24699 the connection immediately since the cell is malformed. Fixes bug
24700 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
24703 o Minor bugfixes (build):
24704 - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
24705 turned off (that is, without support for v2 link handshakes). Fixes
24706 bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
24707 - Fix compilation warnings and startup issues when running with
24708 "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
24710 - Fix compilation on Solaris 9, which didn't like us having an
24711 identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
24713 o Minor bugfixes (testing):
24714 - Fix a segmentation fault in our benchmark code when running with
24715 Fedora's OpenSSL package, or any other OpenSSL that provides
24716 ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
24718 o Minor bugfixes (log messages):
24719 - Fix a bug where clients using bridges would report themselves
24720 as 50% bootstrapped even without a live consensus document.
24721 Fixes bug 9922; bugfix on 0.2.1.1-alpha.
24722 - Suppress a warning where, if there's only one directory authority
24723 in the network, we would complain that votes and signatures cannot
24724 be uploaded to other directory authorities. Fixes bug 10842;
24725 bugfix on 0.2.2.26-beta.
24726 - Report bootstrapping progress correctly when we're downloading
24727 microdescriptors. We had updated our "do we have enough microdescs
24728 to begin building circuits?" logic most recently in 0.2.4.10-alpha
24729 (see bug 5956), but we left the bootstrap status event logic at
24730 "how far through getting 1/4 of them are we?" Fixes bug 9958;
24731 bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
24733 o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
24734 - Avoid a crash bug when starting with a corrupted microdescriptor
24735 cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
24736 - If we fail to dump a previously cached microdescriptor to disk, avoid
24737 freeing duplicate data later on. Fixes bug 10423; bugfix on
24738 0.2.4.13-alpha. Spotted by "bobnomnom".
24740 o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24741 - Correctly log long IPv6 exit policies, instead of truncating them
24742 or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
24743 - Our default TLS ecdhe groups were backwards: we meant to be using
24744 P224 for relays (for performance win) and P256 for bridges (since
24745 it is more common in the wild). Instead we had it backwards. After
24746 reconsideration, we decided that the default should be P256 on all
24747 hosts, since its security is probably better, and since P224 is
24748 reportedly used quite little in the wild. Found by "skruffy" on
24749 IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
24750 - Free directory authority certificate download statuses on exit
24751 rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
24753 o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24754 - If the guard we choose first doesn't answer, we would try the
24755 second guard, but once we connected to the second guard we would
24756 abandon it and retry the first one, slowing down bootstrapping.
24757 The fix is to treat all our initially chosen guards as acceptable
24758 to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
24759 - Fix an assertion failure that would occur when disabling the
24760 ORPort setting on a running Tor process while accounting was
24761 enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
24762 - When examining the list of network interfaces to find our address,
24763 do not consider non-running or disabled network interfaces. Fixes
24764 bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
24765 - Avoid an off-by-one error when checking buffer boundaries when
24766 formatting the exit status of a pluggable transport helper.
24767 This is probably not an exploitable bug, but better safe than
24768 sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
24771 o Removed code and features:
24772 - Clients now reject any directory authority certificates lacking
24773 a dir-key-crosscert element. These have been included since
24774 0.2.1.9-alpha, so there's no real reason for them to be optional
24775 any longer. Completes proposal 157. Resolves ticket 10162.
24776 - Remove all code that existed to support the v2 directory system,
24777 since there are no longer any v2 directory authorities. Resolves
24779 - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
24780 options, which were used for designating authorities as "Hidden
24781 service authorities". There has been no use of hidden service
24782 authorities since 0.2.2.1-alpha, when we stopped uploading or
24783 downloading v0 hidden service descriptors. Fixes bug 10881; also
24784 part of a fix for bug 10841.
24786 o Code simplification and refactoring:
24787 - Remove some old fallback code designed to keep Tor clients working
24788 in a network with only two working relays. Elsewhere in the code we
24789 have long since stopped supporting such networks, so there wasn't
24790 much point in keeping it around. Addresses ticket 9926.
24791 - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
24792 bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
24793 - Remove data structures which were introduced to implement the
24794 CellStatistics option: they are now redundant with the addition
24795 of a timestamp to the regular packed_cell_t data structure, which
24796 we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
24799 o Documentation (man page) fixes:
24800 - Update manpage to describe some of the files you can expect to
24801 find in Tor's DataDirectory. Addresses ticket 9839.
24802 - Document that all but one DirPort entry must have the NoAdvertise
24803 flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
24805 o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24806 - Clarify the usage and risks of setting the ContactInfo torrc line
24807 for your relay or bridge. Resolves ticket 9854.
24808 - Add anchors to the manpage so we can link to the html version of
24809 the documentation for specific options. Resolves ticket 9866.
24810 - Replace remaining references to DirServer in man page and
24811 log entries. Resolves ticket 10124.
24814 - Make the "tor-gencert" tool used by directory authority operators
24815 create 2048-bit signing keys by default (rather than 1024-bit, since
24816 1024-bit is uncomfortably small these days). Addresses ticket 10324.
24819 Changes in version 0.2.4.20 - 2013-12-22
24820 Tor 0.2.4.20 fixes potentially poor random number generation for users
24821 who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
24822 torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
24823 and 4) have no state file in their DataDirectory (as would happen on
24824 first start). Users who generated relay or hidden service identity
24825 keys in such a situation should discard them and generate new ones.
24827 This release also fixes a logic error that caused Tor clients to build
24828 many more preemptive circuits than they actually need.
24831 - Do not allow OpenSSL engines to replace the PRNG, even when
24832 HardwareAccel is set. The only default builtin PRNG engine uses
24833 the Intel RDRAND instruction to replace the entire PRNG, and
24834 ignores all attempts to seed it with more entropy. That's
24835 cryptographically stupid: the right response to a new alleged
24836 entropy source is never to discard all previously used entropy
24837 sources. Fixes bug 10402; works around behavior introduced in
24838 OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
24840 - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
24841 address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
24842 - Avoid launching spurious extra circuits when a stream is pending.
24843 This fixes a bug where any circuit that _wasn't_ unusable for new
24844 streams would be treated as if it were, causing extra circuits to
24845 be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
24848 - Avoid a crash bug when starting with a corrupted microdescriptor
24849 cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
24850 - If we fail to dump a previously cached microdescriptor to disk, avoid
24851 freeing duplicate data later on. Fixes bug 10423; bugfix on
24852 0.2.4.13-alpha. Spotted by "bobnomnom".
24855 Changes in version 0.2.4.19 - 2013-12-11
24856 The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
24857 (1986-2013). Aaron worked on diverse projects including helping to guide
24858 Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
24859 transparency to the U.S government's PACER documents, and contributing
24860 design and development for Tor and Tor2Web. Aaron was one of the latest
24861 martyrs in our collective fight for civil liberties and human rights,
24862 and his death is all the more painful because he was one of us.
24864 Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
24865 a new circuit handshake and link encryption that use ECC to provide
24866 better security and efficiency; makes relays better manage circuit
24867 creation requests; uses "directory guards" to reduce client enumeration
24868 risks; makes bridges collect and report statistics about the pluggable
24869 transports they support; cleans up and improves our geoip database;
24870 gets much closer to IPv6 support for clients, bridges, and relays; makes
24871 directory authorities use measured bandwidths rather than advertised
24872 ones when computing flags and thresholds; disables client-side DNS
24873 caching to reduce tracking risks; and fixes a big bug in bridge
24874 reachability testing. This release introduces two new design
24875 abstractions in the code: a new "channel" abstraction between circuits
24876 and or_connections to allow for implementing alternate relay-to-relay
24877 transports, and a new "circuitmux" abstraction storing the queue of
24878 circuits for a channel. The release also includes many stability,
24879 security, and privacy fixes.
24882 Changes in version 0.2.4.18-rc - 2013-11-16
24883 Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
24884 series. It takes a variety of fixes from the 0.2.5.x branch to improve
24885 stability, performance, and better handling of edge cases.
24888 - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
24889 Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
24890 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
24891 renegotiation from working with TLS 1.1 or 1.2, so we had disabled
24892 them to solve bug 6033.)
24895 - No longer stop reading or writing on cpuworker connections when
24896 our rate limiting buckets go empty. Now we should handle circuit
24897 handshake requests more promptly. Resolves bug 9731.
24898 - If we are unable to save a microdescriptor to the journal, do not
24899 drop it from memory and then reattempt downloading it. Fixes bug
24900 9645; bugfix on 0.2.2.6-alpha.
24901 - Stop trying to bootstrap all our directory information from
24902 only our first guard. Discovered while fixing bug 9946; bugfix
24904 - The new channel code sometimes lost track of in-progress circuits,
24905 causing long-running clients to stop building new circuits. The
24906 fix is to always call circuit_n_chan_done(chan, 0) from
24907 channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
24909 o Minor bugfixes (on 0.2.4.x):
24910 - Correctly log long IPv6 exit policies, instead of truncating them
24911 or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
24912 - Our default TLS ecdhe groups were backwards: we meant to be using
24913 P224 for relays (for performance win) and P256 for bridges (since
24914 it is more common in the wild). Instead we had it backwards. After
24915 reconsideration, we decided that the default should be P256 on all
24916 hosts, since its security is probably better, and since P224 is
24917 reportedly used quite little in the wild. Found by "skruffy" on
24918 IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
24919 - Free directory authority certificate download statuses on exit
24920 rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
24922 o Minor bugfixes (on 0.2.3.x and earlier):
24923 - If the guard we choose first doesn't answer, we would try the
24924 second guard, but once we connected to the second guard we would
24925 abandon it and retry the first one, slowing down bootstrapping.
24926 The fix is to treat all our initially chosen guards as acceptable
24927 to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
24928 - Fix an assertion failure that would occur when disabling the
24929 ORPort setting on a running Tor process while accounting was
24930 enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
24931 - When examining the list of network interfaces to find our address,
24932 do not consider non-running or disabled network interfaces. Fixes
24933 bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
24934 - Avoid an off-by-one error when checking buffer boundaries when
24935 formatting the exit status of a pluggable transport helper.
24936 This is probably not an exploitable bug, but better safe than
24937 sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
24940 o Minor features (protecting client timestamps):
24941 - Clients no longer send timestamps in their NETINFO cells. These were
24942 not used for anything, and they provided one small way for clients
24943 to be distinguished from each other as they moved from network to
24944 network or behind NAT. Implements part of proposal 222.
24945 - Clients now round timestamps in INTRODUCE cells down to the nearest
24946 10 minutes. If a new Support022HiddenServices option is set to 0, or
24947 if it's set to "auto" and the feature is disabled in the consensus,
24948 the timestamp is sent as 0 instead. Implements part of proposal 222.
24949 - Stop sending timestamps in AUTHENTICATE cells. This is not such
24950 a big deal from a security point of view, but it achieves no actual
24951 good purpose, and isn't needed. Implements part of proposal 222.
24952 - Reduce down accuracy of timestamps in hidden service descriptors.
24953 Implements part of proposal 222.
24955 o Minor features (other):
24956 - Improve the circuit queue out-of-memory handler. Previously, when
24957 we ran low on memory, we'd close whichever circuits had the most
24958 queued cells. Now, we close those that have the *oldest* queued
24959 cells, on the theory that those are most responsible for us
24960 running low on memory. Based on analysis from a forthcoming paper
24961 by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
24962 - Generate bootstrapping status update events correctly when fetching
24963 microdescriptors. Fixes bug 9927.
24964 - Update to the October 2 2013 Maxmind GeoLite Country database.
24966 o Documentation fixes:
24967 - Clarify the usage and risks of setting the ContactInfo torrc line
24968 for your relay or bridge. Resolves ticket 9854.
24969 - Add anchors to the manpage so we can link to the html version of
24970 the documentation for specific options. Resolves ticket 9866.
24971 - Replace remaining references to DirServer in man page and
24972 log entries. Resolves ticket 10124.
24975 Changes in version 0.2.5.1-alpha - 2013-10-02
24976 Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
24977 on Linux, allows bridges that offer pluggable transports to report usage
24978 statistics, fixes many issues to make testing easier, and provides
24979 a pile of minor features and bugfixes that have been waiting for a
24980 release of the new branch.
24982 This is the first alpha release in a new series, so expect there to
24983 be bugs. Users who would rather test out a more stable branch should
24984 stay with 0.2.4.x for now.
24986 o Major features (security):
24987 - Use the seccomp2 syscall filtering facility on Linux to limit
24988 which system calls Tor can invoke. This is an experimental,
24989 Linux-only feature to provide defense-in-depth against unknown
24990 attacks. To try turning it on, set "Sandbox 1" in your torrc
24991 file. Please be ready to report bugs. We hope to add support
24992 for better sandboxing in the future, including more fine-grained
24993 filters, better division of responsibility, and support for more
24994 platforms. This work has been done by Cristian-Matei Toader for
24995 Google Summer of Code.
24996 - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
24997 Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
24998 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
24999 renegotiation from working with TLS 1.1 or 1.2, so we had disabled
25000 them to solve bug 6033.)
25002 o Major features (other):
25003 - Add support for passing arguments to managed pluggable transport
25004 proxies. Implements ticket 3594.
25005 - Bridges now track GeoIP information and the number of their users
25006 even when pluggable transports are in use, and report usage
25007 statistics in their extra-info descriptors. Resolves tickets 4773
25009 - Make testing Tor networks bootstrap better: lower directory fetch
25010 retry schedules and maximum interval without directory requests,
25011 and raise maximum download tries. Implements ticket 6752.
25012 - Add make target 'test-network' to run tests on a Chutney network.
25013 Implements ticket 8530.
25014 - The ntor handshake is now on-by-default, no matter what the
25015 directory authorities recommend. Implements ticket 8561.
25018 - Instead of writing destroy cells directly to outgoing connection
25019 buffers, queue them and intersperse them with other outgoing cells.
25020 This can prevent a set of resource starvation conditions where too
25021 many pending destroy cells prevent data cells from actually getting
25022 delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
25023 bugfix on 0.2.0.1-alpha.
25024 - If we are unable to save a microdescriptor to the journal, do not
25025 drop it from memory and then reattempt downloading it. Fixes bug
25026 9645; bugfix on 0.2.2.6-alpha.
25027 - The new channel code sometimes lost track of in-progress circuits,
25028 causing long-running clients to stop building new circuits. The
25029 fix is to always call circuit_n_chan_done(chan, 0) from
25030 channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
25033 - Tor now builds each source file in two modes: a mode that avoids
25034 exposing identifiers needlessly, and another mode that exposes
25035 more identifiers for testing. This lets the compiler do better at
25036 optimizing the production code, while enabling us to take more
25037 radical measures to let the unit tests test things.
25038 - The production builds no longer include functions used only in
25039 the unit tests; all functions exposed from a module only for
25040 unit-testing are now static in production builds.
25041 - Add an --enable-coverage configuration option to make the unit
25042 tests (and a new src/or/tor-cov target) to build with gcov test
25046 - We now have rudimentary function mocking support that our unit
25047 tests can use to test functions in isolation. Function mocking
25048 lets the tests temporarily replace a function's dependencies with
25049 stub functions, so that the tests can check the function without
25050 invoking the other functions it calls.
25051 - Add more unit tests for the <circid,channel>->circuit map, and
25052 the destroy-cell-tracking code to fix bug 7912.
25053 - Unit tests for failing cases of the TAP onion handshake.
25054 - More unit tests for address-manipulation functions.
25056 o Minor features (protecting client timestamps):
25057 - Clients no longer send timestamps in their NETINFO cells. These were
25058 not used for anything, and they provided one small way for clients
25059 to be distinguished from each other as they moved from network to
25060 network or behind NAT. Implements part of proposal 222.
25061 - Clients now round timestamps in INTRODUCE cells down to the nearest
25062 10 minutes. If a new Support022HiddenServices option is set to 0, or
25063 if it's set to "auto" and the feature is disabled in the consensus,
25064 the timestamp is sent as 0 instead. Implements part of proposal 222.
25065 - Stop sending timestamps in AUTHENTICATE cells. This is not such
25066 a big deal from a security point of view, but it achieves no actual
25067 good purpose, and isn't needed. Implements part of proposal 222.
25068 - Reduce down accuracy of timestamps in hidden service descriptors.
25069 Implements part of proposal 222.
25071 o Minor features (config options):
25072 - Config (torrc) lines now handle fingerprints which are missing
25073 their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
25074 - Support a --dump-config option to print some or all of the
25075 configured options. Mainly useful for debugging the command-line
25076 option parsing code. Helps resolve ticket 4647.
25077 - Raise awareness of safer logging: notify user of potentially
25078 unsafe config options, like logging more verbosely than severity
25079 "notice" or setting SafeLogging to 0. Resolves ticket 5584.
25080 - Add a new configuration option TestingV3AuthVotingStartOffset
25081 that bootstraps a network faster by changing the timing for
25082 consensus votes. Addresses ticket 8532.
25083 - Add a new torrc option "ServerTransportOptions" that allows
25084 bridge operators to pass configuration parameters to their
25085 pluggable transports. Resolves ticket 8929.
25086 - The config (torrc) file now accepts bandwidth and space limits in
25087 bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
25088 you can now say "16 kilobits", and so on.) Resolves ticket 9214.
25091 o Minor features (build):
25092 - Add support for `--library-versions` flag. Implements ticket 6384.
25093 - Return the "unexpected sendme" warnings to a warn severity, but make
25094 them rate limited, to help diagnose ticket 8093.
25095 - Detect a missing asciidoc, and warn the user about it, during
25096 configure rather than at build time. Fixes issue 6506. Patch from
25099 o Minor features (other):
25100 - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
25101 sockets in a single system call. Implements ticket 5129.
25102 - Log current accounting state (bytes sent and received + remaining
25103 time for the current accounting period) in the relay's heartbeat
25104 message. Implements ticket 5526; patch from Peter Retzlaff.
25105 - Implement the TRANSPORT_LAUNCHED control port event that
25106 notifies controllers about new launched pluggable
25107 transports. Resolves ticket 5609.
25108 - If we're using the pure-C 32-bit curve25519_donna implementation
25109 of curve25519, build it with the -fomit-frame-pointer option to
25110 make it go faster on register-starved hosts. This improves our
25111 handshake performance by about 6% on i386 hosts without nacl.
25112 Closes ticket 8109.
25113 - Update to the September 4 2013 Maxmind GeoLite Country database.
25116 - Set the listen() backlog limit to the largest actually supported
25117 on the system, not to the value in a header file. Fixes bug 9716;
25118 bugfix on every released Tor.
25119 - No longer accept malformed http headers when parsing urls from
25120 headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
25121 bugfix on 0.0.6pre1.
25122 - In munge_extrainfo_into_routerinfo(), check the return value of
25123 memchr(). This would have been a serious issue if we ever passed
25124 it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
25126 - On the chance that somebody manages to build Tor on a
25127 platform where time_t is unsigned, correct the way that
25128 microdesc_add_to_cache() handles negative time arguments.
25129 Fixes bug 8042; bugfix on 0.2.3.1-alpha.
25130 - Reject relative control socket paths and emit a warning. Previously,
25131 single-component control socket paths would be rejected, but Tor
25132 would not log why it could not validate the config. Fixes bug 9258;
25133 bugfix on 0.2.3.16-alpha.
25135 o Minor bugfixes (command line):
25136 - Use a single command-line parser for parsing torrc options on the
25137 command line and for finding special command-line options to avoid
25138 inconsistent behavior for torrc option arguments that have the same
25139 names as command-line options. Fixes bugs 4647 and 9578; bugfix on
25141 - No longer allow 'tor --hash-password' with no arguments. Fixes bug
25142 9573; bugfix on 0.0.9pre5.
25144 o Minor fixes (build, auxiliary programs):
25145 - Stop preprocessing the "torify" script with autoconf, since
25146 it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
25148 - The tor-fw-helper program now follows the standard convention and
25149 exits with status code "0" on success. Fixes bug 9030; bugfix on
25150 0.2.3.1-alpha. Patch by Arlo Breault.
25151 - Corrected ./configure advice for what openssl dev package you should
25152 install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
25154 o Minor code improvements:
25155 - Remove constants and tests for PKCS1 padding; it's insecure and
25156 shouldn't be used for anything new. Fixes bug 8792; patch
25158 - Remove instances of strcpy() from the unit tests. They weren't
25159 hurting anything, since they were only in the unit tests, but it's
25160 embarrassing to have strcpy() in the code at all, and some analysis
25161 tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
25162 0.2.3.8-alpha. Patch from Arlo Breault.
25164 o Removed features:
25165 - Remove migration code from when we renamed the "cached-routers"
25166 file to "cached-descriptors" back in 0.2.0.8-alpha. This
25167 incidentally resolves ticket 6502 by cleaning up the related code
25168 a bit. Patch from Akshay Hebbar.
25170 o Code simplification and refactoring:
25171 - Extract the common duplicated code for creating a subdirectory
25172 of the data directory and writing to a file in it. Fixes ticket
25173 4282; patch from Peter Retzlaff.
25174 - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
25175 buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
25176 i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
25177 - Add a set of accessor functions for the circuit timeout data
25178 structure. Fixes ticket 6153; patch from "piet".
25179 - Clean up exit paths from connection_listener_new(). Closes ticket
25180 8789. Patch from Arlo Breault.
25181 - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
25182 and drop our own custom pkey_eq() implementation. Fixes bug 9043.
25183 - Use a doubly-linked list to implement the global circuit list.
25184 Resolves ticket 9108. Patch from Marek Majkowski.
25185 - Remove contrib/id_to_fp.c since it wasn't used anywhere.
25188 Changes in version 0.2.4.17-rc - 2013-09-05
25189 Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
25190 series. It adds an emergency step to help us tolerate the massive
25191 influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
25192 circuit-level handshakes now effectively jump the queue compared to
25193 the 0.2.3 clients using "TAP" handshakes. This release also fixes a
25194 big bug hindering bridge reachability tests.
25197 - Relays now process the new "NTor" circuit-level handshake requests
25198 with higher priority than the old "TAP" circuit-level handshake
25199 requests. We still process some TAP requests to not totally starve
25200 0.2.3 clients when NTor becomes popular. A new consensus parameter
25201 "NumNTorsPerTAP" lets us tune the balance later if we need to.
25202 Implements ticket 9574.
25205 - If the circuit build timeout logic is disabled (via the consensus,
25206 or because we are an authority), then don't build testing circuits.
25207 Fixes bug 9657; bugfix on 0.2.2.14-alpha.
25208 - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
25209 previously they did not, which prevented them from receiving
25210 successful connections from relays for self-test or bandwidth
25211 testing. Also, when a relay is extending a circuit to a bridge,
25212 it needs to send a NETINFO cell, even when the bridge hasn't sent
25213 an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
25214 - If the time to download the next old-style networkstatus is in
25215 the future, do not decline to consider whether to download the
25216 next microdescriptor networkstatus. Fixes bug 9564; bugfix on
25220 - Avoid double-closing the listener socket in our socketpair()
25221 replacement (used on Windows) in the case where the addresses on
25222 our opened sockets don't match what we expected. Fixes bug 9400;
25223 bugfix on 0.0.2pre7. Found by Coverity.
25225 o Minor fixes (config options):
25226 - Avoid overflows when the user sets MaxCircuitDirtiness to a
25227 ridiculously high value, by imposing a (ridiculously high) 30-day
25228 maximum on MaxCircuitDirtiness.
25229 - Fix the documentation of HeartbeatPeriod to say that the heartbeat
25230 message is logged at notice, not at info.
25231 - Warn and fail if a server is configured not to advertise any
25232 ORPorts at all. (We need *something* to put in our descriptor,
25233 or we just won't work.)
25236 - Track how many "TAP" and "NTor" circuit handshake requests we get,
25237 and how many we complete, and log it every hour to help relay
25238 operators follow trends in network load. Addresses ticket 9658.
25239 - Update to the August 7 2013 Maxmind GeoLite Country database.
25242 Changes in version 0.2.4.16-rc - 2013-08-10
25243 Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
25244 series. It fixes several crash bugs in the 0.2.4 branch.
25247 - Fix a bug in the voting algorithm that could yield incorrect results
25248 when a non-naming authority declared too many flags. Fixes bug 9200;
25249 bugfix on 0.2.0.3-alpha.
25250 - Fix an uninitialized read that could in some cases lead to a remote
25251 crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
25252 Anybody running a hidden service on the experimental 0.2.4.x
25253 branch should upgrade. (This is, so far as we know, unrelated to
25255 - Avoid an assertion failure when processing DNS replies without the
25256 answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
25257 - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
25258 0.2.4.15-rc. Found by stem integration tests.
25261 - Fix an invalid memory read that occurred when a pluggable
25262 transport proxy failed its configuration protocol.
25263 Fixes bug 9288; bugfix on 0.2.4.1-alpha.
25264 - When evaluating whether to use a connection that we haven't
25265 decided is canonical using a recent link protocol version,
25266 decide that it's canonical only if it used address _does_
25267 match the desired address. Fixes bug 9309; bugfix on
25268 0.2.4.4-alpha. Reported by skruffy.
25269 - Make the default behavior of NumDirectoryGuards be to track
25270 NumEntryGuards. Now a user who changes only NumEntryGuards will get
25271 the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
25272 - Fix a spurious compilation warning with some older versions of
25273 GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
25276 - Update to the July 3 2013 Maxmind GeoLite Country database.
25279 Changes in version 0.2.4.15-rc - 2013-07-01
25280 Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
25281 series. It fixes a few smaller bugs, but generally appears stable.
25282 Please test it and let us know whether it is!
25285 - When receiving a new configuration file via the control port's
25286 LOADCONF command, do not treat the defaults file as absent.
25287 Fixes bug 9122; bugfix on 0.2.3.9-alpha.
25290 - Issue a warning when running with the bufferevents backend enabled.
25291 It's still not stable, and people should know that they're likely
25292 to hit unexpected problems. Closes ticket 9147.
25295 Changes in version 0.2.4.14-alpha - 2013-06-18
25296 Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
25297 present in 0.2.4.13-alpha.
25300 - When we have too much memory queued in circuits (according to a new
25301 MaxMemInCellQueues option), close the circuits consuming the most
25302 memory. This prevents us from running out of memory as a relay if
25303 circuits fill up faster than they can be drained. Fixes bug 9063;
25304 bugfix on the 54th commit of Tor. This bug is a further fix beyond
25305 bug 6252, whose fix was merged into 0.2.3.21-rc.
25307 This change also fixes an earlier approach taken in 0.2.4.13-alpha,
25308 where we tried to solve this issue simply by imposing an upper limit
25309 on the number of queued cells for a single circuit. That approach
25310 proved to be problematic, since there are ways to provoke clients to
25311 send a number of cells in excess of any such reasonable limit. Fixes
25312 bug 9072; bugfix on 0.2.4.13-alpha.
25314 - Limit hidden service descriptors to at most ten introduction
25315 points, to slow one kind of guard enumeration. Fixes bug 9002;
25316 bugfix on 0.1.1.11-alpha.
25319 Changes in version 0.2.4.13-alpha - 2013-06-14
25320 Tor 0.2.4.13-alpha fixes a variety of potential remote crash
25321 vulnerabilities, makes socks5 username/password circuit isolation
25322 actually actually work (this time for sure!), and cleans up a bunch
25323 of other issues in preparation for a release candidate.
25325 o Major bugfixes (robustness):
25326 - Close any circuit that has too many cells queued on it. Fixes
25327 bug 9063; bugfix on the 54th commit of Tor. This bug is a further
25328 fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
25329 - Prevent the get_freelists() function from running off the end of
25330 the list of freelists if it somehow gets an unrecognized
25331 allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
25333 - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
25334 when an exit connection with optimistic data succeeds immediately
25335 rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
25337 - Fix a directory authority crash bug when building a consensus
25338 using an older consensus as its basis. Fixes bug 8833. Bugfix
25342 - Avoid a memory leak where we would leak a consensus body when we
25343 find that a consensus which we couldn't previously verify due to
25344 missing certificates is now verifiable. Fixes bug 8719; bugfix
25346 - We used to always request authority certificates by identity digest,
25347 meaning we'd get the newest one even when we wanted one with a
25348 different signing key. Then we would complain about being given
25349 a certificate we already had, and never get the one we really
25350 wanted. Now we use the "fp-sk/" resource as well as the "fp/"
25351 resource to request the one we want. Fixes bug 5595; bugfix on
25353 - Follow the socks5 protocol when offering username/password
25354 authentication. The fix for bug 8117 exposed this bug, and it
25355 turns out real-world applications like Pidgin do care. Bugfix on
25356 0.2.3.2-alpha; fixes bug 8879.
25357 - Prevent failures on Windows Vista and later when rebuilding the
25358 microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
25359 bugfix on 0.2.4.12-alpha.
25362 - Fix an impossible buffer overrun in the AES unit tests. Fixes
25363 bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
25364 - If for some reason we fail to write a microdescriptor while
25365 rebuilding the cache, do not let the annotations from that
25366 microdescriptor linger in the cache file, and do not let the
25367 microdescriptor stay recorded as present in its old location.
25368 Fixes bug 9047; bugfix on 0.2.2.6-alpha.
25369 - Fix a memory leak that would occur whenever a configuration
25370 option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
25371 - Paste the description for PathBias parameters from the man
25372 page into or.h, so the code documents them too. Fixes bug 7982;
25373 bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
25374 - Relays now treat a changed IPv6 ORPort as sufficient reason to
25375 publish an updated descriptor. Fixes bug 6026; bugfix on
25377 - When launching a resolve request on behalf of an AF_UNIX control
25378 socket, omit the address field of the new entry connection, used in
25379 subsequent controller events, rather than letting tor_dup_addr()
25380 set it to "<unknown address type>". Fixes bug 8639; bugfix on
25383 o Minor bugfixes (log messages):
25384 - Fix a scaling issue in the path bias accounting code that
25385 resulted in "Bug:" log messages from either
25386 pathbias_scale_close_rates() or pathbias_count_build_success().
25387 This represents a bugfix on a previous bugfix: the original fix
25388 attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
25390 - Give a less useless error message when the user asks for an IPv4
25391 address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
25395 - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
25396 to tolerate bug 8093 for now.
25397 - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
25398 in directory authority votes to describe whether they have enough
25399 measured bandwidths to ignore advertised (relay descriptor)
25400 bandwidth claims. Resolves ticket 8711.
25401 - Update to the June 5 2013 Maxmind GeoLite Country database.
25403 o Removed documentation:
25404 - Remove some of the older contents of doc/ as obsolete; move others
25405 to torspec.git. Fixes bug 8965.
25407 o Code simplification and refactoring:
25408 - Avoid using character buffers when constructing most directory
25409 objects: this approach was unwieldy and error-prone. Instead,
25410 build smartlists of strings, and concatenate them when done.
25413 Changes in version 0.2.4.12-alpha - 2013-04-18
25414 Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
25415 process for lengthening the guard rotation period, makes directory
25416 authority opinions in the consensus a bit less gameable, makes socks5
25417 username/password circuit isolation actually work, and fixes a wide
25418 variety of other issues.
25421 - Raise the default time that a client keeps an entry guard from
25422 "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
25423 2012 paper. (We would make it even longer, but we need better client
25424 load balancing first.) Also, make the guard lifetime controllable
25425 via a new GuardLifetime torrc option and a GuardLifetime consensus
25426 parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
25427 - Directory authorities now prefer using measured bandwidths to
25428 advertised ones when computing flags and thresholds. Resolves
25430 - Directory authorities that have more than a threshold number
25431 of relays with measured bandwidths now treat relays with unmeasured
25432 bandwidths as having bandwidth 0. Resolves ticket 8435.
25434 o Major bugfixes (assert / resource use):
25435 - Avoid a bug where our response to TLS renegotiation under certain
25436 network conditions could lead to a busy-loop, with 100% CPU
25437 consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
25438 - Avoid an assertion when we discover that we'd like to write a cell
25439 onto a closing connection: just discard the cell. Fixes another
25440 case of bug 7350; bugfix on 0.2.4.4-alpha.
25442 o Major bugfixes (client-side privacy):
25443 - When we mark a circuit as unusable for new circuits, have it
25444 continue to be unusable for new circuits even if MaxCircuitDirtiness
25445 is increased too much at the wrong time, or the system clock jumps
25446 backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
25447 - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
25448 which have resolved to internal addresses") is set, apply that
25449 rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
25450 - When an exit relay rejects a stream with reason "exit policy", but
25451 we only know an exit policy summary (e.g. from the microdesc
25452 consensus) for it, do not mark the relay as useless for all exiting.
25453 Instead, mark just the circuit as unsuitable for that particular
25454 address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
25455 - Allow applications to get proper stream isolation with
25456 IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
25457 username/password authentication also offer "no authentication". Tor
25458 had previously preferred "no authentication", so the applications
25459 never actually sent Tor their auth details. Now Tor selects
25460 username/password authentication if it's offered. You can disable
25461 this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
25462 bug 8117; bugfix on 0.2.3.3-alpha.
25464 o Major bugfixes (other):
25465 - When unable to find any working directory nodes to use as a
25466 directory guard, give up rather than adding the same non-working
25467 nodes to the directory guard list over and over. Fixes bug 8231;
25468 bugfix on 0.2.4.8-alpha.
25471 - Reject as invalid most directory objects containing a NUL.
25472 Belt-and-suspender fix for bug 8037.
25473 - In our testsuite, create temporary directories with a bit more
25474 entropy in their name to make name collisions less likely. Fixes
25476 - Add CACHED keyword to ADDRMAP events in the control protocol
25477 to indicate whether a DNS result will be cached or not. Resolves
25479 - Update to the April 3 2013 Maxmind GeoLite Country database.
25481 o Minor features (build):
25482 - Detect and reject attempts to build Tor with threading support
25483 when OpenSSL has been compiled without threading support.
25485 - Clarify that when autoconf is checking for nacl, it is checking
25486 specifically for nacl with a fast curve25519 implementation.
25488 - Warn if building on a platform with an unsigned time_t: there
25489 are too many places where Tor currently assumes that time_t can
25490 hold negative values. We'd like to fix them all, but probably
25493 o Minor bugfixes (build):
25494 - Fix some bugs in tor-fw-helper-natpmp when trying to build and
25495 run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
25496 Fixes bug 7280; bugfix on 0.2.3.1-alpha.
25497 - Add the old src/or/micro-revision.i filename to CLEANFILES.
25498 On the off chance that somebody has one, it will go away as soon
25499 as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
25500 - Build Tor correctly on 32-bit platforms where the compiler can build
25501 but not run code using the "uint128_t" construction. Fixes bug 8587;
25502 bugfix on 0.2.4.8-alpha.
25503 - Fix compilation warning with some versions of clang that would
25504 prefer the -Wswitch-enum compiler flag to warn about switch
25505 statements with missing enum values, even if those switch
25506 statements have a "default:" statement. Fixes bug 8598; bugfix
25509 o Minor bugfixes (protocol):
25510 - Fix the handling of a TRUNCATE cell when it arrives while the
25511 circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
25512 - Fix a misframing issue when reading the version numbers in a
25513 VERSIONS cell. Previously we would recognize [00 01 00 02] as
25514 'version 1, version 2, and version 0x100', when it should have
25515 only included versions 1 and 2. Fixes bug 8059; bugfix on
25516 0.2.0.10-alpha. Reported pseudonymously.
25517 - Make the format and order of STREAM events for DNS lookups
25518 consistent among the various ways to launch DNS lookups. Fixes
25519 bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
25520 - Correct our check for which versions of Tor support the EXTEND2
25521 cell. We had been willing to send it to Tor 0.2.4.7-alpha and
25522 later, when support was really added in version 0.2.4.8-alpha.
25523 Fixes bug 8464; bugfix on 0.2.4.8-alpha.
25525 o Minor bugfixes (other):
25526 - Correctly store microdescriptors and extrainfo descriptors with
25527 an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
25528 Bug reported by "cypherpunks".
25529 - Increase the width of the field used to remember a connection's
25530 link protocol version to two bytes. Harmless for now, since the
25531 only currently recognized versions are one byte long. Reported
25532 pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
25533 - If the state file's path bias counts are invalid (presumably from a
25534 buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
25535 additional checks and log messages to the scaling of Path Bias
25536 counts, in case there still are remaining issues with scaling.
25537 Should help resolve bug 8235.
25538 - Eliminate several instances where we use "Nickname=ID" to refer to
25539 nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
25540 "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
25541 on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
25543 o Minor bugfixes (syscalls):
25544 - Always check the return values of functions fcntl() and
25545 setsockopt(). We don't believe these are ever actually failing in
25546 practice, but better safe than sorry. Also, checking these return
25547 values should please analysis tools like Coverity. Patch from
25548 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
25549 - Use direct writes rather than stdio when building microdescriptor
25550 caches, in an attempt to mitigate bug 8031, or at least make it
25553 o Minor bugfixes (config):
25554 - When rejecting a configuration because we were unable to parse a
25555 quoted string, log an actual error message. Fixes bug 7950; bugfix
25557 - Behave correctly when the user disables LearnCircuitBuildTimeout
25558 but doesn't tell us what they would like the timeout to be. Fixes
25559 bug 6304; bugfix on 0.2.2.14-alpha.
25560 - When autodetecting the number of CPUs, use the number of available
25561 CPUs in preference to the number of configured CPUs. Inform the
25562 user if this reduces the number of available CPUs. Fixes bug 8002;
25563 bugfix on 0.2.3.1-alpha.
25564 - Make it an error when you set EntryNodes but disable UseGuardNodes,
25565 since it will (surprisingly to some users) ignore EntryNodes. Fixes
25566 bug 8180; bugfix on 0.2.3.11-alpha.
25567 - Allow TestingTorNetworks to override the 4096-byte minimum for
25568 the Fast threshold. Otherwise they can't bootstrap until they've
25569 observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
25570 - Fix some logic errors when the user manually overrides the
25571 PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
25574 o Minor bugfixes (log messages to help diagnose bugs):
25575 - If we fail to free a microdescriptor because of bug 7164, log
25576 the filename and line number from which we tried to free it.
25577 - Add another diagnostic to the heartbeat message: track and log
25578 overhead that TLS is adding to the data we write. If this is
25579 high, we are sending too little data to SSL_write at a time.
25580 Diagnostic for bug 7707.
25581 - Add more detail to a log message about relaxed timeouts, to help
25583 - Warn more aggressively when flushing microdescriptors to a
25584 microdescriptor cache fails, in an attempt to mitigate bug 8031,
25585 or at least make it more diagnosable.
25586 - Improve debugging output to help track down bug 8185 ("Bug:
25587 outgoing relay cell has n_chan==NULL. Dropping.")
25588 - Log the purpose of a path-bias testing circuit correctly.
25589 Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
25591 o Minor bugfixes (0.2.4.x log messages that were too noisy):
25592 - Don't attempt to relax the timeout of already opened 1-hop circuits.
25593 They might never timeout. This should eliminate some/all cases of
25594 the relaxed timeout log message.
25595 - Use circuit creation time for network liveness evaluation. This
25596 should eliminate warning log messages about liveness caused
25597 by changes in timeout evaluation. Fixes bug 6572; bugfix on
25599 - Reduce a path bias length check from notice to info. The message
25600 is triggered when creating controller circuits. Fixes bug 8196;
25601 bugfix on 0.2.4.8-alpha.
25602 - Fix a path state issue that triggered a notice during relay startup.
25603 Fixes bug 8320; bugfix on 0.2.4.10-alpha.
25604 - Reduce occurrences of warns about circuit purpose in
25605 connection_ap_expire_building(). Fixes bug 8477; bugfix on
25608 o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
25609 - If we encounter a write failure on a SOCKS connection before we
25610 finish our SOCKS handshake, don't warn that we closed the
25611 connection before we could send a SOCKS reply. Fixes bug 8427;
25612 bugfix on 0.1.0.1-rc.
25613 - Correctly recognize that [::1] is a loopback address. Fixes
25614 bug 8377; bugfix on 0.2.1.3-alpha.
25615 - Fix a directory authority warn caused when we have a large amount
25616 of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
25617 - Don't log inappropriate heartbeat messages when hibernating: a
25618 hibernating node is _expected_ to drop out of the consensus,
25619 decide it isn't bootstrapped, and so forth. Fixes bug 7302;
25620 bugfix on 0.2.3.1-alpha.
25621 - Don't complain about bootstrapping problems while hibernating.
25622 These complaints reflect a general code problem, but not one
25623 with any problematic effects (no connections are actually
25624 opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
25626 o Documentation fixes:
25627 - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
25628 names match. Fixes bug 7768.
25629 - Make the torify manpage no longer refer to tsocks; torify hasn't
25630 supported tsocks since 0.2.3.14-alpha.
25631 - Make the tor manpage no longer reference tsocks.
25632 - Fix the GeoIPExcludeUnknown documentation to refer to
25633 ExcludeExitNodes rather than the currently nonexistent
25634 ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
25637 - The tor-tsocks.conf is no longer distributed or installed. We
25638 recommend that tsocks users use torsocks instead. Resolves
25642 Changes in version 0.2.4.11-alpha - 2013-03-11
25643 Tor 0.2.4.11-alpha makes relay measurement by directory authorities
25644 more robust, makes hidden service authentication work again, and
25645 resolves a DPI fingerprint for Tor's SSL transport.
25647 o Major features (directory authorities):
25648 - Directory authorities now support a new consensus method (17)
25649 where they cap the published bandwidth of servers for which
25650 insufficient bandwidth measurements exist. Fixes part of bug 2286.
25651 - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
25652 serve any v2 directory information. Now we can test disabling the
25653 old deprecated v2 directory format, and see whether doing so has
25654 any effect on network load. Begins to fix bug 6783.
25655 - Directory authorities now include inside each vote a statement of
25656 the performance thresholds they used when assigning flags.
25657 Implements ticket 8151.
25659 o Major bugfixes (directory authorities):
25660 - Stop marking every relay as having been down for one hour every
25661 time we restart a directory authority. These artificial downtimes
25662 were messing with our Stable and Guard flag calculations. Fixes
25663 bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
25665 o Major bugfixes (hidden services):
25666 - Allow hidden service authentication to succeed again. When we
25667 refactored the hidden service introduction code back
25668 in 0.2.4.1-alpha, we didn't update the code that checks
25669 whether authentication information is present, causing all
25670 authentication checks to return "false". Fix for bug 8207; bugfix
25671 on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
25673 o Minor features (relays, bridges):
25674 - Make bridge relays check once a minute for whether their IP
25675 address has changed, rather than only every 15 minutes. Resolves
25676 bugs 1913 and 1992.
25677 - Refactor resolve_my_address() so it returns the method by which we
25678 decided our public IP address (explicitly configured, resolved from
25679 explicit hostname, guessed from interfaces, learned by gethostname).
25680 Now we can provide more helpful log messages when a relay guesses
25681 its IP address incorrectly (e.g. due to unexpected lines in
25682 /etc/hosts). Resolves ticket 2267.
25683 - Teach bridge-using clients to avoid 0.2.2 bridges when making
25684 microdescriptor-related dir requests, and only fall back to normal
25685 descriptors if none of their bridges can handle microdescriptors
25686 (as opposed to the fix in ticket 4013, which caused them to fall
25687 back to normal descriptors if *any* of their bridges preferred
25688 them). Resolves ticket 4994.
25689 - Randomize the lifetime of our SSL link certificate, so censors can't
25690 use the static value for filtering Tor flows. Resolves ticket 8443;
25691 related to ticket 4014 which was included in 0.2.2.33.
25692 - Support a new version of the link protocol that allows 4-byte circuit
25693 IDs. Previously, circuit IDs were limited to 2 bytes, which presented
25694 a possible resource exhaustion issue. Closes ticket 7351; implements
25697 o Minor features (portability):
25698 - Tweak the curve25519-donna*.c implementations to tolerate systems
25699 that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
25700 - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
25701 the signs of types during autoconf. This is better than our old
25702 approach, which didn't work when cross-compiling.
25703 - Detect the sign of enum values, rather than assuming that MSC is the
25704 only compiler where enum types are all signed. Fixes bug 7727;
25705 bugfix on 0.2.4.10-alpha.
25707 o Minor features (other):
25708 - Say "KBytes" rather than "KB" in the man page (for various values
25709 of K), to further reduce confusion about whether Tor counts in
25710 units of memory or fractions of units of memory. Resolves ticket 7054.
25711 - Clear the high bit on curve25519 public keys before passing them to
25712 our backend, in case we ever wind up using a backend that doesn't do
25713 so itself. If we used such a backend, and *didn't* clear the high bit,
25714 we could wind up in a situation where users with such backends would
25715 be distinguishable from users without. Fixes bug 8121; bugfix on
25717 - Update to the March 6 2013 Maxmind GeoLite Country database.
25719 o Minor bugfixes (clients):
25720 - When we receive a RELAY_END cell with the reason DONE, or with no
25721 reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
25722 status as "connection refused". Previously we reported these cases
25723 as success but then immediately closed the connection. Fixes bug
25724 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
25725 - Downgrade an assertion in connection_ap_expire_beginning to an
25726 LD_BUG message. The fix for bug 8024 should prevent this message
25727 from displaying, but just in case, a warn that we can diagnose
25728 is better than more assert crashes. Fixes bug 8065; bugfix on
25730 - Lower path use bias thresholds to .80 for notice and .60 for warn.
25731 Also make the rate limiting flags for the path use bias log messages
25732 independent from the original path bias flags. Fixes bug 8161;
25733 bugfix on 0.2.4.10-alpha.
25735 o Minor bugfixes (relays):
25736 - Stop trying to resolve our hostname so often (e.g. every time we
25737 think about doing a directory fetch). Now we reuse the cached
25738 answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
25739 and 2410 (bugfix on 0.1.2.2-alpha).
25740 - Stop sending a stray "(null)" in some cases for the server status
25741 "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
25743 - When choosing which stream on a formerly stalled circuit to wake
25744 first, make better use of the platform's weak RNG. Previously,
25745 we had been using the % ("modulo") operator to try to generate a
25746 1/N chance of picking each stream, but this behaves badly with
25747 many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
25749 - Use our own weak RNG when we need a weak RNG. Windows's rand() and
25750 Irix's random() only return 15 bits; Solaris's random() returns more
25751 bits but its RAND_MAX says it only returns 15, and so on. Motivated
25752 by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
25754 o Minor bugfixes (directory authorities):
25755 - Directory authorities now use less space when formatting identical
25756 microdescriptor lines in directory votes. Fixes bug 8158; bugfix
25759 o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
25760 - Avoid leaking memory if we fail to compute a consensus signature
25761 or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
25762 - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
25764 - Fix a memory leak during safe-cookie controller authentication.
25765 Bugfix on 0.2.3.13-alpha.
25766 - Avoid memory leak of IPv6 policy content if we fail to format it into
25767 a router descriptor. Bugfix on 0.2.4.7-alpha.
25769 o Minor bugfixes (other code correctness issues):
25770 - Avoid a crash if we fail to generate an extrainfo descriptor.
25771 Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
25772 this is CID 718634.
25773 - When detecting the largest possible file descriptor (in order to
25774 close all file descriptors when launching a new program), actually
25775 use _SC_OPEN_MAX. The old code for doing this was very, very broken.
25776 Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
25778 - Fix a copy-and-paste error when adding a missing A1 to a routerset
25779 because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
25780 Bugfix on 0.2.4.10-alpha.
25781 - Fix an impossible-to-trigger integer overflow when estimating how
25782 long our onionskin queue would take. (This overflow would require us
25783 to accept 4 million onionskins before processing 100 of them.) Fixes
25784 bug 8210; bugfix on 0.2.4.10-alpha.
25786 o Code simplification and refactoring:
25787 - Add a wrapper function for the common "log a message with a
25791 Changes in version 0.2.4.10-alpha - 2013-02-04
25792 Tor 0.2.4.10-alpha adds defenses at the directory authority level from
25793 certain attacks that flood the network with relays; changes the queue
25794 for circuit create requests from a sized-based limit to a time-based
25795 limit; resumes building with MSVC on Windows; and fixes a wide variety
25798 o Major bugfixes (directory authority):
25799 - When computing directory thresholds, ignore any rejected-as-sybil
25800 nodes during the computation so that they can't influence Fast,
25801 Guard, etc. (We should have done this for proposal 109.) Fixes
25803 - When marking a node as a likely sybil, reset its uptime metrics
25804 to zero, so that it cannot time towards getting marked as Guard,
25805 Stable, or HSDir. (We should have done this for proposal 109.) Fixes
25809 - When a TLS write is partially successful but incomplete, remember
25810 that the flushed part has been flushed, and notice that bytes were
25811 actually written. Reported and fixed pseudonymously. Fixes bug
25812 7708; bugfix on Tor 0.1.0.5-rc.
25813 - Reject bogus create and relay cells with 0 circuit ID or 0 stream
25814 ID: these could be used to create unexpected streams and circuits
25815 which would count as "present" to some parts of Tor but "absent"
25816 to others, leading to zombie circuits and streams or to a bandwidth
25817 denial-of-service. Fixes bug 7889; bugfix on every released version
25818 of Tor. Reported by "oftc_must_be_destroyed".
25819 - Rename all macros in our local copy of queue.h to begin with "TOR_".
25820 This change seems the only good way to permanently prevent conflicts
25821 with queue.h on various operating systems. Fixes bug 8107; bugfix
25824 o Major features (relay):
25825 - Instead of limiting the number of queued onionskins (aka circuit
25826 create requests) to a fixed, hard-to-configure number, we limit
25827 the size of the queue based on how many we expect to be able to
25828 process in a given amount of time. We estimate the time it will
25829 take to process an onionskin based on average processing time
25830 of previous onionskins. Closes ticket 7291. You'll never have to
25831 configure MaxOnionsPending again.
25833 o Major features (portability):
25834 - Resume building correctly with MSVC and Makefile.nmake. This patch
25835 resolves numerous bugs and fixes reported by ultramage, including
25836 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
25837 - Make the ntor and curve25519 code build correctly with MSVC.
25838 Fix on 0.2.4.8-alpha.
25841 - When directory authorities are computing thresholds for flags,
25842 never let the threshold for the Fast flag fall below 4096
25843 bytes. Also, do not consider nodes with extremely low bandwidths
25844 when deciding thresholds for various directory flags. This change
25845 should raise our threshold for Fast relays, possibly in turn
25846 improving overall network performance; see ticket 1854. Resolves
25848 - The Tor client now ignores sub-domain components of a .onion
25849 address. This change makes HTTP "virtual" hosting
25850 possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
25851 http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
25852 hosted on the same hidden service. Implements proposal 204.
25853 - We compute the overhead from passing onionskins back and forth to
25854 cpuworkers, and report it when dumping statistics in response to
25855 SIGUSR1. Supports ticket 7291.
25857 o Minor features (path selection):
25858 - When deciding whether we have enough descriptors to build circuits,
25859 instead of looking at raw relay counts, look at which fraction
25860 of (bandwidth-weighted) paths we're able to build. This approach
25861 keeps clients from building circuits if their paths are likely to
25862 stand out statistically. The default fraction of paths needed is
25863 taken from the consensus directory; you can override it with the
25864 new PathsNeededToBuildCircuits option. Fixes ticket 5956.
25865 - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
25866 and we have GeoIP information, also exclude all nodes with unknown
25867 countries "??" and "A1". This behavior is controlled by the
25868 new GeoIPExcludeUnknown option: you can make such nodes always
25869 excluded with "GeoIPExcludeUnknown 1", and disable the feature
25870 with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
25871 gets you the default behavior. Implements feature 7706.
25872 - Path Use Bias: Perform separate accounting for successful circuit
25873 use. Keep separate statistics on stream attempt rates versus stream
25874 success rates for each guard. Provide configurable thresholds to
25875 determine when to emit log messages or disable use of guards that
25876 fail too many stream attempts. Resolves ticket 7802.
25878 o Minor features (log messages):
25879 - When learning a fingerprint for a bridge, log its corresponding
25880 transport type. Implements ticket 7896.
25881 - Improve the log message when "Bug/attack: unexpected sendme cell
25882 from client" occurs, to help us track bug 8093.
25885 - Remove a couple of extraneous semicolons that were upsetting the
25886 cparser library. Patch by Christian Grothoff. Fixes bug 7115;
25887 bugfix on 0.2.2.1-alpha.
25888 - Remove a source of rounding error during path bias count scaling;
25889 don't count cannibalized circuits as used for path bias until we
25890 actually try to use them; and fix a circuit_package_relay_cell()
25891 warning message about n_chan==NULL. Fixes bug 7802.
25892 - Detect nacl when its headers are in a nacl/ subdirectory. Also,
25893 actually link against nacl when we're configured to use it. Fixes
25894 bug 7972; bugfix on 0.2.4.8-alpha.
25895 - Compile correctly with the --disable-curve25519 option. Fixes
25896 bug 8153; bugfix on 0.2.4.8-alpha.
25898 o Build improvements:
25899 - Do not report status verbosely from autogen.sh unless the -v flag
25900 is specified. Fixes issue 4664. Patch from Onizuka.
25901 - Replace all calls to snprintf() outside of src/ext with
25902 tor_snprintf(). Also remove the #define to replace snprintf with
25903 _snprintf on Windows; they have different semantics, and all of
25904 our callers should be using tor_snprintf() anyway. Fixes bug 7304.
25905 - Try to detect if we are ever building on a platform where
25906 memset(...,0,...) does not set the value of a double to 0.0. Such
25907 platforms are permitted by the C standard, though in practice
25908 they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
25909 currently support them, but it's better to detect them and fail
25910 than to perform erroneously.
25912 o Removed features:
25913 - Stop exporting estimates of v2 and v3 directory traffic shares
25914 in extrainfo documents. They were unneeded and sometimes inaccurate.
25915 Also stop exporting any v2 directory request statistics. Resolves
25917 - Drop support for detecting and warning about versions of Libevent
25918 before 1.3e. Nothing reasonable ships with them any longer;
25919 warning the user about them shouldn't be needed. Resolves ticket
25922 o Code simplifications and refactoring:
25923 - Rename "isin" functions to "contains", for grammar. Resolves
25925 - Rename Tor's logging function log() to tor_log(), to avoid conflicts
25926 with the natural logarithm function from the system libm. Resolves
25930 Changes in version 0.2.4.9-alpha - 2013-01-15
25931 Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
25932 work more robustly.
25935 - Fix backward compatibility logic when receiving an embedded ntor
25936 handshake tunneled in a CREATE cell. This clears up the "Bug:
25937 couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
25941 Changes in version 0.2.4.8-alpha - 2013-01-14
25942 Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
25943 risks, adds a new stronger and faster circuit handshake, and offers
25944 stronger and faster link encryption when both sides support it.
25947 - Preliminary support for directory guards (proposal 207): when
25948 possible, clients now use their entry guards for non-anonymous
25949 directory requests. This can help prevent client enumeration. Note
25950 that this behavior only works when we have a usable consensus
25951 directory, and when options about what to download are more or less
25952 standard. In the future we should re-bootstrap from our guards,
25953 rather than re-bootstrapping from the preconfigured list of
25954 directory sources that ships with Tor. Resolves ticket 6526.
25955 - Tor relays and clients now support a better CREATE/EXTEND cell
25956 format, allowing the sender to specify multiple address, identity,
25957 and handshake types. Implements Robert Ransom's proposal 200;
25958 closes ticket 7199.
25960 o Major features (new circuit handshake):
25961 - Tor now supports a new circuit extension handshake designed by Ian
25962 Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
25963 circuit extension handshake, later called "TAP", was a bit slow
25964 (especially on the relay side), had a fragile security proof, and
25965 used weaker keys than we'd now prefer. The new circuit handshake
25966 uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
25967 function, making it significantly more secure than the older
25968 handshake, and significantly faster. Tor can use one of two built-in
25969 pure-C curve25519-donna implementations by Adam Langley, or it
25970 can link against the "nacl" library for a tuned version if present.
25972 The built-in version is very fast for 64-bit systems when building
25973 with GCC. The built-in 32-bit version is still faster than the
25974 old TAP protocol, but using libnacl is better on most such hosts.
25976 Clients don't currently use this protocol by default, since
25977 comparatively few clients support it so far. To try it, set
25978 UseNTorHandshake to 1.
25980 Implements proposal 216; closes ticket 7202.
25982 o Major features (better link encryption):
25983 - Relays can now enable the ECDHE TLS ciphersuites when available
25984 and appropriate. These ciphersuites let us negotiate forward-secure
25985 TLS secret keys more safely and more efficiently than with our
25986 previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
25987 public relays prefer the (faster) P224 group, and bridges prefer
25988 the (more common) P256 group; you can override this with the
25991 Enabling these ciphers was a little tricky, since for a long time,
25992 clients had been claiming to support them without actually doing
25993 so, in order to foil fingerprinting. But with the client-side
25994 implementation of proposal 198 in 0.2.3.17-beta, clients can now
25995 match the ciphers from recent Firefox versions *and* list the
25996 ciphers they actually mean, so relays can believe such clients
25997 when they advertise ECDHE support in their TLS ClientHello messages.
25999 This feature requires clients running 0.2.3.17-beta or later,
26000 and requires both sides to be running OpenSSL 1.0.0 or later
26001 with ECC support. OpenSSL 1.0.1, with the compile-time option
26002 "enable-ec_nistp_64_gcc_128", is highly recommended.
26004 Implements the relay side of proposal 198; closes ticket 7200.
26007 - Avoid crashing when, as a relay without IPv6-exit support, a
26008 client insists on getting an IPv6 address or nothing. Fixes bug
26009 7814; bugfix on 0.2.4.7-alpha.
26012 - Improve circuit build timeout handling for hidden services.
26013 In particular: adjust build timeouts more accurately depending
26014 upon the number of hop-RTTs that a particular circuit type
26015 undergoes. Additionally, launch intro circuits in parallel
26016 if they timeout, and take the first one to reply as valid.
26017 - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
26018 separate error codes; or at least, don't break for that reason.
26019 Fixes bug 7935. Reported by "oftc_must_be_destroyed".
26020 - Update to the January 2 2013 Maxmind GeoLite Country database.
26022 o Minor features (testing):
26023 - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
26024 (P-256) Diffie-Hellman handshakes to src/or/bench.
26025 - Add benchmark functions to test onion handshake performance.
26027 o Minor features (path bias detection):
26028 - Alter the Path Bias log messages to be more descriptive in terms
26029 of reporting timeouts and other statistics.
26030 - Create three levels of Path Bias log messages, as opposed to just
26031 two. These are configurable via consensus as well as via the torrc
26032 options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
26033 The default values are 0.70, 0.50, and 0.30 respectively.
26034 - Separate the log message levels from the decision to drop guards,
26035 which also is available via torrc option PathBiasDropGuards.
26036 PathBiasDropGuards still defaults to 0 (off).
26037 - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
26038 in combination with PathBiasExtremeRate.
26039 - Increase the default values for PathBiasScaleThreshold and
26040 PathBiasCircThreshold from (200, 20) to (300, 150).
26041 - Add in circuit usage accounting to path bias. If we try to use a
26042 built circuit but fail for any reason, it counts as path bias.
26043 Certain classes of circuits where the adversary gets to pick your
26044 destination node are exempt from this accounting. Usage accounting
26045 can be specifically disabled via consensus parameter or torrc.
26046 - Convert all internal path bias state to double-precision floating
26047 point, to avoid roundoff error and other issues.
26048 - Only record path bias information for circuits that have completed
26049 *two* hops. Assuming end-to-end tagging is the attack vector, this
26050 makes us more resilient to ambient circuit failure without any
26051 detection capability loss.
26053 o Minor bugfixes (log messages):
26054 - Rate-limit the "No circuits are opened. Relaxed timeout for a
26055 circuit with channel state open..." message to once per hour to
26056 keep it from filling the notice logs. Mitigates bug 7799 but does
26057 not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
26058 - Avoid spurious warnings when configuring multiple client ports of
26059 which only some are nonlocal. Previously, we had claimed that some
26060 were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
26063 o Code simplifications and refactoring:
26064 - Get rid of a couple of harmless clang warnings, where we compared
26065 enums to ints. These warnings are newly introduced in clang 3.2.
26066 - Split the onion.c file into separate modules for the onion queue
26067 and the different handshakes it supports.
26068 - Remove the marshalling/unmarshalling code for sending requests to
26069 cpuworkers over a socket, and instead just send structs. The
26070 recipient will always be the same Tor binary as the sender, so
26071 any encoding is overkill.
26074 Changes in version 0.2.4.7-alpha - 2012-12-24
26075 Tor 0.2.4.7-alpha introduces a new approach to providing fallback
26076 directory mirrors for more robust bootstrapping; fixes more issues where
26077 clients with changing network conditions refuse to make any circuits;
26078 adds initial support for exiting to IPv6 addresses; resumes being able
26079 to update our GeoIP database, and includes the geoip6 file this time;
26080 turns off the client-side DNS cache by default due to privacy risks;
26081 and fixes a variety of other issues.
26083 o Major features (client resilience):
26084 - Add a new "FallbackDir" torrc option to use when we can't use
26085 a directory mirror from the consensus (either because we lack a
26086 consensus, or because they're all down). Currently, all authorities
26087 are fallbacks by default, and there are no other default fallbacks,
26088 but that will change. This option will allow us to give clients a
26089 longer list of servers to try to get a consensus from when first
26090 connecting to the Tor network, and thereby reduce load on the
26091 directory authorities. Implements proposal 206, "Preconfigured
26092 directory sources for bootstrapping". We also removed the old
26093 "FallbackNetworkstatus" option, since we never got it working well
26094 enough to use it. Closes bug 572.
26095 - If we have no circuits open, use a relaxed timeout (the
26096 95-percentile cutoff) until a circuit succeeds. This heuristic
26097 should allow Tor to succeed at building circuits even when the
26098 network connection drastically changes. Should help with bug 3443.
26100 o Major features (IPv6):
26101 - Relays can now exit to IPv6 addresses: make sure that you have IPv6
26102 connectivity, then set the IPv6Exit flag to 1. Also make sure your
26103 exit policy reads as you would like: the address * applies to all
26104 address families, whereas *4 is IPv4 address only, and *6 is IPv6
26105 addresses only. On the client side, you'll need to wait until the
26106 authorities have upgraded, wait for enough exits to support IPv6,
26107 apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
26108 ticket 5547, implements proposal 117 as revised in proposal 208.
26110 We DO NOT recommend that clients with actual anonymity needs start
26111 using IPv6 over Tor yet, since not enough exits support it yet.
26113 o Major features (geoip database):
26114 - Maxmind began labelling Tor relays as being in country "A1",
26115 which breaks by-country node selection inside Tor. Now we use a
26116 script to replace "A1" ("Anonymous Proxy") entries in our geoip
26117 file with real country codes. This script fixes about 90% of "A1"
26118 entries automatically and uses manual country code assignments to
26119 fix the remaining 10%. See src/config/README.geoip for details.
26120 Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
26121 Country database, as modified above.
26123 o Major bugfixes (client-side DNS):
26124 - Turn off the client-side DNS cache by default. Updating and using
26125 the DNS cache is now configurable on a per-client-port
26126 level. SOCKSPort, DNSPort, etc lines may now contain
26127 {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
26128 cache these types of DNS answers when we receive them from an
26129 exit node in response to an application request on this port, and
26130 {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
26131 cached DNS answers of these types, we shouldn't use them. It's
26132 potentially risky to use cached DNS answers at the client, since
26133 doing so can indicate to one exit what answers we've gotten
26134 for DNS lookups in the past. With IPv6, this becomes especially
26135 problematic. Using cached DNS answers for requests on the same
26136 circuit would present less linkability risk, since all traffic
26137 on a circuit is already linkable, but it would also provide
26138 little performance benefit: the exit node caches DNS replies
26139 too. Implements a simplified version of Proposal 205. Implements
26142 o Major bugfixes (other):
26143 - Alter circuit build timeout measurement to start at the point
26144 where we begin the CREATE/CREATE_FAST step (as opposed to circuit
26145 initialization). This should make our timeout measurements more
26146 uniform. Previously, we were sometimes including ORconn setup time
26147 in our circuit build time measurements. Should resolve bug 3443.
26148 - Fix an assertion that could trigger in hibernate_go_dormant() when
26149 closing an or_connection_t: call channel_mark_for_close() rather
26150 than connection_mark_for_close(). Fixes bug 7267. Bugfix on
26152 - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
26153 7655; bugfix on 0.2.4.6-alpha.
26156 - Add a new torrc option "ServerTransportListenAddr" to let bridge
26157 operators select the address where their pluggable transports will
26158 listen for connections. Resolves ticket 7013.
26159 - Allow an optional $ before the node identity digest in the
26160 controller command GETINFO ns/id/<identity>, for consistency with
26161 md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
26162 - Log packaged cell fullness as part of the heartbeat message.
26163 Diagnosis to try to determine the extent of bug 7743.
26165 o Minor features (IPv6):
26166 - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
26167 prefer to hand out virtual IPv6 addresses, since there are more of
26168 them and we can't run out. To override this behavior and make IPv4
26169 addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
26170 or DNSPort you're using for resolving. Implements ticket 7571.
26171 - AutomapHostsOnResolve responses are now randomized, to avoid
26172 annoying situations where Tor is restarted and applications
26173 connect to the wrong addresses.
26174 - Never try more than 1000 times to pick a new virtual address when
26175 AutomapHostsOnResolve is set. That's good enough so long as we
26176 aren't close to handing out our entire virtual address space;
26177 if you're getting there, it's best to switch to IPv6 virtual
26181 - The ADDRMAP command can no longer generate an ill-formed error
26182 code on a failed MAPADDRESS. It now says "internal" rather than
26183 an English sentence fragment with spaces in the middle. Bugfix on
26184 Tor 0.2.0.19-alpha.
26185 - Fix log messages and comments to avoid saying "GMT" when we mean
26186 "UTC". Fixes bug 6113.
26187 - Compile on win64 using mingw64. Fixes bug 7260; patches from
26189 - Fix a crash when debugging unit tests on Windows: deallocate a
26190 shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
26191 bugfix on 0.2.2.17-alpha. Reported by "ultramage".
26194 - The DirServer option is now DirAuthority, for consistency with
26195 current naming patterns. You can still use the old DirServer form.
26197 o Code simplification and refactoring:
26198 - Move the client-side address-map/virtual-address/DNS-cache code
26199 out of connection_edge.c into a new addressmap.c module.
26200 - Remove unused code for parsing v1 directories and "running routers"
26201 documents. Fixes bug 6887.
26204 Changes in version 0.2.3.25 - 2012-11-19
26205 The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
26206 Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
26207 Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
26208 programmer, and friend. Unstinting in his dedication to the cause of
26209 freedom, he inspired and helped many of us as we began our work on
26210 anonymity, and inspires us still. Please honor his memory by writing
26211 software to protect people's freedoms, and by helping others to do so.
26213 Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
26214 significantly reduced directory overhead (via microdescriptors),
26215 enormous crypto performance improvements for fast relays on new
26216 enough hardware, a new v3 TLS handshake protocol that can better
26217 resist fingerprinting, support for protocol obfuscation plugins (aka
26218 pluggable transports), better scalability for hidden services, IPv6
26219 support for bridges, performance improvements like allowing clients
26220 to skip the first round-trip on the circuit ("optimistic data") and
26221 refilling token buckets more often, a new "stream isolation" design
26222 to isolate different applications on different circuits, and many
26223 stability, security, and privacy fixes.
26226 - Tor tries to wipe potentially sensitive data after using it, so
26227 that if some subsequent security failure exposes Tor's memory,
26228 the damage will be limited. But we had a bug where the compiler
26229 was eliminating these wipe operations when it decided that the
26230 memory was no longer visible to a (correctly running) program,
26231 hence defeating our attempt at defense in depth. We fix that
26232 by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
26233 is unlikely to optimize away. Future versions of Tor may use
26234 a less ridiculously heavy approach for this. Fixes bug 7352.
26235 Reported in an article by Andrey Karpov.
26238 - Fix a harmless bug when opting against publishing a relay descriptor
26239 because DisableNetwork is set. Fixes bug 7464; bugfix on
26243 Changes in version 0.2.4.6-alpha - 2012-11-13
26244 Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
26245 makes our defense-in-depth memory wiping more reliable, and begins to
26246 count IPv6 addresses in bridge statistics,
26249 - Fix an assertion failure that could occur when closing a connection
26250 with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
26252 - Tor tries to wipe potentially sensitive data after using it, so
26253 that if some subsequent security failure exposes Tor's memory,
26254 the damage will be limited. But we had a bug where the compiler
26255 was eliminating these wipe operations when it decided that the
26256 memory was no longer visible to a (correctly running) program,
26257 hence defeating our attempt at defense in depth. We fix that
26258 by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
26259 is unlikely to optimize away. Future versions of Tor may use
26260 a less ridiculously heavy approach for this. Fixes bug 7352.
26261 Reported in an article by Andrey Karpov.
26264 - Add GeoIP database for IPv6 addresses. The new config option
26266 - Bridge statistics now count bridge clients connecting over IPv6:
26267 bridge statistics files now list "bridge-ip-versions" and
26268 extra-info documents list "geoip6-db-digest". The control protocol
26269 "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
26270 implementation by "shkoo", addressing ticket 5055.
26273 - Warn when we are binding low ports when hibernation is enabled;
26274 previously we had warned when we were _advertising_ low ports with
26275 hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
26276 - Fix a harmless bug when opting against publishing a relay descriptor
26277 because DisableNetwork is set. Fixes bug 7464; bugfix on
26279 - Add warning message when a managed proxy dies during configuration.
26280 Fixes bug 7195; bugfix on 0.2.4.2-alpha.
26281 - Fix a linking error when building tor-fw-helper without miniupnp.
26282 Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
26283 - Check for closing an or_connection_t without going through correct
26284 channel functions; emit a warning and then call
26285 connection_or_close_for_error() so we don't assert as in bugs 7212
26287 - Compile correctly on compilers without C99 designated initializer
26288 support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
26289 - Avoid a possible assert that can occur when channel_send_destroy() is
26290 called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
26291 or CHANNEL_STATE_ERROR when the Tor process is resumed after being
26292 blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
26293 - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
26294 Fixes bug 7422; bugfix on 0.2.4.4-alpha.
26296 o Code simplification and refactoring:
26297 - Start using OpenBSD's implementation of queue.h, so that we don't
26298 need to hand-roll our own pointer and list structures whenever we
26299 need them. (We can't rely on a sys/queue.h, since some operating
26300 systems don't have them, and the ones that do have them don't all
26301 present the same extensions.)
26304 Changes in version 0.2.4.5-alpha - 2012-10-25
26305 Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
26306 two important security vulnerabilities that could lead to remotely
26307 triggerable relay crashes, fix a major bug that was preventing clients
26308 from choosing suitable exit nodes, and refactor some of our code.
26310 o Major bugfixes (security, also in 0.2.3.24-rc):
26311 - Fix a group of remotely triggerable assertion failures related to
26312 incorrect link protocol negotiation. Found, diagnosed, and fixed
26313 by "some guy from France". Fix for CVE-2012-2250; bugfix on
26315 - Fix a denial of service attack by which any directory authority
26316 could crash all the others, or by which a single v2 directory
26317 authority could crash everybody downloading v2 directory
26318 information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
26320 o Major bugfixes (also in 0.2.3.24-rc):
26321 - When parsing exit policy summaries from microdescriptors, we had
26322 previously been ignoring the last character in each one, so that
26323 "accept 80,443,8080" would be treated by clients as indicating
26324 a node that allows access to ports 80, 443, and 808. That would
26325 lead to clients attempting connections that could never work,
26326 and ignoring exit nodes that would support their connections. Now
26327 clients parse these exit policy summaries correctly. Fixes bug 7192;
26328 bugfix on 0.2.3.1-alpha.
26330 o Minor bugfixes (also in 0.2.3.24-rc):
26331 - Clients now consider the ClientRejectInternalAddresses config option
26332 when using a microdescriptor consensus stanza to decide whether
26333 an exit relay would allow exiting to an internal address. Fixes
26334 bug 7190; bugfix on 0.2.3.1-alpha.
26337 - Only disable TLS session ticket support when running as a TLS
26338 server. Now clients will blend better with regular Firefox
26339 connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
26341 o Code simplification and refactoring:
26342 - Start using OpenBSD's implementation of queue.h (originally by
26344 - Move the entry node code from circuitbuild.c to its own file.
26345 - Move the circuit build timeout tracking code from circuitbuild.c
26349 Changes in version 0.2.3.24-rc - 2012-10-25
26350 Tor 0.2.3.24-rc fixes two important security vulnerabilities that
26351 could lead to remotely triggerable relay crashes, and fixes
26352 a major bug that was preventing clients from choosing suitable exit
26355 o Major bugfixes (security):
26356 - Fix a group of remotely triggerable assertion failures related to
26357 incorrect link protocol negotiation. Found, diagnosed, and fixed
26358 by "some guy from France". Fix for CVE-2012-2250; bugfix on
26360 - Fix a denial of service attack by which any directory authority
26361 could crash all the others, or by which a single v2 directory
26362 authority could crash everybody downloading v2 directory
26363 information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
26366 - When parsing exit policy summaries from microdescriptors, we had
26367 previously been ignoring the last character in each one, so that
26368 "accept 80,443,8080" would be treated by clients as indicating
26369 a node that allows access to ports 80, 443, and 808. That would
26370 lead to clients attempting connections that could never work,
26371 and ignoring exit nodes that would support their connections. Now
26372 clients parse these exit policy summaries correctly. Fixes bug 7192;
26373 bugfix on 0.2.3.1-alpha.
26376 - Clients now consider the ClientRejectInternalAddresses config option
26377 when using a microdescriptor consensus stanza to decide whether
26378 an exit relay would allow exiting to an internal address. Fixes
26379 bug 7190; bugfix on 0.2.3.1-alpha.
26382 Changes in version 0.2.4.4-alpha - 2012-10-20
26383 Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
26384 vulnerability introduced by a change in OpenSSL, fixes a remotely
26385 triggerable assert, and adds new channel_t and circuitmux_t abstractions
26386 that will make it easier to test new connection transport and cell
26387 scheduling algorithms.
26389 o New directory authorities (also in 0.2.3.23-rc):
26390 - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
26391 authority. Closes ticket 5749.
26393 o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
26394 - Disable TLS session tickets. OpenSSL's implementation was giving
26395 our TLS session keys the lifetime of our TLS context objects, when
26396 perfect forward secrecy would want us to discard anything that
26397 could decrypt a link connection as soon as the link connection
26398 was closed. Fixes bug 7139; bugfix on all versions of Tor linked
26399 against OpenSSL 1.0.0 or later. Found by Florent Daignière.
26400 - Discard extraneous renegotiation attempts once the V3 link
26401 protocol has been initiated. Failure to do so left us open to
26402 a remotely triggerable assertion failure. Fixes CVE-2012-2249;
26403 bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
26405 o Internal abstraction features:
26406 - Introduce new channel_t abstraction between circuits and
26407 or_connection_t to allow for implementing alternate OR-to-OR
26408 transports. A channel_t is an abstract object which can either be a
26409 cell-bearing channel, which is responsible for authenticating and
26410 handshaking with the remote OR and transmitting cells to and from
26411 it, or a listening channel, which spawns new cell-bearing channels
26412 at the request of remote ORs. Implements part of ticket 6465.
26413 - Also new is the channel_tls_t subclass of channel_t, adapting it
26414 to the existing or_connection_t code. The V2/V3 protocol handshaking
26415 code which formerly resided in command.c has been moved below the
26416 channel_t abstraction layer and may be found in channeltls.c now.
26417 Implements the rest of ticket 6465.
26418 - Introduce new circuitmux_t storing the queue of circuits for
26419 a channel; this encapsulates and abstracts the queue logic and
26420 circuit selection policy, and allows the latter to be overridden
26421 easily by switching out a policy object. The existing EWMA behavior
26422 is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
26424 o Required libraries:
26425 - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
26426 strongly recommended.
26429 - Warn users who run hidden services on a Tor client with
26430 UseEntryGuards disabled that their hidden services will be
26431 vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
26432 attack which motivated Tor to support entry guards in the first
26433 place). Resolves ticket 6889.
26434 - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
26435 dhill. Resolves ticket 6982.
26436 - Option OutboundBindAddress can be specified multiple times and
26437 accepts IPv6 addresses. Resolves ticket 6876.
26439 o Minor bugfixes (also in 0.2.3.23-rc):
26440 - Don't serve or accept v2 hidden service descriptors over a
26441 relay's DirPort. It's never correct to do so, and disabling it
26442 might make it more annoying to exploit any bugs that turn up in the
26443 descriptor-parsing code. Fixes bug 7149.
26444 - Fix two cases in src/or/transports.c where we were calling
26445 fmt_addr() twice in a parameter list. Bug found by David
26446 Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
26447 - Fix memory leaks whenever we logged any message about the "path
26448 bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
26449 - When relays refuse a "create" cell because their queue of pending
26450 create cells is too big (typically because their cpu can't keep up
26451 with the arrival rate), send back reason "resource limit" rather
26452 than reason "internal", so network measurement scripts can get a
26453 more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
26456 - Command-line option "--version" implies "--quiet". Fixes bug 6997.
26457 - Free some more still-in-use memory at exit, to make hunting for
26458 memory leaks easier. Resolves bug 7029.
26459 - When a Tor client gets a "truncated" relay cell, the first byte of
26460 its payload specifies why the circuit was truncated. We were
26461 ignoring this 'reason' byte when tearing down the circuit, resulting
26462 in the controller not being told why the circuit closed. Now we
26463 pass the reason from the truncated cell to the controller. Bugfix
26464 on 0.1.2.3-alpha; fixes bug 7039.
26465 - Downgrade "Failed to hand off onionskin" messages to "debug"
26466 severity, since they're typically redundant with the "Your computer
26467 is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
26468 - Make clients running with IPv6 bridges connect over IPv6 again,
26469 even without setting new config options ClientUseIPv6 and
26470 ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
26471 - Use square brackets around IPv6 addresses in numerous places
26472 that needed them, including log messages, HTTPS CONNECT proxy
26473 requests, TransportProxy statefile entries, and pluggable transport
26474 extra-info lines. Fixes bug 7011; patch by David Fifield.
26476 o Code refactoring and cleanup:
26477 - Source files taken from other packages now reside in src/ext;
26478 previously they were scattered around the rest of Tor.
26479 - Avoid use of reserved identifiers in our C code. The C standard
26480 doesn't like us declaring anything that starts with an
26481 underscore, so let's knock it off before we get in trouble. Fix
26482 for bug 1031; bugfix on the first Tor commit.
26485 Changes in version 0.2.3.23-rc - 2012-10-20
26486 Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
26487 vulnerability introduced by a change in OpenSSL, and fixes a variety
26488 of smaller bugs in preparation for the release.
26490 o New directory authorities:
26491 - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
26492 authority. Closes ticket 5749.
26494 o Major bugfixes (security/privacy):
26495 - Disable TLS session tickets. OpenSSL's implementation was giving
26496 our TLS session keys the lifetime of our TLS context objects, when
26497 perfect forward secrecy would want us to discard anything that
26498 could decrypt a link connection as soon as the link connection
26499 was closed. Fixes bug 7139; bugfix on all versions of Tor linked
26500 against OpenSSL 1.0.0 or later. Found by Florent Daignière.
26501 - Discard extraneous renegotiation attempts once the V3 link
26502 protocol has been initiated. Failure to do so left us open to
26503 a remotely triggerable assertion failure. Fixes CVE-2012-2249;
26504 bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
26507 - Fix a possible crash bug when checking for deactivated circuits
26508 in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
26509 bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
26511 o Minor bugfixes (on 0.2.3.x):
26512 - Fix two cases in src/or/transports.c where we were calling
26513 fmt_addr() twice in a parameter list. Bug found by David
26514 Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
26515 - Convert an assert in the pathbias code to a log message. The assert
26516 appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
26517 bugfix on 0.2.3.17-beta.
26518 - Fix memory leaks whenever we logged any message about the "path
26519 bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
26521 o Minor bugfixes (on 0.2.2.x and earlier):
26522 - Don't serve or accept v2 hidden service descriptors over a relay's
26523 DirPort. It's never correct to do so, and disabling it might
26524 make it more annoying to exploit any bugs that turn up in the
26525 descriptor-parsing code. Fixes bug 7149.
26526 - When relays refuse a "create" cell because their queue of pending
26527 create cells is too big (typically because their cpu can't keep up
26528 with the arrival rate), send back reason "resource limit" rather
26529 than reason "internal", so network measurement scripts can get a
26530 more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
26531 - Correct file sizes when reading binary files on Cygwin, to avoid
26532 a bug where Tor would fail to read its state file. Fixes bug 6844;
26533 bugfix on 0.1.2.7-alpha.
26534 - Avoid undefined behavior when parsing the list of supported
26535 rendezvous/introduction protocols in a hidden service descriptor.
26536 Previously, Tor would have confused (as-yet-unused) protocol version
26537 numbers greater than 32 with lower ones on many platforms. Fixes
26538 bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
26540 o Documentation fixes:
26541 - Clarify that hidden services are TCP only. Fixes bug 6024.
26544 Changes in version 0.2.4.3-alpha - 2012-09-22
26545 Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
26546 assertion, resumes letting relays test reachability of their DirPort,
26547 and cleans up a bunch of smaller bugs.
26550 - Fix an assertion failure in tor_timegm() that could be triggered
26551 by a badly formatted directory object. Bug found by fuzzing with
26552 Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
26555 - Fix a possible crash bug when checking for deactivated circuits
26556 in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
26557 bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
26558 - Allow routers to detect that their own DirPorts are running. When
26559 we removed support for versions_supports_begindir, we also
26560 accidentally removed the mechanism we used to self-test our
26561 DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
26562 bugfix on 0.2.4.2-alpha.
26564 o Security features:
26565 - Switch to a completely time-invariant approach for picking nodes
26566 weighted by bandwidth. Our old approach would run through the
26567 part of the loop after it had made its choice slightly slower
26568 than it ran through the part of the loop before it had made its
26569 choice. Addresses ticket 6538.
26570 - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
26571 by tor2web clients allows hidden services to identify tor2web
26572 clients through their repeated selection of the same rendezvous
26573 and introduction point circuit endpoints (their guards). Resolves
26577 - Enable Tor to read configuration, state, and key information from
26578 a FIFO. Previously Tor would only read from files with a positive
26579 stat.st_size. Code from meejah; fixes bug 6044.
26582 - Correct file sizes when reading binary files on Cygwin, to avoid
26583 a bug where Tor would fail to read its state file. Fixes bug 6844;
26584 bugfix on 0.1.2.7-alpha.
26585 - Correctly handle votes with more than 31 flags. Fixes bug 6853;
26586 bugfix on 0.2.0.3-alpha.
26587 - When complaining about a client port on a public address, log
26588 which address we're complaining about. Fixes bug 4020; bugfix on
26589 0.2.3.3-alpha. Patch by Tom Fitzhenry.
26590 - Convert an assert in the pathbias code to a log message. The assert
26591 appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
26592 bugfix on 0.2.3.17-beta.
26593 - Our new buildsystem was overzealous about rebuilding manpages: it
26594 would rebuild them all whenever any one of them changed. Now our
26595 dependency checking should be correct. Fixes bug 6843; bugfix on
26597 - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
26598 is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
26599 - Correct log printout about which address family is preferred
26600 when connecting to a bridge with both an IPv4 and IPv6 OR port.
26601 Fixes bug 6884; bugfix on 0.2.4.1-alpha.
26603 o Minor bugfixes (code cleanliness):
26604 - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
26605 with large values. This situation was untriggered, but nevertheless
26606 incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
26607 - Reject consensus votes with more than 64 known-flags. We aren't even
26608 close to that limit yet, and our code doesn't handle it correctly.
26609 Fixes bug 6833; bugfix on 0.2.0.1-alpha.
26610 - Avoid undefined behavior when parsing the list of supported
26611 rendezvous/introduction protocols in a hidden service descriptor.
26612 Previously, Tor would have confused (as-yet-unused) protocol version
26613 numbers greater than 32 with lower ones on many platforms. Fixes
26614 bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
26615 - Fix handling of rendezvous client authorization types over 8.
26616 Fixes bug 6861; bugfix on 0.2.1.5-alpha.
26617 - Fix building with older versions of GCC (2.95, for one) that don't
26618 like preprocessor directives inside macro arguments. Found by
26619 grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
26620 - Switch weighted node selection rule from using a list of doubles
26621 to using a list of int64_t. This change should make the process
26622 slightly easier to debug and maintain. Needed to finish ticket 6538.
26624 o Code simplification and refactoring:
26625 - Move the generic "config" code into a new file, and have "config.c"
26626 hold only torrc- and state-related code. Resolves ticket 6823.
26627 - Move the core of our "choose a weighted element at random" logic
26628 into its own function, and give it unit tests. Now the logic is
26629 testable, and a little less fragile too.
26630 - Removed the testing_since field of node_t, which hasn't been used
26631 for anything since 0.2.0.9-alpha.
26633 o Documentation fixes:
26634 - Clarify that hidden services are TCP only. Fixes bug 6024.
26635 - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
26639 Changes in version 0.2.3.22-rc - 2012-09-11
26640 Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
26644 - Fix an assertion failure in tor_timegm() that could be triggered
26645 by a badly formatted directory object. Bug found by fuzzing with
26646 Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
26649 - Avoid segfault when starting up having run with an extremely old
26650 version of Tor and parsing its state file. Fixes bug 6801; bugfix
26654 Changes in version 0.2.2.39 - 2012-09-11
26655 Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
26659 - Fix an assertion failure in tor_timegm() that could be triggered
26660 by a badly formatted directory object. Bug found by fuzzing with
26661 Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
26662 - Do not crash when comparing an address with port value 0 to an
26663 address policy. This bug could have been used to cause a remote
26664 assertion failure by or against directory authorities, or to
26665 allow some applications to crash clients. Fixes bug 6690; bugfix
26669 Changes in version 0.2.4.2-alpha - 2012-09-10
26670 Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
26671 raises the default rate limiting even more, and makes the bootstrapping
26672 log messages less noisy.
26675 - Automatically forward the TCP ports of pluggable transport
26676 proxies using tor-fw-helper if PortForwarding is enabled. Implements
26680 - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
26681 to 1GB/1GB. The previous defaults were intended to be "basically
26682 infinite", but it turns out they're now limiting our 100mbit+
26683 relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
26684 last time we raised it).
26687 - Detect when we're running with a version of OpenSSL other than the
26688 one we compiled with. This has occasionally given people hard-to-
26690 - Log fewer lines at level "notice" about our OpenSSL and Libevent
26691 versions and capabilities when everything is going right. Resolves
26692 part of ticket 6736.
26693 - Directory authorities no long accept descriptors for any version of
26694 Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
26695 These versions are insecure, unsupported, or both. Implements
26699 - Rename the (internal-use-only) UsingTestingNetworkDefaults option
26700 to start with a triple-underscore so the controller won't touch it.
26701 Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
26702 - Avoid segfault when starting up having run with an extremely old
26703 version of Tor and parsing its state file. Fixes bug 6801; bugfix
26705 - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
26706 so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
26707 - Don't follow the NULL pointer if microdescriptor generation fails.
26708 (This does not appear to be triggerable, but it's best to be safe.)
26709 Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
26710 - Fix mis-declared dependencies on src/common/crypto.c and
26711 src/or/tor_main.c that could break out-of-tree builds under some
26712 circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
26713 - Avoid a warning when building common_sha1.i out of tree. Fixes bug
26714 6778; bugfix on 0.2.4.1-alpha.
26715 - Fix a harmless (in this case) build warning for implicitly
26716 converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
26718 o Removed features:
26719 - Now that all versions before 0.2.2.x are disallowed, we no longer
26720 need to work around their missing features. Thus we can remove a
26721 bunch of compatibility code.
26723 o Code refactoring:
26724 - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
26725 TCP ports to forward. In the past it only accepted two ports:
26726 the ORPort and the DirPort.
26729 Changes in version 0.2.4.1-alpha - 2012-09-05
26730 Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
26731 bridgedb; lets relays use IPv6 addresses and directory authorities
26732 advertise them; and switches to a cleaner build interface.
26734 This is the first alpha release in a new series, so expect there to
26735 be bugs. Users who would rather test out a more stable branch should
26736 stay with 0.2.3.x for now.
26738 o Major features (bridges):
26739 - Bridges now report the pluggable transports they support to the
26740 bridge authority, so it can pass the supported transports on to
26741 bridgedb and/or eventually do reachability testing. Implements
26744 o Major features (IPv6):
26745 - Bridge authorities now accept IPv6 bridge addresses and include
26746 them in network status documents. Implements ticket 5534.
26747 - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
26748 IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
26749 to happen. Implements ticket 5535.
26750 - All kind of relays, not just bridges, can now advertise an IPv6
26751 OR port. Implements ticket 6362.
26752 - Directory authorities vote on IPv6 OR ports using the new consensus
26753 method 14. Implements ticket 6363.
26755 o Major features (build):
26756 - Switch to a nonrecursive Makefile structure. Now instead of each
26757 Makefile.am invoking other Makefile.am's, there is a master
26758 Makefile.am that includes the others. This change makes our build
26759 process slightly more maintainable, and improves parallelism for
26760 building with make -j. Original patch by Stewart Smith; various
26761 fixes by Jim Meyering.
26762 - Where available, we now use automake's "silent" make rules by
26763 default, so that warnings are easier to spot. You can get the old
26764 behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
26766 o Minor features (code security and spec conformance):
26767 - Clear keys and key-derived material left on the stack in
26768 rendservice.c and rendclient.c. Check return value of
26769 crypto_pk_write_private_key_to_string() in rend_service_load_keys().
26770 These fixes should make us more forward-secure against cold-boot
26771 attacks and the like. Fixes bug 2385.
26772 - Reject EXTEND cells sent to nonexistent streams. According to the
26773 spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
26774 we were only checking for stream IDs that were currently in use.
26775 Found while hunting for more instances of bug 6271. Bugfix on
26776 0.0.2pre8, which introduced incremental circuit construction.
26778 o Minor features (streamlining);
26779 - No longer include the "opt" prefix when generating routerinfos
26780 or v2 directories: it has been needless since Tor 0.1.2. Closes
26782 - Remove some now-needless code that tried to aggressively flush
26783 OR connections as data was added to them. Since 0.2.0.1-alpha, our
26784 cell queue logic has saved us from the failure mode that this code
26785 was supposed to prevent. Removing this code will limit the number
26786 of baroque control flow paths through Tor's network logic. Reported
26787 pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
26789 o Minor features (controller):
26790 - Add a "GETINFO signal/names" control port command. Implements
26792 - Provide default values for all options via "GETINFO config/defaults".
26793 Implements ticket 4971.
26795 o Minor features (IPv6):
26796 - New config option "AuthDirHasIPv6Connectivity 1" that directory
26797 authorities should set if they have IPv6 connectivity and want to
26798 do reachability tests for IPv6 relays. Implements feature 5974.
26799 - A relay with an IPv6 OR port now sends that address in NETINFO
26800 cells (in addition to its other address). Implements ticket 6364.
26802 o Minor features (log messages):
26803 - Omit the first heartbeat log message, because it never has anything
26804 useful to say, and it clutters up the bootstrapping messages.
26805 Resolves ticket 6758.
26806 - Don't log about reloading the microdescriptor cache at startup. Our
26807 bootstrap warnings are supposed to tell the user when there's a
26808 problem, and our bootstrap notices say when there isn't. Resolves
26809 ticket 6759; bugfix on 0.2.2.6-alpha.
26810 - Don't log "I learned some more directory information" when we're
26811 reading cached directory information. Reserve it for when new
26812 directory information arrives in response to a fetch. Resolves
26814 - Prevent rounding error in path bias counts when scaling
26815 them down, and use the correct scale factor default. Also demote
26816 some path bias related log messages down a level and make others
26817 less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
26818 - We no longer warn so much when generating manpages from their
26821 o Code simplifications and refactoring:
26822 - Enhance our internal sscanf replacement so that we can eliminate
26823 the last remaining uses of the system sscanf. (Though those uses
26824 of sscanf were safe, sscanf itself is generally error prone, so
26825 we want to eliminate when we can.) Fixes ticket 4195 and Coverity
26827 - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
26828 - Move last_reachable and testing_since from routerinfo_t to node_t.
26829 Implements ticket 5529.
26830 - Add replaycache_t structure, functions and unit tests, then refactor
26831 rend_service_introduce() to be more clear to read, improve, debug,
26832 and test. Resolves bug 6177.
26833 - Finally remove support for malloc_good_size and malloc_usable_size.
26834 We had hoped that these functions would let us eke a little more
26835 memory out of our malloc implementation. Unfortunately, the only
26836 implementations that provided these functions are also ones that
26837 are already efficient about not overallocation: they never got us
26838 more than 7 or so bytes per allocation. Removing them saves us a
26839 little code complexity and a nontrivial amount of build complexity.
26841 o New requirements:
26842 - Tor maintainers now require Automake version 1.9 or later to build
26843 Tor from the Git repository. (Automake is not required when building
26844 from a source distribution.)
26847 Changes in version 0.2.3.21-rc - 2012-09-05
26848 Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
26849 series. It fixes a trio of potential security bugs, fixes a bug where
26850 we were leaving some of the fast relays out of the microdescriptor
26851 consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
26852 and cleans up other smaller issues.
26854 o Major bugfixes (security):
26855 - Tear down the circuit if we get an unexpected SENDME cell. Clients
26856 could use this trick to make their circuits receive cells faster
26857 than our flow control would have allowed, or to gum up the network,
26858 or possibly to do targeted memory denial-of-service attacks on
26859 entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
26860 from July 2002, before the release of Tor 0.0.0. We had committed
26861 this patch previously, but we had to revert it because of bug 6271.
26862 Now that 6271 is fixed, this patch appears to work.
26863 - Reject any attempt to extend to an internal address. Without
26864 this fix, a router could be used to probe addresses on an internal
26865 network to see whether they were accepting connections. Fixes bug
26866 6710; bugfix on 0.0.8pre1.
26867 - Do not crash when comparing an address with port value 0 to an
26868 address policy. This bug could have been used to cause a remote
26869 assertion failure by or against directory authorities, or to
26870 allow some applications to crash clients. Fixes bug 6690; bugfix
26874 - Remove the upper bound on microdescriptor length. We were hitting
26875 the limit for routers with complex exit policies or family
26876 declarations, causing clients to not use them. Fixes the first
26877 piece of bug 6404; fix on 0.2.2.6-alpha.
26878 - Detect "ORPort 0" as meaning, uniformly, that we're not running
26879 as a relay. Previously, some of our code would treat the presence
26880 of any ORPort line as meaning that we should act like a relay,
26881 even though our new listener code would correctly not open any
26882 ORPorts for ORPort 0. Similar bugs in other Port options are also
26883 fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
26886 - Avoid a pair of double-free and use-after-mark bugs that can
26887 occur with certain timings in canceled and re-received DNS
26888 requests. Fixes bug 6472; bugfix on 0.0.7rc1.
26889 - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
26890 Fixes bug 6379. Bugfix on 0.2.0.20-rc.
26891 - Allow one-hop directory fetching circuits the full "circuit build
26892 timeout" period, rather than just half of it, before failing them
26893 and marking the relay down. This fix should help reduce cases where
26894 clients declare relays (or worse, bridges) unreachable because
26895 the TLS handshake takes a few seconds to complete. Fixes bug 6743;
26896 bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
26898 - Authorities no longer include any router in their microdescriptor
26899 consensuses for which they couldn't generate or agree on a
26900 microdescriptor. Fixes the second piece of bug 6404; fix on
26902 - Detect and reject attempts to specify both "FooPort" and
26903 "FooPort 0" in the same configuration domain. (It's still okay
26904 to have a FooPort in your configuration file, and use "FooPort 0"
26905 on the command line to disable it.) Fixes the second half of bug
26906 6507; bugfix on 0.2.3.3-alpha.
26907 - Make wildcarded addresses (that is, ones beginning with "*.") work
26908 when provided via the controller's MapAddress command. Previously,
26909 they were accepted, but we never actually noticed that they were
26910 wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
26911 - Avoid crashing on a malformed state file where EntryGuardPathBias
26912 precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
26913 - Add a (probably redundant) memory clear between iterations of
26914 the router status voting loop, to prevent future coding errors
26915 where data might leak between iterations of the loop. Resolves
26918 o Minor bugfixes (log messages):
26919 - Downgrade "set buildtimeout to low value" messages to "info"
26920 severity; they were never an actual problem, there was never
26921 anything reasonable to do about them, and they tended to spam logs
26922 from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
26923 - Downgrade path-bias warning messages to "info". We'll try to get
26924 them working better in 0.2.4. Add internal circuit construction
26925 state to protect against the noisy warn message "Unexpectedly high
26926 circuit_successes". Also add some additional rate-limited notice
26927 messages to help determine the root cause of the warn. Fixes bug
26928 6475. Bugfix against 0.2.3.17-beta.
26929 - Move log message when unable to find a microdesc in a routerstatus
26930 entry to parse time. Previously we'd spam this warning every time
26931 we tried to figure out which microdescriptors to download. Fixes
26932 the third piece of bug 6404; fix on 0.2.3.18-rc.
26935 - Consider new, removed or changed IPv6 OR ports a non-cosmetic
26936 change when the authority is deciding whether to accept a newly
26937 uploaded descriptor. Implements ticket 6423.
26938 - Add missing documentation for consensus and microdesc files.
26939 Resolves ticket 6732.
26942 Changes in version 0.2.2.38 - 2012-08-12
26943 Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
26944 attack that could in theory leak path information.
26947 - Avoid an uninitialized memory read when reading a vote or consensus
26948 document that has an unrecognized flavor name. This read could
26949 lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
26950 - Try to leak less information about what relays a client is
26951 choosing to a side-channel attacker. Previously, a Tor client would
26952 stop iterating through the list of available relays as soon as it
26953 had chosen one, thus finishing a little earlier when it picked
26954 a router earlier in the list. If an attacker can recover this
26955 timing information (nontrivial but not proven to be impossible),
26956 they could learn some coarse-grained information about which relays
26957 a client was picking (middle nodes in particular are likelier to
26958 be affected than exits). The timing attack might be mitigated by
26959 other factors (see bug 6537 for some discussion), but it's best
26960 not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
26963 Changes in version 0.2.3.20-rc - 2012-08-05
26964 Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
26965 series. It fixes a pair of code security bugs and a potential anonymity
26966 issue, updates our RPM spec files, and cleans up other smaller issues.
26969 - Avoid read-from-freed-memory and double-free bugs that could occur
26970 when a DNS request fails while launching it. Fixes bug 6480;
26971 bugfix on 0.2.0.1-alpha.
26972 - Avoid an uninitialized memory read when reading a vote or consensus
26973 document that has an unrecognized flavor name. This read could
26974 lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
26975 - Try to leak less information about what relays a client is
26976 choosing to a side-channel attacker. Previously, a Tor client would
26977 stop iterating through the list of available relays as soon as it
26978 had chosen one, thus finishing a little earlier when it picked
26979 a router earlier in the list. If an attacker can recover this
26980 timing information (nontrivial but not proven to be impossible),
26981 they could learn some coarse-grained information about which relays
26982 a client was picking (middle nodes in particular are likelier to
26983 be affected than exits). The timing attack might be mitigated by
26984 other factors (see bug 6537 for some discussion), but it's best
26985 not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
26988 - Try to make the warning when giving an obsolete SOCKSListenAddress
26989 a little more useful.
26990 - Terminate active server managed proxies if Tor stops being a
26991 relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
26992 - Provide a better error message about possible OSX Asciidoc failure
26993 reasons. Fixes bug 6436.
26994 - Warn when Tor is configured to use accounting in a way that can
26995 link a hidden service to some other hidden service or public
26996 address. Resolves ticket 6490.
26999 - Check return value of fputs() when writing authority certificate
27000 file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
27001 - Ignore ServerTransportPlugin lines when Tor is not configured as
27002 a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
27003 - When disabling guards for having too high a proportion of failed
27004 circuits, make sure to look at each guard. Fixes bug 6397; bugfix
27008 - Update our default RPM spec files to work with mock and rpmbuild
27009 on RHEL/Fedora. They have an updated set of dependencies and
27010 conflicts, a fix for an ancient typo when creating the "_tor"
27011 user, and better instructions. Thanks to Ondrej Mikle for the
27012 patch series. Fixes bug 6043.
27015 - Make it possible to set the TestingTorNetwork configuration
27016 option using AlternateDirAuthority and AlternateBridgeAuthority
27017 as an alternative to setting DirServer. Addresses ticket 6377.
27020 - Clarify the documentation for the Alternate*Authority options.
27022 - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
27024 o Code simplification and refactoring:
27025 - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
27026 10 lines. Also, don't nest them. Doing so in the past has
27027 led to hard-to-debug code. The new style is to use the
27028 SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
27031 Changes in version 0.2.3.19-rc - 2012-07-06
27032 Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
27033 series. It fixes the compile on Windows, reverts to a GeoIP database
27034 that isn't as broken, and fixes a flow control bug that has been around
27035 since the beginning of Tor.
27038 - Fix a bug handling SENDME cells on nonexistent streams that could
27039 result in bizarre window values. Report and patch contributed
27040 pseudonymously. Fixes part of bug 6271. This bug was introduced
27041 before the first Tor release, in svn commit r152.
27042 - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
27043 June 2012 database, Maxmind marked many Tor relays as country "A1",
27044 which will cause risky behavior for clients that set EntryNodes
27045 or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
27046 - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
27047 on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
27050 - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
27051 bugfix on 0.2.1.10-alpha.
27054 Changes in version 0.2.3.18-rc - 2012-06-28
27055 Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
27056 series. It fixes a few smaller bugs, but generally appears stable.
27057 Please test it and let us know whether it is!
27060 - Allow wildcarded mapaddress targets to be specified on the
27061 controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
27062 - Make our linker option detection code more robust against linkers
27063 such as on FreeBSD 8, where a bad combination of options completes
27064 successfully but makes an unrunnable binary. Fixes bug 6173;
27065 bugfix on 0.2.3.17-beta.
27067 o Minor bugfixes (on 0.2.2.x and earlier):
27068 - Avoid a false positive in the util/threads unit test by increasing
27069 the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
27070 - Replace "Sending publish request" log messages with "Launching
27071 upload", so that they no longer confusingly imply that we're
27072 sending something to a directory we might not even be connected
27073 to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
27074 - Make sure to set *socket_error in all error cases in
27075 connection_connect(), so it can't produce a warning about
27076 errno being zero from errno_to_orconn_end_reason(). Bugfix on
27077 0.2.1.1-alpha; resolves ticket 6028.
27078 - Downgrade "Got a certificate, but we already have it" log messages
27079 from warning to info, except when we're a dirauth. Fixes bug 5238;
27080 bugfix on 0.2.1.7-alpha.
27081 - When checking for requested signatures on the latest consensus
27082 before serving it to a client, make sure to check the right
27083 consensus flavor. Bugfix on 0.2.2.6-alpha.
27084 - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
27085 Fixes bug 5932; bugfix on 0.2.2.7-alpha.
27087 o Minor bugfixes (on 0.2.3.x):
27088 - Make format_helper_exit_status() avoid unnecessary space padding
27089 and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
27091 - Downgrade a message about cleaning the microdescriptor cache to
27092 "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
27093 - Log a BUG message at severity INFO if we have a networkstatus with
27094 a missing entry for some microdescriptor. Continues on a patch
27096 - Improve the log message when a managed proxy fails to launch. Fixes
27097 bug 5099; bugfix on 0.2.3.6-alpha.
27098 - Don't do DNS lookups when parsing corrupted managed proxy protocol
27099 messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
27100 - When formatting wildcarded address mappings for the controller,
27101 be sure to include "*." as appropriate. Partially fixes bug 6244;
27102 bugfix on 0.2.3.9-alpha.
27103 - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
27104 Bugfix on 0.2.3.13-alpha.
27105 - Stop logging messages about running with circuit timeout learning
27106 enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
27107 - Disable a spurious warning about reading on a marked and flushing
27108 connection. We shouldn't be doing that, but apparently we
27109 sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
27110 - Fix a bug that stopped AllowDotExit from working on addresses
27111 that had an entry in the DNS cache. Fixes bug 6211; bugfix on
27114 o Code simplification, refactoring, unit tests:
27115 - Move tor_gettimeofday_cached() into compat_libevent.c, and use
27116 Libevent's notion of cached time when possible.
27117 - Remove duplicate code for invoking getrlimit() from control.c.
27118 - Add a unit test for the environment_variable_names_equal function.
27121 - Document the --defaults-torrc option, and the new (in 0.2.3)
27122 semantics for overriding, extending, and clearing lists of
27123 options. Closes bug 4748.
27126 Changes in version 0.2.3.17-beta - 2012-06-15
27127 Tor 0.2.3.17-beta enables compiler and linker hardening by default,
27128 gets our TLS handshake back on track for being able to blend in with
27129 Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
27130 with Vidalia, and otherwise continues to get us closer to a release
27134 - Enable gcc and ld hardening by default. Resolves ticket 5210.
27135 - Update TLS cipher list to match Firefox 8 and later. Resolves
27137 - Implement the client side of proposal 198: remove support for
27138 clients falsely claiming to support standard ciphersuites that
27139 they can actually provide. As of modern OpenSSL versions, it's not
27140 necessary to fake any standard ciphersuite, and doing so prevents
27141 us from using better ciphersuites in the future, since servers
27142 can't know whether an advertised ciphersuite is really supported or
27143 not. Some hosts -- notably, ones with very old versions of OpenSSL
27144 or where OpenSSL has been built with ECC disabled -- will stand
27145 out because of this change; TBB users should not be affected.
27148 - Change the default value for DynamicDHGroups (introduced in
27149 0.2.3.9-alpha) to 0. This feature can make Tor relays less
27150 identifiable by their use of the mod_ssl DH group, but at
27151 the cost of some usability (#4721) and bridge tracing (#6087)
27152 regressions. Resolves ticket 5598.
27153 - Send a CRLF at the end of each STATUS_* control protocol event. This
27154 bug tickled a bug in Vidalia which would make it freeze. Fixes
27155 bug 6094; bugfix on 0.2.3.16-alpha.
27158 - Disable writing on marked-for-close connections when they are
27159 blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
27160 bug 5263; bugfix on 0.0.2pre13, where we first added a special
27161 case for flushing marked connections.
27162 - Detect SSL handshake even when the initial attempt to write the
27163 server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
27164 - Change the AllowDotExit rules so they should actually work.
27165 We now enforce AllowDotExit only immediately after receiving an
27166 address via SOCKS or DNSPort: other sources are free to provide
27167 .exit addresses after the resolution occurs. Fixes bug 3940;
27168 bugfix on 0.2.2.1-alpha.
27169 - Fix a (harmless) integer overflow in cell statistics reported by
27170 some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
27171 - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
27172 right places and never depends on the consensus parameters or
27173 computes adaptive timeouts when it is disabled. Fixes bug 5049;
27174 bugfix on 0.2.2.14-alpha.
27175 - When building Tor on Windows with -DUNICODE (not default), ensure
27176 that error messages, filenames, and DNS server names are always
27177 NUL-terminated when we convert them to a single-byte encoding.
27178 Fixes bug 5909; bugfix on 0.2.2.16-alpha.
27179 - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
27180 Fixes bug 6097; bugfix on 0.2.2.16-alpha.
27181 - Fix an edge case where TestingTorNetwork is set but the authorities
27182 and relays all have an uptime of zero, where the private Tor network
27183 could briefly lack support for hidden services. Fixes bug 3886;
27184 bugfix on 0.2.2.18-alpha.
27185 - Correct the manpage's descriptions for the default values of
27186 DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
27188 - Fix the documentation for the --hush and --quiet command line
27189 options, which changed their behavior back in 0.2.3.3-alpha.
27190 - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
27194 - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
27195 more information to it, so that we can track it down in case it
27196 returns again. Mitigates bug 5235.
27197 - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
27198 options_validate(); warn if LearnCircuitBuildTimeout is disabled and
27199 CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
27200 - Warn the user when HTTPProxy, but no other proxy type, is
27201 configured. This can cause surprising behavior: it doesn't send
27202 all of Tor's traffic over the HTTPProxy -- it sends unencrypted
27203 directory traffic only. Resolves ticket 4663.
27204 - Issue a notice if a guard completes less than 40% of your circuits.
27205 Threshold is configurable by torrc option PathBiasNoticeRate and
27206 consensus parameter pb_noticepct. There is additional, off-by-
27207 default code to disable guards which fail too many circuits.
27208 Addresses ticket 5458.
27209 - Update to the June 6 2012 Maxmind GeoLite Country database.
27211 o Code simplifications and refactoring:
27212 - Remove validate_pluggable_transports_config(): its warning
27213 message is now handled by connection_or_connect().
27216 Changes in version 0.2.2.37 - 2012-06-06
27217 Tor 0.2.2.37 introduces a workaround for a critical renegotiation
27218 bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
27222 - Work around a bug in OpenSSL that broke renegotiation with TLS
27223 1.1 and TLS 1.2. Without this workaround, all attempts to speak
27224 the v2 Tor connection protocol when both sides were using OpenSSL
27225 1.0.1 would fail. Resolves ticket 6033.
27226 - When waiting for a client to renegotiate, don't allow it to add
27227 any bytes to the input buffer. This fixes a potential DoS issue.
27228 Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
27229 - Fix an edge case where if we fetch or publish a hidden service
27230 descriptor, we might build a 4-hop circuit and then use that circuit
27231 for exiting afterwards -- even if the new last hop doesn't obey our
27232 ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
27235 - Fix a build warning with Clang 3.1 related to our use of vasprintf.
27236 Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
27239 - Tell GCC and Clang to check for any errors in format strings passed
27240 to the tor_v*(print|scan)f functions.
27243 Changes in version 0.2.3.16-alpha - 2012-06-05
27244 Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
27245 bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
27246 currently). It also fixes a variety of smaller bugs and other cleanups
27247 that get us closer to a release candidate.
27249 o Major bugfixes (general):
27250 - Work around a bug in OpenSSL that broke renegotiation with TLS
27251 1.1 and TLS 1.2. Without this workaround, all attempts to speak
27252 the v2 Tor connection protocol when both sides were using OpenSSL
27253 1.0.1 would fail. Resolves ticket 6033.
27254 - When waiting for a client to renegotiate, don't allow it to add
27255 any bytes to the input buffer. This fixes a potential DoS issue.
27256 Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
27257 - Pass correct OR address to managed proxies (like obfsproxy),
27258 even when ORListenAddress is used. Fixes bug 4865; bugfix on
27260 - The advertised platform of a router now includes only its operating
27261 system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
27262 service pack level (for Windows) or its CPU architecture (for Unix).
27263 We also no longer include the "git-XYZ" tag in the version. Resolves
27266 o Major bugfixes (clients):
27267 - If we are unable to find any exit that supports our predicted ports,
27268 stop calling them predicted, so that we don't loop and build
27269 hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
27270 which introduced predicted ports.
27271 - Fix an edge case where if we fetch or publish a hidden service
27272 descriptor, we might build a 4-hop circuit and then use that circuit
27273 for exiting afterwards -- even if the new last hop doesn't obey our
27274 ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
27275 - Check at each new consensus whether our entry guards were picked
27276 long enough ago that we should rotate them. Previously, we only
27277 did this check at startup, which could lead to us holding a guard
27278 indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
27279 - When fetching a bridge descriptor from a bridge authority,
27280 always do so anonymously, whether we have been able to open
27281 circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
27282 This behavior makes it *safer* to use UpdateBridgesFromAuthority,
27283 but we'll need to wait for bug 6010 before it's actually usable.
27285 o Major bugfixes (directory authorities):
27286 - When computing weight parameters, behave more robustly in the
27287 presence of a bad bwweightscale value. Previously, the authorities
27288 would crash if they agreed on a sufficiently broken weight_scale
27289 value: now, they use a reasonable default and carry on. Partial
27290 fix for 5786; bugfix on 0.2.2.17-alpha.
27291 - Check more thoroughly to prevent a rogue authority from
27292 double-voting on any consensus directory parameter. Previously,
27293 authorities would crash in this case if the total number of
27294 votes for any parameter exceeded the number of active voters,
27295 but would let it pass otherwise. Partial fix for bug 5786; bugfix
27299 - Rate-limit log messages when asked to connect anonymously to
27300 a private address. When these hit, they tended to hit fast and
27301 often. Also, don't bother trying to connect to addresses that we
27302 are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
27303 reply makes us think we have been lied to, even when the address the
27304 client tried to connect to was "localhost." Resolves ticket 2822.
27305 - Allow packagers to insert an extra string in server descriptor
27306 platform lines by setting the preprocessor variable TOR_BUILD_TAG.
27307 Resolves the rest of ticket 2988.
27308 - Raise the threshold of server descriptors needed (75%) and exit
27309 server descriptors needed (50%) before we will declare ourselves
27310 bootstrapped. This will make clients start building circuits a
27311 little later, but makes the initially constructed circuits less
27312 skewed and less in conflict with further directory fetches. Fixes
27314 - Close any connection that sends unrecognized junk before the
27315 handshake. Solves an issue noted in bug 4369.
27316 - Improve log messages about managed transports. Resolves ticket 5070.
27317 - Tag a bridge's descriptor as "never to be sent unencrypted".
27318 This shouldn't matter, since bridges don't open non-anonymous
27319 connections to the bridge authority and don't allow unencrypted
27320 directory connections from clients, but we might as well make
27321 sure. Closes bug 5139.
27322 - Expose our view of whether we have gone dormant to the controller,
27323 via a new "GETINFO dormant" value. Torbutton and other controllers
27324 can use this to avoid doing periodic requests through Tor while
27325 it's dormant (bug 4718). Fixes bug 5954.
27326 - Tell GCC and Clang to check for any errors in format strings passed
27327 to the tor_v*(print|scan)f functions.
27328 - Update to the May 1 2012 Maxmind GeoLite Country database.
27330 o Minor bugfixes (already included in 0.2.2.36):
27331 - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
27332 Fixes bug 5346; bugfix on 0.0.8pre3.
27333 - Correct parsing of certain date types in parse_http_time().
27334 Without this patch, If-Modified-Since would behave
27335 incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
27336 Esteban Manchado Velázques.
27337 - Make our number-parsing functions always treat too-large values
27338 as an error, even when those values exceed the width of the
27339 underlying type. Previously, if the caller provided these
27340 functions with minima or maxima set to the extreme values of the
27341 underlying integer type, these functions would return those
27342 values on overflow rather than treating overflow as an error.
27343 Fixes part of bug 5786; bugfix on 0.0.9.
27344 - If we hit the error case where routerlist_insert() replaces an
27345 existing (old) server descriptor, make sure to remove that
27346 server descriptor from the old_routers list. Fix related to bug
27347 1776. Bugfix on 0.2.2.18-alpha.
27348 - Clarify the behavior of MaxCircuitDirtiness with hidden service
27349 circuits. Fixes issue 5259.
27351 o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
27352 - Prevent a null-pointer dereference when receiving a data cell
27353 for a nonexistent stream when the circuit in question has an
27354 empty deliver window. We don't believe this is triggerable,
27355 since we don't currently allow deliver windows to become empty,
27356 but the logic is tricky enough that it's better to make the code
27357 robust. Fixes bug 5541; bugfix on 0.0.2pre14.
27358 - Fix a memory leak when trying to launch a DNS request when the
27359 network is disabled or the nameservers are unconfigurable. Fixes
27360 bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
27361 nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
27362 - Don't hold a Windows file handle open for every file mapping;
27363 the file mapping handle is sufficient. Fixes bug 5951; bugfix on
27365 - Avoid O(n^2) performance characteristics when parsing a large
27366 extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
27367 - Format more doubles with %f, not %lf. Patch from grarpamp to make
27368 Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
27370 - Make our replacement implementation of strtok_r() compatible with
27371 the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
27372 bugfix on 0.2.2.1-alpha.
27373 - Fix a NULL-pointer dereference on a badly formed
27374 SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
27375 bugfix on 0.2.2.9-alpha.
27376 - Fix a build warning with Clang 3.1 related to our use of vasprintf.
27377 Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
27378 - Defensively refactor rend_mid_rendezvous() so that protocol
27379 violations and length checks happen in the beginning. Fixes
27381 - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
27382 that IPv6 stuff will compile on MSVC, and compilation issues
27383 will be easier to track down. Fixes bug 5861.
27385 o Minor bugfixes (correctness, on 0.2.2.x and earlier):
27386 - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
27387 resource exhaustion, so that clients can adjust their load to
27388 try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
27389 started using END_STREAM_REASON_RESOURCELIMIT.
27390 - Don't check for whether the address we're using for outbound
27391 connections has changed until after the outbound connection has
27392 completed. On Windows, getsockname() doesn't succeed until the
27393 connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
27394 - If the configuration tries to set MyFamily on a bridge, refuse to
27395 do so, and warn about the security implications. Fixes bug 4657;
27396 bugfix on 0.2.0.3-alpha.
27397 - If the client fails to set a reasonable set of ciphersuites
27398 during its v2 handshake renegotiation, allow the renegotiation to
27399 continue nevertheless (i.e. send all the required certificates).
27400 Fixes bug 4591; bugfix on 0.2.0.20-rc.
27401 - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
27402 option is set to 0 (which Vidalia version 0.2.16 now does when
27403 a SAVECONF attempt fails), perform other actions that SIGHUP
27404 usually causes (like reopening the logs). Fixes bug 5095; bugfix
27406 - If we fail to write a microdescriptor to the disk cache, do not
27407 continue replacing the old microdescriptor file. Fixes bug 2954;
27408 bugfix on 0.2.2.6-alpha.
27409 - Exit nodes don't need to fetch certificates for authorities that
27410 they don't recognize; only directory authorities, bridges,
27411 and caches need to do that. Fixes part of bug 2297; bugfix on
27413 - Correctly handle checking the permissions on the parent
27414 directory of a control socket in the root directory. Bug found
27415 by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
27417 - When told to add a bridge with the same digest as a preexisting
27418 bridge but a different addr:port, change the addr:port as
27419 requested. Previously we would not notice the change. Fixes half
27420 of bug 5603; fix on 0.2.2.26-beta.
27421 - End AUTHCHALLENGE error messages (in the control protocol) with
27422 a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
27424 o Minor bugfixes (on 0.2.3.x):
27425 - Turn an assertion (that the number of handshakes received as a
27426 server is not < 1) into a warning. Fixes bug 4873; bugfix on
27428 - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
27429 we had reversed them when the answer was cached.) Fixes bug
27430 5723; bugfix on 0.2.3.1-alpha.
27431 - Work correctly on Linux systems with accept4 support advertised in
27432 their headers, but without accept4 support in the kernel. Fix
27433 by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
27434 - When told to add a bridge with the same addr:port as a preexisting
27435 bridge but a different transport, change the transport as
27436 requested. Previously we would not notice the change. Fixes half
27437 of bug 5603; fix on 0.2.3.2-alpha.
27438 - Avoid a "double-reply" warning when replying to a SOCKS request
27439 with a parse error. Patch from Fabian Keil. Fixes bug 4108;
27440 bugfix on 0.2.3.4-alpha.
27441 - Fix a bug where a bridge authority crashes if it has seen no
27442 directory requests when it's time to write statistics to disk.
27443 Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
27445 - Don't try to open non-control listeners when DisableNetwork is set.
27446 Previously, we'd open all listeners, then immediately close them.
27447 Fixes bug 5604; bugfix on 0.2.3.9-alpha.
27448 - Don't abort the managed proxy protocol if the managed proxy
27449 sends us an unrecognized line; ignore it instead. Fixes bug
27450 5910; bugfix on 0.2.3.9-alpha.
27451 - Fix a compile warning in crypto.c when compiling with clang 3.1.
27452 Fixes bug 5969, bugfix on 0.2.3.9-alpha.
27453 - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
27454 Fixes bug 5355; bugfix on 0.2.3.11-alpha.
27455 - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
27456 unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
27457 - Resolve numerous small warnings and build issues with MSVC. Resolves
27460 o Documentation fixes:
27461 - Improve the manual's documentation for the NT Service command-line
27462 options. Addresses ticket 3964.
27463 - Clarify SessionGroup documentation slightly; resolves ticket 5437.
27464 - Document the changes to the ORPort and DirPort options, and the
27465 fact that {OR/Dir}ListenAddress is now unnecessary (and
27466 therefore deprecated). Resolves ticket 5597.
27469 - Remove the torrc.bridge file: we don't use it for anything, and
27470 it had become badly desynchronized from torrc.sample. Resolves
27474 Changes in version 0.2.2.36 - 2012-05-24
27475 Tor 0.2.2.36 updates the addresses for two of the eight directory
27476 authorities, fixes some potential anonymity and security issues,
27477 and fixes several crash bugs.
27479 Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
27480 known flaws, and nobody should be using them. You should upgrade. If
27481 you're using a Linux or BSD and its packages are obsolete, stop using
27482 those packages and upgrade anyway.
27484 o Directory authority changes:
27485 - Change IP address for maatuska (v3 directory authority).
27486 - Change IP address for ides (v3 directory authority), and rename
27490 - When building or running with any version of OpenSSL earlier
27491 than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
27492 versions have a bug (CVE-2011-4576) in which their block cipher
27493 padding includes uninitialized data, potentially leaking sensitive
27494 information to any peer with whom they make a SSLv3 connection. Tor
27495 does not use SSL v3 by default, but a hostile client or server
27496 could force an SSLv3 connection in order to gain information that
27497 they shouldn't have been able to get. The best solution here is to
27498 upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
27499 or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
27500 to make sure that the bug can't happen.
27501 - Never use a bridge or a controller-supplied node as an exit, even
27502 if its exit policy allows it. Found by wanoskarnet. Fixes bug
27503 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
27504 and 0.2.0.3-alpha (for bridge-purpose descriptors).
27505 - Only build circuits if we have a sufficient threshold of the total
27506 descriptors that are marked in the consensus with the "Exit"
27507 flag. This mitigates an attack proposed by wanoskarnet, in which
27508 all of a client's bridges collude to restrict the exit nodes that
27509 the client knows about. Fixes bug 5343.
27510 - Provide controllers with a safer way to implement the cookie
27511 authentication mechanism. With the old method, if another locally
27512 running program could convince a controller that it was the Tor
27513 process, then that program could trick the controller into telling
27514 it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
27515 authentication method uses a challenge-response approach to prevent
27516 this attack. Fixes bug 5185; implements proposal 193.
27519 - Avoid logging uninitialized data when unable to decode a hidden
27520 service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
27521 - Avoid a client-side assertion failure when receiving an INTRODUCE2
27522 cell on a general purpose circuit. Fixes bug 5644; bugfix on
27524 - Fix builds when the path to sed, openssl, or sha1sum contains
27525 spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
27527 - Correct our replacements for the timeradd() and timersub() functions
27528 on platforms that lack them (for example, Windows). The timersub()
27529 function is used when expiring circuits, while timeradd() is
27530 currently unused. Bug report and patch by Vektor. Fixes bug 4778;
27531 bugfix on 0.2.2.24-alpha.
27532 - Fix the SOCKET_OK test that we use to tell when socket
27533 creation fails so that it works on Win64. Fixes part of bug 4533;
27534 bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
27537 - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
27538 Fixes bug 5346; bugfix on 0.0.8pre3.
27539 - Make our number-parsing functions always treat too-large values
27540 as an error, even when those values exceed the width of the
27541 underlying type. Previously, if the caller provided these
27542 functions with minima or maxima set to the extreme values of the
27543 underlying integer type, these functions would return those
27544 values on overflow rather than treating overflow as an error.
27545 Fixes part of bug 5786; bugfix on 0.0.9.
27546 - Older Linux kernels erroneously respond to strange nmap behavior
27547 by having accept() return successfully with a zero-length
27548 socket. When this happens, just close the connection. Previously,
27549 we would try harder to learn the remote address: but there was
27550 no such remote address to learn, and our method for trying to
27551 learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
27552 on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
27553 - Correct parsing of certain date types in parse_http_time().
27554 Without this patch, If-Modified-Since would behave
27555 incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
27556 Esteban Manchado Velázques.
27557 - Change the BridgePassword feature (part of the "bridge community"
27558 design, which is not yet implemented) to use a time-independent
27559 comparison. The old behavior might have allowed an adversary
27560 to use timing to guess the BridgePassword value. Fixes bug 5543;
27561 bugfix on 0.2.0.14-alpha.
27562 - Detect and reject certain misformed escape sequences in
27563 configuration values. Previously, these values would cause us
27564 to crash if received in a torrc file or over an authenticated
27565 control port. Bug found by Esteban Manchado Velázquez, and
27566 independently by Robert Connolly from Matta Consulting who further
27567 noted that it allows a post-authentication heap overflow. Patch
27568 by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
27569 bugfix on 0.2.0.16-alpha.
27570 - Fix a compile warning when using the --enable-openbsd-malloc
27571 configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
27572 - During configure, detect when we're building with clang version
27573 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
27574 CFLAGS. clang doesn't support them yet.
27575 - When sending an HTTP/1.1 proxy request, include a Host header.
27576 Fixes bug 5593; bugfix on 0.2.2.1-alpha.
27577 - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
27578 command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
27579 - If we hit the error case where routerlist_insert() replaces an
27580 existing (old) server descriptor, make sure to remove that
27581 server descriptor from the old_routers list. Fix related to bug
27582 1776. Bugfix on 0.2.2.18-alpha.
27584 o Minor bugfixes (documentation and log messages):
27585 - Fix a typo in a log message in rend_service_rendezvous_has_opened().
27586 Fixes bug 4856; bugfix on Tor 0.0.6.
27587 - Update "ClientOnly" man page entry to explain that there isn't
27588 really any point to messing with it. Resolves ticket 5005.
27589 - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
27590 directory authority option (introduced in Tor 0.2.2.34).
27591 - Downgrade the "We're missing a certificate" message from notice
27592 to info: people kept mistaking it for a real problem, whereas it
27593 is seldom the problem even when we are failing to bootstrap. Fixes
27594 bug 5067; bugfix on 0.2.0.10-alpha.
27595 - Correctly spell "connect" in a log message on failure to create a
27596 controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
27597 - Clarify the behavior of MaxCircuitDirtiness with hidden service
27598 circuits. Fixes issue 5259.
27601 - Directory authorities now reject versions of Tor older than
27602 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
27603 inclusive. These versions accounted for only a small fraction of
27604 the Tor network, and have numerous known security issues. Resolves
27606 - Update to the May 1 2012 Maxmind GeoLite Country database.
27609 - When sending or relaying a RELAY_EARLY cell, we used to convert
27610 it to a RELAY cell if the connection was using the v1 link
27611 protocol. This was a workaround for older versions of Tor, which
27612 didn't handle RELAY_EARLY cells properly. Now that all supported
27613 versions can handle RELAY_EARLY cells, and now that we're enforcing
27614 the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
27615 remove this workaround. Addresses bug 4786.
27618 Changes in version 0.2.3.15-alpha - 2012-04-30
27619 Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
27620 the development branch build on Windows again.
27622 o Minor bugfixes (on 0.2.2.x and earlier):
27623 - Make sure that there are no unhandled pending TLS errors before
27624 reading from a TLS stream. We had checks in 0.1.0.3-rc, but
27625 lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
27626 Bugfix on 0.1.0.5-rc; fixes bug 4528.
27627 - Fix an assert that directory authorities could trigger on sighup
27628 during some configuration state transitions. We now don't treat
27629 it as a fatal error when the new descriptor we just generated in
27630 init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
27631 - After we pick a directory mirror, we would refuse to use it if
27632 it's in our ExcludeExitNodes list, resulting in mysterious failures
27633 to bootstrap for people who just wanted to avoid exiting from
27634 certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
27635 - When building with --enable-static-tor on OpenBSD, do not
27636 erroneously attempt to link -lrt. Fixes bug 5103.
27638 o Minor bugfixes (on 0.2.3.x):
27639 - When Tor is built with kernel headers from a recent (last few
27640 years) Linux kernel, do not fail to run on older (pre-2.6.28
27641 Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
27642 - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
27643 and 0.2.3.12-alpha.
27644 - Fix compilation with miniupnpc version 1.6; patch from
27645 Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
27646 - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
27647 on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
27648 - Fix compilation on platforms without unistd.h, or where environ
27649 is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
27652 - Directory authorities are now a little more lenient at accepting
27653 older router descriptors, or newer router descriptors that don't
27654 make big changes. This should help ameliorate past and future
27655 issues where routers think they have uploaded valid descriptors,
27656 but the authorities don't think so. Fix for ticket 2479.
27657 - Make the code that clients use to detect an address change be
27658 IPv6-aware, so that it won't fill clients' logs with error
27659 messages when trying to get the IPv4 address of an IPv6
27660 connection. Implements ticket 5537.
27662 o Removed features:
27663 - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
27664 authorities needed to use it for a while to keep the network working
27665 as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
27666 that was six months ago. As of now, it should no longer be needed
27670 Changes in version 0.2.3.14-alpha - 2012-04-23
27671 Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
27672 candidate. It also dramatically speeds up AES: fast relays should
27673 consider switching to the newer OpenSSL library.
27675 o Directory authority changes:
27676 - Change IP address for ides (v3 directory authority), and rename
27680 - Avoid logging uninitialized data when unable to decode a hidden
27681 service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
27682 - Avoid a client-side assertion failure when receiving an INTRODUCE2
27683 cell on a general purpose circuit. Fixes bug 5644; bugfix on
27685 - If authorities are unable to get a v2 consensus document from other
27686 directory authorities, they no longer fall back to fetching
27687 them from regular directory caches. Fixes bug 5635; bugfix on
27688 0.2.2.26-beta, where routers stopped downloading v2 consensus
27689 documents entirely.
27690 - When we start a Tor client with a normal consensus already cached,
27691 be willing to download a microdescriptor consensus. Fixes bug 4011;
27692 fix on 0.2.3.1-alpha.
27694 o Major features (performance):
27695 - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
27696 instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
27697 vectorized AES implementations as appropriate. These can be much,
27698 much faster than other AES implementations.
27700 o Minor bugfixes (0.2.2.x and earlier):
27701 - Don't launch more than 10 service-side introduction-point circuits
27702 for a hidden service in five minutes. Previously, we would consider
27703 launching more introduction-point circuits if at least one second
27704 had passed without any introduction-point circuits failing. Fixes
27705 bug 4607; bugfix on 0.0.7pre1.
27706 - Change the BridgePassword feature (part of the "bridge community"
27707 design, which is not yet implemented) to use a time-independent
27708 comparison. The old behavior might have allowed an adversary
27709 to use timing to guess the BridgePassword value. Fixes bug 5543;
27710 bugfix on 0.2.0.14-alpha.
27711 - Enforce correct return behavior of tor_vsscanf() when the '%%'
27712 pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
27713 - When sending an HTTP/1.1 proxy request, include a Host header.
27714 Fixes bug 5593; bugfix on 0.2.2.1-alpha.
27715 - Don't log that we have "decided to publish new relay descriptor"
27716 unless we are actually publishing a descriptor. Fixes bug 3942;
27717 bugfix on 0.2.2.28-beta.
27719 o Minor bugfixes (0.2.3.x):
27720 - Fix a bug where a bridge authority crashes (on a failed assert)
27721 if it has seen no directory requests when it's time to write
27722 statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
27723 - Fix bug stomping on ORPort option NoListen and ignoring option
27724 NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
27725 - In the testsuite, provide a large enough buffer in the tor_sscanf
27726 unit test. Otherwise we'd overrun that buffer and crash during
27727 the unit tests. Found by weasel. Fixes bug 5449; bugfix on
27729 - Make sure we create the keys directory if it doesn't exist and we're
27730 about to store the dynamic Diffie-Hellman parameters. Fixes bug
27731 5572; bugfix on 0.2.3.13-alpha.
27732 - Fix a small memory leak when trying to decode incorrect base16
27733 authenticator during SAFECOOKIE authentication. Found by
27734 Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
27737 - Add more information to a log statement that might help track down
27738 bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
27739 non-IP address" messages (or any Bug messages, for that matter!),
27740 please let us know about it.
27741 - Relays now understand an IPv6 address when they get one from a
27742 directory server. Resolves ticket 4875.
27743 - Resolve IPv6 addresses in bridge and entry statistics to country
27744 code "??" which means we at least count them. Resolves ticket 5053;
27745 improves on 0.2.3.9-alpha.
27746 - Update to the April 3 2012 Maxmind GeoLite Country database.
27747 - Begin a doc/state-contents.txt file to explain the contents of
27748 the Tor state file. Fixes bug 2987.
27750 o Default torrc changes:
27751 - Stop listing "socksport 9050" in torrc.sample. We open a socks
27752 port on 9050 by default anyway, so this should not change anything
27754 - Stop mentioning the deprecated *ListenAddress options in
27755 torrc.sample. Fixes bug 5438.
27756 - Document unit of bandwidth related options in sample torrc.
27759 o Removed features:
27760 - The "torify" script no longer supports the "tsocks" socksifier
27761 tool, since tsocks doesn't support DNS and UDP right for Tor.
27762 Everyone should be using torsocks instead. Fixes bugs 3530 and
27763 5180. Based on a patch by "ugh".
27765 o Code refactoring:
27766 - Change the symmetric cipher interface so that creating and
27767 initializing a stream cipher are no longer separate functions.
27768 - Remove all internal support for unpadded RSA. We never used it, and
27769 it would be a bad idea to start.
27772 Changes in version 0.2.3.13-alpha - 2012-03-26
27773 Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
27774 in managed pluggable transports, as well as providing other cleanups
27775 that get us closer to a release candidate.
27777 o Directory authority changes:
27778 - Change IP address for maatuska (v3 directory authority).
27781 - Provide controllers with a safer way to implement the cookie
27782 authentication mechanism. With the old method, if another locally
27783 running program could convince a controller that it was the Tor
27784 process, then that program could trick the controller into telling
27785 it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
27786 authentication method uses a challenge-response approach to prevent
27787 this attack. Fixes bug 5185, implements proposal 193.
27788 - Never use a bridge or a controller-supplied node as an exit, even
27789 if its exit policy allows it. Found by wanoskarnet. Fixes bug
27790 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
27791 and 0.2.0.3-alpha (for bridge-purpose descriptors).
27792 - Only build circuits if we have a sufficient threshold of the total
27793 descriptors that are marked in the consensus with the "Exit"
27794 flag. This mitigates an attack proposed by wanoskarnet, in which
27795 all of a client's bridges collude to restrict the exit nodes that
27796 the client knows about. Fixes bug 5343.
27798 o Major bugfixes (on Tor 0.2.3.x):
27799 - Avoid an assert when managed proxies like obfsproxy are configured,
27800 and we receive HUP signals or setconf attempts too rapidly. This
27801 situation happens most commonly when Vidalia tries to attach to
27802 Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
27803 bugfix on 0.2.3.6-alpha.
27804 - Fix a relay-side pluggable transports bug where managed proxies were
27805 unreachable from the Internet, because Tor asked them to bind on
27806 localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
27807 - Stop discarding command-line arguments when TestingTorNetwork
27808 is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
27809 0.2.3.9-alpha, where task 4552 added support for two layers of
27811 - Resume allowing the unit tests to run in gdb. This was accidentally
27812 made impossible when the DisableDebuggerAttachment option was
27813 introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
27814 - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
27815 0.2.3.11-alpha. Reported by Anthony G. Basile.
27817 o Minor bugfixes (on 0.2.2.x and earlier):
27818 - Ensure we don't cannibalize circuits that are longer than three hops
27819 already, so we don't end up making circuits with 5 or more
27820 hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
27821 0.1.0.1-rc which introduced cannibalization.
27822 - Detect and reject certain misformed escape sequences in
27823 configuration values. Previously, these values would cause us
27824 to crash if received in a torrc file or over an authenticated
27825 control port. Bug found by Esteban Manchado Velázquez, and
27826 independently by Robert Connolly from Matta Consulting who further
27827 noted that it allows a post-authentication heap overflow. Patch
27828 by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
27829 bugfix on 0.2.0.16-alpha.
27830 - Fix a compile warning when using the --enable-openbsd-malloc
27831 configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
27832 - Directory caches no longer refuse to clean out descriptors because
27833 of missing v2 networkstatus documents, unless they're configured
27834 to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
27835 0.2.2.26-beta. Patch by Daniel Bryg.
27836 - Update to the latest version of the tinytest unit testing framework.
27837 This includes a couple of bugfixes that can be relevant for
27838 running forked unit tests on Windows, and removes all reserved
27841 o Minor bugfixes (on 0.2.3.x):
27842 - On a failed pipe() call, don't leak file descriptors. Fixes bug
27843 4296; bugfix on 0.2.3.1-alpha.
27844 - Spec conformance: on a v3 handshake, do not send a NETINFO cell
27845 until after we have received a CERTS cell. Fixes bug 4361; bugfix
27846 on 0.2.3.6-alpha. Patch by "frosty".
27847 - When binding to an IPv6 address, set the IPV6_V6ONLY socket
27848 option, so that the IP stack doesn't decide to use it for IPv4
27849 too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
27850 - Ensure that variables set in Tor's environment cannot override
27851 environment variables that Tor passes to a managed
27852 pluggable-transport proxy. Previously, Tor would pass every
27853 variable in its environment to managed proxies along with the new
27854 ones, in such a way that on many operating systems, the inherited
27855 environment variables would override those which Tor tried to
27856 explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
27857 bugfix on 0.2.3.9-alpha for Windows.
27860 - A wide variety of new unit tests by Esteban Manchado Velázquez.
27861 - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
27862 - Update to the March 6 2012 Maxmind GeoLite Country database.
27865 Changes in version 0.2.3.12-alpha - 2012-02-13
27866 Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
27867 to use bridges that run Tor 0.2.2.x, and resolves several big bugs
27868 when Tor is configured to use a pluggable transport like obfsproxy.
27871 - Fix builds when the path to sed, openssl, or sha1sum contains
27872 spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
27874 - Set the SO_REUSEADDR socket option before we call bind() on outgoing
27875 connections. This change should allow busy exit relays to stop
27876 running out of available sockets as quickly. Fixes bug 4950;
27877 bugfix on 0.2.2.26-beta.
27878 - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
27879 would ask the bridge for microdescriptors, which are only supported
27880 in 0.2.3.x, and then fail to bootstrap when it didn't get the
27881 answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
27882 - Properly set up obfsproxy's environment when in managed mode. The
27883 Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
27884 and when you run your Tor as a daemon, there's no HOME. Fixes bugs
27885 5076 and 5082; bugfix on 0.2.3.6-alpha.
27888 - Use the dead_strip option when building Tor on OS X. This reduces
27889 binary size by almost 19% when linking openssl and libevent
27890 statically, which we do for Tor Browser Bundle.
27891 - Fix broken URLs in the sample torrc file, and tell readers about
27892 the OutboundBindAddress, ExitPolicyRejectPrivate, and
27893 PublishServerDescriptor options. Addresses bug 4652.
27894 - Update to the February 7 2012 Maxmind GeoLite Country database.
27897 - Downgrade the "We're missing a certificate" message from notice
27898 to info: people kept mistaking it for a real problem, whereas it
27899 is seldom the problem even when we are failing to bootstrap. Fixes
27900 bug 5067; bugfix on 0.2.0.10-alpha.
27901 - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
27902 managed pluggable transport server proxy's environment.
27903 Previously, we would put it there, even though Tor doesn't
27904 implement an 'extended server port' yet, and even though Tor
27905 almost certainly isn't listening at that address. For now, we set
27906 it to an empty string to avoid crashing older obfsproxies. Bugfix
27908 - Log the heartbeat message every HeartbeatPeriod seconds, not every
27909 HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
27910 0.2.3.1-alpha. Bug reported by Scott Bennett.
27911 - Calculate absolute paths correctly on Windows. Fixes bug 4973;
27912 bugfix on 0.2.3.11-alpha.
27913 - Update "ClientOnly" man page entry to explain that there isn't
27914 really any point to messing with it. Resolves ticket 5005.
27915 - Use the correct CVE number for CVE-2011-4576 in our comments and
27916 log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
27919 o Code simplifications and refactoring:
27920 - Use the _WIN32 macro throughout our code to detect Windows.
27921 (Previously we had used the obsolete 'WIN32' and the idiosyncratic
27925 Changes in version 0.2.3.11-alpha - 2012-01-22
27926 Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
27927 the last step of the plan to limit maximum circuit length, includes
27928 a wide variety of hidden service performance and correctness fixes,
27929 works around an OpenSSL security flaw if your distro is too stubborn
27930 to upgrade, and fixes a bunch of smaller issues.
27933 - Now that Tor 0.2.0.x is completely deprecated, enable the final
27934 part of "Proposal 110: Avoiding infinite length circuits" by
27935 refusing all circuit-extend requests that do not use a relay_early
27936 cell. This change helps Tor resist a class of denial-of-service
27937 attacks by limiting the maximum circuit length.
27938 - Adjust the number of introduction points that a hidden service
27939 will try to maintain based on how long its introduction points
27940 remain in use and how many introductions they handle. Fixes
27942 - Try to use system facilities for enumerating local interface
27943 addresses, before falling back to our old approach (which was
27944 binding a UDP socket, and calling getsockname() on it). That
27945 approach was scaring OS X users whose draconian firewall
27946 software warned about binding to UDP sockets, regardless of
27947 whether packets were sent. Now we try to use getifaddrs(),
27948 SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
27949 system supports. Resolves ticket 1827.
27951 o Major security workaround:
27952 - When building or running with any version of OpenSSL earlier
27953 than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
27954 versions have a bug (CVE-2011-4576) in which their block cipher
27955 padding includes uninitialized data, potentially leaking sensitive
27956 information to any peer with whom they make a SSLv3 connection. Tor
27957 does not use SSL v3 by default, but a hostile client or server
27958 could force an SSLv3 connection in order to gain information that
27959 they shouldn't have been able to get. The best solution here is to
27960 upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
27961 or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
27962 to make sure that the bug can't happen.
27965 - Fix the SOCKET_OK test that we use to tell when socket
27966 creation fails so that it works on Win64. Fixes part of bug 4533;
27967 bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
27968 - Correct our replacements for the timeradd() and timersub() functions
27969 on platforms that lack them (for example, Windows). The timersub()
27970 function is used when expiring circuits, while timeradd() is
27971 currently unused. Bug report and patch by Vektor. Fixes bug 4778;
27972 bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
27973 - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
27974 that was fixed in OpenSSL 1.0.0a. We test for the counter mode
27975 bug at runtime, not compile time, because some distributions hack
27976 their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
27977 on 0.2.3.9-alpha. Found by Pascal.
27979 o Minor features (controller):
27980 - Use absolute path names when reporting the torrc filename in the
27981 control protocol, so a controller can more easily find the torrc
27982 file. Resolves bug 1101.
27983 - Extend the control protocol to report flags that control a circuit's
27984 path selection in CIRC events and in replies to 'GETINFO
27985 circuit-status'. Implements part of ticket 2411.
27986 - Extend the control protocol to report the hidden service address
27987 and current state of a hidden-service-related circuit in CIRC
27988 events and in replies to 'GETINFO circuit-status'. Implements part
27990 - When reporting the path to the cookie file to the controller,
27991 give an absolute path. Resolves ticket 4881.
27992 - Allow controllers to request an event notification whenever a
27993 circuit is cannibalized or its purpose is changed. Implements
27994 part of ticket 3457.
27995 - Include the creation time of a circuit in CIRC and CIRC2
27996 control-port events and the list produced by the 'GETINFO
27997 circuit-status' control-port command.
27999 o Minor features (directory authorities):
28000 - Directory authorities now reject versions of Tor older than
28001 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
28002 inclusive. These versions accounted for only a small fraction of
28003 the Tor network, and have numerous known security issues. Resolves
28005 - Authority operators can now vote for all relays in a given
28006 set of countries to be BadDir/BadExit/Invalid/Rejected.
28007 - Provide two consensus parameters (FastFlagMinThreshold and
28008 FastFlagMaxThreshold) to control the range of allowable bandwidths
28009 for the Fast directory flag. These allow authorities to run
28010 experiments on appropriate requirements for being a "Fast" node.
28011 The AuthDirFastGuarantee config value still applies. Implements
28013 - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
28014 directory authority option (introduced in Tor 0.2.2.34).
28016 o Minor features (other):
28017 - Don't disable the DirPort when we cannot exceed our AccountingMax
28018 limit during this interval because the effective bandwidthrate is
28019 low enough. This is useful in a situation where AccountMax is only
28020 used as an additional safeguard or to provide statistics.
28021 - Prepend an informative header to generated dynamic_dh_params files.
28022 - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
28023 EntryNodes will have no effect. Resolves issue 2571.
28024 - Log more useful messages when we fail to disable debugger
28026 - Log which authority we're missing votes from when we go to fetch
28027 them from the other auths.
28028 - Log (at debug level) whenever a circuit's purpose is changed.
28029 - Add missing documentation for the MaxClientCircuitsPending,
28030 UseMicrodescriptors, UserspaceIOCPBuffers, and
28031 _UseFilteringSSLBufferevents options, all introduced during
28032 the 0.2.3.x series.
28033 - Update to the January 3 2012 Maxmind GeoLite Country database.
28035 o Minor bugfixes (hidden services):
28036 - Don't close hidden service client circuits which have almost
28037 finished connecting to their destination when they reach
28038 the normal circuit-build timeout. Previously, we would close
28039 introduction circuits which are waiting for an acknowledgement
28040 from the introduction point, and rendezvous circuits which have
28041 been specified in an INTRODUCE1 cell sent to a hidden service,
28042 after the normal CBT. Now, we mark them as 'timed out', and launch
28043 another rendezvous attempt in parallel. This behavior change can
28044 be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
28045 option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
28046 - Don't close hidden-service-side rendezvous circuits when they
28047 reach the normal circuit-build timeout. This behavior change can
28048 be disabled using the new
28049 CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
28050 remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
28051 - Make sure we never mark the wrong rendezvous circuit as having
28052 had its introduction cell acknowledged by the introduction-point
28053 relay. Previously, when we received an INTRODUCE_ACK cell on a
28054 client-side hidden-service introduction circuit, we might have
28055 marked a rendezvous circuit other than the one we specified in
28056 the INTRODUCE1 cell as INTRO_ACKED, which would have produced
28057 a warning message and interfered with the hidden service
28058 connection-establishment process. Fixes bug 4759; bugfix on
28059 0.2.3.3-alpha, when we added the stream-isolation feature which
28060 might cause Tor to open multiple rendezvous circuits for the same
28062 - Don't trigger an assertion failure when we mark a new client-side
28063 hidden-service introduction circuit for close during the process
28064 of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
28067 o Minor bugfixes (log messages):
28068 - Correctly spell "connect" in a log message on failure to create a
28069 controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
28071 - Fix a typo in a log message in rend_service_rendezvous_has_opened().
28072 Fixes bug 4856; bugfix on Tor 0.0.6.
28073 - Fix the log message describing how we work around discovering
28074 that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
28075 4837; bugfix on 0.2.2.9-alpha.
28076 - When logging about a disallowed .exit name, do not also call it
28077 an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
28079 o Minor bugfixes (build fixes):
28080 - During configure, detect when we're building with clang version
28081 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
28082 CFLAGS. clang doesn't support them yet.
28083 - During configure, search for library containing cos function as
28084 libm lives in libcore on some platforms (BeOS/Haiku). Linking
28085 against libm was hard-coded before. Fixes the first part of bug
28086 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
28088 - Detect attempts to build Tor on (as yet hypothetical) versions
28089 of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
28090 fix for bug 4533. Bugfix on 0.2.2.28-beta.
28091 - Preprocessor directives should not be put inside the arguments
28092 of a macro. This would break compilation with GCC releases prior
28093 to version 3.3. We would never recommend such an old GCC version,
28094 but it is apparently required for binary compatibility on some
28095 platforms (namely, certain builds of Haiku). Fixes the other part
28096 of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
28099 o Minor bugfixes (other):
28100 - Older Linux kernels erroneously respond to strange nmap behavior
28101 by having accept() return successfully with a zero-length
28102 socket. When this happens, just close the connection. Previously,
28103 we would try harder to learn the remote address: but there was
28104 no such remote address to learn, and our method for trying to
28105 learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
28106 on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
28107 - Fix null-pointer access that could occur if TLS allocation failed.
28108 Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
28109 erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
28110 accidentally been reverted.
28111 - Fix our implementation of crypto_random_hostname() so it can't
28112 overflow on ridiculously large inputs. (No Tor version has ever
28113 provided this kind of bad inputs, but let's be correct in depth.)
28114 Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
28115 - Find more places in the code that should have been testing for
28116 invalid sockets using the SOCKET_OK macro. Required for a fix
28117 for bug 4533. Bugfix on 0.2.2.28-beta.
28118 - Fix an assertion failure when, while running with bufferevents, a
28119 connection finishes connecting after it is marked for close, but
28120 before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
28121 - test_util_spawn_background_ok() hardcoded the expected value
28122 for ENOENT to 2. This isn't portable as error numbers are
28123 platform specific, and particularly the hurd has ENOENT at
28124 0x40000002. Construct expected string at runtime, using the correct
28125 value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
28126 - Reject attempts to disable DisableDebuggerAttachment while Tor is
28127 running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
28128 - Use an appropriate-width type for sockets in tor-fw-helper on
28129 win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
28132 - When sending or relaying a RELAY_EARLY cell, we used to convert
28133 it to a RELAY cell if the connection was using the v1 link
28134 protocol. This was a workaround for older versions of Tor, which
28135 didn't handle RELAY_EARLY cells properly. Now that all supported
28136 versions can handle RELAY_EARLY cells, and now that we're enforcing
28137 the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
28138 remove this workaround. Addresses bug 4786.
28140 o Code simplifications and refactoring:
28141 - Use OpenSSL's built-in SSL_state_string_long() instead of our
28142 own homebrewed ssl_state_to_string() replacement. Patch from
28143 Emile Snyder. Fixes bug 4653.
28144 - Use macros to indicate OpenSSL versions, so we don't need to worry
28145 about accidental hexadecimal bit shifts.
28146 - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
28148 - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
28149 - Use the smartlist_add_asprintf() alias more consistently.
28150 - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
28151 invalid value, rather than just -1.
28152 - Rename a handful of old identifiers, mostly related to crypto
28153 structures and crypto functions. By convention, our "create an
28154 object" functions are called "type_new()", our "free an object"
28155 functions are called "type_free()", and our types indicate that
28156 they are types only with a final "_t". But a handful of older
28157 types and functions broke these rules, with function names like
28158 "type_create" or "subsystem_op_type", or with type names like
28162 Changes in version 0.2.3.10-alpha - 2011-12-16
28163 Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
28164 Tor's buffers code. Absolutely everybody should upgrade.
28166 The bug relied on an incorrect calculation when making data continuous
28167 in one of our IO buffers, if the first chunk of the buffer was
28168 misaligned by just the wrong amount. The miscalculation would allow an
28169 attacker to overflow a piece of heap-allocated memory. To mount this
28170 attack, the attacker would need to either open a SOCKS connection to
28171 Tor's SocksPort (usually restricted to localhost), or target a Tor
28172 instance configured to make its connections through a SOCKS proxy
28173 (which Tor does not do by default).
28175 Good security practice requires that all heap-overflow bugs should be
28176 presumed to be exploitable until proven otherwise, so we are treating
28177 this as a potential code execution attack. Please upgrade immediately!
28178 This bug does not affect bufferevents-based builds of Tor. Special
28179 thanks to "Vektor" for reporting this issue to us!
28181 This release also contains a few minor bugfixes for issues discovered
28185 - Fix a heap overflow bug that could occur when trying to pull
28186 data into the first chunk of a buffer, when that chunk had
28187 already had some data drained from it. Fixes CVE-2011-2778;
28188 bugfix on 0.2.0.16-alpha. Reported by "Vektor".
28191 - If we can't attach streams to a rendezvous circuit when we
28192 finish connecting to a hidden service, clear the rendezvous
28193 circuit's stream-isolation state and try to attach streams
28194 again. Previously, we cleared rendezvous circuits' isolation
28195 state either too early (if they were freshly built) or not at all
28196 (if they had been built earlier and were cannibalized). Bugfix on
28197 0.2.3.3-alpha; fixes bug 4655.
28198 - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
28199 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
28200 - Fix an assertion failure when a relay with accounting enabled
28201 starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
28204 - Update to the December 6 2011 Maxmind GeoLite Country database.
28207 Changes in version 0.2.2.35 - 2011-12-16
28208 Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
28209 buffers code. Absolutely everybody should upgrade.
28211 The bug relied on an incorrect calculation when making data continuous
28212 in one of our IO buffers, if the first chunk of the buffer was
28213 misaligned by just the wrong amount. The miscalculation would allow an
28214 attacker to overflow a piece of heap-allocated memory. To mount this
28215 attack, the attacker would need to either open a SOCKS connection to
28216 Tor's SocksPort (usually restricted to localhost), or target a Tor
28217 instance configured to make its connections through a SOCKS proxy
28218 (which Tor does not do by default).
28220 Good security practice requires that all heap-overflow bugs should be
28221 presumed to be exploitable until proven otherwise, so we are treating
28222 this as a potential code execution attack. Please upgrade immediately!
28223 This bug does not affect bufferevents-based builds of Tor. Special
28224 thanks to "Vektor" for reporting this issue to us!
28226 Tor 0.2.2.35 also fixes several bugs in previous versions, including
28227 crash bugs for unusual configurations, and a long-term bug that
28228 would prevent Tor from starting on Windows machines with draconian
28231 With this release, we remind everyone that 0.2.0.x has reached its
28232 formal end-of-life. Those Tor versions have many known flaws, and
28233 nobody should be using them. You should upgrade -- ideally to the
28234 0.2.2.x series. If you're using a Linux or BSD and its packages are
28235 obsolete, stop using those packages and upgrade anyway.
28237 The Tor 0.2.1.x series is also approaching its end-of-life: it will no
28238 longer receive support after some time in early 2012.
28241 - Fix a heap overflow bug that could occur when trying to pull
28242 data into the first chunk of a buffer, when that chunk had
28243 already had some data drained from it. Fixes CVE-2011-2778;
28244 bugfix on 0.2.0.16-alpha. Reported by "Vektor".
28245 - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
28246 that it doesn't attempt to allocate a socketpair. This could cause
28247 some problems on Windows systems with overzealous firewalls. Fix for
28248 bug 4457; workaround for Libevent versions 2.0.1-alpha through
28250 - If we mark an OR connection for close based on a cell we process,
28251 don't process any further cells on it. We already avoid further
28252 reads on marked-for-close connections, but now we also discard the
28253 cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
28254 which was the first version where we might mark a connection for
28255 close based on processing a cell on it.
28256 - Correctly sanity-check that we don't underflow on a memory
28257 allocation (and then assert) for hidden service introduction
28258 point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
28259 bugfix on 0.2.1.5-alpha.
28260 - Fix a memory leak when we check whether a hidden service
28261 descriptor has any usable introduction points left. Fixes bug
28262 4424. Bugfix on 0.2.2.25-alpha.
28263 - Don't crash when we're running as a relay and don't have a GeoIP
28264 file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
28265 we've had in the 0.2.3.x branch already.
28266 - When running as a client, do not print a misleading (and plain
28267 wrong) log message that we're collecting "directory request"
28268 statistics: clients don't collect statistics. Also don't create a
28269 useless (because empty) stats file in the stats/ directory. Fixes
28270 bug 4353; bugfix on 0.2.2.34.
28273 - Detect failure to initialize Libevent. This fix provides better
28274 detection for future instances of bug 4457.
28275 - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
28276 function. This was eating up hideously large amounts of time on some
28277 busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
28278 - Resolve an integer overflow bug in smartlist_ensure_capacity().
28279 Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
28281 - Don't warn about unused log_mutex in log.c when building with
28282 --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
28283 0.1.0.6-rc which introduced --disable-threads.
28284 - When configuring, starting, or stopping an NT service, stop
28285 immediately after the service configuration attempt has succeeded
28286 or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
28287 - When sending a NETINFO cell, include the original address
28288 received for the other side, not its canonical address. Found
28289 by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
28290 - Fix a typo in a hibernation-related log message. Fixes bug 4331;
28291 bugfix on 0.2.2.23-alpha; found by "tmpname0901".
28292 - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
28293 occurred when a client tried to fetch a descriptor for a bridge
28294 in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
28295 - Backport fixes for a pair of compilation warnings on Windows.
28296 Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
28297 - If we had ever tried to call tor_addr_to_str on an address of
28298 unknown type, we would have done a strdup on an uninitialized
28299 buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
28300 Reported by "troll_un".
28301 - Correctly detect and handle transient lookup failures from
28302 tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
28303 Reported by "troll_un".
28304 - Fix null-pointer access that could occur if TLS allocation failed.
28305 Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
28306 - Use tor_socket_t type for listener argument to accept(). Fixes bug
28307 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
28310 - Add two new config options for directory authorities:
28311 AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
28312 Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
28313 that is always sufficient to satisfy the bandwidth requirement for
28314 the Guard flag. Now it will be easier for researchers to simulate
28315 Tor networks with different values. Resolves ticket 4484.
28316 - When Tor ignores a hidden service specified in its configuration,
28317 include the hidden service's directory in the warning message.
28318 Previously, we would only tell the user that some hidden service
28319 was ignored. Bugfix on 0.0.6; fixes bug 4426.
28320 - Update to the December 6 2011 Maxmind GeoLite Country database.
28322 o Packaging changes:
28323 - Make it easier to automate expert package builds on Windows,
28324 by removing an absolute path from makensis.exe command.
28327 Changes in version 0.2.1.32 - 2011-12-16
28328 Tor 0.2.1.32 backports important security and privacy fixes for
28329 oldstable. This release is intended only for package maintainers and
28330 others who cannot use the 0.2.2 stable series. All others should be
28331 using Tor 0.2.2.x or newer.
28333 The Tor 0.2.1.x series will reach formal end-of-life some time in
28334 early 2012; we will stop releasing patches for it then.
28336 o Major bugfixes (also included in 0.2.2.x):
28337 - Correctly sanity-check that we don't underflow on a memory
28338 allocation (and then assert) for hidden service introduction
28339 point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
28340 bugfix on 0.2.1.5-alpha.
28341 - Fix a heap overflow bug that could occur when trying to pull
28342 data into the first chunk of a buffer, when that chunk had
28343 already had some data drained from it. Fixes CVE-2011-2778;
28344 bugfix on 0.2.0.16-alpha. Reported by "Vektor".
28347 - Update to the December 6 2011 Maxmind GeoLite Country database.
28350 Changes in version 0.2.3.9-alpha - 2011-12-08
28351 Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
28352 a "DisableNetwork" security feature that bundles can use to avoid
28353 touching the network until bridges are configured, moves forward on
28354 the pluggable transport design, fixes a flaw in the hidden service
28355 design that unnecessarily prevented clients with wrong clocks from
28356 reaching hidden services, and fixes a wide variety of other issues.
28359 - Clients can now connect to private bridges over IPv6. Bridges
28360 still need at least one IPv4 address in order to connect to
28361 other relays. Note that we don't yet handle the case where the
28362 user has two bridge lines for the same bridge (one IPv4, one
28363 IPv6). Implements parts of proposal 186.
28364 - New "DisableNetwork" config option to prevent Tor from launching any
28365 connections or accepting any connections except on a control port.
28366 Bundles and controllers can set this option before letting Tor talk
28367 to the rest of the network, for example to prevent any connections
28368 to a non-bridge address. Packages like Orbot can also use this
28369 option to instruct Tor to save power when the network is off.
28370 - Clients and bridges can now be configured to use a separate
28371 "transport" proxy. This approach makes the censorship arms race
28372 easier by allowing bridges to use protocol obfuscation plugins. It
28373 implements the "managed proxy" part of proposal 180 (ticket 3472).
28374 - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
28375 implementation. It makes AES_CTR about 7% faster than our old one
28376 (which was about 10% faster than the one OpenSSL used to provide).
28377 Resolves ticket 4526.
28378 - Add a "tor2web mode" for clients that want to connect to hidden
28379 services non-anonymously (and possibly more quickly). As a safety
28380 measure to try to keep users from turning this on without knowing
28381 what they are doing, tor2web mode must be explicitly enabled at
28382 compile time, and a copy of Tor compiled to run in tor2web mode
28383 cannot be used as a normal Tor client. Implements feature 2553.
28384 - Add experimental support for running on Windows with IOCP and no
28385 kernel-space socket buffers. This feature is controlled by a new
28386 "UserspaceIOCPBuffers" config option (off by default), which has
28387 no effect unless Tor has been built with support for bufferevents,
28388 is running on Windows, and has enabled IOCP. This may, in the long
28389 run, help solve or mitigate bug 98.
28390 - Use a more secure consensus parameter voting algorithm. Now at
28391 least three directory authorities or a majority of them must
28392 vote on a given parameter before it will be included in the
28393 consensus. Implements proposal 178.
28396 - Hidden services now ignore the timestamps on INTRODUCE2 cells.
28397 They used to check that the timestamp was within 30 minutes
28398 of their system clock, so they could cap the size of their
28399 replay-detection cache, but that approach unnecessarily refused
28400 service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
28401 the v3 intro-point protocol (the first one which sent a timestamp
28402 field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
28403 - Only use the EVP interface when AES acceleration is enabled,
28404 to avoid a 5-7% performance regression. Resolves issue 4525;
28405 bugfix on 0.2.3.8-alpha.
28407 o Privacy/anonymity features (bridge detection):
28408 - Make bridge SSL certificates a bit more stealthy by using random
28409 serial numbers, in the same fashion as OpenSSL when generating
28410 self-signed certificates. Implements ticket 4584.
28411 - Introduce a new config option "DynamicDHGroups", enabled by
28412 default, which provides each bridge with a unique prime DH modulus
28413 to be used during SSL handshakes. This option attempts to help
28414 against censors who might use the Apache DH modulus as a static
28415 identifier for bridges. Addresses ticket 4548.
28417 o Minor features (new/different config options):
28418 - New configuration option "DisableDebuggerAttachment" (on by default)
28419 to prevent basic debugging attachment attempts by other processes.
28420 Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
28421 - Allow MapAddress directives to specify matches against super-domains,
28422 as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
28423 Implements issue 933.
28424 - Slightly change behavior of "list" options (that is, config
28425 options that can appear more than once) when they appear both in
28426 torrc and on the command line. Previously, the command-line options
28427 would be appended to the ones from torrc. Now, the command-line
28428 options override the torrc options entirely. This new behavior
28429 allows the user to override list options (like exit policies and
28430 ports to listen on) from the command line, rather than simply
28431 appending to the list.
28432 - You can get the old (appending) command-line behavior for "list"
28433 options by prefixing the option name with a "+".
28434 - You can remove all the values for a "list" option from the command
28435 line without adding any new ones by prefixing the option name
28437 - Add experimental support for a "defaults" torrc file to be parsed
28438 before the regular torrc. Torrc options override the defaults file's
28439 options in the same way that the command line overrides the torrc.
28440 The SAVECONF controller command saves only those options which
28441 differ between the current configuration and the defaults file. HUP
28442 reloads both files. (Note: This is an experimental feature; its
28443 behavior will probably be refined in future 0.2.3.x-alpha versions
28444 to better meet packagers' needs.) Implements task 4552.
28447 - Try to make the introductory warning message that Tor prints on
28448 startup more useful for actually finding help and information.
28449 Resolves ticket 2474.
28450 - Running "make version" now displays the version of Tor that
28451 we're about to build. Idea from katmagic; resolves issue 4400.
28452 - Expire old or over-used hidden service introduction points.
28453 Required by fix for bug 3460.
28454 - Move the replay-detection cache for the RSA-encrypted parts of
28455 INTRODUCE2 cells to the introduction point data structures.
28456 Previously, we would use one replay-detection cache per hidden
28457 service. Required by fix for bug 3460.
28458 - Reduce the lifetime of elements of hidden services' Diffie-Hellman
28459 public key replay-detection cache from 60 minutes to 5 minutes. This
28460 replay-detection cache is now used only to detect multiple
28461 INTRODUCE2 cells specifying the same rendezvous point, so we can
28462 avoid launching multiple simultaneous attempts to connect to it.
28464 o Minor bugfixes (on Tor 0.2.2.x and earlier):
28465 - Resolve an integer overflow bug in smartlist_ensure_capacity().
28466 Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
28468 - Fix a minor formatting issue in one of tor-gencert's error messages.
28470 - Prevent a false positive from the check-spaces script, by disabling
28471 the "whitespace between function name and (" check for functions
28473 - Fix a log message suggesting that people contact a non-existent
28474 email address. Fixes bug 3448.
28475 - Fix null-pointer access that could occur if TLS allocation failed.
28476 Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
28477 - Report a real bootstrap problem to the controller on router
28478 identity mismatch. Previously we just said "foo", which probably
28479 made a lot of sense at the time. Fixes bug 4169; bugfix on
28481 - If we had ever tried to call tor_addr_to_str() on an address of
28482 unknown type, we would have done a strdup() on an uninitialized
28483 buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
28484 Reported by "troll_un".
28485 - Correctly detect and handle transient lookup failures from
28486 tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
28487 Reported by "troll_un".
28488 - Use tor_socket_t type for listener argument to accept(). Fixes bug
28489 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
28490 - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
28491 bug 4532; found by "troll_un".
28493 o Minor bugfixes (on Tor 0.2.3.x):
28494 - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
28496 - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
28497 circuit for use as a hidden service client's rendezvous point.
28498 Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
28499 with help from wanoskarnet.
28500 - Restore behavior of overriding SocksPort, ORPort, and similar
28501 options from the command line. Bugfix on 0.2.3.3-alpha.
28504 - Properly handle the case where the build-tree is not the same
28505 as the source tree when generating src/common/common_sha1.i,
28506 src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
28507 bugfix on 0.2.0.1-alpha.
28509 o Code simplifications, cleanups, and refactorings:
28510 - Remove the pure attribute from all functions that used it
28511 previously. In many cases we assigned it incorrectly, because the
28512 functions might assert or call impure functions, and we don't have
28513 evidence that keeping the pure attribute is worthwhile. Implements
28514 changes suggested in ticket 4421.
28515 - Remove some dead code spotted by coverity. Fixes cid 432.
28516 Bugfix on 0.2.3.1-alpha, closes bug 4637.
28519 Changes in version 0.2.3.8-alpha - 2011-11-22
28520 Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
28521 socketpair-related bug that has been bothering Windows users. It adds
28522 support to serve microdescriptors to controllers, so Vidalia's network
28523 map can resume listing relays (once Vidalia implements its side),
28524 and adds better support for hardware AES acceleration. Finally, it
28525 starts the process of adjusting the bandwidth cutoff for getting the
28526 "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
28527 that tiny relays harm performance more than they help network capacity.
28530 - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
28531 that it doesn't attempt to allocate a socketpair. This could cause
28532 some problems on Windows systems with overzealous firewalls. Fix for
28533 bug 4457; workaround for Libevent versions 2.0.1-alpha through
28535 - Correctly sanity-check that we don't underflow on a memory
28536 allocation (and then assert) for hidden service introduction
28537 point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
28538 bugfix on 0.2.1.5-alpha.
28539 - Remove the artificially low cutoff of 20KB to guarantee the Fast
28540 flag. In the past few years the average relay speed has picked
28541 up, and while the "top 7/8 of the network get the Fast flag" and
28542 "all relays with 20KB or more of capacity get the Fast flag" rules
28543 used to have the same result, now the top 7/8 of the network has
28544 a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
28545 - Fix a rare assertion failure when checking whether a v0 hidden
28546 service descriptor has any usable introduction points left, and
28547 we don't have enough information to build a circuit to the first
28548 intro point named in the descriptor. The HS client code in
28549 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
28550 trigger on (and crash) v0 HS authorities. Fixes bug 4411.
28551 Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
28552 - Make bridge authorities not crash when they are asked for their own
28553 descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
28554 - When running as a client, do not print a misleading (and plain
28555 wrong) log message that we're collecting "directory request"
28556 statistics: clients don't collect statistics. Also don't create a
28557 useless (because empty) stats file in the stats/ directory. Fixes
28558 bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
28561 - Allow Tor controllers like Vidalia to obtain the microdescriptor
28562 for a relay by identity digest or nickname. Previously,
28563 microdescriptors were only available by their own digests, so a
28564 controller would have to ask for and parse the whole microdescriptor
28565 consensus in order to look up a single relay's microdesc. Fixes
28566 bug 3832; bugfix on 0.2.3.1-alpha.
28567 - Use OpenSSL's EVP interface for AES encryption, so that all AES
28568 operations can use hardware acceleration (if present). Resolves
28571 o Minor bugfixes (on 0.2.2.x and earlier):
28572 - Detect failure to initialize Libevent. This fix provides better
28573 detection for future instances of bug 4457.
28574 - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
28575 function. This was eating up hideously large amounts of time on some
28576 busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
28577 - Don't warn about unused log_mutex in log.c when building with
28578 --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
28579 0.1.0.6-rc which introduced --disable-threads.
28580 - Allow manual 'authenticate' commands to the controller interface
28581 from netcat (nc) as well as telnet. We were rejecting them because
28582 they didn't come with the expected whitespace at the end of the
28583 command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
28584 - Fix some (not actually triggerable) buffer size checks in usage of
28585 tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
28587 - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
28588 bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
28589 - When configuring, starting, or stopping an NT service, stop
28590 immediately after the service configuration attempt has succeeded
28591 or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
28592 - When sending a NETINFO cell, include the original address
28593 received for the other side, not its canonical address. Found
28594 by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
28595 - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
28596 can pick them up when the tests aren't disabled. Bugfix on
28597 0.2.2.4-alpha which introduced tinytest.
28598 - Fix a memory leak when we check whether a hidden service
28599 descriptor has any usable introduction points left. Fixes bug
28600 4424. Bugfix on 0.2.2.25-alpha.
28601 - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
28602 occurred when a client tried to fetch a descriptor for a bridge
28603 in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
28605 o Minor bugfixes (on 0.2.3.x):
28606 - Make util unit tests build correctly with MSVC. Bugfix on
28607 0.2.3.3-alpha. Patch by Gisle Vanem.
28608 - Successfully detect AUTH_CHALLENGE cells with no recognized
28609 authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
28610 Found by frosty_un.
28611 - If a relay receives an AUTH_CHALLENGE cell it can't answer,
28612 it should still send a NETINFO cell to allow the connection to
28613 become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
28615 - Log less loudly when we get an invalid authentication certificate
28616 from a source other than a directory authority: it's not unusual
28617 to see invalid certs because of clock skew. Fixes bug 4370; bugfix
28619 - Tolerate servers with more clock skew in their authentication
28620 certificates than previously. Fixes bug 4371; bugfix on
28622 - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
28623 on 0.2.3.4-alpha and 0.2.3.6-alpha.
28626 - Add two new config options for directory authorities:
28627 AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
28628 Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
28629 that is always sufficient to satisfy the bandwidth requirement for
28630 the Guard flag. Now it will be easier for researchers to simulate
28631 Tor networks with different values. Resolves ticket 4484.
28632 - When Tor ignores a hidden service specified in its configuration,
28633 include the hidden service's directory in the warning message.
28634 Previously, we would only tell the user that some hidden service
28635 was ignored. Bugfix on 0.0.6; fixes bug 4426.
28636 - When we fail to initialize Libevent, retry with IOCP disabled so we
28637 don't need to turn on multi-threading support in Libevent, which in
28638 turn requires a working socketpair(). This is a workaround for bug
28639 4457, which affects Libevent versions from 2.0.1-alpha through
28641 - Detect when we try to build on a platform that doesn't define
28642 AF_UNSPEC to 0. We don't work there, so refuse to compile.
28643 - Update to the November 1 2011 Maxmind GeoLite Country database.
28645 o Packaging changes:
28646 - Make it easier to automate expert package builds on Windows,
28647 by removing an absolute path from makensis.exe command.
28649 o Code simplifications and refactoring:
28650 - Remove some redundant #include directives throughout the code.
28651 Patch from Andrea Gelmini.
28652 - Unconditionally use OpenSSL's AES implementation instead of our
28653 old built-in one. OpenSSL's AES has been better for a while, and
28654 relatively few servers should still be on any version of OpenSSL
28655 that doesn't have good optimized assembly AES.
28656 - Use the name "CERTS" consistently to refer to the new cell type;
28657 we were calling it CERT in some places and CERTS in others.
28660 - Numerous new unit tests for functions in util.c and address.c by
28662 - The long-disabled benchmark tests are now split into their own
28663 ./src/test/bench binary.
28664 - The benchmark tests can now use more accurate timers than
28665 gettimeofday() when such timers are available.
28668 Changes in version 0.2.3.7-alpha - 2011-10-30
28669 Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
28670 the new v3 handshake. It also resolves yet another bridge address
28674 - If we mark an OR connection for close based on a cell we process,
28675 don't process any further cells on it. We already avoid further
28676 reads on marked-for-close connections, but now we also discard the
28677 cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
28678 which was the first version where we might mark a connection for
28679 close based on processing a cell on it.
28680 - Fix a double-free bug that would occur when we received an invalid
28681 certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
28682 bugfix on 0.2.3.6-alpha.
28683 - Bridges no longer include their address in NETINFO cells on outgoing
28684 OR connections, to allow them to blend in better with clients.
28685 Removes another avenue for enumerating bridges. Reported by
28686 "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
28687 cells were introduced.
28690 - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
28691 bugfix on 0.2.2.23-alpha; found by "tmpname0901".
28694 Changes in version 0.2.3.6-alpha - 2011-10-26
28695 Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
28696 anonymity vulnerability where an attacker can deanonymize Tor
28697 users. Everybody should upgrade.
28699 This release also features support for a new v3 connection handshake
28700 protocol, and fixes to make hidden service connections more robust.
28703 - Implement a new handshake protocol (v3) for authenticating Tors to
28704 each other over TLS. It should be more resistant to fingerprinting
28705 than previous protocols, and should require less TLS hacking for
28706 future Tor implementations. Implements proposal 176.
28707 - Allow variable-length padding cells to disguise the length of
28708 Tor's TLS records. Implements part of proposal 184.
28710 o Privacy/anonymity fixes (clients):
28711 - Clients and bridges no longer send TLS certificate chains on
28712 outgoing OR connections. Previously, each client or bridge would
28713 use the same cert chain for all outgoing OR connections until
28714 its IP address changes, which allowed any relay that the client
28715 or bridge contacted to determine which entry guards it is using.
28716 Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
28717 - If a relay receives a CREATE_FAST cell on a TLS connection, it
28718 no longer considers that connection as suitable for satisfying a
28719 circuit EXTEND request. Now relays can protect clients from the
28720 CVE-2011-2768 issue even if the clients haven't upgraded yet.
28721 - Directory authorities no longer assign the Guard flag to relays
28722 that haven't upgraded to the above "refuse EXTEND requests
28723 to client connections" fix. Now directory authorities can
28724 protect clients from the CVE-2011-2768 issue even if neither
28725 the clients nor the relays have upgraded yet. There's a new
28726 "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
28727 to let us transition smoothly, else tomorrow there would be no
28730 o Major bugfixes (hidden services):
28731 - Improve hidden service robustness: when an attempt to connect to
28732 a hidden service ends, be willing to refetch its hidden service
28733 descriptors from each of the HSDir relays responsible for them
28734 immediately. Previously, we would not consider refetching the
28735 service's descriptors from each HSDir for 15 minutes after the last
28736 fetch, which was inconvenient if the hidden service was not running
28737 during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
28738 - When one of a hidden service's introduction points appears to be
28739 unreachable, stop trying it. Previously, we would keep trying
28740 to build circuits to the introduction point until we lost the
28741 descriptor, usually because the user gave up and restarted Tor.
28742 Partly fixes bug 3825.
28743 - Don't launch a useless circuit after failing to use one of a
28744 hidden service's introduction points. Previously, we would
28745 launch a new introduction circuit, but not set the hidden service
28746 which that circuit was intended to connect to, so it would never
28747 actually be used. A different piece of code would then create a
28748 new introduction circuit correctly. Bug reported by katmagic and
28749 found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
28751 o Major bugfixes (other):
28752 - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
28753 that they initiated. Relays could distinguish incoming bridge
28754 connections from client connections, creating another avenue for
28755 enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
28756 Found by "frosty_un".
28757 - Don't update the AccountingSoftLimitHitAt state file entry whenever
28758 tor gets started. This prevents a wrong average bandwidth
28759 estimate, which would cause relays to always start a new accounting
28760 interval at the earliest possible moment. Fixes bug 2003; bugfix
28761 on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
28762 immensely in tracking this bug down.
28763 - Fix a crash bug when changing node restrictions while a DNS lookup
28764 is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
28767 o Minor bugfixes (on 0.2.2.x and earlier):
28768 - When a hidden service turns an extra service-side introduction
28769 circuit into a general-purpose circuit, free the rend_data and
28770 intro_key fields first, so we won't leak memory if the circuit
28771 is cannibalized for use as another service-side introduction
28772 circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
28773 - Rephrase the log message emitted if the TestSocks check is
28774 successful. Patch from Fabian Keil; fixes bug 4094.
28775 - Bridges now skip DNS self-tests, to act a little more stealthily.
28776 Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
28777 bridges. Patch by "warms0x".
28778 - Remove a confusing dollar sign from the example fingerprint in the
28779 man page, and also make the example fingerprint a valid one. Fixes
28780 bug 4309; bugfix on 0.2.1.3-alpha.
28781 - Fix internal bug-checking logic that was supposed to catch
28782 failures in digest generation so that it will fail more robustly
28783 if we ask for a nonexistent algorithm. Found by Coverity Scan.
28784 Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
28785 - Report any failure in init_keys() calls launched because our
28786 IP address has changed. Spotted by Coverity Scan. Bugfix on
28787 0.1.1.4-alpha; fixes CID 484.
28789 o Minor bugfixes (on 0.2.3.x):
28790 - Fix a bug in configure.in that kept it from building a configure
28791 script with autoconf versions earlier than 2.61. Fixes bug 2430;
28792 bugfix on 0.2.3.1-alpha.
28793 - Don't warn users that they are exposing a client port to the
28794 Internet if they have specified an RFC1918 address. Previously,
28795 we would warn if the user had specified any non-loopback
28796 address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
28797 - Fix memory leaks in the failing cases of the new SocksPort and
28798 ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
28799 fixes coverity CIDs 485, 486, and 487.
28802 - When a hidden service's introduction point times out, consider
28803 trying it again during the next attempt to connect to the
28804 HS. Previously, we would not try it again unless a newly fetched
28805 descriptor contained it. Required by fixes for bugs 1297 and 3825.
28806 - The next version of Windows will be called Windows 8, and it has
28807 a major version of 6, minor version of 2. Correctly identify that
28808 version instead of calling it "Very recent version". Resolves
28809 ticket 4153; reported by funkstar.
28810 - The Bridge Authority now writes statistics on how many bridge
28811 descriptors it gave out in total, and how many unique descriptors
28812 it gave out. It also lists how often the most and least commonly
28813 fetched descriptors were given out, as well as the median and
28814 25th/75th percentile. Implements tickets 4200 and 4294.
28815 - Update to the October 4 2011 Maxmind GeoLite Country database.
28817 o Code simplifications and refactoring:
28818 - Remove some old code to remember statistics about which descriptors
28819 we've served as a directory mirror. The feature wasn't used and
28820 is outdated now that microdescriptors are around.
28821 - Rename Tor functions that turn strings into addresses, so that
28822 "parse" indicates that no hostname resolution occurs, and
28823 "lookup" indicates that hostname resolution may occur. This
28824 should help prevent mistakes in the future. Fixes bug 3512.
28827 Changes in version 0.2.2.34 - 2011-10-26
28828 Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
28829 can deanonymize Tor users. Everybody should upgrade.
28831 The attack relies on four components: 1) Clients reuse their TLS cert
28832 when talking to different relays, so relays can recognize a user by
28833 the identity key in her cert. 2) An attacker who knows the client's
28834 identity key can probe each guard relay to see if that identity key
28835 is connected to that guard relay right now. 3) A variety of active
28836 attacks in the literature (starting from "Low-Cost Traffic Analysis
28837 of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
28838 discover the guard relays that a Tor user visiting the website is using.
28839 4) Clients typically pick three guards at random, so the set of guards
28840 for a given user could well be a unique fingerprint for her. This
28841 release fixes components #1 and #2, which is enough to block the attack;
28842 the other two remain as open research problems. Special thanks to
28843 "frosty_un" for reporting the issue to us!
28845 Clients should upgrade so they are no longer recognizable by the TLS
28846 certs they present. Relays should upgrade so they no longer allow a
28847 remote attacker to probe them to test whether unpatched clients are
28848 currently connected to them.
28850 This release also fixes several vulnerabilities that allow an attacker
28851 to enumerate bridge relays. Some bridge enumeration attacks still
28852 remain; see for example proposal 188.
28854 o Privacy/anonymity fixes (clients):
28855 - Clients and bridges no longer send TLS certificate chains on
28856 outgoing OR connections. Previously, each client or bridge would
28857 use the same cert chain for all outgoing OR connections until
28858 its IP address changes, which allowed any relay that the client
28859 or bridge contacted to determine which entry guards it is using.
28860 Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
28861 - If a relay receives a CREATE_FAST cell on a TLS connection, it
28862 no longer considers that connection as suitable for satisfying a
28863 circuit EXTEND request. Now relays can protect clients from the
28864 CVE-2011-2768 issue even if the clients haven't upgraded yet.
28865 - Directory authorities no longer assign the Guard flag to relays
28866 that haven't upgraded to the above "refuse EXTEND requests
28867 to client connections" fix. Now directory authorities can
28868 protect clients from the CVE-2011-2768 issue even if neither
28869 the clients nor the relays have upgraded yet. There's a new
28870 "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
28871 to let us transition smoothly, else tomorrow there would be no
28874 o Privacy/anonymity fixes (bridge enumeration):
28875 - Bridge relays now do their directory fetches inside Tor TLS
28876 connections, like all the other clients do, rather than connecting
28877 directly to the DirPort like public relays do. Removes another
28878 avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
28879 - Bridges relays now build circuits for themselves in a more similar
28880 way to how clients build them. Removes another avenue for
28881 enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
28882 when bridges were introduced.
28883 - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
28884 that they initiated. Relays could distinguish incoming bridge
28885 connections from client connections, creating another avenue for
28886 enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
28887 Found by "frosty_un".
28890 - Fix a crash bug when changing node restrictions while a DNS lookup
28891 is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
28893 - Don't launch a useless circuit after failing to use one of a
28894 hidden service's introduction points. Previously, we would
28895 launch a new introduction circuit, but not set the hidden service
28896 which that circuit was intended to connect to, so it would never
28897 actually be used. A different piece of code would then create a
28898 new introduction circuit correctly. Bug reported by katmagic and
28899 found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
28902 - Change an integer overflow check in the OpenBSD_Malloc code so
28903 that GCC is less likely to eliminate it as impossible. Patch
28904 from Mansour Moufid. Fixes bug 4059.
28905 - When a hidden service turns an extra service-side introduction
28906 circuit into a general-purpose circuit, free the rend_data and
28907 intro_key fields first, so we won't leak memory if the circuit
28908 is cannibalized for use as another service-side introduction
28909 circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
28910 - Bridges now skip DNS self-tests, to act a little more stealthily.
28911 Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
28912 bridges. Patch by "warms0x".
28913 - Fix internal bug-checking logic that was supposed to catch
28914 failures in digest generation so that it will fail more robustly
28915 if we ask for a nonexistent algorithm. Found by Coverity Scan.
28916 Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
28917 - Report any failure in init_keys() calls launched because our
28918 IP address has changed. Spotted by Coverity Scan. Bugfix on
28919 0.1.1.4-alpha; fixes CID 484.
28921 o Minor bugfixes (log messages and documentation):
28922 - Remove a confusing dollar sign from the example fingerprint in the
28923 man page, and also make the example fingerprint a valid one. Fixes
28924 bug 4309; bugfix on 0.2.1.3-alpha.
28925 - The next version of Windows will be called Windows 8, and it has
28926 a major version of 6, minor version of 2. Correctly identify that
28927 version instead of calling it "Very recent version". Resolves
28928 ticket 4153; reported by funkstar.
28929 - Downgrade log messages about circuit timeout calibration from
28930 "notice" to "info": they don't require or suggest any human
28931 intervention. Patch from Tom Lowenthal. Fixes bug 4063;
28932 bugfix on 0.2.2.14-alpha.
28935 - Turn on directory request statistics by default and include them in
28936 extra-info descriptors. Don't break if we have no GeoIP database.
28937 Backported from 0.2.3.1-alpha; implements ticket 3951.
28938 - Update to the October 4 2011 Maxmind GeoLite Country database.
28941 Changes in version 0.2.1.31 - 2011-10-26
28942 Tor 0.2.1.31 backports important security and privacy fixes for
28943 oldstable. This release is intended only for package maintainers and
28944 others who cannot use the 0.2.2 stable series. All others should be
28945 using Tor 0.2.2.x or newer.
28947 o Security fixes (also included in 0.2.2.x):
28948 - Replace all potentially sensitive memory comparison operations
28949 with versions whose runtime does not depend on the data being
28950 compared. This will help resist a class of attacks where an
28951 adversary can use variations in timing information to learn
28952 sensitive data. Fix for one case of bug 3122. (Safe memcmp
28953 implementation by Robert Ransom based partially on code by DJB.)
28954 - Fix an assert in parsing router descriptors containing IPv6
28955 addresses. This one took down the directory authorities when
28956 somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
28958 o Privacy/anonymity fixes (also included in 0.2.2.x):
28959 - Clients and bridges no longer send TLS certificate chains on
28960 outgoing OR connections. Previously, each client or bridge would
28961 use the same cert chain for all outgoing OR connections until
28962 its IP address changes, which allowed any relay that the client
28963 or bridge contacted to determine which entry guards it is using.
28964 Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
28965 - If a relay receives a CREATE_FAST cell on a TLS connection, it
28966 no longer considers that connection as suitable for satisfying a
28967 circuit EXTEND request. Now relays can protect clients from the
28968 CVE-2011-2768 issue even if the clients haven't upgraded yet.
28969 - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
28970 that they initiated. Relays could distinguish incoming bridge
28971 connections from client connections, creating another avenue for
28972 enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
28973 Found by "frosty_un".
28974 - When receiving a hidden service descriptor, check that it is for
28975 the hidden service we wanted. Previously, Tor would store any
28976 hidden service descriptors that a directory gave it, whether it
28977 wanted them or not. This wouldn't have let an attacker impersonate
28978 a hidden service, but it did let directories pre-seed a client
28979 with descriptors that it didn't want. Bugfix on 0.0.6.
28980 - Avoid linkability based on cached hidden service descriptors: forget
28981 all hidden service descriptors cached as a client when processing a
28982 SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
28983 - Make the bridge directory authority refuse to answer directory
28984 requests for "all" descriptors. It used to include bridge
28985 descriptors in its answer, which was a major information leak.
28986 Found by "piebeer". Bugfix on 0.2.0.3-alpha.
28987 - Don't attach new streams to old rendezvous circuits after SIGNAL
28988 NEWNYM. Previously, we would keep using an existing rendezvous
28989 circuit if it remained open (i.e. if it were kept open by a
28990 long-lived stream, or if a new stream were attached to it before
28991 Tor could notice that it was old and no longer in use). Bugfix on
28992 0.1.1.15-rc; fixes bug 3375.
28994 o Minor bugfixes (also included in 0.2.2.x):
28995 - When we restart our relay, we might get a successful connection
28996 from the outside before we've started our reachability tests,
28997 triggering a warning: "ORPort found reachable, but I have no
28998 routerinfo yet. Failing to inform controller of success." This
28999 bug was harmless unless Tor is running under a controller
29000 like Vidalia, in which case the controller would never get a
29001 REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
29003 - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
29004 enabled. Fixes bug 1526.
29005 - Remove undocumented option "-F" from tor-resolve: it hasn't done
29006 anything since 0.2.1.16-rc.
29007 - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
29008 None of the cases where we did this before were wrong, but by making
29009 this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
29010 - Fix a rare crash bug that could occur when a client was configured
29011 with a large number of bridges. Fixes bug 2629; bugfix on
29012 0.2.1.2-alpha. Bugfix by trac user "shitlei".
29013 - Correct the warning displayed when a rendezvous descriptor exceeds
29014 the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
29016 - Fix an uncommon assertion failure when running with DNSPort under
29017 heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
29018 - When warning about missing zlib development packages during compile,
29019 give the correct package names. Bugfix on 0.2.0.1-alpha.
29020 - Require that introduction point keys and onion keys have public
29021 exponent 65537. Bugfix on 0.2.0.10-alpha.
29022 - Do not crash when our configuration file becomes unreadable, for
29023 example due to a permissions change, between when we start up
29024 and when a controller calls SAVECONF. Fixes bug 3135; bugfix
29026 - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
29028 - Always NUL-terminate the sun_path field of a sockaddr_un before
29029 passing it to the kernel. (Not a security issue: kernels are
29030 smart enough to reject bad sockaddr_uns.) Found by Coverity;
29031 CID #428. Bugfix on Tor 0.2.0.3-alpha.
29032 - Don't stack-allocate the list of supplementary GIDs when we're
29033 about to log them. Stack-allocating NGROUPS_MAX gid_t elements
29034 could take up to 256K, which is way too much stack. Found by
29035 Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
29037 o Minor bugfixes (only in 0.2.1.x):
29038 - Resume using micro-version numbers in 0.2.1.x: our Debian packages
29039 rely on them. Bugfix on 0.2.1.30.
29040 - Use git revisions instead of svn revisions when generating our
29041 micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
29043 o Minor features (also included in 0.2.2.x):
29044 - Adjust the expiration time on our SSL session certificates to
29045 better match SSL certs seen in the wild. Resolves ticket 4014.
29046 - Allow nameservers with IPv6 address. Resolves bug 2574.
29047 - Update to the October 4 2011 Maxmind GeoLite Country database.
29050 Changes in version 0.2.3.5-alpha - 2011-09-28
29051 Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
29052 bridge relays; fixes an assertion error that many users started hitting
29053 today; and adds the ability to refill token buckets more often than
29054 once per second, allowing significant performance improvements.
29057 - Bridge relays now do their directory fetches inside Tor TLS
29058 connections, like all the other clients do, rather than connecting
29059 directly to the DirPort like public relays do. Removes another
29060 avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
29061 - Bridges relays now build circuits for themselves in a more similar
29062 way to how clients build them. Removes another avenue for
29063 enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
29064 when bridges were introduced.
29067 - Fix an "Assertion md->held_by_node == 1 failed" error that could
29068 occur when the same microdescriptor was referenced by two node_t
29069 objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
29071 o Major features (networking):
29072 - Add a new TokenBucketRefillInterval option to refill token buckets
29073 more frequently than once per second. This should improve network
29074 performance, alleviate queueing problems, and make traffic less
29075 bursty. Implements proposal 183; closes ticket 3630. Design by
29076 Florian Tschorsch and Björn Scheuermann; implementation by
29080 - Change an integer overflow check in the OpenBSD_Malloc code so
29081 that GCC is less likely to eliminate it as impossible. Patch
29082 from Mansour Moufid. Fixes bug 4059.
29084 o Minor bugfixes (usability):
29085 - Downgrade log messages about circuit timeout calibration from
29086 "notice" to "info": they don't require or suggest any human
29087 intervention. Patch from Tom Lowenthal. Fixes bug 4063;
29088 bugfix on 0.2.2.14-alpha.
29090 o Minor features (diagnostics):
29091 - When the system call to create a listener socket fails, log the
29092 error message explaining why. This may help diagnose bug 4027.
29095 Changes in version 0.2.3.4-alpha - 2011-09-13
29096 Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
29097 tweak to Tor's TLS handshake that makes relays and bridges that run
29098 this new version reachable from Iran again. It also fixes a few new
29099 bugs in 0.2.3.x, and teaches relays to recognize when they're not
29100 listed in the network consensus and republish.
29102 o Major bugfixes (also part of 0.2.2.33):
29103 - Avoid an assertion failure when reloading a configuration with
29104 TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
29105 3923; bugfix on 0.2.2.25-alpha.
29107 o Minor features (security, also part of 0.2.2.33):
29108 - Check for replays of the public-key encrypted portion of an
29109 INTRODUCE1 cell, in addition to the current check for replays of
29110 the g^x value. This prevents a possible class of active attacks
29111 by an attacker who controls both an introduction point and a
29112 rendezvous point, and who uses the malleability of AES-CTR to
29113 alter the encrypted g^x portion of the INTRODUCE1 cell. We think
29114 that these attacks are infeasible (requiring the attacker to send
29115 on the order of zettabytes of altered cells in a short interval),
29116 but we'd rather block them off in case there are any classes of
29117 this attack that we missed. Reported by Willem Pinckaers.
29119 o Minor features (also part of 0.2.2.33):
29120 - Adjust the expiration time on our SSL session certificates to
29121 better match SSL certs seen in the wild. Resolves ticket 4014.
29122 - Change the default required uptime for a relay to be accepted as
29123 a HSDir (hidden service directory) from 24 hours to 25 hours.
29124 Improves on 0.2.0.10-alpha; resolves ticket 2649.
29125 - Add a VoteOnHidServDirectoriesV2 config option to allow directory
29126 authorities to abstain from voting on assignment of the HSDir
29127 consensus flag. Related to bug 2649.
29128 - Update to the September 6 2011 Maxmind GeoLite Country database.
29130 o Minor bugfixes (also part of 0.2.2.33):
29131 - Demote the 'replay detected' log message emitted when a hidden
29132 service receives the same Diffie-Hellman public key in two different
29133 INTRODUCE2 cells to info level. A normal Tor client can cause that
29134 log message during its normal operation. Bugfix on 0.2.1.6-alpha;
29135 fixes part of bug 2442.
29136 - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
29137 level. There is nothing that a hidden service's operator can do
29138 to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
29140 - Clarify a log message specifying the characters permitted in
29141 HiddenServiceAuthorizeClient client names. Previously, the log
29142 message said that "[A-Za-z0-9+-_]" were permitted; that could have
29143 given the impression that every ASCII character between "+" and "_"
29144 was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
29146 o Build fixes (also part of 0.2.2.33):
29147 - Clean up some code issues that prevented Tor from building on older
29148 BSDs. Fixes bug 3894; reported by "grarpamp".
29149 - Search for a platform-specific version of "ar" when cross-compiling.
29150 Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
29153 - Fix a bug where the SocksPort option (for example) would get
29154 ignored and replaced by the default if a SocksListenAddress
29155 option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
29159 - Relays now try regenerating and uploading their descriptor more
29160 frequently if they are not listed in the consensus, or if the
29161 version of their descriptor listed in the consensus is too
29162 old. This fix should prevent situations where a server declines
29163 to re-publish itself because it has done so too recently, even
29164 though the authorities decided not to list its recent-enough
29165 descriptor. Fix for bug 3327.
29168 - Relays now include a reason for regenerating their descriptors
29169 in an HTTP header when uploading to the authorities. This will
29170 make it easier to debug descriptor-upload issues in the future.
29171 - When starting as root and then changing our UID via the User
29172 control option, and we have a ControlSocket configured, make sure
29173 that the ControlSocket is owned by the same account that Tor will
29174 run under. Implements ticket 3421; fix by Jérémy Bobbio.
29177 - Abort if tor_vasprintf fails in connection_printf_to_buf (a
29178 utility function used in the control-port code). This shouldn't
29179 ever happen unless Tor is completely out of memory, but if it did
29180 happen and Tor somehow recovered from it, Tor could have sent a log
29181 message to a control port in the middle of a reply to a controller
29182 command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
29183 - Make 'FetchUselessDescriptors' cause all descriptor types and
29184 all consensus types (including microdescriptors) to get fetched.
29185 Fixes bug 3851; bugfix on 0.2.3.1-alpha.
29187 o Code refactoring:
29188 - Make a new "entry connection" struct as an internal subtype of "edge
29189 connection", to simplify the code and make exit connections smaller.
29192 Changes in version 0.2.2.33 - 2011-09-13
29193 Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
29194 TLS handshake that makes relays and bridges that run this new version
29195 reachable from Iran again.
29198 - Avoid an assertion failure when reloading a configuration with
29199 TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
29200 3923; bugfix on 0.2.2.25-alpha.
29202 o Minor features (security):
29203 - Check for replays of the public-key encrypted portion of an
29204 INTRODUCE1 cell, in addition to the current check for replays of
29205 the g^x value. This prevents a possible class of active attacks
29206 by an attacker who controls both an introduction point and a
29207 rendezvous point, and who uses the malleability of AES-CTR to
29208 alter the encrypted g^x portion of the INTRODUCE1 cell. We think
29209 that these attacks are infeasible (requiring the attacker to send
29210 on the order of zettabytes of altered cells in a short interval),
29211 but we'd rather block them off in case there are any classes of
29212 this attack that we missed. Reported by Willem Pinckaers.
29215 - Adjust the expiration time on our SSL session certificates to
29216 better match SSL certs seen in the wild. Resolves ticket 4014.
29217 - Change the default required uptime for a relay to be accepted as
29218 a HSDir (hidden service directory) from 24 hours to 25 hours.
29219 Improves on 0.2.0.10-alpha; resolves ticket 2649.
29220 - Add a VoteOnHidServDirectoriesV2 config option to allow directory
29221 authorities to abstain from voting on assignment of the HSDir
29222 consensus flag. Related to bug 2649.
29223 - Update to the September 6 2011 Maxmind GeoLite Country database.
29225 o Minor bugfixes (documentation and log messages):
29226 - Correct the man page to explain that HashedControlPassword and
29227 CookieAuthentication can both be set, in which case either method
29228 is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
29229 when we decided to allow these config options to both be set. Issue
29230 raised by bug 3898.
29231 - Demote the 'replay detected' log message emitted when a hidden
29232 service receives the same Diffie-Hellman public key in two different
29233 INTRODUCE2 cells to info level. A normal Tor client can cause that
29234 log message during its normal operation. Bugfix on 0.2.1.6-alpha;
29235 fixes part of bug 2442.
29236 - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
29237 level. There is nothing that a hidden service's operator can do
29238 to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
29240 - Clarify a log message specifying the characters permitted in
29241 HiddenServiceAuthorizeClient client names. Previously, the log
29242 message said that "[A-Za-z0-9+-_]" were permitted; that could have
29243 given the impression that every ASCII character between "+" and "_"
29244 was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
29247 - Provide a substitute implementation of lround() for MSVC, which
29248 apparently lacks it. Patch from Gisle Vanem.
29249 - Clean up some code issues that prevented Tor from building on older
29250 BSDs. Fixes bug 3894; reported by "grarpamp".
29251 - Search for a platform-specific version of "ar" when cross-compiling.
29252 Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
29255 Changes in version 0.2.3.3-alpha - 2011-09-01
29256 Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
29257 security, and provides client-side support for the microdescriptor
29258 and optimistic data features introduced earlier in the 0.2.3.x
29259 series. It also includes numerous critical bugfixes in the (optional)
29260 bufferevent-based networking backend.
29262 o Major features (stream isolation):
29263 - You can now configure Tor so that streams from different
29264 applications are isolated on different circuits, to prevent an
29265 attacker who sees your streams as they leave an exit node from
29266 linking your sessions to one another. To do this, choose some way
29267 to distinguish the applications: have them connect to different
29268 SocksPorts, or have one of them use SOCKS4 while the other uses
29269 SOCKS5, or have them pass different authentication strings to the
29270 SOCKS proxy. Then, use the new SocksPort syntax to configure the
29271 degree of isolation you need. This implements Proposal 171.
29272 - There's a new syntax for specifying multiple client ports (such as
29273 SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
29274 multiple *Port entries with full addr:port syntax on each.
29275 The old *ListenAddress format is still supported, but you can't
29276 mix it with the new *Port syntax.
29278 o Major features (other):
29279 - Enable microdescriptor fetching by default for clients. This allows
29280 clients to download a much smaller amount of directory information.
29281 To disable it (and go back to the old-style consensus and
29282 descriptors), set "UseMicrodescriptors 0" in your torrc file.
29283 - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
29284 "PortForwarding" config option), now supports Windows.
29285 - When using an exit relay running 0.2.3.x, clients can now
29286 "optimistically" send data before the exit relay reports that
29287 the stream has opened. This saves a round trip when starting
29288 connections where the client speaks first (such as web browsing).
29289 This behavior is controlled by a consensus parameter (currently
29290 disabled). To turn it on or off manually, use the "OptimisticData"
29291 torrc option. Implements proposal 181; code by Ian Goldberg.
29293 o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
29294 - When using IOCP on Windows, we need to enable Libevent windows
29296 - The IOCP backend now works even when the user has not specified
29297 the (internal, debugging-only) _UseFilteringSSLBufferevents option.
29298 Fixes part of bug 3752.
29299 - Correctly record the bytes we've read and written when using
29300 bufferevents, so that we can include them in our bandwidth history
29301 and advertised bandwidth. Fixes bug 3803.
29302 - Apply rate-limiting only at the bottom of a chain of filtering
29303 bufferevents. This prevents us from filling up internal read
29304 buffers and violating rate-limits when filtering bufferevents
29305 are enabled. Fixes part of bug 3804.
29306 - Add high-watermarks to the output buffers for filtered
29307 bufferevents. This prevents us from filling up internal write
29308 buffers and wasting CPU cycles when filtering bufferevents are
29309 enabled. Fixes part of bug 3804.
29310 - Correctly notice when data has been written from a bufferevent
29311 without flushing it completely. Fixes bug 3805.
29312 - Fix a bug where server-side tunneled bufferevent-based directory
29313 streams would get closed prematurely. Fixes bug 3814.
29314 - Fix a use-after-free error with per-connection rate-limiting
29315 buckets. Fixes bug 3888.
29317 o Major bugfixes (also part of 0.2.2.31-rc):
29318 - If we're configured to write our ControlPorts to disk, only write
29319 them after switching UID and creating the data directory. This way,
29320 we don't fail when starting up with a nonexistent DataDirectory
29321 and a ControlPortWriteToFile setting based on that directory. Fixes
29322 bug 3747; bugfix on Tor 0.2.2.26-beta.
29325 - Added a new CONF_CHANGED event so that controllers can be notified
29326 of any configuration changes made by other controllers, or by the
29327 user. Implements ticket 1692.
29328 - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
29329 leak when using bufferevents, and lets Libevent worry about how to
29330 best copy data out of a buffer.
29331 - Replace files in stats/ rather than appending to them. Now that we
29332 include statistics in extra-info descriptors, it makes no sense to
29333 keep old statistics forever. Implements ticket 2930.
29335 o Minor features (build compatibility):
29336 - Limited, experimental support for building with nmake and MSVC.
29337 - Provide a substitute implementation of lround() for MSVC, which
29338 apparently lacks it. Patch from Gisle Vanem.
29340 o Minor features (also part of 0.2.2.31-rc):
29341 - Update to the August 2 2011 Maxmind GeoLite Country database.
29343 o Minor bugfixes (on 0.2.3.x-alpha):
29344 - Fix a spurious warning when parsing SOCKS requests with
29345 bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
29346 - Get rid of a harmless warning that could happen on relays running
29347 with bufferevents. The warning was caused by someone doing an http
29348 request to a relay's orport. Also don't warn for a few related
29349 non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
29351 o Minor bugfixes (on 2.2.x and earlier):
29352 - Correct the man page to explain that HashedControlPassword and
29353 CookieAuthentication can both be set, in which case either method
29354 is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
29355 when we decided to allow these config options to both be set. Issue
29356 raised by bug 3898.
29357 - The "--quiet" and "--hush" options now apply not only to Tor's
29358 behavior before logs are configured, but also to Tor's behavior in
29359 the absence of configured logs. Fixes bug 3550; bugfix on
29362 o Minor bugfixes (also part of 0.2.2.31-rc):
29363 - Write several files in text mode, on OSes that distinguish text
29364 mode from binary mode (namely, Windows). These files are:
29365 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
29366 that collect those statistics; 'client_keys' and 'hostname' for
29367 hidden services that use authentication; and (in the tor-gencert
29368 utility) newly generated identity and signing keys. Previously,
29369 we wouldn't specify text mode or binary mode, leading to an
29370 assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
29371 the DirRecordUsageByCountry option which would have triggered
29372 the assertion failure was added), although this assertion failure
29373 would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
29374 - Selectively disable deprecation warnings on OS X because Lion
29375 started deprecating the shipped copy of openssl. Fixes bug 3643.
29376 - Remove an extra pair of quotation marks around the error
29377 message in control-port STATUS_GENERAL BUG events. Bugfix on
29378 0.1.2.6-alpha; fixes bug 3732.
29379 - When unable to format an address as a string, report its value
29380 as "???" rather than reusing the last formatted address. Bugfix
29383 o Code simplifications and refactoring:
29384 - Rewrite the listener-selection logic so that parsing which ports
29385 we want to listen on is now separate from binding to the ports
29389 - Building Tor with bufferevent support now requires Libevent
29390 2.0.13-stable or later. Previous versions of Libevent had bugs in
29391 SSL-related bufferevents and related issues that would make Tor
29392 work badly with bufferevents. Requiring 2.0.13-stable also allows
29393 Tor with bufferevents to take advantage of Libevent APIs
29394 introduced after 2.0.8-rc.
29397 Changes in version 0.2.2.32 - 2011-08-27
29398 The Tor 0.2.2 release series is dedicated to the memory of Andreas
29399 Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
29400 a founder of the PETS community, a leader in our field, a mentor,
29401 and a friend. He left us with these words: "I had the possibility
29402 to contribute to this world that is not as it should be. I hope I
29403 could help in some areas to make the world a better place, and that
29404 I could also encourage other people to be engaged in improving the
29405 world. Please, stay engaged. This world needs you, your love, your
29406 initiative -- now I cannot be part of that anymore."
29408 Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
29409 ready. More than two years in the making, this release features improved
29410 client performance and hidden service reliability, better compatibility
29411 for Android, correct behavior for bridges that listen on more than
29412 one address, more extensible and flexible directory object handling,
29413 better reporting of network statistics, improved code security, and
29414 many many other features and bugfixes.
29417 Changes in version 0.2.2.31-rc - 2011-08-17
29418 Tor 0.2.2.31-rc is the second and hopefully final release candidate
29419 for the Tor 0.2.2.x series.
29422 - Remove an extra pair of quotation marks around the error
29423 message in control-port STATUS_GENERAL BUG events. Bugfix on
29424 0.1.2.6-alpha; fixes bug 3732.
29425 - If we're configured to write our ControlPorts to disk, only write
29426 them after switching UID and creating the data directory. This way,
29427 we don't fail when starting up with a nonexistent DataDirectory
29428 and a ControlPortWriteToFile setting based on that directory. Fixes
29429 bug 3747; bugfix on Tor 0.2.2.26-beta.
29432 - Update to the August 2 2011 Maxmind GeoLite Country database.
29435 - Allow GETINFO fingerprint to return a fingerprint even when
29436 we have not yet built a router descriptor. Fixes bug 3577;
29437 bugfix on 0.2.0.1-alpha.
29438 - Write several files in text mode, on OSes that distinguish text
29439 mode from binary mode (namely, Windows). These files are:
29440 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
29441 that collect those statistics; 'client_keys' and 'hostname' for
29442 hidden services that use authentication; and (in the tor-gencert
29443 utility) newly generated identity and signing keys. Previously,
29444 we wouldn't specify text mode or binary mode, leading to an
29445 assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
29446 the DirRecordUsageByCountry option which would have triggered
29447 the assertion failure was added), although this assertion failure
29448 would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
29449 - Selectively disable deprecation warnings on OS X because Lion
29450 started deprecating the shipped copy of openssl. Fixes bug 3643.
29451 - When unable to format an address as a string, report its value
29452 as "???" rather than reusing the last formatted address. Bugfix
29456 Changes in version 0.2.3.2-alpha - 2011-07-18
29457 Tor 0.2.3.2-alpha introduces two new experimental features:
29458 microdescriptors and pluggable transports. It also continues cleaning
29459 up a variety of recently introduced features.
29462 - Clients can now use microdescriptors instead of regular descriptors
29463 to build circuits. Microdescriptors are authority-generated
29464 summaries of regular descriptors' contents, designed to change
29465 very rarely (see proposal 158 for details). This feature is
29466 designed to save bandwidth, especially for clients on slow internet
29467 connections. It's off by default for now, since nearly no caches
29468 support it, but it will be on-by-default for clients in a future
29469 version. You can use the UseMicrodescriptors option to turn it on.
29470 - Tor clients using bridges can now be configured to use a separate
29471 'transport' proxy for each bridge. This approach helps to resist
29472 censorship by allowing bridges to use protocol obfuscation
29473 plugins. It implements part of proposal 180. Implements ticket 2841.
29474 - While we're trying to bootstrap, record how many TLS connections
29475 fail in each state, and report which states saw the most failures
29476 in response to any bootstrap failures. This feature may speed up
29477 diagnosis of censorship events. Implements ticket 3116.
29479 o Major bugfixes (on 0.2.3.1-alpha):
29480 - When configuring a large set of nodes in EntryNodes (as with
29481 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
29482 random subset to be guards, and choose them in random
29483 order. Fixes bug 2798.
29484 - Tor could crash when remembering a consensus in a non-used consensus
29485 flavor without having a current consensus set. Fixes bug 3361.
29486 - Comparing an unknown address to a microdescriptor's shortened exit
29487 policy would always give a "rejected" result. Fixes bug 3599.
29488 - Using microdescriptors as a client no longer prevents Tor from
29489 uploading and downloading hidden service descriptors. Fixes
29493 - Allow nameservers with IPv6 address. Resolves bug 2574.
29494 - Accept attempts to include a password authenticator in the
29495 handshake, as supported by SOCKS5. This handles SOCKS clients that
29496 don't know how to omit a password when authenticating. Resolves
29498 - When configuring a large set of nodes in EntryNodes, and there are
29499 enough of them listed as Guard so that we don't need to consider
29500 the non-guard entries, prefer the ones listed with the Guard flag.
29501 - Check for and recover from inconsistency in the microdescriptor
29502 cache. This will make it harder for us to accidentally free a
29503 microdescriptor without removing it from the appropriate data
29504 structures. Fixes issue 3135; issue noted by "wanoskarnet".
29505 - Log SSL state transitions at log level DEBUG, log domain
29506 HANDSHAKE. This can be useful for debugging censorship events.
29507 Implements ticket 3264.
29508 - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
29509 implements ticket 3439.
29511 o Minor bugfixes (on 0.2.3.1-alpha):
29512 - Do not free all general-purpose regular descriptors just
29513 because microdescriptor use is enabled. Fixes bug 3113.
29514 - Correctly link libevent_openssl when --enable-static-libevent
29515 is passed to configure. Fixes bug 3118.
29516 - Bridges should not complain during their heartbeat log messages that
29517 they are unlisted in the consensus: that's more or less the point
29518 of being a bridge. Fixes bug 3183.
29519 - Report a SIGNAL event to controllers when acting on a delayed
29520 SIGNAL NEWNYM command. Previously, we would report a SIGNAL
29521 event to the controller if we acted on a SIGNAL NEWNYM command
29522 immediately, and otherwise not report a SIGNAL event for the
29523 command at all. Fixes bug 3349.
29524 - Fix a crash when handling the SIGNAL controller command or
29525 reporting ERR-level status events with bufferevents enabled. Found
29526 by Robert Ransom. Fixes bug 3367.
29527 - Always ship the tor-fw-helper manpage in our release tarballs.
29528 Fixes bug 3389. Reported by Stephen Walker.
29529 - Fix a class of double-mark-for-close bugs when bufferevents
29530 are enabled. Fixes bug 3403.
29531 - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
29532 - Add SIGNAL to the list returned by the 'GETINFO events/names'
29533 control-port command. Fixes part of bug 3465.
29534 - Prevent using negative indices during unit test runs when read_all()
29535 fails. Spotted by coverity.
29536 - Fix a rare memory leak when checking the nodelist without it being
29537 present. Found by coverity.
29538 - Only try to download a microdescriptor-flavored consensus from
29539 a directory cache that provides them.
29541 o Minor bugfixes (on 0.2.2.x and earlier):
29542 - Assert that hidden-service-related operations are not performed
29543 using single-hop circuits. Previously, Tor would assert that
29544 client-side streams are not attached to single-hop circuits,
29545 but not that other sensitive operations on the client and service
29546 side are not performed using single-hop circuits. Fixes bug 3332;
29548 - Don't publish a new relay descriptor when we reload our onion key,
29549 unless the onion key has actually changed. Fixes bug 3263 and
29550 resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
29551 - Allow GETINFO fingerprint to return a fingerprint even when
29552 we have not yet built a router descriptor. Fixes bug 3577;
29553 bugfix on 0.2.0.1-alpha.
29554 - Make 'tor --digests' list hashes of all Tor source files. Bugfix
29555 on 0.2.2.4-alpha; fixes bug 3427.
29557 o Code simplification and refactoring:
29558 - Use tor_sscanf() in place of scanf() in more places through the
29559 code. This makes us a little more locale-independent, and
29560 should help shut up code-analysis tools that can't tell
29561 a safe sscanf string from a dangerous one.
29562 - Use tt_assert(), not tor_assert(), for checking for test failures.
29563 This makes the unit tests more able to go on in the event that
29565 - Split connection_about_to_close() into separate functions for each
29569 - On Windows, we now define the _WIN32_WINNT macros only if they
29570 are not already defined. This lets the person building Tor decide,
29571 if they want, to require a later version of Windows.
29574 Changes in version 0.2.2.30-rc - 2011-07-07
29575 Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
29576 series. It fixes a few smaller bugs, but generally appears stable.
29577 Please test it and let us know whether it is!
29580 - Send a SUCCEEDED stream event to the controller when a reverse
29581 resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
29582 discovered by katmagic.
29583 - Always NUL-terminate the sun_path field of a sockaddr_un before
29584 passing it to the kernel. (Not a security issue: kernels are
29585 smart enough to reject bad sockaddr_uns.) Found by Coverity;
29586 CID #428. Bugfix on Tor 0.2.0.3-alpha.
29587 - Don't stack-allocate the list of supplementary GIDs when we're
29588 about to log them. Stack-allocating NGROUPS_MAX gid_t elements
29589 could take up to 256K, which is way too much stack. Found by
29590 Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
29591 - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
29592 events/names' control-port command. Bugfix on 0.2.2.9-alpha;
29593 fixes part of bug 3465.
29594 - Fix a memory leak when receiving a descriptor for a hidden
29595 service we didn't ask for. Found by Coverity; CID #30. Bugfix
29599 - Update to the July 1 2011 Maxmind GeoLite Country database.
29602 Changes in version 0.2.2.29-beta - 2011-06-20
29603 Tor 0.2.2.29-beta reverts an accidental behavior change for users who
29604 have bridge lines in their torrc but don't want to use them; gets
29605 us closer to having the control socket feature working on Debian;
29606 and fixes a variety of smaller bugs.
29609 - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
29610 When we changed the default behavior to "use bridges if any
29611 are listed in the torrc", we surprised users who had bridges
29612 in their torrc files but who didn't actually want to use them.
29613 Partial resolution for bug 3354.
29616 - Don't attach new streams to old rendezvous circuits after SIGNAL
29617 NEWNYM. Previously, we would keep using an existing rendezvous
29618 circuit if it remained open (i.e. if it were kept open by a
29619 long-lived stream, or if a new stream were attached to it before
29620 Tor could notice that it was old and no longer in use). Bugfix on
29621 0.1.1.15-rc; fixes bug 3375.
29624 - Fix a bug when using ControlSocketsGroupWritable with User. The
29625 directory's group would be checked against the current group, not
29626 the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
29627 bugfix on 0.2.2.26-beta.
29628 - Make connection_printf_to_buf()'s behavior sane. Its callers
29629 expect it to emit a CRLF iff the format string ends with CRLF;
29630 it actually emitted a CRLF iff (a) the format string ended with
29631 CRLF or (b) the resulting string was over 1023 characters long or
29632 (c) the format string did not end with CRLF *and* the resulting
29633 string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
29634 fixes part of bug 3407.
29635 - Make send_control_event_impl()'s behavior sane. Its callers
29636 expect it to always emit a CRLF at the end of the string; it
29637 might have emitted extra control characters as well. Bugfix on
29638 0.1.1.9-alpha; fixes another part of bug 3407.
29639 - Make crypto_rand_int() check the value of its input correctly.
29640 Previously, it accepted values up to UINT_MAX, but could return a
29641 negative number if given a value above INT_MAX+1. Found by George
29642 Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
29643 - Avoid a segfault when reading a malformed circuit build state
29644 with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
29646 - When asked about a DNS record type we don't support via a
29647 client DNSPort, reply with NOTIMPL rather than an empty
29648 reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
29649 - Fix a rare memory leak during stats writing. Found by coverity.
29652 - Update to the June 1 2011 Maxmind GeoLite Country database.
29654 o Code simplifications and refactoring:
29655 - Remove some dead code as indicated by coverity.
29656 - Remove a few dead assignments during router parsing. Found by
29658 - Add some forgotten return value checks during unit tests. Found
29660 - Don't use 1-bit wide signed bit fields. Found by coverity.
29663 Changes in version 0.2.2.28-beta - 2011-06-04
29664 Tor 0.2.2.28-beta makes great progress towards a new stable release: we
29665 fixed a big bug in whether relays stay in the consensus consistently,
29666 we moved closer to handling bridges and hidden services correctly,
29667 and we started the process of better handling the dreaded "my Vidalia
29668 died, and now my Tor demands a password when I try to reconnect to it"
29672 - Don't decide to make a new descriptor when receiving a HUP signal.
29673 This bug has caused a lot of 0.2.2.x relays to disappear from the
29674 consensus periodically. Fixes the most common case of triggering
29675 bug 1810; bugfix on 0.2.2.7-alpha.
29676 - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
29677 - Don't try to build descriptors if "ORPort auto" is set and we
29678 don't know our actual ORPort yet. Fix for bug 3216; bugfix on
29680 - Resolve a crash that occurred when setting BridgeRelay to 1 with
29681 accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
29682 - Apply circuit timeouts to opened hidden-service-related circuits
29683 based on the correct start time. Previously, we would apply the
29684 circuit build timeout based on time since the circuit's creation;
29685 it was supposed to be applied based on time since the circuit
29686 entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
29687 - Use the same circuit timeout for client-side introduction
29688 circuits as for other four-hop circuits, rather than the timeout
29689 for single-hop directory-fetch circuits; the shorter timeout may
29690 have been appropriate with the static circuit build timeout in
29691 0.2.1.x and earlier, but caused many hidden service access attempts
29692 to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
29693 on 0.2.2.2-alpha; fixes another part of bug 1297.
29694 - In ticket 2511 we fixed a case where you could use an unconfigured
29695 bridge if you had configured it as a bridge the last time you ran
29696 Tor. Now fix another edge case: if you had configured it as a bridge
29697 but then switched to a different bridge via the controller, you
29698 would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
29702 - Add an __OwningControllerProcess configuration option and a
29703 TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
29704 that when it exits, Tor will shut down. Implements feature 3049.
29705 - If "UseBridges 1" is set and no bridges are configured, Tor will
29706 now refuse to build any circuits until some bridges are set.
29707 If "UseBridges auto" is set, Tor will use bridges if they are
29708 configured and we are not running as a server, but otherwise will
29709 make circuits as usual. The new default is "auto". Patch by anonym,
29710 so the Tails LiveCD can stop automatically revealing you as a Tor
29714 - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
29715 - Remove a trailing asterisk from "exit-policy/default" in the
29716 output of the control port command "GETINFO info/names". Bugfix
29718 - Use a wide type to hold sockets when built for 64-bit Windows builds.
29720 - Warn when the user configures two HiddenServiceDir lines that point
29721 to the same directory. Bugfix on 0.0.6 (the version introducing
29722 HiddenServiceDir); fixes bug 3289.
29723 - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
29724 part of bug 2748; bugfix on 0.2.0.10-alpha.
29725 - Log malformed requests for rendezvous descriptors as protocol
29726 warnings, not warnings. Also, use a more informative log message
29727 in case someone sees it at log level warning without prior
29728 info-level messages. Fixes the other part of bug 2748; bugfix
29730 - Clear the table recording the time of the last request for each
29731 hidden service descriptor from each HS directory on SIGNAL NEWNYM.
29732 Previously, we would clear our HS descriptor cache on SIGNAL
29733 NEWNYM, but if we had previously retrieved a descriptor (or tried
29734 to) from every directory responsible for it, we would refuse to
29735 fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
29737 - Fix a log message that said "bits" while displaying a value in
29738 bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
29740 - When checking for 1024-bit keys, check for 1024 bits, not 128
29741 bytes. This allows Tor to correctly discard keys of length 1017
29742 through 1023. Bugfix on 0.0.9pre5.
29745 - Relays now log the reason for publishing a new relay descriptor,
29746 so we have a better chance of hunting down instances of bug 1810.
29747 Resolves ticket 3252.
29748 - Revise most log messages that refer to nodes by nickname to
29749 instead use the "$key=nickname at address" format. This should be
29750 more useful, especially since nicknames are less and less likely
29751 to be unique. Resolves ticket 3045.
29752 - Log (at info level) when purging pieces of hidden-service-client
29753 state because of SIGNAL NEWNYM.
29756 - Remove undocumented option "-F" from tor-resolve: it hasn't done
29757 anything since 0.2.1.16-rc.
29760 Changes in version 0.2.2.27-beta - 2011-05-18
29761 Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
29762 release, and also adds a few more general bugfixes.
29765 - Fix a crash bug when changing bridges in a running Tor process.
29766 Fixes bug 3213; bugfix on 0.2.2.26-beta.
29767 - When the controller configures a new bridge, don't wait 10 to 60
29768 seconds before trying to fetch its descriptor. Bugfix on
29769 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
29772 - Require that onion keys have exponent 65537 in microdescriptors too.
29773 Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
29774 - Tor used to limit HttpProxyAuthenticator values to 48 characters.
29775 Changed the limit to 512 characters by removing base64 newlines.
29776 Fixes bug 2752. Fix by Michael Yakubovich.
29777 - When a client starts or stops using bridges, never use a circuit
29778 that was built before the configuration change. This behavior could
29779 put at risk a user who uses bridges to ensure that her traffic
29780 only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
29784 Changes in version 0.2.2.26-beta - 2011-05-17
29785 Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
29786 also introduces a new "socksport auto" approach that should make it
29787 easier to run multiple Tors on the same system, and does a lot of
29788 cleanup to get us closer to a release candidate.
29790 o Security/privacy fixes:
29791 - Replace all potentially sensitive memory comparison operations
29792 with versions whose runtime does not depend on the data being
29793 compared. This will help resist a class of attacks where an
29794 adversary can use variations in timing information to learn
29795 sensitive data. Fix for one case of bug 3122. (Safe memcmp
29796 implementation by Robert Ransom based partially on code by DJB.)
29797 - When receiving a hidden service descriptor, check that it is for
29798 the hidden service we wanted. Previously, Tor would store any
29799 hidden service descriptors that a directory gave it, whether it
29800 wanted them or not. This wouldn't have let an attacker impersonate
29801 a hidden service, but it did let directories pre-seed a client
29802 with descriptors that it didn't want. Bugfix on 0.0.6.
29803 - On SIGHUP, do not clear out all TrackHostExits mappings, client
29804 DNS cache entries, and virtual address mappings: that's what
29805 NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
29808 - The options SocksPort, ControlPort, and so on now all accept a
29809 value "auto" that opens a socket on an OS-selected port. A
29810 new ControlPortWriteToFile option tells Tor to write its
29811 actual control port or ports to a chosen file. If the option
29812 ControlPortFileGroupReadable is set, the file is created as
29813 group-readable. Now users can run two Tor clients on the same
29814 system without needing to manually mess with parameters. Resolves
29815 part of ticket 3076.
29816 - Set SO_REUSEADDR on all sockets, not just listeners. This should
29817 help busy exit nodes avoid running out of useable ports just
29818 because all the ports have been used in the near past. Resolves
29822 - New "GETINFO net/listeners/(type)" controller command to return
29823 a list of addresses and ports that are bound for listeners for a
29824 given connection type. This is useful when the user has configured
29825 "SocksPort auto" and the controller needs to know which port got
29826 chosen. Resolves another part of ticket 3076.
29827 - Add a new ControlSocketsGroupWritable configuration option: when
29828 it is turned on, ControlSockets are group-writeable by the default
29829 group of the current user. Patch by Jérémy Bobbio; implements
29831 - Tor now refuses to create a ControlSocket in a directory that is
29832 world-readable (or group-readable if ControlSocketsGroupWritable
29833 is 0). This is necessary because some operating systems do not
29834 enforce permissions on an AF_UNIX sockets. Permissions on the
29835 directory holding the socket, however, seems to work everywhere.
29836 - Rate-limit a warning about failures to download v2 networkstatus
29837 documents. Resolves part of bug 1352.
29838 - Backport code from 0.2.3.x that allows directory authorities to
29839 clean their microdescriptor caches. Needed to resolve bug 2230.
29840 - When an HTTPS proxy reports "403 Forbidden", we now explain
29841 what it means rather than calling it an unexpected status code.
29842 Closes bug 2503. Patch from Michael Yakubovich.
29843 - Update to the May 1 2011 Maxmind GeoLite Country database.
29846 - Authorities now clean their microdesc cache periodically and when
29847 reading from disk initially, not only when adding new descriptors.
29848 This prevents a bug where we could lose microdescriptors. Bugfix
29849 on 0.2.2.6-alpha. Fixes bug 2230.
29850 - Do not crash when our configuration file becomes unreadable, for
29851 example due to a permissions change, between when we start up
29852 and when a controller calls SAVECONF. Fixes bug 3135; bugfix
29854 - Avoid a bug that would keep us from replacing a microdescriptor
29855 cache on Windows. (We would try to replace the file while still
29856 holding it open. That's fine on Unix, but Windows doesn't let us
29857 do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
29858 - Add missing explanations for the authority-related torrc options
29859 RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
29860 man page. Resolves issue 2379.
29861 - As an authority, do not upload our own vote or signature set to
29862 ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
29863 it would get flagged as a duplicate. Resolves bug 3026.
29864 - Accept hidden service descriptors if we think we might be a hidden
29865 service directory, regardless of what our consensus says. This
29866 helps robustness, since clients and hidden services can sometimes
29867 have a more up-to-date view of the network consensus than we do,
29868 and if they think that the directory authorities list us a HSDir,
29869 we might actually be one. Related to bug 2732; bugfix on
29871 - When a controller changes TrackHostExits, remove mappings for
29872 hosts that should no longer have their exits tracked. Bugfix on
29874 - When a controller changes VirtualAddrNetwork, remove any mappings
29875 for hosts that were automapped to the old network. Bugfix on
29877 - When a controller changes one of the AutomapHosts* options, remove
29878 any mappings for hosts that should no longer be automapped. Bugfix
29880 - Do not reset the bridge descriptor download status every time we
29881 re-parse our configuration or get a configuration change. Fixes
29882 bug 3019; bugfix on 0.2.0.3-alpha.
29884 o Minor bugfixes (code cleanup):
29885 - When loading the microdesc journal, remember its current size.
29886 In 0.2.2, this helps prevent the microdesc journal from growing
29887 without limit on authorities (who are the only ones to use it in
29888 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
29889 Fix posted by "cypherpunks."
29890 - The microdesc journal is supposed to get rebuilt only if it is
29891 at least _half_ the length of the store, not _twice_ the length
29892 of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
29893 - Fix a potential null-pointer dereference while computing a
29894 consensus. Bugfix on 0.2.0.3-alpha, found with the help of
29896 - Avoid a possible null-pointer dereference when rebuilding the mdesc
29897 cache without actually having any descriptors to cache. Bugfix on
29898 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
29899 - If we fail to compute the identity digest of a v3 legacy keypair,
29900 warn, and don't use a buffer-full of junk instead. Bugfix on
29901 0.2.1.1-alpha; fixes bug 3106.
29902 - Resolve an untriggerable issue in smartlist_string_num_isin(),
29903 where if the function had ever in the future been used to check
29904 for the presence of a too-large number, it would have given an
29905 incorrect result. (Fortunately, we only used it for 16-bit
29906 values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
29907 - Require that introduction point keys and onion handshake keys
29908 have a public exponent of 65537. Starts to fix bug 3207; bugfix
29911 o Removed features:
29912 - Caches no longer download and serve v2 networkstatus documents
29913 unless FetchV2Networkstatus flag is set: these documents haven't
29914 haven't been used by clients or relays since 0.2.0.x. Resolves
29918 Changes in version 0.2.3.1-alpha - 2011-05-05
29919 Tor 0.2.3.1-alpha adds some new experimental features, including support
29920 for an improved network IO backend, IOCP networking on Windows,
29921 microdescriptor caching, "fast-start" support for streams, and automatic
29922 home router configuration. There are also numerous internal improvements
29923 to try to make the code easier for developers to work with.
29925 This is the first alpha release in a new series, so expect there to be
29926 bugs. Users who would rather test out a more stable branch should
29927 stay with 0.2.2.x for now.
29930 - Tor can now optionally build with the "bufferevents" buffered IO
29931 backend provided by Libevent 2. To use this feature, make sure you
29932 have the latest possible version of Libevent, and pass the
29933 --enable-bufferevents flag to configure when building Tor from
29934 source. This feature will make our networking code more flexible,
29935 let us stack layers on each other, and let us use more efficient
29936 zero-copy transports where available.
29937 - As an experimental feature, Tor can use IOCP for networking on Windows.
29938 Once this code is tuned and optimized, it promises much better
29939 performance than the select-based backend we've used in the past. To
29940 try this feature, you must build Tor with Libevent 2, configure Tor
29941 with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
29942 your torrc. There are known bugs here: only try this if you can help
29943 debug it as it breaks.
29944 - The EntryNodes option can now include country codes like {de} or IP
29945 addresses or network masks. Previously we had disallowed these options
29946 because we didn't have an efficient way to keep the list up to
29947 date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
29948 - Exit nodes now accept and queue data on not-yet-connected streams.
29949 Previously, the client wasn't allowed to send data until the stream was
29950 connected, which slowed down all connections. This change will enable
29951 clients to perform a "fast-start" on streams and send data without
29952 having to wait for a confirmation that the stream has opened. (Patch
29953 from Ian Goldberg; implements the server side of Proposal 174.)
29954 - Tor now has initial support for automatic port mapping on the many
29955 home routers that support NAT-PMP or UPnP. (Not yet supported on
29956 Windows). To build the support code, you'll need to have libnatpnp
29957 library and/or the libminiupnpc library, and you'll need to enable the
29958 feature specifically by passing "--enable-upnp" and/or
29959 "--enable-natpnp" to configure. To turn it on, use the new
29960 PortForwarding option.
29961 - Caches now download, cache, and serve multiple "flavors" of the
29962 consensus, including a flavor that describes microdescriptors.
29963 - Caches now download, cache, and serve microdescriptors -- small
29964 summaries of router descriptors that are authenticated by all of the
29965 directory authorities. Once enough caches are running this code,
29966 clients will be able to save significant amounts of directory bandwidth
29967 by downloading microdescriptors instead of router descriptors.
29970 - Make logging resolution configurable with a new LogTimeGranularity
29971 option, and change the default from 1 millisecond to 1 second.
29972 Implements enhancement 1668.
29973 - We log which torrc file we're using on startup. Implements ticket
29975 - Ordinarily, Tor does not count traffic from private addresses (like
29976 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
29977 There is now a new option, CountPrivateBandwidth, to disable this
29978 behavior. Patch from Daniel Cagara.
29979 - New --enable-static-tor configure option for building Tor as
29980 statically as possible. Idea, general hackery and thoughts from
29981 Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
29983 - If you set the NumCPUs option to 0, Tor will now try to detect how
29984 many CPUs you have. This is the new default behavior.
29985 - Turn on directory request statistics by default and include them in
29986 extra-info descriptors. Don't break if we have no GeoIP database.
29987 - Relays that set "ConnDirectionStatistics 1" write statistics on the
29988 bidirectional use of connections to disk every 24 hours.
29989 - Add a GeoIP file digest to the extra-info descriptor. Implements
29991 - The NodeFamily option -- which let you declare that you want to
29992 consider nodes to be part of a family whether they list themselves
29993 that way or not -- now allows IP address ranges and country codes.
29994 - Add a new 'Heartbeat' log message type to periodically log a message
29995 describing Tor's status at level Notice. This feature is meant for
29996 operators who log at notice, and want to make sure that their Tor
29997 server is still working. Implementation by George Kadianakis.
29999 o Minor bugfixes (on 0.2.2.25-alpha):
30000 - When loading the microdesc journal, remember its current size.
30001 In 0.2.2, this helps prevent the microdesc journal from growing
30002 without limit on authorities (who are the only ones to use it in
30003 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
30004 Fix posted by "cypherpunks."
30005 - The microdesc journal is supposed to get rebuilt only if it is
30006 at least _half_ the length of the store, not _twice_ the length
30007 of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
30008 - If as an authority we fail to compute the identity digest of a v3
30009 legacy keypair, warn, and don't use a buffer-full of junk instead.
30010 Bugfix on 0.2.1.1-alpha; fixes bug 3106.
30011 - Authorities now clean their microdesc cache periodically and when
30012 reading from disk initially, not only when adding new descriptors.
30013 This prevents a bug where we could lose microdescriptors. Bugfix
30016 o Minor features (controller):
30017 - Add a new SIGNAL event to the controller interface so that
30018 controllers can be notified when Tor handles a signal. Resolves
30019 issue 1955. Patch by John Brooks.
30020 - Add a new GETINFO option to get total bytes read and written. Patch
30021 from pipe, revised by atagar. Resolves ticket 2345.
30022 - Implement some GETINFO controller fields to provide information about
30023 the Tor process's pid, euid, username, and resource limits.
30026 - Our build system requires automake 1.6 or later to create the
30027 Makefile.in files. Previously, you could have used 1.4.
30028 This only affects developers and people building Tor from git;
30029 people who build Tor from the source distribution without changing
30030 the Makefile.am files should be fine.
30031 - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
30032 so on. This is more robust against some of the failure modes
30033 associated with running the autotools pieces on their own.
30035 o Minor packaging issues:
30036 - On OpenSUSE, create the /var/run/tor directory on startup if it is not
30037 already created. Patch from Andreas Stieger. Fixes bug 2573.
30039 o Code simplifications and refactoring:
30040 - A major revision to our internal node-selecting and listing logic.
30041 Tor already had at least two major ways to look at the question of
30042 "which Tor servers do we know about": a list of router descriptors,
30043 and a list of entries in the current consensus. With
30044 microdescriptors, we're adding a third. Having so many systems
30045 without an abstraction layer over them was hurting the codebase.
30046 Now, we have a new "node_t" abstraction that presents a consistent
30047 interface to a client's view of a Tor node, and holds (nearly) all
30048 of the mutable state formerly in routerinfo_t and routerstatus_t.
30049 - The helper programs tor-gencert, tor-resolve, and tor-checkkey
30050 no longer link against Libevent: they never used it, but
30051 our library structure used to force them to link it.
30053 o Removed features:
30054 - Remove some old code to work around even older versions of Tor that
30055 used forked processes to handle DNS requests. Such versions of Tor
30056 are no longer in use as servers.
30058 o Documentation fixes:
30059 - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
30060 - Add missing documentation for the authority-related torrc options
30061 RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
30065 Changes in version 0.2.2.25-alpha - 2011-04-29
30066 Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
30067 robust, routers no longer overreport their bandwidth, Win7 should crash
30068 a little less, and NEWNYM (as used by Vidalia's "new identity" button)
30069 now prevents hidden service-related activity from being linkable. It
30070 provides more information to Vidalia so you can see if your bridge is
30071 working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
30072 StrictNodes configuration options to make them more reliable, more
30073 understandable, and more regularly applied. If you use those options,
30074 please see the revised documentation for them in the manual page.
30077 - Relays were publishing grossly inflated bandwidth values because
30078 they were writing their state files wrong--now they write the
30079 correct value. Also, resume reading bandwidth history from the
30080 state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
30081 - Improve hidden service robustness: When we find that we have
30082 extended a hidden service's introduction circuit to a relay not
30083 listed as an introduction point in the HS descriptor we currently
30084 have, retry with an introduction point from the current
30085 descriptor. Previously we would just give up. Fixes bugs 1024 and
30086 1930; bugfix on 0.2.0.10-alpha.
30087 - Clients now stop trying to use an exit node associated with a given
30088 destination by TrackHostExits if they fail to reach that exit node.
30089 Fixes bug 2999. Bugfix on 0.2.0.20-rc.
30090 - Fix crash bug on platforms where gmtime and localtime can return
30091 NULL. Windows 7 users were running into this one. Fixes part of bug
30092 2077. Bugfix on all versions of Tor. Found by boboper.
30094 o Security and stability fixes:
30095 - Don't double-free a parsable, but invalid, microdescriptor, even if
30096 it is followed in the blob we're parsing by an unparsable
30097 microdescriptor. Fixes an issue reported in a comment on bug 2954.
30098 Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
30099 - If the Nickname configuration option isn't given, Tor would pick a
30100 nickname based on the local hostname as the nickname for a relay.
30101 Because nicknames are not very important in today's Tor and the
30102 "Unnamed" nickname has been implemented, this is now problematic
30103 behavior: It leaks information about the hostname without being
30104 useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
30105 introduced the Unnamed nickname. Reported by tagnaq.
30106 - Fix an uncommon assertion failure when running with DNSPort under
30107 heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
30108 - Avoid linkability based on cached hidden service descriptors: forget
30109 all hidden service descriptors cached as a client when processing a
30110 SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
30113 - Export GeoIP information on bridge usage to controllers even if we
30114 have not yet been running for 24 hours. Now Vidalia bridge operators
30115 can get more accurate and immediate feedback about their
30116 contributions to the network.
30118 o Major features and bugfixes (node selection):
30119 - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
30120 ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
30121 options. Previously, we had been ambiguous in describing what
30122 counted as an "exit" node, and what operations exactly "StrictNodes
30123 0" would permit. This created confusion when people saw nodes built
30124 through unexpected circuits, and made it hard to tell real bugs from
30125 surprises. Now the intended behavior is:
30126 . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
30127 a node that delivers user traffic outside the Tor network.
30128 . "Entry", in the context of EntryNodes, means a node used as the
30129 first hop of a multihop circuit. It doesn't include direct
30130 connections to directory servers.
30131 . "ExcludeNodes" applies to all nodes.
30132 . "StrictNodes" changes the behavior of ExcludeNodes only. When
30133 StrictNodes is set, Tor should avoid all nodes listed in
30134 ExcludeNodes, even when it will make user requests fail. When
30135 StrictNodes is *not* set, then Tor should follow ExcludeNodes
30136 whenever it can, except when it must use an excluded node to
30137 perform self-tests, connect to a hidden service, provide a
30138 hidden service, fulfill a .exit request, upload directory
30139 information, or fetch directory information.
30140 Collectively, the changes to implement the behavior fix bug 1090.
30141 - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
30142 a node is listed in both, it's treated as excluded.
30143 - ExcludeNodes now applies to directory nodes -- as a preference if
30144 StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
30145 Don't exclude all the directory authorities and set StrictNodes to 1
30146 unless you really want your Tor to break.
30147 - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
30148 - ExcludeExitNodes now overrides .exit requests.
30149 - We don't use bridges listed in ExcludeNodes.
30150 - When StrictNodes is 1:
30151 . We now apply ExcludeNodes to hidden service introduction points
30152 and to rendezvous points selected by hidden service users. This
30153 can make your hidden service less reliable: use it with caution!
30154 . If we have used ExcludeNodes on ourself, do not try relay
30155 reachability self-tests.
30156 . If we have excluded all the directory authorities, we will not
30157 even try to upload our descriptor if we're a relay.
30158 . Do not honor .exit requests to an excluded node.
30159 - Remove a misfeature that caused us to ignore the Fast/Stable flags
30160 when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
30161 - When the set of permitted nodes changes, we now remove any mappings
30162 introduced via TrackExitHosts to now-excluded nodes. Bugfix on
30164 - We never cannibalize a circuit that had excluded nodes on it, even
30165 if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
30166 - Revert a change where we would be laxer about attaching streams to
30167 circuits than when building the circuits. This was meant to prevent
30168 a set of bugs where streams were never attachable, but our improved
30169 code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
30170 - Keep track of how many times we launch a new circuit to handle a
30171 given stream. Too many launches could indicate an inconsistency
30172 between our "launch a circuit to handle this stream" logic and our
30173 "attach this stream to one of the available circuits" logic.
30174 - Improve log messages related to excluded nodes.
30177 - Fix a spurious warning when moving from a short month to a long
30178 month on relays with month-based BandwidthAccounting. Bugfix on
30179 0.2.2.17-alpha; fixes bug 3020.
30180 - When a client finds that an origin circuit has run out of 16-bit
30181 stream IDs, we now mark it as unusable for new streams. Previously,
30182 we would try to close the entire circuit. Bugfix on 0.0.6.
30183 - Add a forgotten cast that caused a compile warning on OS X 10.6.
30184 Bugfix on 0.2.2.24-alpha.
30185 - Be more careful about reporting the correct error from a failed
30186 connect() system call. Under some circumstances, it was possible to
30187 look at an incorrect value for errno when sending the end reason.
30188 Bugfix on 0.1.0.1-rc.
30189 - Correctly handle an "impossible" overflow cases in connection byte
30190 counting, where we write or read more than 4GB on an edge connection
30191 in a single second. Bugfix on 0.1.2.8-beta.
30192 - Correct the warning displayed when a rendezvous descriptor exceeds
30193 the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
30195 - Clients and hidden services now use HSDir-flagged relays for hidden
30196 service descriptor downloads and uploads even if the relays have no
30197 DirPort set and the client has disabled TunnelDirConns. This will
30198 eventually allow us to give the HSDir flag to relays with no
30199 DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
30200 - Downgrade "no current certificates known for authority" message from
30201 Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
30202 - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
30203 2917. Bugfix on 0.1.1.1-alpha.
30204 - Only limit the lengths of single HS descriptors, even when multiple
30205 HS descriptors are published to an HSDir relay in a single POST
30206 operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
30207 - Write the current time into the LastWritten line in our state file,
30208 rather than the time from the previous write attempt. Also, stop
30209 trying to use a time of -1 in our log statements. Fixes bug 3039;
30210 bugfix on 0.2.2.14-alpha.
30211 - Be more consistent in our treatment of file system paths. "~" should
30212 get expanded to the user's home directory in the Log config option.
30213 Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
30214 feature for the -f and --DataDirectory options.
30217 - Make sure every relay writes a state file at least every 12 hours.
30218 Previously, a relay could go for weeks without writing its state
30219 file, and on a crash could lose its bandwidth history, capacity
30220 estimates, client country statistics, and so on. Addresses bug 3012.
30221 - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
30222 Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
30223 clients are already deprecated because of security bugs.
30224 - Don't allow v0 hidden service authorities to act as clients.
30225 Required by fix for bug 3000.
30226 - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
30227 by fix for bug 3000.
30228 - Ensure that no empty [dirreq-](read|write)-history lines are added
30229 to an extrainfo document. Implements ticket 2497.
30231 o Code simplification and refactoring:
30232 - Remove workaround code to handle directory responses from servers
30233 that had bug 539 (they would send HTTP status 503 responses _and_
30234 send a body too). Since only server versions before
30235 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
30236 keep the workaround in place.
30237 - Remove the old 'fuzzy time' logic. It was supposed to be used for
30238 handling calculations where we have a known amount of clock skew and
30239 an allowed amount of unknown skew. But we only used it in three
30240 places, and we never adjusted the known/unknown skew values. This is
30241 still something we might want to do someday, but if we do, we'll
30242 want to do it differently.
30243 - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
30244 None of the cases where we did this before were wrong, but by making
30245 this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
30246 - Use GetTempDir to find the proper temporary directory location on
30247 Windows when generating temporary files for the unit tests. Patch by
30251 Changes in version 0.2.2.24-alpha - 2011-04-08
30252 Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
30253 prevented Tor clients from effectively using "multihomed" bridges,
30254 that is, bridges that listen on multiple ports or IP addresses so users
30255 can continue to use some of their addresses even if others get blocked.
30258 - Fix a bug where bridge users who configure the non-canonical
30259 address of a bridge automatically switch to its canonical
30260 address. If a bridge listens at more than one address, it should be
30261 able to advertise those addresses independently and any non-blocked
30262 addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
30264 - If you configured Tor to use bridge A, and then quit and
30265 configured Tor to use bridge B instead, it would happily continue
30266 to use bridge A if it's still reachable. While this behavior is
30267 a feature if your goal is connectivity, in some scenarios it's a
30268 dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
30269 - Directory authorities now use data collected from their own
30270 uptime observations when choosing whether to assign the HSDir flag
30271 to relays, instead of trusting the uptime value the relay reports in
30272 its descriptor. This change helps prevent an attack where a small
30273 set of nodes with frequently-changing identity keys can blackhole
30274 a hidden service. (Only authorities need upgrade; others will be
30275 fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
30278 - When we restart our relay, we might get a successful connection
30279 from the outside before we've started our reachability tests,
30280 triggering a warning: "ORPort found reachable, but I have no
30281 routerinfo yet. Failing to inform controller of success." This
30282 bug was harmless unless Tor is running under a controller
30283 like Vidalia, in which case the controller would never get a
30284 REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
30286 - Make directory authorities more accurate at recording when
30287 relays that have failed several reachability tests became
30288 unreachable, so we can provide more accuracy at assigning Stable,
30289 Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
30290 - Fix an issue that prevented static linking of libevent on
30291 some platforms (notably Linux). Fixes bug 2698; bugfix on
30292 versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
30293 the --with-static-libevent configure option).
30294 - We now ask the other side of a stream (the client or the exit)
30295 for more data on that stream when the amount of queued data on
30296 that stream dips low enough. Previously, we wouldn't ask the
30297 other side for more data until either it sent us more data (which
30298 it wasn't supposed to do if it had exhausted its window!) or we
30299 had completely flushed all our queued data. This flow control fix
30300 should improve throughput. Fixes bug 2756; bugfix on the earliest
30301 released versions of Tor (svn commit r152).
30302 - Avoid a double-mark-for-free warning when failing to attach a
30303 transparent proxy connection. (We thought we had fixed this in
30304 0.2.2.23-alpha, but it turns out our fix was checking the wrong
30305 connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
30306 bug) and 0.2.2.23-alpha (the incorrect fix).
30307 - When warning about missing zlib development packages during compile,
30308 give the correct package names. Bugfix on 0.2.0.1-alpha.
30311 - Directory authorities now log the source of a rejected POSTed v3
30312 networkstatus vote.
30313 - Make compilation with clang possible when using
30314 --enable-gcc-warnings by removing two warning options that clang
30315 hasn't implemented yet and by fixing a few warnings. Implements
30317 - When expiring circuits, use microsecond timers rather than
30318 one-second timers. This can avoid an unpleasant situation where a
30319 circuit is launched near the end of one second and expired right
30320 near the beginning of the next, and prevent fluctuations in circuit
30322 - Use computed circuit-build timeouts to decide when to launch
30323 parallel introduction circuits for hidden services. (Previously,
30324 we would retry after 15 seconds.)
30325 - Update to the April 1 2011 Maxmind GeoLite Country database.
30328 - Create the /var/run/tor directory on startup on OpenSUSE if it is
30329 not already created. Patch from Andreas Stieger. Fixes bug 2573.
30331 o Documentation changes:
30332 - Modernize the doxygen configuration file slightly. Fixes bug 2707.
30333 - Resolve all doxygen warnings except those for missing documentation.
30335 - Add doxygen documentation for more functions, fields, and types.
30338 Changes in version 0.2.2.23-alpha - 2011-03-08
30339 Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
30340 they restart they don't lose their bandwidth capacity estimate. This
30341 release also fixes a diverse set of user-facing bugs, ranging from
30342 relays overrunning their rate limiting to clients falsely warning about
30343 clock skew to bridge descriptor leaks by our bridge directory authority.
30346 - Stop sending a CLOCK_SKEW controller status event whenever
30347 we fetch directory information from a relay that has a wrong clock.
30348 Instead, only inform the controller when it's a trusted authority
30349 that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
30350 the rest of bug 1074.
30351 - Fix an assert in parsing router descriptors containing IPv6
30352 addresses. This one took down the directory authorities when
30353 somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
30354 - Make the bridge directory authority refuse to answer directory
30355 requests for "all" descriptors. It used to include bridge
30356 descriptors in its answer, which was a major information leak.
30357 Found by "piebeer". Bugfix on 0.2.0.3-alpha.
30358 - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
30359 Tor would ignore their RelayBandwidthBurst setting,
30360 potentially using more bandwidth than expected. Bugfix on
30361 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
30362 - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
30363 hidserv" in her torrc. The 'hidserv' argument never controlled
30364 publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
30367 - Relays now save observed peak bandwidth throughput rates to their
30368 state file (along with total usage, which was already saved)
30369 so that they can determine their correct estimated bandwidth on
30370 restart. Resolves bug 1863, where Tor relays would reset their
30371 estimated bandwidth to 0 after restarting.
30372 - Directory authorities now take changes in router IP address and
30373 ORPort into account when determining router stability. Previously,
30374 if a router changed its IP or ORPort, the authorities would not
30375 treat it as having any downtime for the purposes of stability
30376 calculation, whereas clients would experience downtime since the
30377 change could take a while to propagate to them. Resolves issue 1035.
30378 - Enable Address Space Layout Randomization (ASLR) and Data Execution
30379 Prevention (DEP) by default on Windows to make it harder for
30380 attackers to exploit vulnerabilities. Patch from John Brooks.
30382 o Minor bugfixes (on 0.2.1.x and earlier):
30383 - Fix a rare crash bug that could occur when a client was configured
30384 with a large number of bridges. Fixes bug 2629; bugfix on
30385 0.2.1.2-alpha. Bugfix by trac user "shitlei".
30386 - Avoid a double mark-for-free warning when failing to attach a
30387 transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
30389 - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
30390 found by "cypherpunks". This bug was introduced before the first
30391 Tor release, in svn commit r110.
30392 - Country codes aren't supported in EntryNodes until 0.2.3.x, so
30393 don't mention them in the manpage. Fixes bug 2450; issue
30394 spotted by keb and G-Lo.
30395 - Fix a bug in bandwidth history state parsing that could have been
30396 triggered if a future version of Tor ever changed the timing
30397 granularity at which bandwidth history is measured. Bugfix on
30398 Tor 0.1.1.11-alpha.
30399 - When a relay decides that its DNS is too broken for it to serve
30400 as an exit server, it advertised itself as a non-exit, but
30401 continued to act as an exit. This could create accidental
30402 partitioning opportunities for users. Instead, if a relay is
30403 going to advertise reject *:* as its exit policy, it should
30404 really act with exit policy "reject *:*". Fixes bug 2366.
30405 Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
30406 - In the special case where you configure a public exit relay as your
30407 bridge, Tor would be willing to use that exit relay as the last
30408 hop in your circuit as well. Now we fail that circuit instead.
30409 Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
30410 - Fix a bug with our locking implementation on Windows that couldn't
30411 correctly detect when a file was already locked. Fixes bug 2504,
30412 bugfix on 0.2.1.6-alpha.
30413 - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
30414 Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
30416 - Set target port in get_interface_address6() correctly. Bugfix
30417 on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
30418 - Directory authorities are now more robust to hops back in time
30419 when calculating router stability. Previously, if a run of uptime
30420 or downtime appeared to be negative, the calculation could give
30421 incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
30423 - Fix an assert that got triggered when using the TestingTorNetwork
30424 configuration option and then issuing a GETINFO config-text control
30425 command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
30427 o Minor bugfixes (on 0.2.2.x):
30428 - Clients should not weight BadExit nodes as Exits in their node
30429 selection. Similarly, directory authorities should not count BadExit
30430 bandwidth as Exit bandwidth when computing bandwidth-weights.
30431 Bugfix on 0.2.2.10-alpha; fixes bug 2203.
30432 - Correctly clear our dir_read/dir_write history when there is an
30433 error parsing any bw history value from the state file. Bugfix on
30434 Tor 0.2.2.15-alpha.
30435 - Resolve a bug in verifying signatures of directory objects
30436 with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
30437 Fixes bug 2409. Found by "piebeer".
30438 - Bridge authorities no longer crash on SIGHUP when they try to
30439 publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
30443 - Log less aggressively about circuit timeout changes, and improve
30444 some other circuit timeout messages. Resolves bug 2004.
30445 - Log a little more clearly about the times at which we're no longer
30446 accepting new connections. Resolves bug 2181.
30447 - Reject attempts at the client side to open connections to private
30448 IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
30449 a randomly chosen exit node. Attempts to do so are always
30450 ill-defined, generally prevented by exit policies, and usually
30451 in error. This will also help to detect loops in transparent
30452 proxy configurations. You can disable this feature by setting
30453 "ClientRejectInternalAddresses 0" in your torrc.
30454 - Always treat failure to allocate an RSA key as an unrecoverable
30456 - Update to the March 1 2011 Maxmind GeoLite Country database.
30458 o Minor features (log subsystem):
30459 - Add documentation for configuring logging at different severities in
30460 different log domains. We've had this feature since 0.2.1.1-alpha,
30461 but for some reason it never made it into the manpage. Fixes
30463 - Make it simpler to specify "All log domains except for A and B".
30464 Previously you needed to say "[*,~A,~B]". Now you can just say
30466 - Add a "LogMessageDomains 1" option to include the domains of log
30467 messages along with the messages. Without this, there's no way
30468 to use log domains without reading the source or doing a lot
30471 o Packaging changes:
30472 - Stop shipping the Tor specs files and development proposal documents
30473 in the tarball. They are now in a separate git repository at
30474 git://git.torproject.org/torspec.git
30477 Changes in version 0.2.1.30 - 2011-02-23
30478 Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
30479 change is a slight tweak to Tor's TLS handshake that makes relays
30480 and bridges that run this new version reachable from Iran again.
30481 We don't expect this tweak will win the arms race long-term, but it
30482 buys us time until we roll out a better solution.
30485 - Stop sending a CLOCK_SKEW controller status event whenever
30486 we fetch directory information from a relay that has a wrong clock.
30487 Instead, only inform the controller when it's a trusted authority
30488 that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
30489 the rest of bug 1074.
30490 - Fix a bounds-checking error that could allow an attacker to
30491 remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
30492 Found by "piebeer".
30493 - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
30494 Tor would ignore their RelayBandwidthBurst setting,
30495 potentially using more bandwidth than expected. Bugfix on
30496 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
30497 - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
30498 hidserv" in her torrc. The 'hidserv' argument never controlled
30499 publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
30502 - Adjust our TLS Diffie-Hellman parameters to match those used by
30504 - Update to the February 1 2011 Maxmind GeoLite Country database.
30507 - Check for and reject overly long directory certificates and
30508 directory tokens before they have a chance to hit any assertions.
30509 Bugfix on 0.2.1.28. Found by "doorss".
30510 - Bring the logic that gathers routerinfos and assesses the
30511 acceptability of circuits into line. This prevents a Tor OP from
30512 getting locked in a cycle of choosing its local OR as an exit for a
30513 path (due to a .exit request) and then rejecting the circuit because
30514 its OR is not listed yet. It also prevents Tor clients from using an
30515 OR running in the same instance as an exit (due to a .exit request)
30516 if the OR does not meet the same requirements expected of an OR
30517 running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
30519 o Packaging changes:
30520 - Stop shipping the Tor specs files and development proposal documents
30521 in the tarball. They are now in a separate git repository at
30522 git://git.torproject.org/torspec.git
30523 - Do not include Git version tags as though they are SVN tags when
30524 generating a tarball from inside a repository that has switched
30525 between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
30528 Changes in version 0.2.2.22-alpha - 2011-01-25
30529 Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
30530 main other change is a slight tweak to Tor's TLS handshake that makes
30531 relays and bridges that run this new version reachable from Iran again.
30532 We don't expect this tweak will win the arms race long-term, but it
30533 will buy us a bit more time until we roll out a better solution.
30536 - Fix a bounds-checking error that could allow an attacker to
30537 remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
30538 Found by "piebeer".
30539 - Don't assert when changing from bridge to relay or vice versa
30540 via the controller. The assert happened because we didn't properly
30541 initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
30542 bug 2433. Reported by bastik.
30545 - Adjust our TLS Diffie-Hellman parameters to match those used by
30547 - Provide a log message stating which geoip file we're parsing
30548 instead of just stating that we're parsing the geoip file.
30549 Implements ticket 2432.
30552 - Check for and reject overly long directory certificates and
30553 directory tokens before they have a chance to hit any assertions.
30554 Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
30557 Changes in version 0.2.2.21-alpha - 2011-01-15
30558 Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
30559 continues our recent code security audit work. The main fix resolves
30560 a remote heap overflow vulnerability that can allow remote code
30561 execution (CVE-2011-0427). Other fixes address a variety of assert
30562 and crash bugs, most of which we think are hard to exploit remotely.
30564 o Major bugfixes (security), also included in 0.2.1.29:
30565 - Fix a heap overflow bug where an adversary could cause heap
30566 corruption. This bug probably allows remote code execution
30567 attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
30569 - Prevent a denial-of-service attack by disallowing any
30570 zlib-compressed data whose compression factor is implausibly
30571 high. Fixes part of bug 2324; reported by "doorss".
30572 - Zero out a few more keys in memory before freeing them. Fixes
30573 bug 2384 and part of bug 2385. These key instances found by
30574 "cypherpunks", based on Andrew Case's report about being able
30575 to find sensitive data in Tor's memory space if you have enough
30576 permissions. Bugfix on 0.0.2pre9.
30578 o Major bugfixes (crashes), also included in 0.2.1.29:
30579 - Prevent calls to Libevent from inside Libevent log handlers.
30580 This had potential to cause a nasty set of crashes, especially
30581 if running Libevent with debug logging enabled, and running
30582 Tor with a controller watching for low-severity log messages.
30583 Bugfix on 0.1.0.2-rc. Fixes bug 2190.
30584 - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
30585 underflow errors there too. Fixes the other part of bug 2324.
30586 - Fix a bug where we would assert if we ever had a
30587 cached-descriptors.new file (or another file read directly into
30588 memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
30589 on 0.2.1.25. Found by doorss.
30590 - Fix some potential asserts and parsing issues with grossly
30591 malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
30594 o Minor bugfixes (other), also included in 0.2.1.29:
30595 - Fix a bug with handling misformed replies to reverse DNS lookup
30596 requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
30597 bug reported by doorss.
30598 - Fix compilation on mingw when a pthreads compatibility library
30599 has been installed. (We don't want to use it, so we shouldn't
30600 be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
30601 - Fix a bug where we would declare that we had run out of virtual
30602 addresses when the address space was only half-exhausted. Bugfix
30604 - Correctly handle the case where AutomapHostsOnResolve is set but
30605 no virtual addresses are available. Fixes bug 2328; bugfix on
30606 0.1.2.1-alpha. Bug found by doorss.
30607 - Correctly handle wrapping around when we run out of virtual
30608 address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
30610 o Minor features, also included in 0.2.1.29:
30611 - Update to the January 1 2011 Maxmind GeoLite Country database.
30612 - Introduce output size checks on all of our decryption functions.
30614 o Build changes, also included in 0.2.1.29:
30615 - Tor does not build packages correctly with Automake 1.6 and earlier;
30616 added a check to Makefile.am to make sure that we're building with
30617 Automake 1.7 or later.
30618 - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
30619 because we built it with a too-old version of automake. Thus that
30620 release broke ./configure --enable-openbsd-malloc, which is popular
30621 among really fast exit relays on Linux.
30623 o Major bugfixes, new in 0.2.2.21-alpha:
30624 - Prevent crash/heap corruption when the cbtnummodes consensus
30625 parameter is set to 0 or large values. Fixes bug 2317; bugfix
30628 o Major features, new in 0.2.2.21-alpha:
30629 - Introduce minimum/maximum values that clients will believe
30630 from the consensus. Now we'll have a better chance to avoid crashes
30631 or worse when a consensus param has a weird value.
30633 o Minor features, new in 0.2.2.21-alpha:
30634 - Make sure to disable DirPort if running as a bridge. DirPorts aren't
30635 used on bridges, and it makes bridge scanning somewhat easier.
30636 - If writing the state file to disk fails, wait up to an hour before
30637 retrying again, rather than trying again each second. Fixes bug
30638 2346; bugfix on Tor 0.1.1.3-alpha.
30639 - Make Libevent log messages get delivered to controllers later,
30640 and not from inside the Libevent log handler. This prevents unsafe
30641 reentrant Libevent calls while still letting the log messages
30643 - Detect platforms that brokenly use a signed size_t, and refuse to
30644 build there. Found and analyzed by doorss and rransom.
30645 - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
30648 o Minor bugfixes, new in 0.2.2.21-alpha:
30649 - Handle SOCKS messages longer than 128 bytes long correctly, rather
30650 than waiting forever for them to finish. Fixes bug 2330; bugfix
30651 on 0.2.0.16-alpha. Found by doorss.
30652 - Add assertions to check for overflow in arguments to
30653 base32_encode() and base32_decode(); fix a signed-unsigned
30654 comparison there too. These bugs are not actually reachable in Tor,
30655 but it's good to prevent future errors too. Found by doorss.
30656 - Correctly detect failures to create DNS requests when using Libevent
30657 versions before v2. (Before Libevent 2, we used our own evdns
30658 implementation. Its return values for Libevent's evdns_resolve_*()
30659 functions are not consistent with those from Libevent.) Fixes bug
30660 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
30662 o Documentation, new in 0.2.2.21-alpha:
30663 - Document the default socks host and port (127.0.0.1:9050) for
30667 Changes in version 0.2.1.29 - 2011-01-15
30668 Tor 0.2.1.29 continues our recent code security audit work. The main
30669 fix resolves a remote heap overflow vulnerability that can allow remote
30670 code execution. Other fixes address a variety of assert and crash bugs,
30671 most of which we think are hard to exploit remotely.
30673 o Major bugfixes (security):
30674 - Fix a heap overflow bug where an adversary could cause heap
30675 corruption. This bug probably allows remote code execution
30676 attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
30678 - Prevent a denial-of-service attack by disallowing any
30679 zlib-compressed data whose compression factor is implausibly
30680 high. Fixes part of bug 2324; reported by "doorss".
30681 - Zero out a few more keys in memory before freeing them. Fixes
30682 bug 2384 and part of bug 2385. These key instances found by
30683 "cypherpunks", based on Andrew Case's report about being able
30684 to find sensitive data in Tor's memory space if you have enough
30685 permissions. Bugfix on 0.0.2pre9.
30687 o Major bugfixes (crashes):
30688 - Prevent calls to Libevent from inside Libevent log handlers.
30689 This had potential to cause a nasty set of crashes, especially
30690 if running Libevent with debug logging enabled, and running
30691 Tor with a controller watching for low-severity log messages.
30692 Bugfix on 0.1.0.2-rc. Fixes bug 2190.
30693 - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
30694 underflow errors there too. Fixes the other part of bug 2324.
30695 - Fix a bug where we would assert if we ever had a
30696 cached-descriptors.new file (or another file read directly into
30697 memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
30698 on 0.2.1.25. Found by doorss.
30699 - Fix some potential asserts and parsing issues with grossly
30700 malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
30703 o Minor bugfixes (other):
30704 - Fix a bug with handling misformed replies to reverse DNS lookup
30705 requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
30706 bug reported by doorss.
30707 - Fix compilation on mingw when a pthreads compatibility library
30708 has been installed. (We don't want to use it, so we shouldn't
30709 be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
30710 - Fix a bug where we would declare that we had run out of virtual
30711 addresses when the address space was only half-exhausted. Bugfix
30713 - Correctly handle the case where AutomapHostsOnResolve is set but
30714 no virtual addresses are available. Fixes bug 2328; bugfix on
30715 0.1.2.1-alpha. Bug found by doorss.
30716 - Correctly handle wrapping around to when we run out of virtual
30717 address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
30718 - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
30719 because we built it with a too-old version of automake. Thus that
30720 release broke ./configure --enable-openbsd-malloc, which is popular
30721 among really fast exit relays on Linux.
30724 - Update to the January 1 2011 Maxmind GeoLite Country database.
30725 - Introduce output size checks on all of our decryption functions.
30728 - Tor does not build packages correctly with Automake 1.6 and earlier;
30729 added a check to Makefile.am to make sure that we're building with
30730 Automake 1.7 or later.
30733 Changes in version 0.2.2.20-alpha - 2010-12-17
30734 Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
30735 exploitable bugs. We also fix a variety of other significant bugs,
30736 change the IP address for one of our directory authorities, and update
30737 the minimum version that Tor relays must run to join the network.
30740 - Fix a remotely exploitable bug that could be used to crash instances
30741 of Tor remotely by overflowing on the heap. Remote-code execution
30742 hasn't been confirmed, but can't be ruled out. Everyone should
30743 upgrade. Bugfix on the 0.1.1 series and later.
30744 - Fix a bug that could break accounting on 64-bit systems with large
30745 time_t values, making them hibernate for impossibly long intervals.
30746 Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
30747 - Fix a logic error in directory_fetches_from_authorities() that
30748 would cause all _non_-exits refusing single-hop-like circuits
30749 to fetch from authorities, when we wanted to have _exits_ fetch
30750 from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
30752 - Fix a stream fairness bug that would cause newer streams on a given
30753 circuit to get preference when reading bytes from the origin or
30754 destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
30755 introduced before the first Tor release, in svn revision r152.
30757 o Directory authority changes:
30758 - Change IP address and ports for gabelmoo (v3 directory authority).
30761 - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
30762 Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
30763 - Fix an off-by-one error in calculating some controller command
30764 argument lengths. Fortunately, this mistake is harmless since
30765 the controller code does redundant NUL termination too. Found by
30766 boboper. Bugfix on 0.1.1.1-alpha.
30767 - Do not dereference NULL if a bridge fails to build its
30768 extra-info descriptor. Found by an anonymous commenter on
30769 Trac. Bugfix on 0.2.2.19-alpha.
30772 - Update to the December 1 2010 Maxmind GeoLite Country database.
30773 - Directory authorities now reject relays running any versions of
30774 Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
30775 known bugs that keep RELAY_EARLY cells from working on rendezvous
30776 circuits. Followup to fix for bug 2081.
30777 - Directory authorities now reject relays running any version of Tor
30778 older than 0.2.0.26-rc. That version is the earliest that fetches
30779 current directory information correctly. Fixes bug 2156.
30780 - Report only the top 10 ports in exit-port stats in order not to
30781 exceed the maximum extra-info descriptor length of 50 KB. Implements
30785 Changes in version 0.2.1.28 - 2010-12-17
30786 Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
30787 exploitable bugs. We also took this opportunity to change the IP address
30788 for one of our directory authorities, and to update the geoip database
30792 - Fix a remotely exploitable bug that could be used to crash instances
30793 of Tor remotely by overflowing on the heap. Remote-code execution
30794 hasn't been confirmed, but can't be ruled out. Everyone should
30795 upgrade. Bugfix on the 0.1.1 series and later.
30797 o Directory authority changes:
30798 - Change IP address and ports for gabelmoo (v3 directory authority).
30801 - Update to the December 1 2010 Maxmind GeoLite Country database.
30804 Changes in version 0.2.1.27 - 2010-11-23
30805 Yet another OpenSSL security patch broke its compatibility with Tor:
30806 Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
30807 also took this opportunity to fix several crash bugs, integrate a new
30808 directory authority, and update the bundled GeoIP database.
30811 - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
30812 No longer set the tlsext_host_name extension on server SSL objects;
30813 but continue to set it on client SSL objects. Our goal in setting
30814 it was to imitate a browser, not a vhosting server. Fixes bug 2204;
30815 bugfix on 0.2.1.1-alpha.
30816 - Do not log messages to the controller while shrinking buffer
30817 freelists. Doing so would sometimes make the controller connection
30818 try to allocate a buffer chunk, which would mess up the internals
30819 of the freelist and cause an assertion failure. Fixes bug 1125;
30820 fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
30821 - Learn our external IP address when we're a relay or bridge, even if
30822 we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
30823 where we introduced bridge relays that don't need to publish to
30824 be useful. Fixes bug 2050.
30825 - Do even more to reject (and not just ignore) annotations on
30826 router descriptors received anywhere but from the cache. Previously
30827 we would ignore such annotations at first, but cache them to disk
30828 anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
30829 - When you're using bridges and your network goes away and your
30830 bridges get marked as down, recover when you attempt a new socks
30831 connection (if the network is back), rather than waiting up to an
30832 hour to try fetching new descriptors for your bridges. Bugfix on
30833 0.2.0.3-alpha; fixes bug 1981.
30836 - Move to the November 2010 Maxmind GeoLite country db (rather
30837 than the June 2009 ip-to-country GeoIP db) for our statistics that
30838 count how many users relays are seeing from each country. Now we'll
30839 have more accurate data, especially for many African countries.
30841 o New directory authorities:
30842 - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
30846 - Fix an assertion failure that could occur in directory caches or
30847 bridge users when using a very short voting interval on a testing
30848 network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
30850 - Enforce multiplicity rules when parsing annotations. Bugfix on
30851 0.2.0.8-alpha. Found by piebeer.
30852 - Allow handshaking OR connections to take a full KeepalivePeriod
30853 seconds to handshake. Previously, we would close them after
30854 IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
30855 were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
30857 - When building with --enable-gcc-warnings on OpenBSD, disable
30858 warnings in system headers. This makes --enable-gcc-warnings
30859 pass on OpenBSD 4.8.
30862 - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
30863 and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
30864 stream ending reason for this case: END_STREAM_REASON_NOROUTE.
30865 Servers can start sending this code when enough clients recognize
30866 it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
30867 - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
30868 Patch from mingw-san.
30871 - Remove the old debian/ directory from the main Tor distribution.
30872 The official Tor-for-debian git repository lives at the URL
30873 https://git.torproject.org/debian/tor.git
30874 - Stop shipping the old doc/website/ directory in the tarball. We
30875 changed the website format in late 2010, and what we shipped in
30876 0.2.1.26 really wasn't that useful anyway.
30879 Changes in version 0.2.2.19-alpha - 2010-11-22
30880 Yet another OpenSSL security patch broke its compatibility with Tor:
30881 Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
30884 - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
30885 No longer set the tlsext_host_name extension on server SSL objects;
30886 but continue to set it on client SSL objects. Our goal in setting
30887 it was to imitate a browser, not a vhosting server. Fixes bug 2204;
30888 bugfix on 0.2.1.1-alpha.
30891 - Try harder not to exceed the maximum length of 50 KB when writing
30892 statistics to extra-info descriptors. This bug was triggered by very
30893 fast relays reporting exit-port, entry, and dirreq statistics.
30894 Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
30895 - Publish a router descriptor even if generating an extra-info
30896 descriptor fails. Previously we would not publish a router
30897 descriptor without an extra-info descriptor; this can cause fast
30898 exit relays collecting exit-port statistics to drop from the
30899 consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
30902 Changes in version 0.2.2.18-alpha - 2010-11-16
30903 Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
30904 us lately, makes unpublished bridge relays able to detect their IP
30905 address, and fixes a wide variety of other bugs to get us much closer
30906 to a stable release.
30909 - Do even more to reject (and not just ignore) annotations on
30910 router descriptors received anywhere but from the cache. Previously
30911 we would ignore such annotations at first, but cache them to disk
30912 anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
30913 - Do not log messages to the controller while shrinking buffer
30914 freelists. Doing so would sometimes make the controller connection
30915 try to allocate a buffer chunk, which would mess up the internals
30916 of the freelist and cause an assertion failure. Fixes bug 1125;
30917 fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
30918 - Learn our external IP address when we're a relay or bridge, even if
30919 we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
30920 where we introduced bridge relays that don't need to publish to
30921 be useful. Fixes bug 2050.
30922 - Maintain separate TLS contexts and certificates for incoming and
30923 outgoing connections in bridge relays. Previously we would use the
30924 same TLS contexts and certs for incoming and outgoing connections.
30925 Bugfix on 0.2.0.3-alpha; addresses bug 988.
30926 - Maintain separate identity keys for incoming and outgoing TLS
30927 contexts in bridge relays. Previously we would use the same
30928 identity keys for incoming and outgoing TLS contexts. Bugfix on
30929 0.2.0.3-alpha; addresses the other half of bug 988.
30930 - Avoid an assertion failure when we as an authority receive a
30931 duplicate upload of a router descriptor that we already have,
30932 but which we previously considered an obsolete descriptor.
30933 Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
30934 - Avoid a crash bug triggered by looking at a dangling pointer while
30935 setting the network status consensus. Found by Robert Ransom.
30936 Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
30937 - Fix a logic error where servers that _didn't_ act as exits would
30938 try to keep their server lists more aggressively up to date than
30939 exits, when it was supposed to be the other way around. Bugfix
30942 o Minor bugfixes (on Tor 0.2.1.x and earlier):
30943 - When we're trying to guess whether we know our IP address as
30944 a relay, we would log various ways that we failed to guess
30945 our address, but never log that we ended up guessing it
30946 successfully. Now add a log line to help confused and anxious
30947 relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
30948 - Bring the logic that gathers routerinfos and assesses the
30949 acceptability of circuits into line. This prevents a Tor OP from
30950 getting locked in a cycle of choosing its local OR as an exit for a
30951 path (due to a .exit request) and then rejecting the circuit because
30952 its OR is not listed yet. It also prevents Tor clients from using an
30953 OR running in the same instance as an exit (due to a .exit request)
30954 if the OR does not meet the same requirements expected of an OR
30955 running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
30956 - Correctly describe errors that occur when generating a TLS object.
30957 Previously we would attribute them to a failure while generating a
30958 TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
30960 - Enforce multiplicity rules when parsing annotations. Bugfix on
30961 0.2.0.8-alpha. Found by piebeer.
30962 - Fix warnings that newer versions of autoconf produced during
30963 ./autogen.sh. These warnings appear to be harmless in our case,
30964 but they were extremely verbose. Fixes bug 2020.
30966 o Minor bugfixes (on Tor 0.2.2.x):
30967 - Enable protection of small arrays whenever we build with gcc
30968 hardening features, not only when also building with warnings
30969 enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
30972 - Make hidden services work better in private Tor networks by not
30973 requiring any uptime to join the hidden service descriptor
30974 DHT. Implements ticket 2088.
30975 - Rate-limit the "your application is giving Tor only an IP address"
30976 warning. Addresses bug 2000; bugfix on 0.0.8pre2.
30977 - When AllowSingleHopExits is set, print a warning to explain to the
30978 relay operator why most clients are avoiding her relay.
30979 - Update to the November 1 2010 Maxmind GeoLite Country database.
30981 o Code simplifications and refactoring:
30982 - When we fixed bug 1038 we had to put in a restriction not to send
30983 RELAY_EARLY cells on rend circuits. This was necessary as long
30984 as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
30985 active. Now remove this obsolete check. Resolves bug 2081.
30986 - Some options used different conventions for uppercasing of acronyms
30987 when comparing manpage and source. Fix those in favor of the
30988 manpage, as it makes sense to capitalize acronyms.
30989 - Remove the torrc.complete file. It hasn't been kept up to date
30990 and users will have better luck checking out the manpage.
30991 - Remove the obsolete "NoPublish" option; it has been flagged
30992 as obsolete and has produced a warning since 0.1.1.18-rc.
30993 - Remove everything related to building the expert bundle for OS X.
30994 It has confused many users, doesn't work right on OS X 10.6,
30995 and is hard to get rid of once installed. Resolves bug 1274.
30998 Changes in version 0.2.2.17-alpha - 2010-09-30
30999 Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
31000 to use one-hop circuits (which can put the exit relays at higher risk,
31001 plus unbalance the network); fixes a big bug in bandwidth accounting
31002 for relays that want to limit their monthly bandwidth use; fixes a
31003 big pile of bugs in how clients tolerate temporary network failure;
31004 and makes our adaptive circuit build timeout feature (which improves
31005 client performance if your network is fast while not breaking things
31006 if your network is slow) better handle bad networks.
31009 - Exit relays now try harder to block exit attempts from unknown
31010 relays, to make it harder for people to use them as one-hop proxies
31011 a la tortunnel. Controlled by the refuseunknownexits consensus
31012 parameter (currently enabled), or you can override it on your
31013 relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
31015 o Major bugfixes (0.2.1.x and earlier):
31016 - Fix a bug in bandwidth accounting that could make us use twice
31017 the intended bandwidth when our interval start changes due to
31018 daylight saving time. Now we tolerate skew in stored vs computed
31019 interval starts: if the start of the period changes by no more than
31020 50% of the period's duration, we remember bytes that we transferred
31021 in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
31022 - Always search the Windows system directory for system DLLs, and
31023 nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
31024 - When you're using bridges and your network goes away and your
31025 bridges get marked as down, recover when you attempt a new socks
31026 connection (if the network is back), rather than waiting up to an
31027 hour to try fetching new descriptors for your bridges. Bugfix on
31028 0.2.0.3-alpha; fixes bug 1981.
31030 o Major bugfixes (on 0.2.2.x):
31031 - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
31033 - Fix a segfault that could happen when operating a bridge relay with
31034 no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
31035 - The consensus bandwidth-weights (used by clients to choose fast
31036 relays) entered an unexpected edge case in September where
31037 Exits were much scarcer than Guards, resulting in bad weight
31038 recommendations. Now we compute them using new constraints that
31039 should succeed in all cases. Also alter directory authorities to
31040 not include the bandwidth-weights line if they fail to produce
31041 valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
31042 - When weighting bridges during path selection, we used to trust
31043 the bandwidths they provided in their descriptor, only capping them
31044 at 10MB/s. This turned out to be problematic for two reasons:
31045 Bridges could claim to handle a lot more traffic then they
31046 actually would, thus making more clients pick them and have a
31047 pretty effective DoS attack. The other issue is that new bridges
31048 that might not have a good estimate for their bw capacity yet
31049 would not get used at all unless no other bridges are available
31050 to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
31052 o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
31053 - Ignore cannibalized circuits when recording circuit build times.
31054 This should provide for a minor performance improvement for hidden
31055 service users using 0.2.2.14-alpha, and should remove two spurious
31056 notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
31057 - Simplify the logic that causes us to decide if the network is
31058 unavailable for purposes of recording circuit build times. If we
31059 receive no cells whatsoever for the entire duration of a circuit's
31060 full measured lifetime, the network is probably down. Also ignore
31061 one-hop directory fetching circuit timeouts when calculating our
31062 circuit build times. These changes should hopefully reduce the
31063 cases where we see ridiculous circuit build timeouts for people
31064 with spotty wireless connections. Fixes part of bug 1772; bugfix
31066 - Prevent the circuit build timeout from becoming larger than
31067 the maximum build time we have ever seen. Also, prevent the time
31068 period for measurement circuits from becoming larger than twice that
31069 value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
31072 - When we run out of directory information such that we can't build
31073 circuits, but then get enough that we can build circuits, log when
31074 we actually construct a circuit, so the user has a better chance of
31075 knowing what's going on. Fixes bug 1362.
31076 - Be more generous with how much bandwidth we'd use up (with
31077 accounting enabled) before entering "soft hibernation". Previously,
31078 we'd refuse new connections and circuits once we'd used up 95% of
31079 our allotment. Now, we use up 95% of our allotment, AND make sure
31080 that we have no more than 500MB (or 3 hours of expected traffic,
31081 whichever is lower) remaining before we enter soft hibernation.
31082 - If we've configured EntryNodes and our network goes away and/or all
31083 our entrynodes get marked down, optimistically retry them all when
31084 a new socks application request appears. Fixes bug 1882.
31085 - Add some more defensive programming for architectures that can't
31086 handle unaligned integer accesses. We don't know of any actual bugs
31087 right now, but that's the best time to fix them. Fixes bug 1943.
31088 - Support line continuations in the torrc config file. If a line
31089 ends with a single backslash character, the newline is ignored, and
31090 the configuration value is treated as continuing on the next line.
31093 o Minor bugfixes (on 0.2.1.x and earlier):
31094 - For bandwidth accounting, calculate our expected bandwidth rate
31095 based on the time during which we were active and not in
31096 soft-hibernation during the last interval. Previously, we were
31097 also considering the time spent in soft-hibernation. If this
31098 was a long time, we would wind up underestimating our bandwidth
31099 by a lot, and skewing our wakeup time towards the start of the
31100 accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
31102 o Minor bugfixes (on 0.2.2.x):
31103 - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
31104 which were disabled by the circuit build timeout changes in
31105 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
31106 - Make sure we don't warn about missing bandwidth weights when
31107 choosing bridges or other relays not in the consensus. Bugfix on
31108 0.2.2.10-alpha; fixes bug 1805.
31109 - In our logs, do not double-report signatures from unrecognized
31110 authorities both as "from unknown authority" and "not
31111 present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
31114 Changes in version 0.2.2.16-alpha - 2010-09-17
31115 Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
31116 evident at exit relays), and also continues to resolve all the little
31117 bugs that have been filling up trac lately.
31119 o Major bugfixes (stream-level fairness):
31120 - When receiving a circuit-level SENDME for a blocked circuit, try
31121 to package cells fairly from all the streams that had previously
31122 been blocked on that circuit. Previously, we had started with the
31123 oldest stream, and allowed each stream to potentially exhaust
31124 the circuit's package window. This gave older streams on any
31125 given circuit priority over newer ones. Fixes bug 1937. Detected
31126 originally by Camilo Viecco. This bug was introduced before the
31127 first Tor release, in svn commit r152: it is the new winner of
31128 the longest-lived bug prize.
31129 - When the exit relay got a circuit-level sendme cell, it started
31130 reading on the exit streams, even if had 500 cells queued in the
31131 circuit queue already, so the circuit queue just grew and grew in
31132 some cases. We fix this by not re-enabling reading on receipt of a
31133 sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
31134 on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
31136 - Newly created streams were allowed to read cells onto circuits,
31137 even if the circuit's cell queue was blocked and waiting to drain.
31138 This created potential unfairness, as older streams would be
31139 blocked, but newer streams would gladly fill the queue completely.
31140 We add code to detect this situation and prevent any stream from
31141 getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
31145 - Update to the September 1 2010 Maxmind GeoLite Country database.
31146 - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
31147 not. This would lead to a cookie that is still not group readable.
31148 Closes bug 1843. Suggested by katmagic.
31149 - When logging a rate-limited warning, we now mention how many messages
31150 got suppressed since the last warning.
31151 - Add new "perconnbwrate" and "perconnbwburst" consensus params to
31152 do individual connection-level rate limiting of clients. The torrc
31153 config options with the same names trump the consensus params, if
31154 both are present. Replaces the old "bwconnrate" and "bwconnburst"
31155 consensus params which were broken from 0.2.2.7-alpha through
31156 0.2.2.14-alpha. Closes bug 1947.
31157 - When a router changes IP address or port, authorities now launch
31158 a new reachability test for it. Implements ticket 1899.
31159 - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
31160 2 no signature, 4 required" messages about consensus signatures
31161 easier to read, and make sure they get logged at the same severity
31162 as the messages explaining which keys are which. Fixes bug 1290.
31163 - Don't warn when we have a consensus that we can't verify because
31164 of missing certificates, unless those certificates are ones
31165 that we have been trying and failing to download. Fixes bug 1145.
31166 - If you configure your bridge with a known identity fingerprint,
31167 and the bridge authority is unreachable (as it is in at least
31168 one country now), fall back to directly requesting the descriptor
31169 from the bridge. Finishes the feature started in 0.2.0.10-alpha;
31171 - When building with --enable-gcc-warnings on OpenBSD, disable
31172 warnings in system headers. This makes --enable-gcc-warnings
31173 pass on OpenBSD 4.8.
31175 o Minor bugfixes (on 0.2.1.x and earlier):
31176 - Authorities will now attempt to download consensuses if their
31177 own efforts to make a live consensus have failed. This change
31178 means authorities that restart will fetch a valid consensus, and
31179 it means authorities that didn't agree with the current consensus
31180 will still fetch and serve it if it has enough signatures. Bugfix
31181 on 0.2.0.9-alpha; fixes bug 1300.
31182 - Ensure DNS requests launched by "RESOLVE" commands from the
31183 controller respect the __LeaveStreamsUnattached setconf options. The
31184 same goes for requests launched via DNSPort or transparent
31185 proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
31186 - Allow handshaking OR connections to take a full KeepalivePeriod
31187 seconds to handshake. Previously, we would close them after
31188 IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
31189 were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
31191 - Rate-limit "Failed to hand off onionskin" warnings.
31192 - Never relay a cell for a circuit we have already destroyed.
31193 Between marking a circuit as closeable and finally closing it,
31194 it may have been possible for a few queued cells to get relayed,
31195 even though they would have been immediately dropped by the next
31196 OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
31197 - Never queue a cell for a circuit that's already been marked
31199 - Never vote for a server as "Running" if we have a descriptor for
31200 it claiming to be hibernating, and that descriptor was published
31201 more recently than our last contact with the server. Bugfix on
31202 0.2.0.3-alpha; fixes bug 911.
31203 - Squash a compile warning on OpenBSD. Reported by Tas; fixes
31206 o Minor bugfixes (on 0.2.2.x):
31207 - Fix a regression introduced in 0.2.2.7-alpha that marked relays
31208 down if a directory fetch fails and you've configured either
31209 bridges or EntryNodes. The intent was to mark the relay as down
31210 _unless_ you're using bridges or EntryNodes, since if you are
31211 then you could quickly run out of entry points.
31212 - Fix the Windows directory-listing code. A bug introduced in
31213 0.2.2.14-alpha could make Windows directory servers forget to load
31214 some of their cached v2 networkstatus files.
31215 - Really allow clients to use relays as bridges. Fixes bug 1776;
31216 bugfix on 0.2.2.15-alpha.
31217 - Demote a warn to info that happens when the CellStatistics option
31218 was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
31219 Reported by Moritz Bartl.
31220 - On Windows, build correctly either with or without Unicode support.
31221 This is necessary so that Tor can support fringe platforms like
31222 Windows 98 (which has no Unicode), or Windows CE (which has no
31223 non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
31226 - Add a unit test for cross-platform directory-listing code.
31229 Changes in version 0.2.2.15-alpha - 2010-08-18
31230 Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
31231 fixes a variety of other bugs that were preventing performance
31232 experiments from moving forward, fixes several bothersome memory leaks,
31233 and generally closes a lot of smaller bugs that have been filling up
31237 - Stop assigning the HSDir flag to relays that disable their
31238 DirPort (and thus will refuse to answer directory requests). This
31239 fix should dramatically improve the reachability of hidden services:
31240 hidden services and hidden service clients pick six HSDir relays
31241 to store and retrieve the hidden service descriptor, and currently
31242 about half of the HSDir relays will refuse to work. Bugfix on
31243 0.2.0.10-alpha; fixes part of bug 1693.
31244 - The PerConnBWRate and Burst config options, along with the
31245 bwconnrate and bwconnburst consensus params, initialized each conn's
31246 token bucket values only when the connection is established. Now we
31247 update them if the config options change, and update them every time
31248 we get a new consensus. Otherwise we can encounter an ugly edge
31249 case where we initialize an OR conn to client-level bandwidth,
31250 but then later the relay joins the consensus and we leave it
31251 throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
31252 - Fix a regression that caused Tor to rebind its ports if it receives
31253 SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
31256 - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
31257 should give us approximately 40-50% more Guard-flagged nodes,
31258 improving the anonymity the Tor network can provide and also
31259 decreasing the dropoff in throughput that relays experience when
31260 they first get the Guard flag.
31261 - Allow enabling or disabling the *Statistics config options while
31265 - Update to the August 1 2010 Maxmind GeoLite Country database.
31266 - Have the controller interface give a more useful message than
31267 "Internal Error" in response to failed GETINFO requests.
31268 - Warn when the same option is provided more than once in a torrc
31269 file, on the command line, or in a single SETCONF statement, and
31270 the option is one that only accepts a single line. Closes bug 1384.
31271 - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
31272 Patch from mingw-san.
31273 - Add support for the country code "{??}" in torrc options like
31274 ExcludeNodes, to indicate all routers of unknown country. Closes
31276 - Relays report the number of bytes spent on answering directory
31277 requests in extra-info descriptors similar to {read,write}-history.
31278 Implements enhancement 1790.
31280 o Minor bugfixes (on 0.2.1.x and earlier):
31281 - Complain if PublishServerDescriptor is given multiple arguments that
31282 include 0 or 1. This configuration will be rejected in the future.
31283 Bugfix on 0.2.0.1-alpha; closes bug 1107.
31284 - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
31285 Bugfix on 0.2.0.13-alpha; closes bug 928.
31286 - Change "Application request when we're believed to be offline."
31287 notice to "Application request when we haven't used client
31288 functionality lately.", to clarify that it's not an error. Bugfix
31289 on 0.0.9.3; fixes bug 1222.
31290 - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
31291 would return "551 Internal error" rather than "552 Unrecognized key
31292 ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
31293 - Users can't configure a regular relay to be their bridge. It didn't
31294 work because when Tor fetched the bridge descriptor, it found
31295 that it already had it, and didn't realize that the purpose of the
31296 descriptor had changed. Now we replace routers with a purpose other
31297 than bridge with bridge descriptors when fetching them. Bugfix on
31298 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
31299 refetch the descriptor with router purpose 'general', disabling
31301 - Fix a rare bug in rend_fn unit tests: we would fail a test when
31302 a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
31303 on 0.2.0.10-alpha; fixes bug 1808.
31304 - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
31305 and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
31306 stream ending reason for this case: END_STREAM_REASON_NOROUTE.
31307 Servers can start sending this code when enough clients recognize
31308 it. Also update the spec to reflect this new reason. Bugfix on
31309 0.1.0.1-rc; fixes part of bug 1793.
31310 - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
31311 when we switch from being a public relay to a bridge. Otherwise
31312 there will still be clients that see the relay in their consensus,
31313 and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
31315 - Instead of giving an assertion failure on an internal mismatch
31316 on estimated freelist size, just log a BUG warning and try later.
31317 Mitigates but does not fix bug 1125.
31318 - Fix an assertion failure that could occur in caches or bridge users
31319 when using a very short voting interval on a testing network.
31320 Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
31322 o Minor bugfixes (on 0.2.2.x):
31323 - Alter directory authorities to always consider Exit-flagged nodes
31324 as potential Guard nodes in their votes. The actual decision to
31325 use Exits as Guards is done in the consensus bandwidth weights.
31326 Fixes bug 1294; bugfix on 0.2.2.10-alpha.
31327 - When the controller is reporting the purpose of circuits that
31328 didn't finish building before the circuit build timeout, it was
31329 printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
31330 - Our libevent version parsing code couldn't handle versions like
31331 1.4.14b-stable and incorrectly warned the user about using an
31332 old and broken version of libevent. Treat 1.4.14b-stable like
31333 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
31335 - Don't use substitution references like $(VAR:MOD) when
31336 $(asciidoc_files) is empty -- make(1) on NetBSD transforms
31337 '$(:x)' to 'x' rather than the empty string. This bites us in
31338 doc/ when configured with --disable-asciidoc. Bugfix on
31339 0.2.2.9-alpha; fixes bug 1773.
31340 - Remove a spurious hidden service server-side log notice about
31341 "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
31343 - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
31345 - Correctly report written bytes on linked connections. Found while
31346 implementing 1790. Bugfix on 0.2.2.4-alpha.
31347 - Fix three memory leaks: one in circuit_build_times_parse_state(),
31348 one in dirvote_add_signatures_to_pending_consensus(), and one every
31349 time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
31350 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
31352 o Code simplifications and refactoring:
31353 - Take a first step towards making or.h smaller by splitting out
31354 function definitions for all source files in src/or/. Leave
31355 structures and defines in or.h for now.
31356 - Remove a bunch of unused function declarations as well as a block of
31357 #if 0'd code from the unit tests. Closes bug 1824.
31358 - New unit tests for exit-port history statistics; refactored exit
31359 statistics code to be more easily tested.
31360 - Remove the old debian/ directory from the main Tor distribution.
31361 The official Tor-for-debian git repository lives at the URL
31362 https://git.torproject.org/debian/tor.git
31365 Changes in version 0.2.2.14-alpha - 2010-07-12
31366 Tor 0.2.2.14-alpha greatly improves client-side handling of
31367 circuit build timeouts, which are used to estimate speed and improve
31368 performance. We also move to a much better GeoIP database, port Tor to
31369 Windows CE, introduce new compile flags that improve code security,
31370 add an eighth v3 directory authority, and address a lot of more
31374 - Tor directory authorities no longer crash when started with a
31375 cached-microdesc-consensus file in their data directory. Bugfix
31376 on 0.2.2.6-alpha; fixes bug 1532.
31377 - Treat an unset $HOME like an empty $HOME rather than triggering an
31378 assert. Bugfix on 0.0.8pre1; fixes bug 1522.
31379 - Ignore negative and large circuit build timeout values that can
31380 happen during a suspend or hibernate. These values caused various
31381 asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
31382 - Alter calculation of Pareto distribution parameter 'Xm' for
31383 Circuit Build Timeout learning to use the weighted average of the
31384 top N=3 modes (because we have three entry guards). Considering
31385 multiple modes should improve the timeout calculation in some cases,
31386 and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
31388 - Alter calculation of Pareto distribution parameter 'Alpha' to use a
31389 right censored distribution model. This approach improves over the
31390 synthetic timeout generation approach that was producing insanely
31391 high timeout values. Now we calculate build timeouts using truncated
31392 times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
31393 - Do not close circuits that are under construction when they reach
31394 the circuit build timeout. Instead, leave them building (but do not
31395 use them) for up until the time corresponding to the 95th percentile
31396 on the Pareto CDF or 60 seconds, whichever is greater. This is done
31397 to provide better data for the new Pareto model. This percentile
31398 can be controlled by the consensus.
31401 - Move to the June 2010 Maxmind GeoLite country db (rather than the
31402 June 2009 ip-to-country GeoIP db) for our statistics that count
31403 how many users relays are seeing from each country. Now we have
31404 more accurate data for many African countries.
31405 - Port Tor to build and run correctly on Windows CE systems, using
31406 the wcecompat library. Contributed by Valerio Lupi.
31407 - New "--enable-gcc-hardening" ./configure flag (off by default)
31408 to turn on gcc compile time hardening options. It ensures
31409 that signed ints have defined behavior (-fwrapv), enables
31410 -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
31411 with canaries (-fstack-protector-all), turns on ASLR protection if
31412 supported by the kernel (-fPIE, -pie), and adds additional security
31413 related warnings. Verified to work on Mac OS X and Debian Lenny.
31414 - New "--enable-linker-hardening" ./configure flag (off by default)
31415 to turn on ELF specific hardening features (relro, now). This does
31416 not work with Mac OS X or any other non-ELF binary format.
31418 o New directory authorities:
31419 - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
31423 - New config option "WarnUnsafeSocks 0" disables the warning that
31424 occurs whenever Tor receives a socks handshake using a version of
31425 the socks protocol that can only provide an IP address (rather
31426 than a hostname). Setups that do DNS locally over Tor are fine,
31427 and we shouldn't spam the logs in that case.
31428 - Convert the HACKING file to asciidoc, and add a few new sections
31429 to it, explaining how we use Git, how we make changelogs, and
31430 what should go in a patch.
31431 - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
31432 event, to give information on the current rate of circuit timeouts
31433 over our stored history.
31434 - Add ability to disable circuit build time learning via consensus
31435 parameter and via a LearnCircuitBuildTimeout config option. Also
31436 automatically disable circuit build time calculation if we are
31437 either a AuthoritativeDirectory, or if we fail to write our state
31438 file. Fixes bug 1296.
31439 - More gracefully handle corrupt state files, removing asserts
31440 in favor of saving a backup and resetting state.
31441 - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
31445 - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
31447 - When a2x fails, mention that the user could disable manpages instead
31448 of trying to fix their asciidoc installation.
31449 - Where available, use Libevent 2.0's periodic timers so that our
31450 once-per-second cleanup code gets called even more closely to
31451 once per second than it would otherwise. Fixes bug 943.
31452 - If you run a bridge that listens on multiple IP addresses, and
31453 some user configures a bridge address that uses a different IP
31454 address than your bridge writes in its router descriptor, and the
31455 user doesn't specify an identity key, their Tor would discard the
31456 descriptor because "it isn't one of our configured bridges", and
31457 fail to bootstrap. Now believe the descriptor and bootstrap anyway.
31458 Bugfix on 0.2.0.3-alpha.
31459 - If OpenSSL fails to make a duplicate of a private or public key, log
31460 an error message and try to exit cleanly. May help with debugging
31461 if bug 1209 ever remanifests.
31462 - Save a couple bytes in memory allocation every time we escape
31463 certain characters in a string. Patch from Florian Zumbiehl.
31464 - Make it explicit that we don't cannibalize one-hop circuits. This
31465 happens in the wild, but doesn't turn out to be a problem because
31466 we fortunately don't use those circuits. Many thanks to outofwords
31467 for the initial analysis and to swissknife who confirmed that
31468 two-hop circuits are actually created.
31469 - Make directory mirrors report non-zero dirreq-v[23]-shares again.
31470 Fixes bug 1564; bugfix on 0.2.2.9-alpha.
31471 - Eliminate a case where a circuit build time warning was displayed
31472 after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
31475 Changes in version 0.2.1.26 - 2010-05-02
31476 Tor 0.2.1.26 addresses the recent connection and memory overload
31477 problems we've been seeing on relays, especially relays with their
31478 DirPort open. If your relay has been crashing, or you turned it off
31479 because it used too many resources, give this release a try.
31481 This release also fixes yet another instance of broken OpenSSL libraries
31482 that was causing some relays to drop out of the consensus.
31485 - Teach relays to defend themselves from connection overload. Relays
31486 now close idle circuits early if it looks like they were intended
31487 for directory fetches. Relays are also more aggressive about closing
31488 TLS connections that have no circuits on them. Such circuits are
31489 unlikely to be re-used, and tens of thousands of them were piling
31490 up at the fast relays, causing the relays to run out of sockets
31491 and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
31492 their directory fetches over TLS).
31493 - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
31494 that claim to be earlier than 0.9.8m, but which have in reality
31495 backported huge swaths of 0.9.8m or 0.9.8n renegotiation
31496 behavior. Possible fix for some cases of bug 1346.
31497 - Directory mirrors were fetching relay descriptors only from v2
31498 directory authorities, rather than v3 authorities like they should.
31499 Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
31500 to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
31503 - Finally get rid of the deprecated and now harmful notion of "clique
31504 mode", where directory authorities maintain TLS connections to
31508 - In the util/threads test, no longer free the test_mutex before all
31509 worker threads have finished. Bugfix on 0.2.1.6-alpha.
31510 - The master thread could starve the worker threads quite badly on
31511 certain systems, causing them to run only partially in the allowed
31512 window. This resulted in test failures. Now the master thread sleeps
31513 occasionally for a few microseconds while the two worker-threads
31514 compete for the mutex. Bugfix on 0.2.0.1-alpha.
31517 Changes in version 0.2.2.13-alpha - 2010-04-24
31518 Tor 0.2.2.13-alpha addresses the recent connection and memory overload
31519 problems we've been seeing on relays, especially relays with their
31520 DirPort open. If your relay has been crashing, or you turned it off
31521 because it used too many resources, give this release a try.
31524 - Teach relays to defend themselves from connection overload. Relays
31525 now close idle circuits early if it looks like they were intended
31526 for directory fetches. Relays are also more aggressive about closing
31527 TLS connections that have no circuits on them. Such circuits are
31528 unlikely to be re-used, and tens of thousands of them were piling
31529 up at the fast relays, causing the relays to run out of sockets
31530 and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
31531 their directory fetches over TLS).
31534 - Finally get rid of the deprecated and now harmful notion of "clique
31535 mode", where directory authorities maintain TLS connections to
31537 - Directory authorities now do an immediate reachability check as soon
31538 as they hear about a new relay. This change should slightly reduce
31539 the time between setting up a relay and getting listed as running
31540 in the consensus. It should also improve the time between setting
31541 up a bridge and seeing use by bridge users.
31542 - Directory authorities no longer launch a TLS connection to every
31543 relay as they startup. Now that we have 2k+ descriptors cached,
31544 the resulting network hiccup is becoming a burden. Besides,
31545 authorities already avoid voting about Running for the first half
31546 hour of their uptime.
31549 Changes in version 0.2.2.12-alpha - 2010-04-20
31550 Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
31551 handle and vote on descriptors. It was causing relays to drop out of
31555 - Many relays have been falling out of the consensus lately because
31556 not enough authorities know about their descriptor for them to get
31557 a majority of votes. When we deprecated the v2 directory protocol,
31558 we got rid of the only way that v3 authorities can hear from each
31559 other about other descriptors. Now authorities examine every v3
31560 vote for new descriptors, and fetch them from that authority. Bugfix
31562 - Fix two typos in tor_vasprintf() that broke the compile on Windows,
31563 and a warning in or.h related to bandwidth_weight_rule_t that
31564 prevented clean compile on OS X. Fixes bug 1363; bugfix on
31566 - Fix a segfault on relays when DirReqStatistics is enabled
31567 and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
31571 - Demote a confusing TLS warning that relay operators might get when
31572 someone tries to talk to their OrPort. It is neither the operator's
31573 fault nor can they do anything about it. Fixes bug 1364; bugfix
31577 Changes in version 0.2.2.11-alpha - 2010-04-15
31578 Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
31579 libraries that was causing some relays to drop out of the consensus.
31582 - Directory mirrors were fetching relay descriptors only from v2
31583 directory authorities, rather than v3 authorities like they should.
31584 Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
31585 to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
31586 - Fix a parsing error that made every possible value of
31587 CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
31588 on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
31589 CircuitPriorityHalflifeMsec, so authorities can tell newer relays
31590 about the option without breaking older ones.
31591 - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
31592 that claim to be earlier than 0.9.8m, but which have in reality
31593 backported huge swaths of 0.9.8m or 0.9.8n renegotiation
31594 behavior. Possible fix for some cases of bug 1346.
31597 - Experiment with a more aggressive approach to preventing clients
31598 from making one-hop exit streams. Exit relays who want to try it
31599 out can set "RefuseUnknownExits 1" in their torrc, and then look
31600 for "Attempt by %s to open a stream" log messages. Let us know
31602 - Add support for statically linking zlib by specifying
31603 --enable-static-zlib, to go with our support for statically linking
31604 openssl and libevent. Resolves bug 1358.
31607 - Fix a segfault that happens whenever a Tor client that is using
31608 libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
31610 - When we cleaned up the contrib/tor-exit-notice.html file, we left
31611 out the first line. Fixes bug 1295.
31612 - When building the manpage from a tarball, we required asciidoc, but
31613 the asciidoc -> roff/html conversion was already done for the
31614 tarball. Make 'make' complain only when we need asciidoc (either
31615 because we're compiling directly from git, or because we altered
31616 the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
31617 - When none of the directory authorities vote on any params, Tor
31618 segfaulted when trying to make the consensus from the votes. We
31619 didn't trigger the bug in practice, because authorities do include
31620 params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
31623 - In the util/threads test, no longer free the test_mutex before all
31624 worker threads have finished. Bugfix on 0.2.1.6-alpha.
31625 - The master thread could starve the worker threads quite badly on
31626 certain systems, causing them to run only partially in the allowed
31627 window. This resulted in test failures. Now the master thread sleeps
31628 occasionally for a few microseconds while the two worker-threads
31629 compete for the mutex. Bugfix on 0.2.0.1-alpha.
31632 Changes in version 0.2.2.10-alpha - 2010-03-07
31633 Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
31634 could prevent relays from guessing their IP address correctly. It also
31635 starts the groundwork for another client-side performance boost, since
31636 currently we're not making efficient use of relays that have both the
31637 Guard flag and the Exit flag.
31640 - Fix a regression from our patch for bug 1244 that caused relays
31641 to guess their IP address incorrectly if they didn't set Address
31642 in their torrc and/or their address fails to resolve. Bugfix on
31643 0.2.2.9-alpha; fixes bug 1269.
31645 o Major features (performance):
31646 - Directory authorities now compute consensus weightings that instruct
31647 clients how to weight relays flagged as Guard, Exit, Guard+Exit,
31648 and no flag. Clients that use these weightings will distribute
31649 network load more evenly across these different relay types. The
31650 weightings are in the consensus so we can change them globally in
31651 the future. Extra thanks to "outofwords" for finding some nasty
31652 security bugs in the first implementation of this feature.
31654 o Minor features (performance):
31655 - Always perform router selections using weighted relay bandwidth,
31656 even if we don't need a high capacity circuit at the time. Non-fast
31657 circuits now only differ from fast ones in that they can use relays
31658 not marked with the Fast flag. This "feature" could turn out to
31659 be a horrible bug; we should investigate more before it goes into
31663 - Allow disabling building of the manpages. Skipping the manpage
31664 speeds up the build considerably.
31666 o Minor bugfixes (on 0.2.2.x):
31667 - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
31668 Bugfix on 0.2.2.9-alpha.
31669 - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
31670 config option. Bugfix on 0.2.2.7-alpha.
31671 - Ship the asciidoc-helper file in the tarball, so that people can
31672 build from source if they want to, and touching the .1.txt files
31673 doesn't break the build. Bugfix on 0.2.2.9-alpha.
31675 o Minor bugfixes (on 0.2.1.x or earlier):
31676 - Fix a dereference-then-NULL-check sequence when publishing
31677 descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
31679 - Fix another dereference-then-NULL-check sequence. Bugfix on
31680 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
31681 - Make sure we treat potentially not NUL-terminated strings correctly.
31682 Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
31684 o Code simplifications and refactoring:
31685 - Fix some urls in the exit notice file and make it XHTML1.1 strict
31686 compliant. Based on a patch from Christian Kujau.
31687 - Don't use sed in asciidoc-helper anymore.
31688 - Make the build process fail if asciidoc cannot be found and
31689 building with asciidoc isn't disabled.
31692 Changes in version 0.2.2.9-alpha - 2010-02-22
31693 Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
31694 location of a directory authority, and cleans up a bunch of small bugs.
31696 o Directory authority changes:
31697 - Change IP address for dannenberg (v3 directory authority), and
31698 remove moria2 (obsolete v1, v2 directory authority and v0 hidden
31699 service directory authority) from the list.
31702 - Make Tor work again on the latest OS X: when deciding whether to
31703 use strange flags to turn TLS renegotiation on, detect the OpenSSL
31704 version at run-time, not compile time. We need to do this because
31705 Apple doesn't update its dev-tools headers when it updates its
31706 libraries in a security patch.
31707 - Fix a potential buffer overflow in lookup_last_hid_serv_request()
31708 that could happen on 32-bit platforms with 64-bit time_t. Also fix
31709 a memory leak when requesting a hidden service descriptor we've
31710 requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
31712 - Authorities could be tricked into giving out the Exit flag to relays
31713 that didn't allow exiting to any ports. This bug could screw
31714 with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
31715 1238. Bug discovered by Martin Kowalczyk.
31716 - When freeing a session key, zero it out completely. We only zeroed
31717 the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
31718 patched by ekir. Fixes bug 1254.
31721 - Fix static compilation by listing the openssl libraries in the right
31722 order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
31723 - Resume handling .exit hostnames in a special way: originally we
31724 stripped the .exit part and used the requested exit relay. In
31725 0.2.2.1-alpha we stopped treating them in any special way, meaning
31726 if you use a .exit address then Tor will pass it on to the exit
31727 relay. Now we reject the .exit stream outright, since that behavior
31728 might be more expected by the user. Found and diagnosed by Scott
31729 Bennett and Downie on or-talk.
31730 - Don't spam the controller with events when we have no file
31731 descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
31732 for log messages was already solved from bug 748.)
31733 - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
31735 - Make the DNSPort option work with libevent 2.x. Don't alter the
31736 behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
31737 - Emit a GUARD DROPPED controller event for a case we missed.
31738 - Make more fields in the controller protocol case-insensitive, since
31739 control-spec.txt said they were.
31740 - Refactor resolve_my_address() to not use gethostbyname() anymore.
31741 Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
31742 - Fix a spec conformance issue: the network-status-version token
31743 must be the first token in a v3 consensus or vote. Discovered by
31744 parakeep. Bugfix on 0.2.0.3-alpha.
31746 o Code simplifications and refactoring:
31747 - Generate our manpage and HTML documentation using Asciidoc. This
31748 change should make it easier to maintain the documentation, and
31749 produce nicer HTML.
31750 - Remove the --enable-iphone option. According to reports from Marco
31751 Bonetti, Tor builds fine without any special tweaking on recent
31752 iPhone SDK versions.
31753 - Removed some unnecessary files from the source distribution. The
31754 AUTHORS file has now been merged into the people page on the
31755 website. The roadmaps and design doc can now be found in the
31756 projects directory in svn.
31757 - Enabled various circuit build timeout constants to be controlled
31758 by consensus parameters. Also set better defaults for these
31759 parameters based on experimentation on broadband and simulated
31760 high latency links.
31763 - The 'EXTENDCIRCUIT' control port command can now be used with
31764 a circ id of 0 and no path. This feature will cause Tor to build
31765 a new 'fast' general purpose circuit using its own path selection
31767 - Added a BUILDTIMEOUT_SET controller event to describe changes
31768 to the circuit build timeout.
31769 - Future-proof the controller protocol a bit by ignoring keyword
31770 arguments we do not recognize.
31771 - Expand homedirs passed to tor-checkkey. This should silence a
31772 coverity complaint about passing a user-supplied string into
31773 open() without checking it.
31776 Changes in version 0.2.1.25 - 2010-03-16
31777 Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
31778 prevent relays from guessing their IP address correctly. It also fixes
31779 several minor potential security bugs.
31782 - Fix a regression from our patch for bug 1244 that caused relays
31783 to guess their IP address incorrectly if they didn't set Address
31784 in their torrc and/or their address fails to resolve. Bugfix on
31785 0.2.1.23; fixes bug 1269.
31786 - When freeing a session key, zero it out completely. We only zeroed
31787 the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
31788 patched by ekir. Fixes bug 1254.
31791 - Fix a dereference-then-NULL-check sequence when publishing
31792 descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
31794 - Fix another dereference-then-NULL-check sequence. Bugfix on
31795 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
31796 - Make sure we treat potentially not NUL-terminated strings correctly.
31797 Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
31801 Changes in version 0.2.1.24 - 2010-02-21
31802 Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
31806 - Work correctly out-of-the-box with even more vendor-patched versions
31807 of OpenSSL. In particular, make it so Debian and OS X don't need
31808 customized patches to run/build.
31811 Changes in version 0.2.1.23 - 2010-02-13
31812 Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
31813 again on the latest OS X, and updates the location of a directory
31816 o Major bugfixes (performance):
31817 - We were selecting our guards uniformly at random, and then weighting
31818 which of our guards we'd use uniformly at random. This imbalance
31819 meant that Tor clients were severely limited on throughput (and
31820 probably latency too) by the first hop in their circuit. Now we
31821 select guards weighted by currently advertised bandwidth. We also
31822 automatically discard guards picked using the old algorithm. Fixes
31823 bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
31826 - Make Tor work again on the latest OS X: when deciding whether to
31827 use strange flags to turn TLS renegotiation on, detect the OpenSSL
31828 version at run-time, not compile time. We need to do this because
31829 Apple doesn't update its dev-tools headers when it updates its
31830 libraries in a security patch.
31831 - Fix a potential buffer overflow in lookup_last_hid_serv_request()
31832 that could happen on 32-bit platforms with 64-bit time_t. Also fix
31833 a memory leak when requesting a hidden service descriptor we've
31834 requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
31837 o Directory authority changes:
31838 - Change IP address for dannenberg (v3 directory authority), and
31839 remove moria2 (obsolete v1, v2 directory authority and v0 hidden
31840 service directory authority) from the list.
31843 - Refactor resolve_my_address() to not use gethostbyname() anymore.
31844 Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
31847 - Avoid a mad rush at the beginning of each month when each client
31848 rotates half of its guards. Instead we spread the rotation out
31849 throughout the month, but we still avoid leaving a precise timestamp
31850 in the state file about when we first picked the guard. Improves
31851 over the behavior introduced in 0.1.2.17.
31854 Changes in version 0.2.2.8-alpha - 2010-01-26
31855 Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
31856 causing bridge relays to disappear. If you're running a bridge,
31860 - Fix a memory corruption bug on bridges that occurred during the
31861 inclusion of stats data in extra-info descriptors. Also fix the
31862 interface for geoip_get_bridge_stats* to prevent similar bugs in
31863 the future. Diagnosis by Tas, patch by Karsten and Sebastian.
31864 Fixes bug 1208; bugfix on 0.2.2.7-alpha.
31867 - Ignore OutboundBindAddress when connecting to localhost.
31868 Connections to localhost need to come _from_ localhost, or else
31869 local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
31873 Changes in version 0.2.2.7-alpha - 2010-01-19
31874 Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
31875 as laying the groundwork for further relay-side performance fixes. It
31876 also starts cleaning up client behavior with respect to the EntryNodes,
31877 ExitNodes, and StrictNodes config options.
31879 This release also rotates two directory authority keys, due to a
31880 security breach of some of the Torproject servers.
31882 o Directory authority changes:
31883 - Rotate keys (both v3 identity and relay identity) for moria1
31886 o Major features (performance):
31887 - We were selecting our guards uniformly at random, and then weighting
31888 which of our guards we'd use uniformly at random. This imbalance
31889 meant that Tor clients were severely limited on throughput (and
31890 probably latency too) by the first hop in their circuit. Now we
31891 select guards weighted by currently advertised bandwidth. We also
31892 automatically discard guards picked using the old algorithm. Fixes
31893 bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
31894 - When choosing which cells to relay first, relays can now favor
31895 circuits that have been quiet recently, to provide lower latency
31896 for low-volume circuits. By default, relays enable or disable this
31897 feature based on a setting in the consensus. You can override
31898 this default by using the new "CircuitPriorityHalflife" config
31899 option. Design and code by Ian Goldberg, Can Tang, and Chris
31901 - Add separate per-conn write limiting to go with the per-conn read
31902 limiting. We added a global write limit in Tor 0.1.2.5-alpha,
31903 but never per-conn write limits.
31904 - New consensus params "bwconnrate" and "bwconnburst" to let us
31905 rate-limit client connections as they enter the network. It's
31906 controlled in the consensus so we can turn it on and off for
31907 experiments. It's starting out off. Based on proposal 163.
31909 o Major features (relay selection options):
31910 - Switch to a StrictNodes config option, rather than the previous
31911 "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
31912 "StrictExcludeNodes" option.
31913 - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
31914 change during a config reload, mark and discard all our origin
31915 circuits. This fix should address edge cases where we change the
31916 config options and but then choose a circuit that we created before
31918 - If EntryNodes or ExitNodes are set, be more willing to use an
31919 unsuitable (e.g. slow or unstable) circuit. The user asked for it,
31921 - Make EntryNodes config option much more aggressive even when
31922 StrictNodes is not set. Before it would prepend your requested
31923 entrynodes to your list of guard nodes, but feel free to use others
31924 after that. Now it chooses only from your EntryNodes if any of
31925 those are available, and only falls back to others if a) they're
31926 all down and b) StrictNodes is not set.
31927 - Now we refresh your entry guards from EntryNodes at each consensus
31928 fetch -- rather than just at startup and then they slowly rot as
31929 the network changes.
31932 - Stop bridge directory authorities from answering dbg-stability.txt
31933 directory queries, which would let people fetch a list of all
31934 bridge identities they track. Bugfix on 0.2.1.6-alpha.
31937 - Log a notice when we get a new control connection. Now it's easier
31938 for security-conscious users to recognize when a local application
31939 is knocking on their controller door. Suggested by bug 1196.
31940 - New config option "CircuitStreamTimeout" to override our internal
31941 timeout schedule for how many seconds until we detach a stream from
31942 a circuit and try a new circuit. If your network is particularly
31943 slow, you might want to set this to a number like 60.
31944 - New controller command "getinfo config-text". It returns the
31945 contents that Tor would write if you send it a SAVECONF command,
31946 so the controller can write the file to disk itself.
31947 - New options for SafeLogging to allow scrubbing only log messages
31948 generated while acting as a relay.
31949 - Ship the bridges spec file in the tarball too.
31950 - Avoid a mad rush at the beginning of each month when each client
31951 rotates half of its guards. Instead we spread the rotation out
31952 throughout the month, but we still avoid leaving a precise timestamp
31953 in the state file about when we first picked the guard. Improves
31954 over the behavior introduced in 0.1.2.17.
31956 o Minor bugfixes (compiling):
31957 - Fix compilation on OS X 10.3, which has a stub mlockall() but
31958 hides it. Bugfix on 0.2.2.6-alpha.
31959 - Fix compilation on Solaris by removing support for the
31960 DisableAllSwap config option. Solaris doesn't have an rlimit for
31961 mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
31964 o Minor bugfixes (crashes):
31965 - Do not segfault when writing buffer stats when we haven't observed
31966 a single circuit to report about. Found by Fabian Lanze. Bugfix on
31968 - If we're in the pathological case where there's no exit bandwidth
31969 but there is non-exit bandwidth, or no guard bandwidth but there
31970 is non-guard bandwidth, don't crash during path selection. Bugfix
31972 - Fix an impossible-to-actually-trigger buffer overflow in relay
31973 descriptor generation. Bugfix on 0.1.0.15.
31975 o Minor bugfixes (privacy):
31976 - Fix an instance where a Tor directory mirror might accidentally
31977 log the IP address of a misbehaving Tor client. Bugfix on
31979 - Don't list Windows capabilities in relay descriptors. We never made
31980 use of them, and maybe it's a bad idea to publish them. Bugfix
31983 o Minor bugfixes (other):
31984 - Resolve an edge case in path weighting that could make us misweight
31985 our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
31986 - Fix statistics on client numbers by country as seen by bridges that
31987 were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
31988 intervals instead of variable 12-to-48-hour intervals.
31989 - After we free an internal connection structure, overwrite it
31990 with a different memory value than we use for overwriting a freed
31991 internal circuit structure. Should help with debugging. Suggested
31993 - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
31996 o Removed features:
31997 - Remove the HSAuthorityRecordStats option that version 0 hidden
31998 service authorities could have used to track statistics of overall
31999 hidden service usage.
32002 Changes in version 0.2.1.22 - 2010-01-19
32003 Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
32004 authorities -- it would tell you its whole history of bridge descriptors
32005 if you make the right directory request. This stable update also
32006 rotates two of the seven v3 directory authority keys and locations.
32008 o Directory authority changes:
32009 - Rotate keys (both v3 identity and relay identity) for moria1
32013 - Stop bridge directory authorities from answering dbg-stability.txt
32014 directory queries, which would let people fetch a list of all
32015 bridge identities they track. Bugfix on 0.2.1.6-alpha.
32018 Changes in version 0.2.1.21 - 2009-12-21
32019 Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
32020 library. If you use Tor on Linux / Unix and you're getting SSL
32021 renegotiation errors, upgrading should help. We also recommend an
32022 upgrade if you're an exit relay.
32025 - Work around a security feature in OpenSSL 0.9.8l that prevents our
32026 handshake from working unless we explicitly tell OpenSSL that we
32027 are using SSL renegotiation safely. We are, of course, but OpenSSL
32028 0.9.8l won't work unless we say we are.
32029 - Avoid crashing if the client is trying to upload many bytes and the
32030 circuit gets torn down at the same time, or if the flip side
32031 happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
32034 - Do not refuse to learn about authority certs and v2 networkstatus
32035 documents that are older than the latest consensus. This bug might
32036 have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
32037 Spotted and fixed by xmux.
32038 - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
32039 trigger platform-specific option misparsing case found by Coverity
32041 - Fix a compilation warning on Fedora 12 by removing an impossible-to-
32042 trigger assert. Fixes bug 1173.
32045 Changes in version 0.2.2.6-alpha - 2009-11-19
32046 Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
32047 support for the new lower-footprint "microdescriptor" directory design,
32048 future-proofing our consensus format against new hash functions or
32049 other changes, and an Android port. It also makes Tor compatible with
32050 the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
32053 - Directory authorities can now create, vote on, and serve multiple
32054 parallel formats of directory data as part of their voting process.
32055 Partially implements Proposal 162: "Publish the consensus in
32057 - Directory authorities can now agree on and publish small summaries
32058 of router information that clients can use in place of regular
32059 server descriptors. This transition will eventually allow clients
32060 to use far less bandwidth for downloading information about the
32061 network. Begins the implementation of Proposal 158: "Clients
32062 download consensus + microdescriptors".
32063 - The directory voting system is now extensible to use multiple hash
32064 algorithms for signatures and resource selection. Newer formats
32065 are signed with SHA256, with a possibility for moving to a better
32066 hash algorithm in the future.
32067 - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
32068 current and future memory pages via mlockall(). On supported
32069 platforms (modern Linux and probably BSD but not Windows or OS X),
32070 this should effectively disable any and all attempts to page out
32071 memory. This option requires that you start your Tor as root --
32072 if you use DisableAllSwap, please consider using the User option
32073 to properly reduce the privileges of your Tor.
32074 - Numerous changes, bugfixes, and workarounds from Nathan Freitas
32075 to help Tor build correctly for Android phones.
32078 - Work around a security feature in OpenSSL 0.9.8l that prevents our
32079 handshake from working unless we explicitly tell OpenSSL that we
32080 are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
32081 won't work unless we say we are.
32084 - Fix a crash bug when trying to initialize the evdns module in
32085 Libevent 2. Bugfix on 0.2.1.16-rc.
32086 - Stop logging at severity 'warn' when some other Tor client tries
32087 to establish a circuit with us using weak DH keys. It's a protocol
32088 violation, but that doesn't mean ordinary users need to hear about
32089 it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
32090 - Do not refuse to learn about authority certs and v2 networkstatus
32091 documents that are older than the latest consensus. This bug might
32092 have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
32093 Spotted and fixed by xmux.
32094 - Fix numerous small code-flaws found by Coverity Scan Rung 3.
32095 - If all authorities restart at once right before a consensus vote,
32096 nobody will vote about "Running", and clients will get a consensus
32097 with no usable relays. Instead, authorities refuse to build a
32098 consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
32099 - If your relay can't keep up with the number of incoming create
32100 cells, it would log one warning per failure into your logs. Limit
32101 warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
32102 - Bridges now use "reject *:*" as their default exit policy. Bugfix
32103 on 0.2.0.3-alpha; fixes bug 1113.
32104 - Fix a memory leak on directory authorities during voting that was
32105 introduced in 0.2.2.1-alpha. Found via valgrind.
32108 Changes in version 0.2.1.20 - 2009-10-15
32109 Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
32110 services at once, prepares for more performance improvements, and
32111 fixes a bunch of smaller bugs.
32113 The Windows and OS X bundles also include a more recent Vidalia,
32114 and switch from Privoxy to Polipo.
32116 The OS X installers are now drag and drop. It's best to un-install
32117 Tor/Vidalia and then install this new bundle, rather than upgrade. If
32118 you want to upgrade, you'll need to update the paths for Tor and Polipo
32119 in the Vidalia Settings window.
32122 - Send circuit or stream sendme cells when our window has decreased
32123 by 100 cells, not when it has decreased by 101 cells. Bug uncovered
32124 by Karsten when testing the "reduce circuit window" performance
32125 patch. Bugfix on the 54th commit on Tor -- from July 2002,
32126 before the release of Tor 0.0.0. This is the new winner of the
32128 - Fix a remotely triggerable memory leak when a consensus document
32129 contains more than one signature from the same voter. Bugfix on
32131 - Avoid segfault in rare cases when finishing an introduction circuit
32132 as a client and finding out that we don't have an introduction key
32133 for it. Fixes bug 1073. Reported by Aaron Swartz.
32136 - Tor now reads the "circwindow" parameter out of the consensus,
32137 and uses that value for its circuit package window rather than the
32138 default of 1000 cells. Begins the implementation of proposal 168.
32140 o New directory authorities:
32141 - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
32143 - Move moria1 and tonga to alternate IP addresses.
32146 - Fix a signed/unsigned compile warning in 0.2.1.19.
32147 - Fix possible segmentation fault on directory authorities. Bugfix on
32149 - Fix an extremely rare infinite recursion bug that could occur if
32150 we tried to log a message after shutting down the log subsystem.
32151 Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
32152 - Fix an obscure bug where hidden services on 64-bit big-endian
32153 systems might mis-read the timestamp in v3 introduce cells, and
32154 refuse to connect back to the client. Discovered by "rotor".
32155 Bugfix on 0.2.1.6-alpha.
32156 - We were triggering a CLOCK_SKEW controller status event whenever
32157 we connect via the v2 connection protocol to any relay that has
32158 a wrong clock. Instead, we should only inform the controller when
32159 it's a trusted authority that claims our clock is wrong. Bugfix
32160 on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
32161 - We were telling the controller about CHECKING_REACHABILITY and
32162 REACHABILITY_FAILED status events whenever we launch a testing
32163 circuit or notice that one has failed. Instead, only tell the
32164 controller when we want to inform the user of overall success or
32165 overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
32167 - Don't warn when we're using a circuit that ends with a node
32168 excluded in ExcludeExitNodes, but the circuit is not used to access
32169 the outside world. This should help fix bug 1090. Bugfix on
32171 - Work around a small memory leak in some versions of OpenSSL that
32172 stopped the memory used by the hostname TLS extension from being
32176 - Add a "getinfo status/accepted-server-descriptor" controller
32177 command, which is the recommended way for controllers to learn
32178 whether our server descriptor has been successfully received by at
32179 least on directory authority. Un-recommend good-server-descriptor
32180 getinfo and status events until we have a better design for them.
32183 Changes in version 0.2.2.5-alpha - 2009-10-11
32184 Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
32187 - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
32189 o Directory authorities:
32190 - Temporarily (just for this release) move dizum to an alternate
32194 Changes in version 0.2.2.4-alpha - 2009-10-10
32195 Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
32196 introduces a new unit test framework, shifts directry authority
32197 addresses around to reduce the impact from recent blocking events,
32198 and fixes a few smaller bugs.
32201 - Fix several more asserts in the circuit_build_times code, for
32202 example one that causes Tor to fail to start once we have
32203 accumulated 5000 build times in the state file. Bugfixes on
32204 0.2.2.2-alpha; fixes bug 1108.
32206 o New directory authorities:
32207 - Move moria1 and Tonga to alternate IP addresses.
32210 - Log SSL state transitions at debug level during handshake, and
32211 include SSL states in error messages. This may help debug future
32212 SSL handshake issues.
32213 - Add a new "Handshake" log domain for activities that happen
32214 during the TLS handshake.
32215 - Revert to the "June 3 2009" ip-to-country file. The September one
32216 seems to have removed most US IP addresses.
32217 - Directory authorities now reject Tor relays with versions less than
32218 0.1.2.14. This step cuts out four relays from the current network,
32219 none of which are very big.
32222 - Fix a couple of smaller issues with gathering statistics. Bugfixes
32224 - Fix two memory leaks in the error case of
32225 circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
32226 - Don't count one-hop circuits when we're estimating how long it
32227 takes circuits to build on average. Otherwise we'll set our circuit
32228 build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
32229 - Directory authorities no longer change their opinion of, or vote on,
32230 whether a router is Running, unless they have themselves been
32231 online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
32234 o Code simplifications and refactoring:
32235 - Revise our unit tests to use the "tinytest" framework, so we
32236 can run tests in their own processes, have smarter setup/teardown
32237 code, and so on. The unit test code has moved to its own
32238 subdirectory, and has been split into multiple modules.
32241 Changes in version 0.2.2.3-alpha - 2009-09-23
32242 Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
32245 - Fix an overzealous assert in our new circuit build timeout code.
32246 Bugfix on 0.2.2.2-alpha; fixes bug 1103.
32249 - If the networkstatus consensus tells us that we should use a
32250 negative circuit package window, ignore it. Otherwise we'll
32251 believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
32254 Changes in version 0.2.2.2-alpha - 2009-09-21
32255 Tor 0.2.2.2-alpha introduces our latest performance improvement for
32256 clients: Tor tracks the average time it takes to build a circuit, and
32257 avoids using circuits that take too long to build. For fast connections,
32258 this feature can cut your expected latency in half. For slow or flaky
32259 connections, it could ruin your Tor experience. Let us know if it does!
32262 - Tor now tracks how long it takes to build client-side circuits
32263 over time, and adapts its timeout to local network performance.
32264 Since a circuit that takes a long time to build will also provide
32265 bad performance, we get significant latency improvements by
32266 discarding the slowest 20% of circuits. Specifically, Tor creates
32267 circuits more aggressively than usual until it has enough data
32268 points for a good timeout estimate. Implements proposal 151.
32269 We are especially looking for reports (good and bad) from users with
32270 both EDGE and broadband connections that can move from broadband
32271 to EDGE and find out if the build-time data in the .tor/state gets
32272 reset without loss of Tor usability. You should also see a notice
32273 log message telling you that Tor has reset its timeout.
32274 - Directory authorities can now vote on arbitrary integer values as
32275 part of the consensus process. This is designed to help set
32276 network-wide parameters. Implements proposal 167.
32277 - Tor now reads the "circwindow" parameter out of the consensus,
32278 and uses that value for its circuit package window rather than the
32279 default of 1000 cells. Begins the implementation of proposal 168.
32282 - Fix a remotely triggerable memory leak when a consensus document
32283 contains more than one signature from the same voter. Bugfix on
32287 - Fix an extremely rare infinite recursion bug that could occur if
32288 we tried to log a message after shutting down the log subsystem.
32289 Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
32290 - Fix parsing for memory or time units given without a space between
32291 the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
32292 - A networkstatus vote must contain exactly one signature. Spec
32293 conformance issue. Bugfix on 0.2.0.3-alpha.
32294 - Fix an obscure bug where hidden services on 64-bit big-endian
32295 systems might mis-read the timestamp in v3 introduce cells, and
32296 refuse to connect back to the client. Discovered by "rotor".
32297 Bugfix on 0.2.1.6-alpha.
32298 - We were triggering a CLOCK_SKEW controller status event whenever
32299 we connect via the v2 connection protocol to any relay that has
32300 a wrong clock. Instead, we should only inform the controller when
32301 it's a trusted authority that claims our clock is wrong. Bugfix
32302 on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
32303 - We were telling the controller about CHECKING_REACHABILITY and
32304 REACHABILITY_FAILED status events whenever we launch a testing
32305 circuit or notice that one has failed. Instead, only tell the
32306 controller when we want to inform the user of overall success or
32307 overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
32309 - Don't warn when we're using a circuit that ends with a node
32310 excluded in ExcludeExitNodes, but the circuit is not used to access
32311 the outside world. This should help fix bug 1090, but more problems
32312 remain. Bugfix on 0.2.1.6-alpha.
32313 - Work around a small memory leak in some versions of OpenSSL that
32314 stopped the memory used by the hostname TLS extension from being
32316 - Make our 'torify' script more portable; if we have only one of
32317 'torsocks' or 'tsocks' installed, don't complain to the user;
32318 and explain our warning about tsocks better.
32321 - Add a "getinfo status/accepted-server-descriptor" controller
32322 command, which is the recommended way for controllers to learn
32323 whether our server descriptor has been successfully received by at
32324 least on directory authority. Un-recommend good-server-descriptor
32325 getinfo and status events until we have a better design for them.
32326 - Update to the "September 4 2009" ip-to-country file.
32329 Changes in version 0.2.2.1-alpha - 2009-08-26
32330 Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
32331 Tor clients to bootstrap on networks where only port 80 is reachable,
32332 makes it more straightforward to support hardware crypto accelerators,
32333 and starts the groundwork for gathering stats safely at relays.
32336 - Start the process of disabling ".exit" address notation, since it
32337 can be used for a variety of esoteric application-level attacks
32338 on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
32341 o New directory authorities:
32342 - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
32346 - New AccelName and AccelDir options add support for dynamic OpenSSL
32347 hardware crypto acceleration engines.
32348 - Tor now supports tunneling all of its outgoing connections over
32349 a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
32350 configuration options. Code by Christopher Davis.
32353 - Send circuit or stream sendme cells when our window has decreased
32354 by 100 cells, not when it has decreased by 101 cells. Bug uncovered
32355 by Karsten when testing the "reduce circuit window" performance
32356 patch. Bugfix on the 54th commit on Tor -- from July 2002,
32357 before the release of Tor 0.0.0. This is the new winner of the
32360 o New options for gathering stats safely:
32361 - Directory mirrors that set "DirReqStatistics 1" write statistics
32362 about directory requests to disk every 24 hours. As compared to the
32363 --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
32364 1) stats are written to disk exactly every 24 hours; 2) estimated
32365 shares of v2 and v3 requests are determined as mean values, not at
32366 the end of a measurement period; 3) unresolved requests are listed
32367 with country code '??'; 4) directories also measure download times.
32368 - Exit nodes that set "ExitPortStatistics 1" write statistics on the
32369 number of exit streams and transferred bytes per port to disk every
32371 - Relays that set "CellStatistics 1" write statistics on how long
32372 cells spend in their circuit queues to disk every 24 hours.
32373 - Entry nodes that set "EntryStatistics 1" write statistics on the
32374 rough number and origins of connecting clients to disk every 24
32376 - Relays that write any of the above statistics to disk and set
32377 "ExtraInfoStatistics 1" include the past 24 hours of statistics in
32378 their extra-info documents.
32381 - New --digests command-line switch to output the digests of the
32382 source files Tor was built with.
32383 - The "torify" script now uses torsocks where available.
32384 - The memarea code now uses a sentinel value at the end of each area
32385 to make sure nothing writes beyond the end of an area. This might
32386 help debug some conceivable causes of bug 930.
32387 - Time and memory units in the configuration file can now be set to
32388 fractional units. For example, "2.5 GB" is now a valid value for
32390 - Certain Tor clients (such as those behind check.torproject.org) may
32391 want to fetch the consensus in an extra early manner. To enable this
32392 a user may now set FetchDirInfoExtraEarly to 1. This also depends on
32393 setting FetchDirInfoEarly to 1. Previous behavior will stay the same
32394 as only certain clients who must have this information sooner should
32396 - Instead of adding the svn revision to the Tor version string, report
32397 the git commit (when we're building from a git checkout).
32400 - If any of the v3 certs we download are unparseable, we should
32401 actually notice the failure so we don't retry indefinitely. Bugfix
32402 on 0.2.0.x; reported by "rotator".
32403 - If the cached cert file is unparseable, warn but don't exit.
32404 - Fix possible segmentation fault on directory authorities. Bugfix on
32406 - When Tor fails to parse a descriptor of any kind, dump it to disk.
32407 Might help diagnosing bug 1051.
32409 o Deprecated and removed features:
32410 - The controller no longer accepts the old obsolete "addr-mappings/"
32411 or "unregistered-servers-" GETINFO values.
32412 - Hidden services no longer publish version 0 descriptors, and clients
32413 do not request or use version 0 descriptors. However, the old hidden
32414 service authorities still accept and serve version 0 descriptors
32415 when contacted by older hidden services/clients.
32416 - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
32417 always on; using them is necessary for correct forward-compatible
32419 - Remove support for .noconnect style addresses. Nobody was using
32420 them, and they provided another avenue for detecting Tor users
32421 via application-level web tricks.
32423 o Packaging changes:
32424 - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
32425 installer bundles. See
32426 https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
32427 for details of what's new in Vidalia 0.2.3.
32428 - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
32429 - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
32430 configuration file, rather than the old Privoxy.
32431 - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
32432 x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
32433 - OS X Tor Expert Bundle: Tor is compiled as x86-only for
32434 better compatibility with OS X 10.6, aka Snow Leopard.
32435 - OS X Vidalia Bundle: The multi-package installer is now replaced
32436 by a simple drag and drop to the /Applications folder. This change
32437 occurred with the upgrade to Vidalia 0.2.3.
32440 Changes in version 0.2.1.19 - 2009-07-28
32441 Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
32442 services on Tor 0.2.1.3-alpha through 0.2.1.18.
32445 - Make accessing hidden services on 0.2.1.x work right again.
32446 Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
32447 part of patch provided by "optimist".
32450 - When a relay/bridge is writing out its identity key fingerprint to
32451 the "fingerprint" file and to its logs, write it without spaces. Now
32452 it will look like the fingerprints in our bridges documentation,
32453 and confuse fewer users.
32456 - Relays no longer publish a new server descriptor if they change
32457 their MaxAdvertisedBandwidth config option but it doesn't end up
32458 changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
32459 fixes bug 1026. Patch from Sebastian.
32460 - Avoid leaking memory every time we get a create cell but we have
32461 so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
32462 fixes bug 1034. Reported by BarkerJr.
32465 Changes in version 0.2.1.18 - 2009-07-24
32466 Tor 0.2.1.18 lays the foundations for performance improvements,
32467 adds status events to help users diagnose bootstrap problems, adds
32468 optional authentication/authorization for hidden services, fixes a
32469 variety of potential anonymity problems, and includes a huge pile of
32470 other features and bug fixes.
32473 - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
32476 Changes in version 0.2.1.17-rc - 2009-07-07
32477 Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
32478 candidate for the 0.2.1.x series. It lays the groundwork for further
32479 client performance improvements, and also fixes a big bug with directory
32480 authorities that were causing them to assign Guard and Stable flags
32483 The Windows bundles also finally include the geoip database that we
32484 thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
32485 should actually install Torbutton rather than giving you a cryptic
32486 failure message (oops).
32489 - Clients now use the bandwidth values in the consensus, rather than
32490 the bandwidth values in each relay descriptor. This approach opens
32491 the door to more accurate bandwidth estimates once the directory
32492 authorities start doing active measurements. Implements more of
32496 - When Tor clients restart after 1-5 days, they discard all their
32497 cached descriptors as too old, but they still use the cached
32498 consensus document. This approach is good for robustness, but
32499 bad for performance: since they don't know any bandwidths, they
32500 end up choosing at random rather than weighting their choice by
32501 speed. Fixed by the above feature of putting bandwidths in the
32502 consensus. Bugfix on 0.2.0.x.
32503 - Directory authorities were neglecting to mark relays down in their
32504 internal histories if the relays fall off the routerlist without
32505 ever being found unreachable. So there were relays in the histories
32506 that haven't been seen for eight months, and are listed as being
32507 up for eight months. This wreaked havoc on the "median wfu"
32508 and "median mtbf" calculations, in turn making Guard and Stable
32509 flags very wrong, hurting network performance. Fixes bugs 696 and
32510 969. Bugfix on 0.2.0.6-alpha.
32513 - Serve the DirPortFrontPage page even when we have been approaching
32514 our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
32515 - The control port would close the connection before flushing long
32516 replies, such as the network consensus, if a QUIT command was issued
32517 before the reply had completed. Now, the control port flushes all
32518 pending replies before closing the connection. Also fixed a spurious
32519 warning when a QUIT command is issued after a malformed or rejected
32520 AUTHENTICATE command, but before the connection was closed. Patch
32521 by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
32522 - When we can't find an intro key for a v2 hidden service descriptor,
32523 fall back to the v0 hidden service descriptor and log a bug message.
32524 Workaround for bug 1024.
32525 - Fix a log message that did not respect the SafeLogging option.
32529 - If we're a relay and we change our IP address, be more verbose
32530 about the reason that made us change. Should help track down
32531 further bugs for relays on dynamic IP addresses.
32534 Changes in version 0.2.0.35 - 2009-06-24
32536 - Avoid crashing in the presence of certain malformed descriptors.
32537 Found by lark, and by automated fuzzing.
32538 - Fix an edge case where a malicious exit relay could convince a
32539 controller that the client's DNS question resolves to an internal IP
32540 address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
32543 - Finally fix the bug where dynamic-IP relays disappear when their
32544 IP address changes: directory mirrors were mistakenly telling
32545 them their old address if they asked via begin_dir, so they
32546 never got an accurate answer about their new address, so they
32547 just vanished after a day. For belt-and-suspenders, relays that
32548 don't set Address in their config now avoid using begin_dir for
32549 all direct connections. Should fix bugs 827, 883, and 900.
32550 - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
32551 that would occur on some exit nodes when DNS failures and timeouts
32552 occurred in certain patterns. Fix for bug 957.
32555 - When starting with a cache over a few days old, do not leak
32556 memory for the obsolete router descriptors in it. Bugfix on
32557 0.2.0.33; fixes bug 672.
32558 - Hidden service clients didn't use a cached service descriptor that
32559 was older than 15 minutes, but wouldn't fetch a new one either,
32560 because there was already one in the cache. Now, fetch a v2
32561 descriptor unless the same descriptor was added to the cache within
32562 the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
32565 Changes in version 0.2.1.16-rc - 2009-06-20
32566 Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
32567 a bunch of minor bugs.
32570 - Fix an edge case where a malicious exit relay could convince a
32571 controller that the client's DNS question resolves to an internal IP
32572 address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
32574 o Major performance improvements (on 0.2.0.x):
32575 - Disable and refactor some debugging checks that forced a linear scan
32576 over the whole server-side DNS cache. These accounted for over 50%
32577 of CPU time on a relatively busy exit node's gprof profile. Found
32579 - Disable some debugging checks that appeared in exit node profile
32583 - Update to the "June 3 2009" ip-to-country file.
32584 - Do not have tor-resolve automatically refuse all .onion addresses;
32585 if AutomapHostsOnResolve is set in your torrc, this will work fine.
32587 o Minor bugfixes (on 0.2.0.x):
32588 - Log correct error messages for DNS-related network errors on
32590 - Fix a race condition that could cause crashes or memory corruption
32591 when running as a server with a controller listening for log
32593 - Avoid crashing when we have a policy specified in a DirPolicy or
32594 SocksPolicy or ReachableAddresses option with ports set on it,
32595 and we re-load the policy. May fix bug 996.
32596 - Hidden service clients didn't use a cached service descriptor that
32597 was older than 15 minutes, but wouldn't fetch a new one either,
32598 because there was already one in the cache. Now, fetch a v2
32599 descriptor unless the same descriptor was added to the cache within
32600 the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
32602 o Minor bugfixes (on 0.2.1.x):
32603 - Don't warn users about low port and hibernation mix when they
32604 provide a *ListenAddress directive to fix that. Bugfix on
32606 - When switching back and forth between bridge mode, do not start
32607 gathering GeoIP data until two hours have passed.
32608 - Do not complain that the user has requested an excluded node as
32609 an exit when the node is not really an exit. This could happen
32610 because the circuit was for testing, or an introduction point.
32614 Changes in version 0.2.1.15-rc - 2009-05-25
32615 Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
32616 series. It fixes a major bug on fast exit relays, as well as a variety
32617 of more minor bugs.
32619 o Major bugfixes (on 0.2.0.x):
32620 - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
32621 that would occur on some exit nodes when DNS failures and timeouts
32622 occurred in certain patterns. Fix for bug 957.
32624 o Minor bugfixes (on 0.2.0.x):
32625 - Actually return -1 in the error case for read_bandwidth_usage().
32626 Harmless bug, since we currently don't care about the return value
32627 anywhere. Bugfix on 0.2.0.9-alpha.
32628 - Provide a more useful log message if bug 977 (related to buffer
32629 freelists) ever reappears, and do not crash right away.
32630 - Fix an assertion failure on 64-bit platforms when we allocated
32631 memory right up to the end of a memarea, then realigned the memory
32632 one step beyond the end. Fixes a possible cause of bug 930.
32633 - Protect the count of open sockets with a mutex, so we can't
32634 corrupt it when two threads are closing or opening sockets at once.
32635 Fix for bug 939. Bugfix on 0.2.0.1-alpha.
32636 - Don't allow a bridge to publish its router descriptor to a
32637 non-bridge directory authority. Fixes part of bug 932.
32638 - When we change to or from being a bridge, reset our counts of
32639 client usage by country. Fixes bug 932.
32640 - Fix a bug that made stream bandwidth get misreported to the
32642 - Stop using malloc_usable_size() to use more area than we had
32643 actually allocated: it was safe, but made valgrind really unhappy.
32644 - Fix a memory leak when v3 directory authorities load their keys
32645 and cert from disk. Bugfix on 0.2.0.1-alpha.
32647 o Minor bugfixes (on 0.2.1.x):
32648 - Fix use of freed memory when deciding to mark a non-addable
32649 descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
32652 Changes in version 0.2.1.14-rc - 2009-04-12
32653 Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
32654 series. It begins fixing some major performance problems, and also
32655 finally addresses the bug that was causing relays on dynamic IP
32656 addresses to fall out of the directory.
32659 - Clients replace entry guards that were chosen more than a few months
32660 ago. This change should significantly improve client performance,
32661 especially once more people upgrade, since relays that have been
32662 a guard for a long time are currently overloaded.
32664 o Major bugfixes (on 0.2.0):
32665 - Finally fix the bug where dynamic-IP relays disappear when their
32666 IP address changes: directory mirrors were mistakenly telling
32667 them their old address if they asked via begin_dir, so they
32668 never got an accurate answer about their new address, so they
32669 just vanished after a day. For belt-and-suspenders, relays that
32670 don't set Address in their config now avoid using begin_dir for
32671 all direct connections. Should fix bugs 827, 883, and 900.
32672 - Relays were falling out of the networkstatus consensus for
32673 part of a day if they changed their local config but the
32674 authorities discarded their new descriptor as "not sufficiently
32675 different". Now directory authorities accept a descriptor as changed
32676 if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
32677 patch by Sebastian.
32678 - Avoid crashing in the presence of certain malformed descriptors.
32679 Found by lark, and by automated fuzzing.
32682 - When generating circuit events with verbose nicknames for
32683 controllers, try harder to look up nicknames for routers on a
32684 circuit. (Previously, we would look in the router descriptors we had
32685 for nicknames, but not in the consensus.) Partial fix for bug 941.
32686 - If the bridge config line doesn't specify a port, assume 443.
32687 This makes bridge lines a bit smaller and easier for users to
32689 - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
32690 bytes (aka 20KB/s), to match our documentation. Also update
32691 directory authorities so they always assign the Fast flag to relays
32692 with 20KB/s of capacity. Now people running relays won't suddenly
32693 find themselves not seeing any use, if the network gets faster
32695 - Update to the "April 3 2009" ip-to-country file.
32698 - Avoid trying to print raw memory to the logs when we decide to
32699 give up on downloading a given relay descriptor. Bugfix on
32701 - In tor-resolve, when the Tor client to use is specified by
32702 <hostname>:<port>, actually use the specified port rather than
32703 defaulting to 9050. Bugfix on 0.2.1.6-alpha.
32704 - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
32705 - When starting with a cache over a few days old, do not leak
32706 memory for the obsolete router descriptors in it. Bugfix on
32708 - Avoid double-free on list of successfully uploaded hidden
32709 service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
32710 - Change memarea_strndup() implementation to work even when
32711 duplicating a string at the end of a page. This bug was
32712 harmless for now, but could have meant crashes later. Fix by
32713 lark. Bugfix on 0.2.1.1-alpha.
32714 - Limit uploaded directory documents to be 16M rather than 500K.
32715 The directory authorities were refusing v3 consensus votes from
32716 other authorities, since the votes are now 504K. Fixes bug 959;
32717 bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
32718 - Directory authorities should never send a 503 "busy" response to
32719 requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
32723 Changes in version 0.2.1.13-alpha - 2009-03-09
32724 Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
32725 cleanups. We're finally getting close to a release candidate.
32728 - Correctly update the list of which countries we exclude as
32729 exits, when the GeoIP file is loaded or reloaded. Diagnosed by
32730 lark. Bugfix on 0.2.1.6-alpha.
32732 o Minor bugfixes (on 0.2.0.x and earlier):
32733 - Automatically detect MacOSX versions earlier than 10.4.0, and
32734 disable kqueue from inside Tor when running with these versions.
32735 We previously did this from the startup script, but that was no
32736 help to people who didn't use the startup script. Resolves bug 863.
32737 - When we had picked an exit node for a connection, but marked it as
32738 "optional", and it turned out we had no onion key for the exit,
32739 stop wanting that exit and try again. This situation may not
32740 be possible now, but will probably become feasible with proposal
32741 158. Spotted by rovv. Fixes another case of bug 752.
32742 - Clients no longer cache certificates for authorities they do not
32743 recognize. Bugfix on 0.2.0.9-alpha.
32744 - When we can't transmit a DNS request due to a network error, retry
32745 it after a while, and eventually transmit a failing response to
32746 the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
32747 - If the controller claimed responsibility for a stream, but that
32748 stream never finished making its connection, it would live
32749 forever in circuit_wait state. Now we close it after SocksTimeout
32750 seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
32751 - Drop begin cells to a hidden service if they come from the middle
32752 of a circuit. Patch from lark.
32753 - When we erroneously receive two EXTEND cells for the same circuit
32754 ID on the same connection, drop the second. Patch from lark.
32755 - Fix a crash that occurs on exit nodes when a nameserver request
32756 timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
32757 been suppressing the bug since 0.1.2.10-alpha. Partial fix for
32759 - Do not assume that a stack-allocated character array will be
32760 64-bit aligned on platforms that demand that uint64_t access is
32761 aligned. Possible fix for bug 604.
32762 - Parse dates and IPv4 addresses in a locale- and libc-independent
32763 manner, to avoid platform-dependent behavior on malformed input.
32764 - Build correctly when configured to build outside the main source
32765 path. Patch from Michael Gold.
32766 - We were already rejecting relay begin cells with destination port
32767 of 0. Now also reject extend cells with destination port or address
32768 of 0. Suggested by lark.
32770 o Minor bugfixes (on 0.2.1.x):
32771 - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
32772 cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
32773 - If we're an exit node, scrub the IP address to which we are exiting
32774 in the logs. Bugfix on 0.2.1.8-alpha.
32777 - On Linux, use the prctl call to re-enable core dumps when the user
32779 - New controller event NEWCONSENSUS that lists the networkstatus
32780 lines for every recommended relay. Now controllers like Torflow
32781 can keep up-to-date on which relays they should be using.
32782 - Update to the "February 26 2009" ip-to-country file.
32785 Changes in version 0.2.0.34 - 2009-02-08
32786 Tor 0.2.0.34 features several more security-related fixes. You should
32787 upgrade, especially if you run an exit relay (remote crash) or a
32788 directory authority (remote infinite loop), or you're on an older
32789 (pre-XP) or not-recently-patched Windows (remote exploit).
32791 This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
32792 have many known flaws, and nobody should be using them. You should
32793 upgrade. If you're using a Linux or BSD and its packages are obsolete,
32794 stop using those packages and upgrade anyway.
32797 - Fix an infinite-loop bug on handling corrupt votes under certain
32798 circumstances. Bugfix on 0.2.0.8-alpha.
32799 - Fix a temporary DoS vulnerability that could be performed by
32800 a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
32801 - Avoid a potential crash on exit nodes when processing malformed
32802 input. Remote DoS opportunity. Bugfix on 0.2.0.33.
32803 - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
32804 Spec conformance issue. Bugfix on Tor 0.0.2pre27.
32807 - Fix compilation on systems where time_t is a 64-bit integer.
32808 Patch from Matthias Drochner.
32809 - Don't consider expiring already-closed client connections. Fixes
32810 bug 893. Bugfix on 0.0.2pre20.
32813 Changes in version 0.2.1.12-alpha - 2009-02-08
32814 Tor 0.2.1.12-alpha features several more security-related fixes. You
32815 should upgrade, especially if you run an exit relay (remote crash) or
32816 a directory authority (remote infinite loop), or you're on an older
32817 (pre-XP) or not-recently-patched Windows (remote exploit). It also
32818 includes a big pile of minor bugfixes and cleanups.
32821 - Fix an infinite-loop bug on handling corrupt votes under certain
32822 circumstances. Bugfix on 0.2.0.8-alpha.
32823 - Fix a temporary DoS vulnerability that could be performed by
32824 a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
32825 - Avoid a potential crash on exit nodes when processing malformed
32826 input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
32829 - Let controllers actually ask for the "clients_seen" event for
32830 getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
32831 reported by Matt Edman.
32832 - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
32834 - Fix a bug in address parsing that was preventing bridges or hidden
32835 service targets from being at IPv6 addresses.
32836 - Solve a bug that kept hardware crypto acceleration from getting
32837 enabled when accounting was turned on. Fixes bug 907. Bugfix on
32839 - Remove a bash-ism from configure.in to build properly on non-Linux
32840 platforms. Bugfix on 0.2.1.1-alpha.
32841 - Fix code so authorities _actually_ send back X-Descriptor-Not-New
32842 headers. Bugfix on 0.2.0.10-alpha.
32843 - Don't consider expiring already-closed client connections. Fixes
32844 bug 893. Bugfix on 0.0.2pre20.
32845 - Fix another interesting corner-case of bug 891 spotted by rovv:
32846 Previously, if two hosts had different amounts of clock drift, and
32847 one of them created a new connection with just the wrong timing,
32848 the other might decide to deprecate the new connection erroneously.
32849 Bugfix on 0.1.1.13-alpha.
32850 - Resolve a very rare crash bug that could occur when the user forced
32851 a nameserver reconfiguration during the middle of a nameserver
32852 probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
32853 - Support changing value of ServerDNSRandomizeCase during SIGHUP.
32854 Bugfix on 0.2.1.7-alpha.
32855 - If we're using bridges and our network goes away, be more willing
32856 to forgive our bridges and try again when we get an application
32857 request. Bugfix on 0.2.0.x.
32860 - Support platforms where time_t is 64 bits long. (Congratulations,
32861 NetBSD!) Patch from Matthias Drochner.
32862 - Add a 'getinfo status/clients-seen' controller command, in case
32863 controllers want to hear clients_seen events but connect late.
32866 - Disable GCC's strict alias optimization by default, to avoid the
32867 likelihood of its introducing subtle bugs whenever our code violates
32868 the letter of C99's alias rules.
32871 Changes in version 0.2.0.33 - 2009-01-21
32872 Tor 0.2.0.33 fixes a variety of bugs that were making relays less
32873 useful to users. It also finally fixes a bug where a relay or client
32874 that's been off for many days would take a long time to bootstrap.
32876 This update also fixes an important security-related bug reported by
32877 Ilja van Sprundel. You should upgrade. (We'll send out more details
32878 about the bug once people have had some time to upgrade.)
32881 - Fix a heap-corruption bug that may be remotely triggerable on
32882 some platforms. Reported by Ilja van Sprundel.
32885 - When a stream at an exit relay is in state "resolving" or
32886 "connecting" and it receives an "end" relay cell, the exit relay
32887 would silently ignore the end cell and not close the stream. If
32888 the client never closes the circuit, then the exit relay never
32889 closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
32890 reported by "wood".
32891 - When sending CREATED cells back for a given circuit, use a 64-bit
32892 connection ID to find the right connection, rather than an addr:port
32893 combination. Now that we can have multiple OR connections between
32894 the same ORs, it is no longer possible to use addr:port to uniquely
32895 identify a connection.
32896 - Bridge relays that had DirPort set to 0 would stop fetching
32897 descriptors shortly after startup, and then briefly resume
32898 after a new bandwidth test and/or after publishing a new bridge
32899 descriptor. Bridge users that try to bootstrap from them would
32900 get a recent networkstatus but would get descriptors from up to
32901 18 hours earlier, meaning most of the descriptors were obsolete
32902 already. Reported by Tas; bugfix on 0.2.0.13-alpha.
32903 - Prevent bridge relays from serving their 'extrainfo' document
32904 to anybody who asks, now that extrainfo docs include potentially
32905 sensitive aggregated client geoip summaries. Bugfix on
32907 - If the cached networkstatus consensus is more than five days old,
32908 discard it rather than trying to use it. In theory it could be
32909 useful because it lists alternate directory mirrors, but in practice
32910 it just means we spend many minutes trying directory mirrors that
32911 are long gone from the network. Also discard router descriptors as
32912 we load them if they are more than five days old, since the onion
32913 key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
32916 - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
32917 could make gcc generate non-functional binary search code. Bugfix
32919 - Build correctly on platforms without socklen_t.
32920 - Compile without warnings on solaris.
32921 - Avoid potential crash on internal error during signature collection.
32922 Fixes bug 864. Patch from rovv.
32923 - Correct handling of possible malformed authority signing key
32924 certificates with internal signature types. Fixes bug 880.
32925 Bugfix on 0.2.0.3-alpha.
32926 - Fix a hard-to-trigger resource leak when logging credential status.
32928 - When we can't initialize DNS because the network is down, do not
32929 automatically stop Tor from starting. Instead, we retry failed
32930 dns_init() every 10 minutes, and change the exit policy to reject
32931 *:* until one succeeds. Fixes bug 691.
32932 - Use 64 bits instead of 32 bits for connection identifiers used with
32933 the controller protocol, to greatly reduce risk of identifier reuse.
32934 - When we're choosing an exit node for a circuit, and we have
32935 no pending streams, choose a good general exit rather than one that
32936 supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
32937 - Fix another case of assuming, when a specific exit is requested,
32938 that we know more than the user about what hosts it allows.
32939 Fixes one case of bug 752. Patch from rovv.
32940 - Clip the MaxCircuitDirtiness config option to a minimum of 10
32941 seconds. Warn the user if lower values are given in the
32942 configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
32943 - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
32944 user if lower values are given in the configuration. Bugfix on
32945 0.1.1.17-rc. Patch by Sebastian.
32946 - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
32947 the cache because we already had a v0 descriptor with the same ID.
32948 Bugfix on 0.2.0.18-alpha.
32949 - Fix a race condition when freeing keys shared between main thread
32950 and CPU workers that could result in a memory leak. Bugfix on
32951 0.1.0.1-rc. Fixes bug 889.
32952 - Send a valid END cell back when a client tries to connect to a
32953 nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
32954 840. Patch from rovv.
32955 - Check which hops rendezvous stream cells are associated with to
32956 prevent possible guess-the-streamid injection attacks from
32957 intermediate hops. Fixes another case of bug 446. Based on patch
32959 - If a broken client asks a non-exit router to connect somewhere,
32960 do not even do the DNS lookup before rejecting the connection.
32961 Fixes another case of bug 619. Patch from rovv.
32962 - When a relay gets a create cell it can't decrypt (e.g. because it's
32963 using the wrong onion key), we were dropping it and letting the
32964 client time out. Now actually answer with a destroy cell. Fixes
32965 bug 904. Bugfix on 0.0.2pre8.
32967 o Minor bugfixes (hidden services):
32968 - Do not throw away existing introduction points on SIGHUP. Bugfix on
32969 0.0.6pre1. Patch by Karsten. Fixes bug 874.
32972 - Report the case where all signatures in a detached set are rejected
32973 differently than the case where there is an error handling the
32975 - When we realize that another process has modified our cached
32976 descriptors, print out a more useful error message rather than
32977 triggering an assertion. Fixes bug 885. Patch from Karsten.
32978 - Implement the 0x20 hack to better resist DNS poisoning: set the
32979 case on outgoing DNS requests randomly, and reject responses that do
32980 not match the case correctly. This logic can be disabled with the
32981 ServerDNSRandomizeCase setting, if you are using one of the 0.3%
32982 of servers that do not reliably preserve case in replies. See
32983 "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
32985 - Check DNS replies for more matching fields to better resist DNS
32987 - Never use OpenSSL compression: it wastes RAM and CPU trying to
32988 compress cells, which are basically all encrypted, compressed, or
32992 Changes in version 0.2.1.11-alpha - 2009-01-20
32993 Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
32994 week it will take a long time to bootstrap again" bug. It also fixes
32995 an important security-related bug reported by Ilja van Sprundel. You
32996 should upgrade. (We'll send out more details about the bug once people
32997 have had some time to upgrade.)
33000 - Fix a heap-corruption bug that may be remotely triggerable on
33001 some platforms. Reported by Ilja van Sprundel.
33004 - Discard router descriptors as we load them if they are more than
33005 five days old. Otherwise if Tor is off for a long time and then
33006 starts with cached descriptors, it will try to use the onion
33007 keys in those obsolete descriptors when building circuits. Bugfix
33008 on 0.2.0.x. Fixes bug 887.
33011 - Try to make sure that the version of Libevent we're running with
33012 is binary-compatible with the one we built with. May address bug
33014 - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
33015 for bug 905. Bugfix on 0.2.1.7-alpha.
33016 - Add a new --enable-local-appdata configuration switch to change
33017 the default location of the datadir on win32 from APPDATA to
33018 LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
33019 entirely. Patch from coderman.
33022 - Make outbound DNS packets respect the OutboundBindAddress setting.
33023 Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
33024 - When our circuit fails at the first hop (e.g. we get a destroy
33025 cell back), avoid using that OR connection anymore, and also
33026 tell all the one-hop directory requests waiting for it that they
33027 should fail. Bugfix on 0.2.1.3-alpha.
33028 - In the torify(1) manpage, mention that tsocks will leak your
33032 Changes in version 0.2.1.10-alpha - 2009-01-06
33033 Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
33034 would make the bridge relay not so useful if it had DirPort set to 0,
33035 and one that could let an attacker learn a little bit of information
33036 about the bridge's users), and a bug that would cause your Tor relay
33037 to ignore a circuit create request it can't decrypt (rather than reply
33038 with an error). It also fixes a wide variety of other bugs.
33041 - If the cached networkstatus consensus is more than five days old,
33042 discard it rather than trying to use it. In theory it could
33043 be useful because it lists alternate directory mirrors, but in
33044 practice it just means we spend many minutes trying directory
33045 mirrors that are long gone from the network. Helps bug 887 a bit;
33047 - Bridge relays that had DirPort set to 0 would stop fetching
33048 descriptors shortly after startup, and then briefly resume
33049 after a new bandwidth test and/or after publishing a new bridge
33050 descriptor. Bridge users that try to bootstrap from them would
33051 get a recent networkstatus but would get descriptors from up to
33052 18 hours earlier, meaning most of the descriptors were obsolete
33053 already. Reported by Tas; bugfix on 0.2.0.13-alpha.
33054 - Prevent bridge relays from serving their 'extrainfo' document
33055 to anybody who asks, now that extrainfo docs include potentially
33056 sensitive aggregated client geoip summaries. Bugfix on
33060 - New controller event "clients_seen" to report a geoip-based summary
33061 of which countries we've seen clients from recently. Now controllers
33062 like Vidalia can show bridge operators that they're actually making
33064 - Build correctly against versions of OpenSSL 0.9.8 or later built
33065 without support for deprecated functions.
33066 - Update to the "December 19 2008" ip-to-country file.
33068 o Minor bugfixes (on 0.2.0.x):
33069 - Authorities now vote for the Stable flag for any router whose
33070 weighted MTBF is at least 5 days, regardless of the mean MTBF.
33071 - Do not remove routers as too old if we do not have any consensus
33072 document. Bugfix on 0.2.0.7-alpha.
33073 - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
33074 Spec conformance issue. Bugfix on Tor 0.0.2pre27.
33075 - When an exit relay resolves a stream address to a local IP address,
33076 do not just keep retrying that same exit relay over and
33077 over. Instead, just close the stream. Addresses bug 872. Bugfix
33078 on 0.2.0.32. Patch from rovv.
33079 - If a hidden service sends us an END cell, do not consider
33080 retrying the connection; just close it. Patch from rovv.
33081 - When we made bridge authorities stop serving bridge descriptors over
33082 unencrypted links, we also broke DirPort reachability testing for
33083 bridges. So bridges with a non-zero DirPort were printing spurious
33084 warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
33085 - When a relay gets a create cell it can't decrypt (e.g. because it's
33086 using the wrong onion key), we were dropping it and letting the
33087 client time out. Now actually answer with a destroy cell. Fixes
33088 bug 904. Bugfix on 0.0.2pre8.
33089 - Squeeze 2-5% out of client performance (according to oprofile) by
33090 improving the implementation of some policy-manipulation functions.
33092 o Minor bugfixes (on 0.2.1.x):
33093 - Make get_interface_address() function work properly again; stop
33094 guessing the wrong parts of our address as our address.
33095 - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
33096 send on that circuit. Otherwise we might violate the proposal-110
33097 limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
33099 - When we're sending non-EXTEND cells to the first hop in a circuit,
33100 for example to use an encrypted directory connection, we don't need
33101 to use RELAY_EARLY cells: the first hop knows what kind of cell
33102 it is, and nobody else can even see the cell type. Conserving
33103 RELAY_EARLY cells makes it easier to cannibalize circuits like
33105 - Stop logging nameserver addresses in reverse order.
33106 - If we are retrying a directory download slowly over and over, do
33107 not automatically give up after the 254th failure. Bugfix on
33109 - Resume reporting accurate "stream end" reasons to the local control
33110 port. They were lost in the changes for Proposal 148. Bugfix on
33113 o Deprecated and removed features:
33114 - The old "tor --version --version" command, which would print out
33115 the subversion "Id" of most of the source files, is now removed. It
33116 turned out to be less useful than we'd expected, and harder to
33119 o Code simplifications and refactoring:
33120 - Change our header file guard macros to be less likely to conflict
33121 with system headers. Adam Langley noticed that we were conflicting
33122 with log.h on Android.
33123 - Tool-assisted documentation cleanup. Nearly every function or
33124 static variable in Tor should have its own documentation now.
33127 Changes in version 0.2.1.9-alpha - 2008-12-25
33128 Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
33130 o New directory authorities:
33131 - gabelmoo (the authority run by Karsten Loesing) now has a new
33135 - Never use a connection with a mismatched address to extend a
33136 circuit, unless that connection is canonical. A canonical
33137 connection is one whose address is authenticated by the router's
33138 identity key, either in a NETINFO cell or in a router descriptor.
33139 - Avoid a possible memory corruption bug when receiving hidden service
33140 descriptors. Bugfix on 0.2.1.6-alpha.
33143 - Fix a logic error that would automatically reject all but the first
33144 configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
33145 part of bug 813/868. Bug spotted by coderman.
33146 - When a stream at an exit relay is in state "resolving" or
33147 "connecting" and it receives an "end" relay cell, the exit relay
33148 would silently ignore the end cell and not close the stream. If
33149 the client never closes the circuit, then the exit relay never
33150 closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
33151 reported by "wood".
33152 - When we can't initialize DNS because the network is down, do not
33153 automatically stop Tor from starting. Instead, retry failed
33154 dns_init() every 10 minutes, and change the exit policy to reject
33155 *:* until one succeeds. Fixes bug 691.
33158 - Give a better error message when an overzealous init script says
33159 "sudo -u username tor --user username". Makes Bug 882 easier for
33161 - When a directory authority gives us a new guess for our IP address,
33162 log which authority we used. Hopefully this will help us debug
33163 the recent complaints about bad IP address guesses.
33164 - Detect svn revision properly when we're using git-svn.
33165 - Try not to open more than one descriptor-downloading connection
33166 to an authority at once. This should reduce load on directory
33167 authorities. Fixes bug 366.
33168 - Add cross-certification to newly generated certificates, so that
33169 a signing key is enough information to look up a certificate.
33170 Partial implementation of proposal 157.
33171 - Start serving certificates by <identity digest, signing key digest>
33172 pairs. Partial implementation of proposal 157.
33173 - Clients now never report any stream end reason except 'MISC'.
33174 Implements proposal 148.
33175 - On platforms with a maximum syslog string length, truncate syslog
33176 messages to that length ourselves, rather than relying on the
33177 system to do it for us.
33178 - Optimize out calls to time(NULL) that occur for every IO operation,
33179 or for every cell. On systems where time() is a slow syscall,
33180 this fix will be slightly helpful.
33181 - Exit servers can now answer resolve requests for ip6.arpa addresses.
33182 - When we download a descriptor that we then immediately (as
33183 a directory authority) reject, do not retry downloading it right
33184 away. Should save some bandwidth on authorities. Fix for bug
33185 888. Patch by Sebastian Hahn.
33186 - When a download gets us zero good descriptors, do not notify
33187 Tor that new directory information has arrived.
33188 - Avoid some nasty corner cases in the logic for marking connections
33189 as too old or obsolete or noncanonical for circuits. Partial
33192 o Minor features (controller):
33193 - New CONSENSUS_ARRIVED event to note when a new consensus has
33194 been fetched and validated.
33195 - When we realize that another process has modified our cached
33196 descriptors file, print out a more useful error message rather
33197 than triggering an assertion. Fixes bug 885. Patch from Karsten.
33198 - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
33199 controllers to prevent SIGHUP from reloading the
33200 configuration. Fixes bug 856.
33203 - Resume using the correct "REASON=" stream when telling the
33204 controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
33205 - When a canonical connection appears later in our internal list
33206 than a noncanonical one for a given OR ID, always use the
33207 canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
33209 - Clip the MaxCircuitDirtiness config option to a minimum of 10
33210 seconds. Warn the user if lower values are given in the
33211 configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
33212 - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
33213 user if lower values are given in the configuration. Bugfix on
33214 0.1.1.17-rc. Patch by Sebastian.
33215 - Fix a race condition when freeing keys shared between main thread
33216 and CPU workers that could result in a memory leak. Bugfix on
33217 0.1.0.1-rc. Fixes bug 889.
33219 o Minor bugfixes (hidden services):
33220 - Do not throw away existing introduction points on SIGHUP (bugfix on
33221 0.0.6pre1); also, do not stall hidden services because we're
33222 throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
33223 by John Brooks. Patch by Karsten. Fixes bug 874.
33224 - Fix a memory leak when we decline to add a v2 rendezvous
33225 descriptor to the cache because we already had a v0 descriptor
33226 with the same ID. Bugfix on 0.2.0.18-alpha.
33228 o Deprecated and removed features:
33229 - RedirectExits has been removed. It was deprecated since
33231 - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
33232 has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
33233 - Cell pools are now always enabled; --disable-cell-pools is ignored.
33235 o Code simplifications and refactoring:
33236 - Rename the confusing or_is_obsolete field to the more appropriate
33237 is_bad_for_new_circs, and move it to or_connection_t where it
33239 - Move edge-only flags from connection_t to edge_connection_t: not
33240 only is this better coding, but on machines of plausible alignment,
33241 it should save 4-8 bytes per connection_t. "Every little bit helps."
33242 - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
33243 for consistency; keep old option working for backward compatibility.
33244 - Simplify the code for finding connections to use for a circuit.
33247 Changes in version 0.2.1.8-alpha - 2008-12-08
33248 Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
33249 builds better on unusual platforms like Solaris and old OS X, and
33250 fixes a variety of other issues.
33253 - New DirPortFrontPage option that takes an html file and publishes
33254 it as "/" on the DirPort. Now relay operators can provide a
33255 disclaimer without needing to set up a separate webserver. There's
33256 a sample disclaimer in contrib/tor-exit-notice.html.
33259 - When the client is choosing entry guards, now it selects at most
33260 one guard from a given relay family. Otherwise we could end up with
33261 all of our entry points into the network run by the same operator.
33262 Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
33265 - Fix a DOS opportunity during the voting signature collection process
33266 at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
33267 - Fix a possible segfault when establishing an exit connection. Bugfix
33271 - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
33273 - Made Tor a little less aggressive about deleting expired
33274 certificates. Partial fix for bug 854.
33275 - Stop doing unaligned memory access that generated bus errors on
33276 sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
33277 - Fix a crash bug when changing EntryNodes from the controller. Bugfix
33278 on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
33279 - Make USR2 log-level switch take effect immediately. Bugfix on
33281 - If one win32 nameserver fails to get added, continue adding the
33282 rest, and don't automatically fail.
33283 - Use fcntl() for locking when flock() is not available. Should fix
33284 compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
33285 - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
33286 could make gcc generate non-functional binary search code. Bugfix
33288 - Build correctly on platforms without socklen_t.
33289 - Avoid potential crash on internal error during signature collection.
33290 Fixes bug 864. Patch from rovv.
33291 - Do not use C's stdio library for writing to log files. This will
33292 improve logging performance by a minute amount, and will stop
33293 leaking fds when our disk is full. Fixes bug 861.
33294 - Stop erroneous use of O_APPEND in cases where we did not in fact
33295 want to re-seek to the end of a file before every last write().
33296 - Correct handling of possible malformed authority signing key
33297 certificates with internal signature types. Fixes bug 880. Bugfix
33299 - Fix a hard-to-trigger resource leak when logging credential status.
33303 - Directory mirrors no longer fetch the v1 directory or
33304 running-routers files. They are obsolete, and nobody asks for them
33305 anymore. This is the first step to making v1 authorities obsolete.
33307 o Minor features (controller):
33308 - Return circuit purposes in response to GETINFO circuit-status. Fixes
33312 Changes in version 0.2.0.32 - 2008-11-20
33313 Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
33314 packages (and maybe other packages) noticed by Theo de Raadt, fixes
33315 a smaller security flaw that might allow an attacker to access local
33316 services, further improves hidden service performance, and fixes a
33317 variety of other issues.
33320 - The "User" and "Group" config options did not clear the
33321 supplementary group entries for the Tor process. The "User" option
33322 is now more robust, and we now set the groups to the specified
33323 user's primary group. The "Group" option is now ignored. For more
33324 detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
33325 in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
33326 and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
33327 - The "ClientDNSRejectInternalAddresses" config option wasn't being
33328 consistently obeyed: if an exit relay refuses a stream because its
33329 exit policy doesn't allow it, we would remember what IP address
33330 the relay said the destination address resolves to, even if it's
33331 an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
33334 - Fix a DOS opportunity during the voting signature collection process
33335 at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
33337 o Major bugfixes (hidden services):
33338 - When fetching v0 and v2 rendezvous service descriptors in parallel,
33339 we were failing the whole hidden service request when the v0
33340 descriptor fetch fails, even if the v2 fetch is still pending and
33341 might succeed. Similarly, if the last v2 fetch fails, we were
33342 failing the whole hidden service request even if a v0 fetch is
33343 still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
33344 - When extending a circuit to a hidden service directory to upload a
33345 rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
33346 requests failed, because the router descriptor has not been
33347 downloaded yet. In these cases, do not attempt to upload the
33348 rendezvous descriptor, but wait until the router descriptor is
33349 downloaded and retry. Likewise, do not attempt to fetch a rendezvous
33350 descriptor from a hidden service directory for which the router
33351 descriptor has not yet been downloaded. Fixes bug 767. Bugfix
33355 - Fix several infrequent memory leaks spotted by Coverity.
33356 - When testing for libevent functions, set the LDFLAGS variable
33357 correctly. Found by Riastradh.
33358 - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
33359 bootstrapping with tunneled directory connections. Bugfix on
33360 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
33361 - When asked to connect to A.B.exit:80, if we don't know the IP for A
33362 and we know that server B rejects most-but-not all connections to
33363 port 80, we would previously reject the connection. Now, we assume
33364 the user knows what they were asking for. Fixes bug 752. Bugfix
33365 on 0.0.9rc5. Diagnosed by BarkerJr.
33366 - If we overrun our per-second write limits a little, count this as
33367 having used up our write allocation for the second, and choke
33368 outgoing directory writes. Previously, we had only counted this when
33369 we had met our limits precisely. Fixes bug 824. Patch from by rovv.
33370 Bugfix on 0.2.0.x (??).
33371 - Remove the old v2 directory authority 'lefkada' from the default
33372 list. It has been gone for many months.
33373 - Stop doing unaligned memory access that generated bus errors on
33374 sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
33375 - Make USR2 log-level switch take effect immediately. Bugfix on
33378 o Minor bugfixes (controller):
33379 - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
33380 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
33383 Changes in version 0.2.1.7-alpha - 2008-11-08
33384 Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
33385 packages (and maybe other packages) noticed by Theo de Raadt, fixes
33386 a smaller security flaw that might allow an attacker to access local
33387 services, adds better defense against DNS poisoning attacks on exit
33388 relays, further improves hidden service performance, and fixes a
33389 variety of other issues.
33392 - The "ClientDNSRejectInternalAddresses" config option wasn't being
33393 consistently obeyed: if an exit relay refuses a stream because its
33394 exit policy doesn't allow it, we would remember what IP address
33395 the relay said the destination address resolves to, even if it's
33396 an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
33397 - The "User" and "Group" config options did not clear the
33398 supplementary group entries for the Tor process. The "User" option
33399 is now more robust, and we now set the groups to the specified
33400 user's primary group. The "Group" option is now ignored. For more
33401 detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
33402 in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
33403 and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
33404 - Do not use or believe expired v3 authority certificates. Patch
33405 from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
33408 - Now NodeFamily and MyFamily config options allow spaces in
33409 identity fingerprints, so it's easier to paste them in.
33410 Suggested by Lucky Green.
33411 - Implement the 0x20 hack to better resist DNS poisoning: set the
33412 case on outgoing DNS requests randomly, and reject responses that do
33413 not match the case correctly. This logic can be disabled with the
33414 ServerDNSRandomizeCase setting, if you are using one of the 0.3%
33415 of servers that do not reliably preserve case in replies. See
33416 "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
33418 - Preserve case in replies to DNSPort requests in order to support
33419 the 0x20 hack for resisting DNS poisoning attacks.
33421 o Hidden service performance improvements:
33422 - When the client launches an introduction circuit, retry with a
33423 new circuit after 30 seconds rather than 60 seconds.
33424 - Launch a second client-side introduction circuit in parallel
33425 after a delay of 15 seconds (based on work by Christian Wilms).
33426 - Hidden services start out building five intro circuits rather
33427 than three, and when the first three finish they publish a service
33428 descriptor using those. Now we publish our service descriptor much
33429 faster after restart.
33432 - Minor fix in the warning messages when you're having problems
33433 bootstrapping; also, be more forgiving of bootstrap problems when
33434 we're still making incremental progress on a given bootstrap phase.
33435 - When we're choosing an exit node for a circuit, and we have
33436 no pending streams, choose a good general exit rather than one that
33437 supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
33438 - Send a valid END cell back when a client tries to connect to a
33439 nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
33440 840. Patch from rovv.
33441 - If a broken client asks a non-exit router to connect somewhere,
33442 do not even do the DNS lookup before rejecting the connection.
33443 Fixes another case of bug 619. Patch from rovv.
33444 - Fix another case of assuming, when a specific exit is requested,
33445 that we know more than the user about what hosts it allows.
33446 Fixes another case of bug 752. Patch from rovv.
33447 - Check which hops rendezvous stream cells are associated with to
33448 prevent possible guess-the-streamid injection attacks from
33449 intermediate hops. Fixes another case of bug 446. Based on patch
33451 - Avoid using a negative right-shift when comparing 32-bit
33452 addresses. Possible fix for bug 845 and bug 811.
33453 - Make the assert_circuit_ok() function work correctly on circuits that
33454 have already been marked for close.
33455 - Fix read-off-the-end-of-string error in unit tests when decoding
33456 introduction points.
33457 - Fix uninitialized size field for memory area allocation: may improve
33458 memory performance during directory parsing.
33459 - Treat duplicate certificate fetches as failures, so that we do
33460 not try to re-fetch an expired certificate over and over and over.
33461 - Do not say we're fetching a certificate when we'll in fact skip it
33462 because of a pending download.
33465 Changes in version 0.2.1.6-alpha - 2008-09-30
33466 Tor 0.2.1.6-alpha further improves performance and robustness of
33467 hidden services, starts work on supporting per-country relay selection,
33468 and fixes a variety of smaller issues.
33471 - Implement proposal 121: make it possible to build hidden services
33472 that only certain clients are allowed to connect to. This is
33473 enforced at several points, so that unauthorized clients are unable
33474 to send INTRODUCE cells to the service, or even (depending on the
33475 type of authentication) to learn introduction points. This feature
33476 raises the bar for certain kinds of active attacks against hidden
33477 services. Code by Karsten Loesing.
33478 - Relays now store and serve v2 hidden service descriptors by default,
33479 i.e., the new default value for HidServDirectoryV2 is 1. This is
33480 the last step in proposal 114, which aims to make hidden service
33481 lookups more reliable.
33482 - Start work to allow node restrictions to include country codes. The
33483 syntax to exclude nodes in a country with country code XX is
33484 "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
33485 refinement to decide what config options should take priority if
33486 you ask to both use a particular node and exclude it.
33487 - Allow ExitNodes list to include IP ranges and country codes, just
33488 like the Exclude*Nodes lists. Patch from Robert Hogan.
33491 - Fix a bug when parsing ports in tor_addr_port_parse() that caused
33492 Tor to fail to start if you had it configured to use a bridge
33493 relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
33494 - When extending a circuit to a hidden service directory to upload a
33495 rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
33496 requests failed, because the router descriptor had not been
33497 downloaded yet. In these cases, we now wait until the router
33498 descriptor is downloaded, and then retry. Likewise, clients
33499 now skip over a hidden service directory if they don't yet have
33500 its router descriptor, rather than futilely requesting it and
33501 putting mysterious complaints in the logs. Fixes bug 767. Bugfix
33503 - When fetching v0 and v2 rendezvous service descriptors in parallel,
33504 we were failing the whole hidden service request when the v0
33505 descriptor fetch fails, even if the v2 fetch is still pending and
33506 might succeed. Similarly, if the last v2 fetch fails, we were
33507 failing the whole hidden service request even if a v0 fetch is
33508 still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
33509 - DNS replies need to have names matching their requests, but
33510 these names should be in the questions section, not necessarily
33511 in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
33514 - Update to the "September 1 2008" ip-to-country file.
33515 - Allow ports 465 and 587 in the default exit policy again. We had
33516 rejected them in 0.1.0.15, because back in 2005 they were commonly
33517 misconfigured and ended up as spam targets. We hear they are better
33518 locked down these days.
33519 - Use a lockfile to make sure that two Tor processes are not
33520 simultaneously running with the same datadir.
33521 - Serve the latest v3 networkstatus consensus via the control
33522 port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
33523 - Better logging about stability/reliability calculations on directory
33525 - Drop the requirement to have an open dir port for storing and
33526 serving v2 hidden service descriptors.
33527 - Directory authorities now serve a /tor/dbg-stability.txt URL to
33528 help debug WFU and MTBF calculations.
33529 - Implement most of Proposal 152: allow specialized servers to permit
33530 single-hop circuits, and clients to use those servers to build
33531 single-hop circuits when using a specialized controller. Patch
33532 from Josh Albrecht. Resolves feature request 768.
33533 - Add a -p option to tor-resolve for specifying the SOCKS port: some
33534 people find host:port too confusing.
33535 - Make TrackHostExit mappings expire a while after their last use, not
33536 after their creation. Patch from Robert Hogan.
33537 - Provide circuit purposes along with circuit events to the controller.
33540 - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
33542 - Fixed some memory leaks -- some quite frequent, some almost
33543 impossible to trigger -- based on results from Coverity.
33544 - When testing for libevent functions, set the LDFLAGS variable
33545 correctly. Found by Riastradh.
33546 - Fix an assertion bug in parsing policy-related options; possible fix
33548 - Catch and report a few more bootstrapping failure cases when Tor
33549 fails to establish a TCP connection. Cleanup on 0.2.1.x.
33550 - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
33551 bootstrapping with tunneled directory connections. Bugfix on
33552 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
33553 - When asked to connect to A.B.exit:80, if we don't know the IP for A
33554 and we know that server B rejects most-but-not all connections to
33555 port 80, we would previously reject the connection. Now, we assume
33556 the user knows what they were asking for. Fixes bug 752. Bugfix
33557 on 0.0.9rc5. Diagnosed by BarkerJr.
33558 - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
33559 service directories if they have no advertised dir port. Bugfix
33561 - If we overrun our per-second write limits a little, count this as
33562 having used up our write allocation for the second, and choke
33563 outgoing directory writes. Previously, we had only counted this when
33564 we had met our limits precisely. Fixes bug 824. Patch by rovv.
33565 Bugfix on 0.2.0.x (??).
33566 - Avoid a "0 divided by 0" calculation when calculating router uptime
33567 at directory authorities. Bugfix on 0.2.0.8-alpha.
33568 - Make DNS resolved controller events into "CLOSED", not
33569 "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
33571 - Fix a bug where an unreachable relay would establish enough
33572 reachability testing circuits to do a bandwidth test -- if
33573 we already have a connection to the middle hop of the testing
33574 circuit, then it could establish the last hop by using the existing
33575 connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
33576 circuits no longer use entry guards in 0.2.1.3-alpha.
33577 - If we have correct permissions on $datadir, we complain to stdout
33578 and fail to start. But dangerous permissions on
33579 $datadir/cached-status/ would cause us to open a log and complain
33580 there. Now complain to stdout and fail to start in both cases. Fixes
33581 bug 820, reported by seeess.
33582 - Remove the old v2 directory authority 'lefkada' from the default
33583 list. It has been gone for many months.
33585 o Code simplifications and refactoring:
33586 - Revise the connection_new functions so that a more typesafe variant
33587 exists. This will work better with Coverity, and let us find any
33588 actual mistakes we're making here.
33589 - Refactor unit testing logic so that dmalloc can be used sensibly
33590 with unit tests to check for memory leaks.
33591 - Move all hidden-service related fields from connection and circuit
33592 structure to substructures: this way they won't eat so much memory.
33595 Changes in version 0.2.0.31 - 2008-09-03
33596 Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
33597 a big bug we're seeing where in rare cases traffic from one Tor stream
33598 gets mixed into another stream, and fixes a variety of smaller issues.
33601 - Make sure that two circuits can never exist on the same connection
33602 with the same circuit ID, even if one is marked for close. This
33603 is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
33604 - Relays now reject risky extend cells: if the extend cell includes
33605 a digest of all zeroes, or asks to extend back to the relay that
33606 sent the extend cell, tear down the circuit. Ideas suggested
33608 - If not enough of our entry guards are available so we add a new
33609 one, we might use the new one even if it overlapped with the
33610 current circuit's exit relay (or its family). Anonymity bugfix
33611 pointed out by rovv.
33614 - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
33615 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
33616 - Correctly detect the presence of the linux/netfilter_ipv4.h header
33617 when building against recent kernels. Bugfix on 0.1.2.1-alpha.
33618 - Pick size of default geoip filename string correctly on windows.
33619 Fixes bug 806. Bugfix on 0.2.0.30.
33620 - Make the autoconf script accept the obsolete --with-ssl-dir
33621 option as an alias for the actually-working --with-openssl-dir
33622 option. Fix the help documentation to recommend --with-openssl-dir.
33623 Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
33624 - When using the TransPort option on OpenBSD, and using the User
33625 option to change UID and drop privileges, make sure to open
33626 /dev/pf before dropping privileges. Fixes bug 782. Patch from
33627 Christopher Davis. Bugfix on 0.1.2.1-alpha.
33628 - Try to attach connections immediately upon receiving a RENDEZVOUS2
33629 or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
33630 on the client side when connecting to a hidden service. Bugfix
33631 on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
33632 - When closing an application-side connection because its circuit is
33633 getting torn down, generate the stream event correctly. Bugfix on
33634 0.1.2.x. Anonymous patch.
33637 Changes in version 0.2.1.5-alpha - 2008-08-31
33638 Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
33639 in a lot of the infrastructure for adding authorization to hidden
33640 services, lays the groundwork for having clients read their load
33641 balancing information out of the networkstatus consensus rather than
33642 the individual router descriptors, addresses two potential anonymity
33643 issues, and fixes a variety of smaller issues.
33646 - Convert many internal address representations to optionally hold
33648 - Generate and accept IPv6 addresses in many protocol elements.
33649 - Make resolver code handle nameservers located at ipv6 addresses.
33650 - Begin implementation of proposal 121 ("Client authorization for
33651 hidden services"): configure hidden services with client
33652 authorization, publish descriptors for them, and configure
33653 authorization data for hidden services at clients. The next
33654 step is to actually access hidden services that perform client
33656 - More progress toward proposal 141: Network status consensus
33657 documents and votes now contain bandwidth information for each
33658 router and a summary of that router's exit policy. Eventually this
33659 will be used by clients so that they do not have to download every
33660 known descriptor before building circuits.
33662 o Major bugfixes (on 0.2.0.x and before):
33663 - When sending CREATED cells back for a given circuit, use a 64-bit
33664 connection ID to find the right connection, rather than an addr:port
33665 combination. Now that we can have multiple OR connections between
33666 the same ORs, it is no longer possible to use addr:port to uniquely
33667 identify a connection.
33668 - Relays now reject risky extend cells: if the extend cell includes
33669 a digest of all zeroes, or asks to extend back to the relay that
33670 sent the extend cell, tear down the circuit. Ideas suggested
33672 - If not enough of our entry guards are available so we add a new
33673 one, we might use the new one even if it overlapped with the
33674 current circuit's exit relay (or its family). Anonymity bugfix
33675 pointed out by rovv.
33678 - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
33679 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
33680 - When using the TransPort option on OpenBSD, and using the User
33681 option to change UID and drop privileges, make sure to open /dev/pf
33682 before dropping privileges. Fixes bug 782. Patch from Christopher
33683 Davis. Bugfix on 0.1.2.1-alpha.
33684 - Correctly detect the presence of the linux/netfilter_ipv4.h header
33685 when building against recent kernels. Bugfix on 0.1.2.1-alpha.
33686 - Add a missing safe_str() call for a debug log message.
33687 - Use 64 bits instead of 32 bits for connection identifiers used with
33688 the controller protocol, to greatly reduce risk of identifier reuse.
33689 - Make the autoconf script accept the obsolete --with-ssl-dir
33690 option as an alias for the actually-working --with-openssl-dir
33691 option. Fix the help documentation to recommend --with-openssl-dir.
33692 Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
33695 - Rate-limit too-many-sockets messages: when they happen, they happen
33696 a lot. Resolves bug 748.
33697 - Resist DNS poisoning a little better by making sure that names in
33698 answer sections match.
33699 - Print the SOCKS5 error message string as well as the error code
33700 when a tor-resolve request fails. Patch from Jacob.
33703 Changes in version 0.2.1.4-alpha - 2008-08-04
33704 Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
33707 - The address part of exit policies was not correctly written
33708 to router descriptors. This generated router descriptors that failed
33709 their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
33711 - Tor triggered a false assert when extending a circuit to a relay
33712 but we already have a connection open to that relay. Noticed by
33713 phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
33716 - Fix a hidden service logging bug: in some edge cases, the router
33717 descriptor of a previously picked introduction point becomes
33718 obsolete and we need to give up on it rather than continually
33719 complaining that it has become obsolete. Observed by xiando. Bugfix
33722 o Removed features:
33723 - Take out the TestVia config option, since it was a workaround for
33724 a bug that was fixed in Tor 0.1.1.21.
33727 Changes in version 0.2.1.3-alpha - 2008-08-03
33728 Tor 0.2.1.3-alpha implements most of the pieces to prevent
33729 infinite-length circuit attacks (see proposal 110); fixes a bug that
33730 might cause exit relays to corrupt streams they send back; allows
33731 address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
33732 ExcludeExitNodes config options; and fixes a big pile of bugs.
33734 o Bootstrapping bugfixes (on 0.2.1.x-alpha):
33735 - Send a bootstrap problem "warn" event on the first problem if the
33736 reason is NO_ROUTE (that is, our network is down).
33739 - Implement most of proposal 110: The first K cells to be sent
33740 along a circuit are marked as special "early" cells; only K "early"
33741 cells will be allowed. Once this code is universal, we can block
33742 certain kinds of DOS attack by requiring that EXTEND commands must
33743 be sent using an "early" cell.
33746 - Try to attach connections immediately upon receiving a RENDEZVOUS2
33747 or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
33748 on the client side when connecting to a hidden service. Bugfix
33749 on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
33750 - Ensure that two circuits can never exist on the same connection
33751 with the same circuit ID, even if one is marked for close. This
33752 is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
33755 - When relays do their initial bandwidth measurement, don't limit
33756 to just our entry guards for the test circuits. Otherwise we tend
33757 to have multiple test circuits going through a single entry guard,
33758 which makes our bandwidth test less accurate. Fixes part of bug 654;
33759 patch contributed by Josh Albrecht.
33760 - Add an ExcludeExitNodes option so users can list a set of nodes
33761 that should be be excluded from the exit node position, but
33762 allowed elsewhere. Implements proposal 151.
33763 - Allow address patterns (e.g., 255.128.0.0/16) to appear in
33764 ExcludeNodes and ExcludeExitNodes lists.
33765 - Change the implementation of ExcludeNodes and ExcludeExitNodes to
33766 be more efficient. Formerly it was quadratic in the number of
33767 servers; now it should be linear. Fixes bug 509.
33768 - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
33769 and n_conn_id_digest fields into a separate structure that's
33770 only needed when the circuit has not yet attached to an n_conn.
33773 - Change the contrib/tor.logrotate script so it makes the new
33774 logs as "_tor:_tor" rather than the default, which is generally
33775 "root:wheel". Fixes bug 676, reported by Serge Koksharov.
33776 - Stop using __attribute__((nonnull)) with GCC: it can give us useful
33777 warnings (occasionally), but it can also cause the compiler to
33778 eliminate error-checking code. Suggested by Peter Gutmann.
33779 - When a hidden service is giving up on an introduction point candidate
33780 that was not included in the last published rendezvous descriptor,
33781 don't reschedule publication of the next descriptor. Fixes bug 763.
33783 - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
33784 HiddenServiceExcludeNodes as obsolete: they never worked properly,
33785 and nobody claims to be using them. Fixes bug 754. Bugfix on
33786 0.1.0.1-rc. Patch from Christian Wilms.
33787 - Fix a small alignment and memory-wasting bug on buffer chunks.
33790 o Minor bugfixes (controller):
33791 - When closing an application-side connection because its circuit
33792 is getting torn down, generate the stream event correctly.
33793 Bugfix on 0.1.2.x. Anonymous patch.
33795 o Removed features:
33796 - Remove all backward-compatibility code to support relays running
33797 versions of Tor so old that they no longer work at all on the
33801 Changes in version 0.2.0.30 - 2008-07-15
33803 - Stop using __attribute__((nonnull)) with GCC: it can give us useful
33804 warnings (occasionally), but it can also cause the compiler to
33805 eliminate error-checking code. Suggested by Peter Gutmann.
33808 Changes in version 0.2.0.29-rc - 2008-07-08
33809 Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
33810 hidden-service performance bugs, and fixes a bunch of smaller bugs.
33813 - If you have more than one bridge but don't know their keys,
33814 you would only launch a request for the descriptor of the first one
33815 on your list. (Tor considered launching requests for the others, but
33816 found that it already had a connection on the way for $0000...0000
33817 so it didn't open another.) Bugfix on 0.2.0.x.
33818 - If you have more than one bridge but don't know their keys, and the
33819 connection to one of the bridges failed, you would cancel all
33820 pending bridge connections. (After all, they all have the same
33821 digest.) Bugfix on 0.2.0.x.
33822 - When a hidden service was trying to establish an introduction point,
33823 and Tor had built circuits preemptively for such purposes, we
33824 were ignoring all the preemptive circuits and launching a new one
33825 instead. Bugfix on 0.2.0.14-alpha.
33826 - When a hidden service was trying to establish an introduction point,
33827 and Tor *did* manage to reuse one of the preemptively built
33828 circuits, it didn't correctly remember which one it used,
33829 so it asked for another one soon after, until there were no
33830 more preemptive circuits, at which point it launched one from
33831 scratch. Bugfix on 0.0.9.x.
33832 - Make directory servers include the X-Your-Address-Is: http header in
33833 their responses even for begin_dir conns. Now clients who only
33834 ever use begin_dir connections still have a way to learn their IP
33835 address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
33838 - Fix a macro/CPP interaction that was confusing some compilers:
33839 some GCCs don't like #if/#endif pairs inside macro arguments.
33841 - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
33842 Fixes bug 704; fix from Steven Murdoch.
33843 - When opening /dev/null in finish_daemonize(), do not pass the
33844 O_CREAT flag. Fortify was complaining, and correctly so. Fixes
33845 bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
33846 - Correctly detect transparent proxy support on Linux hosts that
33847 require in.h to be included before netfilter_ipv4.h. Patch
33849 - Disallow session resumption attempts during the renegotiation
33850 stage of the v2 handshake protocol. Clients should never be trying
33851 session resumption at this point, but apparently some did, in
33852 ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
33853 found by Geoff Goodell.
33856 Changes in version 0.2.1.2-alpha - 2008-06-20
33857 Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
33858 make it easier to set up your own private Tor network; fixes several
33859 big bugs with using more than one bridge relay; fixes a big bug with
33860 offering hidden services quickly after Tor starts; and uses a better
33861 API for reporting potential bootstrapping problems to the controller.
33864 - New TestingTorNetwork config option to allow adjustment of
33865 previously constant values that, while reasonable, could slow
33866 bootstrapping. Implements proposal 135. Patch from Karsten.
33869 - If you have more than one bridge but don't know their digests,
33870 you would only learn a request for the descriptor of the first one
33871 on your list. (Tor considered launching requests for the others, but
33872 found that it already had a connection on the way for $0000...0000
33873 so it didn't open another.) Bugfix on 0.2.0.x.
33874 - If you have more than one bridge but don't know their digests,
33875 and the connection to one of the bridges failed, you would cancel
33876 all pending bridge connections. (After all, they all have the
33877 same digest.) Bugfix on 0.2.0.x.
33878 - When establishing a hidden service, introduction points that
33879 originate from cannibalized circuits are completely ignored and not
33880 included in rendezvous service descriptors. This might be another
33881 reason for delay in making a hidden service available. Bugfix
33882 from long ago (0.0.9.x?)
33885 - Allow OpenSSL to use dynamic locks if it wants.
33886 - When building a consensus, do not include routers that are down.
33887 This will cut down 30% to 40% on consensus size. Implements
33889 - In directory authorities' approved-routers files, allow
33890 fingerprints with or without space.
33891 - Add a "GETINFO /status/bootstrap-phase" controller option, so the
33892 controller can query our current bootstrap state in case it attaches
33893 partway through and wants to catch up.
33894 - Send an initial "Starting" bootstrap status event, so we have a
33895 state to start out in.
33898 - Asking for a conditional consensus at .../consensus/<fingerprints>
33899 would crash a dirserver if it did not already have a
33900 consensus. Bugfix on 0.2.1.1-alpha.
33901 - Clean up some macro/CPP interactions: some GCC versions don't like
33902 #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
33905 o Bootstrapping bugfixes (on 0.2.1.1-alpha):
33906 - Directory authorities shouldn't complain about bootstrapping
33907 problems just because they do a lot of reachability testing and
33908 some of the connection attempts fail.
33909 - Start sending "count" and "recommendation" key/value pairs in
33910 bootstrap problem status events, so the controller can hear about
33911 problems even before Tor decides they're worth reporting for sure.
33912 - If you're using bridges, generate "bootstrap problem" warnings
33913 as soon as you run out of working bridges, rather than waiting
33914 for ten failures -- which will never happen if you have less than
33916 - If we close our OR connection because there's been a circuit
33917 pending on it for too long, we were telling our bootstrap status
33918 events "REASON=NONE". Now tell them "REASON=TIMEOUT".
33921 Changes in version 0.2.1.1-alpha - 2008-06-13
33922 Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
33923 were making the Tor process bloat especially on Linux; makes our TLS
33924 handshake blend in better; sends "bootstrap phase" status events to
33925 the controller, so it can keep the user informed of progress (and
33926 problems) fetching directory information and establishing circuits;
33927 and adds a variety of smaller features.
33930 - More work on making our TLS handshake blend in: modify the list
33931 of ciphers advertised by OpenSSL in client mode to even more
33932 closely resemble a common web browser. We cheat a little so that
33933 we can advertise ciphers that the locally installed OpenSSL doesn't
33935 - Start sending "bootstrap phase" status events to the controller,
33936 so it can keep the user informed of progress fetching directory
33937 information and establishing circuits. Also inform the controller
33938 if we think we're stuck at a particular bootstrap phase. Implements
33940 - Resume using OpenSSL's RAND_poll() for better (and more portable)
33941 cross-platform entropy collection again. We used to use it, then
33942 stopped using it because of a bug that could crash systems that
33943 called RAND_poll when they had a lot of fds open. It looks like the
33944 bug got fixed in late 2006. Our new behavior is to call RAND_poll()
33945 at startup, and to call RAND_poll() when we reseed later only if
33946 we have a non-buggy OpenSSL version.
33949 - When we choose to abandon a new entry guard because we think our
33950 older ones might be better, close any circuits pending on that
33951 new entry guard connection. This fix should make us recover much
33952 faster when our network is down and then comes back. Bugfix on
33953 0.1.2.8-beta; found by lodger.
33955 o Memory fixes and improvements:
33956 - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
33957 to avoid unused RAM in buffer chunks and memory pools.
33958 - Speed up parsing and cut down on memory fragmentation by using
33959 stack-style allocations for parsing directory objects. Previously,
33960 this accounted for over 40% of allocations from within Tor's code
33961 on a typical directory cache.
33962 - Use a Bloom filter rather than a digest-based set to track which
33963 descriptors we need to keep around when we're cleaning out old
33964 router descriptors. This speeds up the computation significantly,
33965 and may reduce fragmentation.
33966 - Reduce the default smartlist size from 32 to 16; it turns out that
33967 most smartlists hold around 8-12 elements tops.
33968 - Make dumpstats() log the fullness and size of openssl-internal
33970 - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
33971 patch to their OpenSSL, turn it on to save memory on servers. This
33972 patch will (with any luck) get included in a mainline distribution
33974 - Never use OpenSSL compression: it wastes RAM and CPU trying to
33975 compress cells, which are basically all encrypted, compressed,
33979 - Stop reloading the router list from disk for no reason when we
33980 run out of reachable directory mirrors. Once upon a time reloading
33981 it would set the 'is_running' flag back to 1 for them. It hasn't
33982 done that for a long time.
33983 - In very rare situations new hidden service descriptors were
33984 published earlier than 30 seconds after the last change to the
33985 service. (We currently think that a hidden service descriptor
33986 that's been stable for 30 seconds is worth publishing.)
33989 - Allow separate log levels to be configured for different logging
33990 domains. For example, this allows one to log all notices, warnings,
33991 or errors, plus all memory management messages of level debug or
33992 higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
33993 - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
33994 and stop using a warning that had become unfixably verbose under
33996 - New --hush command-line option similar to --quiet. While --quiet
33997 disables all logging to the console on startup, --hush limits the
33998 output to messages of warning and error severity.
33999 - Servers support a new URL scheme for consensus downloads that
34000 allows the client to specify which authorities are trusted.
34001 The server then only sends the consensus if the client will trust
34002 it. Otherwise a 404 error is sent back. Clients use this
34003 new scheme when the server supports it (meaning it's running
34004 0.2.1.1-alpha or later). Implements proposal 134.
34005 - New configure/torrc options (--enable-geoip-stats,
34006 DirRecordUsageByCountry) to record how many IPs we've served
34007 directory info to in each country code, how many status documents
34008 total we've sent to each country code, and what share of the total
34009 directory requests we should expect to see.
34010 - Use the TLS1 hostname extension to more closely resemble browser
34012 - Lots of new unit tests.
34013 - Add a macro to implement the common pattern of iterating through
34014 two parallel lists in lockstep.
34017 Changes in version 0.2.0.28-rc - 2008-06-13
34018 Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
34019 performance bug, and fixes a bunch of smaller bugs.
34022 - Fix a bug where, when we were choosing the 'end stream reason' to
34023 put in our relay end cell that we send to the exit relay, Tor
34024 clients on Windows were sometimes sending the wrong 'reason'. The
34025 anonymity problem is that exit relays may be able to guess whether
34026 the client is running Windows, thus helping partition the anonymity
34027 set. Down the road we should stop sending reasons to exit relays,
34028 or otherwise prevent future versions of this bug.
34031 - While setting up a hidden service, some valid introduction circuits
34032 were overlooked and abandoned. This might be the reason for
34033 the long delay in making a hidden service available. Bugfix on
34037 - Update to the "June 9 2008" ip-to-country file.
34038 - Run 'make test' as part of 'make dist', so we stop releasing so
34039 many development snapshots that fail their unit tests.
34042 - When we're checking if we have enough dir info for each relay
34043 to begin establishing circuits, make sure that we actually have
34044 the descriptor listed in the consensus, not just any descriptor.
34046 - Bridge relays no longer print "xx=0" in their extrainfo document
34047 for every single country code in the geoip db. Bugfix on
34049 - Only warn when we fail to load the geoip file if we were planning to
34050 include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
34051 - If we change our MaxAdvertisedBandwidth and then reload torrc,
34052 Tor won't realize it should publish a new relay descriptor. Fixes
34053 bug 688, reported by mfr. Bugfix on 0.1.2.x.
34054 - When we haven't had any application requests lately, don't bother
34055 logging that we have expired a bunch of descriptors. Bugfix
34057 - Make relay cells written on a connection count as non-padding when
34058 tracking how long a connection has been in use. Bugfix on
34059 0.2.0.1-alpha. Spotted by lodger.
34060 - Fix unit tests in 0.2.0.27-rc.
34061 - Fix compile on Windows.
34064 Changes in version 0.2.0.27-rc - 2008-06-03
34065 Tor 0.2.0.27-rc adds a few features we left out of the earlier
34066 release candidates. In particular, we now include an IP-to-country
34067 GeoIP database, so controllers can easily look up what country a
34068 given relay is in, and so bridge relays can give us some sanitized
34069 summaries about which countries are making use of bridges. (See proposal
34070 126-geoip-fetching.txt for details.)
34073 - Include an IP-to-country GeoIP file in the tarball, so bridge
34074 relays can report sanitized summaries of the usage they're seeing.
34077 - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
34078 Robert Hogan. Fixes the first part of bug 681.
34079 - Make bridge authorities never serve extrainfo docs.
34080 - Add support to detect Libevent versions in the 1.4.x series
34082 - Fix build on gcc 4.3 with --enable-gcc-warnings set.
34083 - Include a new contrib/tor-exit-notice.html file that exit relay
34084 operators can put on their website to help reduce abuse queries.
34087 - When tunneling an encrypted directory connection, and its first
34088 circuit fails, do not leave it unattached and ask the controller
34089 to deal. Fixes the second part of bug 681.
34090 - Make bridge authorities correctly expire old extrainfo documents
34094 Changes in version 0.2.0.26-rc - 2008-05-13
34095 Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
34096 in Debian's OpenSSL packages. All users running any 0.2.0.x version
34097 should upgrade, whether they're running Debian or not.
34099 o Major security fixes:
34100 - Use new V3 directory authority keys on the tor26, gabelmoo, and
34101 moria1 V3 directory authorities. The old keys were generated with
34102 a vulnerable version of Debian's OpenSSL package, and must be
34103 considered compromised. Other authorities' keys were not generated
34104 with an affected version of OpenSSL.
34107 - List authority signatures as "unrecognized" based on DirServer
34108 lines, not on cert cache. Bugfix on 0.2.0.x.
34111 - Add a new V3AuthUseLegacyKey option to make it easier for
34112 authorities to change their identity keys if they have to.
34115 Changes in version 0.2.0.25-rc - 2008-04-23
34116 Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
34119 - Remember to initialize threading before initializing logging.
34120 Otherwise, many BSD-family implementations will crash hard on
34121 startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
34124 - Authorities correctly free policies on bad servers on
34125 exit. Fixes bug 672. Bugfix on 0.2.0.x.
34128 Changes in version 0.2.0.24-rc - 2008-04-22
34129 Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
34130 v3 directory authority, makes relays with dynamic IP addresses and no
34131 DirPort notice more quickly when their IP address changes, fixes a few
34132 rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
34134 o New directory authorities:
34135 - Take lefkada out of the list of v3 directory authorities, since
34136 it has been down for months.
34137 - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
34141 - Detect address changes more quickly on non-directory mirror
34142 relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
34144 o Minor features (security):
34145 - Reject requests for reverse-dns lookup of names that are in
34146 a private address space. Patch from lodger.
34147 - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
34150 o Minor bugfixes (crashes):
34151 - Avoid a rare assert that can trigger when Tor doesn't have much
34152 directory information yet and it tries to fetch a v2 hidden
34153 service descriptor. Fixes bug 651, reported by nwf.
34154 - Initialize log mutex before initializing dmalloc. Otherwise,
34155 running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
34156 - Use recursive pthread mutexes in order to avoid deadlock when
34157 logging debug-level messages to a controller. Bug spotted by nwf,
34158 bugfix on 0.2.0.16-alpha.
34160 o Minor bugfixes (resource management):
34161 - Keep address policies from leaking memory: start their refcount
34162 at 1, not 2. Bugfix on 0.2.0.16-alpha.
34163 - Free authority certificates on exit, so they don't look like memory
34164 leaks. Bugfix on 0.2.0.19-alpha.
34165 - Free static hashtables for policy maps and for TLS connections on
34166 shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
34167 - Avoid allocating extra space when computing consensuses on 64-bit
34168 platforms. Bug spotted by aakova.
34170 o Minor bugfixes (misc):
34171 - Do not read the configuration file when we've only been told to
34172 generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
34173 based on patch from Sebastian Hahn.
34174 - Exit relays that are used as a client can now reach themselves
34175 using the .exit notation, rather than just launching an infinite
34176 pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
34177 - When attempting to open a logfile fails, tell us why.
34178 - Fix a dumb bug that was preventing us from knowing that we should
34179 preemptively build circuits to handle expected directory requests.
34180 Fixes bug 660. Bugfix on 0.1.2.x.
34181 - Warn less verbosely about clock skew from netinfo cells from
34182 untrusted sources. Fixes bug 663.
34183 - Make controller stream events for DNS requests more consistent,
34184 by adding "new stream" events for DNS requests, and removing
34185 spurious "stream closed" events" for cached reverse resolves.
34186 Patch from mwenge. Fixes bug 646.
34187 - Correctly notify one-hop connections when a circuit build has
34188 failed. Possible fix for bug 669. Found by lodger.
34191 Changes in version 0.2.0.23-rc - 2008-03-24
34192 Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
34193 makes bootstrapping faster if the first directory mirror you contact
34194 is down. The bundles also include the new Vidalia 0.1.2 release.
34197 - When a tunneled directory request is made to a directory server
34198 that's down, notice after 30 seconds rather than 120 seconds. Also,
34199 fail any begindir streams that are pending on it, so they can
34200 retry elsewhere. This was causing multi-minute delays on bootstrap.
34203 Changes in version 0.2.0.22-rc - 2008-03-18
34204 Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
34205 enables encrypted directory connections by default for non-relays, fixes
34206 some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
34207 other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
34210 - Enable encrypted directory connections by default for non-relays,
34211 so censor tools that block Tor directory connections based on their
34212 plaintext patterns will no longer work. This means Tor works in
34213 certain censored countries by default again.
34216 - Make sure servers always request certificates from clients during
34217 TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
34218 - Do not enter a CPU-eating loop when a connection is closed in
34219 the middle of client-side TLS renegotiation. Fixes bug 622. Bug
34220 diagnosed by lodger; bugfix on 0.2.0.20-rc.
34221 - Fix assertion failure that could occur when a blocked circuit
34222 became unblocked, and it had pending client DNS requests. Bugfix
34223 on 0.2.0.1-alpha. Fixes bug 632.
34225 o Minor bugfixes (on 0.1.2.x):
34226 - Generate "STATUS_SERVER" events rather than misspelled
34227 "STATUS_SEVER" events. Caught by mwenge.
34228 - When counting the number of bytes written on a TLS connection,
34229 look at the BIO actually used for writing to the network, not
34230 at the BIO used (sometimes) to buffer data for the network.
34231 Looking at different BIOs could result in write counts on the
34232 order of ULONG_MAX. Fixes bug 614.
34233 - On Windows, correctly detect errors when listing the contents of
34234 a directory. Fix from lodger.
34236 o Minor bugfixes (on 0.2.0.x):
34237 - Downgrade "sslv3 alert handshake failure" message to INFO.
34238 - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
34239 left BandwidthRate and BandwidthBurst at the default, we would be
34240 silently limited by those defaults. Now raise them to match the
34241 RelayBandwidth* values.
34242 - Fix the SVK version detection logic to work correctly on a branch.
34243 - Make --enable-openbsd-malloc work correctly on Linux with alpha
34244 CPUs. Fixes bug 625.
34245 - Logging functions now check that the passed severity is sane.
34246 - Use proper log levels in the testsuite call of
34247 get_interface_address6().
34248 - When using a nonstandard malloc, do not use the platform values for
34249 HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
34250 - Make the openbsd malloc code use 8k pages on alpha CPUs and
34252 - Detect mismatched page sizes when using --enable-openbsd-malloc.
34253 - Avoid double-marked-for-close warning when certain kinds of invalid
34254 .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
34255 for bug 617. Bugfix on 0.2.0.1-alpha.
34256 - Make sure that the "NULL-means-reject *:*" convention is followed by
34257 all the policy manipulation functions, avoiding some possible crash
34258 bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
34259 - Fix the implementation of ClientDNSRejectInternalAddresses so that it
34260 actually works, and doesn't warn about every single reverse lookup.
34261 Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
34264 - Only log guard node status when guard node status has changed.
34265 - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
34266 make "INFO" 75% less verbose.
34269 Changes in version 0.2.0.21-rc - 2008-03-02
34270 Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
34271 makes Tor work well with Vidalia again, fixes a rare assert bug,
34272 and fixes a pair of more minor bugs. The bundles also include Vidalia
34273 0.1.0 and Torbutton 1.1.16.
34276 - The control port should declare that it requires password auth
34277 when HashedControlSessionPassword is set too. Patch from Matt Edman;
34278 bugfix on 0.2.0.20-rc. Fixes bug 615.
34279 - Downgrade assert in connection_buckets_decrement() to a log message.
34280 This may help us solve bug 614, and in any case will make its
34281 symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
34282 - We were sometimes miscounting the number of bytes read from the
34283 network, causing our rate limiting to not be followed exactly.
34284 Bugfix on 0.2.0.16-alpha. Reported by lodger.
34287 - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
34288 OpenSSL versions should have been working fine. Diagnosis and patch
34289 from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
34290 Bugfix on 0.2.0.20-rc.
34293 Changes in version 0.2.0.20-rc - 2008-02-24
34294 Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
34295 makes more progress towards normalizing Tor's TLS handshake, makes
34296 hidden services work better again, helps relays bootstrap if they don't
34297 know their IP address, adds optional support for linking in openbsd's
34298 allocator or tcmalloc, allows really fast relays to scale past 15000
34299 sockets, and fixes a bunch of minor bugs reported by Veracode.
34302 - Enable the revised TLS handshake based on the one designed by
34303 Steven Murdoch in proposal 124, as revised in proposal 130. It
34304 includes version negotiation for OR connections as described in
34305 proposal 105. The new handshake is meant to be harder for censors
34306 to fingerprint, and it adds the ability to detect certain kinds of
34307 man-in-the-middle traffic analysis attacks. The version negotiation
34308 feature will allow us to improve Tor's link protocol more safely
34310 - Choose which bridge to use proportional to its advertised bandwidth,
34311 rather than uniformly at random. This should speed up Tor for
34312 bridge users. Also do this for people who set StrictEntryNodes.
34313 - When a TrackHostExits-chosen exit fails too many times in a row,
34314 stop using it. Bugfix on 0.1.2.x; fixes bug 437.
34317 - Resolved problems with (re-)fetching hidden service descriptors.
34318 Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
34319 and 0.2.0.19-alpha.
34320 - If we only ever used Tor for hidden service lookups or posts, we
34321 would stop building circuits and start refusing connections after
34322 24 hours, since we falsely believed that Tor was dormant. Reported
34323 by nwf; bugfix on 0.1.2.x.
34324 - Servers that don't know their own IP address should go to the
34325 authorities for their first directory fetch, even if their DirPort
34326 is off or if they don't know they're reachable yet. This will help
34327 them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
34328 - When counting the number of open sockets, count not only the number
34329 of sockets we have received from the socket() call, but also
34330 the number we've gotten from accept() and socketpair(). This bug
34331 made us fail to count all sockets that we were using for incoming
34332 connections. Bugfix on 0.2.0.x.
34333 - Fix code used to find strings within buffers, when those strings
34334 are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
34335 - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
34336 - Add a new __HashedControlSessionPassword option for controllers
34337 to use for one-off session password hashes that shouldn't get
34338 saved to disk by SAVECONF --- Vidalia users were accumulating a
34339 pile of HashedControlPassword lines in their torrc files, one for
34340 each time they had restarted Tor and then clicked Save. Make Tor
34341 automatically convert "HashedControlPassword" to this new option but
34342 only when it's given on the command line. Partial fix for bug 586.
34344 o Minor features (performance):
34345 - Tune parameters for cell pool allocation to minimize amount of
34347 - Add OpenBSD malloc code from phk as an optional malloc
34348 replacement on Linux: some glibc libraries do very poorly
34349 with Tor's memory allocation patterns. Pass
34350 --enable-openbsd-malloc to get the replacement malloc code.
34351 - Add a --with-tcmalloc option to the configure script to link
34352 against tcmalloc (if present). Does not yet search for
34353 non-system include paths.
34354 - Stop imposing an arbitrary maximum on the number of file descriptors
34355 used for busy servers. Bug reported by Olaf Selke; patch from
34358 o Minor features (other):
34359 - When SafeLogging is disabled, log addresses along with all TLS
34361 - When building with --enable-gcc-warnings, check for whether Apple's
34362 warning "-Wshorten-64-to-32" is available.
34363 - Add a --passphrase-fd argument to the tor-gencert command for
34366 o Minor bugfixes (memory leaks and code problems):
34367 - We were leaking a file descriptor if Tor started with a zero-length
34368 cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
34369 - Detect size overflow in zlib code. Reported by Justin Ferguson and
34371 - We were comparing the raw BridgePassword entry with a base64'ed
34372 version of it, when handling a "/tor/networkstatus-bridges"
34373 directory request. Now compare correctly. Noticed by Veracode.
34374 - Recover from bad tracked-since value in MTBF-history file.
34375 Should fix bug 537.
34376 - Alter the code that tries to recover from unhandled write
34377 errors, to not try to flush onto a socket that's given us
34378 unhandled errors. Bugfix on 0.1.2.x.
34379 - Make Unix controlsockets work correctly on OpenBSD. Patch from
34380 tup. Bugfix on 0.2.0.3-alpha.
34382 o Minor bugfixes (other):
34383 - If we have an extra-info document for our server, always make
34384 it available on the control port, even if we haven't gotten
34385 a copy of it from an authority yet. Patch from mwenge.
34386 - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
34387 - Directory mirrors no longer include a guess at the client's IP
34388 address if the connection appears to be coming from the same /24
34389 network; it was producing too many wrong guesses.
34390 - Make the new hidden service code respect the SafeLogging setting.
34391 Bugfix on 0.2.0.x. Patch from Karsten.
34392 - When starting as an authority, do not overwrite all certificates
34393 cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
34394 - If we're trying to flush the last bytes on a connection (for
34395 example, when answering a directory request), reset the
34396 time-to-give-up timeout every time we manage to write something
34397 on the socket. Bugfix on 0.1.2.x.
34398 - Change the behavior of "getinfo status/good-server-descriptor"
34399 so it doesn't return failure when any authority disappears.
34400 - Even though the man page said that "TrackHostExits ." should
34401 work, nobody had ever implemented it. Bugfix on 0.1.0.x.
34402 - Report TLS "zero return" case as a "clean close" and "IO error"
34403 as a "close". Stop calling closes "unexpected closes": existing
34404 Tors don't use SSL_close(), so having a connection close without
34405 the TLS shutdown handshake is hardly unexpected.
34406 - Send NAMESERVER_STATUS messages for a single failed nameserver
34409 o Code simplifications and refactoring:
34410 - Remove the tor_strpartition function: its logic was confused,
34411 and it was only used for one thing that could be implemented far
34415 Changes in version 0.2.0.19-alpha - 2008-02-09
34416 Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
34417 handshake, makes path selection for relays more secure and IP address
34418 guessing more robust, and generally fixes a lot of bugs in preparation
34419 for calling the 0.2.0 branch stable.
34422 - Do not include recognizeable strings in the commonname part of
34423 Tor's x509 certificates.
34426 - If we're a relay, avoid picking ourselves as an introduction point,
34427 a rendezvous point, or as the final hop for internal circuits. Bug
34428 reported by taranis and lodger. Bugfix on 0.1.2.x.
34429 - Patch from "Andrew S. Lists" to catch when we contact a directory
34430 mirror at IP address X and he says we look like we're coming from
34431 IP address X. Bugfix on 0.1.2.x.
34433 o Minor features (security):
34434 - Be more paranoid about overwriting sensitive memory on free(),
34435 as a defensive programming tactic to ensure forward secrecy.
34437 o Minor features (directory authority):
34438 - Actually validate the options passed to AuthDirReject,
34439 AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
34440 - Reject router descriptors with out-of-range bandwidthcapacity or
34441 bandwidthburst values.
34443 o Minor features (controller):
34444 - Reject controller commands over 1MB in length. This keeps rogue
34445 processes from running us out of memory.
34447 o Minor features (misc):
34448 - Give more descriptive well-formedness errors for out-of-range
34449 hidden service descriptor/protocol versions.
34450 - Make memory debugging information describe more about history
34451 of cell allocation, so we can help reduce our memory use.
34453 o Deprecated features (controller):
34454 - The status/version/num-versioning and status/version/num-concurring
34455 GETINFO options are no longer useful in the v3 directory protocol:
34456 treat them as deprecated, and warn when they're used.
34459 - When our consensus networkstatus has been expired for a while, stop
34460 being willing to build circuits using it. Fixes bug 401. Bugfix
34462 - Directory caches now fetch certificates from all authorities
34463 listed in a networkstatus consensus, even when they do not
34464 recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
34465 - When connecting to a bridge without specifying its key, insert
34466 the connection into the identity-to-connection map as soon as
34467 a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
34468 - Detect versions of OS X where malloc_good_size() is present in the
34469 library but never actually declared. Resolves bug 587. Bugfix
34471 - Stop incorrectly truncating zlib responses to directory authority
34472 signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
34473 - Stop recommending that every server operator send mail to tor-ops.
34474 Resolves bug 597. Bugfix on 0.1.2.x.
34475 - Don't trigger an assert if we start a directory authority with a
34476 private IP address (like 127.0.0.1).
34477 - Avoid possible failures when generating a directory with routers
34478 with over-long versions strings, or too many flags set. Bugfix
34480 - If an attempt to launch a DNS resolve request over the control
34481 port fails because we have overrun the limit on the number of
34482 connections, tell the controller that the request has failed.
34483 - Avoid using too little bandwidth when our clock skips a few
34484 seconds. Bugfix on 0.1.2.x.
34485 - Fix shell error when warning about missing packages in configure
34486 script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
34487 - Do not become confused when receiving a spurious VERSIONS-like
34488 cell from a confused v1 client. Bugfix on 0.2.0.x.
34489 - Re-fetch v2 (as well as v0) rendezvous descriptors when all
34490 introduction points for a hidden service have failed. Patch from
34491 Karsten Loesing. Bugfix on 0.2.0.x.
34493 o Code simplifications and refactoring:
34494 - Remove some needless generality from cpuworker code, for improved
34496 - Stop overloading the circuit_t.onionskin field for both "onionskin
34497 from a CREATE cell that we are waiting for a cpuworker to be
34498 assigned" and "onionskin from an EXTEND cell that we are going to
34499 send to an OR as soon as we are connected". Might help with bug 600.
34500 - Add an in-place version of aes_crypt() so that we can avoid doing a
34501 needless memcpy() call on each cell payload.
34504 Changes in version 0.2.0.18-alpha - 2008-01-25
34505 Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
34506 fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
34507 that can warn or reject connections to ports generally associated with
34508 vulnerable-plaintext protocols.
34510 o New directory authorities:
34511 - Set up dannenberg (run by CCC) as the sixth v3 directory
34515 - Fix a major memory leak when attempting to use the v2 TLS
34516 handshake code. Bugfix on 0.2.0.x; fixes bug 589.
34517 - We accidentally enabled the under-development v2 TLS handshake
34518 code, which was causing log entries like "TLS error while
34519 renegotiating handshake". Disable it again. Resolves bug 590.
34520 - We were computing the wrong Content-Length: header for directory
34521 responses that need to be compressed on the fly, causing clients
34522 asking for those items to always fail. Bugfix on 0.2.0.x; partially
34526 - Avoid going directly to the directory authorities even if you're a
34527 relay, if you haven't found yourself reachable yet or if you've
34528 decided not to advertise your dirport yet. Addresses bug 556.
34529 - If we've gone 12 hours since our last bandwidth check, and we
34530 estimate we have less than 50KB bandwidth capacity but we could
34531 handle more, do another bandwidth test.
34532 - New config options WarnPlaintextPorts and RejectPlaintextPorts so
34533 Tor can warn and/or refuse connections to ports commonly used with
34534 vulnerable-plaintext protocols. Currently we warn on ports 23,
34535 109, 110, and 143, but we don't reject any.
34538 - When we setconf ClientOnly to 1, close any current OR and Dir
34539 listeners. Reported by mwenge.
34540 - When we get a consensus that's been signed by more people than
34541 we expect, don't log about it; it's not a big deal. Reported
34545 - Don't answer "/tor/networkstatus-bridges" directory requests if
34546 the request isn't encrypted.
34547 - Make "ClientOnly 1" config option disable directory ports too.
34548 - Patches from Karsten Loesing to make v2 hidden services more
34549 robust: work even when there aren't enough HSDir relays available;
34550 retry when a v2 rend desc fetch fails; but don't retry if we
34551 already have a usable v0 rend desc.
34554 Changes in version 0.2.0.17-alpha - 2008-01-17
34555 Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
34558 - Make the tor-gencert man page get included correctly in the tarball.
34561 Changes in version 0.2.0.16-alpha - 2008-01-17
34562 Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
34563 Loesing, and generally cleans up a lot of features and minor bugs.
34565 o New directory authorities:
34566 - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
34569 o Major performance improvements:
34570 - Switch our old ring buffer implementation for one more like that
34571 used by free Unix kernels. The wasted space in a buffer with 1mb
34572 of data will now be more like 8k than 1mb. The new implementation
34573 also avoids realloc();realloc(); patterns that can contribute to
34574 memory fragmentation.
34577 - Configuration files now accept C-style strings as values. This
34578 helps encode characters not allowed in the current configuration
34579 file format, such as newline or #. Addresses bug 557.
34580 - Although we fixed bug 539 (where servers would send HTTP status 503
34581 responses _and_ send a body too), there are still servers out
34582 there that haven't upgraded. Therefore, make clients parse such
34583 bodies when they receive them.
34584 - When we're not serving v2 directory information, there is no reason
34585 to actually keep any around. Remove the obsolete files and directory
34586 on startup if they are very old and we aren't going to serve them.
34588 o Minor performance improvements:
34589 - Reference-count and share copies of address policy entries; only 5%
34590 of them were actually distinct.
34591 - Never walk through the list of logs if we know that no log is
34592 interested in a given message.
34595 - When an authority has not signed a consensus, do not try to
34596 download a nonexistent "certificate with key 00000000". Bugfix
34597 on 0.2.0.x. Fixes bug 569.
34598 - Fix a rare assert error when we're closing one of our threads:
34599 use a mutex to protect the list of logs, so we never write to the
34600 list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
34601 bug 575, which is kind of the revenge of bug 222.
34602 - Patch from Karsten Loesing to complain less at both the client
34603 and the relay when a relay used to have the HSDir flag but doesn't
34604 anymore, and we try to upload a hidden service descriptor.
34605 - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
34607 - Do not try to download missing certificates until we have tried
34608 to check our fallback consensus. Fixes bug 583.
34609 - Make bridges round reported GeoIP stats info up to the nearest
34610 estimate, not down. Now we can distinguish between "0 people from
34611 this country" and "1 person from this country".
34612 - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
34613 - Avoid possible segfault if key generation fails in
34614 crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
34615 - Avoid segfault in the case where a badly behaved v2 versioning
34616 directory sends a signed networkstatus with missing client-versions.
34618 - Avoid segfaults on certain complex invocations of
34619 router_get_by_hexdigest(). Bugfix on 0.1.2.
34620 - Correct bad index on array access in parse_http_time(). Bugfix
34622 - Fix possible bug in vote generation when server versions are present
34623 but client versions are not.
34624 - Fix rare bug on REDIRECTSTREAM control command when called with no
34625 port set: it could erroneously report an error when none had
34627 - Avoid bogus crash-prone, leak-prone tor_realloc when we're
34628 compressing large objects and find ourselves with more than 4k
34629 left over. Bugfix on 0.2.0.
34630 - Fix a small memory leak when setting up a hidden service.
34631 - Fix a few memory leaks that could in theory happen under bizarre
34633 - Fix an assert if we post a general-purpose descriptor via the
34634 control port but that descriptor isn't mentioned in our current
34635 network consensus. Bug reported by Jon McLachlan; bugfix on
34638 o Minor features (controller):
34639 - Get NS events working again. Patch from tup.
34640 - The GETCONF command now escapes and quotes configuration values
34641 that don't otherwise fit into the torrc file.
34642 - The SETCONF command now handles quoted values correctly.
34644 o Minor features (directory authorities):
34645 - New configuration options to override default maximum number of
34646 servers allowed on a single IP address. This is important for
34647 running a test network on a single host.
34648 - Actually implement the -s option to tor-gencert.
34649 - Add a manual page for tor-gencert.
34651 o Minor features (bridges):
34652 - Bridge authorities no longer serve bridge descriptors over
34653 unencrypted connections.
34655 o Minor features (other):
34656 - Add hidden services and DNSPorts to the list of things that make
34657 Tor accept that it has running ports. Change starting Tor with no
34658 ports from a fatal error to a warning; we might change it back if
34659 this turns out to confuse anybody. Fixes bug 579.
34662 Changes in version 0.1.2.19 - 2008-01-17
34663 Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
34664 exit policy a little bit more conservative so it's safer to run an
34665 exit relay on a home system, and fixes a variety of smaller issues.
34668 - Exit policies now reject connections that are addressed to a
34669 relay's public (external) IP address too, unless
34670 ExitPolicyRejectPrivate is turned off. We do this because too
34671 many relays are running nearby to services that trust them based
34672 on network address.
34675 - When the clock jumps forward a lot, do not allow the bandwidth
34676 buckets to become negative. Fixes bug 544.
34677 - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
34678 on every successful resolve. Reported by Mike Perry.
34679 - Purge old entries from the "rephist" database and the hidden
34680 service descriptor database even when DirPort is zero.
34681 - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
34682 requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
34683 crashing or mis-answering these requests.
34684 - When we decide to send a 503 response to a request for servers, do
34685 not then also send the server descriptors: this defeats the whole
34686 purpose. Fixes bug 539.
34689 - Changing the ExitPolicyRejectPrivate setting should cause us to
34690 rebuild our server descriptor.
34691 - Fix handling of hex nicknames when answering controller requests for
34692 networkstatus by name, or when deciding whether to warn about
34693 unknown routers in a config option. (Patch from mwenge.)
34694 - Fix a couple of hard-to-trigger autoconf problems that could result
34695 in really weird results on platforms whose sys/types.h files define
34696 nonstandard integer types.
34697 - Don't try to create the datadir when running --verify-config or
34698 --hash-password. Resolves bug 540.
34699 - If we were having problems getting a particular descriptor from the
34700 directory caches, and then we learned about a new descriptor for
34701 that router, we weren't resetting our failure count. Reported
34703 - Although we fixed bug 539 (where servers would send HTTP status 503
34704 responses _and_ send a body too), there are still servers out there
34705 that haven't upgraded. Therefore, make clients parse such bodies
34706 when they receive them.
34707 - Run correctly on systems where rlim_t is larger than unsigned long.
34708 This includes some 64-bit systems.
34709 - Run correctly on platforms (like some versions of OS X 10.5) where
34710 the real limit for number of open files is OPEN_FILES, not rlim_max
34711 from getrlimit(RLIMIT_NOFILES).
34712 - Avoid a spurious free on base64 failure.
34713 - Avoid segfaults on certain complex invocations of
34714 router_get_by_hexdigest().
34715 - Fix rare bug on REDIRECTSTREAM control command when called with no
34716 port set: it could erroneously report an error when none had
34720 Changes in version 0.2.0.15-alpha - 2007-12-25
34721 Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
34722 features added in 0.2.0.13-alpha.
34725 - Fix several remotely triggerable asserts based on DirPort requests
34726 for a v2 or v3 networkstatus object before we were prepared. This
34727 was particularly bad for 0.2.0.13 and later bridge relays, who
34728 would never have a v2 networkstatus and would thus always crash
34729 when used. Bugfixes on 0.2.0.x.
34730 - Estimate the v3 networkstatus size more accurately, rather than
34731 estimating it at zero bytes and giving it artificially high priority
34732 compared to other directory requests. Bugfix on 0.2.0.x.
34735 - Fix configure.in logic for cross-compilation.
34736 - When we load a bridge descriptor from the cache, and it was
34737 previously unreachable, mark it as retriable so we won't just
34738 ignore it. Also, try fetching a new copy immediately. Bugfixes
34740 - The bridge GeoIP stats were counting other relays, for example
34741 self-reachability and authority-reachability tests.
34744 - Support compilation to target iPhone; patch from cjacker huang.
34745 To build for iPhone, pass the --enable-iphone option to configure.
34748 Changes in version 0.2.0.14-alpha - 2007-12-23
34750 - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
34751 without a datadirectory from a previous Tor install. Reported
34753 - Fix a crash when we fetch a descriptor that turns out to be
34754 unexpected (it used to be in our networkstatus when we started
34755 fetching it, but it isn't in our current networkstatus), and we
34756 aren't using bridges. Bugfix on 0.2.0.x.
34757 - Fix a crash when accessing hidden services: it would work the first
34758 time you use a given introduction point for your service, but
34759 on subsequent requests we'd be using garbage memory. Fixed by
34760 Karsten Loesing. Bugfix on 0.2.0.13-alpha.
34761 - Fix a crash when we load a bridge descriptor from disk but we don't
34762 currently have a Bridge line for it in our torrc. Bugfix on
34766 - If bridge authorities set BridgePassword, they will serve a
34767 snapshot of known bridge routerstatuses from their DirPort to
34768 anybody who knows that password. Unset by default.
34771 - Make the unit tests build again.
34772 - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
34773 - Make PublishServerDescriptor default to 1, so the default doesn't
34774 have to change as we invent new directory protocol versions.
34775 - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
34776 be included unless sys/time.h is already included. Fixes
34777 bug 553. Bugfix on 0.2.0.x.
34778 - If we receive a general-purpose descriptor and then receive an
34779 identical bridge-purpose descriptor soon after, don't discard
34780 the next one as a duplicate.
34783 - If BridgeRelay is set to 1, then the default for
34784 PublishServerDescriptor is now "bridge" rather than "v2,v3".
34785 - If the user sets RelayBandwidthRate but doesn't set
34786 RelayBandwidthBurst, then make them equal rather than erroring out.
34789 Changes in version 0.2.0.13-alpha - 2007-12-21
34790 Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
34791 Goodell, fixes many more bugs, and adds a lot of infrastructure for
34794 o New directory authorities:
34795 - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
34799 - Only update guard status (usable / not usable) once we have
34800 enough directory information. This was causing us to always pick
34801 two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
34802 causing us to discard all our guards on startup if we hadn't been
34803 running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
34804 - Purge old entries from the "rephist" database and the hidden
34805 service descriptor databases even when DirPort is zero. Bugfix
34807 - We were ignoring our RelayBandwidthRate for the first 30 seconds
34808 after opening a circuit -- even a relayed circuit. Bugfix on
34810 - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
34811 requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
34812 crashing or mis-answering these types of requests.
34813 - Relays were publishing their server descriptor to v1 and v2
34814 directory authorities, but they didn't try publishing to v3-only
34815 authorities. Fix this; and also stop publishing to v1 authorities.
34817 - When we were reading router descriptors from cache, we were ignoring
34818 the annotations -- so for example we were reading in bridge-purpose
34819 descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
34820 - When we decided to send a 503 response to a request for servers, we
34821 were then also sending the server descriptors: this defeats the
34822 whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
34825 - Bridge relays now behave like clients with respect to time
34826 intervals for downloading new consensus documents -- otherwise they
34827 stand out. Bridge users now wait until the end of the interval,
34828 so their bridge relay will be sure to have a new consensus document.
34829 - Three new config options (AlternateDirAuthority,
34830 AlternateBridgeAuthority, and AlternateHSAuthority) that let the
34831 user selectively replace the default directory authorities by type,
34832 rather than the all-or-nothing replacement that DirServer offers.
34833 - Tor can now be configured to read a GeoIP file from disk in one
34834 of two formats. This can be used by controllers to map IP addresses
34835 to countries. Eventually, it may support exit-by-country.
34836 - When possible, bridge relays remember which countries users
34837 are coming from, and report aggregate information in their
34838 extra-info documents, so that the bridge authorities can learn
34839 where Tor is blocked.
34840 - Bridge directory authorities now do reachability testing on the
34841 bridges they know. They provide router status summaries to the
34842 controller via "getinfo ns/purpose/bridge", and also dump summaries
34843 to a file periodically.
34844 - Stop fetching directory info so aggressively if your DirPort is
34845 on but your ORPort is off; stop fetching v2 dir info entirely.
34846 You can override these choices with the new FetchDirInfoEarly
34850 - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
34851 consensus documents when there are too many relays at a single
34852 IP address. Now clear it in v2 network status documents too, and
34853 also clear it in routerinfo_t when the relay is no longer listed
34854 in the relevant networkstatus document.
34855 - Don't crash if we get an unexpected value for the
34856 PublishServerDescriptor config option. Reported by Matt Edman;
34857 bugfix on 0.2.0.9-alpha.
34858 - Our new v2 hidden service descriptor format allows descriptors
34859 that have no introduction points. But Tor crashed when we tried
34860 to build a descriptor with no intro points (and it would have
34861 crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
34862 by Karsten Loesing.
34863 - Fix building with dmalloc 5.5.2 with glibc.
34864 - Reject uploaded descriptors and extrainfo documents if they're
34865 huge. Otherwise we'll cache them all over the network and it'll
34866 clog everything up. Reported by Aljosha Judmayer.
34867 - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
34868 via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
34869 - When the DANGEROUS_VERSION controller status event told us we're
34870 running an obsolete version, it used the string "OLD" to describe
34871 it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
34872 "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
34873 - If we can't expand our list of entry guards (e.g. because we're
34874 using bridges or we have StrictEntryNodes set), don't mark relays
34875 down when they fail a directory request. Otherwise we're too quick
34876 to mark all our entry points down. Bugfix on 0.1.2.x.
34877 - Fix handling of hex nicknames when answering controller requests for
34878 networkstatus by name, or when deciding whether to warn about unknown
34879 routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
34880 - Fix a couple of hard-to-trigger autoconf problems that could result
34881 in really weird results on platforms whose sys/types.h files define
34882 nonstandard integer types. Bugfix on 0.1.2.x.
34883 - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
34884 - Don't crash on name lookup when we have no current consensus. Fixes
34885 bug 538; bugfix on 0.2.0.x.
34886 - Only Tors that want to mirror the v2 directory info should
34887 create the "cached-status" directory in their datadir. (All Tors
34888 used to create it.) Bugfix on 0.2.0.9-alpha.
34889 - Directory authorities should only automatically download Extra Info
34890 documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
34893 - On the USR1 signal, when dmalloc is in use, log the top 10 memory
34894 consumers. (We already do this on HUP.)
34895 - Authorities and caches fetch the v2 networkstatus documents
34896 less often, now that v3 is encouraged.
34897 - Add a new config option BridgeRelay that specifies you want to
34898 be a bridge relay. Right now the only difference is that it makes
34899 you answer begin_dir requests, and it makes you cache dir info,
34900 even if your DirPort isn't on.
34901 - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
34902 ask about source, timestamp of arrival, purpose, etc. We need
34903 something like this to help Vidalia not do GeoIP lookups on bridge
34905 - Allow multiple HashedControlPassword config lines, to support
34906 multiple controller passwords.
34907 - Authorities now decide whether they're authoritative for a given
34908 router based on the router's purpose.
34909 - New config options AuthDirBadDir and AuthDirListBadDirs for
34910 authorities to mark certain relays as "bad directories" in the
34911 networkstatus documents. Also supports the "!baddir" directive in
34912 the approved-routers file.
34915 Changes in version 0.2.0.12-alpha - 2007-11-16
34916 This twelfth development snapshot fixes some more build problems as
34917 well as a few minor bugs.
34920 - Make it build on OpenBSD again. Patch from tup.
34921 - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
34922 package-building for Red Hat, OS X, etc.
34924 o Minor bugfixes (on 0.1.2.x):
34925 - Changing the ExitPolicyRejectPrivate setting should cause us to
34926 rebuild our server descriptor.
34928 o Minor bugfixes (on 0.2.0.x):
34929 - When we're lacking a consensus, don't try to perform rendezvous
34930 operations. Reported by Karsten Loesing.
34931 - Fix a small memory leak whenever we decide against using a
34932 newly picked entry guard. Reported by Mike Perry.
34933 - When authorities detected more than two relays running on the same
34934 IP address, they were clearing all the status flags but forgetting
34935 to clear the "hsdir" flag. So clients were being told that a
34936 given relay was the right choice for a v2 hsdir lookup, yet they
34937 never had its descriptor because it was marked as 'not running'
34939 - If we're trying to fetch a bridge descriptor and there's no way
34940 the bridge authority could help us (for example, we don't know
34941 a digest, or there is no bridge authority), don't be so eager to
34942 fall back to asking the bridge authority.
34943 - If we're using bridges or have strictentrynodes set, and our
34944 chosen exit is in the same family as all our bridges/entry guards,
34945 then be flexible about families.
34948 - When we negotiate a v2 link-layer connection (not yet implemented),
34949 accept RELAY_EARLY cells and turn them into RELAY cells if we've
34950 negotiated a v1 connection for their next step. Initial code for
34954 Changes in version 0.2.0.11-alpha - 2007-11-12
34955 This eleventh development snapshot fixes some build problems with
34956 the previous snapshot. It also includes a more secure-by-default exit
34957 policy for relays, fixes an enormous memory leak for exit relays, and
34958 fixes another bug where servers were falling out of the directory list.
34961 - Exit policies now reject connections that are addressed to a
34962 relay's public (external) IP address too, unless
34963 ExitPolicyRejectPrivate is turned off. We do this because too
34964 many relays are running nearby to services that trust them based
34965 on network address. Bugfix on 0.1.2.x.
34968 - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
34969 on every successful resolve. Reported by Mike Perry; bugfix
34971 - On authorities, never downgrade to old router descriptors simply
34972 because they're listed in the consensus. This created a catch-22
34973 where we wouldn't list a new descriptor because there was an
34974 old one in the consensus, and we couldn't get the new one in the
34975 consensus because we wouldn't list it. Possible fix for bug 548.
34976 Also, this might cause bug 543 to appear on authorities; if so,
34977 we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
34979 o Packaging fixes on 0.2.0.10-alpha:
34980 - We were including instructions about what to do with the
34981 src/config/fallback-consensus file, but we weren't actually
34982 including it in the tarball. Disable all of that for now.
34985 - Allow people to say PreferTunnelledDirConns rather than
34986 PreferTunneledDirConns, for those alternate-spellers out there.
34989 - Don't reevaluate all the information from our consensus document
34990 just because we've downloaded a v2 networkstatus that we intend
34991 to cache. Fixes bug 545; bugfix on 0.2.0.x.
34994 Changes in version 0.2.0.10-alpha - 2007-11-10
34995 This tenth development snapshot adds a third v3 directory authority
34996 run by Mike Perry, adds most of Karsten Loesing's new hidden service
34997 descriptor format, fixes a bad crash bug and new bridge bugs introduced
34998 in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
34999 fixes some minor memory leaks in previous 0.2.0.x snapshots, and
35000 addresses many more minor issues.
35002 o New directory authorities:
35003 - Set up ides (run by Mike Perry) as the third v3 directory authority.
35006 - Allow tunnelled directory connections to ask for an encrypted
35007 "begin_dir" connection or an anonymized "uses a full Tor circuit"
35008 connection independently. Now we can make anonymized begin_dir
35009 connections for (e.g.) more secure hidden service posting and
35011 - More progress on proposal 114: code from Karsten Loesing to
35012 implement new hidden service descriptor format.
35013 - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
35014 accommodate the growing number of servers that use the default
35015 and are reaching it.
35016 - Directory authorities use a new formula for selecting which nodes
35017 to advertise as Guards: they must be in the top 7/8 in terms of
35018 how long we have known about them, and above the median of those
35019 nodes in terms of weighted fractional uptime.
35020 - Make "not enough dir info yet" warnings describe *why* Tor feels
35021 it doesn't have enough directory info yet.
35024 - Stop servers from crashing if they set a Family option (or
35025 maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
35027 - Make bridge users work again -- the move to v3 directories in
35028 0.2.0.9-alpha had introduced a number of bugs that made bridges
35029 no longer work for clients.
35030 - When the clock jumps forward a lot, do not allow the bandwidth
35031 buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
35033 o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
35034 - When the consensus lists a router descriptor that we previously were
35035 mirroring, but that we considered non-canonical, reload the
35036 descriptor as canonical. This fixes bug 543 where Tor servers
35037 would start complaining after a few days that they don't have
35038 enough directory information to build a circuit.
35039 - Consider replacing the current consensus when certificates arrive
35040 that make the pending consensus valid. Previously, we were only
35041 considering replacement when the new certs _didn't_ help.
35042 - Fix an assert error on startup if we didn't already have the
35043 consensus and certs cached in our datadirectory: we were caching
35044 the consensus in consensus_waiting_for_certs but then free'ing it
35046 - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
35047 Request) if we need more v3 certs but we've already got pending
35048 requests for all of them.
35049 - Correctly back off from failing certificate downloads. Fixes
35051 - Authorities don't vote on the Running flag if they have been running
35052 for less than 30 minutes themselves. Fixes bug 547, where a newly
35053 started authority would vote that everyone was down.
35055 o New requirements:
35056 - Drop support for OpenSSL version 0.9.6. Just about nobody was using
35057 it, it had no AES, and it hasn't seen any security patches since
35061 - Clients now hold circuitless TLS connections open for 1.5 times
35062 MaxCircuitDirtiness (15 minutes), since it is likely that they'll
35063 rebuild a new circuit over them within that timeframe. Previously,
35064 they held them open only for KeepalivePeriod (5 minutes).
35065 - Use "If-Modified-Since" to avoid retrieving consensus
35066 networkstatuses that we already have.
35067 - When we have no consensus, check FallbackNetworkstatusFile (defaults
35068 to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
35069 we start knowing some directory caches.
35070 - When we receive a consensus from the future, warn about skew.
35071 - Improve skew reporting: try to give the user a better log message
35072 about how skewed they are, and how much this matters.
35073 - When we have a certificate for an authority, believe that
35074 certificate's claims about the authority's IP address.
35075 - New --quiet command-line option to suppress the default console log.
35076 Good in combination with --hash-password.
35077 - Authorities send back an X-Descriptor-Not-New header in response to
35078 an accepted-but-discarded descriptor upload. Partially implements
35080 - Make the log message for "tls error. breaking." more useful.
35081 - Better log messages about certificate downloads, to attempt to
35082 track down the second incarnation of bug 546.
35084 o Minor features (bridges):
35085 - If bridge users set UpdateBridgesFromAuthority, but the digest
35086 they ask for is a 404 from the bridge authority, they now fall
35087 back to trying the bridge directly.
35088 - Bridges now use begin_dir to publish their server descriptor to
35089 the bridge authority, even when they haven't set TunnelDirConns.
35091 o Minor features (controller):
35092 - When reporting clock skew, and we know that the clock is _at least
35093 as skewed_ as some value, but we don't know the actual value,
35094 report the value as a "minimum skew."
35097 - Update linux-tor-prio.sh script to allow QoS based on the uid of
35098 the Tor process. Patch from Marco Bonetti with tweaks from Mike
35102 - Refuse to start if both ORPort and UseBridges are set. Bugfix
35103 on 0.2.0.x, suggested by Matt Edman.
35104 - Don't stop fetching descriptors when FetchUselessDescriptors is
35105 set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
35106 reported by tup and ioerror.
35107 - Better log message on vote from unknown authority.
35108 - Don't log "Launching 0 request for 0 router" message.
35110 o Minor bugfixes (memory leaks):
35111 - Stop leaking memory every time we parse a v3 certificate. Bugfix
35113 - Stop leaking memory every time we load a v3 certificate. Bugfix
35114 on 0.2.0.1-alpha. Fixes bug 536.
35115 - Stop leaking a cached networkstatus on exit. Bugfix on
35117 - Stop leaking voter information every time we free a consensus.
35118 Bugfix on 0.2.0.3-alpha.
35119 - Stop leaking signed data every time we check a voter signature.
35120 Bugfix on 0.2.0.3-alpha.
35121 - Stop leaking a signature every time we fail to parse a consensus or
35122 a vote. Bugfix on 0.2.0.3-alpha.
35123 - Stop leaking v2_download_status_map on shutdown. Bugfix on
35125 - Stop leaking conn->nickname every time we make a connection to a
35126 Tor relay without knowing its expected identity digest (e.g. when
35127 using bridges). Bugfix on 0.2.0.3-alpha.
35129 - Minor bugfixes (portability):
35130 - Run correctly on platforms where rlim_t is larger than unsigned
35131 long, and/or where the real limit for number of open files is
35132 OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
35133 particular, these may be needed for OS X 10.5.
35136 Changes in version 0.1.2.18 - 2007-10-28
35137 Tor 0.1.2.18 fixes many problems including crash bugs, problems with
35138 hidden service introduction that were causing huge delays, and a big
35139 bug that was causing some servers to disappear from the network status
35140 lists for a few hours each day.
35142 o Major bugfixes (crashes):
35143 - If a connection is shut down abruptly because of something that
35144 happened inside connection_flushed_some(), do not call
35145 connection_finished_flushing(). Should fix bug 451:
35146 "connection_stop_writing: Assertion conn->write_event failed"
35147 Bugfix on 0.1.2.7-alpha.
35148 - Fix possible segfaults in functions called from
35149 rend_process_relay_cell().
35151 o Major bugfixes (hidden services):
35152 - Hidden services were choosing introduction points uniquely by
35153 hexdigest, but when constructing the hidden service descriptor
35154 they merely wrote the (potentially ambiguous) nickname.
35155 - Clients now use the v2 intro format for hidden service
35156 connections: they specify their chosen rendezvous point by identity
35157 digest rather than by (potentially ambiguous) nickname. These
35158 changes could speed up hidden service connections dramatically.
35160 o Major bugfixes (other):
35161 - Stop publishing a new server descriptor just because we get a
35162 HUP signal. This led (in a roundabout way) to some servers getting
35163 dropped from the networkstatus lists for a few hours each day.
35164 - When looking for a circuit to cannibalize, consider family as well
35165 as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
35166 circuit cannibalization).
35167 - When a router wasn't listed in a new networkstatus, we were leaving
35168 the flags for that router alone -- meaning it remained Named,
35169 Running, etc -- even though absence from the networkstatus means
35170 that it shouldn't be considered to exist at all anymore. Now we
35171 clear all the flags for routers that fall out of the networkstatus
35172 consensus. Fixes bug 529.
35175 - Don't try to access (or alter) the state file when running
35176 --list-fingerprint or --verify-config or --hash-password. Resolves
35178 - When generating information telling us how to extend to a given
35179 router, do not try to include the nickname if it is
35180 absent. Resolves bug 467.
35181 - Fix a user-triggerable segfault in expand_filename(). (There isn't
35182 a way to trigger this remotely.)
35183 - When sending a status event to the controller telling it that an
35184 OR address is reachable, set the port correctly. (Previously we
35185 were reporting the dir port.)
35186 - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
35187 command. Bugfix on 0.1.2.17.
35188 - When loading bandwidth history, do not believe any information in
35189 the future. Fixes bug 434.
35190 - When loading entry guard information, do not believe any information
35192 - When we have our clock set far in the future and generate an
35193 onion key, then re-set our clock to be correct, we should not stop
35194 the onion key from getting rotated.
35195 - On some platforms, accept() can return a broken address. Detect
35196 this more quietly, and deal accordingly. Fixes bug 483.
35197 - It's not actually an error to find a non-pending entry in the DNS
35198 cache when canceling a pending resolve. Don't log unless stuff
35199 is fishy. Resolves bug 463.
35200 - Don't reset trusted dir server list when we set a configuration
35201 option. Patch from Robert Hogan.
35202 - Don't try to create the datadir when running --verify-config or
35203 --hash-password. Resolves bug 540.
35206 Changes in version 0.2.0.9-alpha - 2007-10-24
35207 This ninth development snapshot switches clients to the new v3 directory
35208 system; allows servers to be listed in the network status even when they
35209 have the same nickname as a registered server; and fixes many other
35210 bugs including a big one that was causing some servers to disappear
35211 from the network status lists for a few hours each day.
35213 o Major features (directory system):
35214 - Clients now download v3 consensus networkstatus documents instead
35215 of v2 networkstatus documents. Clients and caches now base their
35216 opinions about routers on these consensus documents. Clients only
35217 download router descriptors listed in the consensus.
35218 - Authorities now list servers who have the same nickname as
35219 a different named server, but list them with a new flag,
35220 "Unnamed". Now we can list servers that happen to pick the same
35221 nickname as a server that registered two years ago and then
35222 disappeared. Partially implements proposal 122.
35223 - If the consensus lists a router as "Unnamed", the name is assigned
35224 to a different router: do not identify the router by that name.
35225 Partially implements proposal 122.
35226 - Authorities can now come to a consensus on which method to use to
35227 compute the consensus. This gives us forward compatibility.
35230 - Stop publishing a new server descriptor just because we HUP or
35231 when we find our DirPort to be reachable but won't actually publish
35232 it. New descriptors without any real changes are dropped by the
35233 authorities, and can screw up our "publish every 18 hours" schedule.
35235 - When a router wasn't listed in a new networkstatus, we were leaving
35236 the flags for that router alone -- meaning it remained Named,
35237 Running, etc -- even though absence from the networkstatus means
35238 that it shouldn't be considered to exist at all anymore. Now we
35239 clear all the flags for routers that fall out of the networkstatus
35240 consensus. Fixes bug 529; bugfix on 0.1.2.x.
35241 - Fix awful behavior in DownloadExtraInfo option where we'd fetch
35242 extrainfo documents and then discard them immediately for not
35243 matching the latest router. Bugfix on 0.2.0.1-alpha.
35245 o Minor features (v3 directory protocol):
35246 - Allow tor-gencert to generate a new certificate without replacing
35248 - Allow certificates to include an address.
35249 - When we change our directory-cache settings, reschedule all voting
35250 and download operations.
35251 - Reattempt certificate downloads immediately on failure, as long as
35252 we haven't failed a threshold number of times yet.
35253 - Delay retrying consensus downloads while we're downloading
35254 certificates to verify the one we just got. Also, count getting a
35255 consensus that we already have (or one that isn't valid) as a failure,
35256 and count failing to get the certificates after 20 minutes as a
35258 - Build circuits and download descriptors even if our consensus is a
35259 little expired. (This feature will go away once authorities are
35262 o Minor features (router descriptor cache):
35263 - If we find a cached-routers file that's been sitting around for more
35264 than 28 days unmodified, then most likely it's a leftover from
35265 when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
35267 - When we (as a cache) download a descriptor because it was listed
35268 in a consensus, remember when the consensus was supposed to expire,
35269 and don't expire the descriptor until then.
35271 o Minor features (performance):
35272 - Call routerlist_remove_old_routers() much less often. This should
35273 speed startup, especially on directory caches.
35274 - Don't try to launch new descriptor downloads quite so often when we
35275 already have enough directory information to build circuits.
35276 - Base64 decoding was actually showing up on our profile when parsing
35277 the initial descriptor file; switch to an in-process all-at-once
35278 implementation that's about 3.5x times faster than calling out to
35281 o Minor features (compilation):
35282 - Detect non-ASCII platforms (if any still exist) and refuse to
35283 build there: some of our code assumes that 'A' is 65 and so on.
35285 o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
35286 - Make the "next period" votes into "current period" votes immediately
35287 after publishing the consensus; avoid a heisenbug that made them
35288 stick around indefinitely.
35289 - When we discard a vote as a duplicate, do not report this as
35291 - Treat missing v3 keys or certificates as an error when running as a
35292 v3 directory authority.
35293 - When we're configured to be a v3 authority, but we're only listed
35294 as a non-v3 authority in our DirServer line for ourself, correct
35296 - If an authority doesn't have a qualified hostname, just put
35297 its address in the vote. This fixes the problem where we referred to
35298 "moria on moria:9031."
35299 - Distinguish between detached signatures for the wrong period, and
35300 detached signatures for a divergent vote.
35301 - Fix a small memory leak when computing a consensus.
35302 - When there's no consensus, we were forming a vote every 30
35303 minutes, but writing the "valid-after" line in our vote based
35304 on our configured V3AuthVotingInterval: so unless the intervals
35305 matched up, we immediately rejected our own vote because it didn't
35306 start at the voting interval that caused us to construct a vote.
35308 o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
35309 - Delete unverified-consensus when the real consensus is set.
35310 - Consider retrying a consensus networkstatus fetch immediately
35311 after one fails: don't wait 60 seconds to notice.
35312 - When fetching a consensus as a cache, wait until a newer consensus
35313 should exist before trying to replace the current one.
35314 - Use a more forgiving schedule for retrying failed consensus
35315 downloads than for other types.
35317 o Minor bugfixes (other directory issues):
35318 - Correct the implementation of "download votes by digest." Bugfix on
35320 - Authorities no longer send back "400 you're unreachable please fix
35321 it" errors to Tor servers that aren't online all the time. We're
35322 supposed to tolerate these servers now. Bugfix on 0.1.2.x.
35324 o Minor bugfixes (controller):
35325 - Don't reset trusted dir server list when we set a configuration
35326 option. Patch from Robert Hogan; bugfix on 0.1.2.x.
35327 - Respond to INT and TERM SIGNAL commands before we execute the
35328 signal, in case the signal shuts us down. We had a patch in
35329 0.1.2.1-alpha that tried to do this by queueing the response on
35330 the connection's buffer before shutting down, but that really
35331 isn't the same thing at all. Bug located by Matt Edman.
35333 o Minor bugfixes (misc):
35334 - Correctly check for bad options to the "PublishServerDescriptor"
35335 config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
35336 - Stop leaking memory on failing case of base32_decode, and make
35337 it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
35338 - Don't try to download extrainfo documents when we're trying to
35339 fetch enough directory info to build a circuit: having enough
35340 info should get priority. Bugfix on 0.2.0.x.
35341 - Don't complain that "your server has not managed to confirm that its
35342 ports are reachable" if we haven't been able to build any circuits
35343 yet. Bug found by spending four hours without a v3 consensus. Bugfix
35345 - Detect the reason for failing to mmap a descriptor file we just
35346 wrote, and give a more useful log message. Fixes bug 533. Bugfix
35349 o Code simplifications and refactoring:
35350 - Remove support for the old bw_accounting file: we've been storing
35351 bandwidth accounting information in the state file since
35352 0.1.2.5-alpha. This may result in bandwidth accounting errors
35353 if you try to upgrade from 0.1.1.x or earlier, or if you try to
35354 downgrade to 0.1.1.x or earlier.
35355 - New convenience code to locate a file within the DataDirectory.
35356 - Move non-authority functionality out of dirvote.c.
35357 - Refactor the arguments for router_pick_{directory_|trusteddir}server
35358 so that they all take the same named flags.
35361 - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
35362 Unix users an easy way to script their Tor process (e.g. by
35363 adjusting bandwidth based on the time of the day).
35366 Changes in version 0.2.0.8-alpha - 2007-10-12
35367 This eighth development snapshot fixes a crash bug that's been bothering
35368 us since February 2007, lets bridge authorities store a list of bridge
35369 descriptors they've seen, gets v3 directory voting closer to working,
35370 starts caching v3 directory consensus documents on directory mirrors,
35371 and fixes a variety of smaller issues including some minor memory leaks.
35373 o Major features (router descriptor cache):
35374 - Store routers in a file called cached-descriptors instead of in
35375 cached-routers. Initialize cached-descriptors from cached-routers
35376 if the old format is around. The new format allows us to store
35377 annotations along with descriptors.
35378 - Use annotations to record the time we received each descriptor, its
35379 source, and its purpose.
35380 - Disable the SETROUTERPURPOSE controller command: it is now
35382 - Controllers should now specify cache=no or cache=yes when using
35383 the +POSTDESCRIPTOR command.
35384 - Bridge authorities now write bridge descriptors to disk, meaning
35385 we can export them to other programs and begin distributing them
35388 o Major features (directory authorities):
35389 - When a v3 authority is missing votes or signatures, it now tries
35391 - Directory authorities track weighted fractional uptime as well as
35392 weighted mean-time-between failures. WFU is suitable for deciding
35393 whether a node is "usually up", while MTBF is suitable for deciding
35394 whether a node is "likely to stay up." We need both, because
35395 "usually up" is a good requirement for guards, while "likely to
35396 stay up" is a good requirement for long-lived connections.
35398 o Major features (v3 directory system):
35399 - Caches now download v3 network status documents as needed,
35400 and download the descriptors listed in them.
35401 - All hosts now attempt to download and keep fresh v3 authority
35402 certificates, and re-attempt after failures.
35403 - More internal-consistency checks for vote parsing.
35405 o Major bugfixes (crashes):
35406 - If a connection is shut down abruptly because of something that
35407 happened inside connection_flushed_some(), do not call
35408 connection_finished_flushing(). Should fix bug 451. Bugfix on
35411 o Major bugfixes (performance):
35412 - Fix really bad O(n^2) performance when parsing a long list of
35413 routers: Instead of searching the entire list for an "extra-info "
35414 string which usually wasn't there, once for every routerinfo
35415 we read, just scan lines forward until we find one we like.
35417 - When we add data to a write buffer in response to the data on that
35418 write buffer getting low because of a flush, do not consider the
35419 newly added data as a candidate for immediate flushing, but rather
35420 make it wait until the next round of writing. Otherwise, we flush
35421 and refill recursively, and a single greedy TLS connection can
35422 eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
35424 o Minor features (v3 authority system):
35425 - Add more ways for tools to download the votes that lead to the
35427 - Send a 503 when low on bandwidth and a vote, consensus, or
35428 certificate is requested.
35429 - If-modified-since is now implemented properly for all kinds of
35430 certificate requests.
35432 o Minor bugfixes (network statuses):
35433 - Tweak the implementation of proposal 109 slightly: allow at most
35434 two Tor servers on the same IP address, except if it's the location
35435 of a directory authority, in which case allow five. Bugfix on
35438 o Minor bugfixes (controller):
35439 - When sending a status event to the controller telling it that an
35440 OR address is reachable, set the port correctly. (Previously we
35441 were reporting the dir port.) Bugfix on 0.1.2.x.
35443 o Minor bugfixes (v3 directory system):
35444 - Fix logic to look up a cert by its signing key digest. Bugfix on
35446 - Only change the reply to a vote to "OK" if it's not already
35447 set. This gets rid of annoying "400 OK" log messages, which may
35448 have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
35449 - When we get a valid consensus, recompute the voting schedule.
35450 - Base the valid-after time of a vote on the consensus voting
35451 schedule, not on our preferred schedule.
35452 - Make the return values and messages from signature uploads and
35453 downloads more sensible.
35454 - Fix a memory leak when serving votes and consensus documents, and
35455 another when serving certificates.
35457 o Minor bugfixes (performance):
35458 - Use a slightly simpler string hashing algorithm (copying Python's
35459 instead of Java's) and optimize our digest hashing algorithm to take
35460 advantage of 64-bit platforms and to remove some possibly-costly
35462 - Fix a minor memory leak whenever we parse guards from our state
35463 file. Bugfix on 0.2.0.7-alpha.
35464 - Fix a minor memory leak whenever we write out a file. Bugfix on
35466 - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
35467 command. Bugfix on 0.2.0.5-alpha.
35469 o Minor bugfixes (portability):
35470 - On some platforms, accept() can return a broken address. Detect
35471 this more quietly, and deal accordingly. Fixes bug 483.
35472 - Stop calling tor_strlower() on uninitialized memory in some cases.
35473 Bugfix in 0.2.0.7-alpha.
35475 o Minor bugfixes (usability):
35476 - Treat some 403 responses from directory servers as INFO rather than
35477 WARN-severity events.
35478 - It's not actually an error to find a non-pending entry in the DNS
35479 cache when canceling a pending resolve. Don't log unless stuff is
35480 fishy. Resolves bug 463.
35482 o Minor bugfixes (anonymity):
35483 - Never report that we've used more bandwidth than we're willing to
35484 relay: it leaks how much non-relay traffic we're using. Resolves
35486 - When looking for a circuit to cannibalize, consider family as well
35487 as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
35488 circuit cannibalization).
35490 o Code simplifications and refactoring:
35491 - Make a bunch of functions static. Remove some dead code.
35492 - Pull out about a third of the really big routerlist.c; put it in a
35493 new module, networkstatus.c.
35494 - Merge the extra fields in local_routerstatus_t back into
35495 routerstatus_t: we used to need one routerstatus_t for each
35496 authority's opinion, plus a local_routerstatus_t for the locally
35497 computed consensus opinion. To save space, we put the locally
35498 modified fields into local_routerstatus_t, and only the common
35499 stuff into routerstatus_t. But once v3 directories are in use,
35500 clients and caches will no longer need to hold authority opinions;
35501 thus, the rationale for keeping the types separate is now gone.
35502 - Make the code used to reschedule and reattempt downloads more
35504 - Turn all 'Are we a directory server/mirror?' logic into a call to
35506 - Remove the code to generate the oldest (v1) directory format.
35507 The code has been disabled since 0.2.0.5-alpha.
35510 Changes in version 0.2.0.7-alpha - 2007-09-21
35511 This seventh development snapshot makes bridges work again, makes bridge
35512 authorities work for the first time, fixes two huge performance flaws
35513 in hidden services, and fixes a variety of minor issues.
35515 o New directory authorities:
35516 - Set up moria1 and tor26 as the first v3 directory authorities. See
35517 doc/spec/dir-spec.txt for details on the new directory design.
35519 o Major bugfixes (crashes):
35520 - Fix possible segfaults in functions called from
35521 rend_process_relay_cell(). Bugfix on 0.1.2.x.
35523 o Major bugfixes (bridges):
35524 - Fix a bug that made servers send a "404 Not found" in response to
35525 attempts to fetch their server descriptor. This caused Tor servers
35526 to take many minutes to establish reachability for their DirPort,
35527 and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
35528 - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
35529 users configure that and specify a bridge with an identity
35530 fingerprint, now they will lookup the bridge descriptor at the
35531 default bridge authority via a one-hop tunnel, but once circuits
35532 are established they will switch to a three-hop tunnel for later
35533 connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
35535 o Major bugfixes (hidden services):
35536 - Hidden services were choosing introduction points uniquely by
35537 hexdigest, but when constructing the hidden service descriptor
35538 they merely wrote the (potentially ambiguous) nickname.
35539 - Clients now use the v2 intro format for hidden service
35540 connections: they specify their chosen rendezvous point by identity
35541 digest rather than by (potentially ambiguous) nickname. Both
35542 are bugfixes on 0.1.2.x, and they could speed up hidden service
35543 connections dramatically. Thanks to Karsten Loesing.
35545 o Minor features (security):
35546 - As a client, do not believe any server that tells us that an
35547 address maps to an internal address space.
35548 - Make it possible to enable HashedControlPassword and
35549 CookieAuthentication at the same time.
35551 o Minor features (guard nodes):
35552 - Tag every guard node in our state file with the version that
35553 we believe added it, or with our own version if we add it. This way,
35554 if a user temporarily runs an old version of Tor and then switches
35555 back to a new one, she doesn't automatically lose her guards.
35557 o Minor features (speed):
35558 - When implementing AES counter mode, update only the portions of the
35559 counter buffer that need to change, and don't keep separate
35560 network-order and host-order counters when they are the same (i.e.,
35561 on big-endian hosts.)
35563 o Minor features (controller):
35564 - Accept LF instead of CRLF on controller, since some software has a
35565 hard time generating real Internet newlines.
35566 - Add GETINFO values for the server status events
35567 "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
35570 o Removed features:
35571 - Routers no longer include bandwidth-history lines in their
35572 descriptors; this information is already available in extra-info
35573 documents, and including it in router descriptors took up 60%
35574 (!) of compressed router descriptor downloads. Completes
35575 implementation of proposal 104.
35576 - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
35577 and TorControl.py, as they use the old v0 controller protocol,
35578 and are obsoleted by TorFlow anyway.
35579 - Drop support for v1 rendezvous descriptors, since we never used
35580 them anyway, and the code has probably rotted by now. Based on
35581 patch from Karsten Loesing.
35582 - On OSX, stop warning the user that kqueue support in libevent is
35583 "experimental", since it seems to have worked fine for ages.
35586 - When generating information telling us how to extend to a given
35587 router, do not try to include the nickname if it is absent. Fixes
35588 bug 467. Bugfix on 0.2.0.3-alpha.
35589 - Fix a user-triggerable (but not remotely-triggerable) segfault
35590 in expand_filename(). Bugfix on 0.1.2.x.
35591 - Fix a memory leak when freeing incomplete requests from DNSPort.
35592 Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
35593 - Don't try to access (or alter) the state file when running
35594 --list-fingerprint or --verify-config or --hash-password. (Resolves
35595 bug 499.) Bugfix on 0.1.2.x.
35596 - Servers used to decline to publish their DirPort if their
35597 BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
35598 were below a threshold. Now they only look at BandwidthRate and
35599 RelayBandwidthRate. Bugfix on 0.1.2.x.
35600 - Remove an optimization in the AES counter-mode code that assumed
35601 that the counter never exceeded 2^68. When the counter can be set
35602 arbitrarily as an IV (as it is by Karsten's new hidden services
35603 code), this assumption no longer holds. Bugfix on 0.1.2.x.
35604 - Resume listing "AUTHORITY" flag for authorities in network status.
35605 Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
35607 o Code simplifications and refactoring:
35608 - Revamp file-writing logic so we don't need to have the entire
35609 contents of a file in memory at once before we write to disk. Tor,
35611 - Turn "descriptor store" into a full-fledged type.
35612 - Move all NT services code into a separate source file.
35613 - Unify all code that computes medians, percentile elements, etc.
35614 - Get rid of a needless malloc when parsing address policies.
35617 Changes in version 0.1.2.17 - 2007-08-30
35618 Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
35619 X bundles. Vidalia 0.0.14 makes authentication required for the
35620 ControlPort in the default configuration, which addresses important
35621 security risks. Everybody who uses Vidalia (or another controller)
35624 In addition, this Tor update fixes major load balancing problems with
35625 path selection, which should speed things up a lot once many people
35628 o Major bugfixes (security):
35629 - We removed support for the old (v0) control protocol. It has been
35630 deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
35631 become more of a headache than it's worth.
35633 o Major bugfixes (load balancing):
35634 - When choosing nodes for non-guard positions, weight guards
35635 proportionally less, since they already have enough load. Patch
35637 - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
35638 will allow fast Tor servers to get more attention.
35639 - When we're upgrading from an old Tor version, forget our current
35640 guards and pick new ones according to the new weightings. These
35641 three load balancing patches could raise effective network capacity
35642 by a factor of four. Thanks to Mike Perry for measurements.
35644 o Major bugfixes (stream expiration):
35645 - Expire not-yet-successful application streams in all cases if
35646 they've been around longer than SocksTimeout. Right now there are
35647 some cases where the stream will live forever, demanding a new
35648 circuit every 15 seconds. Fixes bug 454; reported by lodger.
35650 o Minor features (controller):
35651 - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
35652 is valid before any authentication has been received. It tells
35653 a controller what kind of authentication is expected, and what
35654 protocol is spoken. Implements proposal 119.
35656 o Minor bugfixes (performance):
35657 - Save on most routerlist_assert_ok() calls in routerlist.c, thus
35658 greatly speeding up loading cached-routers from disk on startup.
35659 - Disable sentinel-based debugging for buffer code: we squashed all
35660 the bugs that this was supposed to detect a long time ago, and now
35661 its only effect is to change our buffer sizes from nice powers of
35662 two (which platform mallocs tend to like) to values slightly over
35663 powers of two (which make some platform mallocs sad).
35665 o Minor bugfixes (misc):
35666 - If exit bandwidth ever exceeds one third of total bandwidth, then
35667 use the correct formula to weight exit nodes when choosing paths.
35668 Based on patch from Mike Perry.
35669 - Choose perfectly fairly among routers when choosing by bandwidth and
35670 weighting by fraction of bandwidth provided by exits. Previously, we
35671 would choose with only approximate fairness, and correct ourselves
35672 if we ran off the end of the list.
35673 - If we require CookieAuthentication but we fail to write the
35674 cookie file, we would warn but not exit, and end up in a state
35675 where no controller could authenticate. Now we exit.
35676 - If we require CookieAuthentication, stop generating a new cookie
35677 every time we change any piece of our config.
35678 - Refuse to start with certain directory authority keys, and
35679 encourage people using them to stop.
35680 - Terminate multi-line control events properly. Original patch
35682 - Fix a minor memory leak when we fail to find enough suitable
35683 servers to choose a circuit.
35684 - Stop leaking part of the descriptor when we run into a particularly
35685 unparseable piece of it.
35688 Changes in version 0.2.0.6-alpha - 2007-08-26
35689 This sixth development snapshot features a new Vidalia version in the
35690 Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
35691 the ControlPort in the default configuration, which addresses important
35694 In addition, this snapshot fixes major load balancing problems
35695 with path selection, which should speed things up a lot once many
35696 people have upgraded. The directory authorities also use a new
35697 mean-time-between-failure approach to tracking which servers are stable,
35698 rather than just looking at the most recent uptime.
35700 o New directory authorities:
35701 - Set up Tonga as the default bridge directory authority.
35704 - Directory authorities now track servers by weighted
35705 mean-times-between-failures. When we have 4 or more days of data,
35706 use measured MTBF rather than declared uptime to decide whether
35707 to call a router Stable. Implements proposal 108.
35709 o Major bugfixes (load balancing):
35710 - When choosing nodes for non-guard positions, weight guards
35711 proportionally less, since they already have enough load. Patch
35713 - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
35714 will allow fast Tor servers to get more attention.
35715 - When we're upgrading from an old Tor version, forget our current
35716 guards and pick new ones according to the new weightings. These
35717 three load balancing patches could raise effective network capacity
35718 by a factor of four. Thanks to Mike Perry for measurements.
35720 o Major bugfixes (descriptor parsing):
35721 - Handle unexpected whitespace better in malformed descriptors. Bug
35722 found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
35725 - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
35726 GETINFO for Torstat to use until it can switch to using extrainfos.
35727 - Optionally (if built with -DEXPORTMALLINFO) export the output
35728 of mallinfo via http, as tor/mallinfo.txt. Only accessible
35732 - Do not intermix bridge routers with controller-added
35733 routers. (Bugfix on 0.2.0.x)
35734 - Do not fail with an assert when accept() returns an unexpected
35735 address family. Addresses but does not wholly fix bug 483. (Bugfix
35737 - Let directory authorities startup even when they can't generate
35738 a descriptor immediately, e.g. because they don't know their
35740 - Stop putting the authentication cookie in a file called "0"
35741 in your working directory if you don't specify anything for the
35742 new CookieAuthFile option. Reported by Matt Edman.
35743 - Make it possible to read the PROTOCOLINFO response in a way that
35744 conforms to our control-spec. Reported by Matt Edman.
35745 - Fix a minor memory leak when we fail to find enough suitable
35746 servers to choose a circuit. Bugfix on 0.1.2.x.
35747 - Stop leaking part of the descriptor when we run into a particularly
35748 unparseable piece of it. Bugfix on 0.1.2.x.
35749 - Unmap the extrainfo cache file on exit.
35752 Changes in version 0.2.0.5-alpha - 2007-08-19
35753 This fifth development snapshot fixes compilation on Windows again;
35754 fixes an obnoxious client-side bug that slowed things down and put
35755 extra load on the network; gets us closer to using the v3 directory
35756 voting scheme; makes it easier for Tor controllers to use cookie-based
35757 authentication; and fixes a variety of other bugs.
35759 o Removed features:
35760 - Version 1 directories are no longer generated in full. Instead,
35761 authorities generate and serve "stub" v1 directories that list
35762 no servers. This will stop Tor versions 0.1.0.x and earlier from
35763 working, but (for security reasons) nobody should be running those
35766 o Major bugfixes (compilation, 0.2.0.x):
35767 - Try to fix Win32 compilation again: improve checking for IPv6 types.
35768 - Try to fix MSVC compilation: build correctly on platforms that do
35769 not define s6_addr16 or s6_addr32.
35770 - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
35773 o Major bugfixes (stream expiration):
35774 - Expire not-yet-successful application streams in all cases if
35775 they've been around longer than SocksTimeout. Right now there are
35776 some cases where the stream will live forever, demanding a new
35777 circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
35778 reported by lodger.
35780 o Minor features (directory servers):
35781 - When somebody requests a list of statuses or servers, and we have
35782 none of those, return a 404 rather than an empty 200.
35784 o Minor features (directory voting):
35785 - Store v3 consensus status consensuses on disk, and reload them
35788 o Minor features (security):
35789 - Warn about unsafe ControlPort configurations.
35790 - Refuse to start with certain directory authority keys, and
35791 encourage people using them to stop.
35793 o Minor features (controller):
35794 - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
35795 is valid before any authentication has been received. It tells
35796 a controller what kind of authentication is expected, and what
35797 protocol is spoken. Implements proposal 119.
35798 - New config option CookieAuthFile to choose a new location for the
35799 cookie authentication file, and config option
35800 CookieAuthFileGroupReadable to make it group-readable.
35802 o Minor features (unit testing):
35803 - Add command-line arguments to unit-test executable so that we can
35804 invoke any chosen test from the command line rather than having
35805 to run the whole test suite at once; and so that we can turn on
35806 logging for the unit tests.
35808 o Minor bugfixes (on 0.1.2.x):
35809 - If we require CookieAuthentication but we fail to write the
35810 cookie file, we would warn but not exit, and end up in a state
35811 where no controller could authenticate. Now we exit.
35812 - If we require CookieAuthentication, stop generating a new cookie
35813 every time we change any piece of our config.
35814 - When loading bandwidth history, do not believe any information in
35815 the future. Fixes bug 434.
35816 - When loading entry guard information, do not believe any information
35818 - When we have our clock set far in the future and generate an
35819 onion key, then re-set our clock to be correct, we should not stop
35820 the onion key from getting rotated.
35821 - Clean up torrc sample config file.
35822 - Do not automatically run configure from autogen.sh. This
35823 non-standard behavior tended to annoy people who have built other
35826 o Minor bugfixes (on 0.2.0.x):
35827 - Fix a bug with AutomapHostsOnResolve that would always cause
35828 the second request to fail. Bug reported by Kate. Bugfix on
35830 - Fix a bug in ADDRMAP controller replies that would sometimes
35831 try to print a NULL. Patch from tup.
35832 - Read v3 directory authority keys from the right location.
35833 - Numerous bugfixes to directory voting code.
35836 Changes in version 0.1.2.16 - 2007-08-01
35837 Tor 0.1.2.16 fixes a critical security vulnerability that allows a
35838 remote attacker in certain situations to rewrite the user's torrc
35839 configuration file. This can completely compromise anonymity of users
35840 in most configurations, including those running the Vidalia bundles,
35841 TorK, etc. Or worse.
35843 o Major security fixes:
35844 - Close immediately after missing authentication on control port;
35845 do not allow multiple authentication attempts.
35848 Changes in version 0.2.0.4-alpha - 2007-08-01
35849 This fourth development snapshot fixes a critical security vulnerability
35850 for most users, specifically those running Vidalia, TorK, etc. Everybody
35851 should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
35853 o Major security fixes:
35854 - Close immediately after missing authentication on control port;
35855 do not allow multiple authentication attempts.
35857 o Major bugfixes (compilation):
35858 - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
35861 o Minor features (performance):
35862 - Be even more aggressive about releasing RAM from small
35863 empty buffers. Thanks to our free-list code, this shouldn't be too
35864 performance-intensive.
35865 - Disable sentinel-based debugging for buffer code: we squashed all
35866 the bugs that this was supposed to detect a long time ago, and
35867 now its only effect is to change our buffer sizes from nice
35868 powers of two (which platform mallocs tend to like) to values
35869 slightly over powers of two (which make some platform mallocs sad).
35870 - Log malloc statistics from mallinfo() on platforms where it
35874 Changes in version 0.2.0.3-alpha - 2007-07-29
35875 This third development snapshot introduces new experimental
35876 blocking-resistance features and a preliminary version of the v3
35877 directory voting design, and includes many other smaller features
35881 - The first pieces of our "bridge" design for blocking-resistance
35882 are implemented. People can run bridge directory authorities;
35883 people can run bridges; and people can configure their Tor clients
35884 with a set of bridges to use as the first hop into the Tor network.
35885 See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
35887 - Create listener connections before we setuid to the configured
35888 User and Group. Now non-Windows users can choose port values
35889 under 1024, start Tor as root, and have Tor bind those ports
35890 before it changes to another UID. (Windows users could already
35892 - Added a new ConstrainedSockets config option to set SO_SNDBUF and
35893 SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
35894 on "vserver" accounts. (Patch from coderman.)
35895 - Be even more aggressive about separating local traffic from relayed
35896 traffic when RelayBandwidthRate is set. (Refines proposal 111.)
35898 o Major features (experimental):
35899 - First cut of code for "v3 dir voting": directory authorities will
35900 vote on a common network status document rather than each publishing
35901 their own opinion. This code needs more testing and more corner-case
35902 handling before it's ready for use.
35905 - Directory authorities now call routers Fast if their bandwidth is
35906 at least 100KB/s, and consider their bandwidth adequate to be a
35907 Guard if it is at least 250KB/s, no matter the medians. This fix
35908 complements proposal 107. [Bugfix on 0.1.2.x]
35909 - Directory authorities now never mark more than 3 servers per IP as
35910 Valid and Running. (Implements proposal 109, by Kevin Bauer and
35912 - Minor change to organizationName and commonName generation
35913 procedures in TLS certificates during Tor handshakes, to invalidate
35914 some earlier censorware approaches. This is not a long-term
35915 solution, but applying it will give us a bit of time to look into
35916 the epidemiology of countermeasures as they spread.
35918 o Major bugfixes (directory):
35919 - Rewrite directory tokenization code to never run off the end of
35920 a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
35922 o Minor features (controller):
35923 - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
35924 match requests to applications. (Patch from Robert Hogan.)
35925 - Report address and port correctly on connections to DNSPort. (Patch
35926 from Robert Hogan.)
35927 - Add a RESOLVE command to launch hostname lookups. (Original patch
35928 from Robert Hogan.)
35929 - Add GETINFO status/enough-dir-info to let controllers tell whether
35930 Tor has downloaded sufficient directory information. (Patch
35932 - You can now use the ControlSocket option to tell Tor to listen for
35933 controller connections on Unix domain sockets on systems that
35934 support them. (Patch from Peter Palfrader.)
35935 - STREAM NEW events are generated for DNSPort requests and for
35936 tunneled directory connections. (Patch from Robert Hogan.)
35937 - New "GETINFO address-mappings/*" command to get address mappings
35938 with expiry information. "addr-mappings/*" is now deprecated.
35941 o Minor features (misc):
35942 - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
35944 - The tor-gencert tool for v3 directory authorities now creates all
35945 files as readable to the file creator only, and write-protects
35946 the authority identity key.
35947 - When dumping memory usage, list bytes used in buffer memory
35949 - When running with dmalloc, dump more stats on hup and on exit.
35950 - Directory authorities now fail quickly and (relatively) harmlessly
35951 if they generate a network status document that is somehow
35954 o Traffic load balancing improvements:
35955 - If exit bandwidth ever exceeds one third of total bandwidth, then
35956 use the correct formula to weight exit nodes when choosing paths.
35957 (Based on patch from Mike Perry.)
35958 - Choose perfectly fairly among routers when choosing by bandwidth and
35959 weighting by fraction of bandwidth provided by exits. Previously, we
35960 would choose with only approximate fairness, and correct ourselves
35961 if we ran off the end of the list. [Bugfix on 0.1.2.x]
35963 o Performance improvements:
35964 - Be more aggressive with freeing buffer RAM or putting it on the
35966 - Use Critical Sections rather than Mutexes for synchronizing threads
35967 on win32; Mutexes are heavier-weight, and designed for synchronizing
35970 o Deprecated and removed features:
35971 - RedirectExits is now deprecated.
35972 - Stop allowing address masks that do not correspond to bit prefixes.
35973 We have warned about these for a really long time; now it's time
35974 to reject them. (Patch from croup.)
35976 o Minor bugfixes (directory):
35977 - Fix another crash bug related to extra-info caching. (Bug found by
35978 Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
35979 - Directories no longer return a "304 not modified" when they don't
35980 have the networkstatus the client asked for. Also fix a memory
35981 leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
35982 - We had accidentally labelled 0.1.2.x directory servers as not
35983 suitable for begin_dir requests, and had labelled no directory
35984 servers as suitable for uploading extra-info documents. [Bugfix
35987 o Minor bugfixes (dns):
35988 - Fix a crash when DNSPort is set more than once. (Patch from Robert
35989 Hogan.) [Bugfix on 0.2.0.2-alpha]
35990 - Add DNSPort connections to the global connection list, so that we
35991 can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
35993 - Fix a dangling reference that could lead to a crash when DNSPort is
35994 changed or closed (Patch from Robert Hogan.) [Bugfix on
35997 o Minor bugfixes (controller):
35998 - Provide DNS expiry times in GMT, not in local time. For backward
35999 compatibility, ADDRMAP events only provide GMT expiry in an extended
36000 field. "GETINFO address-mappings" always does the right thing.
36001 - Use CRLF line endings properly in NS events.
36002 - Terminate multi-line control events properly. (Original patch
36003 from tup.) [Bugfix on 0.1.2.x-alpha]
36004 - Do not include spaces in SOURCE_ADDR fields in STREAM
36005 events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
36008 Changes in version 0.1.2.15 - 2007-07-17
36009 Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
36010 problems, fixes compilation on BSD, and fixes a variety of other
36011 bugs. Everybody should upgrade.
36013 o Major bugfixes (compilation):
36014 - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
36016 o Major bugfixes (crashes):
36017 - Try even harder not to dereference the first character after
36018 an mmap(). Reported by lodger.
36019 - Fix a crash bug in directory authorities when we re-number the
36020 routerlist while inserting a new router.
36021 - When the cached-routers file is an even multiple of the page size,
36022 don't run off the end and crash. (Fixes bug 455; based on idea
36024 - Fix eventdns.c behavior on Solaris: It is critical to include
36025 orconfig.h _before_ sys/types.h, so that we can get the expected
36026 definition of _FILE_OFFSET_BITS.
36028 o Major bugfixes (security):
36029 - Fix a possible buffer overrun when using BSD natd support. Bug
36031 - When sending destroy cells from a circuit's origin, don't include
36032 the reason for tearing down the circuit. The spec says we didn't,
36033 and now we actually don't. Reported by lodger.
36034 - Keep streamids from different exits on a circuit separate. This
36035 bug may have allowed other routers on a given circuit to inject
36036 cells into streams. Reported by lodger; fixes bug 446.
36037 - If there's a never-before-connected-to guard node in our list,
36038 never choose any guards past it. This way we don't expand our
36039 guard list unless we need to.
36041 o Minor bugfixes (guard nodes):
36042 - Weight guard selection by bandwidth, so that low-bandwidth nodes
36043 don't get overused as guards.
36045 o Minor bugfixes (directory):
36046 - Correctly count the number of authorities that recommend each
36047 version. Previously, we were under-counting by 1.
36048 - Fix a potential crash bug when we load many server descriptors at
36049 once and some of them make others of them obsolete. Fixes bug 458.
36051 o Minor bugfixes (hidden services):
36052 - Stop tearing down the whole circuit when the user asks for a
36053 connection to a port that the hidden service didn't configure.
36056 o Minor bugfixes (misc):
36057 - On Windows, we were preventing other processes from reading
36058 cached-routers while Tor was running. Reported by janbar.
36059 - Fix a possible (but very unlikely) bug in picking routers by
36060 bandwidth. Add a log message to confirm that it is in fact
36061 unlikely. Patch from lodger.
36062 - Backport a couple of memory leak fixes.
36063 - Backport miscellaneous cosmetic bugfixes.
36066 Changes in version 0.2.0.2-alpha - 2007-06-02
36067 o Major bugfixes on 0.2.0.1-alpha:
36068 - Fix an assertion failure related to servers without extra-info digests.
36069 Resolves bugs 441 and 442.
36071 o Minor features (directory):
36072 - Support "If-Modified-Since" when answering HTTP requests for
36073 directories, running-routers documents, and network-status documents.
36074 (There's no need to support it for router descriptors, since those
36075 are downloaded by descriptor digest.)
36077 o Minor build issues:
36078 - Clear up some MIPSPro compiler warnings.
36079 - When building from a tarball on a machine that happens to have SVK
36080 installed, report the micro-revision as whatever version existed
36081 in the tarball, not as "x".
36084 Changes in version 0.2.0.1-alpha - 2007-06-01
36085 This early development snapshot provides new features for people running
36086 Tor as both a client and a server (check out the new RelayBandwidth
36087 config options); lets Tor run as a DNS proxy; and generally moves us
36088 forward on a lot of fronts.
36090 o Major features, server usability:
36091 - New config options RelayBandwidthRate and RelayBandwidthBurst:
36092 a separate set of token buckets for relayed traffic. Right now
36093 relayed traffic is defined as answers to directory requests, and
36094 OR connections that don't have any local circuits on them.
36096 o Major features, client usability:
36097 - A client-side DNS proxy feature to replace the need for
36098 dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
36099 for DNS requests on port 9999, use the Tor network to resolve them
36100 anonymously, and send the reply back like a regular DNS server.
36101 The code still only implements a subset of DNS.
36102 - Make PreferTunneledDirConns and TunnelDirConns work even when
36103 we have no cached directory info. This means Tor clients can now
36104 do all of their connections protected by TLS.
36106 o Major features, performance and efficiency:
36107 - Directory authorities accept and serve "extra info" documents for
36108 routers. These documents contain fields from router descriptors
36109 that aren't usually needed, and that use a lot of excess
36110 bandwidth. Once these fields are removed from router descriptors,
36111 the bandwidth savings should be about 60%. [Partially implements
36113 - Servers upload extra-info documents to any authority that accepts
36114 them. Authorities (and caches that have been configured to download
36115 extra-info documents) download them as needed. [Partially implements
36117 - Change the way that Tor buffers data that it is waiting to write.
36118 Instead of queueing data cells in an enormous ring buffer for each
36119 client->OR or OR->OR connection, we now queue cells on a separate
36120 queue for each circuit. This lets us use less slack memory, and
36121 will eventually let us be smarter about prioritizing different kinds
36123 - Use memory pools to allocate cells with better speed and memory
36124 efficiency, especially on platforms where malloc() is inefficient.
36125 - Stop reading on edge connections when their corresponding circuit
36126 buffers are full; start again as the circuits empty out.
36128 o Major features, other:
36129 - Add an HSAuthorityRecordStats option that hidden service authorities
36130 can use to track statistics of overall hidden service usage without
36131 logging information that would be very useful to an attacker.
36132 - Start work implementing multi-level keys for directory authorities:
36133 Add a standalone tool to generate key certificates. (Proposal 103.)
36136 - Directory authorities now call routers Stable if they have an
36137 uptime of at least 30 days, even if that's not the median uptime
36138 in the network. Implements proposal 107, suggested by Kevin Bauer
36141 o Minor fixes (resource management):
36142 - Count the number of open sockets separately from the number
36143 of active connection_t objects. This will let us avoid underusing
36144 our allocated connection limit.
36145 - We no longer use socket pairs to link an edge connection to an
36146 anonymous directory connection or a DirPort test connection.
36147 Instead, we track the link internally and transfer the data
36148 in-process. This saves two sockets per "linked" connection (at the
36149 client and at the server), and avoids the nasty Windows socketpair()
36151 - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
36152 for every single inactive connection_t. Free items from the
36153 4k/16k-buffer free lists when they haven't been used for a while.
36155 o Minor features (build):
36156 - Make autoconf search for libevent, openssl, and zlib consistently.
36157 - Update deprecated macros in configure.in.
36158 - When warning about missing headers, tell the user to let us
36159 know if the compile succeeds anyway, so we can downgrade the
36161 - Include the current subversion revision as part of the version
36162 string: either fetch it directly if we're in an SVN checkout, do
36163 some magic to guess it if we're in an SVK checkout, or use
36164 the last-detected version if we're building from a .tar.gz.
36165 Use this version consistently in log messages.
36167 o Minor features (logging):
36168 - Always prepend "Bug: " to any log message about a bug.
36169 - Put a platform string (e.g. "Linux i686") in the startup log
36170 message, so when people paste just their logs, we know if it's
36171 OpenBSD or Windows or what.
36172 - When logging memory usage, break down memory used in buffers by
36175 o Minor features (directory system):
36176 - New config option V2AuthoritativeDirectory that all directory
36177 authorities should set. This will let future authorities choose
36178 not to serve V2 directory information.
36179 - Directory authorities allow multiple router descriptors and/or extra
36180 info documents to be uploaded in a single go. This will make
36181 implementing proposal 104 simpler.
36183 o Minor features (controller):
36184 - Add a new config option __DisablePredictedCircuits designed for
36185 use by the controller, when we don't want Tor to build any circuits
36187 - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
36188 so we can exit from the middle of the circuit.
36189 - Implement "getinfo status/circuit-established".
36190 - Implement "getinfo status/version/..." so a controller can tell
36191 whether the current version is recommended, and whether any versions
36192 are good, and how many authorities agree. (Patch from shibz.)
36194 o Minor features (hidden services):
36195 - Allow multiple HiddenServicePort directives with the same virtual
36196 port; when they occur, the user is sent round-robin to one
36197 of the target ports chosen at random. Partially fixes bug 393 by
36198 adding limited ad-hoc round-robining.
36200 o Minor features (other):
36202 - Add a new AutomapHostsOnResolve option: when it is enabled, any
36203 resolve request for hosts matching a given pattern causes Tor to
36204 generate an internal virtual address mapping for that host. This
36205 allows DNSPort to work sensibly with hidden service users. By
36206 default, .exit and .onion addresses are remapped; the list of
36207 patterns can be reconfigured with AutomapHostsSuffixes.
36208 - Add an "-F" option to tor-resolve to force a resolve for a .onion
36209 address. Thanks to the AutomapHostsOnResolve option, this is no
36210 longer a completely silly thing to do.
36211 - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
36212 now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
36213 - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
36214 minus 1 byte: the actual maximum declared bandwidth.
36216 o Removed features:
36217 - Removed support for the old binary "version 0" controller protocol.
36218 This has been deprecated since 0.1.1, and warnings have been issued
36219 since 0.1.2. When we encounter a v0 control message, we now send
36220 back an error and close the connection.
36221 - Remove the old "dns worker" server DNS code: it hasn't been default
36222 since 0.1.2.2-alpha, and all the servers seem to be using the new
36225 o Minor bugfixes (portability):
36226 - Even though Windows is equally happy with / and \ as path separators,
36227 try to use \ consistently on Windows and / consistently on Unix: it
36228 makes the log messages nicer.
36229 - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
36230 - Read resolv.conf files correctly on platforms where read() returns
36231 partial results on small file reads.
36233 o Minor bugfixes (directory):
36234 - Correctly enforce that elements of directory objects do not appear
36235 more often than they are allowed to appear.
36236 - When we are reporting the DirServer line we just parsed, we were
36237 logging the second stanza of the key fingerprint, not the first.
36239 o Minor bugfixes (logging):
36240 - When we hit an EOF on a log (probably because we're shutting down),
36241 don't try to remove the log from the list: just mark it as
36242 unusable. (Bulletproofs against bug 222.)
36244 o Minor bugfixes (other):
36245 - In the exitlist script, only consider the most recently published
36246 server descriptor for each server. Also, when the user requests
36247 a list of servers that _reject_ connections to a given address,
36248 explicitly exclude the IPs that also have servers that accept
36249 connections to that address. (Resolves bug 405.)
36250 - Stop allowing hibernating servers to be "stable" or "fast".
36251 - On Windows, we were preventing other processes from reading
36252 cached-routers while Tor was running. (Reported by janbar)
36253 - Make the NodeFamilies config option work. (Reported by
36254 lodger -- it has never actually worked, even though we added it
36256 - Check return values from pthread_mutex functions.
36257 - Don't save non-general-purpose router descriptors to the disk cache,
36258 because we have no way of remembering what their purpose was when
36260 - Add even more asserts to hunt down bug 417.
36261 - Build without verbose warnings even on (not-yet-released) gcc 4.2.
36262 - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
36263 Add a log message to confirm that it is in fact unlikely.
36265 o Minor bugfixes (controller):
36266 - Make 'getinfo fingerprint' return a 551 error if we're not a
36267 server, so we match what the control spec claims we do. Reported
36269 - Fix a typo in an error message when extendcircuit fails that
36270 caused us to not follow the \r\n-based delimiter protocol. Reported
36273 o Code simplifications and refactoring:
36274 - Stop passing around circuit_t and crypt_path_t pointers that are
36275 implicit in other procedure arguments.
36276 - Drop the old code to choke directory connections when the
36277 corresponding OR connections got full: thanks to the cell queue
36278 feature, OR conns don't get full any more.
36279 - Make dns_resolve() handle attaching connections to circuits
36280 properly, so the caller doesn't have to.
36281 - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
36282 - Keep the connection array as a dynamic smartlist_t, rather than as
36283 a fixed-sized array. This is important, as the number of connections
36284 is becoming increasingly decoupled from the number of sockets.
36287 Changes in version 0.1.2.14 - 2007-05-25
36288 Tor 0.1.2.14 changes the addresses of two directory authorities (this
36289 change especially affects those who serve or use hidden services),
36290 and fixes several other crash- and security-related bugs.
36292 o Directory authority changes:
36293 - Two directory authorities (moria1 and moria2) just moved to new
36294 IP addresses. This change will particularly affect those who serve
36295 or use hidden services.
36297 o Major bugfixes (crashes):
36298 - If a directory server runs out of space in the connection table
36299 as it's processing a begin_dir request, it will free the exit stream
36300 but leave it attached to the circuit, leading to unpredictable
36301 behavior. (Reported by seeess, fixes bug 425.)
36302 - Fix a bug in dirserv_remove_invalid() that would cause authorities
36303 to corrupt memory under some really unlikely scenarios.
36304 - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
36305 - Avoid segfaults when reading from mmaped descriptor file. (Reported
36308 o Major bugfixes (security):
36309 - When choosing an entry guard for a circuit, avoid using guards
36310 that are in the same family as the chosen exit -- not just guards
36311 that are exactly the chosen exit. (Reported by lodger.)
36313 o Major bugfixes (resource management):
36314 - If a directory authority is down, skip it when deciding where to get
36315 networkstatus objects or descriptors. Otherwise we keep asking
36316 every 10 seconds forever. Fixes bug 384.
36317 - Count it as a failure if we fetch a valid network-status but we
36318 don't want to keep it. Otherwise we'll keep fetching it and keep
36319 not wanting to keep it. Fixes part of bug 422.
36320 - If all of our dirservers have given us bad or no networkstatuses
36321 lately, then stop hammering them once per minute even when we
36322 think they're failed. Fixes another part of bug 422.
36325 - Actually set the purpose correctly for descriptors inserted with
36326 purpose=controller.
36327 - When we have k non-v2 authorities in our DirServer config,
36328 we ignored the last k authorities in the list when updating our
36330 - Correctly back-off from requesting router descriptors that we are
36331 having a hard time downloading.
36332 - Read resolv.conf files correctly on platforms where read() returns
36333 partial results on small file reads.
36334 - Don't rebuild the entire router store every time we get 32K of
36335 routers: rebuild it when the journal gets very large, or when
36336 the gaps in the store get very large.
36339 - When routers publish SVN revisions in their router descriptors,
36340 authorities now include those versions correctly in networkstatus
36342 - Warn when using a version of libevent before 1.3b to run a server on
36343 OSX or BSD: these versions interact badly with userspace threads.
36346 Changes in version 0.1.2.13 - 2007-04-24
36347 This release features some major anonymity fixes, such as safer path
36348 selection; better client performance; faster bootstrapping, better
36349 address detection, and better DNS support for servers; write limiting as
36350 well as read limiting to make servers easier to run; and a huge pile of
36351 other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
36353 Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
36354 of the Freenode IRC network, remembering his patience and vision for
36355 free speech on the Internet.
36358 - Fix a memory leak when we ask for "all" networkstatuses and we
36359 get one we don't recognize.
36360 - Add more asserts to hunt down bug 417.
36361 - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
36364 Changes in version 0.1.2.12-rc - 2007-03-16
36366 - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
36367 directory information requested inside Tor connections (i.e. via
36368 begin_dir cells). It only triggered when the same connection was
36369 serving other data at the same time. Reported by seeess.
36372 - When creating a circuit via the controller, send a 'launched'
36373 event when we're done, so we follow the spec better.
36376 Changes in version 0.1.2.11-rc - 2007-03-15
36377 o Minor bugfixes (controller), reported by daejees:
36378 - Correct the control spec to match how the code actually responds
36379 to 'getinfo addr-mappings/*'.
36380 - The control spec described a GUARDS event, but the code
36381 implemented a GUARD event. Standardize on GUARD, but let people
36382 ask for GUARDS too.
36385 Changes in version 0.1.2.10-rc - 2007-03-07
36386 o Major bugfixes (Windows):
36387 - Do not load the NT services library functions (which may not exist)
36388 just to detect if we're a service trying to shut down. Now we run
36389 on Win98 and friends again.
36391 o Minor bugfixes (other):
36392 - Clarify a couple of log messages.
36393 - Fix a misleading socks5 error number.
36396 Changes in version 0.1.2.9-rc - 2007-03-02
36397 o Major bugfixes (Windows):
36398 - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
36399 of the usual GCC "%llu". This prevents a bug when saving 64-bit
36400 int configuration values: the high-order 32 bits would get
36401 truncated. In particular, we were being bitten by the default
36402 MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
36403 and maybe also bug 397.)
36405 o Minor bugfixes (performance):
36406 - Use OpenSSL's AES implementation on platforms where it's faster.
36407 This could save us as much as 10% CPU usage.
36409 o Minor bugfixes (server):
36410 - Do not rotate onion key immediately after setting it for the first
36413 o Minor bugfixes (directory authorities):
36414 - Stop calling servers that have been hibernating for a long time
36415 "stable". Also, stop letting hibernating or obsolete servers affect
36416 uptime and bandwidth cutoffs.
36417 - Stop listing hibernating servers in the v1 directory.
36419 o Minor bugfixes (hidden services):
36420 - Upload hidden service descriptors slightly less often, to reduce
36421 load on authorities.
36423 o Minor bugfixes (other):
36424 - Fix an assert that could trigger if a controller quickly set then
36425 cleared EntryNodes. Bug found by Udo van den Heuvel.
36426 - On architectures where sizeof(int)>4, still clamp declarable bandwidth
36428 - Fix a potential race condition in the rpm installer. Found by
36430 - Try to fix eventdns warnings once and for all: do not treat a dns rcode
36431 of 2 as indicating that the server is completely bad; it sometimes
36432 means that the server is just bad for the request in question. (may fix
36433 the last of bug 326.)
36434 - Disable encrypted directory connections when we don't have a server
36435 descriptor for the destination. We'll get this working again in
36439 Changes in version 0.1.2.8-beta - 2007-02-26
36440 o Major bugfixes (crashes):
36441 - Stop crashing when the controller asks us to resetconf more than
36442 one config option at once. (Vidalia 0.0.11 does this.)
36443 - Fix a crash that happened on Win98 when we're given command-line
36444 arguments: don't try to load NT service functions from advapi32.dll
36445 except when we need them. (Bug introduced in 0.1.2.7-alpha;
36447 - Fix a longstanding obscure crash bug that could occur when
36448 we run out of DNS worker processes. (Resolves bug 390.)
36450 o Major bugfixes (hidden services):
36451 - Correctly detect whether hidden service descriptor downloads are
36452 in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
36454 o Major bugfixes (accounting):
36455 - When we start during an accounting interval before it's time to wake
36456 up, remember to wake up at the correct time. (May fix bug 342.)
36458 o Minor bugfixes (controller):
36459 - Give the controller END_STREAM_REASON_DESTROY events _before_ we
36460 clear the corresponding on_circuit variable, and remember later
36461 that we don't need to send a redundant CLOSED event. Resolves part
36463 - Report events where a resolve succeeded or where we got a socks
36464 protocol error correctly, rather than calling both of them
36466 - Change reported stream target addresses to IP consistently when
36467 we finally get the IP from an exit node.
36468 - Send log messages to the controller even if they happen to be very
36471 o Minor bugfixes (other):
36472 - Display correct results when reporting which versions are
36473 recommended, and how recommended they are. (Resolves bug 383.)
36474 - Improve our estimates for directory bandwidth to be less random:
36475 guess that an unrecognized directory will have the average bandwidth
36476 from all known directories, not that it will have the average
36477 bandwidth from those directories earlier than it on the list.
36478 - If we start a server with ClientOnly 1, then set ClientOnly to 0
36479 and hup, stop triggering an assert based on an empty onion_key.
36480 - On platforms with no working mmap() equivalent, don't warn the
36481 user when cached-routers doesn't exist.
36482 - Warn the user when mmap() [or its equivalent] fails for some reason
36483 other than file-not-found.
36484 - Don't warn the user when cached-routers.new doesn't exist: that's
36485 perfectly fine when starting up for the first time.
36486 - When EntryNodes are configured, rebuild the guard list to contain,
36487 in order: the EntryNodes that were guards before; the rest of the
36488 EntryNodes; the nodes that were guards before.
36489 - Mask out all signals in sub-threads; only the libevent signal
36490 handler should be processing them. This should prevent some crashes
36491 on some machines using pthreads. (Patch from coderman.)
36492 - Fix switched arguments on memset in the implementation of
36493 tor_munmap() for systems with no mmap() call.
36494 - When Tor receives a router descriptor that it asked for, but
36495 no longer wants (because it has received fresh networkstatuses
36496 in the meantime), do not warn the user. Cache the descriptor if
36497 we're a cache; drop it if we aren't.
36498 - Make earlier entry guards _really_ get retried when the network
36500 - On a malformed DNS reply, always give an error to the corresponding
36502 - Build with recent libevents on platforms that do not define the
36503 nonstandard types "u_int8_t" and friends.
36505 o Minor features (controller):
36506 - Warn the user when an application uses the obsolete binary v0
36507 control protocol. We're planning to remove support for it during
36508 the next development series, so it's good to give people some
36510 - Add STREAM_BW events to report per-entry-stream bandwidth
36511 use. (Patch from Robert Hogan.)
36512 - Rate-limit SIGNEWNYM signals in response to controllers that
36513 impolitely generate them for every single stream. (Patch from
36514 mwenge; closes bug 394.)
36515 - Make REMAP stream events have a SOURCE (cache or exit), and
36516 make them generated in every case where we get a successful
36517 connected or resolved cell.
36519 o Minor bugfixes (performance):
36520 - Call router_have_min_dir_info half as often. (This is showing up in
36521 some profiles, but not others.)
36522 - When using GCC, make log_debug never get called at all, and its
36523 arguments never get evaluated, when no debug logs are configured.
36524 (This is showing up in some profiles, but not others.)
36527 - Remove some never-implemented options. Mark PathlenCoinWeight as
36529 - Implement proposal 106: Stop requiring clients to have well-formed
36530 certificates; stop checking nicknames in certificates. (Clients
36531 have certificates so that they can look like Tor servers, but in
36532 the future we might want to allow them to look like regular TLS
36533 clients instead. Nicknames in certificates serve no purpose other
36534 than making our protocol easier to recognize on the wire.)
36535 - Revise messages on handshake failure again to be even more clear about
36536 which are incoming connections and which are outgoing.
36537 - Discard any v1 directory info that's over 1 month old (for
36538 directories) or over 1 week old (for running-routers lists).
36539 - Do not warn when individual nodes in the configuration's EntryNodes,
36540 ExitNodes, etc are down: warn only when all possible nodes
36541 are down. (Fixes bug 348.)
36542 - Always remove expired routers and networkstatus docs before checking
36543 whether we have enough information to build circuits. (Fixes
36545 - Put a lower-bound on MaxAdvertisedBandwidth.
36548 Changes in version 0.1.2.7-alpha - 2007-02-06
36549 o Major bugfixes (rate limiting):
36550 - Servers decline directory requests much more aggressively when
36551 they're low on bandwidth. Otherwise they end up queueing more and
36552 more directory responses, which can't be good for latency.
36553 - But never refuse directory requests from local addresses.
36554 - Fix a memory leak when sending a 503 response for a networkstatus
36556 - Be willing to read or write on local connections (e.g. controller
36557 connections) even when the global rate limiting buckets are empty.
36558 - If our system clock jumps back in time, don't publish a negative
36559 uptime in the descriptor. Also, don't let the global rate limiting
36560 buckets go absurdly negative.
36561 - Flush local controller connection buffers periodically as we're
36562 writing to them, so we avoid queueing 4+ megabytes of data before
36565 o Major bugfixes (NT services):
36566 - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
36567 command-line flag so that admins can override the default by saying
36568 "tor --service install --user "SomeUser"". This will not affect
36569 existing installed services. Also, warn the user that the service
36570 will look for its configuration file in the service user's
36571 %appdata% directory. (We can't do the 'hardwire the user's appdata
36572 directory' trick any more, since we may not have read access to that
36575 o Major bugfixes (other):
36576 - Previously, we would cache up to 16 old networkstatus documents
36577 indefinitely, if they came from nontrusted authorities. Now we
36578 discard them if they are more than 10 days old.
36579 - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
36581 - Detect and reject malformed DNS responses containing circular
36583 - If exits are rare enough that we're not marking exits as guards,
36584 ignore exit bandwidth when we're deciding the required bandwidth
36586 - When we're handling a directory connection tunneled over Tor,
36587 don't fill up internal memory buffers with all the data we want
36588 to tunnel; instead, only add it if the OR connection that will
36589 eventually receive it has some room for it. (This can lead to
36590 slowdowns in tunneled dir connections; a better solution will have
36591 to wait for 0.2.0.)
36593 o Minor bugfixes (dns):
36594 - Add some defensive programming to eventdns.c in an attempt to catch
36595 possible memory-stomping bugs.
36596 - Detect and reject DNS replies containing IPv4 or IPv6 records with
36597 an incorrect number of bytes. (Previously, we would ignore the
36599 - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
36600 in the correct order, and doesn't crash.
36601 - Free memory held in recently-completed DNS lookup attempts on exit.
36602 This was not a memory leak, but may have been hiding memory leaks.
36603 - Handle TTL values correctly on reverse DNS lookups.
36604 - Treat failure to parse resolv.conf as an error.
36606 o Minor bugfixes (other):
36607 - Fix crash with "tor --list-fingerprint" (reported by seeess).
36608 - When computing clock skew from directory HTTP headers, consider what
36609 time it was when we finished asking for the directory, not what
36611 - Expire socks connections if they spend too long waiting for the
36612 handshake to finish. Previously we would let them sit around for
36613 days, if the connecting application didn't close them either.
36614 - And if the socks handshake hasn't started, don't send a
36615 "DNS resolve socks failed" handshake reply; just close it.
36616 - Stop using C functions that OpenBSD's linker doesn't like.
36617 - Don't launch requests for descriptors unless we have networkstatuses
36618 from at least half of the authorities. This delays the first
36619 download slightly under pathological circumstances, but can prevent
36620 us from downloading a bunch of descriptors we don't need.
36621 - Do not log IPs with TLS failures for incoming TLS
36622 connections. (Fixes bug 382.)
36623 - If the user asks to use invalid exit nodes, be willing to use
36625 - Stop using the reserved ac_cv namespace in our configure script.
36626 - Call stat() slightly less often; use fstat() when possible.
36627 - Refactor the way we handle pending circuits when an OR connection
36628 completes or fails, in an attempt to fix a rare crash bug.
36629 - Only rewrite a conn's address based on X-Forwarded-For: headers
36630 if it's a parseable public IP address; and stop adding extra quotes
36631 to the resulting address.
36634 - Weight directory requests by advertised bandwidth. Now we can
36635 let servers enable write limiting but still allow most clients to
36636 succeed at their directory requests. (We still ignore weights when
36637 choosing a directory authority; I hope this is a feature.)
36640 - Create a new file ReleaseNotes which was the old ChangeLog. The
36641 new ChangeLog file now includes the summaries for all development
36643 - Check for addresses with invalid characters at the exit as well
36644 as at the client, and warn less verbosely when they fail. You can
36645 override this by setting ServerDNSAllowNonRFC953Addresses to 1.
36646 - Adapt a patch from goodell to let the contrib/exitlist script
36647 take arguments rather than require direct editing.
36648 - Inform the server operator when we decide not to advertise a
36649 DirPort due to AccountingMax enabled or a low BandwidthRate. It
36650 was confusing Zax, so now we're hopefully more helpful.
36651 - Bring us one step closer to being able to establish an encrypted
36652 directory tunnel without knowing a descriptor first. Still not
36653 ready yet. As part of the change, now assume we can use a
36654 create_fast cell if we don't know anything about a router.
36655 - Allow exit nodes to use nameservers running on ports other than 53.
36656 - Servers now cache reverse DNS replies.
36657 - Add an --ignore-missing-torrc command-line option so that we can
36658 get the "use sensible defaults if the configuration file doesn't
36659 exist" behavior even when specifying a torrc location on the command
36662 o Minor features (controller):
36663 - Track reasons for OR connection failure; make these reasons
36664 available via the controller interface. (Patch from Mike Perry.)
36665 - Add a SOCKS_BAD_HOSTNAME client status event so controllers
36666 can learn when clients are sending malformed hostnames to Tor.
36667 - Clean up documentation for controller status events.
36668 - Add a REMAP status to stream events to note that a stream's
36669 address has changed because of a cached address or a MapAddress
36673 Changes in version 0.1.2.6-alpha - 2007-01-09
36675 - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
36676 connection handles more than 4 gigs in either direction, we crash.
36677 - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
36678 advertised exit node, somebody might try to exit from us when
36679 we're bootstrapping and before we've built our descriptor yet.
36680 Refuse the connection rather than crashing.
36683 - Warn if we (as a server) find that we've resolved an address that we
36684 weren't planning to resolve.
36685 - Warn that using select() on any libevent version before 1.1 will be
36686 unnecessarily slow (even for select()).
36687 - Flush ERR-level controller status events just like we currently
36688 flush ERR-level log events, so that a Tor shutdown doesn't prevent
36689 the controller from learning about current events.
36691 o Minor features (more controller status events):
36692 - Implement EXTERNAL_ADDRESS server status event so controllers can
36693 learn when our address changes.
36694 - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
36695 can learn when directories reject our descriptor.
36696 - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
36697 can learn when a client application is speaking a non-socks protocol
36699 - Implement DANGEROUS_SOCKS client status event so controllers
36700 can learn when a client application is leaking DNS addresses.
36701 - Implement BUG general status event so controllers can learn when
36702 Tor is unhappy about its internal invariants.
36703 - Implement CLOCK_SKEW general status event so controllers can learn
36704 when Tor thinks the system clock is set incorrectly.
36705 - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
36706 server status events so controllers can learn when their descriptors
36707 are accepted by a directory.
36708 - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
36709 server status events so controllers can learn about Tor's progress in
36710 deciding whether it's reachable from the outside.
36711 - Implement BAD_LIBEVENT general status event so controllers can learn
36712 when we have a version/method combination in libevent that needs to
36714 - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
36715 and DNS_USELESS server status events so controllers can learn
36716 about changes to DNS server status.
36718 o Minor features (directory):
36719 - Authorities no longer recommend exits as guards if this would shift
36720 too much load to the exit nodes.
36723 Changes in version 0.1.2.5-alpha - 2007-01-06
36725 - Enable write limiting as well as read limiting. Now we sacrifice
36726 capacity if we're pushing out lots of directory traffic, rather
36727 than overrunning the user's intended bandwidth limits.
36728 - Include TLS overhead when counting bandwidth usage; previously, we
36729 would count only the bytes sent over TLS, but not the bytes used
36731 - Support running the Tor service with a torrc not in the same
36732 directory as tor.exe and default to using the torrc located in
36733 the %appdata%\Tor\ of the user who installed the service. Patch
36735 - Servers now check for the case when common DNS requests are going to
36736 wildcarded addresses (i.e. all getting the same answer), and change
36737 their exit policy to reject *:* if it's happening.
36738 - Implement BEGIN_DIR cells, so we can connect to the directory
36739 server via TLS to do encrypted directory requests rather than
36740 plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
36741 config options if you like.
36743 o Minor features (config and docs):
36744 - Start using the state file to store bandwidth accounting data:
36745 the bw_accounting file is now obsolete. We'll keep generating it
36746 for a while for people who are still using 0.1.2.4-alpha.
36747 - Try to batch changes to the state file so that we do as few
36748 disk writes as possible while still storing important things in
36750 - The state file and the bw_accounting file get saved less often when
36751 the AvoidDiskWrites config option is set.
36752 - Make PIDFile work on Windows (untested).
36753 - Add internal descriptions for a bunch of configuration options:
36754 accessible via controller interface and in comments in saved
36756 - Reject *:563 (NNTPS) in the default exit policy. We already reject
36757 NNTP by default, so this seems like a sensible addition.
36758 - Clients now reject hostnames with invalid characters. This should
36759 avoid some inadvertent info leaks. Add an option
36760 AllowNonRFC953Hostnames to disable this behavior, in case somebody
36761 is running a private network with hosts called @, !, and #.
36762 - Add a maintainer script to tell us which options are missing
36763 documentation: "make check-docs".
36764 - Add a new address-spec.txt document to describe our special-case
36765 addresses: .exit, .onion, and .noconnnect.
36767 o Minor features (DNS):
36768 - Ongoing work on eventdns infrastructure: now it has dns server
36769 and ipv6 support. One day Tor will make use of it.
36770 - Add client-side caching for reverse DNS lookups.
36771 - Add support to tor-resolve tool for reverse lookups and SOCKS5.
36772 - When we change nameservers or IP addresses, reset and re-launch
36773 our tests for DNS hijacking.
36775 o Minor features (directory):
36776 - Authorities now specify server versions in networkstatus. This adds
36777 about 2% to the size of compressed networkstatus docs, and allows
36778 clients to tell which servers support BEGIN_DIR and which don't.
36779 The implementation is forward-compatible with a proposed future
36780 protocol version scheme not tied to Tor versions.
36781 - DirServer configuration lines now have an orport= option so
36782 clients can open encrypted tunnels to the authorities without
36783 having downloaded their descriptors yet. Enabled for moria1,
36784 moria2, tor26, and lefkada now in the default configuration.
36785 - Directory servers are more willing to send a 503 "busy" if they
36786 are near their write limit, especially for v1 directory requests.
36787 Now they can use their limited bandwidth for actual Tor traffic.
36788 - Clients track responses with status 503 from dirservers. After a
36789 dirserver has given us a 503, we try not to use it until an hour has
36790 gone by, or until we have no dirservers that haven't given us a 503.
36791 - When we get a 503 from a directory, and we're not a server, we don't
36792 count the failure against the total number of failures allowed
36793 for the thing we're trying to download.
36794 - Report X-Your-Address-Is correctly from tunneled directory
36795 connections; don't report X-Your-Address-Is when it's an internal
36796 address; and never believe reported remote addresses when they're
36798 - Protect against an unlikely DoS attack on directory servers.
36799 - Add a BadDirectory flag to network status docs so that authorities
36800 can (eventually) tell clients about caches they believe to be
36803 o Minor features (controller):
36804 - Have GETINFO dir/status/* work on hosts with DirPort disabled.
36805 - Reimplement GETINFO so that info/names stays in sync with the
36807 - Implement "GETINFO fingerprint".
36808 - Implement "SETEVENTS GUARD" so controllers can get updates on
36809 entry guard status as it changes.
36811 o Minor features (clean up obsolete pieces):
36812 - Remove some options that have been deprecated since at least
36813 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
36814 SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
36815 to set log options.
36816 - We no longer look for identity and onion keys in "identity.key" and
36817 "onion.key" -- these were replaced by secret_id_key and
36818 secret_onion_key in 0.0.8pre1.
36819 - We no longer require unrecognized directory entries to be
36822 o Major bugfixes (security):
36823 - Stop sending the HttpProxyAuthenticator string to directory
36824 servers when directory connections are tunnelled through Tor.
36825 - Clients no longer store bandwidth history in the state file.
36826 - Do not log introduction points for hidden services if SafeLogging
36828 - When generating bandwidth history, round down to the nearest
36829 1k. When storing accounting data, round up to the nearest 1k.
36830 - When we're running as a server, remember when we last rotated onion
36831 keys, so that we will rotate keys once they're a week old even if
36832 we never stay up for a week ourselves.
36834 o Major bugfixes (other):
36835 - Fix a longstanding bug in eventdns that prevented the count of
36836 timed-out resolves from ever being reset. This bug caused us to
36837 give up on a nameserver the third time it timed out, and try it
36838 10 seconds later... and to give up on it every time it timed out
36840 - Take out the '5 second' timeout from the connection retry
36841 schedule. Now the first connect attempt will wait a full 10
36842 seconds before switching to a new circuit. Perhaps this will help
36843 a lot. Based on observations from Mike Perry.
36844 - Fix a bug on the Windows implementation of tor_mmap_file() that
36845 would prevent the cached-routers file from ever loading. Reported
36849 - Fix an assert failure when a directory authority sets
36850 AuthDirRejectUnlisted and then receives a descriptor from an
36851 unlisted router. Reported by seeess.
36852 - Avoid a double-free when parsing malformed DirServer lines.
36853 - Fix a bug when a BSD-style PF socket is first used. Patch from
36855 - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
36856 to resolve an address at a given exit node even when they ask for
36858 - Servers no longer ever list themselves in their "family" line,
36859 even if configured to do so. This makes it easier to configure
36860 family lists conveniently.
36861 - When running as a server, don't fall back to 127.0.0.1 when no
36862 nameservers are configured in /etc/resolv.conf; instead, make the
36863 user fix resolv.conf or specify nameservers explicitly. (Resolves
36865 - Stop accepting certain malformed ports in configured exit policies.
36866 - Don't re-write the fingerprint file every restart, unless it has
36868 - Stop warning when a single nameserver fails: only warn when _all_ of
36869 our nameservers have failed. Also, when we only have one nameserver,
36870 raise the threshold for deciding that the nameserver is dead.
36871 - Directory authorities now only decide that routers are reachable
36872 if their identity keys are as expected.
36873 - When the user uses bad syntax in the Log config line, stop
36874 suggesting other bad syntax as a replacement.
36875 - Correctly detect ipv6 DNS capability on OpenBSD.
36877 o Minor bugfixes (controller):
36878 - Report the circuit number correctly in STREAM CLOSED events. Bug
36879 reported by Mike Perry.
36880 - Do not report bizarre values for results of accounting GETINFOs
36881 when the last second's write or read exceeds the allotted bandwidth.
36882 - Report "unrecognized key" rather than an empty string when the
36883 controller tries to fetch a networkstatus that doesn't exist.
36886 Changes in version 0.1.1.26 - 2006-12-14
36887 o Security bugfixes:
36888 - Stop sending the HttpProxyAuthenticator string to directory
36889 servers when directory connections are tunnelled through Tor.
36890 - Clients no longer store bandwidth history in the state file.
36891 - Do not log introduction points for hidden services if SafeLogging
36895 - Fix an assert failure when a directory authority sets
36896 AuthDirRejectUnlisted and then receives a descriptor from an
36897 unlisted router (reported by seeess).
36900 Changes in version 0.1.2.4-alpha - 2006-12-03
36902 - Add support for using natd; this allows FreeBSDs earlier than
36903 5.1.2 to have ipfw send connections through Tor without using
36904 SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
36907 - Make all connections to addresses of the form ".noconnect"
36908 immediately get closed. This lets application/controller combos
36909 successfully test whether they're talking to the same Tor by
36910 watching for STREAM events.
36911 - Make cross.sh cross-compilation script work even when autogen.sh
36912 hasn't been run. (Patch from Michael Mohr.)
36913 - Statistics dumped by -USR2 now include a breakdown of public key
36914 operations, for profiling.
36917 - Fix a major leak when directory authorities parse their
36918 approved-routers list, a minor memory leak when we fail to pick
36919 an exit node, and a few rare leaks on errors.
36920 - Handle TransPort connections even when the server sends data before
36921 the client sends data. Previously, the connection would just hang
36922 until the client sent data. (Patch from tup based on patch from
36924 - Avoid assert failure when our cached-routers file is empty on
36928 - Don't log spurious warnings when we see a circuit close reason we
36929 don't recognize; it's probably just from a newer version of Tor.
36930 - Have directory authorities allow larger amounts of drift in uptime
36931 without replacing the server descriptor: previously, a server that
36932 restarted every 30 minutes could have 48 "interesting" descriptors
36934 - Start linking to the Tor specification and Tor reference manual
36935 correctly in the Windows installer.
36936 - Add Vidalia to the OS X uninstaller script, so when we uninstall
36937 Tor/Privoxy we also uninstall Vidalia.
36938 - Resume building on Irix64, and fix a lot of warnings from its
36939 MIPSpro C compiler.
36940 - Don't corrupt last_guessed_ip in router_new_address_suggestion()
36941 when we're running as a client.
36944 Changes in version 0.1.1.25 - 2006-11-04
36946 - When a client asks us to resolve (rather than connect to)
36947 an address, and we have a cached answer, give them the cached
36948 answer. Previously, we would give them no answer at all.
36949 - We were building exactly the wrong circuits when we predict
36950 hidden service requirements, meaning Tor would have to build all
36951 its circuits on demand.
36952 - If none of our live entry guards have a high uptime, but we
36953 require a guard with a high uptime, try adding a new guard before
36954 we give up on the requirement. This patch should make long-lived
36955 connections more stable on average.
36956 - When testing reachability of our DirPort, don't launch new
36957 tests when there's already one in progress -- unreachable
36958 servers were stacking up dozens of testing streams.
36960 o Security bugfixes:
36961 - When the user sends a NEWNYM signal, clear the client-side DNS
36962 cache too. Otherwise we continue to act on previous information.
36965 - Avoid a memory corruption bug when creating a hash table for
36967 - Avoid possibility of controller-triggered crash when misusing
36968 certain commands from a v0 controller on platforms that do not
36969 handle printf("%s",NULL) gracefully.
36970 - Avoid infinite loop on unexpected controller input.
36971 - Don't log spurious warnings when we see a circuit close reason we
36972 don't recognize; it's probably just from a newer version of Tor.
36973 - Add Vidalia to the OS X uninstaller script, so when we uninstall
36974 Tor/Privoxy we also uninstall Vidalia.
36977 Changes in version 0.1.2.3-alpha - 2006-10-29
36979 - Prepare for servers to publish descriptors less often: never
36980 discard a descriptor simply for being too old until either it is
36981 recommended by no authorities, or until we get a better one for
36982 the same router. Make caches consider retaining old recommended
36983 routers for even longer.
36984 - If most authorities set a BadExit flag for a server, clients
36985 don't think of it as a general-purpose exit. Clients only consider
36986 authorities that advertise themselves as listing bad exits.
36987 - Directory servers now provide 'Pragma: no-cache' and 'Expires'
36988 headers for content, so that we can work better in the presence of
36989 caching HTTP proxies.
36990 - Allow authorities to list nodes as bad exits by fingerprint or by
36993 o Minor features, controller:
36994 - Add a REASON field to CIRC events; for backward compatibility, this
36995 field is sent only to controllers that have enabled the extended
36996 event format. Also, add additional reason codes to explain why
36997 a given circuit has been destroyed or truncated. (Patches from
36999 - Add a REMOTE_REASON field to extended CIRC events to tell the
37000 controller about why a remote OR told us to close a circuit.
37001 - Stream events also now have REASON and REMOTE_REASON fields,
37002 working much like those for circuit events.
37003 - There's now a GETINFO ns/... field so that controllers can ask Tor
37004 about the current status of a router.
37005 - A new event type "NS" to inform a controller when our opinion of
37006 a router's status has changed.
37007 - Add a GETINFO events/names and GETINFO features/names so controllers
37008 can tell which events and features are supported.
37009 - A new CLEARDNSCACHE signal to allow controllers to clear the
37010 client-side DNS cache without expiring circuits.
37012 o Security bugfixes:
37013 - When the user sends a NEWNYM signal, clear the client-side DNS
37014 cache too. Otherwise we continue to act on previous information.
37017 - Avoid sending junk to controllers or segfaulting when a controller
37018 uses EVENT_NEW_DESC with verbose nicknames.
37019 - Stop triggering asserts if the controller tries to extend hidden
37020 service circuits (reported by mwenge).
37021 - Avoid infinite loop on unexpected controller input.
37022 - When the controller does a "GETINFO network-status", tell it
37023 about even those routers whose descriptors are very old, and use
37024 long nicknames where appropriate.
37025 - Change NT service functions to be loaded on demand. This lets us
37026 build with MinGW without breaking Tor for Windows 98 users.
37027 - Do DirPort reachability tests less often, since a single test
37028 chews through many circuits before giving up.
37029 - In the hidden service example in torrc.sample, stop recommending
37030 esoteric and discouraged hidden service options.
37031 - When stopping an NT service, wait up to 10 sec for it to actually
37032 stop. Patch from Matt Edman; resolves bug 295.
37033 - Fix handling of verbose nicknames with ORCONN controller events:
37034 make them show up exactly when requested, rather than exactly when
37036 - When reporting verbose nicknames in entry_guards_getinfo(), avoid
37037 printing a duplicate "$" in the keys we send (reported by mwenge).
37038 - Correctly set maximum connection limit on Cygwin. (This time
37040 - Try to detect Windows correctly when cross-compiling.
37041 - Detect the size of the routers file correctly even if it is
37042 corrupted (on systems without mmap) or not page-aligned (on systems
37043 with mmap). This bug was harmless.
37044 - Sometimes we didn't bother sending a RELAY_END cell when an attempt
37045 to open a stream fails; now we do in more cases. This should
37046 make clients able to find a good exit faster in some cases, since
37047 unhandleable requests will now get an error rather than timing out.
37048 - Resolve two memory leaks when rebuilding the on-disk router cache
37049 (reported by fookoowa).
37050 - Clean up minor code warnings suggested by the MIPSpro C compiler,
37051 and reported by some Centos users.
37052 - Controller signals now work on non-Unix platforms that don't define
37053 SIGUSR1 and SIGUSR2 the way we expect.
37054 - Patch from Michael Mohr to contrib/cross.sh, so it checks more
37055 values before failing, and always enables eventdns.
37056 - Libevent-1.2 exports, but does not define in its headers, strlcpy.
37057 Try to fix this in configure.in by checking for most functions
37058 before we check for libevent.
37061 Changes in version 0.1.2.2-alpha - 2006-10-07
37063 - Make our async eventdns library on-by-default for Tor servers,
37064 and plan to deprecate the separate dnsworker threads.
37065 - Add server-side support for "reverse" DNS lookups (using PTR
37066 records so clients can determine the canonical hostname for a given
37067 IPv4 address). Only supported by servers using eventdns; servers
37068 now announce in their descriptors whether they support eventdns.
37069 - Specify and implement client-side SOCKS5 interface for reverse DNS
37070 lookups (see doc/socks-extensions.txt).
37071 - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
37072 connect to directory servers through Tor. Previously, clients needed
37073 to find Tor exits to make private connections to directory servers.
37074 - Avoid choosing Exit nodes for entry or middle hops when the
37075 total bandwidth available from non-Exit nodes is much higher than
37076 the total bandwidth available from Exit nodes.
37077 - Workaround for name servers (like Earthlink's) that hijack failing
37078 DNS requests and replace the no-such-server answer with a "helpful"
37079 redirect to an advertising-driven search portal. Also work around
37080 DNS hijackers who "helpfully" decline to hijack known-invalid
37081 RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
37082 lets you turn it off.
37083 - Send out a burst of long-range padding cells once we've established
37084 that we're reachable. Spread them over 4 circuits, so hopefully
37085 a few will be fast. This exercises our bandwidth and bootstraps
37086 us into the directory more quickly.
37088 o New/improved config options:
37089 - Add new config option "ResolvConf" to let the server operator
37090 choose an alternate resolve.conf file when using eventdns.
37091 - Add an "EnforceDistinctSubnets" option to control our "exclude
37092 servers on the same /16" behavior. It's still on by default; this
37093 is mostly for people who want to operate private test networks with
37094 all the machines on the same subnet.
37095 - If one of our entry guards is on the ExcludeNodes list, or the
37096 directory authorities don't think it's a good guard, treat it as
37097 if it were unlisted: stop using it as a guard, and throw it off
37098 the guards list if it stays that way for a long time.
37099 - Allow directory authorities to be marked separately as authorities
37100 for the v1 directory protocol, the v2 directory protocol, and
37101 as hidden service directories, to make it easier to retire old
37102 authorities. V1 authorities should set "HSAuthoritativeDir 1"
37103 to continue being hidden service authorities too.
37104 - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
37106 o Minor features, controller:
37107 - Fix CIRC controller events so that controllers can learn the
37108 identity digests of non-Named servers used in circuit paths.
37109 - Let controllers ask for more useful identifiers for servers. Instead
37110 of learning identity digests for un-Named servers and nicknames
37111 for Named servers, the new identifiers include digest, nickname,
37112 and indication of Named status. Off by default; see control-spec.txt
37113 for more information.
37114 - Add a "getinfo address" controller command so it can display Tor's
37115 best guess to the user.
37116 - New controller event to alert the controller when our server
37117 descriptor has changed.
37118 - Give more meaningful errors on controller authentication failure.
37120 o Minor features, other:
37121 - When asked to resolve a hostname, don't use non-exit servers unless
37122 requested to do so. This allows servers with broken DNS to be
37123 useful to the network.
37124 - Divide eventdns log messages into warn and info messages.
37125 - Reserve the nickname "Unnamed" for routers that can't pick
37126 a hostname: any router can call itself Unnamed; directory
37127 authorities will never allocate Unnamed to any particular router;
37128 clients won't believe that any router is the canonical Unnamed.
37129 - Only include function names in log messages for info/debug messages.
37130 For notice/warn/err, the content of the message should be clear on
37131 its own, and printing the function name only confuses users.
37132 - Avoid some false positives during reachability testing: don't try
37133 to test via a server that's on the same /24 as us.
37134 - If we fail to build a circuit to an intended enclave, and it's
37135 not mandatory that we use that enclave, stop wanting it.
37136 - When eventdns is enabled, allow multithreaded builds on NetBSD and
37137 OpenBSD. (We had previously disabled threads on these platforms
37138 because they didn't have working thread-safe resolver functions.)
37140 o Major bugfixes, anonymity/security:
37141 - If a client asked for a server by name, and there's a named server
37142 in our network-status but we don't have its descriptor yet, we
37143 could return an unnamed server instead.
37144 - Fix NetBSD bug that could allow someone to force uninitialized RAM
37145 to be sent to a server's DNS resolver. This only affects NetBSD
37146 and other platforms that do not bounds-check tolower().
37147 - Reject (most) attempts to use Tor circuits with length one. (If
37148 many people start using Tor as a one-hop proxy, exit nodes become
37149 a more attractive target for compromise.)
37150 - Just because your DirPort is open doesn't mean people should be
37151 able to remotely teach you about hidden service descriptors. Now
37152 only accept rendezvous posts if you've got HSAuthoritativeDir set.
37154 o Major bugfixes, other:
37155 - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
37156 - When a client asks the server to resolve (not connect to)
37157 an address, and it has a cached answer, give them the cached answer.
37158 Previously, the server would give them no answer at all.
37159 - Allow really slow clients to not hang up five minutes into their
37160 directory downloads (suggested by Adam J. Richter).
37161 - We were building exactly the wrong circuits when we anticipated
37162 hidden service requirements, meaning Tor would have to build all
37163 its circuits on demand.
37164 - Avoid crashing when we mmap a router cache file of size 0.
37165 - When testing reachability of our DirPort, don't launch new
37166 tests when there's already one in progress -- unreachable
37167 servers were stacking up dozens of testing streams.
37169 o Minor bugfixes, correctness:
37170 - If we're a directory mirror and we ask for "all" network status
37171 documents, we would discard status documents from authorities
37172 we don't recognize.
37173 - Avoid a memory corruption bug when creating a hash table for
37175 - Avoid controller-triggered crash when misusing certain commands
37176 from a v0 controller on platforms that do not handle
37177 printf("%s",NULL) gracefully.
37178 - Don't crash when a controller sends a third argument to an
37179 "extendcircuit" request.
37180 - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
37181 response; fix error code when "getinfo dir/status/" fails.
37182 - Avoid crash when telling controller stream-status and a stream
37184 - Patch from Adam Langley to fix assert() in eventdns.c.
37185 - Fix a debug log message in eventdns to say "X resolved to Y"
37186 instead of "X resolved to X".
37187 - Make eventdns give strings for DNS errors, not just error numbers.
37188 - Track unreachable entry guards correctly: don't conflate
37189 'unreachable by us right now' with 'listed as down by the directory
37190 authorities'. With the old code, if a guard was unreachable by
37191 us but listed as running, it would clog our guard list forever.
37192 - Behave correctly in case we ever have a network with more than
37193 2GB/s total advertised capacity.
37194 - Make TrackExitHosts case-insensitive, and fix the behavior of
37195 ".suffix" TrackExitHosts items to avoid matching in the middle of
37197 - Finally fix the openssl warnings from newer gccs that believe that
37198 ignoring a return value is okay, but casting a return value and
37199 then ignoring it is a sign of madness.
37200 - Prevent the contrib/exitlist script from printing the same
37201 result more than once.
37202 - Patch from Steve Hildrey: Generate network status correctly on
37203 non-versioning dirservers.
37204 - Don't listen to the X-Your-Address-Is hint if you did the lookup
37205 via Tor; otherwise you'll think you're the exit node's IP address.
37207 o Minor bugfixes, performance:
37208 - Two small performance improvements on parsing descriptors.
37209 - Major performance improvement on inserting descriptors: change
37210 algorithm from O(n^2) to O(n).
37211 - Make the common memory allocation path faster on machines where
37212 malloc(0) returns a pointer.
37213 - Start remembering X-Your-Address-Is directory hints even if you're
37214 a client, so you can become a server more smoothly.
37215 - Avoid duplicate entries on MyFamily line in server descriptor.
37217 o Packaging, features:
37218 - Remove architecture from OS X builds. The official builds are
37219 now universal binaries.
37220 - The Debian package now uses --verify-config when (re)starting,
37221 to distinguish configuration errors from other errors.
37222 - Update RPMs to require libevent 1.1b.
37224 o Packaging, bugfixes:
37225 - Patches so Tor builds with MinGW on Windows.
37226 - Patches so Tor might run on Cygwin again.
37227 - Resume building on non-gcc compilers and ancient gcc. Resume
37228 building with the -O0 compile flag. Resume building cleanly on
37230 - Run correctly on OS X platforms with case-sensitive filesystems.
37231 - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
37232 - Add autoconf checks so Tor can build on Solaris x86 again.
37235 - Documented (and renamed) ServerDNSSearchDomains and
37236 ServerDNSResolvConfFile options.
37237 - Be clearer that the *ListenAddress directives can be repeated
37241 Changes in version 0.1.1.24 - 2006-09-29
37243 - Allow really slow clients to not hang up five minutes into their
37244 directory downloads (suggested by Adam J. Richter).
37245 - Fix major performance regression from 0.1.0.x: instead of checking
37246 whether we have enough directory information every time we want to
37247 do something, only check when the directory information has changed.
37248 This should improve client CPU usage by 25-50%.
37249 - Don't crash if, after a server has been running for a while,
37250 it can't resolve its hostname.
37253 - Allow Tor to start when RunAsDaemon is set but no logs are set.
37254 - Don't crash when the controller receives a third argument to an
37255 "extendcircuit" request.
37256 - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
37257 response; fix error code when "getinfo dir/status/" fails.
37258 - Fix configure.in to not produce broken configure files with
37259 more recent versions of autoconf. Thanks to Clint for his auto*
37261 - Fix security bug on NetBSD that could allow someone to force
37262 uninitialized RAM to be sent to a server's DNS resolver. This
37263 only affects NetBSD and other platforms that do not bounds-check
37265 - Warn user when using libevent 1.1a or earlier with win32 or kqueue
37266 methods: these are known to be buggy.
37267 - If we're a directory mirror and we ask for "all" network status
37268 documents, we would discard status documents from authorities
37269 we don't recognize.
37272 Changes in version 0.1.2.1-alpha - 2006-08-27
37274 - Add "eventdns" async dns library from Adam Langley, tweaked to
37275 build on OSX and Windows. Only enabled if you pass the
37276 --enable-eventdns argument to configure.
37277 - Allow servers with no hostname or IP address to learn their
37278 IP address by asking the directory authorities. This code only
37279 kicks in when you would normally have exited with a "no address"
37280 error. Nothing's authenticated, so use with care.
37281 - Rather than waiting a fixed amount of time between retrying
37282 application connections, we wait only 5 seconds for the first,
37283 10 seconds for the second, and 15 seconds for each retry after
37284 that. Hopefully this will improve the expected user experience.
37285 - Patch from Tup to add support for transparent AP connections:
37286 this basically bundles the functionality of trans-proxy-tor
37287 into the Tor mainline. Now hosts with compliant pf/netfilter
37288 implementations can redirect TCP connections straight to Tor
37289 without diverting through SOCKS. Needs docs.
37290 - Busy directory servers save lots of memory by spooling server
37291 descriptors, v1 directories, and v2 networkstatus docs to buffers
37292 as needed rather than en masse. Also mmap the cached-routers
37293 files, so we don't need to keep the whole thing in memory too.
37294 - Automatically avoid picking more than one node from the same
37295 /16 network when constructing a circuit.
37296 - Revise and clean up the torrc.sample that we ship with; add
37297 a section for BandwidthRate and BandwidthBurst.
37300 - Split circuit_t into origin_circuit_t and or_circuit_t, and
37301 split connection_t into edge, or, dir, control, and base structs.
37302 These will save quite a bit of memory on busy servers, and they'll
37303 also help us track down bugs in the code and bugs in the spec.
37304 - Experimentally re-enable kqueue on OSX when using libevent 1.1b
37305 or later. Log when we are doing this, so we can diagnose it when
37306 it fails. (Also, recommend libevent 1.1b for kqueue and
37307 win32 methods; deprecate libevent 1.0b harder; make libevent
37308 recommendation system saner.)
37309 - Start being able to build universal binaries on OS X (thanks
37311 - Export the default exit policy via the control port, so controllers
37312 don't need to guess what it is / will be later.
37313 - Add a man page entry for ProtocolWarnings.
37314 - Add TestVia config option to the man page.
37315 - Remove even more protocol-related warnings from Tor server logs,
37316 such as bad TLS handshakes and malformed begin cells.
37317 - Stop fetching descriptors if you're not a dir mirror and you
37318 haven't tried to establish any circuits lately. [This currently
37319 causes some dangerous behavior, because when you start up again
37320 you'll use your ancient server descriptors.]
37321 - New DirPort behavior: if you have your dirport set, you download
37322 descriptors aggressively like a directory mirror, whether or not
37323 your ORPort is set.
37324 - Get rid of the router_retry_connections notion. Now routers
37325 no longer try to rebuild long-term connections to directory
37326 authorities, and directory authorities no longer try to rebuild
37327 long-term connections to all servers. We still don't hang up
37328 connections in these two cases though -- we need to look at it
37329 more carefully to avoid flapping, and we likely need to wait til
37330 0.1.1.x is obsolete.
37331 - Drop compatibility with obsolete Tors that permit create cells
37332 to have the wrong circ_id_type.
37333 - Re-enable per-connection rate limiting. Get rid of the "OP
37334 bandwidth" concept. Lay groundwork for "bandwidth classes" --
37335 separate global buckets that apply depending on what sort of conn
37337 - Start publishing one minute or so after we find our ORPort
37338 to be reachable. This will help reduce the number of descriptors
37339 we have for ourselves floating around, since it's quite likely
37340 other things (e.g. DirPort) will change during that minute too.
37341 - Fork the v1 directory protocol into its own spec document,
37342 and mark dir-spec.txt as the currently correct (v2) spec.
37345 - When we find our DirPort to be reachable, publish a new descriptor
37346 so we'll tell the world (reported by pnx).
37347 - Publish a new descriptor after we hup/reload. This is important
37348 if our config has changed such that we'll want to start advertising
37349 our DirPort now, etc.
37350 - Allow Tor to start when RunAsDaemon is set but no logs are set.
37351 - When we have a state file we cannot parse, tell the user and
37352 move it aside. Now we avoid situations where the user starts
37353 Tor in 1904, Tor writes a state file with that timestamp in it,
37354 the user fixes her clock, and Tor refuses to start.
37355 - Fix configure.in to not produce broken configure files with
37356 more recent versions of autoconf. Thanks to Clint for his auto*
37358 - "tor --verify-config" now exits with -1(255) or 0 depending on
37359 whether the config options are bad or good.
37360 - Resolve bug 321 when using dnsworkers: append a period to every
37361 address we resolve at the exit node, so that we do not accidentally
37362 pick up local addresses, and so that failing searches are retried
37363 in the resolver search domains. (This is already solved for
37364 eventdns.) (This breaks Blossom servers for now.)
37365 - If we are using an exit enclave and we can't connect, e.g. because
37366 its webserver is misconfigured to not listen on localhost, then
37367 back off and try connecting from somewhere else before we fail.
37370 - Start compiling on MinGW on Windows (patches from Mike Chiussi).
37371 - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
37372 - Fix bug 314: Tor clients issued "unsafe socks" warnings even
37373 when the IP address is mapped through MapAddress to a hostname.
37374 - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
37375 useless IPv6 DNS resolves.
37376 - Patch suggested by Karsten Loesing: respond to SIGNAL command
37377 before we execute the signal, in case the signal shuts us down.
37378 - Clean up AllowInvalidNodes man page entry.
37379 - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
37380 - Add more asserts to track down an assert error on a windows Tor
37381 server with connection_add being called with socket == -1.
37382 - Handle reporting OR_CONN_EVENT_NEW events to the controller.
37383 - Fix misleading log messages: an entry guard that is "unlisted",
37384 as well as not known to be "down" (because we've never heard
37385 of it), is not therefore "up".
37386 - Remove code to special-case "-cvs" ending, since it has not
37387 actually mattered since 0.0.9.
37388 - Make our socks5 handling more robust to broken socks clients:
37389 throw out everything waiting on the buffer in between socks
37390 handshake phases, since they can't possibly (so the theory
37391 goes) have predicted what we plan to respond to them.
37394 Changes in version 0.1.1.23 - 2006-07-30
37396 - Fast Tor servers, especially exit nodes, were triggering asserts
37397 due to a bug in handling the list of pending DNS resolves. Some
37398 bugs still remain here; we're hunting them.
37399 - Entry guards could crash clients by sending unexpected input.
37400 - More fixes on reachability testing: if you find yourself reachable,
37401 then don't ever make any client requests (so you stop predicting
37402 circuits), then hup or have your clock jump, then later your IP
37403 changes, you won't think circuits are working, so you won't try to
37404 test reachability, so you won't publish.
37407 - Avoid a crash if the controller does a resetconf firewallports
37408 and then a setconf fascistfirewall=1.
37409 - Avoid an integer underflow when the dir authority decides whether
37410 a router is stable: we might wrongly label it stable, and compute
37411 a slightly wrong median stability, when a descriptor is published
37413 - Fix a place where we might trigger an assert if we can't build our
37414 own server descriptor yet.
37417 Changes in version 0.1.1.22 - 2006-07-05
37419 - Fix a big bug that was causing servers to not find themselves
37420 reachable if they changed IP addresses. Since only 0.1.1.22+
37421 servers can do reachability testing correctly, now we automatically
37422 make sure to test via one of these.
37423 - Fix to allow clients and mirrors to learn directory info from
37424 descriptor downloads that get cut off partway through.
37425 - Directory authorities had a bug in deciding if a newly published
37426 descriptor was novel enough to make everybody want a copy -- a few
37427 servers seem to be publishing new descriptors many times a minute.
37429 - Fix a rare bug that was causing some servers to complain about
37430 "closing wedged cpuworkers" and skip some circuit create requests.
37431 - Make the Exit flag in directory status documents actually work.
37434 Changes in version 0.1.1.21 - 2006-06-10
37435 o Crash and assert fixes from 0.1.1.20:
37436 - Fix a rare crash on Tor servers that have enabled hibernation.
37437 - Fix a seg fault on startup for Tor networks that use only one
37438 directory authority.
37439 - Fix an assert from a race condition that occurs on Tor servers
37440 while exiting, where various threads are trying to log that they're
37441 exiting, and delete the logs, at the same time.
37442 - Make our unit tests pass again on certain obscure platforms.
37445 - Add support for building SUSE RPM packages.
37446 - Speed up initial bootstrapping for clients: if we are making our
37447 first ever connection to any entry guard, then don't mark it down
37449 - When only one Tor server in the network is labelled as a guard,
37450 and we've already picked him, we would cycle endlessly picking him
37451 again, being unhappy about it, etc. Now we specifically exclude
37452 current guards when picking a new guard.
37453 - Servers send create cells more reliably after the TLS connection
37454 is established: we were sometimes forgetting to send half of them
37455 when we had more than one pending.
37456 - If we get a create cell that asks us to extend somewhere, but the
37457 Tor server there doesn't match the expected digest, we now send
37458 a destroy cell back, rather than silently doing nothing.
37459 - Make options->RedirectExit work again.
37460 - Make cookie authentication for the controller work again.
37461 - Stop being picky about unusual characters in the arguments to
37462 mapaddress. It's none of our business.
37463 - Add a new config option "TestVia" that lets you specify preferred
37464 middle hops to use for test circuits. Perhaps this will let me
37465 debug the reachability problems better.
37467 o Log / documentation fixes:
37468 - If we're a server and some peer has a broken TLS certificate, don't
37469 log about it unless ProtocolWarnings is set, i.e., we want to hear
37470 about protocol violations by others.
37471 - Fix spelling of VirtualAddrNetwork in man page.
37472 - Add a better explanation at the top of the autogenerated torrc file
37473 about what happened to our old torrc.
37476 Changes in version 0.1.1.20 - 2006-05-23
37478 - Downgrade a log severity where servers complain that they're
37480 - Avoid a compile warning on FreeBSD.
37481 - Remove string size limit on NEWDESC messages; solve bug 291.
37482 - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
37483 more thoroughly when we're running on windows.
37486 Changes in version 0.1.1.19-rc - 2006-05-03
37488 - Regenerate our local descriptor if it's dirty and we try to use
37489 it locally (e.g. if it changes during reachability detection).
37490 - If we setconf our ORPort to 0, we continued to listen on the
37491 old ORPort and receive connections.
37492 - Avoid a second warning about machine/limits.h on Debian
37494 - Be willing to add our own routerinfo into the routerlist.
37495 Now authorities will include themselves in their directories
37496 and network-statuses.
37497 - Stop trying to upload rendezvous descriptors to every
37498 directory authority: only try the v1 authorities.
37499 - Servers no longer complain when they think they're not
37500 registered with the directory authorities. There were too many
37502 - Backport dist-rpm changes so rpms can be built without errors.
37505 - Implement an option, VirtualAddrMask, to set which addresses
37506 get handed out in response to mapaddress requests. This works
37507 around a bug in tsocks where 127.0.0.0/8 is never socksified.
37510 Changes in version 0.1.1.18-rc - 2006-04-10
37512 - Work harder to download live network-statuses from all the
37513 directory authorities we know about. Improve the threshold
37514 decision logic so we're more robust to edge cases.
37515 - When fetching rendezvous descriptors, we were willing to ask
37516 v2 authorities too, which would always return 404.
37519 - Stop listing down or invalid nodes in the v1 directory. This will
37520 reduce its bulk by about 1/3, and reduce load on directory
37522 - When deciding whether a router is Fast or Guard-worthy, consider
37523 his advertised BandwidthRate and not just the BandwidthCapacity.
37524 - No longer ship INSTALL and README files -- they are useless now.
37525 - Force rpmbuild to behave and honor target_cpu.
37526 - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
37527 - Start to include translated versions of the tor-doc-*.html
37528 files, along with the screenshots. Still needs more work.
37529 - Start sending back 512 and 451 errors if mapaddress fails,
37530 rather than not sending anything back at all.
37531 - When we fail to bind or listen on an incoming or outgoing
37532 socket, we should close it before failing. otherwise we just
37533 leak it. (thanks to weasel for finding.)
37534 - Allow "getinfo dir/status/foo" to work, as long as your DirPort
37535 is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
37536 - Make NoPublish (even though deprecated) work again.
37537 - Fix a minor security flaw where a versioning auth dirserver
37538 could list a recommended version many times in a row to make
37539 clients more convinced that it's recommended.
37540 - Fix crash bug if there are two unregistered servers running
37541 with the same nickname, one of them is down, and you ask for
37542 them by nickname in your EntryNodes or ExitNodes. Also, try
37543 to pick the one that's running rather than an arbitrary one.
37544 - Fix an infinite loop we could hit if we go offline for too long.
37545 - Complain when we hit WSAENOBUFS on recv() or write() too.
37546 Perhaps this will help us hunt the bug.
37547 - If you're not a versioning dirserver, don't put the string
37548 "client-versions \nserver-versions \n" in your network-status.
37549 - Lower the minimum required number of file descriptors to 1000,
37550 so we can have some overhead for Valgrind on Linux, where the
37551 default ulimit -n is 1024.
37554 - Add tor.dizum.com as the fifth authoritative directory server.
37555 - Add a new config option FetchUselessDescriptors, off by default,
37556 for when you plan to run "exitlist" on your client and you want
37557 to know about even the non-running descriptors.
37560 Changes in version 0.1.1.17-rc - 2006-03-28
37562 - Clients and servers since 0.1.1.10-alpha have been expiring
37563 connections whenever they are idle for 5 minutes and they *do*
37564 have circuits on them. Oops. With this new version, clients will
37565 discard their previous entry guard choices and avoid choosing
37566 entry guards running these flawed versions.
37567 - Fix memory leak when uncompressing concatenated zlib streams. This
37568 was causing substantial leaks over time on Tor servers.
37569 - The v1 directory was including servers as much as 48 hours old,
37570 because that's how the new routerlist->routers works. Now only
37571 include them if they're 20 hours old or less.
37574 - Resume building on irix64, netbsd 2.0, etc.
37575 - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
37577 - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
37578 and it is confusing some users.
37579 - Mirrors stop caching the v1 directory so often.
37580 - Make the max number of old descriptors that a cache will hold
37581 rise with the number of directory authorities, so we can scale.
37582 - Change our win32 uname() hack to be more forgiving about what
37583 win32 versions it thinks it's found.
37586 - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
37588 - When the controller's *setconf commands fail, collect an error
37589 message in a string and hand it back to the controller.
37590 - Make the v2 dir's "Fast" flag based on relative capacity, just
37591 like "Stable" is based on median uptime. Name everything in the
37592 top 7/8 Fast, and only the top 1/2 gets to be a Guard.
37593 - Log server fingerprint on startup, so new server operators don't
37594 have to go hunting around their filesystem for it.
37595 - Return a robots.txt on our dirport to discourage google indexing.
37596 - Let the controller ask for GETINFO dir/status/foo so it can ask
37597 directly rather than connecting to the dir port. Only works when
37598 dirport is set for now.
37600 o New config options rather than constants in the code:
37601 - SocksTimeout: How long do we let a socks connection wait
37602 unattached before we fail it?
37603 - CircuitBuildTimeout: Cull non-open circuits that were born
37604 at least this many seconds ago.
37605 - CircuitIdleTimeout: Cull open clean circuits that were born
37606 at least this many seconds ago.
37609 Changes in version 0.1.1.16-rc - 2006-03-18
37610 o Bugfixes on 0.1.1.15-rc:
37611 - Fix assert when the controller asks to attachstream a connect-wait
37612 or resolve-wait stream.
37613 - Now do address rewriting when the controller asks us to attach
37614 to a particular circuit too. This will let Blossom specify
37615 "moria2.exit" without having to learn what moria2's IP address is.
37616 - Make the "tor --verify-config" command-line work again, so people
37617 can automatically check if their torrc will parse.
37618 - Authoritative dirservers no longer require an open connection from
37619 a server to consider him "reachable". We need this change because
37620 when we add new auth dirservers, old servers won't know not to
37622 - Let Tor build on Sun CC again.
37623 - Fix an off-by-one buffer size in dirserv.c that magically never
37624 hit our three authorities but broke sjmurdoch's own tor network.
37625 - If we as a directory mirror don't know of any v1 directory
37626 authorities, then don't try to cache any v1 directories.
37627 - Stop warning about unknown servers in our family when they are
37628 given as hex digests.
37629 - Stop complaining as quickly to the server operator that he
37630 hasn't registered his nickname/key binding.
37631 - Various cleanups so we can add new V2 Auth Dirservers.
37632 - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
37633 reflect the updated flags in our v2 dir protocol.
37634 - Resume allowing non-printable characters for exit streams (both
37635 for connecting and for resolving). Now we tolerate applications
37636 that don't follow the RFCs. But continue to block malformed names
37639 o Bugfixes on 0.1.0.x:
37640 - Fix assert bug in close_logs(): when we close and delete logs,
37641 remove them all from the global "logfiles" list.
37642 - Fix minor integer overflow in calculating when we expect to use up
37643 our bandwidth allocation before hibernating.
37644 - Fix a couple of bugs in OpenSSL detection. Also, deal better when
37645 there are multiple SSLs installed with different versions.
37646 - When we try to be a server and Address is not explicitly set and
37647 our hostname resolves to a private IP address, try to use an
37648 interface address if it has a public address. Now Windows machines
37649 that think of themselves as localhost can work by default.
37652 - Let the controller ask for GETINFO dir/server/foo so it can ask
37653 directly rather than connecting to the dir port.
37654 - Let the controller tell us about certain router descriptors
37655 that it doesn't want Tor to use in circuits. Implement
37656 SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
37657 - New config option SafeSocks to reject all application connections
37658 using unsafe socks protocols. Defaults to off.
37661 Changes in version 0.1.1.15-rc - 2006-03-11
37662 o Bugfixes and cleanups:
37663 - When we're printing strings from the network, don't try to print
37664 non-printable characters. This protects us against shell escape
37665 sequence exploits, and also against attacks to fool humans into
37666 misreading their logs.
37667 - Fix a bug where Tor would fail to establish any connections if you
37668 left it off for 24 hours and then started it: we were happy with
37669 the obsolete network statuses, but they all referred to router
37670 descriptors that were too old to fetch, so we ended up with no
37671 valid router descriptors.
37672 - Fix a seg fault in the controller's "getinfo orconn-status"
37673 command while listing status on incoming handshaking connections.
37674 Introduce a status name "NEW" for these connections.
37675 - If we get a linelist or linelist_s config option from the torrc
37676 (e.g. ExitPolicy) and it has no value, warn and skip rather than
37677 silently resetting it to its default.
37678 - Don't abandon entry guards until they've been down or gone for
37680 - Cleaner and quieter log messages.
37683 - New controller signal NEWNYM that makes new application requests
37684 use clean circuits.
37685 - Add a new circuit purpose 'controller' to let the controller ask
37686 for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
37687 controller command to let you specify the purpose if you're
37688 starting a new circuit. Add a new SETCIRCUITPURPOSE controller
37689 command to let you change a circuit's purpose after it's been
37691 - Accept "private:*" in routerdesc exit policies; not generated yet
37692 because older Tors do not understand it.
37693 - Add BSD-style contributed startup script "rc.subr" from Peter
37697 Changes in version 0.1.1.14-alpha - 2006-02-20
37698 o Bugfixes on 0.1.1.x:
37699 - Don't die if we ask for a stdout or stderr log (even implicitly)
37700 and we're set to RunAsDaemon -- just warn.
37701 - We still had a few bugs in the OR connection rotation code that
37702 caused directory servers to slowly aggregate connections to other
37703 fast Tor servers. This time for sure!
37704 - Make log entries on Win32 include the name of the function again.
37705 - We were treating a pair of exit policies if they were equal even
37706 if one said accept and the other said reject -- causing us to
37707 not always publish a new descriptor since we thought nothing
37709 - Retry pending server downloads as well as pending networkstatus
37710 downloads when we unexpectedly get a socks request.
37711 - We were ignoring the IS_FAST flag in the directory status,
37712 meaning we were willing to pick trivial-bandwidth nodes for "fast"
37714 - If the controller's SAVECONF command fails (e.g. due to file
37715 permissions), let the controller know that it failed.
37718 - If we're trying to be a Tor server and running Windows 95/98/ME
37719 as a server, explain that we'll likely crash.
37720 - When we're a server, a client asks for an old-style directory,
37721 and our write bucket is empty, don't give it to him. This way
37722 small servers can continue to serve the directory *sometimes*,
37723 without getting overloaded.
37724 - Compress exit policies even more -- look for duplicate lines
37726 - Clients now honor the "guard" flag in the router status when
37727 picking entry guards, rather than looking at is_fast or is_stable.
37728 - Retain unrecognized lines in $DATADIR/state file, so that we can
37729 be forward-compatible.
37730 - Generate 18.0.0.0/8 address policy format in descs when we can;
37731 warn when the mask is not reducible to a bit-prefix.
37732 - Let the user set ControlListenAddress in the torrc. This can be
37733 dangerous, but there are some cases (like a secured LAN) where it
37735 - Split ReachableAddresses into ReachableDirAddresses and
37736 ReachableORAddresses, so we can restrict Dir conns to port 80
37737 and OR conns to port 443.
37738 - Now we can target arch and OS in rpm builds (contributed by
37739 Phobos). Also make the resulting dist-rpm filename match the
37741 - New config options to help controllers: FetchServerDescriptors
37742 and FetchHidServDescriptors for whether to fetch server
37743 info and hidserv info or let the controller do it, and
37744 PublishServerDescriptor and PublishHidServDescriptors.
37745 - Also let the controller set the __AllDirActionsPrivate config
37746 option if you want all directory fetches/publishes to happen via
37747 Tor (it assumes your controller bootstraps your circuits).
37750 Changes in version 0.1.0.17 - 2006-02-17
37751 o Crash bugfixes on 0.1.0.x:
37752 - When servers with a non-zero DirPort came out of hibernation,
37753 sometimes they would trigger an assert.
37755 o Other important bugfixes:
37756 - On platforms that don't have getrlimit (like Windows), we were
37757 artificially constraining ourselves to a max of 1024
37758 connections. Now just assume that we can handle as many as 15000
37759 connections. Hopefully this won't cause other problems.
37761 o Backported features:
37762 - When we're a server, a client asks for an old-style directory,
37763 and our write bucket is empty, don't give it to him. This way
37764 small servers can continue to serve the directory *sometimes*,
37765 without getting overloaded.
37766 - Whenever you get a 503 in response to a directory fetch, try
37767 once more. This will become important once servers start sending
37768 503's whenever they feel busy.
37769 - Fetch a new directory every 120 minutes, not every 40 minutes.
37770 Now that we have hundreds of thousands of users running the old
37771 directory algorithm, it's starting to hurt a lot.
37772 - Bump up the period for forcing a hidden service descriptor upload
37773 from 20 minutes to 1 hour.
37776 Changes in version 0.1.1.13-alpha - 2006-02-09
37777 o Crashes in 0.1.1.x:
37778 - When you tried to setconf ORPort via the controller, Tor would
37779 crash. So people using TorCP to become a server were sad.
37780 - Solve (I hope) the stack-smashing bug that we were seeing on fast
37781 servers. The problem appears to be something do with OpenSSL's
37782 random number generation, or how we call it, or something. Let me
37783 know if the crashes continue.
37784 - Turn crypto hardware acceleration off by default, until we find
37785 somebody smart who can test it for us. (It appears to produce
37786 seg faults in at least some cases.)
37787 - Fix a rare assert error when we've tried all intro points for
37788 a hidden service and we try fetching the service descriptor again:
37789 "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
37792 - Fix a major load balance bug: we were round-robining in 16 KB
37793 chunks, and servers with bandwidthrate of 20 KB, while downloading
37794 a 600 KB directory, would starve their other connections. Now we
37795 try to be a bit more fair.
37796 - Dir authorities and mirrors were never expiring the newest
37797 descriptor for each server, causing memory and directory bloat.
37798 - Fix memory-bloating and connection-bloating bug on servers: We
37799 were never closing any connection that had ever had a circuit on
37800 it, because we were checking conn->n_circuits == 0, yet we had a
37801 bug that let it go negative.
37802 - Make Tor work using squid as your http proxy again -- squid
37803 returns an error if you ask for a URL that's too long, and it uses
37804 a really generic error message. Plus, many people are behind a
37805 transparent squid so they don't even realize it.
37806 - On platforms that don't have getrlimit (like Windows), we were
37807 artificially constraining ourselves to a max of 1024
37808 connections. Now just assume that we can handle as many as 15000
37809 connections. Hopefully this won't cause other problems.
37810 - Add a new config option ExitPolicyRejectPrivate which defaults to
37811 1. This means all exit policies will begin with rejecting private
37812 addresses, unless the server operator explicitly turns it off.
37815 - Clients no longer download descriptors for non-running
37817 - Before we add new directory authorities, we should make it
37818 clear that only v1 authorities should receive/publish hidden
37819 service descriptors.
37822 - As soon as we've fetched some more directory info, immediately
37823 try to download more server descriptors. This way we don't have
37824 a 10 second pause during initial bootstrapping.
37825 - Remove even more loud log messages that the server operator can't
37827 - When we're running an obsolete or un-recommended version, make
37828 the log message more clear about what the problem is and what
37829 versions *are* still recommended.
37830 - Provide a more useful warn message when our onion queue gets full:
37831 the CPU is too slow or the exit policy is too liberal.
37832 - Don't warn when we receive a 503 from a dirserver/cache -- this
37833 will pave the way for them being able to refuse if they're busy.
37834 - When we fail to bind a listener, try to provide a more useful
37835 log message: e.g., "Is Tor already running?"
37836 - Adjust tor-spec to parameterize cell and key lengths. Now Ian
37837 Goldberg can prove things about our handshake protocol more
37839 - MaxConn has been obsolete for a while now. Document the ConnLimit
37840 config option, which is a *minimum* number of file descriptors
37841 that must be available else Tor refuses to start.
37842 - Apply Matt Ghali's --with-syslog-facility patch to ./configure
37843 if you log to syslog and want something other than LOG_DAEMON.
37844 - Make dirservers generate a separate "guard" flag to mean,
37845 "would make a good entry guard". Make clients parse it and vote
37846 on it. Not used by clients yet.
37847 - Implement --with-libevent-dir option to ./configure. Also, improve
37848 search techniques to find libevent, and use those for openssl too.
37849 - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
37850 - Only start testing reachability once we've established a
37851 circuit. This will make startup on dirservers less noisy.
37852 - Don't try to upload hidden service descriptors until we have
37853 established a circuit.
37854 - Fix the controller's "attachstream 0" command to treat conn like
37855 it just connected, doing address remapping, handling .exit and
37856 .onion idioms, and so on. Now we're more uniform in making sure
37857 that the controller hears about new and closing connections.
37860 Changes in version 0.1.1.12-alpha - 2006-01-11
37861 o Bugfixes on 0.1.1.x:
37862 - The fix to close duplicate server connections was closing all
37863 Tor client connections if they didn't establish a circuit
37864 quickly enough. Oops.
37865 - Fix minor memory issue (double-free) that happened on exit.
37867 o Bugfixes on 0.1.0.x:
37868 - Tor didn't warn when it failed to open a log file.
37871 Changes in version 0.1.1.11-alpha - 2006-01-10
37872 o Crashes in 0.1.1.x:
37873 - Include all the assert/crash fixes from 0.1.0.16.
37874 - If you start Tor and then quit very quickly, there were some
37875 races that tried to free things that weren't allocated yet.
37876 - Fix a rare memory stomp if you're running hidden services.
37877 - Fix segfault when specifying DirServer in config without nickname.
37878 - Fix a seg fault when you finish connecting to a server but at
37879 that moment you dump his server descriptor.
37880 - Extendcircuit and Attachstream controller commands would
37881 assert/crash if you don't give them enough arguments.
37882 - Fix an assert error when we're out of space in the connection_list
37883 and we try to post a hidden service descriptor (reported by weasel).
37884 - If you specify a relative torrc path and you set RunAsDaemon in
37885 your torrc, then it chdir()'s to the new directory. If you HUP,
37886 it tries to load the new torrc location, fails, and exits.
37887 The fix: no longer allow a relative path to torrc using -f.
37890 - Implement "entry guards": automatically choose a handful of entry
37891 nodes and stick with them for all circuits. Only pick new guards
37892 when the ones you have are unsuitable, and if the old guards
37893 become suitable again, switch back. This will increase security
37894 dramatically against certain end-point attacks. The EntryNodes
37895 config option now provides some hints about which entry guards you
37896 want to use most; and StrictEntryNodes means to only use those.
37897 - New directory logic: download by descriptor digest, not by
37898 fingerprint. Caches try to download all listed digests from
37899 authorities; clients try to download "best" digests from caches.
37900 This avoids partitioning and isolating attacks better.
37901 - Make the "stable" router flag in network-status be the median of
37902 the uptimes of running valid servers, and make clients pay
37903 attention to the network-status flags. Thus the cutoff adapts
37904 to the stability of the network as a whole, making IRC, IM, etc
37905 connections more reliable.
37908 - Tor servers with dynamic IP addresses were needing to wait 18
37909 hours before they could start doing reachability testing using
37910 the new IP address and ports. This is because they were using
37911 the internal descriptor to learn what to test, yet they were only
37912 rebuilding the descriptor once they decided they were reachable.
37913 - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
37914 to download certain server descriptors, throw them away, and then
37915 fetch them again after 30 minutes. Now mirrors throw away these
37916 server descriptors so clients can't get them.
37917 - We were leaving duplicate connections to other ORs open for a week,
37918 rather than closing them once we detect a duplicate. This only
37919 really affected authdirservers, but it affected them a lot.
37920 - Spread the authdirservers' reachability testing over the entire
37921 testing interval, so we don't try to do 500 TLS's at once every
37925 - If the network is down, and we try to connect to a conn because
37926 we have a circuit in mind, and we timeout (30 seconds) because the
37927 network never answers, we were expiring the circuit, but we weren't
37928 obsoleting the connection or telling the entry_guards functions.
37929 - Some Tor servers process billions of cells per day. These statistics
37930 need to be uint64_t's.
37931 - Check for integer overflows in more places, when adding elements
37932 to smartlists. This could possibly prevent a buffer overflow
37933 on malicious huge inputs. I don't see any, but I haven't looked
37935 - ReachableAddresses kept growing new "reject *:*" lines on every
37937 - When you "setconf log" via the controller, it should remove all
37938 logs. We were automatically adding back in a "log notice stdout".
37939 - Newly bootstrapped Tor networks couldn't establish hidden service
37940 circuits until they had nodes with high uptime. Be more tolerant.
37941 - We were marking servers down when they could not answer every piece
37942 of the directory request we sent them. This was far too harsh.
37943 - Fix the torify (tsocks) config file to not use Tor for localhost
37945 - Directory authorities now go to the proper authority when asking for
37946 a networkstatus, even when they want a compressed one.
37947 - Fix a harmless bug that was causing Tor servers to log
37948 "Got an end because of misc error, but we're not an AP. Closing."
37949 - Authorities were treating their own descriptor changes as cosmetic,
37950 meaning the descriptor available in the network-status and the
37951 descriptor that clients downloaded were different.
37952 - The OS X installer was adding a symlink for tor_resolve but
37953 the binary was called tor-resolve (reported by Thomas Hardly).
37954 - Workaround a problem with some http proxies where they refuse GET
37955 requests that specify "Content-Length: 0" (reported by Adrian).
37956 - Fix wrong log message when you add a "HiddenServiceNodes" config
37957 line without any HiddenServiceDir line (reported by Chris Thomas).
37960 - Write the TorVersion into the state file so we have a prayer of
37961 keeping forward and backward compatibility.
37962 - Revive the FascistFirewall config option rather than eliminating it:
37963 now it's a synonym for ReachableAddresses *:80,*:443.
37964 - Clients choose directory servers from the network status lists,
37965 not from their internal list of router descriptors. Now they can
37966 go to caches directly rather than needing to go to authorities
37968 - Directory authorities ignore router descriptors that have only
37969 cosmetic differences: do this for 0.1.0.x servers now too.
37970 - Add a new flag to network-status indicating whether the server
37971 can answer v2 directory requests too.
37972 - Authdirs now stop whining so loudly about bad descriptors that
37973 they fetch from other dirservers. So when there's a log complaint,
37974 it's for sure from a freshly uploaded descriptor.
37975 - Reduce memory requirements in our structs by changing the order
37977 - There used to be two ways to specify your listening ports in a
37978 server descriptor: on the "router" line and with a separate "ports"
37979 line. Remove support for the "ports" line.
37980 - New config option "AuthDirRejectUnlisted" for auth dirservers as
37981 a panic button: if we get flooded with unusable servers we can
37982 revert to only listing servers in the approved-routers file.
37983 - Auth dir servers can now mark a fingerprint as "!reject" or
37984 "!invalid" in the approved-routers file (as its nickname), to
37985 refuse descriptors outright or include them but marked as invalid.
37986 - Servers store bandwidth history across restarts/crashes.
37987 - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
37988 get a better idea of why their circuits failed. Not used yet.
37989 - Directory mirrors now cache up to 16 unrecognized network-status
37990 docs. Now we can add new authdirservers and they'll be cached too.
37991 - When picking a random directory, prefer non-authorities if any
37993 - New controller option "getinfo desc/all-recent" to fetch the
37994 latest server descriptor for every router that Tor knows about.
37997 Changes in version 0.1.0.16 - 2006-01-02
37998 o Crash bugfixes on 0.1.0.x:
37999 - On Windows, build with a libevent patch from "I-M Weasel" to avoid
38000 corrupting the heap, losing FDs, or crashing when we need to resize
38001 the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
38002 - It turns out sparc64 platforms crash on unaligned memory access
38003 too -- so detect and avoid this.
38004 - Handle truncated compressed data correctly (by detecting it and
38006 - Fix possible-but-unlikely free(NULL) in control.c.
38007 - When we were closing connections, there was a rare case that
38008 stomped on memory, triggering seg faults and asserts.
38009 - Avoid potential infinite recursion when building a descriptor. (We
38010 don't know that it ever happened, but better to fix it anyway.)
38011 - We were neglecting to unlink marked circuits from soon-to-close OR
38012 connections, which caused some rare scribbling on freed memory.
38013 - Fix a memory stomping race bug when closing the joining point of two
38014 rendezvous circuits.
38015 - Fix an assert in time parsing found by Steven Murdoch.
38017 o Other bugfixes on 0.1.0.x:
38018 - When we're doing reachability testing, provide more useful log
38019 messages so the operator knows what to expect.
38020 - Do not check whether DirPort is reachable when we are suppressing
38021 advertising it because of hibernation.
38022 - When building with -static or on Solaris, we sometimes needed -ldl.
38023 - When we're deciding whether a stream has enough circuits around
38024 that can handle it, count the freshly dirty ones and not the ones
38025 that are so dirty they won't be able to handle it.
38026 - When we're expiring old circuits, we had a logic error that caused
38027 us to close new rendezvous circuits rather than old ones.
38028 - Give a more helpful log message when you try to change ORPort via
38029 the controller: you should upgrade Tor if you want that to work.
38030 - We were failing to parse Tor versions that start with "Tor ".
38031 - Tolerate faulty streams better: when a stream fails for reason
38032 exitpolicy, stop assuming that the router is lying about his exit
38033 policy. When a stream fails for reason misc, allow it to retry just
38034 as if it was resolvefailed. When a stream has failed three times,
38035 reset its failure count so we can try again and get all three tries.
38038 Changes in version 0.1.1.10-alpha - 2005-12-11
38039 o Correctness bugfixes on 0.1.0.x:
38040 - On Windows, build with a libevent patch from "I-M Weasel" to avoid
38041 corrupting the heap, losing FDs, or crashing when we need to resize
38042 the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
38043 - Stop doing the complex voodoo overkill checking for insecure
38044 Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
38045 - When we were closing connections, there was a rare case that
38046 stomped on memory, triggering seg faults and asserts.
38047 - We were neglecting to unlink marked circuits from soon-to-close OR
38048 connections, which caused some rare scribbling on freed memory.
38049 - When we're deciding whether a stream has enough circuits around
38050 that can handle it, count the freshly dirty ones and not the ones
38051 that are so dirty they won't be able to handle it.
38052 - Recover better from TCP connections to Tor servers that are
38053 broken but don't tell you (it happens!); and rotate TLS
38054 connections once a week.
38055 - When we're expiring old circuits, we had a logic error that caused
38056 us to close new rendezvous circuits rather than old ones.
38057 - Fix a scary-looking but apparently harmless bug where circuits
38058 would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
38059 servers, and never switch to state CIRCUIT_STATE_OPEN.
38060 - When building with -static or on Solaris, we sometimes needed to
38062 - Give a useful message when people run Tor as the wrong user,
38063 rather than telling them to start chowning random directories.
38064 - We were failing to inform the controller about new .onion streams.
38066 o Security bugfixes on 0.1.0.x:
38067 - Refuse server descriptors if the fingerprint line doesn't match
38068 the included identity key. Tor doesn't care, but other apps (and
38069 humans) might actually be trusting the fingerprint line.
38070 - We used to kill the circuit when we receive a relay command we
38071 don't recognize. Now we just drop it.
38072 - Start obeying our firewall options more rigorously:
38073 . If we can't get to a dirserver directly, try going via Tor.
38074 . Don't ever try to connect (as a client) to a place our
38075 firewall options forbid.
38076 . If we specify a proxy and also firewall options, obey the
38077 firewall options even when we're using the proxy: some proxies
38078 can only proxy to certain destinations.
38079 - Fix a bug found by Lasse Overlier: when we were making internal
38080 circuits (intended to be cannibalized later for rendezvous and
38081 introduction circuits), we were picking them so that they had
38082 useful exit nodes. There was no need for this, and it actually
38083 aids some statistical attacks.
38084 - Start treating internal circuits and exit circuits separately.
38085 It's important to keep them separate because internal circuits
38086 have their last hops picked like middle hops, rather than like
38087 exit hops. So exiting on them will break the user's expectations.
38089 o Bugfixes on 0.1.1.x:
38090 - Take out the mis-feature where we tried to detect IP address
38091 flapping for people with DynDNS, and chose not to upload a new
38092 server descriptor sometimes.
38093 - Try to be compatible with OpenSSL 0.9.6 again.
38094 - Log fix: when the controller is logging about .onion addresses,
38095 sometimes it didn't include the ".onion" part of the address.
38096 - Don't try to modify options->DirServers internally -- if the
38097 user didn't specify any, just add the default ones directly to
38098 the trusted dirserver list. This fixes a bug where people running
38099 controllers would use SETCONF on some totally unrelated config
38100 option, and Tor would start yelling at them about changing their
38102 - Let the controller's redirectstream command specify a port, in
38103 case the controller wants to change that too.
38104 - When we requested a pile of server descriptors, we sometimes
38105 accidentally launched a duplicate request for the first one.
38106 - Bugfix for trackhostexits: write down the fingerprint of the
38107 chosen exit, not its nickname, because the chosen exit might not
38109 - When parsing foo.exit, if foo is unknown, and we are leaving
38110 circuits unattached, set the chosen_exit field and leave the
38111 address empty. This matters because controllers got confused
38113 - Directory authorities no longer try to download server
38114 descriptors that they know they will reject.
38116 o Features and updates:
38117 - Replace balanced trees with hash tables: this should make stuff
38118 significantly faster.
38119 - Resume using the AES counter-mode implementation that we ship,
38120 rather than OpenSSL's. Ours is significantly faster.
38121 - Many other CPU and memory improvements.
38122 - Add a new config option FastFirstHopPK (on by default) so clients
38123 do a trivial crypto handshake for their first hop, since TLS has
38124 already taken care of confidentiality and authentication.
38125 - Add a new config option TestSocks so people can see if their
38126 applications are using socks4, socks4a, socks5-with-ip, or
38127 socks5-with-hostname. This way they don't have to keep mucking
38128 with tcpdump and wondering if something got cached somewhere.
38129 - Warn when listening on a public address for socks. I suspect a
38130 lot of people are setting themselves up as open socks proxies,
38131 and they have no idea that jerks on the Internet are using them,
38132 since they simply proxy the traffic into the Tor network.
38133 - Add "private:*" as an alias in configuration for policies. Now
38134 you can simplify your exit policy rather than needing to list
38135 every single internal or nonroutable network space.
38136 - Add a new controller event type that allows controllers to get
38137 all server descriptors that were uploaded to a router in its role
38138 as authoritative dirserver.
38139 - Start shipping socks-extensions.txt, tor-doc-unix.html,
38140 tor-doc-server.html, and stylesheet.css in the tarball.
38141 - Stop shipping tor-doc.html in the tarball.
38144 Changes in version 0.1.1.9-alpha - 2005-11-15
38145 o Usability improvements:
38146 - Start calling it FooListenAddress rather than FooBindAddress,
38147 since few of our users know what it means to bind an address
38149 - Reduce clutter in server logs. We're going to try to make
38150 them actually usable now. New config option ProtocolWarnings that
38151 lets you hear about how _other Tors_ are breaking the protocol. Off
38153 - Divide log messages into logging domains. Once we put some sort
38154 of interface on this, it will let people looking at more verbose
38155 log levels specify the topics they want to hear more about.
38156 - Make directory servers return better http 404 error messages
38157 instead of a generic "Servers unavailable".
38158 - Check for even more Windows version flags when writing the platform
38159 string in server descriptors, and note any we don't recognize.
38160 - Clean up more of the OpenSSL memory when exiting, so we can detect
38161 memory leaks better.
38162 - Make directory authorities be non-versioning, non-naming by
38163 default. Now we can add new directory servers without requiring
38164 their operators to pay close attention.
38165 - When logging via syslog, include the pid whenever we provide
38166 a log entry. Suggested by Todd Fries.
38168 o Performance improvements:
38169 - Directory servers now silently throw away new descriptors that
38170 haven't changed much if the timestamps are similar. We do this to
38171 tolerate older Tor servers that upload a new descriptor every 15
38172 minutes. (It seemed like a good idea at the time.)
38173 - Inline bottleneck smartlist functions; use fast versions by default.
38174 - Add a "Map from digest to void*" abstraction digestmap_t so we
38175 can do less hex encoding/decoding. Use it in router_get_by_digest()
38176 to resolve a performance bottleneck.
38177 - Allow tor_gzip_uncompress to extract as much as possible from
38178 truncated compressed data. Try to extract as many
38179 descriptors as possible from truncated http responses (when
38180 DIR_PURPOSE_FETCH_ROUTERDESC).
38181 - Make circ->onionskin a pointer, not a static array. moria2 was using
38182 125000 circuit_t's after it had been up for a few weeks, which
38183 translates to 20+ megs of wasted space.
38184 - The private half of our EDH handshake keys are now chosen out
38185 of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
38187 o Security improvements:
38188 - Start making directory caches retain old routerinfos, so soon
38189 clients can start asking by digest of descriptor rather than by
38190 fingerprint of server.
38191 - Add half our entropy from RAND_poll in OpenSSL. This knows how
38192 to use egd (if present), openbsd weirdness (if present), vms/os2
38193 weirdness (if we ever port there), and more in the future.
38195 o Bugfixes on 0.1.0.x:
38196 - Do round-robin writes of at most 16 kB per write. This might be
38197 more fair on loaded Tor servers, and it might resolve our Windows
38198 crash bug. It might also slow things down.
38199 - Our TLS handshakes were generating a single public/private
38200 keypair for the TLS context, rather than making a new one for
38201 each new connections. Oops. (But we were still rotating them
38202 periodically, so it's not so bad.)
38203 - When we were cannibalizing a circuit with a particular exit
38204 node in mind, we weren't checking to see if that exit node was
38205 already present earlier in the circuit. Oops.
38206 - When a Tor server's IP changes (e.g. from a dyndns address),
38207 upload a new descriptor so clients will learn too.
38208 - Really busy servers were keeping enough circuits open on stable
38209 connections that they were wrapping around the circuit_id
38210 space. (It's only two bytes.) This exposed a bug where we would
38211 feel free to reuse a circuit_id even if it still exists but has
38212 been marked for close. Try to fix this bug. Some bug remains.
38213 - If we would close a stream early (e.g. it asks for a .exit that
38214 we know would refuse it) but the LeaveStreamsUnattached config
38215 option is set by the controller, then don't close it.
38217 o Bugfixes on 0.1.1.8-alpha:
38218 - Fix a big pile of memory leaks, some of them serious.
38219 - Do not try to download a routerdesc if we would immediately reject
38221 - Resume inserting a newline between all router descriptors when
38222 generating (old style) signed directories, since our spec says
38224 - When providing content-type application/octet-stream for
38225 server descriptors using .z, we were leaving out the
38226 content-encoding header. Oops. (Everything tolerated this just
38227 fine, but that doesn't mean we need to be part of the problem.)
38228 - Fix a potential seg fault in getconf and getinfo using version 1
38229 of the controller protocol.
38230 - Avoid crash: do not check whether DirPort is reachable when we
38231 are suppressing it because of hibernation.
38232 - Make --hash-password not crash on exit.
38235 Changes in version 0.1.1.8-alpha - 2005-10-07
38236 o New features (major):
38237 - Clients don't download or use the directory anymore. Now they
38238 download and use network-statuses from the trusted dirservers,
38239 and fetch individual server descriptors as needed from mirrors.
38240 See dir-spec.txt for all the gory details.
38241 - Be more conservative about whether to advertise our DirPort.
38242 The main change is to not advertise if we're running at capacity
38243 and either a) we could hibernate or b) our capacity is low and
38244 we're using a default DirPort.
38245 - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
38247 o New features (minor):
38248 - Try to be smart about when to retry network-status and
38249 server-descriptor fetches. Still needs some tuning.
38250 - Stop parsing, storing, or using running-routers output (but
38251 mirrors still cache and serve it).
38252 - Consider a threshold of versioning dirservers (dirservers who have
38253 an opinion about which Tor versions are still recommended) before
38254 deciding whether to warn the user that he's obsolete.
38255 - Dirservers can now reject/invalidate by key and IP, with the
38256 config options "AuthDirInvalid" and "AuthDirReject". This is
38257 useful since currently we automatically list servers as running
38258 and usable even if we know they're jerks.
38259 - Provide dire warnings to any users who set DirServer; move it out
38260 of torrc.sample and into torrc.complete.
38261 - Add MyFamily to torrc.sample in the server section.
38262 - Add nicknames to the DirServer line, so we can refer to them
38263 without requiring all our users to memorize their IP addresses.
38264 - When we get an EOF or a timeout on a directory connection, note
38265 how many bytes of serverdesc we are dropping. This will help
38266 us determine whether it is smart to parse incomplete serverdesc
38268 - Add a new function to "change pseudonyms" -- that is, to stop
38269 using any currently-dirty circuits for new streams, so we don't
38270 link new actions to old actions. Currently it's only called on
38271 HUP (or SIGNAL RELOAD).
38272 - On sighup, if UseHelperNodes changed to 1, use new circuits.
38273 - Start using RAND_bytes rather than RAND_pseudo_bytes from
38274 OpenSSL. Also, reseed our entropy every hour, not just at
38275 startup. And entropy in 512-bit chunks, not 160-bit chunks.
38277 o Fixes on 0.1.1.7-alpha:
38278 - Nobody ever implemented EVENT_ADDRMAP for control protocol
38279 version 0, so don't let version 0 controllers ask for it.
38280 - If you requested something with too many newlines via the
38281 v1 controller protocol, you could crash tor.
38282 - Fix a number of memory leaks, including some pretty serious ones.
38283 - Re-enable DirPort testing again, so Tor servers will be willing
38284 to advertise their DirPort if it's reachable.
38285 - On TLS handshake, only check the other router's nickname against
38286 its expected nickname if is_named is set.
38288 o Fixes forward-ported from 0.1.0.15:
38289 - Don't crash when we don't have any spare file descriptors and we
38290 try to spawn a dns or cpu worker.
38291 - Make the numbers in read-history and write-history into uint64s,
38292 so they don't overflow and publish negatives in the descriptor.
38294 o Fixes on 0.1.0.x:
38295 - For the OS X package's modified privoxy config file, comment
38296 out the "logfile" line so we don't log everything passed
38298 - We were whining about using socks4 or socks5-with-local-lookup
38299 even when it's an IP in the "virtual" range we designed exactly
38301 - We were leaking some memory every time the client changes IPs.
38302 - Never call free() on tor_malloc()d memory. This will help us
38303 use dmalloc to detect memory leaks.
38304 - Check for named servers when looking them up by nickname;
38305 warn when we'recalling a non-named server by its nickname;
38306 don't warn twice about the same name.
38307 - Try to list MyFamily elements by key, not by nickname, and warn
38308 if we've not heard of the server.
38309 - Make windows platform detection (uname equivalent) smarter.
38310 - It turns out sparc64 doesn't like unaligned access either.
38313 Changes in version 0.1.0.15 - 2005-09-23
38314 o Bugfixes on 0.1.0.x:
38315 - Reject ports 465 and 587 (spam targets) in default exit policy.
38316 - Don't crash when we don't have any spare file descriptors and we
38317 try to spawn a dns or cpu worker.
38318 - Get rid of IgnoreVersion undocumented config option, and make us
38319 only warn, never exit, when we're running an obsolete version.
38320 - Don't try to print a null string when your server finds itself to
38321 be unreachable and the Address config option is empty.
38322 - Make the numbers in read-history and write-history into uint64s,
38323 so they don't overflow and publish negatives in the descriptor.
38324 - Fix a minor memory leak in smartlist_string_remove().
38325 - We were only allowing ourselves to upload a server descriptor at
38326 most every 20 minutes, even if it changed earlier than that.
38327 - Clean up log entries that pointed to old URLs.
38330 Changes in version 0.1.1.7-alpha - 2005-09-14
38331 o Fixes on 0.1.1.6-alpha:
38332 - Exit servers were crashing when people asked them to make a
38333 connection to an address not in their exit policy.
38334 - Looking up a non-existent stream for a v1 control connection would
38336 - Fix a seg fault if we ask a dirserver for a descriptor by
38337 fingerprint but he doesn't know about him.
38338 - SETCONF was appending items to linelists, not clearing them.
38339 - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
38340 out and refuse the setconf if it would fail.
38341 - Downgrade the dirserver log messages when whining about
38345 - Add Peter Palfrader's check-tor script to tor/contrib/
38346 It lets you easily check whether a given server (referenced by
38347 nickname) is reachable by you.
38348 - Numerous changes to move towards client-side v2 directories. Not
38351 o Fixes on 0.1.0.x:
38352 - If the user gave tor an odd number of command-line arguments,
38353 we were silently ignoring the last one. Now we complain and fail.
38354 [This wins the oldest-bug prize -- this bug has been present since
38355 November 2002, as released in Tor 0.0.0.]
38356 - Do not use unaligned memory access on alpha, mips, or mipsel.
38357 It *works*, but is very slow, so we treat them as if it doesn't.
38358 - Retry directory requests if we fail to get an answer we like
38359 from a given dirserver (we were retrying before, but only if
38360 we fail to connect).
38361 - When writing the RecommendedVersions line, sort them first.
38362 - When the client asked for a rendezvous port that the hidden
38363 service didn't want to provide, we were sending an IP address
38364 back along with the end cell. Fortunately, it was zero. But stop
38366 - Correct "your server is reachable" log entries to indicate that
38367 it was self-testing that told us so.
38370 Changes in version 0.1.1.6-alpha - 2005-09-09
38371 o Fixes on 0.1.1.5-alpha:
38372 - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
38373 - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
38374 - Fix bug with tor_memmem finding a match at the end of the string.
38375 - Make unit tests run without segfaulting.
38376 - Resolve some solaris x86 compile warnings.
38377 - Handle duplicate lines in approved-routers files without warning.
38378 - Fix bug where as soon as a server refused any requests due to his
38379 exit policy (e.g. when we ask for localhost and he tells us that's
38380 127.0.0.1 and he won't do it), we decided he wasn't obeying his
38381 exit policy using him for any exits.
38382 - Only do openssl hardware accelerator stuff if openssl version is
38385 o New controller features/fixes:
38386 - Add a "RESETCONF" command so you can set config options like
38387 AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
38388 a config option in the torrc with no value, then it clears it
38389 entirely (rather than setting it to its default).
38390 - Add a "GETINFO config-file" to tell us where torrc is.
38391 - Avoid sending blank lines when GETINFO replies should be empty.
38392 - Add a QUIT command for the controller (for using it manually).
38393 - Fix a bug in SAVECONF that was adding default dirservers and
38394 other redundant entries to the torrc file.
38396 o Start on the new directory design:
38397 - Generate, publish, cache, serve new network-status format.
38398 - Publish individual descriptors (by fingerprint, by "all", and by
38400 - Publish client and server recommended versions separately.
38401 - Allow tor_gzip_uncompress() to handle multiple concatenated
38402 compressed strings. Serve compressed groups of router
38403 descriptors. The compression logic here could be more
38405 - Distinguish v1 authorities (all currently trusted directories)
38406 from v2 authorities (all trusted directories).
38407 - Change DirServers config line to note which dirs are v1 authorities.
38408 - Add configuration option "V1AuthoritativeDirectory 1" which
38409 moria1, moria2, and tor26 should set.
38410 - Remove option when getting directory cache to see whether they
38411 support running-routers; they all do now. Replace it with one
38412 to see whether caches support v2 stuff.
38415 - Dirservers now do their own external reachability testing of each
38416 Tor server, and only list them as running if they've been found to
38417 be reachable. We also send back warnings to the server's logs if
38418 it uploads a descriptor that we already believe is unreachable.
38419 - Implement exit enclaves: if we know an IP address for the
38420 destination, and there's a running Tor server at that address
38421 which allows exit to the destination, then extend the circuit to
38422 that exit first. This provides end-to-end encryption and end-to-end
38423 authentication. Also, if the user wants a .exit address or enclave,
38424 use 4 hops rather than 3, and cannibalize a general circ for it
38426 - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
38427 controller. Also, rotate dns and cpu workers if the controller
38428 changes options that will affect them; and initialize the dns
38429 worker cache tree whether or not we start out as a server.
38430 - Only upload a new server descriptor when options change, 18
38431 hours have passed, uptime is reset, or bandwidth changes a lot.
38432 - Check [X-]Forwarded-For headers in HTTP requests when generating
38433 log messages. This lets people run dirservers (and caches) behind
38434 Apache but still know which IP addresses are causing warnings.
38436 o Config option changes:
38437 - Replace (Fascist)Firewall* config options with a new
38438 ReachableAddresses option that understands address policies.
38439 For example, "ReachableAddresses *:80,*:443"
38440 - Get rid of IgnoreVersion undocumented config option, and make us
38441 only warn, never exit, when we're running an obsolete version.
38442 - Make MonthlyAccountingStart config option truly obsolete now.
38444 o Fixes on 0.1.0.x:
38445 - Reject ports 465 and 587 in the default exit policy, since
38446 people have started using them for spam too.
38447 - It turns out we couldn't bootstrap a network since we added
38448 reachability detection in 0.1.0.1-rc. Good thing the Tor network
38449 has never gone down. Add an AssumeReachable config option to let
38450 servers and dirservers bootstrap. When we're trying to build a
38451 high-uptime or high-bandwidth circuit but there aren't enough
38452 suitable servers, try being less picky rather than simply failing.
38453 - Our logic to decide if the OR we connected to was the right guy
38454 was brittle and maybe open to a mitm for unverified routers.
38455 - We weren't cannibalizing circuits correctly for
38456 CIRCUIT_PURPOSE_C_ESTABLISH_REND and
38457 CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
38458 build those from scratch. This should make hidden services faster.
38459 - Predict required circuits better, with an eye toward making hidden
38460 services faster on the service end.
38461 - Retry streams if the exit node sends back a 'misc' failure. This
38462 should result in fewer random failures. Also, after failing
38463 from resolve failed or misc, reset the num failures, so we give
38464 it a fair shake next time we try.
38465 - Clean up the rendezvous warn log msgs, and downgrade some to info.
38466 - Reduce severity on logs about dns worker spawning and culling.
38467 - When we're shutting down and we do something like try to post a
38468 server descriptor or rendezvous descriptor, don't complain that
38469 we seem to be unreachable. Of course we are, we're shutting down.
38470 - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
38471 We don't use them yet, but maybe one day our DNS resolver will be
38472 able to discover them.
38473 - Make ContactInfo mandatory for authoritative directory servers.
38474 - Require server descriptors to list IPv4 addresses -- hostnames
38475 are no longer allowed. This also fixes some potential security
38476 problems with people providing hostnames as their address and then
38477 preferentially resolving them to partition users.
38478 - Change log line for unreachability to explicitly suggest /etc/hosts
38479 as the culprit. Also make it clearer what IP address and ports we're
38480 testing for reachability.
38481 - Put quotes around user-supplied strings when logging so users are
38482 more likely to realize if they add bad characters (like quotes)
38484 - Let auth dir servers start without specifying an Address config
38486 - Make unit tests (and other invocations that aren't the real Tor)
38487 run without launching listeners, creating subdirectories, and so on.
38490 Changes in version 0.1.1.5-alpha - 2005-08-08
38491 o Bugfixes included in 0.1.0.14.
38493 o Bugfixes on 0.1.0.x:
38494 - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
38495 torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
38496 it would silently using ignore the 6668.
38499 Changes in version 0.1.0.14 - 2005-08-08
38500 o Bugfixes on 0.1.0.x:
38501 - Fix the other half of the bug with crypto handshakes
38503 - Fix an assert trigger if you send a 'signal term' via the
38504 controller when it's listening for 'event info' messages.
38507 Changes in version 0.1.1.4-alpha - 2005-08-04
38508 o Bugfixes included in 0.1.0.13.
38511 - Improve tor_gettimeofday() granularity on windows.
38512 - Make clients regenerate their keys when their IP address changes.
38513 - Implement some more GETINFO goodness: expose helper nodes, config
38514 options, getinfo keys.
38517 Changes in version 0.1.0.13 - 2005-08-04
38518 o Bugfixes on 0.1.0.x:
38519 - Fix a critical bug in the security of our crypto handshakes.
38520 - Fix a size_t underflow in smartlist_join_strings2() that made
38521 it do bad things when you hand it an empty smartlist.
38522 - Fix Windows installer to ship Tor license (thanks to Aphex for
38523 pointing out this oversight) and put a link to the doc directory
38525 - Explicitly set no-unaligned-access for sparc: it turns out the
38526 new gcc's let you compile broken code, but that doesn't make it
38530 Changes in version 0.1.1.3-alpha - 2005-07-23
38531 o Bugfixes on 0.1.1.2-alpha:
38532 - Fix a bug in handling the controller's "post descriptor"
38534 - Fix several bugs in handling the controller's "extend circuit"
38536 - Fix a bug in handling the controller's "stream status" event.
38537 - Fix an assert failure if we have a controller listening for
38538 circuit events and we go offline.
38539 - Re-allow hidden service descriptors to publish 0 intro points.
38540 - Fix a crash when generating your hidden service descriptor if
38541 you don't have enough intro points already.
38543 o New features on 0.1.1.2-alpha:
38544 - New controller function "getinfo accounting", to ask how
38545 many bytes we've used in this time period.
38546 - Experimental support for helper nodes: a lot of the risk from
38547 a small static adversary comes because users pick new random
38548 nodes every time they rebuild a circuit. Now users will try to
38549 stick to the same small set of entry nodes if they can. Not
38550 enabled by default yet.
38552 o Bugfixes on 0.1.0.12:
38553 - If you're an auth dir server, always publish your dirport,
38554 even if you haven't yet found yourself to be reachable.
38555 - Fix a size_t underflow in smartlist_join_strings2() that made
38556 it do bad things when you hand it an empty smartlist.
38559 Changes in version 0.1.0.12 - 2005-07-18
38560 o New directory servers:
38561 - tor26 has changed IP address.
38563 o Bugfixes on 0.1.0.x:
38564 - Fix a possible double-free in tor_gzip_uncompress().
38565 - When --disable-threads is set, do not search for or link against
38566 pthreads libraries.
38567 - Don't trigger an assert if an authoritative directory server
38568 claims its dirport is 0.
38569 - Fix bug with removing Tor as an NT service: some people were
38570 getting "The service did not return an error." Thanks to Matt
38574 Changes in version 0.1.1.2-alpha - 2005-07-15
38575 o New directory servers:
38576 - tor26 has changed IP address.
38578 o Bugfixes on 0.1.0.x, crashes/leaks:
38579 - Port the servers-not-obeying-their-exit-policies fix from
38581 - Fix an fd leak in start_daemon().
38582 - On Windows, you can't always reopen a port right after you've
38583 closed it. So change retry_listeners() to only close and re-open
38584 ports that have changed.
38585 - Fix a possible double-free in tor_gzip_uncompress().
38587 o Bugfixes on 0.1.0.x, usability:
38588 - When tor_socketpair() fails in Windows, give a reasonable
38589 Windows-style errno back.
38590 - Let people type "tor --install" as well as "tor -install" when
38592 want to make it an NT service.
38593 - NT service patch from Matt Edman to improve error messages.
38594 - When the controller asks for a config option with an abbreviated
38595 name, give the full name in our response.
38596 - Correct the man page entry on TrackHostExitsExpire.
38597 - Looks like we were never delivering deflated (i.e. compressed)
38598 running-routers lists, even when asked. Oops.
38599 - When --disable-threads is set, do not search for or link against
38600 pthreads libraries.
38602 o Bugfixes on 0.1.1.x:
38603 - Fix a seg fault with autodetecting which controller version is
38607 - New hidden service descriptor format: put a version in it, and
38608 let people specify introduction/rendezvous points that aren't
38609 in "the directory" (which is subjective anyway).
38610 - Allow the DEBUG controller event to work again. Mark certain log
38611 entries as "don't tell this to controllers", so we avoid cycles.
38614 Changes in version 0.1.0.11 - 2005-06-30
38615 o Bugfixes on 0.1.0.x:
38616 - Fix major security bug: servers were disregarding their
38617 exit policies if clients behaved unexpectedly.
38618 - Make OS X init script check for missing argument, so we don't
38619 confuse users who invoke it incorrectly.
38620 - Fix a seg fault in "tor --hash-password foo".
38621 - The MAPADDRESS control command was broken.
38624 Changes in version 0.1.1.1-alpha - 2005-06-29
38626 - Make OS X init script check for missing argument, so we don't
38627 confuse users who invoke it incorrectly.
38628 - Fix a seg fault in "tor --hash-password foo".
38629 - Fix a possible way to DoS dirservers.
38630 - When we complain that your exit policy implicitly allows local or
38631 private address spaces, name them explicitly so operators can
38633 - Make the log message less scary when all the dirservers are
38634 temporarily unreachable.
38635 - We were printing the number of idle dns workers incorrectly when
38639 - Revised controller protocol (version 1) that uses ascii rather
38640 than binary. Add supporting libraries in python and java so you
38641 can use the controller from your applications without caring how
38642 our protocol works.
38643 - Spiffy new support for crypto hardware accelerators. Can somebody
38647 Changes in version 0.0.9.10 - 2005-06-16
38648 o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
38649 - Refuse relay cells that claim to have a length larger than the
38650 maximum allowed. This prevents a potential attack that could read
38651 arbitrary memory (e.g. keys) from an exit server's process
38655 Changes in version 0.1.0.10 - 2005-06-14
38656 o Allow a few EINVALs from libevent before dying. Warn on kqueue with
38657 libevent before 1.1a.
38660 Changes in version 0.1.0.9-rc - 2005-06-09
38662 - Reset buf->highwater every time buf_shrink() is called, not just on
38663 a successful shrink. This was causing significant memory bloat.
38664 - Fix buffer overflow when checking hashed passwords.
38665 - Security fix: if seeding the RNG on Win32 fails, quit.
38666 - Allow seeding the RNG on Win32 even when you're not running as
38668 - Disable threading on Solaris too. Something is wonky with it,
38669 cpuworkers, and reentrant libs.
38670 - Reenable the part of the code that tries to flush as soon as an
38671 OR outbuf has a full TLS record available. Perhaps this will make
38672 OR outbufs not grow as huge except in rare cases, thus saving lots
38673 of CPU time plus memory.
38674 - Reject malformed .onion addresses rather then passing them on as
38675 normal web requests.
38676 - Adapt patch from Adam Langley: fix possible memory leak in
38677 tor_lookup_hostname().
38678 - Initialize libevent later in the startup process, so the logs are
38679 already established by the time we start logging libevent warns.
38680 - Use correct errno on win32 if libevent fails.
38681 - Check and warn about known-bad/slow libevent versions.
38682 - Pay more attention to the ClientOnly config option.
38683 - Have torctl.in/tor.sh.in check for location of su binary (needed
38685 - Correct/add man page entries for LongLivedPorts, ExitPolicy,
38686 KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
38687 HttpProxyAuthenticator
38688 - Stop warning about sigpipes in the logs. We're going to
38689 pretend that getting these occasionally is normal and fine.
38690 - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
38692 installer screens; and don't put stuff into StartupItems unless
38693 the user asks you to.
38694 - Require servers that use the default dirservers to have public IP
38695 addresses. We have too many servers that are configured with private
38696 IPs and their admins never notice the log entries complaining that
38697 their descriptors are being rejected.
38698 - Add OSX uninstall instructions. An actual uninstall script will
38702 Changes in version 0.1.0.8-rc - 2005-05-23
38704 - It turns out that kqueue on OS X 10.3.9 was causing kernel
38705 panics. Disable kqueue on all OS X Tors.
38706 - Fix RPM: remove duplicate line accidentally added to the rpm
38708 - Disable threads on openbsd too, since its gethostaddr is not
38710 - Tolerate libevent 0.8 since it still works, even though it's
38712 - Enable building on Red Hat 9.0 again.
38713 - Allow the middle hop of the testing circuit to be running any
38714 version, now that most of them have the bugfix to let them connect
38715 to unknown servers. This will allow reachability testing to work
38716 even when 0.0.9.7-0.0.9.9 become obsolete.
38717 - Handle relay cells with rh.length too large. This prevents
38718 a potential attack that could read arbitrary memory (maybe even
38719 keys) from the exit server's process.
38720 - We screwed up the dirport reachability testing when we don't yet
38721 have a cached version of the directory. Hopefully now fixed.
38722 - Clean up router_load_single_router() (used by the controller),
38723 so it doesn't seg fault on error.
38724 - Fix a minor memory leak when somebody establishes an introduction
38725 point at your Tor server.
38726 - If a socks connection ends because read fails, don't warn that
38727 you're not sending a socks reply back.
38730 - Add HttpProxyAuthenticator config option too, that works like
38731 the HttpsProxyAuthenticator config option.
38732 - Encode hashed controller passwords in hex instead of base64,
38733 to make it easier to write controllers.
38736 Changes in version 0.1.0.7-rc - 2005-05-17
38738 - Fix a bug in the OS X package installer that prevented it from
38739 installing on Tiger.
38740 - Fix a script bug in the OS X package installer that made it
38741 complain during installation.
38742 - Find libevent even if it's hiding in /usr/local/ and your
38743 CFLAGS and LDFLAGS don't tell you to look there.
38744 - Be able to link with libevent as a shared library (the default
38745 after 1.0d), even if it's hiding in /usr/local/lib and even
38746 if you haven't added /usr/local/lib to your /etc/ld.so.conf,
38747 assuming you're running gcc. Otherwise fail and give a useful
38749 - Fix a bug in the RPM packager: set home directory for _tor to
38750 something more reasonable when first installing.
38751 - Free a minor amount of memory that is still reachable on exit.
38754 Changes in version 0.1.0.6-rc - 2005-05-14
38756 - Implement --disable-threads configure option. Disable threads on
38757 netbsd by default, because it appears to have no reentrant resolver
38759 - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
38760 release (1.1) detects and disables kqueue if it's broken.
38761 - Append default exit policy before checking for implicit internal
38762 addresses. Now we don't log a bunch of complaints on startup
38763 when using the default exit policy.
38764 - Some people were putting "Address " in their torrc, and they had
38765 a buggy resolver that resolved " " to 0.0.0.0. Oops.
38766 - If DataDir is ~/.tor, and that expands to /.tor, then default to
38767 LOCALSTATEDIR/tor instead.
38768 - Fix fragmented-message bug in TorControl.py.
38769 - Resolve a minor bug which would prevent unreachable dirports
38770 from getting suppressed in the published descriptor.
38771 - When the controller gave us a new descriptor, we weren't resolving
38772 it immediately, so Tor would think its address was 0.0.0.0 until
38773 we fetched a new directory.
38774 - Fix an uppercase/lowercase case error in suppressing a bogus
38775 libevent warning on some Linuxes.
38778 - Begin scrubbing sensitive strings from logs by default. Turn off
38779 the config option SafeLogging if you need to do debugging.
38780 - Switch to a new buffer management algorithm, which tries to avoid
38781 reallocing and copying quite as much. In first tests it looks like
38782 it uses *more* memory on average, but less cpu.
38783 - First cut at support for "create-fast" cells. Clients can use
38784 these when extending to their first hop, since the TLS already
38785 provides forward secrecy and authentication. Not enabled on
38787 - When dirservers refuse a router descriptor, we now log its
38788 contactinfo, platform, and the poster's IP address.
38789 - Call tor_free_all instead of connections_free_all after forking, to
38790 save memory on systems that need to fork.
38791 - Whine at you if you're a server and you don't set your contactinfo.
38792 - Implement --verify-config command-line option to check if your torrc
38793 is valid without actually launching Tor.
38794 - Rewrite address "serifos.exit" to "localhost.serifos.exit"
38795 rather than just rejecting it.
38798 Changes in version 0.1.0.5-rc - 2005-04-27
38800 - Stop trying to print a null pointer if an OR conn fails because
38801 we didn't like its cert.
38803 - Switch our internal buffers implementation to use a ring buffer,
38804 to hopefully improve performance for fast servers a lot.
38805 - Add HttpsProxyAuthenticator support (basic auth only), based
38806 on patch from Adam Langley.
38807 - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
38808 the fast servers that have been joining lately.
38809 - Give hidden service accesses extra time on the first attempt,
38810 since 60 seconds is often only barely enough. This might improve
38812 - Improve performance for dirservers: stop re-parsing the whole
38813 directory every time you regenerate it.
38814 - Add more debugging info to help us find the weird dns freebsd
38815 pthreads bug; cleaner debug messages to help track future issues.
38818 Changes in version 0.0.9.9 - 2005-04-23
38819 o Bugfixes on 0.0.9.x:
38820 - If unofficial Tor clients connect and send weird TLS certs, our
38821 Tor server triggers an assert. This release contains a minimal
38822 backport from the broader fix that we put into 0.1.0.4-rc.
38825 Changes in version 0.1.0.4-rc - 2005-04-23
38827 - If unofficial Tor clients connect and send weird TLS certs, our
38828 Tor server triggers an assert. Stop asserting, and start handling
38829 TLS errors better in other situations too.
38830 - When the controller asks us to tell it about all the debug-level
38831 logs, it turns out we were generating debug-level logs while
38832 telling it about them, which turns into a bad loop. Now keep
38833 track of whether you're sending a debug log to the controller,
38834 and don't log when you are.
38835 - Fix the "postdescriptor" feature of the controller interface: on
38836 non-complete success, only say "done" once.
38838 - Clients are now willing to load balance over up to 2mB, not 1mB,
38839 of advertised bandwidth capacity.
38840 - Add a NoPublish config option, so you can be a server (e.g. for
38841 testing running Tor servers in other Tor networks) without
38842 publishing your descriptor to the primary dirservers.
38845 Changes in version 0.1.0.3-rc - 2005-04-08
38846 o Improvements on 0.1.0.2-rc:
38847 - Client now retries when streams end early for 'hibernating' or
38848 'resource limit' reasons, rather than failing them.
38849 - More automated handling for dirserver operators:
38850 - Automatically approve nodes running 0.1.0.2-rc or later,
38851 now that the the reachability detection stuff is working.
38852 - Now we allow two unverified servers with the same nickname
38853 but different keys. But if a nickname is verified, only that
38854 nickname+key are allowed.
38855 - If you're an authdirserver connecting to an address:port,
38856 and it's not the OR you were expecting, forget about that
38857 descriptor. If he *was* the one you were expecting, then forget
38858 about all other descriptors for that address:port.
38859 - Allow servers to publish descriptors from 12 hours in the future.
38860 Corollary: only whine about clock skew from the dirserver if
38861 he's a trusted dirserver (since now even verified servers could
38862 have quite wrong clocks).
38863 - Adjust maximum skew and age for rendezvous descriptors: let skew
38864 be 48 hours rather than 90 minutes.
38865 - Efficiency improvements:
38866 - Keep a big splay tree of (circid,orconn)->circuit mappings to make
38867 it much faster to look up a circuit for each relay cell.
38868 - Remove most calls to assert_all_pending_dns_resolves_ok(),
38869 since they're eating our cpu on exit nodes.
38870 - Stop wasting time doing a case insensitive comparison for every
38871 dns name every time we do any lookup. Canonicalize the names to
38872 lowercase and be done with it.
38873 - Start sending 'truncated' cells back rather than destroy cells,
38874 if the circuit closes in front of you. This means we won't have
38875 to abandon partially built circuits.
38876 - Only warn once per nickname from add_nickname_list_to_smartlist
38877 per failure, so an entrynode or exitnode choice that's down won't
38879 - Put a note in the torrc about abuse potential with the default
38881 - Revise control spec and implementation to allow all log messages to
38882 be sent to controller with their severities intact (suggested by
38883 Matt Edman). Update TorControl to handle new log event types.
38884 - Provide better explanation messages when controller's POSTDESCRIPTOR
38886 - Stop putting nodename in the Platform string in server descriptors.
38887 It doesn't actually help, and it is confusing/upsetting some people.
38889 o Bugfixes on 0.1.0.2-rc:
38890 - We were printing the host mask wrong in exit policies in server
38891 descriptors. This isn't a critical bug though, since we were still
38892 obeying the exit policy internally.
38893 - Fix Tor when compiled with libevent but without pthreads: move
38894 connection_unregister() from _connection_free() to
38896 - Fix an assert trigger (already fixed in 0.0.9.x): when we have
38897 the rare mysterious case of accepting a conn on 0.0.0.0:0, then
38898 when we look through the connection array, we'll find any of the
38899 cpu/dnsworkers. This is no good.
38901 o Bugfixes on 0.0.9.8:
38902 - Fix possible bug on threading platforms (e.g. win32) which was
38903 leaking a file descriptor whenever a cpuworker or dnsworker died.
38904 - When using preferred entry or exit nodes, ignore whether the
38905 circuit wants uptime or capacity. They asked for the nodes, they
38907 - chdir() to your datadirectory at the *end* of the daemonize process,
38908 not the beginning. This was a problem because the first time you
38909 run tor, if your datadir isn't there, and you have runasdaemon set
38910 to 1, it will try to chdir to it before it tries to create it. Oops.
38911 - Handle changed router status correctly when dirserver reloads
38912 fingerprint file. We used to be dropping all unverified descriptors
38913 right then. The bug was hidden because we would immediately
38914 fetch a directory from another dirserver, which would include the
38915 descriptors we just dropped.
38916 - When we're connecting to an OR and he's got a different nickname/key
38917 than we were expecting, only complain loudly if we're an OP or a
38918 dirserver. Complaining loudly to the OR admins just confuses them.
38919 - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
38920 artificially capped at 500kB.
38923 Changes in version 0.0.9.8 - 2005-04-07
38924 o Bugfixes on 0.0.9.x:
38925 - We have a bug that I haven't found yet. Sometimes, very rarely,
38926 cpuworkers get stuck in the 'busy' state, even though the cpuworker
38927 thinks of itself as idle. This meant that no new circuits ever got
38928 established. Here's a workaround to kill any cpuworker that's been
38929 busy for more than 100 seconds.
38932 Changes in version 0.1.0.2-rc - 2005-04-01
38933 o Bugfixes on 0.1.0.1-rc:
38934 - Fixes on reachability detection:
38935 - Don't check for reachability while hibernating.
38936 - If ORPort is reachable but DirPort isn't, still publish the
38937 descriptor, but zero out DirPort until it's found reachable.
38938 - When building testing circs for ORPort testing, use only
38939 high-bandwidth nodes, so fewer circuits fail.
38940 - Complain about unreachable ORPort separately from unreachable
38941 DirPort, so the user knows what's going on.
38942 - Make sure we only conclude ORPort reachability if we didn't
38943 initiate the conn. Otherwise we could falsely conclude that
38944 we're reachable just because we connected to the guy earlier
38945 and he used that same pipe to extend to us.
38946 - Authdirservers shouldn't do ORPort reachability detection,
38947 since they're in clique mode, so it will be rare to find a
38948 server not already connected to them.
38949 - When building testing circuits, always pick middle hops running
38950 Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
38951 bug. (This is a kludge; it will go away when 0.0.9.x becomes
38953 - When we decide we're reachable, actually publish our descriptor
38955 - Fix bug in redirectstream in the controller.
38956 - Fix the state descriptor strings so logs don't claim edge streams
38957 are in a different state than they actually are.
38958 - Use recent libevent features when possible (this only really affects
38959 win32 and osx right now, because the new libevent with these
38960 features hasn't been released yet). Add code to suppress spurious
38962 - Prevent possible segfault in connection_close_unattached_ap().
38963 - Fix newlines on torrc in win32.
38964 - Improve error msgs when tor-resolve fails.
38966 o Improvements on 0.0.9.x:
38967 - New experimental script tor/contrib/ExerciseServer.py (needs more
38968 work) that uses the controller interface to build circuits and
38969 fetch pages over them. This will help us bootstrap servers that
38970 have lots of capacity but haven't noticed it yet.
38971 - New experimental script tor/contrib/PathDemo.py (needs more work)
38972 that uses the controller interface to let you choose whole paths
38974 "<hostname>.<path,separated by dots>.<length of path>.path"
38975 - When we've connected to an OR and handshaked but didn't like
38976 the result, we were closing the conn without sending destroy
38977 cells back for pending circuits. Now send those destroys.
38980 Changes in version 0.0.9.7 - 2005-04-01
38981 o Bugfixes on 0.0.9.x:
38982 - Fix another race crash bug (thanks to Glenn Fink for reporting).
38983 - Compare identity to identity, not to nickname, when extending to
38984 a router not already in the directory. This was preventing us from
38985 extending to unknown routers. Oops.
38986 - Make sure to create OS X Tor user in <500 range, so we aren't
38987 creating actual system users.
38988 - Note where connection-that-hasn't-sent-end was marked, and fix
38989 a few really loud instances of this harmless bug (it's fixed more
38993 Changes in version 0.1.0.1-rc - 2005-03-28
38995 - Add reachability testing. Your Tor server will automatically try
38996 to see if its ORPort and DirPort are reachable from the outside,
38997 and it won't upload its descriptor until it decides they are.
38998 - Handle unavailable hidden services better. Handle slow or busy
38999 hidden services better.
39000 - Add support for CONNECTing through https proxies, with "HttpsProxy"
39002 - New exit policy: accept most low-numbered ports, rather than
39003 rejecting most low-numbered ports.
39004 - More Tor controller support (still experimental). See
39005 http://tor.eff.org/doc/control-spec.txt for all the new features,
39006 including signals to emulate unix signals from any platform;
39007 redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
39008 closestream; closecircuit; etc.
39009 - Make nt services work and start on startup on win32 (based on
39010 patch by Matt Edman).
39011 - Add a new AddressMap config directive to rewrite incoming socks
39012 addresses. This lets you, for example, declare an implicit
39013 required exit node for certain sites.
39014 - Add a new TrackHostExits config directive to trigger addressmaps
39015 for certain incoming socks addresses -- for sites that break when
39016 your exit keeps changing (based on patch by Mike Perry).
39017 - Redo the client-side dns cache so it's just an addressmap too.
39018 - Notice when our IP changes, and reset stats/uptime/reachability.
39019 - When an application is using socks5, give him the whole variety of
39020 potential socks5 responses (connect refused, host unreachable, etc),
39021 rather than just "success" or "failure".
39022 - A more sane version numbering system. See
39023 http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
39024 - New contributed script "exitlist": a simple python script to
39025 parse directories and find Tor nodes that exit to listed
39027 - New contributed script "privoxy-tor-toggle" to toggle whether
39028 Privoxy uses Tor. Seems to be configured for Debian by default.
39029 - Report HTTP reasons to client when getting a response from directory
39030 servers -- so you can actually know what went wrong.
39031 - New config option MaxAdvertisedBandwidth which lets you advertise
39032 a low bandwidthrate (to not attract as many circuits) while still
39033 allowing a higher bandwidthrate in reality.
39035 o Robustness/stability fixes:
39036 - Make Tor use Niels Provos's libevent instead of its current
39037 poll-but-sometimes-select mess. This will let us use faster async
39038 cores (like epoll, kpoll, and /dev/poll), and hopefully work better
39040 - pthread support now too. This was forced because when we forked,
39041 we ended up wasting a lot of duplicate ram over time. Also switch
39042 to foo_r versions of some library calls to allow reentry and
39044 - Better handling for heterogeneous / unreliable nodes:
39045 - Annotate circuits w/ whether they aim to contain high uptime nodes
39046 and/or high capacity nodes. When building circuits, choose
39048 - This means that every single node in an intro rend circuit,
39049 not just the last one, will have a minimum uptime.
39050 - New config option LongLivedPorts to indicate application streams
39051 that will want high uptime circuits.
39052 - Servers reset uptime when a dir fetch entirely fails. This
39053 hopefully reflects stability of the server's network connectivity.
39054 - If somebody starts his tor server in Jan 2004 and then fixes his
39055 clock, don't make his published uptime be a year.
39056 - Reset published uptime when you wake up from hibernation.
39057 - Introduce a notion of 'internal' circs, which are chosen without
39058 regard to the exit policy of the last hop. Intro and rendezvous
39059 circs must be internal circs, to avoid leaking information. Resolve
39060 and connect streams can use internal circs if they want.
39061 - New circuit pooling algorithm: make sure to have enough circs around
39062 to satisfy any predicted ports, and also make sure to have 2 internal
39063 circs around if we've required internal circs lately (and with high
39064 uptime if we've seen that lately too).
39065 - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
39066 which describes how often we retry making new circuits if current
39067 ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
39068 how long we're willing to make use of an already-dirty circuit.
39069 - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
39070 circ as necessary, if there are any completed ones lying around
39071 when we try to launch one.
39072 - Make hidden services try to establish a rendezvous for 30 seconds,
39073 rather than for n (where n=3) attempts to build a circuit.
39074 - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
39075 "ShutdownWaitLength".
39076 - Try to be more zealous about calling connection_edge_end when
39077 things go bad with edge conns in connection.c.
39078 - Revise tor-spec to add more/better stream end reasons.
39079 - Revise all calls to connection_edge_end to avoid sending "misc",
39080 and to take errno into account where possible.
39083 - Fix a race condition that can trigger an assert, when we have a
39084 pending create cell and an OR connection fails right then.
39085 - Fix several double-mark-for-close bugs, e.g. where we were finding
39086 a conn for a cell even if that conn is already marked for close.
39087 - Make sequence of log messages when starting on win32 with no config
39088 file more reasonable.
39089 - When choosing an exit node for a new non-internal circ, don't take
39090 into account whether it'll be useful for any pending x.onion
39091 addresses -- it won't.
39092 - Turn addr_policy_compare from a tristate to a quadstate; this should
39093 help address our "Ah, you allow 1.2.3.4:80. You are a good choice
39094 for google.com" problem.
39095 - Make "platform" string in descriptor more accurate for Win32 servers,
39096 so it's not just "unknown platform".
39097 - Fix an edge case in parsing config options (thanks weasel).
39098 If they say "--" on the commandline, it's not an option.
39099 - Reject odd-looking addresses at the client (e.g. addresses that
39100 contain a colon), rather than having the server drop them because
39102 - tor-resolve requests were ignoring .exit if there was a working circuit
39103 they could use instead.
39104 - REUSEADDR on normal platforms means you can rebind to the port
39105 right after somebody else has let it go. But REUSEADDR on win32
39106 means to let you bind to the port _even when somebody else
39107 already has it bound_! So, don't do that on Win32.
39108 - Change version parsing logic: a version is "obsolete" if it is not
39109 recommended and (1) there is a newer recommended version in the
39110 same series, or (2) there are no recommended versions in the same
39111 series, but there are some recommended versions in a newer series.
39112 A version is "new" if it is newer than any recommended version in
39114 - Stop most cases of hanging up on a socks connection without sending
39118 - Require BandwidthRate to be at least 20kB/s for servers.
39119 - When a dirserver causes you to give a warn, mention which dirserver
39121 - New config option DirAllowPrivateAddresses for authdirservers.
39122 Now by default they refuse router descriptors that have non-IP or
39123 private-IP addresses.
39124 - Stop publishing socksport in the directory, since it's not
39125 actually meant to be public. For compatibility, publish a 0 there
39127 - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
39128 smart" value, that is low for servers and high for clients.
39129 - If our clock jumps forward by 100 seconds or more, assume something
39130 has gone wrong with our network and abandon all not-yet-used circs.
39131 - Warn when exit policy implicitly allows local addresses.
39132 - If we get an incredibly skewed timestamp from a dirserver mirror
39133 that isn't a verified OR, don't warn -- it's probably him that's
39135 - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
39136 cookies to disk and doesn't log each web request to disk. (Thanks
39137 to Brett Carrington for pointing this out.)
39138 - When a client asks us for a dir mirror and we don't have one,
39139 launch an attempt to get a fresh one.
39140 - If we're hibernating and we get a SIGINT, exit immediately.
39141 - Add --with-dmalloc ./configure option, to track memory leaks.
39142 - And try to free all memory on closing, so we can detect what
39144 - Cache local dns resolves correctly even when they're .exit
39146 - Give a better warning when some other server advertises an
39147 ORPort that is actually an apache running ssl.
39148 - Add "opt hibernating 1" to server descriptor to make it clearer
39149 whether the server is hibernating.
39152 Changes in version 0.0.9.6 - 2005-03-24
39153 o Bugfixes on 0.0.9.x (crashes and asserts):
39154 - Add new end stream reasons to maintenance branch. Fix bug where
39155 reason (8) could trigger an assert. Prevent bug from recurring.
39156 - Apparently win32 stat wants paths to not end with a slash.
39157 - Fix assert triggers in assert_cpath_layer_ok(), where we were
39158 blowing away the circuit that conn->cpath_layer points to, then
39159 checking to see if the circ is well-formed. Backport check to make
39160 sure we dont use the cpath on a closed connection.
39161 - Prevent circuit_resume_edge_reading_helper() from trying to package
39162 inbufs for marked-for-close streams.
39163 - Don't crash on hup if your options->address has become unresolvable.
39164 - Some systems (like OS X) sometimes accept() a connection and tell
39165 you the remote host is 0.0.0.0:0. If this happens, due to some
39166 other mis-features, we get confused; so refuse the conn for now.
39168 o Bugfixes on 0.0.9.x (other):
39169 - Fix harmless but scary "Unrecognized content encoding" warn message.
39170 - Add new stream error reason: TORPROTOCOL reason means "you are not
39171 speaking a version of Tor I understand; say bye-bye to your stream."
39172 - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
39173 into the future, now that we are more tolerant of skew. This
39174 resolves a bug where a Tor server would refuse to cache a directory
39175 because all the directories it gets are too far in the future;
39176 yet the Tor server never logs any complaints about clock skew.
39177 - Mac packaging magic: make man pages useable, and do not overwrite
39178 existing torrc files.
39179 - Make OS X log happily to /var/log/tor/tor.log
39182 Changes in version 0.0.9.5 - 2005-02-22
39183 o Bugfixes on 0.0.9.x:
39184 - Fix an assert race at exit nodes when resolve requests fail.
39185 - Stop picking unverified dir mirrors--it only leads to misery.
39186 - Patch from Matt Edman to make NT services work better. Service
39187 support is still not compiled into the executable by default.
39188 - Patch from Dmitri Bely so the Tor service runs better under
39189 the win32 SYSTEM account.
39190 - Make tor-resolve actually work (?) on Win32.
39191 - Fix a sign bug when getrlimit claims to have 4+ billion
39192 file descriptors available.
39193 - Stop refusing to start when bandwidthburst == bandwidthrate.
39194 - When create cells have been on the onion queue more than five
39195 seconds, just send back a destroy and take them off the list.
39198 Changes in version 0.0.9.4 - 2005-02-03
39199 o Bugfixes on 0.0.9:
39200 - Fix an assert bug that took down most of our servers: when
39201 a server claims to have 1 GB of bandwidthburst, don't
39203 - Don't crash as badly if we have spawned the max allowed number
39204 of dnsworkers, or we're out of file descriptors.
39205 - Block more file-sharing ports in the default exit policy.
39206 - MaxConn is now automatically set to the hard limit of max
39207 file descriptors we're allowed (ulimit -n), minus a few for
39209 - Give a clearer message when servers need to raise their
39210 ulimit -n when they start running out of file descriptors.
39211 - SGI Compatibility patches from Jan Schaumann.
39212 - Tolerate a corrupt cached directory better.
39213 - When a dirserver hasn't approved your server, list which one.
39214 - Go into soft hibernation after 95% of the bandwidth is used,
39215 not 99%. This is especially important for daily hibernators who
39216 have a small accounting max. Hopefully it will result in fewer
39217 cut connections when the hard hibernation starts.
39218 - Load-balance better when using servers that claim more than
39219 800kB/s of capacity.
39220 - Make NT services work (experimental, only used if compiled in).
39223 Changes in version 0.0.9.3 - 2005-01-21
39224 o Bugfixes on 0.0.9:
39225 - Backport the cpu use fixes from main branch, so busy servers won't
39226 need as much processor time.
39227 - Work better when we go offline and then come back, or when we
39228 run Tor at boot before the network is up. We do this by
39229 optimistically trying to fetch a new directory whenever an
39230 application request comes in and we think we're offline -- the
39231 human is hopefully a good measure of when the network is back.
39232 - Backport some minimal hidserv bugfixes: keep rend circuits open as
39233 long as you keep using them; actually publish hidserv descriptors
39234 shortly after they change, rather than waiting 20-40 minutes.
39235 - Enable Mac startup script by default.
39236 - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
39237 - When you update AllowUnverifiedNodes or FirewallPorts via the
39238 controller's setconf feature, we were always appending, never
39240 - When you update HiddenServiceDir via setconf, it was screwing up
39241 the order of reading the lines, making it fail.
39242 - Do not rewrite a cached directory back to the cache; otherwise we
39243 will think it is recent and not fetch a newer one on startup.
39244 - Workaround for webservers that lie about Content-Encoding: Tor
39245 now tries to autodetect compressed directories and compression
39246 itself. This lets us Proxypass dir fetches through apache.
39249 Changes in version 0.0.9.2 - 2005-01-04
39250 o Bugfixes on 0.0.9 (crashes and asserts):
39251 - Fix an assert on startup when the disk is full and you're logging
39253 - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
39254 style address, then we'd crash.
39255 - Fix an assert trigger when the running-routers string we get from
39256 a dirserver is broken.
39257 - Make worker threads start and run on win32. Now win32 servers
39259 - Bandaid (not actually fix, but now it doesn't crash) an assert
39260 where the dns worker dies mysteriously and the main Tor process
39261 doesn't remember anything about the address it was resolving.
39263 o Bugfixes on 0.0.9 (Win32):
39264 - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
39265 name out of the warning/assert messages.
39266 - Fix a superficial "unhandled error on read" bug on win32.
39267 - The win32 installer no longer requires a click-through for our
39268 license, since our Free Software license grants rights but does not
39270 - Win32: When connecting to a dirserver fails, try another one
39271 immediately. (This was already working for non-win32 Tors.)
39272 - Stop trying to parse $HOME on win32 when hunting for default
39274 - Make tor-resolve.c work on win32 by calling network_init().
39276 o Bugfixes on 0.0.9 (other):
39277 - Make 0.0.9.x build on Solaris again.
39278 - Due to a fencepost error, we were blowing away the \n when reporting
39279 confvalue items in the controller. So asking for multiple config
39280 values at once couldn't work.
39281 - When listing circuits that are pending on an opening OR connection,
39282 if we're an OR we were listing circuits that *end* at us as
39283 being pending on every listener, dns/cpu worker, etc. Stop that.
39284 - Dirservers were failing to create 'running-routers' or 'directory'
39285 strings if we had more than some threshold of routers. Fix them so
39286 they can handle any number of routers.
39287 - Fix a superficial "Duplicate mark for close" bug.
39288 - Stop checking for clock skew for OR connections, even for servers.
39289 - Fix a fencepost error that was chopping off the last letter of any
39290 nickname that is the maximum allowed nickname length.
39291 - Update URLs in log messages so they point to the new website.
39292 - Fix a potential problem in mangling server private keys while
39293 writing to disk (not triggered yet, as far as we know).
39294 - Include the licenses for other free software we include in Tor,
39295 now that we're shipping binary distributions more regularly.
39298 Changes in version 0.0.9.1 - 2004-12-15
39299 o Bugfixes on 0.0.9:
39300 - Make hibernation actually work.
39301 - Make HashedControlPassword config option work.
39302 - When we're reporting event circuit status to a controller,
39303 don't use the stream status code.
39306 Changes in version 0.0.9 - 2004-12-12
39308 - Clean up manpage and torrc.sample file.
39309 - Clean up severities and text of log warnings.
39311 - Make servers trigger an assert when they enter hibernation.
39314 Changes in version 0.0.9rc7 - 2004-12-08
39315 o Bugfixes on 0.0.9rc:
39316 - Fix a stack-trashing crash when an exit node begins hibernating.
39317 - Avoid looking at unallocated memory while considering which
39318 ports we need to build circuits to cover.
39319 - Stop a sigpipe: when an 'end' cell races with eof from the app,
39320 we shouldn't hold-open-until-flush if the eof arrived first.
39321 - Fix a bug with init_cookie_authentication() in the controller.
39322 - When recommending new-format log lines, if the upper bound is
39323 LOG_ERR, leave it implicit.
39325 o Bugfixes on 0.0.8.1:
39326 - Fix a whole slew of memory leaks.
39327 - Fix isspace() and friends so they still make Solaris happy
39328 but also so they don't trigger asserts on win32.
39329 - Fix parse_iso_time on platforms without strptime (eg win32).
39330 - win32: tolerate extra "readable" events better.
39331 - win32: when being multithreaded, leave parent fdarray open.
39332 - Make unit tests work on win32.
39335 Changes in version 0.0.9rc6 - 2004-12-06
39336 o Bugfixes on 0.0.9pre:
39337 - Clean up some more integer underflow opportunities (not exploitable
39339 - While hibernating, hup should not regrow our listeners.
39340 - Send an end to the streams we close when we hibernate, rather
39341 than just chopping them off.
39342 - React to eof immediately on non-open edge connections.
39344 o Bugfixes on 0.0.8.1:
39345 - Calculate timeout for waiting for a connected cell from the time
39346 we sent the begin cell, not from the time the stream started. If
39347 it took a long time to establish the circuit, we would time out
39348 right after sending the begin cell.
39349 - Fix router_compare_addr_to_addr_policy: it was not treating a port
39350 of * as always matching, so we were picking reject *:* nodes as
39351 exit nodes too. Oops.
39354 - New circuit building strategy: keep a list of ports that we've
39355 used in the past 6 hours, and always try to have 2 circuits open
39356 or on the way that will handle each such port. Seed us with port
39357 80 so web users won't complain that Tor is "slow to start up".
39358 - Make kill -USR1 dump more useful stats about circuits.
39359 - When warning about retrying or giving up, print the address, so
39360 the user knows which one it's talking about.
39361 - If you haven't used a clean circuit in an hour, throw it away,
39362 just to be on the safe side. (This means after 6 hours a totally
39363 unused Tor client will have no circuits open.)
39366 Changes in version 0.0.9rc5 - 2004-12-01
39367 o Bugfixes on 0.0.8.1:
39368 - Disallow NDEBUG. We don't ever want anybody to turn off debug.
39369 - Let resolve conns retry/expire also, rather than sticking around
39371 - If we are using select, make sure we stay within FD_SETSIZE.
39373 o Bugfixes on 0.0.9pre:
39374 - Fix integer underflow in tor_vsnprintf() that may be exploitable,
39375 but doesn't seem to be currently; thanks to Ilja van Sprundel for
39377 - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
39378 instead. Impose minima and maxima for all *Period options; impose
39379 even tighter maxima for fetching if we are a caching dirserver.
39380 Clip rather than rejecting.
39381 - Fetch cached running-routers from servers that serve it (that is,
39382 authdirservers and servers running 0.0.9rc5-cvs or later.)
39385 - Accept *:706 (silc) in default exit policy.
39386 - Implement new versioning format for post 0.1.
39387 - Support "foo.nickname.exit" addresses, to let Alice request the
39388 address "foo" as viewed by exit node "nickname". Based on a patch
39390 - Make tor --version --version dump the cvs Id of every file.
39393 Changes in version 0.0.9rc4 - 2004-11-28
39394 o Bugfixes on 0.0.8.1:
39395 - Make windows sockets actually non-blocking (oops), and handle
39396 win32 socket errors better.
39398 o Bugfixes on 0.0.9rc1:
39399 - Actually catch the -USR2 signal.
39402 Changes in version 0.0.9rc3 - 2004-11-25
39403 o Bugfixes on 0.0.8.1:
39404 - Flush the log file descriptor after we print "Tor opening log file",
39405 so we don't see those messages days later.
39407 o Bugfixes on 0.0.9rc1:
39408 - Make tor-resolve work again.
39409 - Avoid infinite loop in tor-resolve if tor hangs up on it.
39410 - Fix an assert trigger for clients/servers handling resolves.
39413 Changes in version 0.0.9rc2 - 2004-11-24
39414 o Bugfixes on 0.0.9rc1:
39415 - I broke socks5 support while fixing the eof bug.
39416 - Allow unitless bandwidths and intervals; they default to bytes
39418 - New servers don't start out hibernating; they are active until
39419 they run out of bytes, so they have a better estimate of how
39420 long it takes, and so their operators can know they're working.
39423 Changes in version 0.0.9rc1 - 2004-11-23
39424 o Bugfixes on 0.0.8.1:
39425 - Finally fix a bug that's been plaguing us for a year:
39426 With high load, circuit package window was reaching 0. Whenever
39427 we got a circuit-level sendme, we were reading a lot on each
39428 socket, but only writing out a bit. So we would eventually reach
39429 eof. This would be noticed and acted on even when there were still
39430 bytes sitting in the inbuf.
39431 - When poll() is interrupted, we shouldn't believe the revents values.
39433 o Bugfixes on 0.0.9pre6:
39434 - Fix hibernate bug that caused pre6 to be broken.
39435 - Don't keep rephist info for routers that haven't had activity for
39436 24 hours. (This matters now that clients have keys, since we track
39438 - Never call close_temp_logs while validating log options.
39439 - Fix backslash-escaping on tor.sh.in and torctl.in.
39442 - Implement weekly/monthly/daily accounting: now you specify your
39443 hibernation properties by
39444 AccountingMax N bytes|KB|MB|GB|TB
39445 AccountingStart day|week|month [day] HH:MM
39446 Defaults to "month 1 0:00".
39447 - Let bandwidth and interval config options be specified as 5 bytes,
39448 kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
39449 - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
39450 get back to normal.)
39451 - If your requested entry or exit node has advertised bandwidth 0,
39453 - Be more greedy about filling up relay cells -- we try reading again
39454 once we've processed the stuff we read, in case enough has arrived
39455 to fill the last cell completely.
39456 - Apply NT service patch from Osamu Fujino. Still needs more work.
39459 Changes in version 0.0.9pre6 - 2004-11-15
39460 o Bugfixes on 0.0.8.1:
39461 - Fix assert failure on malformed socks4a requests.
39462 - Use identity comparison, not nickname comparison, to choose which
39463 half of circuit-ID-space each side gets to use. This is needed
39464 because sometimes we think of a router as a nickname, and sometimes
39465 as a hex ID, and we can't predict what the other side will do.
39466 - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
39467 write() call will fail and we handle it there.
39468 - Add a FAST_SMARTLIST define to optionally inline smartlist_get
39469 and smartlist_len, which are two major profiling offenders.
39471 o Bugfixes on 0.0.9pre5:
39472 - Fix a bug in read_all that was corrupting config files on windows.
39473 - When we're raising the max number of open file descriptors to
39474 'unlimited', don't log that we just raised it to '-1'.
39475 - Include event code with events, as required by control-spec.txt.
39476 - Don't give a fingerprint when clients do --list-fingerprint:
39477 it's misleading, because it will never be the same again.
39478 - Stop using strlcpy in tor_strndup, since it was slowing us
39480 - Remove warn on startup about missing cached-directory file.
39481 - Make kill -USR1 work again.
39482 - Hibernate if we start tor during the "wait for wakeup-time" phase
39483 of an accounting interval. Log our hibernation plans better.
39484 - Authoritative dirservers now also cache their directory, so they
39485 have it on start-up.
39488 - Fetch running-routers; cache running-routers; compress
39489 running-routers; serve compressed running-routers.z
39490 - Add NSI installer script contributed by J Doe.
39491 - Commit VC6 and VC7 workspace/project files.
39492 - Commit a tor.spec for making RPM files, with help from jbash.
39493 - Add contrib/torctl.in contributed by Glenn Fink.
39494 - Implement the control-spec's SAVECONF command, to write your
39495 configuration to torrc.
39496 - Get cookie authentication for the controller closer to working.
39497 - Include control-spec.txt in the tarball.
39498 - When set_conf changes our server descriptor, upload a new copy.
39499 But don't upload it too often if there are frequent changes.
39500 - Document authentication config in man page, and document signals
39502 - Clean up confusing parts of man page and torrc.sample.
39503 - Make expand_filename handle ~ and ~username.
39504 - Use autoconf to enable largefile support where necessary. Use
39505 ftello where available, since ftell can fail at 2GB.
39506 - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
39507 log more informatively.
39508 - Give a slightly more useful output for "tor -h".
39509 - Refuse application socks connections to port 0.
39510 - Check clock skew for verified servers, but allow unverified
39511 servers and clients to have any clock skew.
39512 - Break DirFetchPostPeriod into:
39513 - DirFetchPeriod for fetching full directory,
39514 - StatusFetchPeriod for fetching running-routers,
39515 - DirPostPeriod for posting server descriptor,
39516 - RendPostPeriod for posting hidden service descriptors.
39517 - Make sure the hidden service descriptors are at a random offset
39518 from each other, to hinder linkability.
39521 Changes in version 0.0.9pre5 - 2004-11-09
39522 o Bugfixes on 0.0.9pre4:
39523 - Fix a seg fault in unit tests (doesn't affect main program).
39524 - Fix an assert bug where a hidden service provider would fail if
39525 the first hop of his rendezvous circuit was down.
39526 - Hidden service operators now correctly handle version 1 style
39527 INTRODUCE1 cells (nobody generates them still, so not a critical
39529 - If do_hup fails, actually notice.
39530 - Handle more errnos from accept() without closing the listener.
39531 Some OpenBSD machines were closing their listeners because
39532 they ran out of file descriptors.
39533 - Send resolve cells to exit routers that are running a new
39534 enough version of the resolve code to work right.
39535 - Better handling of winsock includes on non-MSV win32 compilers.
39536 - Some people had wrapped their tor client/server in a script
39537 that would restart it whenever it died. This did not play well
39538 with our "shut down if your version is obsolete" code. Now people
39539 don't fetch a new directory if their local cached version is
39541 - Make our autogen.sh work on ksh as well as bash.
39544 - Hibernation: New config option "AccountingMaxKB" lets you
39545 set how many KBytes per month you want to allow your server to
39546 consume. Rather than spreading those bytes out evenly over the
39547 month, we instead hibernate for some of the month and pop up
39548 at a deterministic time, work until the bytes are consumed, then
39549 hibernate again. Config option "MonthlyAccountingStart" lets you
39550 specify which day of the month your billing cycle starts on.
39551 - Control interface: a separate program can now talk to your
39552 client/server over a socket, and get/set config options, receive
39553 notifications of circuits and streams starting/finishing/dying,
39554 bandwidth used, etc. The next step is to get some GUIs working.
39555 Let us know if you want to help out. See doc/control-spec.txt .
39556 - Ship a contrib/tor-control.py as an example script to interact
39557 with the control port.
39558 - "tor --hash-password zzyxz" will output a salted password for
39559 use in authenticating to the control interface.
39560 - New log format in config:
39561 "Log minsev[-maxsev] stdout|stderr|syslog" or
39562 "Log minsev[-maxsev] file /var/foo"
39565 - DirPolicy config option, to let people reject incoming addresses
39566 from their dirserver.
39567 - "tor --list-fingerprint" will list your identity key fingerprint
39569 - Add "pass" target for RedirectExit, to make it easier to break
39570 out of a sequence of RedirectExit rules.
39571 - Clients now generate a TLS cert too, in preparation for having
39572 them act more like real nodes.
39573 - Ship src/win32/ in the tarball, so people can use it to build.
39574 - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
39576 - New "router-status" line in directory, to better bind each verified
39577 nickname to its identity key.
39578 - Deprecate unofficial config option abbreviations, and abbreviations
39579 not on the command line.
39580 - Add a pure-C tor-resolve implementation.
39581 - Use getrlimit and friends to ensure we can reach MaxConn (currently
39582 1024) file descriptors.
39584 o Code security improvements, inspired by Ilja:
39585 - Replace sprintf with snprintf. (I think they were all safe, but
39587 - Replace strcpy/strncpy with strlcpy in more places.
39588 - Avoid strcat; use snprintf or strlcat instead.
39589 - snprintf wrapper with consistent (though not C99) overflow behavior.
39592 Changes in version 0.0.9pre4 - 2004-10-17
39593 o Bugfixes on 0.0.9pre3:
39594 - If the server doesn't specify an exit policy, use the real default
39595 exit policy, not reject *:*.
39596 - Ignore fascistfirewall when uploading/downloading hidden service
39597 descriptors, since we go through Tor for those; and when using
39598 an HttpProxy, since we assume it can reach them all.
39599 - When looking for an authoritative dirserver, use only the ones
39600 configured at boot. Don't bother looking in the directory.
39601 - The rest of the fix for get_default_conf_file() on older win32.
39602 - Make 'Routerfile' config option obsolete.
39605 - New 'MyFamily nick1,...' config option for a server to
39606 specify other servers that shouldn't be used in the same circuit
39607 with it. Only believed if nick1 also specifies us.
39608 - New 'NodeFamily nick1,nick2,...' config option for a client to
39609 specify nodes that it doesn't want to use in the same circuit.
39610 - New 'Redirectexit pattern address:port' config option for a
39611 server to redirect exit connections, e.g. to a local squid.
39614 Changes in version 0.0.9pre3 - 2004-10-13
39615 o Bugfixes on 0.0.8.1:
39616 - Better torrc example lines for dirbindaddress and orbindaddress.
39617 - Improved bounds checking on parsed ints (e.g. config options and
39618 the ones we find in directories.)
39619 - Better handling of size_t vs int, so we're more robust on 64
39621 - Fix the rest of the bug where a newly started OR would appear
39622 as unverified even after we've added his fingerprint and hupped
39624 - Fix a bug from 0.0.7: when read() failed on a stream, we would
39625 close it without sending back an end. So 'connection refused'
39626 would simply be ignored and the user would get no response.
39628 o Bugfixes on 0.0.9pre2:
39629 - Serving the cached-on-disk directory to people is bad. We now
39630 provide no directory until we've fetched a fresh one.
39631 - Workaround for bug on windows where cached-directories get crlf
39633 - Make get_default_conf_file() work on older windows too.
39634 - If we write a *:* exit policy line in the descriptor, don't write
39635 any more exit policy lines.
39638 - Use only 0.0.9pre1 and later servers for resolve cells.
39639 - Make the dirservers file obsolete.
39640 - Include a dir-signing-key token in directories to tell the
39641 parsing entity which key is being used to sign.
39642 - Remove the built-in bulky default dirservers string.
39643 - New config option "Dirserver %s:%d [fingerprint]", which can be
39644 repeated as many times as needed. If no dirservers specified,
39645 default to moria1,moria2,tor26.
39646 - Make moria2 advertise a dirport of 80, so people behind firewalls
39647 will be able to get a directory.
39648 - Http proxy support
39649 - Dirservers translate requests for http://%s:%d/x to /x
39650 - You can specify "HttpProxy %s[:%d]" and all dir fetches will
39651 be routed through this host.
39652 - Clients ask for /tor/x rather than /x for new enough dirservers.
39653 This way we can one day coexist peacefully with apache.
39654 - Clients specify a "Host: %s%d" http header, to be compatible
39655 with more proxies, and so running squid on an exit node can work.
39658 Changes in version 0.0.8.1 - 2004-10-13
39660 - Fix a seg fault that can be triggered remotely for Tor
39661 clients/servers with an open dirport.
39662 - Fix a rare assert trigger, where routerinfos for entries in
39663 our cpath would expire while we're building the path.
39664 - Fix a bug in OutboundBindAddress so it (hopefully) works.
39665 - Fix a rare seg fault for people running hidden services on
39666 intermittent connections.
39667 - Fix a bug in parsing opt keywords with objects.
39668 - Fix a stale pointer assert bug when a stream detaches and
39670 - Fix a string format vulnerability (probably not exploitable)
39671 in reporting stats locally.
39672 - Fix an assert trigger: sometimes launching circuits can fail
39673 immediately, e.g. because too many circuits have failed recently.
39674 - Fix a compile warning on 64 bit platforms.
39677 Changes in version 0.0.9pre2 - 2004-10-03
39679 - Make fetching a cached directory work for 64-bit platforms too.
39680 - Make zlib.h a required header, not an optional header.
39683 Changes in version 0.0.9pre1 - 2004-10-01
39685 - Stop using separate defaults for no-config-file and
39686 empty-config-file. Now you have to explicitly turn off SocksPort,
39687 if you don't want it open.
39688 - Fix a bug in OutboundBindAddress so it (hopefully) works.
39689 - Improve man page to mention more of the 0.0.8 features.
39690 - Fix a rare seg fault for people running hidden services on
39691 intermittent connections.
39692 - Change our file IO stuff (especially wrt OpenSSL) so win32 is
39694 - Fix more dns related bugs: send back resolve_failed and end cells
39695 more reliably when the resolve fails, rather than closing the
39696 circuit and then trying to send the cell. Also attach dummy resolve
39697 connections to a circuit *before* calling dns_resolve(), to fix
39698 a bug where cached answers would never be sent in RESOLVED cells.
39699 - When we run out of disk space, or other log writing error, don't
39700 crash. Just stop logging to that log and continue.
39701 - We were starting to daemonize before we opened our logs, so if
39702 there were any problems opening logs, we would complain to stderr,
39703 which wouldn't work, and then mysteriously exit.
39704 - Fix a rare bug where sometimes a verified OR would connect to us
39705 before he'd uploaded his descriptor, which would cause us to
39706 assign conn->nickname as though he's unverified. Now we look through
39707 the fingerprint list to see if he's there.
39708 - Fix a rare assert trigger, where routerinfos for entries in
39709 our cpath would expire while we're building the path.
39712 - Clients can ask dirservers for /dir.z to get a compressed version
39713 of the directory. Only works for servers running 0.0.9, of course.
39714 - Make clients cache directories and use them to seed their router
39715 lists at startup. This means clients have a datadir again.
39716 - Configuration infrastructure support for warning on obsolete
39718 - Respond to content-encoding headers by trying to uncompress as
39720 - Reply with a deflated directory when a client asks for "dir.z".
39721 We could use allow-encodings instead, but allow-encodings isn't
39722 specified in HTTP 1.0.
39723 - Raise the max dns workers from 50 to 100.
39724 - Discourage people from setting their dirfetchpostperiod more often
39725 than once per minute.
39726 - Protect dirservers from overzealous descriptor uploading -- wait
39727 10 seconds after directory gets dirty, before regenerating.
39730 Changes in version 0.0.8 - 2004-08-25
39731 o Port it to SunOS 5.9 / Athena
39734 Changes in version 0.0.8rc2 - 2004-08-20
39735 o Make it compile on cygwin again.
39736 o When picking unverified routers, skip those with low uptime and/or
39737 low bandwidth, depending on what properties you care about.
39740 Changes in version 0.0.8rc1 - 2004-08-18
39741 o Changes from 0.0.7.3:
39743 - Fix assert triggers: if the other side returns an address 0.0.0.0,
39744 don't put it into the client dns cache.
39745 - If a begin failed due to exit policy, but we believe the IP address
39746 should have been allowed, switch that router to exitpolicy reject *:*
39747 until we get our next directory.
39749 - Clients choose nodes proportional to advertised bandwidth.
39750 - Avoid using nodes with low uptime as introduction points.
39751 - Handle servers with dynamic IP addresses: don't replace
39752 options->Address with the resolved one at startup, and
39753 detect our address right before we make a routerinfo each time.
39754 - 'FascistFirewall' option to pick dirservers and ORs on specific
39755 ports; plus 'FirewallPorts' config option to tell FascistFirewall
39756 which ports are open. (Defaults to 80,443)
39757 - Be more aggressive about trying to make circuits when the network
39758 has changed (e.g. when you unsuspend your laptop).
39759 - Check for time skew on http headers; report date in response to
39761 - If the entrynode config line has only one node, don't pick it as
39763 - Add strict{entry|exit}nodes config options. If set to 1, then
39764 we refuse to build circuits that don't include the specified entry
39766 - OutboundBindAddress config option, to bind to a specific
39767 IP address for outgoing connect()s.
39768 - End truncated log entries (e.g. directories) with "[truncated]".
39770 o Patches to 0.0.8preX:
39772 - Patches to compile and run on win32 again (maybe)?
39773 - Fix crash when looking for ~/.torrc with no $HOME set.
39774 - Fix a race bug in the unit tests.
39775 - Handle verified/unverified name collisions better when new
39776 routerinfo's arrive in a directory.
39777 - Sometimes routers were getting entered into the stats before
39778 we'd assigned their identity_digest. Oops.
39779 - Only pick and establish intro points after we've gotten a
39782 - AllowUnverifiedNodes config option to let circuits choose no-name
39783 routers in entry,middle,exit,introduction,rendezvous positions.
39784 Allow middle and rendezvous positions by default.
39785 - Add a man page for tor-resolve.
39788 Changes in version 0.0.7.3 - 2004-08-12
39789 o Stop dnsworkers from triggering an assert failure when you
39790 ask them to resolve the host "".
39793 Changes in version 0.0.8pre3 - 2004-08-09
39794 o Changes from 0.0.7.2:
39795 - Allow multiple ORs with same nickname in routerlist -- now when
39796 people give us one identity key for a nickname, then later
39797 another, we don't constantly complain until the first expires.
39798 - Remember used bandwidth (both in and out), and publish 15-minute
39799 snapshots for the past day into our descriptor.
39800 - You can now fetch $DIRURL/running-routers to get just the
39801 running-routers line, not the whole descriptor list. (But
39802 clients don't use this yet.)
39803 - When people mistakenly use Tor as an http proxy, point them
39804 at the tor-doc.html rather than the INSTALL.
39805 - Remove our mostly unused -- and broken -- hex_encode()
39806 function. Use base16_encode() instead. (Thanks to Timo Lindfors
39807 for pointing out this bug.)
39808 - Rotate onion keys every 12 hours, not every 2 hours, so we have
39809 fewer problems with people using the wrong key.
39810 - Change the default exit policy to reject the default edonkey,
39811 kazaa, gnutella ports.
39812 - Add replace_file() to util.[ch] to handle win32's rename().
39814 o Changes from 0.0.8preX:
39815 - Fix two bugs in saving onion keys to disk when rotating, so
39816 hopefully we'll get fewer people using old onion keys.
39817 - Fix an assert error that was making SocksPolicy not work.
39818 - Be willing to expire routers that have an open dirport -- it's
39819 just the authoritative dirservers we want to not forget.
39820 - Reject tor-resolve requests for .onion addresses early, so we
39821 don't build a whole rendezvous circuit and then fail.
39822 - When you're warning a server that he's unverified, don't cry
39823 wolf unpredictably.
39824 - Fix a race condition: don't try to extend onto a connection
39825 that's still handshaking.
39826 - For servers in clique mode, require the conn to be open before
39827 you'll choose it for your path.
39828 - Fix some cosmetic bugs about duplicate mark-for-close, lack of
39829 end relay cell, etc.
39830 - Measure bandwidth capacity over the last 24 hours, not just 12
39831 - Bugfix: authoritative dirservers were making and signing a new
39832 directory for each client, rather than reusing the cached one.
39835 Changes in version 0.0.8pre2 - 2004-08-04
39836 o Changes from 0.0.7.2:
39838 - Check directory signature _before_ you decide whether you're
39839 you're running an obsolete version and should exit.
39840 - Check directory signature _before_ you parse the running-routers
39841 list to decide who's running or verified.
39842 - Bugfixes and features:
39843 - Check return value of fclose while writing to disk, so we don't
39844 end up with broken files when servers run out of disk space.
39845 - Log a warning if the user uses an unsafe socks variant, so people
39846 are more likely to learn about privoxy or socat.
39847 - Dirservers now include RFC1123-style dates in the HTTP headers,
39848 which one day we will use to better detect clock skew.
39850 o Changes from 0.0.8pre1:
39851 - Make it compile without warnings again on win32.
39852 - Log a warning if you're running an unverified server, to let you
39853 know you might want to get it verified.
39854 - Only pick a default nickname if you plan to be a server.
39857 Changes in version 0.0.8pre1 - 2004-07-23
39859 - Made our unit tests compile again on OpenBSD 3.5, and tor
39860 itself compile again on OpenBSD on a sparc64.
39861 - We were neglecting milliseconds when logging on win32, so
39862 everything appeared to happen at the beginning of each second.
39864 o Protocol changes:
39865 - 'Extend' relay cell payloads now include the digest of the
39866 intended next hop's identity key. Now we can verify that we're
39867 extending to the right router, and also extend to routers we
39868 hadn't heard of before.
39871 - Tor nodes can now act as relays (with an advertised ORPort)
39872 without being manually verified by the dirserver operators.
39873 - Uploaded descriptors of unverified routers are now accepted
39874 by the dirservers, and included in the directory.
39875 - Verified routers are listed by nickname in the running-routers
39876 list; unverified routers are listed as "$<fingerprint>".
39877 - We now use hash-of-identity-key in most places rather than
39878 nickname or addr:port, for improved security/flexibility.
39879 - To avoid Sybil attacks, paths still use only verified servers.
39880 But now we have a chance to play around with hybrid approaches.
39881 - Nodes track bandwidth usage to estimate capacity (not used yet).
39882 - ClientOnly option for nodes that never want to become servers.
39883 - Directory caching.
39884 - "AuthoritativeDir 1" option for the official dirservers.
39885 - Now other nodes (clients and servers) will cache the latest
39886 directory they've pulled down.
39887 - They can enable their DirPort to serve it to others.
39888 - Clients will pull down a directory from any node with an open
39889 DirPort, and check the signature/timestamp correctly.
39890 - Authoritative dirservers now fetch directories from other
39891 authdirservers, to stay better synced.
39892 - Running-routers list tells who's down also, along with noting
39893 if they're verified (listed by nickname) or unverified (listed
39895 - Allow dirservers to serve running-router list separately.
39896 This isn't used yet.
39897 - ORs connect-on-demand to other ORs
39898 - If you get an extend cell to an OR you're not connected to,
39899 connect, handshake, and forward the create cell.
39900 - The authoritative dirservers stay connected to everybody,
39901 and everybody stays connected to 0.0.7 servers, but otherwise
39902 clients/servers expire unused connections after 5 minutes.
39903 - When servers get a sigint, they delay 30 seconds (refusing new
39904 connections) then exit. A second sigint causes immediate exit.
39905 - File and name management:
39906 - Look for .torrc if no CONFDIR "torrc" is found.
39907 - If no datadir is defined, then choose, make, and secure ~/.tor
39909 - If torrc not found, exitpolicy reject *:*.
39910 - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
39911 - If no nickname is defined, derive default from hostname.
39912 - Rename secret key files, e.g. identity.key -> secret_id_key,
39913 to discourage people from mailing their identity key to tor-ops.
39914 - Refuse to build a circuit before the directory has arrived --
39915 it won't work anyway, since you won't know the right onion keys
39917 - Try other dirservers immediately if the one you try is down. This
39918 should tolerate down dirservers better now.
39919 - Parse tor version numbers so we can do an is-newer-than check
39920 rather than an is-in-the-list check.
39921 - New socks command 'resolve', to let us shim gethostbyname()
39923 - A 'tor_resolve' script to access the socks resolve functionality.
39924 - A new socks-extensions.txt doc file to describe our
39925 interpretation and extensions to the socks protocols.
39926 - Add a ContactInfo option, which gets published in descriptor.
39927 - Publish OR uptime in descriptor (and thus in directory) too.
39928 - Write tor version at the top of each log file
39929 - New docs in the tarball:
39931 - Document that you should proxy your SSL traffic too.
39934 Changes in version 0.0.7.2 - 2004-07-07
39935 o A better fix for the 0.0.0.0 problem, that will hopefully
39936 eliminate the remaining related assertion failures.
39939 Changes in version 0.0.7.1 - 2004-07-04
39940 o When an address resolves to 0.0.0.0, treat it as a failed resolve,
39941 since internally we use 0.0.0.0 to signify "not yet resolved".
39944 Changes in version 0.0.7 - 2004-06-07
39945 o Updated the man page to reflect the new features.
39948 Changes in version 0.0.7rc2 - 2004-06-06
39949 o Changes from 0.0.7rc1:
39950 - Make it build on Win32 again.
39951 o Changes from 0.0.6.2:
39952 - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
39956 Changes in version 0.0.7rc1 - 2004-06-02
39958 - On sighup, we were adding another log without removing the first
39959 one. So log messages would get duplicated n times for n sighups.
39960 - Several cases of using a connection after we'd freed it. The
39961 problem was that connections that are pending resolve are in both
39962 the pending_resolve tree, and also the circuit's resolving_streams
39963 list. When you want to remove one, you must remove it from both.
39964 - Fix a double-mark-for-close where an end cell arrived for a
39965 resolving stream, and then the resolve failed.
39966 - Check directory signatures based on name of signer, not on whom
39967 we got the directory from. This will let us cache directories more
39970 - Crank up some of our constants to handle more users.
39973 Changes in version 0.0.7pre1 - 2004-06-02
39974 o Fixes for crashes and other obnoxious bugs:
39975 - Fix an epipe bug: sometimes when directory connections failed
39976 to connect, we would give them a chance to flush before closing
39978 - When we detached from a circuit because of resolvefailed, we
39979 would immediately try the same circuit twice more, and then
39980 give up on the resolve thinking we'd tried three different
39982 - Limit the number of intro circuits we'll attempt to build for a
39983 hidden service per 15-minute period.
39984 - Check recommended-software string *early*, before actually parsing
39985 the directory. Thus we can detect an obsolete version and exit,
39986 even if the new directory format doesn't parse.
39987 o Fixes for security bugs:
39988 - Remember which nodes are dirservers when you startup, and if a
39989 random OR enables his dirport, don't automatically assume he's
39990 a trusted dirserver.
39992 - Directory connections were asking the wrong poll socket to
39993 start writing, and not asking themselves to start writing.
39994 - When we detached from a circuit because we sent a begin but
39995 didn't get a connected, we would use it again the first time;
39996 but after that we would correctly switch to a different one.
39997 - Stop warning when the first onion decrypt attempt fails; they
39998 will sometimes legitimately fail now that we rotate keys.
39999 - Override unaligned-access-ok check when $host_cpu is ia64 or
40000 arm. Apparently they allow it but the kernel whines.
40001 - Dirservers try to reconnect periodically too, in case connections
40003 - Fix some memory leaks in directory servers.
40004 - Allow backslash in Win32 filenames.
40005 - Made Tor build complain-free on FreeBSD, hopefully without
40006 breaking other BSD builds. We'll see.
40008 - Doxygen markup on all functions and global variables.
40009 - Make directory functions update routerlist, not replace it. So
40010 now directory disagreements are not so critical a problem.
40011 - Remove the upper limit on number of descriptors in a dirserver's
40012 directory (not that we were anywhere close).
40013 - Allow multiple logfiles at different severity ranges.
40014 - Allow *BindAddress to specify ":port" rather than setting *Port
40015 separately. Allow multiple instances of each BindAddress config
40016 option, so you can bind to multiple interfaces if you want.
40017 - Allow multiple exit policy lines, which are processed in order.
40018 Now we don't need that huge line with all the commas in it.
40019 - Enable accept/reject policies on SOCKS connections, so you can bind
40020 to 0.0.0.0 but still control who can use your OP.
40023 Changes in version 0.0.6.2 - 2004-05-16
40024 o Our integrity-checking digest was checking only the most recent cell,
40025 not the previous cells like we'd thought.
40026 Thanks to Stefan Mark for finding the flaw!
40029 Changes in version 0.0.6.1 - 2004-05-06
40030 o Fix two bugs in our AES counter-mode implementation (this affected
40031 onion-level stream encryption, but not TLS-level). It turns
40032 out we were doing something much more akin to a 16-character
40033 polyalphabetic cipher. Oops.
40034 Thanks to Stefan Mark for finding the flaw!
40035 o Retire moria3 as a directory server, and add tor26 as a directory
40039 Changes in version 0.0.6 - 2004-05-02
40040 [version bump only]
40043 Changes in version 0.0.6rc4 - 2004-05-01
40044 o Update the built-in dirservers list to use the new directory format
40045 o Fix a rare seg fault: if a node offering a hidden service attempts
40046 to build a circuit to Alice's rendezvous point and fails before it
40047 reaches the last hop, it retries with a different circuit, but
40049 o Handle windows socket errors correctly.
40052 Changes in version 0.0.6rc3 - 2004-04-28
40053 o Don't expire non-general excess circuits (if we had enough
40054 circuits open, we were expiring rendezvous circuits -- even
40055 when they had a stream attached. oops.)
40056 o Fetch randomness from /dev/urandom better (not via fopen/fread)
40057 o Better debugging for tls errors
40058 o Some versions of openssl have an SSL_pending function that erroneously
40059 returns bytes when there is a non-application record pending.
40060 o Set Content-Type on the directory and hidserv descriptor.
40061 o Remove IVs from cipher code, since AES-ctr has none.
40062 o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
40063 o We were using an array of length zero in a few places.
40064 o win32's gethostbyname can't resolve an IP to an IP.
40065 o win32's close can't close a socket.
40068 Changes in version 0.0.6rc2 - 2004-04-26
40069 o Fix a bug where we were closing tls connections intermittently.
40070 It turns out openssl keeps its errors around -- so if an error
40071 happens, and you don't ask about it, and then another openssl
40072 operation happens and succeeds, and you ask if there was an error,
40073 it tells you about the first error. Fun fun.
40074 o Fix a bug that's been lurking since 27 may 03 (!)
40075 When passing back a destroy cell, we would use the wrong circ id.
40076 'Mostly harmless', but still worth fixing.
40077 o Since we don't support truncateds much, don't bother sending them;
40078 just close the circ.
40079 o check for <machine/limits.h> so we build on NetBSD again (I hope).
40080 o don't crash if a conn that sent a begin has suddenly lost its circuit
40081 (this was quite rare).
40084 Changes in version 0.0.6rc1 - 2004-04-25
40085 o We now rotate link (tls context) keys and onion keys.
40086 o CREATE cells now include oaep padding, so you can tell
40087 if you decrypted them correctly.
40088 o Add bandwidthburst to server descriptor.
40089 o Directories now say which dirserver signed them.
40090 o Use a tor_assert macro that logs failed assertions too.
40093 Changes in version 0.0.6pre5 - 2004-04-18
40094 o changes from 0.0.6pre4:
40095 - make tor build on broken freebsd 5.2 installs
40096 - fix a failed assert when you try an intro point, get a nack, and try
40097 a second one and it works.
40098 - when alice uses a port that the hidden service doesn't accept,
40099 it now sends back an end cell (denied by exit policy). otherwise
40100 alice would just have to wait to time out.
40101 - fix another rare bug: when we had tried all the intro
40102 points for a hidden service, we fetched the descriptor
40103 again, but we left our introcirc thinking it had already
40104 sent an intro, so it kept waiting for a response...
40105 - bugfix: when you sleep your hidden-service laptop, as soon
40106 as it wakes up it tries to upload a service descriptor, but
40107 socketpair fails for some reason (localhost not up yet?).
40108 now we simply give up on that upload, and we'll try again later.
40109 i'd still like to find the bug though.
40110 - if an intro circ waiting for an ack dies before getting one, then
40112 - we were reusing stale service descriptors and refetching usable
40116 Changes in version 0.0.6pre4 - 2004-04-14
40117 o changes from 0.0.6pre3:
40118 - when bob fails to connect to the rendezvous point, and his
40119 circ didn't fail because of the rendezvous point itself, then
40120 he retries a couple of times
40121 - we expire introduction and rendezvous circs more thoroughly
40122 (sometimes they were hanging around forever)
40123 - we expire unattached rendezvous streams that have been around
40124 too long (they were sticking around forever).
40125 - fix a measly fencepost error that was crashing everybody with
40129 Changes in version 0.0.6pre3 - 2004-04-14
40130 o changes from 0.0.6pre2:
40131 - make hup work again
40132 - fix some memory leaks for dirservers
40133 - allow more skew in rendezvous descriptor timestamps, to help
40134 handle people like blanu who don't know what time it is
40135 - normal circs are 3 hops, but some rend/intro circs are 4, if
40136 the initiator doesn't get to choose the last hop
40137 - send acks for introductions, so alice can know whether to try
40139 - bob publishes intro points more correctly
40140 o changes from 0.0.5:
40141 - fix an assert trigger that's been plaguing us since the days
40142 of 0.0.2prexx (thanks weasel!)
40143 - retry stream correctly when we fail to connect because of
40144 exit-policy-reject (should try another) or can't-resolve-address
40145 (also should try another, because dns on random internet servers
40147 - when we hup a dirserver and we've *removed* a server from the
40148 approved-routers list, now we remove that server from the
40149 in-memory directories too
40152 Changes in version 0.0.6pre2 - 2004-04-08
40153 o We fixed our base32 implementation. Now it works on all architectures.
40156 Changes in version 0.0.6pre1 - 2004-04-08
40158 - Hidden services and rendezvous points are implemented. Go to
40159 http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
40160 hidden services. (This only works via a socks4a proxy such as
40161 Privoxy, and currently it's quite slow.)
40164 Changes in version 0.0.5 - 2004-03-30
40165 [version bump only]
40168 Changes in version 0.0.5rc3 - 2004-03-29
40169 o Install torrc as torrc.sample -- we no longer clobber your
40171 o Re-enable recommendedversion checking (we broke it in rc2, oops)
40172 o Add in a 'notice' log level for things the operator should hear
40173 but that aren't warnings
40176 Changes in version 0.0.5rc2 - 2004-03-29
40177 o Hold socks connection open until reply is flushed (if possible)
40178 o Make exit nodes resolve IPs to IPs immediately, rather than asking
40179 the dns farm to do it.
40180 o Fix c99 aliasing warnings in rephist.c
40181 o Don't include server descriptors that are older than 24 hours in the
40183 o Give socks 'reject' replies their whole 15s to attempt to flush,
40184 rather than seeing the 60s timeout and assuming the flush had failed.
40185 o Clean automake droppings from the cvs repository
40188 Changes in version 0.0.5rc1 - 2004-03-28
40189 o Fix mangled-state bug in directory fetching (was causing sigpipes).
40190 o Only build circuits after we've fetched the directory: clients were
40191 using only the directory servers before they'd fetched a directory.
40192 This also means longer startup time; so it goes.
40193 o Fix an assert trigger where an OP would fail to handshake, and we'd
40194 expect it to have a nickname.
40195 o Work around a tsocks bug: do a socks reject when AP connection dies
40196 early, else tsocks goes into an infinite loop.
40199 Changes in version 0.0.4 - 2004-03-26
40200 o When connecting to a dirserver or OR and the network is down,
40204 Changes in version 0.0.3 - 2004-03-26
40205 o Warn and fail if server chose a nickname with illegal characters
40206 o Port to Solaris and Sparc:
40207 - include missing header fcntl.h
40208 - have autoconf find -lsocket -lnsl automatically
40209 - deal with hardware word alignment
40210 - make uname() work (solaris has a different return convention)
40211 - switch from using signal() to sigaction()
40212 o Preliminary work on reputation system:
40213 - Keep statistics on success/fail of connect attempts; they're published
40214 by kill -USR1 currently.
40215 - Add a RunTesting option to try to learn link state by creating test
40216 circuits, even when SocksPort is off.
40217 - Remove unused open circuits when there are too many.
40220 Changes in version 0.0.2 - 2004-03-19
40221 - Include strlcpy and strlcat for safer string ops
40222 - define INADDR_NONE so we compile (but still not run) on solaris
40225 Changes in version 0.0.2pre27 - 2004-03-14
40227 - Allow internal tor networks (we were rejecting internal IPs,
40228 now we allow them if they're set explicitly).
40229 - And fix a few endian issues.
40232 Changes in version 0.0.2pre26 - 2004-03-14
40234 - If a stream times out after 15s without a connected cell, don't
40235 try that circuit again: try a new one.
40236 - Retry streams at most 4 times. Then give up.
40237 - When a dirserver gets a descriptor from an unknown router, it
40238 logs its fingerprint (so the dirserver operator can choose to
40239 accept it even without mail from the server operator).
40240 - Inform unapproved servers when we reject their descriptors.
40241 - Make tor build on Windows again. It works as a client, who knows
40243 - Clearer instructions in the torrc for how to set up a server.
40244 - Be more efficient about reading fd's when our global token bucket
40245 (used for rate limiting) becomes empty.
40247 - Stop asserting that computers always go forward in time. It's
40249 - When we sent a cell (e.g. destroy) and then marked an OR connection
40250 expired, we might close it before finishing a flush if the other
40251 side isn't reading right then.
40252 - Don't allow dirservers to start if they haven't defined
40253 RecommendedVersions
40254 - We were caching transient dns failures. Oops.
40255 - Prevent servers from publishing an internal IP as their address.
40256 - Address a strcat vulnerability in circuit.c
40259 Changes in version 0.0.2pre25 - 2004-03-04
40261 - Put the OR's IP in its router descriptor, not its fqdn. That way
40262 we'll stop being stalled by gethostbyname for nodes with flaky dns,
40265 - If the user typed in an address that didn't resolve, the server
40269 Changes in version 0.0.2pre24 - 2004-03-03
40271 - Fix an assertion failure in dns.c, where we were trying to dequeue
40272 a pending dns resolve even if it wasn't pending
40273 - Fix a spurious socks5 warning about still trying to write after the
40274 connection is finished.
40275 - Hold certain marked_for_close connections open until they're finished
40276 flushing, rather than losing bytes by closing them too early.
40277 - Correctly report the reason for ending a stream
40278 - Remove some duplicate calls to connection_mark_for_close
40279 - Put switch_id and start_daemon earlier in the boot sequence, so it
40280 will actually try to chdir() to options.DataDirectory
40281 - Make 'make test' exit(1) if a test fails; fix some unit tests
40282 - Make tor fail when you use a config option it doesn't know about,
40283 rather than warn and continue.
40284 - Make --version work
40285 - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
40288 Changes in version 0.0.2pre23 - 2004-02-29
40290 - Print a statement when the first circ is finished, so the user
40291 knows it's working.
40292 - If a relay cell is unrecognized at the end of the circuit,
40293 send back a destroy. (So attacks to mutate cells are more
40295 - New config option 'excludenodes' to avoid certain nodes for circuits.
40296 - When it daemonizes, it chdir's to the DataDirectory rather than "/",
40297 so you can collect coredumps there.
40299 - Fix a bug in tls flushing where sometimes data got wedged and
40300 didn't flush until more data got sent. Hopefully this bug was
40301 a big factor in the random delays we were seeing.
40302 - Make 'connected' cells include the resolved IP, so the client
40303 dns cache actually gets populated.
40304 - Disallow changing from ORPort=0 to ORPort>0 on hup.
40305 - When we time-out on a stream and detach from the circuit, send an
40306 end cell down it first.
40307 - Only warn about an unknown router (in exitnodes, entrynodes,
40308 excludenodes) after we've fetched a directory.
40311 Changes in version 0.0.2pre22 - 2004-02-26
40313 - Servers publish less revealing uname information in descriptors.
40314 - More memory tracking and assertions, to crash more usefully when
40316 - If the default torrc isn't there, just use some default defaults.
40317 Plus provide an internal dirservers file if they don't have one.
40318 - When the user tries to use Tor as an http proxy, give them an http
40319 501 failure explaining that we're a socks proxy.
40320 - Dump a new router.desc on hup, to help confused people who change
40321 their exit policies and then wonder why router.desc doesn't reflect
40323 - Clean up the generic tor.sh init script that we ship with.
40325 - If the exit stream is pending on the resolve, and a destroy arrives,
40326 then the stream wasn't getting removed from the pending list. I
40327 think this was the one causing recent server crashes.
40328 - Use a more robust poll on OSX 10.3, since their poll is flaky.
40329 - When it couldn't resolve any dirservers, it was useless from then on.
40330 Now it reloads the RouterFile (or default dirservers) if it has no
40332 - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
40333 many users don't even *have* a /usr/local/sbin/.
40336 Changes in version 0.0.2pre21 - 2004-02-18
40338 - There's a ChangeLog file that actually reflects the changelog.
40339 - There's a 'torify' wrapper script, with an accompanying
40340 tor-tsocks.conf, that simplifies the process of using tsocks for
40341 tor. It even has a man page.
40342 - The tor binary gets installed to sbin rather than bin now.
40343 - Retry streams where the connected cell hasn't arrived in 15 seconds
40344 - Clean up exit policy handling -- get the default out of the torrc,
40345 so we can update it without forcing each server operator to fix
40347 - Allow imaps and pop3s in default exit policy
40349 - Prevent picking middleman nodes as the last node in the circuit
40352 Changes in version 0.0.2pre20 - 2004-01-30
40354 - We now have a deb package, and it's in debian unstable. Go to
40355 it, apt-getters. :)
40356 - I've split the TotalBandwidth option into BandwidthRate (how many
40357 bytes per second you want to allow, long-term) and
40358 BandwidthBurst (how many bytes you will allow at once before the cap
40359 kicks in). This better token bucket approach lets you, say, set
40360 BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
40361 performance while not exceeding your monthly bandwidth quota.
40362 - Push out a tls record's worth of data once you've got it, rather
40363 than waiting until you've read everything waiting to be read. This
40364 may improve performance by pipelining better. We'll see.
40365 - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
40366 from failed circuits (if they haven't been connected yet) and attach
40368 - Expire old streams that haven't managed to connect. Some day we'll
40369 have them reattach to new circuits instead.
40372 - Fix several memory leaks that were causing servers to become bloated
40374 - Fix a few very rare assert triggers. A few more remain.
40375 - Setuid to User _before_ complaining about running as root.
40378 Changes in version 0.0.2pre19 - 2004-01-07
40380 - Fix deadlock condition in dns farm. We were telling a child to die by
40381 closing the parent's file descriptor to him. But newer children were
40382 inheriting the open file descriptor from the parent, and since they
40383 weren't closing it, the socket never closed, so the child never read
40384 eof, so he never knew to exit. Similarly, dns workers were holding
40385 open other sockets, leading to all sorts of chaos.
40386 - New cleaner daemon() code for forking and backgrounding.
40387 - If you log to a file, it now prints an entry at the top of the
40388 logfile so you know it's working.
40389 - The onionskin challenge length was 30 bytes longer than necessary.
40390 - Started to patch up the spec so it's not quite so out of date.
40393 Changes in version 0.0.2pre18 - 2004-01-02
40395 - Fix endian issues with the 'integrity' field in the relay header.
40396 - Fix a potential bug where connections in state
40397 AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
40400 Changes in version 0.0.2pre17 - 2003-12-30
40402 - Made --debuglogfile (or any second log file, actually) work.
40403 - Resolved an edge case in get_unique_circ_id_by_conn where a smart
40404 adversary could force us into an infinite loop.
40407 - Each onionskin handshake now includes a hash of the computed key,
40408 to prove the server's identity and help perfect forward secrecy.
40409 - Changed cell size from 256 to 512 bytes (working toward compatibility
40411 - Changed cell length to 2 bytes, and moved it to the relay header.
40412 - Implemented end-to-end integrity checking for the payloads of
40414 - Separated streamid from 'recognized' (otherwise circuits will get
40415 messed up when we try to have streams exit from the middle). We
40416 use the integrity-checking to confirm that a cell is addressed to
40418 - Randomize the initial circid and streamid values, so an adversary who
40419 breaks into a node can't learn how many circuits or streams have
40423 Changes in version 0.0.2pre16 - 2003-12-14
40425 - Fixed a bug that made HUP trigger an assert
40426 - Fixed a bug where a circuit that immediately failed wasn't being
40427 counted as a failed circuit in counting retries.
40430 - Now we close the circuit when we get a truncated cell: otherwise we're
40431 open to an anonymity attack where a bad node in the path truncates
40432 the circuit and then we open streams at him.
40433 - Add port ranges to exit policies
40434 - Add a conservative default exit policy
40435 - Warn if you're running tor as root
40436 - on HUP, retry OR connections and close/rebind listeners
40437 - options.EntryNodes: try these nodes first when picking the first node
40438 - options.ExitNodes: if your best choices happen to include any of
40439 your preferred exit nodes, you choose among just those preferred
40441 - options.ExcludedNodes: nodes that are never picked in path building
40444 Changes in version 0.0.2pre15 - 2003-12-03
40445 o Robustness and bugfixes:
40446 - Sometimes clients would cache incorrect DNS resolves, which would
40447 really screw things up.
40448 - An OP that goes offline would slowly leak all its sockets and stop
40450 - A wide variety of bugfixes in exit node selection, exit policy
40451 handling, and processing pending streams when a new circuit is
40453 - Pick nodes for a path only from those the directory says are up
40454 - Choose randomly from all running dirservers, not always the first one
40455 - Increase allowed http header size for directory fetch.
40456 - Stop writing to stderr (if we're daemonized it will be closed).
40457 - Enable -g always, so cores will be more useful to me.
40458 - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
40461 - Wrote a man page. It lists commonly used options.
40464 - Change default loglevel to warn.
40465 - Make PidFile default to null rather than littering in your CWD.
40466 - OnionRouter config option is now obsolete. Instead it just checks
40468 - Moved to a single unified torrc file for both clients and servers.
40471 Changes in version 0.0.2pre14 - 2003-11-29
40472 o Robustness and bugfixes:
40473 - Force the admin to make the DataDirectory himself
40474 - to get ownership/permissions right
40475 - so clients no longer make a DataDirectory and then never use it
40476 - fix bug where a client who was offline for 45 minutes would never
40477 pull down a directory again
40478 - fix (or at least hide really well) the dns assert bug that was
40479 causing server crashes
40480 - warnings and improved robustness wrt clockskew for certs
40481 - use the native daemon(3) to daemonize, when available
40482 - exit if bind() fails
40483 - exit if neither socksport nor orport is defined
40484 - include our own tor_timegm (Win32 doesn't have its own)
40485 - bugfix for win32 with lots of connections
40486 - fix minor bias in PRNG
40487 - make dirserver more robust to corrupt cached directory
40490 - Wrote the design document (woo)
40492 o Circuit building and exit policies:
40493 - Circuits no longer try to use nodes that the directory has told them
40495 - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
40496 bitcounts (18.0.0.0/8).
40497 - Make AP connections standby for a circuit if no suitable circuit
40498 exists, rather than failing
40499 - Circuits choose exit node based on addr/port, exit policies, and
40500 which AP connections are standing by
40501 - Bump min pathlen from 2 to 3
40502 - Relay end cells have a payload to describe why the stream ended.
40503 - If the stream failed because of exit policy, try again with a new
40505 - Clients have a dns cache to remember resolved addresses.
40506 - Notice more quickly when we have no working circuits
40509 - APPort is now called SocksPort
40510 - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
40512 - RecommendedVersions is now a config variable rather than
40513 hardcoded (for dirservers)
40514 - Reloads config on HUP
40515 - Usage info on -h or --help
40516 - If you set User and Group config vars, it'll setu/gid to them.
40519 Changes in version 0.0.2pre13 - 2003-10-19
40520 o General stability:
40521 - SSL_write no longer fails when it returns WANTWRITE and the number
40522 of bytes in the buf has changed by the next SSL_write call.
40523 - Fix segfault fetching directory when network is down
40524 - Fix a variety of minor memory leaks
40525 - Dirservers reload the fingerprints file on HUP, so I don't have
40526 to take down the network when I approve a new router
40527 - Default server config file has explicit Address line to specify fqdn
40530 - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
40531 - Make listener connections not ever alloc bufs
40533 o Autoconf improvements:
40534 - don't clobber an external CFLAGS in ./configure
40535 - Make install now works
40536 - create var/lib/tor on make install
40537 - autocreate a tor.sh initscript to help distribs
40538 - autocreate the torrc and sample-server-torrc with correct paths
40540 o Log files and Daemonizing now work:
40541 - If --DebugLogFile is specified, log to it at -l debug
40542 - If --LogFile is specified, use it instead of commandline
40543 - If --RunAsDaemon is set, tor forks and backgrounds on startup