1 Changes in version 0.4.9.1-alpha - 2024-12-03
2 This is the first alpha of the 0.4.9.x series. This release mostly consists
3 of bugfixes including some major ones. There are several minor features in
4 this release but no large new subsystem.
6 o Major bugfixes (sandbox):
7 - Fix sandbox to work on architectures that use Linux's generic
8 syscall interface, extending support for AArch64 (ARM64) and
9 adding support for RISC-V, allowing test_include.sh and the
10 sandbox unit tests to pass on these systems even when building
11 with fragile hardening enabled. Fixes bugs 40465 and 40599; bugfix
14 o Minor feature (defense in depth):
15 - Verify needle is smaller than haystack before calling memmem.
18 o Minor feature (directory authority):
19 - Introduce MinimalAcceptedServerVersion to allow modification of
20 minimal accepted version for relays without requiring a new tor
21 release. Closes ticket 40817.
23 o Minor feature (exit policies):
24 - Implement reevaluating new exit policy against existing
25 connections. This is controlled by new config option
26 ReevaluateExitPolicy, defaulting to 0. Closes ticket 40676.
28 o Minor feature (exit relay, DoS resitance):
29 - Implement a token-bucket based rate limiter for stream creation
30 and resolve request. It is configured by the DoSStream* family of
31 configuration options. Closes ticket 40736.
33 o Minor feature (metrics port):
34 - New metrics on the MetricsPort for the number of BUG() that
35 occurred at runtime. Closes MR 760.
37 o Minor feature (metrics port, relay):
38 - Add new metrics for relays on the MetricsPort namely the count of
39 drop cell, destroy cell and the number of circuit protocol
40 violation seen that lead to a circuit close. Closes ticket 40816.
42 o Minor feature (testing):
43 - test-network now unconditionally includes IPv6 instead of trying
44 to detect IPv6 support.
46 o Minor feature (testing, CI):
47 - Use a fixed version of chutney (be881a1e) instead of its current
48 HEAD. This version should also be preferred when testing locally.
50 o Minor features (forward-compatibility):
51 - We now correctly parse microdescriptors and router descriptors
52 that do not include TAP onion keys. (For backward compatibility,
53 authorities continue to require these keys.) Implements part of
56 o Minor features (portability, android):
57 - Use /data/local/tmp for data storage on Android by default. Closes
58 ticket 40487. Patch from Hans-Christoph Steiner.
60 o Minor features (SOCKS):
61 - Detect invalid SOCKS5 username/password combinations according to
62 new extended parameters syntax. (Currently, this rejects any
63 SOCKS5 username beginning with "<torS0X>", except for the username
64 "<torS0X>0". Such usernames are now reserved to communicate
65 additional parameters with other Tor implementations.) Implements
68 o Minor bugfix (MetricsPort, relay):
69 - Handle rephist tracking of ntor and ntor_v3 handshakes
70 individually such that MetricsPort exposes the correct values.
71 Fixes bug 40638; bugfix on 0.4.7.11.
73 o Minor bugfix (process):
74 - Avoid closing all possible FDs when spawning a process (PT). On
75 some systems, this could lead to 3+ minutes hang. Fixes bug 40990;
76 bugfix on 0.3.5.1-alpha.
78 o Minor bugfix (relay, sandbox):
79 - Disable a sandbox unit test that is failing on Debian Sid breaking
80 our nightly packages. Fixes bug 40918; bugfix on 0.3.5.1-alpha.
82 o Minor bugfixes (bridge):
83 - Don't warn when BridgeRelay is 1 and ExitRelay is explicitly set
84 to 0. Fixes bug 40884; bugfix on 0.4.8.3-rc.
86 o Minor bugfixes (compiler warnings):
87 - Make sure the two bitfields in the half-closed edge struct are
88 unsigned, as we're using them for boolean values and assign 1 to
89 them. Fixes bug 40911; bugfix on 0.4.7.2-alpha.
91 o Minor bugfixes (conflux, client):
92 - Avoid a non fatal assert caused by data coming in on a conflux set
93 that is being freed during shutdown. Fixes bug 40870; bugfix
96 o Minor bugfixes (memory):
97 - Fix a pointer free that wasn't set to NULL afterwards which could
98 be reused by calling back in the free all function. Fixes bug
99 40989; bugfix on 0.4.8.13.
101 o Minor bugfixes (sandbox, bwauth):
102 - Fix sandbox to work for bandwidth authority. Fixes bug 40933;
103 bugfix on 0.2.2.1-alpha
105 o Minor bugfixes (testing):
106 - Enabling TestingTorNetwork no longer forces fast hidden service
107 intro point rotation. This reduces noise and errors when using
108 hidden services with TestingTorNetwork enabled. Fixes bug 40922;
109 bugfix on 0.3.2.1-alpha.
111 o Minor bugfixes (tor-resolve):
112 - Create socket with correct family as given by sockshost, fixes
113 IPv6. Fixes bug 40982; bugfix on 0.4.9.0-alpha.
116 - Directory authorities no longer support consensus methods before
117 method 32. Closes ticket 40835.
119 o Removed features (directory authority):
120 - We include a new consensus method that removes support for
121 computing "package" lines in consensus documents. This feature was
122 never used, and support for including it in our votes was removed
123 in 0.4.2.1-alpha. Finishes implementation of proposal 301.
125 o Removed features (obsolete):
126 - Relays no longer support the obsolete TAP circuit extension
127 protocol. (For backward compatibility, however, relays still
128 continue to include TAP keys in their descriptors.) Implements
129 part of proposal 350.
130 - Removed some vestigial code for selecting the TAP circuit
134 Changes in version 0.4.8.13 - 2024-10-24
135 This is minor release fixing an important client circuit building (Conflux
136 related) bug which lead to performance degradation and extra load on the
137 network. Some minor memory leaks fixes as well as an important minor feature
138 for pluggable transports. We strongly recommend to update as soon as possible
139 for clients in order to neutralize this conflux bug.
141 o Major bugfixes (circuit building):
142 - Conflux circuit building was ignoring the "predicted ports"
143 feature, which aims to make Tor stop building circuits if there
144 have been no user requests lately. This bug led to every idle Tor
145 on the network building and discarding circuits every 30 seconds,
146 which added overall load to the network, used bandwidth and
147 battery from clients that weren't actively using their Tor, and
148 kept sockets open on guards which added connection padding
149 essentially forever. Fixes bug 40981; bugfix on 0.4.8.1-alpha;
151 o Minor feature (bridges, pluggable transport):
152 - Add STATUS TYPE=version handler for Pluggable Transport. This
153 allows us to gather version statistics on Pluggable Transport
154 usage from bridge servers on our metrics portal. Closes
157 o Minor features (fallbackdir):
158 - Regenerate fallback directories generated on October 24, 2024.
160 o Minor features (geoip data):
161 - Update the geoip files to match the IPFire Location Database, as
162 retrieved on 2024/10/24.
164 o Minor bugfixes (memleak, authority):
165 - Fix a small memleak when computing a new consensus. This only
166 affects directory authorities. Fixes bug 40966; bugfix
169 o Minor bugfixes (memory):
170 - Fix memory leaks of the CPU worker code during shutdown. Fixes bug
171 833; bugfix on 0.3.5.1-alpha.
174 Changes in version 0.4.8.12 - 2024-06-06
175 This is a minor release with couple bugfixes affecting conflux and logging.
176 We also have the return of faravahar directory authority with new keys and
179 o Minor feature (dirauth):
180 - Add back faravahar with a new address and new keys. Closes 40689.
182 o Minor features (fallbackdir):
183 - Regenerate fallback directories generated on June 06, 2024.
185 o Minor features (geoip data):
186 - Update the geoip files to match the IPFire Location Database, as
187 retrieved on 2024/06/06.
189 o Minor bugfix (circuit):
190 - Remove a log_warn being triggered by a protocol violation that
191 already emits a protocol warning log. Fixes bug 40932; bugfix
194 o Minor bugfixes (conflux):
195 - Avoid a potential hard assert (crash) when sending a cell on a
196 Conflux set. Fixes bug 40921; bugfix on 0.4.8.1-alpha.
197 - Make sure we don't process a closed circuit when packaging data.
198 This lead to a non fatal BUG() spamming logs. Fixes bug 40908;
199 bugfix on 0.4.8.1-alpha.
202 Changes in version 0.4.8.11 - 2024-04-10
203 This is a minor release mostly to upgrade the fallbackdir list.
204 Directory authorities running this version will now automatically
205 reject relays running the end of life 0.4.7.x version.
207 o Minor features (directory authorities):
208 - Reject 0.4.7.x series at the authority level. Closes ticket 40896.
209 - New IP address and keys for tor26.
210 - Allow BandwidthFiles "node_id" KeyValue without the dollar sign at
211 the start of the hexdigit, in order to easier database queries
212 combining Tor documents in which the relays fingerprint does not
213 include it. Fixes bug 40891; bugfix on 0.4.7 (all supported
216 o Minor features (fallbackdir):
217 - Regenerate fallback directories generated on April 10, 2024.
219 o Minor features (geoip data):
220 - Update the geoip files to match the IPFire Location Database, as
221 retrieved on 2024/04/10.
223 o Minor bugfixes (directory authorities):
224 - Add a warning when publishing a vote or signatures to another
225 directory authority fails. Fixes bug 40910; bugfix on 0.2.0.3-alpha.
228 Changes in version 0.4.8.10 - 2023-12-08
229 This is a security release fixing a high severity bug (TROVE-2023-007)
230 affecting Exit relays supporting Conflux. We strongly recommend to update as
233 o Major bugfixes (TROVE-2023-007, exit):
234 - Improper error propagation from a safety check in conflux leg
235 linking led to a desynchronization of which legs were part of a
236 conflux set, ultimately causing a UAF and NULL pointer dereference
237 crash on Exit relays. Fixes bug 40897; bugfix on 0.4.8.1-alpha.
239 o Minor features (fallbackdir):
240 - Regenerate fallback directories generated on December 08, 2023.
242 o Minor features (geoip data):
243 - Update the geoip files to match the IPFire Location Database, as
244 retrieved on 2023/12/08.
246 o Minor bugfixes (bridges, statistics):
247 - Correctly report statistics for client count over pluggable
248 transports. Fixes bug 40871; bugfix on 0.4.8.4.
251 Changes in version 0.4.8.9 - 2023-11-09
252 This is another security release fixing a high severity bug affecting onion
253 services which is tracked by TROVE-2023-006. We are also releasing a guard
254 major bugfix as well. If you are an onion service operator, we strongly
255 recommend to update as soon as possible.
257 o Major bugfixes (guard usage):
258 - When Tor excluded a guard due to temporary circuit restrictions,
259 it considered *additional* primary guards for potential usage by
260 that circuit. This could result in more than the specified number
261 of guards (currently 2) being used, long-term, by the tor client.
262 This could happen when a Guard was also selected as an Exit node,
263 but it was exacerbated by the Conflux guard restrictions. Both
264 instances have been fixed. Fixes bug 40876; bugfix
267 o Major bugfixes (onion service, TROVE-2023-006):
268 - Fix a possible hard assert on a NULL pointer when recording a
269 failed rendezvous circuit on the service side for the MetricsPort.
270 Fixes bug 40883; bugfix on 0.4.8.1-alpha.
272 o Minor features (fallbackdir):
273 - Regenerate fallback directories generated on November 09, 2023.
275 o Minor features (geoip data):
276 - Update the geoip files to match the IPFire Location Database, as
277 retrieved on 2023/11/09.
280 Changes in version 0.4.8.8 - 2023-11-03
281 We are releasing today a fix for a high security issue, TROVE-2023-004, that
282 is affecting relays. Also a few minor bugfixes detailed below. Please upgrade
283 as soon as posssible.
285 o Major bugfixes (TROVE-2023-004, relay):
286 - Mitigate an issue when Tor compiled with OpenSSL can crash during
287 handshake with a remote relay. Fixes bug 40874; bugfix
290 o Minor features (fallbackdir):
291 - Regenerate fallback directories generated on November 03, 2023.
293 o Minor features (geoip data):
294 - Update the geoip files to match the IPFire Location Database, as
295 retrieved on 2023/11/03.
297 o Minor bugfixes (directory authority):
298 - Look at the network parameter "maxunmeasuredbw" with the correct
299 spelling. Fixes bug 40869; bugfix on 0.4.6.1-alpha.
301 o Minor bugfixes (vanguards addon support):
302 - Count the conflux linked cell as valid when it is successfully
303 processed. This will quiet a spurious warn in the vanguards addon.
304 Fixes bug 40878; bugfix on 0.4.8.1-alpha.
307 Changes in version 0.4.8.7 - 2023-09-25
308 This version fixes a single major bug in the Conflux subsystem on the client
309 side. See below for more information. The upcoming Tor Browser 13 stable will
312 o Major bugfixes (conflux):
313 - Fix an issue that prevented us from pre-building more conflux sets
314 after existing sets had been used. Fixes bug 40862; bugfix
317 o Minor features (fallbackdir):
318 - Regenerate fallback directories generated on September 25, 2023.
320 o Minor features (geoip data):
321 - Update the geoip files to match the IPFire Location Database, as
322 retrieved on 2023/09/25.
325 Changes in version 0.4.8.6 - 2023-09-18
326 This version contains an important fix for onion service regarding congestion
327 control and its reliability. Apart from that, unneeded BUG warnings have been
328 suppressed especially about a compression bomb seen on relays. We strongly
329 recommend, in particular onion service operators, to upgrade as soon as
330 possible to this latest stable.
332 o Major bugfixes (onion service):
333 - Fix a reliability issue where services were expiring their
334 introduction points every consensus update. This caused
335 connectivity issues for clients caching the old descriptor and
336 intro points. Bug reported and fixed by gitlab user
337 @hyunsoo.kim676. Fixes bug 40858; bugfix on 0.4.7.5-alpha.
339 o Minor features (debugging, compression):
340 - Log the input and output buffer sizes when we detect a potential
341 compression bomb. Diagnostic for ticket 40739.
343 o Minor features (fallbackdir):
344 - Regenerate fallback directories generated on September 18, 2023.
346 o Minor features (geoip data):
347 - Update the geoip files to match the IPFire Location Database, as
348 retrieved on 2023/09/18.
350 o Minor bugfix (defensive programming):
351 - Disable multiple BUG warnings of a missing relay identity key when
352 starting an instance of Tor compiled without relay support. Fixes
353 bug 40848; bugfix on 0.4.3.1-alpha.
355 o Minor bugfixes (bridge authority):
356 - When reporting a pseudo-networkstatus as a bridge authority, or
357 answering "ns/purpose/*" controller requests, include accurate
358 published-on dates from our list of router descriptors. Fixes bug
359 40855; bugfix on 0.4.8.1-alpha.
361 o Minor bugfixes (compression, zstd):
362 - Use less frightening language and lower the log-level of our run-
363 time ABI compatibility check message in our Zstd compression
364 subsystem. Fixes bug 40815; bugfix on 0.4.3.1-alpha.
367 Changes in version 0.4.8.5 - 2023-08-30
368 Quick second release after the first stable few days ago fixing minor
369 annoying bugfixes creating log BUG stacktrace. We also fix BSD compilation
370 failures and PoW unit test.
372 o Minor features (fallbackdir):
373 - Regenerate fallback directories generated on August 30, 2023.
375 o Minor features (geoip data):
376 - Update the geoip files to match the IPFire Location Database, as
377 retrieved on 2023/08/30.
379 o Minor bugfix (NetBSD, compilation):
380 - Fix compilation issue on NetBSD by avoiding an unnecessary
381 dependency on "huge" page mappings in Equi-X. Fixes bug 40843;
382 bugfix on 0.4.8.1-alpha.
384 o Minor bugfix (NetBSD, testing):
385 - Fix test failures in "crypto/hashx" and "slow/crypto/equix" on
386 x86_64 and aarch64 NetBSD hosts, by adding support for
387 PROT_MPROTECT() flags. Fixes bug 40844; bugfix on 0.4.8.1-alpha.
389 o Minor bugfixes (conflux):
390 - Demote a relay-side warn about too many legs to ProtocolWarn, as
391 there are conditions that it can briefly happen during set
392 construction. Also add additional set logging details for all
393 error cases. Fixes bug 40841; bugfix on 0.4.8.1-alpha.
394 - Prevent non-fatal assert stacktrace caused by using conflux sets
395 during their teardown process. Fixes bug 40842; bugfix
399 Changes in version 0.4.8.4 - 2023-08-23
400 Finally, this is the very first stable release of the 0.4.8.x series making
401 Proof-of-Work (prop#327) and Conflux (prop#329) available to the entire
402 network. Some major bugfixes since the release candidate detailed below.
404 o Major feature (denial of service):
405 - Extend DoS protection to partially opened channels and known
406 relays. Because re-entry is not allowed anymore, we can apply DoS
407 protections onto known IP namely relays. Fixes bug 40821; bugfix
410 o Major bugfixes (conflux):
411 - Fix a relay-side crash caused by side effects of the fix for bug
412 40827. Reverts part of that fix that caused the crash and adds
413 additional log messages to help find the root cause. Fixes bug
414 40834; bugfix on 0.4.8.3-rc.
416 o Major bugfixes (proof of work, onion service, hashx):
417 - Fix a very rare buffer overflow in hashx, specific to the dynamic
418 compiler on aarch64 platforms. Fixes bug 40833; bugfix
421 o Minor features (fallbackdir):
422 - Regenerate fallback directories generated on August 23, 2023.
424 o Minor features (geoip data):
425 - Update the geoip files to match the IPFire Location Database, as
426 retrieved on 2023/08/23.
428 o Minor features (testing):
429 - All Rust code is now linted (cargo clippy) as part of GitLab CI, and
430 existing warnings have been fixed. - Any unit tests written in Rust now
431 run as part of GitLab CI.
433 o Minor bugfix (FreeBSD, compilation):
434 - Fix compilation issue on FreeBSD by properly importing
435 sys/param.h. Fixes bug 40825; bugfix on 0.4.8.1-alpha.
437 o Minor bugfixes (compression):
438 - Right after compression/decompression work is done, check for
439 errors. Before this, we would consider compression bomb before
440 that and then looking for errors leading to false positive on that
441 log warning. Fixes bug 40739; bugfix on 0.3.5.1-alpha. Patch
445 Changes in version 0.4.8.3-rc - 2023-08-04
446 This is the first release candidate (and likely the only) of the 0.4.8.x
447 series. We fixed a major conflux bugfix which was a fatal asserts on the
448 relay Exit side. See below for more details. Couple minor bugfixes. Until
449 stable, name of the game here is stabilization.
451 o Major bugfixes (conflux):
452 - Fix a relay-side assert crash caused by attempts to use a conflux
453 circuit between circuit close and free, such that no legs were on
454 the conflux set. Fixed by nulling out the stream's circuit back-
455 pointer when the last leg is removed. Additional checks and log
456 messages have been added to detect other cases. Fixes bug 40827;
457 bugfix on 0.4.8.1-alpha.
459 o Minor features (fallbackdir):
460 - Regenerate fallback directories generated on August 04, 2023.
461 - Regenerate fallback directories generated on July 26, 2023.
463 o Minor features (geoip data):
464 - Update the geoip files to match the IPFire Location Database, as
465 retrieved on 2023/07/26.
466 - Update the geoip files to match the IPFire Location Database, as
467 retrieved on 2023/08/04.
469 o Minor features (bridge):
470 - warn when a bridge is also configure to be an exit relay.
473 o Minor bugfixes (compilation):
474 - Fix all -Werror=enum-int-mismatch warnings. No behavior change.
475 Fixes bug 40824; bugfix on 0.3.5.1-alpha.
477 o Minor bugfixes (protocol warn):
478 - Wrap a handful of cases where ProtocolWarning logs could emit IP
479 addresses. Fixes bug 40828; bugfix on 0.3.5.1-alpha.
482 Changes in version 0.4.8.2-alpha - 2023-07-12
483 This is our second alpha containing some minor bugfixes and one major bugfix
484 about L2 vanguard rotation. We believe this will be the last alpha before the
485 rc in a couple of weeks.
487 o Major bugfixes (vanguards):
488 - Rotate to a new L2 vanguard whenever an existing one loses the
489 Stable or Fast flag. Previously, we would leave these relays in
490 the L2 vanguard list but never use them, and if all of our
491 vanguards end up like this we wouldn't have any middle nodes left
492 to choose from so we would fail to make onion-related circuits.
493 Fixes bug 40805; bugfix on 0.4.7.1-alpha.
495 o Minor feature (hs):
496 - Fix compiler warnings in equix and hashx when building with clang.
499 o Minor features (fallbackdir):
500 - Regenerate fallback directories generated on July 12, 2023.
502 o Minor features (geoip data):
503 - Update the geoip files to match the IPFire Location Database, as
504 retrieved on 2023/07/12.
506 o Minor bugfix (congestion control):
507 - Reduce the accepted range of a circuit's negotiated 'cc_sendme_inc'
508 to be +/- 1 from the consensus parameter value. Fixes bug 40569;
509 bugfix on 0.4.7.4-alpha.
510 - Remove unused congestion control algorithms and BDP calculation
511 code, now that we have settled on and fully tuned Vegas. Fixes bug
512 40566; bugfix on 0.4.7.4-alpha.
513 - Update default congestion control parameters to match consensus.
514 Fixes bug 40709; bugfix on 0.4.7.4-alpha.
516 o Minor bugfixes (compilation):
517 - Fix "initializer is not a constant" compilation error that
518 manifests itself on gcc versions < 8.1 and MSVC. Fixes bug 40773;
519 bugfix on 0.4.8.1-alpha
521 o Minor bugfixes (conflux):
522 - Count leg launch attempts prior to attempting to launch them. This
523 avoids inifinite launch attempts due to internal circuit building
524 failures. Additionally, double-check that we have enough exits in
525 our consensus overall, before attempting to launch conflux sets.
526 Fixes bug 40811; bugfix on 0.4.8.1-alpha.
527 - Fix a case where we were resuming reading on edge connections that
528 were already marked for close. Fixes bug 40801; bugfix
530 - Fix stream attachment order when creating conflux circuits, so
531 that stream attachment happens after finishing the full link
532 handshake, rather than upon set finalization. Fixes bug 40801;
533 bugfix on 0.4.8.1-alpha.
534 - Handle legs being closed or destroyed before computing an RTT
535 (resulting in warns about too many legs). Fixes bug 40810; bugfix
537 - Remove a "BUG" warning from conflux_pick_first_leg that can be
538 triggered by broken or malicious clients. Fixes bug 40801; bugfix
541 o Minor bugfixes (KIST):
542 - Prevent KISTSchedRunInterval from having values of 0 or 1, neither
543 of which work properly. Additionally, make a separate
544 KISTSchedRunIntervalClient parameter, so that the client and relay
545 KIST values can be set separately. Set the default of both to 2ms.
546 Fixes bug 40808; bugfix on 0.3.2.1-alpha.
549 Changes in version 0.4.8.1-alpha - 2023-06-01
550 This is the first alpha of the 0.4.8.x series. Two major features in this
551 version which are Conflux and onion service Proof-of-Work (PoW). There are
552 also many small features in particular, worth noting, the MetricsPort is now
553 exporting more relay and onion service metrics. Finally, there are
554 also numerous minor bugfixes included in this version.
556 o Major features (onion service, proof-of-work):
557 - Implement proposal 327 (Proof-Of-Work). This is aimed at thwarting
558 introduction flooding DoS attacks by introducing a dynamic Proof-Of-Work
559 protocol that occurs over introduction circuits. This introduces several
560 torrc options prefixed with "HiddenServicePoW" in order to control this
561 feature. By default, this is disabled. Closes ticket 40634.
563 o Major features (conflux):
564 - Implement Proposal 329 (conflux traffic splitting). Conflux splits
565 traffic across two circuits to Exits that support the protocol.
566 These circuits are pre-built only, which means that if the pre-
567 built conflux pool runs out, regular circuits will then be used.
568 When using conflux circuit pairs, clients choose the lower-latency
569 circuit to send data to the Exit. When the Exit sends data to the
570 client, it maximizes throughput, by fully utilizing both circuits
571 in a multiplexed fashion. Alternatively, clients can request that
572 the Exit optimize for latency when transmitting to them, by
573 setting the torrc option 'ConfluxClientUX latency'. Onion services
574 are not currently supported, but will be in arti. Many other
575 future optimizations will also be possible using this protocol.
578 o Major features (dirauth):
579 - Directory authorities and relays now interact properly with
580 directory authorities if they change addresses. In the past, they
581 would continue to upload votes, signatures, descriptors, etc to
582 the hard-coded address in the configuration. Now, if the directory
583 authority is listed in the consensus at a different address, they
584 will direct queries to this new address. Implements ticket 40705.
586 o Minor feature (CI):
587 - Update CI to use Debian Bullseye for runners.
589 o Minor feature (client, IPv6):
590 - Make client able to pick IPv6 relays by default now meaning
591 ClientUseIPv6 option now defaults to 1. Closes ticket 40785.
593 o Minor feature (compilation):
594 - Fix returning something other than "Unknown N/A" as libc version
595 if we build tor on an O.S. like DragonFlyBSD, FreeBSD, OpenBSD
598 o Minor feature (cpuworker):
599 - Always use the number of threads for our CPU worker pool to the
600 number of core available but cap it to a minimum of 2 in case of a
601 single core. Fixes bug 40713; bugfix on 0.3.5.1-alpha.
603 o Minor feature (lzma):
604 - Fix compiler warnings for liblzma >= 5.3.1. Closes ticket 40741.
606 o Minor feature (MetricsPort, relay):
607 - Expose time until online keys expires on the MetricsPort. Closes
610 o Minor feature (MetricsPort, relay, onion service):
611 - Add metrics for the relay side onion service interactions counting
612 seen cells. Closes ticket 40797. Patch by "friendly73".
614 o Minor features (directory authorities):
615 - Directory authorities now include their AuthDirMaxServersPerAddr
616 config option in the consensus parameter section of their vote.
617 Now external tools can better predict how they will behave.
618 Implements ticket 40753.
620 o Minor features (directory authority):
621 - Add a new consensus method in which the "published" times on
622 router entries in a microdesc consensus are all set to a
623 meaningless fixed date. Doing this will make the download size for
624 compressed microdesc consensus diffs much smaller. Part of ticket
625 40130; implements proposal 275.
627 o Minor features (network documents):
628 - Clients and relays no longer track the "published on" time
629 declared for relays in any consensus documents. When reporting
630 this time on the control port, they instead report a fixed date in
631 the future. Part of ticket 40130.
633 o Minor features (fallbackdir):
634 - Regenerate fallback directories generated on June 01, 2023.
636 o Minor features (geoip data):
637 - Update the geoip files to match the IPFire Location Database, as
638 retrieved on 2023/06/01.
640 o Minor features (hs, metrics):
641 - Add tor_hs_rend_circ_build_time and tor_hs_intro_circ_build_time
642 histograms to measure hidden service rend/intro circuit build time
643 durations. Part of ticket 40757.
645 o Minor features (metrics):
646 - Add a `reason` label to the HS error metrics. Closes ticket 40758.
647 - Add service side metrics for REND and introduction request
648 failures. Closes ticket 40755.
649 - Add support for histograms. Part of ticket 40757.
651 o Minor features (pluggable transports):
652 - Automatically restart managed Pluggable Transport processes when
653 their process terminate. Resolves ticket 33669.
655 o Minor features (portability, compilation):
656 - Use OpenSSL 1.1 APIs for LibreSSL, fixing LibreSSL 3.5
657 compatibility. Fixes issue 40630; patch by Alex Xu (Hello71).
659 o Minor features (relay):
660 - Do not warn about configuration options that may expose a non-
661 anonymous onion service. Closes ticket 40691.
663 o Minor features (relays):
664 - Trigger OOS when bind fails with EADDRINUSE. This improves
665 fairness when a large number of exit connections are requested,
666 and properly signals exhaustion to the network. Fixes issue 40597;
667 patch by Alex Xu (Hello71).
669 o Minor features (tests):
670 - Avoid needless key reinitialization with OpenSSL during unit
671 tests, saving significant time. Patch from Alex Xu.
673 o Minor bugfix (relay, logging):
674 - The wrong max queue cell size was used in a protocol warning
675 logging statement. Fixes bug 40745; bugfix on 0.4.7.1-alpha.
677 o Minor bugfixes (logging):
678 - Avoid ""double-quoting"" strings in several log messages. Fixes
679 bug 22723; bugfix on 0.1.2.2-alpha.
680 - Correct a log message when cleaning microdescriptors. Fixes bug
681 40619; bugfix on 0.2.5.4-alpha.
683 o Minor bugfixes (metrics):
684 - Decrement hs_intro_established_count on introduction circuit
685 close. Fixes bug 40751; bugfix on 0.4.7.12.
687 o Minor bugfixes (pluggable transports, windows):
688 - Remove a warning `BUG()` that could occur when attempting to
689 execute a non-existing pluggable transport on Windows. Fixes bug
690 40596; bugfix on 0.4.0.1-alpha.
692 o Minor bugfixes (relay):
693 - Remove a "BUG" warning for an acceptable race between a circuit
694 close and considering that circuit active. Fixes bug 40647; bugfix
696 - Remove a harmless "Bug" log message that can happen in
697 relay_addr_learn_from_dirauth() on relays during startup. Finishes
698 fixing bug 40231. Fixes bug 40523; bugfix on 0.4.5.4-rc.
700 o Minor bugfixes (sandbox):
701 - Allow membarrier for the sandbox. And allow rt_sigprocmask when
702 compiled with LTTng. Fixes bug 40799; bugfix on 0.3.5.1-alpha.
703 - Fix sandbox support on AArch64 systems. More "*at" variants of
704 syscalls are now supported. Signed 32 bit syscall parameters are
705 checked more precisely, which should lead to lower likelihood of
706 breakages with future compiler and libc releases. Fixes bug 40599;
707 bugfix on 0.4.4.3-alpha.
709 o Minor bugfixes (state file):
710 - Avoid a segfault if the state file doesn't contains TotalBuildTimes
711 along CircuitBuildAbandonedCount being above 0. Fixes bug 40437;
712 bugfix on 0.3.5.1-alpha.
715 - Remove the RendPostPeriod option. This was primarily used in
716 Version 2 Onion Services and after its deprecation isn't needed
717 anymore. Closes ticket 40431. Patch by Neel Chauhan.
720 Changes in version 0.4.7.13 - 2023-01-12
721 This version contains three major bugfixes, two for relays and one for
722 client being a security fix, TROVE-2022-002. We have added, for Linux, the
723 support for IP_BIND_ADDRESS_NO_PORT for relays using OutboundBindAddress.
724 We strongly recommend to upgrade to this version considering the important
725 congestion control fix detailed below.
727 o Major bugfixes (congestion control):
728 - Avoid incrementing the congestion window when the window is not
729 fully in use. Thia prevents overshoot in cases where long periods
730 of low activity would allow our congestion window to grow, and
731 then get followed by a burst, which would cause queue overload.
732 Also improve the increment checks for RFC3742. Fixes bug 40732;
733 bugfix on 0.4.7.5-alpha.
735 o Major bugfixes (relay):
736 - When opening a channel because of a circuit request that did not
737 include an Ed25519 identity, record the Ed25519 identity that we
738 actually received, so that we can use the channel for other
739 circuit requests that _do_ list an Ed25519 identity. (Previously
740 we had code to record this identity, but a logic bug caused it to
741 be disabled.) Fixes bug 40563; bugfix on 0.3.0.1-alpha. Patch
744 o Major bugfixes (TROVE-2022-002, client):
745 - The SafeSocks option had its logic inverted for SOCKS4 and
746 SOCKS4a. It would let the unsafe SOCKS4 pass but not the safe
747 SOCKS4a one. This is TROVE-2022-002 which was reported on
748 Hackerone by "cojabo". Fixes bug 40730; bugfix on 0.3.5.1-alpha.
750 o Minor feature (authority):
751 - Reject 0.4.6.x series at the authority level. Closes ticket 40664.
753 o Minor features (fallbackdir):
754 - Regenerate fallback directories generated on January 12, 2023.
756 o Minor features (geoip data):
757 - Update the geoip files to match the IPFire Location Database, as
758 retrieved on 2023/01/12.
760 o Minor features (relays):
761 - Set the Linux-specific IP_BIND_ADDRESS_NO_PORT option on outgoing
762 sockets, allowing relays using OutboundBindAddress to make more
763 outgoing connections than ephemeral ports, as long as they are to
764 separate destinations. Related to issue 40597; patch by Alex
767 o Minor bugfixes (relay, metrics):
768 - Fix typo in a congestion control label on the MetricsPort. Fixes
769 bug 40727; bugfix on 0.4.7.12.
771 o Minor bugfixes (sandbox, authority):
772 - With the sandbox enabled, allow to write "my-consensus-
773 {ns|microdesc}" and to rename them as well. Fixes bug 40729;
774 bugfix on 0.3.5.1-alpha.
776 o Code simplifications and refactoring:
777 - Rely on actual error returned by the kernel when choosing what
778 resource exhaustion to log. Fixes issue 40613; Fix
779 on tor-0.4.6.1-alpha.
782 Changes in version 0.4.5.16 - 2023-01-12
783 This version has one major bugfix for relay and a security fix,
784 TROVE-2022-002, affecting clients. We strongly recommend to upgrade to our
785 0.4.7.x stable series. As a reminder, this series is EOL on February 15th,
788 o Major bugfixes (relay):
789 - When opening a channel because of a circuit request that did not
790 include an Ed25519 identity, record the Ed25519 identity that we
791 actually received, so that we can use the channel for other
792 circuit requests that _do_ list an Ed25519 identity. (Previously
793 we had code to record this identity, but a logic bug caused it to
794 be disabled.) Fixes bug 40563; bugfix on 0.3.0.1-alpha. Patch
797 o Major bugfixes (TROVE-2022-002, client):
798 - The SafeSocks option had its logic inverted for SOCKS4 and
799 SOCKS4a. It would let the unsafe SOCKS4 pass but not the safe
800 SOCKS4a one. This is TROVE-2022-002 which was reported on
801 Hackerone by "cojabo". Fixes bug 40730; bugfix on 0.3.5.1-alpha.
803 o Minor features (fallbackdir):
804 - Regenerate fallback directories generated on January 12, 2023.
806 o Minor features (geoip data):
807 - Update the geoip files to match the IPFire Location Database, as
808 retrieved on 2023/01/12.
811 Changes in version 0.4.7.12 - 2022-12-06
812 This version contains a major change that is a new key for moria1. Also, new
813 metrics are exported on the MetricsPort for the congestion control
816 o Directory authority changes (moria1):
817 - Rotate the relay identity key and v3 identity key for moria1. They
818 have been online for more than a decade and refreshing keys
819 periodically is good practice. Advertise new ports too, to avoid
820 confusion. Closes ticket 40722.
822 o Minor feature (Congestion control metrics):
823 - Add additional metricsport relay metrics for congestion control.
826 o Minor features (fallbackdir):
827 - Regenerate fallback directories generated on December 06, 2022.
829 o Minor features (geoip data):
830 - Update the geoip files to match the IPFire Location Database, as
831 retrieved on 2022/12/06.
833 o Minor bugfixes (cpuworker, relay):
834 - Fix an off by one overload calculation on the number of CPUs being
835 used by our thread pool. Fixes bug 40719; bugfix on 0.3.5.1-alpha.
838 Changes in version 0.4.5.15 - 2022-12-06
839 This version has several major changes for directory authorities. And a
840 major bugfix on OSX. Again, we strongly recommend to upgrade to our 0.4.7.x
841 series latest stable. This series is EOL on February 15th, 2023.
843 o Directory authority changes (dizum):
844 - Change dizum IP address. Closes ticket 40687.
846 o Directory authority changes (Faravahar):
847 - Remove Faravahar until its operator, Sina, set it back up online
848 outside of Team Cymru network. Closes ticket 40688.
850 o Directory authority changes (moria1):
851 - Rotate the relay identity key and v3 identity key for moria1. They
852 have been online for more than a decade and refreshing keys
853 periodically is good practice. Advertise new ports too, to avoid
854 confusion. Closes ticket 40722.
856 o Major bugfixes (OSX):
857 - Fix coarse-time computation on Apple platforms (like Mac M1) where
858 the Mach absolute time ticks do not correspond directly to
859 nanoseconds. Previously, we computed our shift value wrong, which
860 led us to give incorrect timing results. Fixes bug 40684; bugfix
863 o Major bugfixes (relay):
864 - Improve security of our DNS cache by randomly clipping the TTL
865 value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha.
867 o Minor features (fallbackdir):
868 - Regenerate fallback directories generated on December 06, 2022.
870 o Minor features (geoip data):
871 - Update the geoip files to match the IPFire Location Database, as
872 retrieved on 2022/12/06.
875 Changes in version 0.4.7.11 - 2022-11-10
876 This version contains several major fixes aimed at helping defend against
877 network denial of service. It is also extending drastically the MetricsPort
878 for relays to help us gather more internal data to investigate performance
881 We strongly recommend to upgrade to this version especially for Exit relays
882 in order to help the network defend against this ongoing DDoS.
884 o Directory authority changes (dizum, Faravahar):
885 - Change dizum IP address. Closes ticket 40687.
886 - Remove Faravahar until its operator, Sina, set it back up online
887 outside of Team Cymru network. Closes ticket 40688.
889 o Major bugfixes (geoip data):
890 - IPFire informed us on August 12th that databases generated after
891 (including) August 10th did not have proper ARIN network
892 allocations. We are updating the database to use the one generated
893 on August 9th, 2022. Fixes bug 40658; bugfix on 0.4.5.13.
895 o Major bugfixes (onion service):
896 - Set a much higher circuit build timeout for opened client rendezvous
897 circuit. Before this, tor would time them out very quickly leading to
898 unnecessary retries meaning more load on the network. Fixes bug 40694;
899 bugfix on 0.3.5.1-alpha.
901 o Major bugfixes (OSX):
902 - Fix coarse-time computation on Apple platforms (like Mac M1) where
903 the Mach absolute time ticks do not correspond directly to
904 nanoseconds. Previously, we computed our shift value wrong, which
905 led us to give incorrect timing results. Fixes bug 40684; bugfix
908 o Major bugfixes (relay):
909 - Improve security of our DNS cache by randomly clipping the TTL
910 value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha.
912 o Minor feature (Mac and iOS build):
913 - Change how combine_libs works on Darwin like platforms to make
914 sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED`
915 symbols on the archive before we repack and run ${RANLIB} on the
916 archive. This fixes a build issue with recent Xcode versions on
917 Mac Silicon and iOS. Closes ticket 40683.
919 o Minor feature (metrics):
920 - Add various congestion control counters to the MetricsPort. Closes
923 o Minor feature (performance):
924 - Bump the maximum amount of CPU that can be used from 16 to 128. Note
925 that NumCPUs torrc option overrides this hardcoded maximum. Fixes bug
926 40703; bugfix on 0.3.5.1-alpha.
928 o Minor feature (relay):
929 - Make an hardcoded value for the maximum of per CPU tasks into a
931 - Two new consensus parameters are added to control the wait time in
932 queue of the onionskins. One of them is the torrc
933 MaxOnionQueueDelay options which supersedes the consensus
934 parameter. Closes ticket 40704.
936 o Minor feature (relay, DoS):
937 - Apply circuit creation anti-DoS defenses if the outbound circuit
938 max cell queue size is reached too many times. This introduces two
939 new consensus parameters to control the queue size limit and
940 number of times allowed to go over that limit. Closes ticket 40680.
942 o Minor feature (relay, metrics):
943 - Add DoS defenses counter to MetricsPort.
944 - Add congestion control RTT reset counter to MetricsPort.
945 - Add counters to the MetricsPort how many connections, per type,
946 are currently opened and how many were created.
947 - Add relay flags from the consensus to the MetricsPort.
948 - Add total number of opened circuits to MetricsPort.
949 - Add total number of streams seen by an Exit to the MetricsPort.
950 - Add traffic stats as in number of read/written bytes in total.
951 - Related to ticket 40194.
953 o Minor features (fallbackdir):
954 - Regenerate fallback directories generated on November 10, 2022.
956 o Minor features (geoip data):
957 - Update the geoip files to match the IPFire Location Database, as
958 retrieved on 2022/11/10.
960 o Minor bugfixes (authorities, sandbox):
961 - Allow to write file my-consensus-<flavor-name> to disk when
962 sandbox is activated. Fixes bug 40663; bugfix on 0.3.5.1-alpha.
964 o Minor bugfixes (dirauth):
965 - Directory authorities stop voting a consensus "Measured" weight
966 for relays with the Authority flag. Now these relays will be
967 considered unmeasured, which should reserve their bandwidth for
968 their dir auth role and minimize distractions from other roles. In
969 place of the "Measured" weight, they now include a
970 "MeasuredButAuthority" weight (not used by anything) so the
971 bandwidth authority's opinion on this relay can be recorded for
972 posterity. Lastly, remove the AuthDirDontVoteOnDirAuthBandwidth
973 torrc option which never worked right. Fixes bugs 40698 and 40700;
974 bugfix on 0.4.7.2-alpha.
976 o Minor bugfixes (onion service client):
977 - A collapsing onion service circuit should be seen as an
978 "unreachable" error so it can be retried. Fixes bug 40692; bugfix
981 o Minor bugfixes (onion service):
982 - Make the service retry a rendezvous if the circuit is being
983 repurposed for measurements. Fixes bug 40696; bugfix
986 o Minor bugfixes (relay overload statistics):
987 - Count total create cells vs dropped create cells properly, when
988 assessing if our fraction of dropped cells is too high. We only
989 count non-client circuits in the denominator, but we would include
990 client circuits in the numerator, leading to surprising log lines
991 claiming that we had dropped more than 100% of incoming create
992 cells. Fixes bug 40673; bugfix on 0.4.7.1-alpha.
994 o Code simplification and refactoring (bridges):
995 - Remove unused code related to ExtPort connection ID. Fixes bug
996 40648; bugfix on 0.3.5.1-alpha.
999 Changes in version 0.4.7.10 - 2022-08-12
1000 This version updates the geoip cache that we generate from IPFire location
1001 database to use the August 9th, 2022 one. Everyone MUST update to this
1002 latest release else circuit path selection and relay metrics are badly
1005 o Major bugfixes (geoip data):
1006 - IPFire informed us on August 12th that databases generated after
1007 (including) August 10th did not have proper ARIN network allocations. We
1008 are updating the database to use the one generated on August 9th, 2022.
1009 Fixes bug 40658; bugfix on 0.4.7.9.
1012 Changes in version 0.4.6.12 - 2022-08-12
1013 This version updates the geoip cache that we generate from IPFire location
1014 database to use the August 9th, 2022 one. Everyone MUST update to this
1015 latest release else circuit path selection and relay metrics are badly
1018 o Major bugfixes (geoip data):
1019 - IPFire informed us on August 12th that databases generated after
1020 (including) August 10th did not have proper ARIN network allocations. We
1021 are updating the database to use the one generated on August 9th, 2022.
1022 Fixes bug 40658; bugfix on 0.4.6.11.
1025 Changes in version 0.4.5.14 - 2022-08-12
1026 This version updates the geoip cache that we generate from IPFire location
1027 database to use the August 9th, 2022 one. Everyone MUST update to this
1028 latest release else circuit path selection and relay metrics are badly
1031 o Major bugfixes (geoip data):
1032 - IPFire informed us on August 12th that databases generated after
1033 (including) August 10th did not have proper ARIN network allocations. We
1034 are updating the database to use the one generated on August 9th, 2022.
1035 Fixes bug 40658; bugfix on 0.4.5.13.
1038 Changes in version 0.4.7.9 - 2022-08-11
1039 This version contains several major fixes aimed at reducing memory pressure on
1040 relays and possible side-channel. It also contains a major bugfix related to
1041 congestion control also aimed at reducing memory pressure on relays.
1042 Finally, there is last one major bugfix related to Vanguard L2 layer node
1045 We strongly recommend to upgrade to this version especially for Exit relays
1046 in order to help the network defend against this ongoing DDoS.
1048 o Major bugfixes (congestion control):
1049 - Implement RFC3742 Limited Slow Start. Congestion control was
1050 overshooting the congestion window during slow start, particularly
1051 for onion service activity. With this fix, we now update the
1052 congestion window more often during slow start, as well as dampen
1053 the exponential growth when the congestion window grows above a
1054 capping parameter. This should reduce the memory increases guard
1055 relays were seeing, as well as allow us to set lower queue limits
1056 to defend against ongoing DoS attacks. Fixes bug 40642; bugfix
1059 o Major bugfixes (relay):
1060 - Remove OR connections btrack subsystem entries when the connections
1061 close normally. Before this, we would only remove the entry on error and
1062 thus leaking memory for each normal OR connections. Fixes bug 40604;
1063 bugfix on 0.4.0.1-alpha.
1064 - Stop sending TRUNCATED cell and instead close the circuit from which we
1065 received a DESTROY cell. This makes every relay in the circuit path to
1066 stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
1068 o Major bugfixes (vanguards):
1069 - We had omitted some checks for whether our vanguards (second layer
1070 guards from proposal 333) overlapped. Now make sure to pick each
1071 of them to be independent. Also, change the design to allow them
1072 to come from the same family. Fixes bug 40639; bugfix
1075 o Minor features (dirauth):
1076 - Add a torrc option to control the Guard flag bandwidth threshold
1077 percentile. Closes ticket 40652.
1078 - Add an AuthDirVoteGuard torrc option that can allow authorities to
1079 assign the Guard flag to the given fingerprints/country code/IPs.
1080 This is a needed feature mostly for defense purposes in case a DoS
1081 hits the network and relay start losing the Guard flags too fast.
1082 - Make UPTIME_TO_GUARANTEE_STABLE, MTBF_TO_GUARANTEE_STABLE,
1083 TIME_KNOWN_TO_GUARANTEE_FAMILIAR WFU_TO_GUARANTEE_GUARD tunable
1086 o Minor features (fallbackdir):
1087 - Regenerate fallback directories generated on August 11, 2022.
1089 o Minor features (geoip data):
1090 - Update the geoip files to match the IPFire Location Database, as
1091 retrieved on 2022/08/11.
1093 o Minor bugfixes (congestion control):
1094 - Add a check for an integer underflow condition that might happen
1095 in cases where the system clock is stopped, the ORconn is blocked,
1096 and the endpoint sends more than a congestion window worth of non-
1097 data control cells at once. This would cause a large congestion
1098 window to be calculated instead of a small one. No security
1099 impact. Fixes bug 40644; bugfix on 0.4.7.5-alpha.
1101 o Minor bugfixes (defense in depth):
1102 - Change a test in the netflow padding code to make it more
1103 _obviously_ safe against remotely triggered crashes. (It was safe
1104 against these before, but not obviously so.) Fixes bug 40645;
1105 bugfix on 0.3.1.1-alpha.
1107 o Minor bugfixes (relay):
1108 - Do not propagate either forward or backward a DESTROY remote reason when
1109 closing a circuit in order to avoid a possible side channel. Fixes bug
1110 40649; bugfix on 0.1.2.4-alpha.
1113 Changes in version 0.4.6.11 - 2022-08-11
1114 This version contains two major fixes aimed at reducing memory pressure on
1115 relays and possible side-channel. The rest of the fixes were backported for
1116 stability or safety purposes.
1118 This is the very LAST version of this series. As of August 1st 2022, it is
1119 end-of-life (EOL). We thus strongly recommend to upgrade to the latest
1120 stable of the 0.4.7.x series.
1122 o Major bugfixes (relay):
1123 - Remove OR connections btrack subsystem entries when the connections
1124 close normally. Before this, we would only remove the entry on error and
1125 thus leaking memory for each normal OR connections. Fixes bug 40604;
1126 bugfix on 0.4.0.1-alpha.
1127 - Stop sending TRUNCATED cell and instead close the circuit from which we
1128 received a DESTROY cell. This makes every relay in the circuit path to
1129 stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
1131 o Minor features (fallbackdir):
1132 - Regenerate fallback directories generated on August 11, 2022.
1134 o Minor features (geoip data):
1135 - Update the geoip files to match the IPFire Location Database, as
1136 retrieved on 2022/08/11.
1138 o Minor features (linux seccomp2 sandbox):
1139 - Permit the clone3 syscall, which is apparently used in glibc-2.34
1140 and later. Closes ticket 40590.
1142 o Minor bugfixes (controller, path bias):
1143 - When a circuit's path is specified, in full or in part, from the
1144 controller API, do not count that circuit towards our path-bias
1145 calculations. (Doing so was incorrect, since we cannot tell
1146 whether the controller is selecting relays randomly.) Resolves a
1147 "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
1149 o Minor bugfixes (defense in depth):
1150 - Change a test in the netflow padding code to make it more
1151 _obviously_ safe against remotely triggered crashes. (It was safe
1152 against these before, but not obviously so.) Fixes bug 40645;
1153 bugfix on 0.3.1.1-alpha.
1155 o Minor bugfixes (linux seccomp2 sandbox):
1156 - Allow the rseq system call in the sandbox. This solves a crash
1157 issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
1158 40601; bugfix on 0.3.5.11.
1160 o Minor bugfixes (metrics port, onion service):
1161 - The MetricsPort line for an onion service with multiple ports are now
1162 unique that is one line per port. Before this, all ports of an onion
1163 service would be on the same line which violates the Prometheus rules of
1164 unique labels. Fixes bug 40581; bugfix on 0.4.5.1-alpha.
1166 o Minor bugfixes (onion service, client):
1167 - Fix a fatal assert due to a guard subsystem recursion triggered by
1168 the onion service client. Fixes bug 40579; bugfix on 0.3.5.1-alpha.
1170 o Minor bugfixes (performance, DoS):
1171 - Fix one case of a not-especially viable denial-of-service attack
1172 found by OSS-Fuzz in our consensus-diff parsing code. This attack
1173 causes a lot small of memory allocations and then immediately
1174 frees them: this is only slow when running with all the sanitizers
1175 enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
1177 o Minor bugfixes (relay):
1178 - Do not propagate either forward or backward a DESTROY remote reason when
1179 closing a circuit in order to avoid a possible side channel. Fixes bug
1180 40649; bugfix on 0.1.2.4-alpha.
1183 Changes in version 0.4.5.13 - 2022-08-11
1184 This version contains two major fixes aimed at reducing memory pressure on
1185 relays and possible side-channel. The rest of the fixes were backported for
1186 stability or safety purposes. We strongly recommend to upgrade your relay to
1187 this version or, ideally, to the latest stable of the 0.4.7.x series.
1189 o Major bugfixes (relay):
1190 - Remove OR connections btrack subsystem entries when the connections
1191 close normally. Before this, we would only remove the entry on error and
1192 thus leaking memory for each normal OR connections. Fixes bug 40604;
1193 bugfix on 0.4.0.1-alpha.
1194 - Stop sending TRUNCATED cell and instead close the circuit from which we
1195 received a DESTROY cell. This makes every relay in the circuit path to
1196 stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
1198 o Minor features (fallbackdir):
1199 - Regenerate fallback directories generated on August 11, 2022.
1201 o Minor features (geoip data):
1202 - Update the geoip files to match the IPFire Location Database, as
1203 retrieved on 2022/08/11.
1205 o Minor features (linux seccomp2 sandbox):
1206 - Permit the clone3 syscall, which is apparently used in glibc-2.34
1207 and later. Closes ticket 40590.
1209 o Minor bugfixes (controller, path bias):
1210 - When a circuit's path is specified, in full or in part, from the
1211 controller API, do not count that circuit towards our path-bias
1212 calculations. (Doing so was incorrect, since we cannot tell
1213 whether the controller is selecting relays randomly.) Resolves a
1214 "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
1216 o Minor bugfixes (defense in depth):
1217 - Change a test in the netflow padding code to make it more
1218 _obviously_ safe against remotely triggered crashes. (It was safe
1219 against these before, but not obviously so.) Fixes bug 40645;
1220 bugfix on 0.3.1.1-alpha.
1222 o Minor bugfixes (linux seccomp2 sandbox):
1223 - Allow the rseq system call in the sandbox. This solves a crash
1224 issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
1225 40601; bugfix on 0.3.5.11.
1227 o Minor bugfixes (metrics port, onion service):
1228 - The MetricsPort line for an onion service with multiple ports are now
1229 unique that is one line per port. Before this, all ports of an onion
1230 service would be on the same line which violates the Prometheus rules of
1231 unique labels. Fixes bug 40581; bugfix on 0.4.5.1-alpha.
1233 o Minor bugfixes (onion service, client):
1234 - Fix a fatal assert due to a guard subsystem recursion triggered by
1235 the onion service client. Fixes bug 40579; bugfix on 0.3.5.1-alpha.
1237 o Minor bugfixes (performance, DoS):
1238 - Fix one case of a not-especially viable denial-of-service attack
1239 found by OSS-Fuzz in our consensus-diff parsing code. This attack
1240 causes a lot small of memory allocations and then immediately
1241 frees them: this is only slow when running with all the sanitizers
1242 enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
1244 o Minor bugfixes (relay):
1245 - Do not propagate either forward or backward a DESTROY remote reason when
1246 closing a circuit in order to avoid a possible side channel. Fixes bug
1247 40649; bugfix on 0.1.2.4-alpha.
1250 Changes in version 0.4.7.8 - 2022-06-17
1251 This version fixes several bugfixes including a High severity security issue
1252 categorized as a Denial of Service. Everyone running an earlier version
1253 should upgrade to this version.
1255 o Major bugfixes (congestion control, TROVE-2022-001):
1256 - Fix a scenario where RTT estimation can become wedged, seriously
1257 degrading congestion control performance on all circuits. This
1258 impacts clients, onion services, and relays, and can be triggered
1259 remotely by a malicious endpoint. Tracked as CVE-2022-33903. Fixes
1260 bug 40626; bugfix on 0.4.7.5-alpha.
1262 o Minor features (fallbackdir):
1263 - Regenerate fallback directories generated on June 17, 2022.
1265 o Minor features (geoip data):
1266 - Update the geoip files to match the IPFire Location Database, as
1267 retrieved on 2022/06/17.
1269 o Minor bugfixes (linux seccomp2 sandbox):
1270 - Allow the rseq system call in the sandbox. This solves a crash
1271 issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
1272 40601; bugfix on 0.3.5.11.
1274 o Minor bugfixes (logging):
1275 - Demote a harmless warn log message about finding a second hop to
1276 from warn level to info level, if we do not have enough
1277 descriptors yet. Leave it at notice level for other cases. Fixes
1278 bug 40603; bugfix on 0.4.7.1-alpha.
1279 - Demote a notice log message about "Unexpected path length" to info
1280 level. These cases seem to happen arbitrarily, and we likely will
1281 never find all of them before the switch to arti. Fixes bug 40612;
1282 bugfix on 0.4.7.5-alpha.
1284 o Minor bugfixes (relay, logging):
1285 - Demote a harmless XOFF log message to from notice level to info
1286 level. Fixes bug 40620; bugfix on 0.4.7.5-alpha.
1289 Changes in version 0.4.7.7 - 2022-04-27
1290 This is the first stable version of the 0.4.7.x series. This series includes
1291 several major bugfixes from previous series and one massive new feature:
1294 Congestion control should improve traffic speed and stability on the network
1295 once a majority of Exit upgrade. You can find more details about it in
1296 proposal 324 in the torspec.git repository.
1298 For a complete list of changes since 0.4.6.10, see the ReleaseNotes file.
1300 o Minor features (fallbackdir):
1301 - Regenerate fallback directories generated on April 27, 2022.
1303 o Minor features (geoip data):
1304 - Update the geoip files to match the IPFire Location Database, as
1305 retrieved on 2022/04/27.
1307 o Minor bugfixes (congestion control, client side logs):
1308 - Demote a warn about 1-hop circuits using congestion control down to
1309 info; Demote the 4-hop case to notice. Fixes bug 40598; bugfix on
1313 Changes in version 0.4.7.6-rc - 2022-04-07
1314 This is the first release candidate of the 0.4.7.x series. Only one minor
1315 bugfix went in since the last alpha couple weeks ago. We strongly recommend
1316 anyone running an alpha version to upgrade to this version. Unless major
1317 problems are found, the next release will finally be the stable!
1319 o Minor features (fallbackdir):
1320 - Regenerate fallback directories generated on April 07, 2022.
1322 o Minor features (geoip data):
1323 - Update the geoip files to match the IPFire Location Database, as
1324 retrieved on 2022/04/07.
1326 o Minor features (linux seccomp2 sandbox):
1327 - Permit the clone3 syscall, which is apparently used in glibc-2.34
1328 and later. Closes ticket 40590.
1331 Changes in version 0.4.7.5-alpha - 2022-03-25
1332 This version contains, of what we hope, the final work for congestion
1333 control paving the way to the stable version. We expect this to be the last
1334 alpha version of the 0.4.7.x series. Mostly minor bugfixes except one major
1335 bugfix that changes how Tor behaves with DNS timeouts for Exit relays. As
1336 always with an alpha, we recommend all relay operators to upgrade from
1337 previous alpha to this one.
1339 o Major bugfixes (onion service, congestion control):
1340 - Fix the onion service upload case where the congestion control
1341 parameters were not added to the right object. Fixes bug 40586;
1342 bugfix on 0.4.7.4-alpha.
1344 o Major bugfixes (relay, DNS):
1345 - Lower the DNS timeout from 3 attempts at 5 seconds each to 2
1346 attempts at 1 seconds each. Two new consensus parameters were
1347 added to control these values. This change should improve observed
1348 performance under DNS load; see ticket for more details. Fixes bug
1349 40312; bugfix on 0.3.5.1-alpha.
1351 o Minor features (control port):
1352 - Provide congestion control fields on CIRC_BW and STREAM control
1353 port events, for use by sbws. Closes ticket 40568.
1355 o Minor features (fallbackdir):
1356 - Regenerate fallback directories generated on March 25, 2022.
1358 o Minor features (geoip data):
1359 - Update the geoip files to match the IPFire Location Database, as
1360 retrieved on 2022/03/25.
1362 o Minor bugfixes (DNSPort, dormant mode):
1363 - A request on the DNSPort now wakes up a dormant tor. Fixes bug
1364 40577; bugfix on 0.3.5.1-alpha.
1366 o Minor bugfixes (metrics port, onion service):
1367 - Fix the metrics with a port label to be unique. Before this, all
1368 ports of an onion service would be on the same line which violates
1369 the Prometheus rules of unique labels. Fixes bug 40581; bugfix
1372 o Minor bugfixes (onion service congestion control):
1373 - Avoid a non-fatal assertion failure in the case where we fail to
1374 set up congestion control on a rendezvous circuit. This could
1375 happen naturally if a cache entry expired at an unexpected time.
1376 Fixes bug 40576; bugfix on 0.4.7.4-alpha.
1378 o Minor bugfixes (onion service, client):
1379 - Fix a rare but fatal assertion failure due to a guard subsystem
1380 recursion triggered by the onion service client. Fixes bug 40579;
1381 bugfix on 0.3.5.1-alpha.
1383 o Minor bugfixes (relay, overload):
1384 - Decide whether to signal overload based on a fraction and
1385 assessment period of ntor handshake drops. Previously, a single
1386 drop could trigger an overload state, which caused many false
1387 positives. Fixes bug 40560; bugfix on 0.4.7.1-alpha.
1390 Changes in version 0.4.7.4-alpha - 2022-02-25
1391 This version contains the negotiation congestion control work which is the
1392 final part needed before going stable. There are also various bugfixes
1393 including two major ones detailed below. Last, the Exit notice page layout
1394 has been modernized but the text is unchanged. We recommend that all relay
1395 operators running any previous alpha upgrade to this one.
1397 o Major features (relay, client, onion services):
1398 - Implement RTT-based congestion control for exits and onion
1399 services, from Proposal 324. Disabled by default. Enabled by the
1400 'cc_alg' consensus parameter. Closes ticket 40444.
1402 o Major bugfixes (client):
1403 - Stop caching TCP connect failures to relays/bridges when we
1404 initiated the connection as a client. Now we only cache connect
1405 failures as a relay or bridge when we initiated them because of an
1406 EXTEND request. Declining to re-attempt the client-based
1407 connections could cause problems when we lose connectivity and try
1408 to reconnect. Fixes bug 40499; bugfix on 0.3.3.4-alpha.
1410 o Major bugfixes (relay, overload):
1411 - Do not trigger a general overload on DNS timeout. Even after
1412 fixing 40527, some code remained that triggered the overload.
1413 Fixes bug 40564; bugfix on 0.4.7.1-alpha.
1415 o Minor feature (authority, relay):
1416 - Reject End-Of-Life relays running version 0.3.5.x. Closes
1419 o Minor features (fallbackdir):
1420 - Regenerate fallback directories generated on February 25, 2022.
1422 o Minor features (geoip data):
1423 - Update the geoip files to match the IPFire Location Database, as
1424 retrieved on 2022/02/25.
1426 o Minor bugfix (logging):
1427 - Update a log notice dead URL to a working one. Fixes bug 40544;
1428 bugfix on 0.3.5.1-alpha.
1430 o Minor bugfix (relay):
1431 - Remove the HSDir and HSIntro onion service v2 protocol versions so
1432 relay stop advertising that they support them. Fixes bug 40509;
1435 o Minor bugfixes (cell scheduling):
1436 - Avoid writing empty payload with NSS write.
1437 - Don't attempt to write 0 bytes after a cell scheduling loop. No
1438 empty payload was put on the wire. Fixes bug 40548; bugfix
1441 o Minor bugfixes (compilation):
1442 - Resume being able to build on old / esoteric gcc versions. Fixes
1443 bug 40550; bugfix on 0.4.7.1-alpha.
1445 o Minor bugfixes (compiler warnings):
1446 - Fix couple compiler warnings on latest Ubuntu Jammy. Fixes bug
1447 40516; bugfix on 0.3.5.1-alpha.
1450 - Provide an improved version of the tor-exit-notice.html file for
1451 exit relays to use as a landing page. The text is unchanged, but
1452 the page design and layout are significantly modernized, and
1453 several links are fixed. Patch from "n_user"; closes ticket 40529.
1456 Changes in version 0.4.6.10 - 2022-02-04
1457 This version contains minor bugfixes but one in particular is that relays
1458 don't advertise onion service v2 support at the protocol version level.
1460 o Minor features (fallbackdir):
1461 - Regenerate fallback directories generated on February 04, 2022.
1463 o Minor features (geoip data):
1464 - Update the geoip files to match the IPFire Location Database, as
1465 retrieved on 2022/02/04.
1467 o Minor bugfix (logging):
1468 - Update a log notice dead URL to a working one. Fixes bug 40544;
1469 bugfix on 0.3.5.1-alpha.
1471 o Minor bugfix (relay):
1472 - Remove the HSDir and HSIntro onion service v2 protocol versions so
1473 relay stop advertising that they support them. Fixes bug 40509;
1476 o Minor bugfixes (MetricsPort, Prometheus):
1477 - Add double quotes to the label values of the onion service
1478 metrics. Fixes bug 40552; bugfix on 0.4.5.1-alpha.
1481 Changes in version 0.4.5.12 - 2022-02-04
1482 This version contains mostly minor bugfixes for which you can find the
1483 details below. The previous release (0.4.5.11) was suppose to update the
1484 GeoIP and fallbackdir lists but a problem in our release pipeline prevented
1485 those files to be updated correctly. Thus, this release regenerates up to
1486 date lists. Furthermore, another fix to highlight is that relays don't
1487 advertise onion service v2 support at the protocol version level.
1489 o Minor feature (reproducible build):
1490 - The repository can now build reproducible tarballs which adds the
1491 build command "make dist-reprod" for that purpose. Closes
1494 o Minor features (compilation):
1495 - Give an error message if trying to build with a version of
1496 LibreSSL known not to work with Tor. (There's an incompatibility
1497 with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
1498 their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
1501 o Minor features (fallbackdir):
1502 - Regenerate fallback directories generated on February 04, 2022.
1504 o Minor features (geoip data):
1505 - Update the geoip files to match the IPFire Location Database, as
1506 retrieved on 2022/02/04.
1508 o Minor bugfix (logging):
1509 - Update a log notice dead URL to a working one. Fixes bug 40544;
1510 bugfix on 0.3.5.1-alpha.
1512 o Minor bugfix (relay):
1513 - Remove the HSDir and HSIntro onion service v2 protocol versions so
1514 relay stop advertising that they support them. Fixes bug 40509;
1517 o Minor bugfixes (compilation):
1518 - Fix a compilation error when trying to build Tor with a compiler
1519 that does not support expanding statically initialized const
1520 values in macro's. Fixes bug 40410; bugfix on 0.4.5.1-alpha
1521 - Fix our configuration logic to detect whether we had OpenSSL 3:
1522 previously, our logic was reversed. This has no other effect than
1523 to change whether we suppress deprecated API warnings. Fixes bug
1524 40429; bugfix on 0.3.5.13.
1526 o Minor bugfixes (MetricsPort, Prometheus):
1527 - Add double quotes to the label values of the onion service
1528 metrics. Fixes bug 40552; bugfix on 0.4.5.1-alpha.
1530 o Minor bugfixes (relay):
1531 - Reject IPv6-only DirPorts. Our reachability self-test forces
1532 DirPorts to be IPv4, but our configuration parser allowed them to
1533 be IPv6-only, which led to an assertion failure. Fixes bug 40494;
1534 bugfix on 0.4.5.1-alpha.
1537 Changes in version 0.4.7.3-alpha - 2021-12-15
1538 This third alpha release of the 0.4.7.x series fixes several bugs including
1539 two major ones affecting Bridges and Relays (see below). If you are running
1540 an earlier 0.4.7.x version, you should upgrade to this version.
1542 o Major bugfixes (bridges):
1543 - Make Tor work reliably again when you have multiple bridges
1544 configured and one or more of them are unreachable. The problem
1545 came because we require that we have bridge descriptors for both
1546 of our first two bridges (else we refuse to try to connect), but
1547 in some cases we would wait three hours before trying to fetch
1548 these missing descriptors, and/or never recover when we do try to
1549 fetch them. Fixes bugs 40396 and 40495; bugfix on 0.3.0.5-rc
1552 o Major bugfixes (relay, overload):
1553 - Change the MetricsPort DNS "timeout" label to be "tor_timeout" in
1554 order to indicate that this was a DNS timeout from tor perspective
1555 and not the DNS server itself.
1556 - Deprecate overload_dns_timeout_period_secs and
1557 overload_dns_timeout_scale_percent consensus parameters as well.
1558 They were used to assess the overload state which is no more now.
1559 - Don't make Tor DNS timeout trigger an overload general state.
1560 These timeouts are different from DNS server timeout. They have to
1561 be seen as timeout related to UX and not because of a network
1562 problem. Fixes bug 40527; bugfix on 0.4.6.1-alpha.
1564 o Minor feature (reproducible build):
1565 - The repository can now build reproducible tarballs which adds the
1566 build command "make dist-reprod" for that purpose. Closes
1569 o Minor features (compilation):
1570 - Give an error message if trying to build with a version of
1571 LibreSSL known not to work with Tor. (There's an incompatibility
1572 with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
1573 their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
1576 o Minor features (fallbackdir):
1577 - Regenerate fallback directories generated on December 15, 2021.
1579 o Minor features (geoip data):
1580 - Update the geoip files to match the IPFire Location Database, as
1581 retrieved on 2021/12/15.
1583 o Minor features (portability):
1584 - Try to prevent a compiler warning about printf arguments that
1585 could sometimes occur on MSYS2 depending on the configuration.
1586 Closes ticket 40355.
1588 o Minor bugfix (pluggable transport):
1589 - Do not kill a managed proxy if one of its transport configurations
1590 emits a method error. Instead log a warning and continue processing
1591 method arguments. Fixes bug 7362; bugfix on 0.2.3.6-alpha.
1593 o Minor bugfixes (bridges):
1594 - When we don't yet have a descriptor for one of our bridges,
1595 disable the entry guard retry schedule on that bridge. The entry
1596 guard retry schedule and the bridge descriptor retry schedule can
1597 conflict, e.g. where we mark a bridge as "maybe up" yet we don't
1598 try to fetch its descriptor yet, leading Tor to wait (refusing to
1599 do anything) until it becomes time to fetch the descriptor. Fixes
1600 bug 40497; bugfix on 0.3.0.3-alpha.
1602 o Minor bugfixes (compilation):
1603 - Fix our configuration logic to detect whether we had OpenSSL 3:
1604 previously, our logic was reversed. This has no other effect than
1605 to change whether we suppress deprecated API warnings. Fixes bug
1606 40429; bugfix on 0.3.5.13.
1608 o Minor bugfixes (controller, path bias):
1609 - When a circuit's path is specified, in full or in part, from the
1610 controller API, do not count that circuit towards our path-bias
1611 calculations. (Doing so was incorrect, since we cannot tell
1612 whether the controller is selecting relays randomly.) Resolves a
1613 "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
1615 o Minor bugfixes (logging):
1616 - When we no longer have enough directory information to use the
1617 network, we would log a notice-level message -- but we would not
1618 reliably log a message when we recovered and resumed using the
1619 network. Now make sure there is always a corresponding message
1620 about recovering. Fixes bug 40496; bugfix on 0.3.5.1-alpha.
1622 o Minor bugfixes (performance, DoS):
1623 - Fix one case of a not-especially viable denial-of-service attack
1624 found by OSS-Fuzz in our consensus-diff parsing code. This attack
1625 causes a lot small of memory allocations and then immediately
1626 frees them: this is only slow when running with all the sanitizers
1627 enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
1629 o Minor bugfixes (relay):
1630 - Reject IPv6-only DirPorts. Our reachability self-test forces
1631 DirPorts to be IPv4, but our configuration parser allowed them to
1632 be IPv6-only, which led to an assertion failure. Fixes bug 40494;
1633 bugfix on 0.4.5.1-alpha.
1635 o Minor bugfixes (sandbox):
1636 - Fix the sandbox on i386 by modifying it to allow the
1637 "clock_gettime64" and "statx" system calls and to filter the
1638 "chown32" and "stat64" system calls in place of "chown" and
1639 "stat", respectively. Fixes bug 40505; bugfix on 0.2.5.4-alpha.
1641 o Documentation (man, relay):
1642 - Missing "OverloadStatistics" in tor.1 manpage. Fixes bug 40504;
1643 bugfix on 0.4.6.1-alpha.
1646 Changes in version 0.4.6.9 - 2021-12-15
1647 This version fixes several bugs from earlier versions of Tor. One important
1648 piece is the removal of DNS timeout metric from the overload general signal.
1649 See below for more details.
1651 o Major bugfixes (relay, overload):
1652 - Don't make Tor DNS timeout trigger an overload general state.
1653 These timeouts are different from DNS server timeout. They have to
1654 be seen as timeout related to UX and not because of a network
1655 problem. Fixes bug 40527; bugfix on 0.4.6.1-alpha.
1657 o Minor feature (reproducible build):
1658 - The repository can now build reproducible tarballs which adds the
1659 build command "make dist-reprod" for that purpose. Closes
1662 o Minor features (compilation):
1663 - Give an error message if trying to build with a version of
1664 LibreSSL known not to work with Tor. (There's an incompatibility
1665 with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
1666 their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
1669 o Minor features (fallbackdir):
1670 - Regenerate fallback directories generated on December 15, 2021.
1672 o Minor features (geoip data):
1673 - Update the geoip files to match the IPFire Location Database, as
1674 retrieved on 2021/12/15.
1676 o Minor bugfixes (compilation):
1677 - Fix our configuration logic to detect whether we had OpenSSL 3:
1678 previously, our logic was reversed. This has no other effect than
1679 to change whether we suppress deprecated API warnings. Fixes bug
1680 40429; bugfix on 0.3.5.13.
1682 o Minor bugfixes (relay):
1683 - Reject IPv6-only DirPorts. Our reachability self-test forces
1684 DirPorts to be IPv4, but our configuration parser allowed them to
1685 be IPv6-only, which led to an assertion failure. Fixes bug 40494;
1686 bugfix on 0.4.5.1-alpha.
1688 o Documentation (man, relay):
1689 - Missing "OverloadStatistics" in tor.1 manpage. Fixes bug 40504;
1690 bugfix on 0.4.6.1-alpha.
1693 Changes in version 0.4.7.2-alpha - 2021-10-26
1694 This second alpha release of the 0.4.7.x series adds two major
1695 features: congestion control (prop324) for network performance, and
1696 the MiddleOnly flag (prop335) voted by the authorities to pin relays
1697 to the middle position for various network health reasons. This
1698 release also fixes numerous bugs.
1700 The congestion control feature, detailed in proposal 324, still needs
1701 more work before we can enable it by default. It is currently in its
1702 testing and tuning phase which means that you should expect more
1703 0.4.7.x alphas as congestion control gets stabilized and tuned for
1704 optimal performance. And so, at this release, it can not be used
1705 without a custom patch.
1707 o Major features (congestion control):
1708 - Implement support for flow control over congestion controlled
1709 circuits. This work comes from proposal 324. Closes ticket 40450.
1711 o Major features (directory authority):
1712 - Add a new consensus method to handle MiddleOnly specially. When
1713 enough authorities are using this method, then any relay tagged
1714 with the MiddleOnly flag will have its Exit, Guard, HSDir, and
1715 V2Dir flags automatically cleared, and will have its BadExit flag
1716 automatically set. Implements part of proposal 335.
1717 - Authorities can now be configured to label relays as "MiddleOnly".
1718 When voting for this flag, authorities automatically vote against
1719 Exit, Guard, HSDir, and V2Dir; and in favor of BadExit. Implements
1720 part of proposal 335. Based on a patch from Neel Chauhan.
1722 o Major bugfix (relay, metrics):
1723 - On the MetricsPort, the DNS error statistics are not reported by
1724 record type ("record=...") anymore due to a libevent bug
1725 (https://github.com/libevent/libevent/issues/1219). Fixes bug
1726 40490; bugfix on 0.4.7.1-alpha.
1728 o Major bugfixes (relay, overload state):
1729 - Relays report the general overload state for DNS timeout errors
1730 only if X% of all DNS queries over Y seconds are errors. Before
1731 that, it only took 1 timeout to report the overload state which
1732 was just too low of a threshold. The X and Y values are 1% and 10
1733 minutes respectively but they are also controlled by consensus
1734 parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
1736 o Minor feature (authority, relay):
1737 - Reject End-Of-Life relays running version 0.4.2.x, 0.4.3.x,
1738 0.4.4.x and 0.4.5 alphas/rc. Closes ticket 40480.
1740 o Minor feature (onion service v2):
1741 - Onion service v2 addresses are now not recognized anymore by tor
1742 meaning a bad hostname is returned when attempting to pass it on a
1743 SOCKS connection. No more deprecation log is emitted client side.
1744 Closes ticket 40476.
1745 - See https://blog.torproject.org/v2-deprecation-timeline for
1746 details on how to transition from v2 to v3.
1748 o Minor features (fallbackdir):
1749 - Regenerate fallback directories for October 2021. Closes
1752 o Minor features (logging, heartbeat):
1753 - When a relay receives a cell that isn't encrypted properly for it,
1754 but the relay is the last hop on the circuit, the relay now counts
1755 how many cells of this kind it receives, on how many circuits, and
1756 reports this information in the log. Previously, we'd log each
1757 cell at PROTOCOL_WARN level, which is far too verbose to be
1758 useful. Fixes part of ticket 40400.
1760 o Minor features (testing):
1761 - We now have separate fuzzers for the inner layers of v3 onion
1762 service descriptors, to prevent future bugs like 40392. Closes
1765 o Minor bugfixes (compilation):
1766 - Fix compilation error when __NR_time is not defined. Fixes bug
1767 40465; bugfix on 0.2.5.5-alpha. Patch by Daniel Pinto.
1769 o Minor bugfixes (dirauth, bandwidth scanner):
1770 - Add the AuthDirDontVoteOnDirAuthBandwidth dirauth config parameter
1771 to avoid voting on bandwidth scanner weights to v3 directory
1772 authorities. Fixes bug 40471; bugfix on 0.2.2.1-alpha. Patch by
1775 o Minor bugfixes (fragile-hardening, sandbox):
1776 - When building with --enable-fragile-hardening, add or relax Linux
1777 seccomp rules to allow AddressSanitizer to execute normally if the
1778 process terminates with the sandbox active. This has the side
1779 effect of disabling the filtering of file- and directory-open
1780 requests on most systems and dilutes the effectiveness of the
1781 sandbox overall, as a wider range of system calls must be
1782 permitted. Fixes bug 11477; bugfix on 0.2.5.4-alpha.
1784 o Minor bugfixes (logging):
1785 - If a channel has never received or transmitted a cell, or seen a
1786 client, do not calculate time diffs against 1/1/1970 but log a
1787 better prettier message. Fixes bug 40182; bugfix on 0.2.4.4.
1789 o Minor bugfixes (onion service):
1790 - Fix a warning BUG that would occur often on heavily loaded onion
1791 service leading to filling the logs with useless warnings. Fixes
1792 bug 34083; bugfix on 0.3.2.1-alpha.
1794 o Minor bugfix (CI, onion service):
1795 - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
1796 bugfix on 0.3.2.1-alpha.
1798 o Minor bugfixes (onion service, config):
1799 - Fix a memory leak for a small config line string that could occur
1800 if the onion service failed to be configured from file properly.
1801 Fixes bug 40484; bugfix on 0.3.2.1-alpha.
1803 o Minor bugfixes (onion service, TROVE-2021-008):
1804 - Only log v2 access attempts once total, in order to not pollute
1805 the logs with warnings and to avoid recording the times on disk
1806 when v2 access was attempted. Note that the onion address was
1807 _never_ logged. This counts as a Low-severity security issue.
1808 Fixes bug 40474; bugfix on 0.4.5.8.
1809 - Note that due to #40476 which removes v2 support entirely, this
1810 log line is not emitted anymore. We still mention this in the
1811 changelog because it is a Low-severity TROVE.
1813 o Minor bugfixes (usability):
1814 - Do not log "RENDEZVOUS1 cell with unrecognized rendezvous cookie"
1815 at LOG_PROTOCOL_WARN; instead log it at DEBUG. This warning can
1816 happen naturally if a client gives up on a rendezvous circuit
1817 after sending INTRODUCE1. Fixes part of bug 40400; bugfix
1819 - Do not log "circuit_receive_relay_cell failed" at
1820 LOG_PROTOCOL_WARN; instead log it at DEBUG. In every case where we
1821 would want to log this as a protocol warning, we are already
1822 logging another warning from inside circuit_receive_relay_cell.
1823 Fixes part of bug 40400; bugfix on 0.1.1.9-alpha.
1825 o Code simplification and refactoring:
1826 - Lower the official maximum for "guard-extreme-restriction-percent"
1827 to 100. This has no effect on when the guard code will generate a
1828 warning, but it makes the intent of the option clearer. Fixes bug
1829 40486; bugfix on 0.3.0.1-alpha.
1832 - Add unit tests for the Linux seccomp sandbox. Resolves
1835 o Code simplification and refactoring (rust):
1836 - Remove Rust support and its associated code. It is unsupported and
1837 Rust focus should be shifted to arti. Closes ticket 40469.
1839 o Testing (CI, chutney):
1840 - Bump the data size that chutney transmits to 5MBytes in order to
1841 trigger the flow control and congestion window code. Closes
1845 Changes in version 0.4.6.8 - 2021-10-26
1846 This version fixes several bugs from earlier versions of Tor. One
1847 highlight is a fix on how we track DNS timeouts to report general
1850 o Major bugfixes (relay, overload state):
1851 - Relays report the general overload state for DNS timeout errors
1852 only if X% of all DNS queries over Y seconds are errors. Before
1853 that, it only took 1 timeout to report the overload state which
1854 was just too low of a threshold. The X and Y values are 1% and 10
1855 minutes respectively but they are also controlled by consensus
1856 parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
1858 o Minor features (fallbackdir):
1859 - Regenerate fallback directories for October 2021. Closes
1862 o Minor features (testing):
1863 - On a testing network, relays can now use the
1864 TestingMinTimeToReportBandwidth option to change the smallest
1865 amount of time over which they're willing to report their observed
1866 maximum bandwidth. Previously, this was fixed at 1 day. For
1867 safety, values under 2 hours are only supported on testing
1868 networks. Part of a fix for ticket 40337.
1869 - Relays on testing networks no longer rate-limit how frequently
1870 they are willing to report new bandwidth measurements. Part of a
1871 fix for ticket 40337.
1872 - Relays on testing networks now report their observed bandwidths
1873 immediately from startup. Previously, they waited until they had
1874 been running for a full day. Closes ticket 40337.
1876 o Minor bugfix (onion service):
1877 - Do not flag an HSDir as non-running in case the descriptor upload
1878 or fetch fails. An onion service closes pending directory
1879 connections before uploading a new descriptor which can thus lead
1880 to wrongly flagging many relays and thus affecting circuit building
1881 path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
1882 - Improve logging when a bad HS version is given. Fixes bug 40476;
1883 bugfix on 0.4.6.1-alpha.
1885 o Minor bugfix (CI, onion service):
1886 - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
1887 bugfix on 0.3.2.1-alpha.
1889 o Minor bugfixes (compatibility):
1890 - Fix compatibility with the most recent Libevent versions, which no
1891 longer have an evdns_set_random_bytes() function. Because this
1892 function has been a no-op since Libevent 2.0.4-alpha, it is safe
1893 for us to just stop calling it. Fixes bug 40371; bugfix
1896 o Minor bugfixes (onion service, TROVE-2021-008):
1897 - Only log v2 access attempts once total, in order to not pollute
1898 the logs with warnings and to avoid recording the times on disk
1899 when v2 access was attempted. Note that the onion address was
1900 _never_ logged. This counts as a Low-severity security issue.
1901 Fixes bug 40474; bugfix on 0.4.5.8.
1904 Changes in version 0.4.5.11 - 2021-10-26
1905 The major change in this version is that v2 onion services are now
1906 disabled at the client, service, and relay: any Tor nodes running this
1907 version and onward will stop supporting v2 onion services. This is the
1908 last step in the long deprecation process of v2 onion services.
1909 Everyone running an earlier version, whether as a client, a relay, or
1910 an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
1913 o Major feature (onion service v2):
1914 - See https://blog.torproject.org/v2-deprecation-timeline for
1915 details on how to transition from v2 to v3.
1916 - The control port commands HSFETCH and HSPOST no longer allow
1917 version 2, and it is no longer possible to create a v2 service
1919 - Tor no longer allows creating v2 services, or connecting as a
1920 client to a v2 service. Relays will decline to be a v2 HSDir or
1921 introduction point. This effectively disables onion service
1922 version 2 Tor-wide. Closes ticket 40476.
1924 o Minor features (bridge, backport from 0.4.6.8):
1925 - We now announce the URL to Tor's new bridge status at
1926 https://bridges.torproject.org/ when Tor is configured to run as a
1927 bridge relay. Closes ticket 30477.
1929 o Minor features (fallbackdir):
1930 - Regenerate fallback directories for October 2021. Closes
1933 o Minor features (logging, diagnostic, backport from 0.4.6.5):
1934 - Log decompression failures at a higher severity level, since they
1935 can help provide missing context for other warning messages. We
1936 rate-limit these messages, to avoid flooding the logs if they
1937 begin to occur frequently. Closes ticket 40175.
1939 o Minor features (testing, backport from 0.4.6.8):
1940 - On a testing network, relays can now use the
1941 TestingMinTimeToReportBandwidth option to change the smallest
1942 amount of time over which they're willing to report their observed
1943 maximum bandwidth. Previously, this was fixed at 1 day. For
1944 safety, values under 2 hours are only supported on testing
1945 networks. Part of a fix for ticket 40337.
1946 - Relays on testing networks no longer rate-limit how frequently
1947 they are willing to report new bandwidth measurements. Part of a
1948 fix for ticket 40337.
1949 - Relays on testing networks now report their observed bandwidths
1950 immediately from startup. Previously, they waited until they had
1951 been running for a full day. Closes ticket 40337.
1953 o Minor bugfix (CI, onion service):
1954 - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
1955 bugfix on 0.3.2.1-alpha.
1957 o Minor bugfix (onion service, backport from 0.4.6.8):
1958 - Do not flag an HSDir as non-running in case the descriptor upload
1959 or fetch fails. An onion service closes pending directory
1960 connections before uploading a new descriptor which can thus lead
1961 to wrongly flagging many relays and thus affecting circuit building
1962 path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
1964 o Minor bugfixes (compatibility, backport from 0.4.6.8):
1965 - Fix compatibility with the most recent Libevent versions, which no
1966 longer have an evdns_set_random_bytes() function. Because this
1967 function has been a no-op since Libevent 2.0.4-alpha, it is safe
1968 for us to just stop calling it. Fixes bug 40371; bugfix
1971 o Minor bugfixes (consensus handling, backport from 0.4.6.4-rc):
1972 - Avoid a set of bugs that could be caused by inconsistently
1973 preferring an out-of-date consensus stored in a stale directory
1974 cache over a more recent one stored on disk as the latest
1975 consensus. Fixes bug 40375; bugfix on 0.3.1.1-alpha.
1977 o Minor bugfixes (onion service, TROVE-2021-008, backport from 0.4.6.8):
1978 - Only log v2 access attempts once total, in order to not pollute
1979 the logs with warnings and to avoid recording the times on disk
1980 when v2 access was attempted. Note that the onion address was
1981 _never_ logged. This counts as a Low-severity security issue.
1982 Fixes bug 40474; bugfix on 0.4.5.8.
1985 Changes in version 0.3.5.17 - 2021-10-26
1986 The major change in this version is that v2 onion services are now
1987 disabled at the client, service, and relay: any Tor nodes running this
1988 version and onward will stop supporting v2 onion services. This is the
1989 last step in the long deprecation process of v2 onion services.
1990 Everyone running an earlier version, whether as a client, a relay, or
1991 an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
1994 o Major feature (onion service v2, backport from 0.4.5.11):
1995 - See https://blog.torproject.org/v2-deprecation-timeline for
1996 details on how to transition from v2 to v3.
1997 - The control port commands HSFETCH and HSPOST no longer allow
1998 version 2, and it is no longer possible to create a v2 service
2000 - Tor no longer allows creating v2 services, or connecting as a
2001 client to a v2 service. Relays will decline to be a v2 HSDir or
2002 introduction point. This effectively disables onion service
2003 version 2 Tor-wide. Closes ticket 40476.
2005 o Minor features (bridge, backport from 0.4.6.8):
2006 - We now announce the URL to Tor's new bridge status at
2007 https://bridges.torproject.org/ when Tor is configured to run as a
2008 bridge relay. Closes ticket 30477.
2010 o Minor features (fallbackdir):
2011 - Regenerate fallback directories for October 2021. Closes
2014 o Minor bugfixes (compatibility, backport from 0.4.6.8):
2015 - Fix compatibility with the most recent Libevent versions, which no
2016 longer have an evdns_set_random_bytes() function. Because this
2017 function has been a no-op since Libevent 2.0.4-alpha, it is safe
2018 for us to just stop calling it. Fixes bug 40371; bugfix
2022 Changes in version 0.4.7.1-alpha - 2021-09-17
2023 This version is the first alpha release of the 0.4.7.x series. One
2024 major feature is Vanguards Lite, from proposal 333, to help mitigate
2025 guard discovery attacks against onion services. It also includes
2028 o Major features (Proposal 332, onion services, guard selection algorithm):
2029 - Clients and onion services now choose four long-lived "layer 2"
2030 guard relays for use as the middle hop in all onion circuits.
2031 These relays are kept in place for a randomized duration averaging
2032 1 week. This mitigates guard discovery attacks against clients and
2033 short-lived onion services such as OnionShare. Long-lived onion
2034 services that need high security should still use the Vanguards
2035 addon (https://github.com/mikeperry-tor/vanguards). Closes ticket
2036 40363; implements proposal 333.
2038 o Minor features (bridge testing support):
2039 - Let external bridge reachability testing tools discard cached
2040 bridge descriptors when setting new bridges, so they can be sure
2041 to get a clean reachability test. Implements ticket 40209.
2043 o Minor features (fuzzing):
2044 - When building with --enable-libfuzzer, use a set of compiler flags
2045 that works with more recent versions of the library. Previously we
2046 were using a set of flags from 2017. Closes ticket 40407.
2048 o Minor features (testing configuration):
2049 - When TestingTorNetwork is enabled, skip the permissions check on
2050 hidden service directories. Closes ticket 40338.
2051 - On a testing network, relays can now use the
2052 TestingMinTimeToReportBandwidth option to change the smallest
2053 amount of time over which they're willing to report their observed
2054 maximum bandwidth. Previously, this was fixed at 1 day. For
2055 safety, values under 2 hours are only supported on testing
2056 networks. Part of a fix for ticket 40337.
2057 - Relays on testing networks no longer rate-limit how frequently
2058 they are willing to report new bandwidth measurements. Part of a
2059 fix for ticket 40337.
2060 - Relays on testing networks now report their observed bandwidths
2061 immediately from startup. Previously, they waited until they had
2062 been running for a full day. Closes ticket 40337.
2064 o Minor bugfixes (circuit padding):
2065 - Don't send STOP circuit padding cells when the other side has
2066 already shut down the corresponding padding machine. Fixes bug
2067 40435; bugfix on 0.4.0.1-alpha.
2069 o Minor bugfixes (compatibility):
2070 - Fix compatibility with the most recent Libevent versions, which no
2071 longer have an evdns_set_random_bytes() function. Because this
2072 function has been a no-op since Libevent 2.0.4-alpha, it is safe
2073 for us to just stop calling it. Fixes bug 40371; bugfix
2076 o Minor bugfixes (control, sandbox):
2077 - Allows the control command SAVECONF to succeed when the seccomp
2078 sandbox is enabled. Makes SAVECONF keep only one backup file, to
2079 simplify implementation. Fixes bug 40317; bugfix on 0.2.5.4-alpha.
2080 Patch by Daniel Pinto.
2082 o Minor bugfixes (heartbeat):
2083 - Adjust the heartbeat log message about distinct clients to
2084 consider the HeartbeatPeriod rather than a flat 6-hour delay.
2085 Fixes bug 40330; bugfix on 0.2.6.3-alpha.
2087 o Minor bugfixes (logging, relay):
2088 - Add spaces between the "and" when logging the "Your server has not
2089 managed to confirm reachability for its" on dual-stack relays.
2090 Fixes bug 40453; bugfix on 0.4.5.1-alpha. Patch by Neel Chauhan.
2092 o Minor bugfixes (onion service):
2093 - Do not flag an HSDir as non-running in case the descriptor upload
2094 or fetch fails. An onion service closes pending directory
2095 connections before uploading a new descriptor which leads to
2096 wrongly flagging many relays and thus affecting circuit path
2097 selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
2099 o Minor bugfixes (statistics):
2100 - Fix a fencepost issue when we check stability_last_downrated where
2101 we called rep_hist_downrate_old_runs() twice. Fixes bug 40394;
2102 bugfix on 0.2.0.5-alpha. Patch by Neel Chauhan.
2104 o Minor bugfixes (tests):
2105 - Fix a bug that prevented some tests from running with the correct
2106 names. Fixes bug 40365; bugfix on 0.4.3.1-alpha.
2109 - Add links to original tor design paper and anonbib to
2110 docs/HACKING/README.1st.md. Closes ticket 33742. Patch from
2112 - Describe the "fingerprint-ed25519" file in the tor.1 man page.
2113 Fixes bug 40467; bugfix on 0.4.3.1-alpha. Patch by Neel Chauhan.
2116 Changes in version 0.4.6.7 - 2021-08-16
2117 This version fixes several bugs from earlier versions of Tor,
2118 including one that could lead to a denial-of-service attack. Everyone
2119 running an earlier version, whether as a client, a relay, or an onion
2120 service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
2122 o Major bugfixes (cryptography, security):
2123 - Resolve an assertion failure caused by a behavior mismatch between
2124 our batch-signature verification code and our single-signature
2125 verification code. This assertion failure could be triggered
2126 remotely, leading to a denial of service attack. We fix this issue
2127 by disabling batch verification. Fixes bug 40078; bugfix on
2128 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
2129 CVE-2021-38385. Found by Henry de Valence.
2131 o Minor feature (fallbackdir):
2132 - Regenerate fallback directories list. Close ticket 40447.
2134 o Minor features (geoip data):
2135 - Update the geoip files to match the IPFire Location Database, as
2136 retrieved on 2021/08/12.
2138 o Minor bugfix (crypto):
2139 - Disable the unused batch verification feature of ed25519-donna.
2140 Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
2143 o Minor bugfixes (onion service):
2144 - Send back the extended SOCKS error 0xF6 (Onion Service Invalid
2145 Address) for a v2 onion address. Fixes bug 40421; bugfix
2148 o Minor bugfixes (relay):
2149 - Reduce the compression level for data streaming from HIGH to LOW
2150 in order to reduce CPU load on the directory relays. Fixes bug
2151 40301; bugfix on 0.3.5.1-alpha.
2153 o Minor bugfixes (timekeeping):
2154 - Calculate the time of day correctly on systems where the time_t
2155 type includes leap seconds. (This is not the case on most
2156 operating systems, but on those where it occurs, our tor_timegm
2157 function did not correctly invert the system's gmtime function,
2158 which could result in assertion failures when calculating voting
2159 schedules.) Fixes bug 40383; bugfix on 0.2.0.3-alpha.
2162 Changes in version 0.4.5.10 - 2021-08-16
2163 This version fixes several bugs from earlier versions of Tor,
2164 including one that could lead to a denial-of-service attack. Everyone
2165 running an earlier version, whether as a client, a relay, or an onion
2166 service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
2168 o Major bugfixes (cryptography, security):
2169 - Resolve an assertion failure caused by a behavior mismatch between
2170 our batch-signature verification code and our single-signature
2171 verification code. This assertion failure could be triggered
2172 remotely, leading to a denial of service attack. We fix this issue
2173 by disabling batch verification. Fixes bug 40078; bugfix on
2174 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
2175 CVE-2021-38385. Found by Henry de Valence.
2177 o Minor feature (fallbackdir):
2178 - Regenerate fallback directories list. Close ticket 40447.
2180 o Minor features (geoip data):
2181 - Update the geoip files to match the IPFire Location Database, as
2182 retrieved on 2021/08/12.
2184 o Minor features (testing):
2185 - Enable the deterministic RNG for unit tests that covers the
2186 address set bloomfilter-based API's. Fixes bug 40419; bugfix
2189 o Minor bugfix (crypto, backport from 0.4.6.7):
2190 - Disable the unused batch verification feature of ed25519-donna.
2191 Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
2194 o Minor bugfixes (relay, backport from 0.4.6.7):
2195 - Reduce the compression level for data streaming from HIGH to LOW.
2196 Fixes bug 40301; bugfix on 0.3.5.1-alpha.
2198 o Minor bugfixes (timekeeping, backport from 0.4.6.7):
2199 - Calculate the time of day correctly on systems where the time_t
2200 type includes leap seconds. (This is not the case on most
2201 operating systems, but on those where it occurs, our tor_timegm
2202 function did not correctly invert the system's gmtime function,
2203 which could result in assertion failures when calculating voting
2204 schedules.) Fixes bug 40383; bugfix on 0.2.0.3-alpha.
2206 o Minor bugfixes (warnings, portability, backport from 0.4.6.6):
2207 - Suppress a strict-prototype warning when building with some
2208 versions of NSS. Fixes bug 40409; bugfix on 0.3.5.1-alpha.
2211 Changes in version 0.3.5.16 - 2021-08-16
2212 This version fixes several bugs from earlier versions of Tor,
2213 including one that could lead to a denial-of-service attack. Everyone
2214 running an earlier version, whether as a client, a relay, or an onion
2215 service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
2217 o Major bugfixes (cryptography, security):
2218 - Resolve an assertion failure caused by a behavior mismatch between
2219 our batch-signature verification code and our single-signature
2220 verification code. This assertion failure could be triggered
2221 remotely, leading to a denial of service attack. We fix this issue
2222 by disabling batch verification. Fixes bug 40078; bugfix on
2223 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
2224 CVE-2021-38385. Found by Henry de Valence.
2226 o Minor feature (fallbackdir):
2227 - Regenerate fallback directories list. Close ticket 40447.
2229 o Minor features (geoip data):
2230 - Update the geoip files to match the IPFire Location Database, as
2231 retrieved on 2021/08/12.
2233 o Minor bugfix (crypto, backport from 0.4.6.7):
2234 - Disable the unused batch verification feature of ed25519-donna.
2235 Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
2238 o Minor bugfixes (relay, backport from 0.4.6.7):
2239 - Reduce the compression level for data streaming from HIGH to LOW.
2240 Fixes bug 40301; bugfix on 0.3.5.1-alpha.
2243 Changes in version 0.4.6.6 - 2021-06-30
2244 Tor 0.4.6.6 makes several small fixes on 0.4.6.5, including one that
2245 allows Tor to build correctly on older versions of GCC. You should
2246 upgrade to this version if you were having trouble building Tor
2247 0.4.6.5; otherwise, there is probably no need.
2249 o Minor bugfixes (compilation):
2250 - Fix a compilation error when trying to build Tor with a compiler
2251 that does not support const variables in static initializers.
2252 Fixes bug 40410; bugfix on 0.4.6.5.
2253 - Suppress a strict-prototype warning when building with some
2254 versions of NSS. Fixes bug 40409; bugfix on 0.3.5.1-alpha.
2256 o Minor bugfixes (testing):
2257 - Enable the deterministic RNG for unit tests that covers the
2258 address set bloomfilter-based API's. Fixes bug 40419; bugfix
2262 Changes in version 0.4.5.9 - 2021-06-14
2263 Tor 0.4.5.9 fixes several security issues, including a
2264 denial-of-service attack against onion service clients, and another
2265 denial-of-service attack against relays. Everybody should upgrade to
2266 one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2268 o Major bugfixes (security, backport from 0.4.6.5):
2269 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2270 half-closed streams. Previously, clients failed to validate which
2271 hop sent these cells: this would allow a relay on a circuit to end
2272 a stream that wasn't actually built with it. Fixes bug 40389;
2273 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2274 003 and CVE-2021-34548.
2276 o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
2277 - Detect more failure conditions from the OpenSSL RNG code.
2278 Previously, we would detect errors from a missing RNG
2279 implementation, but not failures from the RNG code itself.
2280 Fortunately, it appears those failures do not happen in practice
2281 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2282 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2283 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2285 o Major bugfixes (security, denial of service, backport from 0.4.6.5):
2286 - Resist a hashtable-based CPU denial-of-service attack against
2287 relays. Previously we used a naive unkeyed hash function to look
2288 up circuits in a circuitmux object. An attacker could exploit this
2289 to construct circuits with chosen circuit IDs, to create
2290 collisions and make the hash table inefficient. Now we use a
2291 SipHash construction here instead. Fixes bug 40391; bugfix on
2292 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2293 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2294 - Fix an out-of-bounds memory access in v3 onion service descriptor
2295 parsing. An attacker could exploit this bug by crafting an onion
2296 service descriptor that would crash any client that tried to visit
2297 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2298 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2299 Glazunov from Google's Project Zero.
2301 o Minor features (compatibility, backport from 0.4.6.4-rc):
2302 - Remove an assertion function related to TLS renegotiation. It was
2303 used nowhere outside the unit tests, and it was breaking
2304 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2307 o Minor features (geoip data):
2308 - Update the geoip files to match the IPFire Location Database, as
2309 retrieved on 2021/06/10.
2311 o Minor bugfixes (control, sandbox, backport from 0.4.6.4-rc):
2312 - Allow the control command SAVECONF to succeed when the seccomp
2313 sandbox is enabled, and make SAVECONF keep only one backup file to
2314 simplify implementation. Previously SAVECONF allowed a large
2315 number of backup files, which made it incompatible with the
2316 sandbox. Fixes bug 40317; bugfix on 0.2.5.4-alpha. Patch by
2319 o Minor bugfixes (metrics port, backport from 0.4.6.4-rc):
2320 - Fix a bug that made tor try to re-bind() on an already open
2321 MetricsPort every 60 seconds. Fixes bug 40370; bugfix
2325 Changes in version 0.4.4.9 - 2021-06-14
2326 Tor 0.4.4.9 fixes several security issues, including a
2327 denial-of-service attack against onion service clients, and another
2328 denial-of-service attack against relays. Everybody should upgrade to
2329 one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2331 Note that the scheduled end-of-life date for the Tor 0.4.4.x series is
2332 June 15. This is therefore the last release in its series. Everybody
2333 still running 0.4.4.x should plan to upgrade to 0.4.5.x or later.
2335 o Major bugfixes (security, backport from 0.4.6.5):
2336 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2337 half-closed streams. Previously, clients failed to validate which
2338 hop sent these cells: this would allow a relay on a circuit to end
2339 a stream that wasn't actually built with it. Fixes bug 40389;
2340 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2341 003 and CVE-2021-34548.
2343 o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
2344 - Detect more failure conditions from the OpenSSL RNG code.
2345 Previously, we would detect errors from a missing RNG
2346 implementation, but not failures from the RNG code itself.
2347 Fortunately, it appears those failures do not happen in practice
2348 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2349 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2350 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2352 o Major bugfixes (security, denial of service, backport from 0.4.6.5):
2353 - Resist a hashtable-based CPU denial-of-service attack against
2354 relays. Previously we used a naive unkeyed hash function to look
2355 up circuits in a circuitmux object. An attacker could exploit this
2356 to construct circuits with chosen circuit IDs, to create
2357 collisions and make the hash table inefficient. Now we use a
2358 SipHash construction here instead. Fixes bug 40391; bugfix on
2359 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2360 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2361 - Fix an out-of-bounds memory access in v3 onion service descriptor
2362 parsing. An attacker could exploit this bug by crafting an onion
2363 service descriptor that would crash any client that tried to visit
2364 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2365 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2366 Glazunov from Google's Project Zero.
2368 o Minor features (compatibility, backport from 0.4.6.4-rc):
2369 - Remove an assertion function related to TLS renegotiation. It was
2370 used nowhere outside the unit tests, and it was breaking
2371 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2374 o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
2375 - Regenerate the list of fallback directories to contain a new set
2376 of 200 relays. Closes ticket 40265.
2378 o Minor features (geoip data):
2379 - Update the geoip files to match the IPFire Location Database, as
2380 retrieved on 2021/06/10.
2382 o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
2383 - Fix a non-fatal BUG() message due to a too-early free of a string,
2384 when listing a client connection from the DoS defenses subsystem.
2385 Fixes bug 40345; bugfix on 0.4.3.4-rc.
2387 o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
2388 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2389 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2392 Changes in version 0.3.5.15 - 2021-06-14
2393 Tor 0.3.5.15 fixes several security issues, including a
2394 denial-of-service attack against onion service clients, and another
2395 denial-of-service attack against relays. Everybody should upgrade to
2396 one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2398 o Major bugfixes (security, backport from 0.4.6.5):
2399 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2400 half-closed streams. Previously, clients failed to validate which
2401 hop sent these cells: this would allow a relay on a circuit to end
2402 a stream that wasn't actually built with it. Fixes bug 40389;
2403 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2404 003 and CVE-2021-34548.
2406 o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
2407 - Detect more failure conditions from the OpenSSL RNG code.
2408 Previously, we would detect errors from a missing RNG
2409 implementation, but not failures from the RNG code itself.
2410 Fortunately, it appears those failures do not happen in practice
2411 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2412 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2413 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2415 o Major bugfixes (security, denial of service, backport from 0.4.6.5):
2416 - Resist a hashtable-based CPU denial-of-service attack against
2417 relays. Previously we used a naive unkeyed hash function to look
2418 up circuits in a circuitmux object. An attacker could exploit this
2419 to construct circuits with chosen circuit IDs, to create
2420 collisions and make the hash table inefficient. Now we use a
2421 SipHash construction here instead. Fixes bug 40391; bugfix on
2422 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2423 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2424 - Fix an out-of-bounds memory access in v3 onion service descriptor
2425 parsing. An attacker could exploit this bug by crafting an onion
2426 service descriptor that would crash any client that tried to visit
2427 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2428 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2429 Glazunov from Google's Project Zero.
2431 o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
2432 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2433 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2435 o Minor features (compatibility, backport from 0.4.6.4-rc):
2436 - Remove an assertion function related to TLS renegotiation. It was
2437 used nowhere outside the unit tests, and it was breaking
2438 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2441 o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
2442 - Regenerate the list of fallback directories to contain a new set
2443 of 200 relays. Closes ticket 40265.
2445 o Minor features (geoip data):
2446 - Update the geoip files to match the IPFire Location Database, as
2447 retrieved on 2021/06/10.
2450 Changes in version 0.4.6.5 - 2021-06-14
2451 Tor 0.4.6.5 is the first stable release in its series. The 0.4.6.x
2452 series includes numerous features and bugfixes, including a significant
2453 improvement to our circuit timeout algorithm that should improve
2454 observed client performance, and a way for relays to report when they are
2457 This release also includes security fixes for several security issues,
2458 including a denial-of-service attack against onion service clients,
2459 and another denial-of-service attack against relays. Everybody should
2460 upgrade to one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
2462 Below are the changes since 0.4.6.4-rc. For a complete list of changes
2463 since 0.4.5.8, see the ReleaseNotes file.
2465 o Major bugfixes (security):
2466 - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
2467 half-closed streams. Previously, clients failed to validate which
2468 hop sent these cells: this would allow a relay on a circuit to end
2469 a stream that wasn't actually built with it. Fixes bug 40389;
2470 bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
2471 003 and CVE-2021-34548.
2473 o Major bugfixes (security, defense-in-depth):
2474 - Detect more failure conditions from the OpenSSL RNG code.
2475 Previously, we would detect errors from a missing RNG
2476 implementation, but not failures from the RNG code itself.
2477 Fortunately, it appears those failures do not happen in practice
2478 when Tor is using OpenSSL's default RNG implementation. Fixes bug
2479 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
2480 TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
2482 o Major bugfixes (security, denial of service):
2483 - Resist a hashtable-based CPU denial-of-service attack against
2484 relays. Previously we used a naive unkeyed hash function to look
2485 up circuits in a circuitmux object. An attacker could exploit this
2486 to construct circuits with chosen circuit IDs, to create
2487 collisions and make the hash table inefficient. Now we use a
2488 SipHash construction here instead. Fixes bug 40391; bugfix on
2489 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
2490 CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
2491 - Fix an out-of-bounds memory access in v3 onion service descriptor
2492 parsing. An attacker could exploit this bug by crafting an onion
2493 service descriptor that would crash any client that tried to visit
2494 it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
2495 tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
2496 Glazunov from Google's Project Zero.
2498 o Minor features (geoip data):
2499 - Update the geoip files to match the IPFire Location Database, as
2500 retrieved on 2021/06/10.
2502 o Minor features (logging, diagnostic):
2503 - Log decompression failures at a higher severity level, since they
2504 can help provide missing context for other warning messages. We
2505 rate-limit these messages, to avoid flooding the logs if they
2506 begin to occur frequently. Closes ticket 40175.
2509 Changes in version 0.4.6.4-rc - 2021-05-28
2510 Tor 0.4.6.4-rc fixes a few bugs from previous releases. This, we hope,
2511 the final release candidate in its series: unless major new issues are
2512 found, the next release will be stable.
2514 o Minor features (compatibility):
2515 - Remove an assertion function related to TLS renegotiation. It was
2516 used nowhere outside the unit tests, and it was breaking
2517 compilation with recent alpha releases of OpenSSL 3.0.0. Closes
2520 o Minor bugfixes (consensus handling):
2521 - Avoid a set of bugs that could be caused by inconsistently
2522 preferring an out-of-date consensus stored in a stale directory
2523 cache over a more recent one stored on disk as the latest
2524 consensus. Fixes bug 40375; bugfix on 0.3.1.1-alpha.
2526 o Minor bugfixes (control, sandbox):
2527 - Allow the control command SAVECONF to succeed when the seccomp
2528 sandbox is enabled, and make SAVECONF keep only one backup file to
2529 simplify implementation. Previously SAVECONF allowed a large
2530 number of backup files, which made it incompatible with the
2531 sandbox. Fixes bug 40317; bugfix on 0.2.5.4-alpha. Patch by
2534 o Minor bugfixes (metrics port):
2535 - Fix a bug that made tor try to re-bind() on an already open
2536 MetricsPort every 60 seconds. Fixes bug 40370; bugfix
2540 - Remove unneeded code for parsing private keys in directory
2541 documents. This code was only used for client authentication in v2
2542 onion services, which are now unsupported. Closes ticket 40374.
2545 Changes in version 0.4.5.8 - 2021-05-10
2546 Tor 0.4.5.8 fixes several bugs in earlier version, backporting fixes
2547 from the 0.4.6.x series.
2549 o Minor features (compatibility, Linux seccomp sandbox, backport from 0.4.6.3-rc):
2550 - Add a workaround to enable the Linux sandbox to work correctly
2551 with Glibc 2.33. This version of Glibc has started using the
2552 fstatat() system call, which previously our sandbox did not allow.
2553 Closes ticket 40382; see the ticket for a discussion of trade-offs.
2555 o Minor features (compilation, backport from 0.4.6.3-rc):
2556 - Make the autoconf script build correctly with autoconf versions
2557 2.70 and later. Closes part of ticket 40335.
2559 o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
2560 - Regenerate the list of fallback directories to contain a new set
2561 of 200 relays. Closes ticket 40265.
2563 o Minor features (geoip data):
2564 - Update the geoip files to match the IPFire Location Database, as
2565 retrieved on 2021/05/07.
2567 o Minor features (onion services):
2568 - Add warning message when connecting to now deprecated v2 onion
2569 services. As announced, Tor 0.4.5.x is the last series that will
2570 support v2 onions. Closes ticket 40373.
2572 o Minor bugfixes (bridge, pluggable transport, backport from 0.4.6.2-alpha):
2573 - Fix a regression that made it impossible start Tor using a bridge
2574 line with a transport name and no fingerprint. Fixes bug 40360;
2575 bugfix on 0.4.5.4-rc.
2577 o Minor bugfixes (build, cross-compilation, backport from 0.4.6.3-rc):
2578 - Allow a custom "ar" for cross-compilation. Our previous build
2579 script had used the $AR environment variable in most places, but
2580 it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
2582 o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
2583 - Fix a non-fatal BUG() message due to a too-early free of a string,
2584 when listing a client connection from the DoS defenses subsystem.
2585 Fixes bug 40345; bugfix on 0.4.3.4-rc.
2587 o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
2588 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2589 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2591 o Minor bugfixes (controller, backport from 0.4.6.1-alpha):
2592 - Fix a "BUG" warning that would appear when a controller chooses
2593 the first hop for a circuit, and that circuit completes. Fixes bug
2594 40285; bugfix on 0.3.2.1-alpha.
2596 o Minor bugfixes (onion service, client, memory leak, backport from 0.4.6.3-rc):
2597 - Fix a bug where an expired cached descriptor could get overwritten
2598 with a new one without freeing it, leading to a memory leak. Fixes
2599 bug 40356; bugfix on 0.3.5.1-alpha.
2601 o Minor bugfixes (testing, BSD, backport from 0.4.6.2-alpha):
2602 - Fix pattern-matching errors when patterns expand to invalid paths
2603 on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
2607 Changes in version 0.4.6.3-rc - 2021-05-10
2608 Tor 0.4.6.3-rc is the first release candidate in its series. It fixes
2609 a few small bugs from previous versions, and adds a better error
2610 message when trying to use (no longer supported) v2 onion services.
2612 Though we anticipate that we'll be doing a bit more clean-up between
2613 now and the stable release, we expect that our remaining changes will
2614 be fairly simple. There will likely be at least one more release
2615 candidate before 0.4.6.x is stable.
2617 o Major bugfixes (onion service, control port):
2618 - Make the ADD_ONION command properly configure client authorization.
2619 Before this fix, the created onion failed to add the client(s).
2620 Fixes bug 40378; bugfix on 0.4.6.1-alpha.
2622 o Minor features (compatibility, Linux seccomp sandbox):
2623 - Add a workaround to enable the Linux sandbox to work correctly
2624 with Glibc 2.33. This version of Glibc has started using the
2625 fstatat() system call, which previously our sandbox did not allow.
2626 Closes ticket 40382; see the ticket for a discussion of trade-offs.
2628 o Minor features (compilation):
2629 - Make the autoconf script build correctly with autoconf versions
2630 2.70 and later. Closes part of ticket 40335.
2632 o Minor features (geoip data):
2633 - Update the geoip files to match the IPFire Location Database, as
2634 retrieved on 2021/05/07.
2636 o Minor features (onion services):
2637 - Add a warning message when trying to connect to (no longer
2638 supported) v2 onion services. Closes ticket 40373.
2640 o Minor bugfixes (build, cross-compilation):
2641 - Allow a custom "ar" for cross-compilation. Our previous build
2642 script had used the $AR environment variable in most places, but
2643 it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
2645 o Minor bugfixes (compiler warnings):
2646 - Fix an indentation problem that led to a warning from GCC 11.1.1.
2647 Fixes bug 40380; bugfix on 0.3.0.1-alpha.
2649 o Minor bugfixes (logging, relay):
2650 - Emit a warning if an Address is found to be internal and tor can't
2651 use it. Fixes bug 40290; bugfix on 0.4.5.1-alpha.
2653 o Minor bugfixes (onion service, client, memory leak):
2654 - Fix a bug where an expired cached descriptor could get overwritten
2655 with a new one without freeing it, leading to a memory leak. Fixes
2656 bug 40356; bugfix on 0.3.5.1-alpha.
2659 Changes in version 0.4.6.2-alpha - 2021-04-15
2660 Tor 0.4.6.2-alpha is the second alpha in its series. It fixes several
2661 small bugs in previous releases, and solves other issues that had
2662 enabled denial-of-service attacks and affected integration with
2665 o Minor features (client):
2666 - Clients now check whether their streams are attempting to re-enter
2667 the Tor network (i.e. to send Tor traffic over Tor), and close
2668 them preemptively if they think exit relays will refuse them for
2669 this reason. See ticket 2667 for details. Closes ticket 40271.
2671 o Minor features (command line):
2672 - Add long format name "--torrc-file" equivalent to the existing
2673 command-line option "-f". Closes ticket 40324. Patch by
2676 o Minor features (dormant mode):
2677 - Add a new 'DormantTimeoutEnabled' option to allow coarse-grained
2678 control over whether the client ever becomes dormant from
2679 inactivity. Most people won't need this. Closes ticket 40228.
2681 o Minor features (fallback directory list):
2682 - Regenerate the list of fallback directories to contain a new set
2683 of 200 relays. Closes ticket 40265.
2685 o Minor features (geoip data):
2686 - Update the geoip files to match the IPFire Location Database, as
2687 retrieved on 2021/04/13.
2689 o Minor features (logging):
2690 - Edit heartbeat log messages so that more of them begin with the
2691 string "Heartbeat: ". Closes ticket 40322; patch
2694 o Minor bugfixes (bridge, pluggable transport):
2695 - Fix a regression that made it impossible start Tor using a bridge
2696 line with a transport name and no fingerprint. Fixes bug 40360;
2697 bugfix on 0.4.5.4-rc.
2699 o Minor bugfixes (channel, DoS):
2700 - Fix a non-fatal BUG() message due to a too-early free of a string,
2701 when listing a client connection from the DoS defenses subsystem.
2702 Fixes bug 40345; bugfix on 0.4.3.4-rc.
2704 o Minor bugfixes (compilation):
2705 - Fix a compilation warning about unused functions when building
2706 with a libc that lacks the GLOB_ALTDIRFUNC constant. Fixes bug
2707 40354; bugfix on 0.4.5.1-alpha. Patch by Daniel Pinto.
2709 o Minor bugfixes (configuration):
2710 - Fix pattern-matching for directories on all platforms when using
2711 %include options in configuration files. This patch also fixes
2712 compilation on musl libc based systems. Fixes bug 40141; bugfix
2715 o Minor bugfixes (relay):
2716 - Move the "overload-general" line from extrainfo to the server
2717 descriptor. Fixes bug 40364; bugfix on 0.4.6.1-alpha.
2719 o Minor bugfixes (testing, BSD):
2720 - Fix pattern-matching errors when patterns expand to invalid paths
2721 on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
2724 o Documentation (manual):
2725 - Move the ServerTransport* options to the "SERVER OPTIONS" section.
2727 - Indicate that the HiddenServiceStatistics option also applies to
2728 bridges. Closes ticket 40346.
2729 - Move the description of BridgeRecordUsageByCountry to the section
2730 "STATISTICS OPTIONS". Closes ticket 40323.
2733 Changes in version 0.4.6.1-alpha - 2021-03-18
2734 Tor 0.4.6.1-alpha is the first alpha release in the 0.4.6.x series. It
2735 improves client circuit performance, adds missing features, and
2736 improves some of our DoS handling and statistics reporting. It also
2737 includes numerous smaller bugfixes.
2739 Below are the changes since 0.4.5.7. (Note that this release DOES
2740 include the fixes for the security bugs already fixed in 0.4.5.7.)
2742 o Major features (control port, onion services):
2743 - Add controller support for creating version 3 onion services with
2744 client authorization. Previously, only v2 onion services could be
2745 created with client authorization. Closes ticket 40084. Patch by
2748 o Major features (directory authority):
2749 - When voting on a relay with a Sybil-like appearance, add the Sybil
2750 flag when clearing out the other flags. This lets a relay operator
2751 know why their relay hasn't been included in the consensus. Closes
2752 ticket 40255. Patch by Neel Chauhan.
2754 o Major features (metrics):
2755 - Relays now report how overloaded they are in their extrainfo
2756 documents. This information is controlled with the
2757 OverloadStatistics torrc option, and it will be used to improve
2758 decisions about the network's load balancing. Implements proposal
2759 328; closes ticket 40222.
2761 o Major features (relay, denial of service):
2762 - Add a new DoS subsystem feature to control the rate of client
2763 connections for relays. Closes ticket 40253.
2765 o Major features (statistics):
2766 - Relays now publish statistics about the number of v3 onion
2767 services and volume of v3 onion service traffic, in the same
2768 manner they already do for v2 onions. Closes ticket 23126.
2770 o Major bugfixes (circuit build timeout):
2771 - Improve the accuracy of our circuit build timeout calculation for
2772 60%, 70%, and 80% build rates for various guard choices. We now
2773 use a maximum likelihood estimator for Pareto parameters of the
2774 circuit build time distribution, instead of a "right-censored
2775 estimator". This causes clients to ignore circuits that never
2776 finish building in their timeout calculations. Previously, clients
2777 were counting such unfinished circuits as having the highest
2778 possible build time value, when in reality these circuits most
2779 likely just contain relays that are offline. We also now wait a
2780 bit longer to let circuits complete for measurement purposes,
2781 lower the minimum possible effective timeout from 1.5 seconds to
2782 10ms, and increase the resolution of the circuit build time
2783 histogram from 50ms bin widths to 10ms bin widths. Additionally,
2784 we alter our estimate Xm by taking the maximum of the top 10 most
2785 common build time values of the 10ms histogram, and compute Xm as
2786 the average of these. Fixes bug 40168; bugfix on 0.2.2.14-alpha.
2787 - Remove max_time calculation and associated warning from circuit
2788 build timeout 'alpha' parameter estimation, as this is no longer
2789 needed by our new estimator from 40168. Fixes bug 34088; bugfix
2792 o Major bugfixes (signing key):
2793 - In the tor-gencert utility, give an informative error message if
2794 the passphrase given in `--create-identity-key` is too short.
2795 Fixes bug 40189; bugfix on 0.2.0.1-alpha. Patch by Neel Chauhan.
2797 o Minor features (bridge):
2798 - We now announce the URL to Tor's new bridge status at
2799 https://bridges.torproject.org/ when Tor is configured to run as a
2800 bridge relay. Closes ticket 30477.
2802 o Minor features (build system):
2803 - New "make lsp" command to auto generate the compile_commands.json
2804 file used by the ccls server. The "bear" program is needed for
2805 this. Closes ticket 40227.
2807 o Minor features (command-line interface):
2808 - Add build informations to `tor --version` in order to ease
2809 reproducible builds. Closes ticket 32102.
2810 - When parsing command-line flags that take an optional argument,
2811 treat the argument as absent if it would start with a '-'
2812 character. Arguments in that form are not intelligible for any of
2813 our optional-argument flags. Closes ticket 40223.
2814 - Allow a relay operator to list the ed25519 keys on the command
2815 line by adding the `rsa` and `ed25519` arguments to the
2816 --list-fingerprint flag to show the respective RSA and ed25519
2817 relay fingerprint. Closes ticket 33632. Patch by Neel Chauhan.
2819 o Minor features (control port, stream handling):
2820 - Add the stream ID to the event line in the ADDRMAP control event.
2821 Closes ticket 40249. Patch by Neel Chauhan.
2823 o Minor features (dormant mode):
2824 - Add a new 'DormantTimeoutEnabled' option for coarse-grained
2825 control over whether the client can become dormant from
2826 inactivity. Most people won't need this. Closes ticket 40228.
2828 o Minor features (logging):
2829 - Change the DoS subsystem heartbeat line format to be more clear on
2830 what has been detected/rejected, and which option is disabled (if
2831 any). Closes ticket 40308.
2832 - In src/core/mainloop/mainloop.c and src/core/mainloop/connection.c,
2833 put brackets around IPv6 addresses in log messages. Closes ticket
2834 40232. Patch by Neel Chauhan.
2836 o Minor features (performance, windows):
2837 - Use SRWLocks to implement locking on Windows. Replaces the
2838 "critical section" locking implementation with the faster
2839 SRWLocks, available since Windows Vista. Closes ticket 17927.
2840 Patch by Daniel Pinto.
2842 o Minor features (protocol, proxy support, defense in depth):
2843 - Close HAProxy connections if they somehow manage to send us data
2844 before we start reading. Closes another case of ticket 40017.
2846 o Minor features (tests, portability):
2847 - Port the hs_build_address.py test script to work with recent
2848 versions of python. Closes ticket 40213. Patch from
2851 o Minor features (vote document):
2852 - Add a "stats" line to directory authority votes, to report various
2853 statistics that authorities compute about the relays. This will
2854 help us diagnose the network better. Closes ticket 40314.
2856 o Minor bugfixes (build):
2857 - The configure script now shows whether or not lzma and zstd have
2858 been used, not just if the enable flag was passed in. Fixes bug
2859 40236; bugfix on 0.4.3.1-alpha.
2861 o Minor bugfixes (compatibility):
2862 - Fix a failure in the test cases when running on the "hppa"
2863 architecture, along with a related test that might fail on other
2864 architectures in the future. Fixes bug 40274; bugfix
2867 o Minor bugfixes (controller):
2868 - Fix a "BUG" warning that would appear when a controller chooses
2869 the first hop for a circuit, and that circuit completes. Fixes bug
2870 40285; bugfix on 0.3.2.1-alpha.
2872 o Minor bugfixes (directory authorities, voting):
2873 - Add a new consensus method (31) to support any future changes that
2874 authorities decide to make to the value of bwweightscale or
2875 maxunmeasuredbw. Previously, there was a bug that prevented the
2876 authorities from parsing these consensus parameters correctly under
2877 most circumstances. Fixes bug 19011; bugfix on 0.2.2.10-alpha.
2879 o Minor bugfixes (ipv6):
2880 - Allow non-SOCKSPorts to disable IPv4, IPv6, and PreferIPv4. Some
2881 rare configurations might break, but in this case you can disable
2882 NoIPv4Traffic and NoIPv6Traffic as needed. Fixes bug 33607; bugfix
2883 on 0.4.1.1-alpha. Patch by Neel Chauhan.
2885 o Minor bugfixes (key generation):
2886 - Do not require a valid torrc when using the `--keygen` argument to
2887 generate a signing key. This allows us to generate keys on systems
2888 or users which may not run Tor. Fixes bug 40235; bugfix on
2889 0.2.7.2-alpha. Patch by Neel Chauhan.
2891 o Minor bugfixes (onion services, logging):
2892 - Downgrade the severity of a few rendezvous circuit-related
2893 warnings from warning to info. Fixes bug 40207; bugfix on
2894 0.3.2.1-alpha. Patch by Neel Chauhan.
2896 o Minor bugfixes (relay):
2897 - Reduce the compression level for data streaming from HIGH to LOW.
2898 This should reduce the CPU and memory burden for directory caches.
2899 Fixes bug 40301; bugfix on 0.3.5.1-alpha.
2901 o Code simplification and refactoring:
2902 - Remove the orconn_ext_or_id_map structure and related functions.
2903 (Nothing outside of unit tests used them.) Closes ticket 33383.
2904 Patch by Neel Chauhan.
2907 - As of this release, Tor no longer supports the old v2 onion
2908 services. They were deprecated last July for security, and support
2909 will be removed entirely later this year. We strongly encourage
2910 everybody to migrate to v3 onion services. For more information,
2911 see https://blog.torproject.org/v2-deprecation-timeline . Closes
2912 ticket 40266. (NOTE: We accidentally released an earlier version
2913 of the 0.4.6.1-alpha changelog without this entry. Sorry for
2916 o Code simplification and refactoring (metrics, DoS):
2917 - Move the DoS subsystem into the subsys manager, including its
2918 configuration options. Closes ticket 40261.
2920 o Removed features (relay):
2921 - Because DirPorts are only used on authorities, relays no longer
2922 advertise them. Similarly, self-testing for DirPorts has been
2923 disabled, since an unreachable DirPort is no reason for a relay
2924 not to advertise itself. (Configuring a DirPort will still work,
2925 for now.) Closes ticket 40282.
2928 Changes in version 0.3.5.14 - 2021-03-16
2929 Tor 0.3.5.14 backports fixes for two important denial-of-service bugs
2930 in earlier versions of Tor.
2932 One of these vulnerabilities (TROVE-2021-001) would allow an attacker
2933 who can send directory data to a Tor instance to force that Tor
2934 instance to consume huge amounts of CPU. This is easiest to exploit
2935 against authorities, since anybody can upload to them, but directory
2936 caches could also exploit this vulnerability against relays or clients
2937 when they download. The other vulnerability (TROVE-2021-002) only
2938 affects directory authorities, and would allow an attacker to remotely
2939 crash the authority with an assertion failure. Patches have already
2940 been provided to the authority operators, to help ensure
2943 We recommend that everybody upgrade to one of the releases that fixes
2944 these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
2947 This release also updates our GeoIP data source, and fixes a
2948 compatibility issue.
2950 o Major bugfixes (security, denial of service, backport from 0.4.5.7):
2951 - Disable the dump_desc() function that we used to dump unparseable
2952 information to disk. It was called incorrectly in several places,
2953 in a way that could lead to excessive CPU usage. Fixes bug 40286;
2954 bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
2955 001 and CVE-2021-28089.
2956 - Fix a bug in appending detached signatures to a pending consensus
2957 document that could be used to crash a directory authority. Fixes
2958 bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
2961 o Minor features (geoip data, backport from 0.4.5.7):
2962 - We have switched geoip data sources. Previously we shipped IP-to-
2963 country mappings from Maxmind's GeoLite2, but in 2019 they changed
2964 their licensing terms, so we were unable to update them after that
2965 point. We now ship geoip files based on the IPFire Location
2966 Database instead. (See https://location.ipfire.org/ for more
2967 information). This release updates our geoip files to match the
2968 IPFire Location Database as retrieved on 2021/03/12. Closes
2971 o Removed features (mallinfo deprecated, backport from 0.4.5.7):
2972 - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
2973 Closes ticket 40309.
2976 Changes in version 0.4.4.8 - 2021-03-16
2977 Tor 0.4.4.8 backports fixes for two important denial-of-service bugs
2978 in earlier versions of Tor.
2980 One of these vulnerabilities (TROVE-2021-001) would allow an attacker
2981 who can send directory data to a Tor instance to force that Tor
2982 instance to consume huge amounts of CPU. This is easiest to exploit
2983 against authorities, since anybody can upload to them, but directory
2984 caches could also exploit this vulnerability against relays or clients
2985 when they download. The other vulnerability (TROVE-2021-002) only
2986 affects directory authorities, and would allow an attacker to remotely
2987 crash the authority with an assertion failure. Patches have already
2988 been provided to the authority operators, to help ensure
2991 We recommend that everybody upgrade to one of the releases that fixes
2992 these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
2995 This release also updates our GeoIP data source, and fixes a
2996 compatibility issue.
2998 o Major bugfixes (security, denial of service, backport from 0.4.5.7):
2999 - Disable the dump_desc() function that we used to dump unparseable
3000 information to disk. It was called incorrectly in several places,
3001 in a way that could lead to excessive CPU usage. Fixes bug 40286;
3002 bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
3003 001 and CVE-2021-28089.
3004 - Fix a bug in appending detached signatures to a pending consensus
3005 document that could be used to crash a directory authority. Fixes
3006 bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
3009 o Minor features (geoip data, backport from 0.4.5.7):
3010 - We have switched geoip data sources. Previously we shipped IP-to-
3011 country mappings from Maxmind's GeoLite2, but in 2019 they changed
3012 their licensing terms, so we were unable to update them after that
3013 point. We now ship geoip files based on the IPFire Location
3014 Database instead. (See https://location.ipfire.org/ for more
3015 information). This release updates our geoip files to match the
3016 IPFire Location Database as retrieved on 2021/03/12. Closes
3019 o Removed features (mallinfo deprecated, backport from 0.4.5.7):
3020 - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
3021 Closes ticket 40309.
3024 Changes in version 0.4.5.7 - 2021-03-16
3025 Tor 0.4.5.7 fixes two important denial-of-service bugs in earlier
3028 One of these vulnerabilities (TROVE-2021-001) would allow an attacker
3029 who can send directory data to a Tor instance to force that Tor
3030 instance to consume huge amounts of CPU. This is easiest to exploit
3031 against authorities, since anybody can upload to them, but directory
3032 caches could also exploit this vulnerability against relays or clients
3033 when they download. The other vulnerability (TROVE-2021-002) only
3034 affects directory authorities, and would allow an attacker to remotely
3035 crash the authority with an assertion failure. Patches have already
3036 been provided to the authority operators, to help ensure
3039 We recommend that everybody upgrade to one of the releases that fixes
3040 these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
3043 This release also updates our GeoIP data source, and fixes a few
3044 smaller bugs in earlier releases.
3046 o Major bugfixes (security, denial of service):
3047 - Disable the dump_desc() function that we used to dump unparseable
3048 information to disk. It was called incorrectly in several places,
3049 in a way that could lead to excessive CPU usage. Fixes bug 40286;
3050 bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
3051 001 and CVE-2021-28089.
3052 - Fix a bug in appending detached signatures to a pending consensus
3053 document that could be used to crash a directory authority. Fixes
3054 bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
3057 o Minor features (geoip data):
3058 - We have switched geoip data sources. Previously we shipped IP-to-
3059 country mappings from Maxmind's GeoLite2, but in 2019 they changed
3060 their licensing terms, so we were unable to update them after that
3061 point. We now ship geoip files based on the IPFire Location
3062 Database instead. (See https://location.ipfire.org/ for more
3063 information). This release updates our geoip files to match the
3064 IPFire Location Database as retrieved on 2021/03/12. Closes
3067 o Minor bugfixes (directory authority):
3068 - Now that exit relays don't allow exit connections to directory
3069 authority DirPorts (to prevent network reentry), disable
3070 authorities' reachability self test on the DirPort. Fixes bug
3071 40287; bugfix on 0.4.5.5-rc.
3073 o Minor bugfixes (documentation):
3074 - Fix a formatting error in the documentation for
3075 VirtualAddrNetworkIPv6. Fixes bug 40256; bugfix on 0.2.9.4-alpha.
3077 o Minor bugfixes (Linux, relay):
3078 - Fix a bug in determining total available system memory that would
3079 have been triggered if the format of Linux's /proc/meminfo file
3080 had ever changed to include "MemTotal:" in the middle of a line.
3081 Fixes bug 40315; bugfix on 0.2.5.4-alpha.
3083 o Minor bugfixes (metrics port):
3084 - Fix a BUG() warning on the MetricsPort for an internal missing
3085 handler. Fixes bug 40295; bugfix on 0.4.5.1-alpha.
3087 o Minor bugfixes (onion service):
3088 - Remove a harmless BUG() warning when reloading tor configured with
3089 onion services. Fixes bug 40334; bugfix on 0.4.5.1-alpha.
3091 o Minor bugfixes (portability):
3092 - Fix a non-portable usage of "==" with "test" in the configure
3093 script. Fixes bug 40298; bugfix on 0.4.5.1-alpha.
3095 o Minor bugfixes (relay):
3096 - Remove a spammy log notice falsely claiming that the IPv4/v6
3097 address was missing. Fixes bug 40300; bugfix on 0.4.5.1-alpha.
3098 - Do not query the address cache early in the boot process when
3099 deciding if a relay needs to fetch early directory information
3100 from an authority. This bug resulted in a relay falsely believing
3101 it didn't have an address and thus triggering an authority fetch
3102 at each boot. Related to our fix for 40300.
3104 o Removed features (mallinfo deprecated):
3105 - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
3106 Closes ticket 40309.
3109 Changes in version 0.4.5.6 - 2021-02-15
3110 The Tor 0.4.5.x release series is dedicated to the memory of Karsten
3111 Loesing (1979-2020), Tor developer, cypherpunk, husband, and father.
3112 Karsten is best known for creating the Tor metrics portal and leading
3113 the metrics team, but he was involved in Tor from the early days. For
3114 example, while he was still a student he invented and implemented the
3115 v2 onion service directory design, and he also served as an ambassador
3116 to the many German researchers working in the anonymity field. We
3117 loved him and respected him for his patience, his consistency, and his
3118 welcoming approach to growing our community.
3120 This release series introduces significant improvements in relay IPv6
3121 address discovery, a new "MetricsPort" mechanism for relay operators
3122 to measure performance, LTTng support, build system improvements to
3123 help when using Tor as a static library, and significant bugfixes
3124 related to Windows relay performance. It also includes numerous
3125 smaller features and bugfixes.
3127 Below are the changes since 0.4.4.4-rc. For a complete list of changes
3128 since 0.4.4.7, see the ReleaseNotes file.
3130 o Major bugfixes (IPv6, relay):
3131 - Fix a bug that prevented a relay from publishing its descriptor if
3132 an auto-discovered IPv6 that was found unreachable. Fixes bug
3133 40279; bugfix on 0.4.5.1-alpha.
3135 o Minor features (protocol versions):
3136 - Stop claiming to support the "DirCache=1" subprotocol version.
3137 Technically, we stopped supporting this subprotocol back in
3138 0.4.5.1-alpha, but we needed to wait for the authorities to stop
3139 listing it as "required" before we could drop it from the list.
3140 Closes ticket 40221.
3142 o Minor bugfixes (logging):
3143 - Avoid a spurious log message about missing subprotocol versions,
3144 when the consensus that we're reading from is older than the
3145 current release. Previously we had made this message nonfatal, but
3146 in practice, it is never relevant when the consensus is older than
3147 the current release. Fixes bug 40281; bugfix on 0.4.0.1-alpha.
3149 o Minor bugfixes (metrics port):
3150 - Fix a bug warning when a metrics port socket was unexpectedly
3151 closed. Fixes bug 40257; bugfix on 0.4.5.1-alpha
3153 o Minor bugfixes (relay):
3154 - Allow relays to have a RFC1918 address if PublishServerDescriptor
3155 is set to 0 and AssumeReachable is set to 1. This is to support
3156 the use case of a bridge on a local network, exposed via a
3157 pluggable transport. Fixes bug 40208; bugfix on 0.4.5.1-alpha.
3159 o Minor bugfixes (relay, config):
3160 - Fix a problem in the removal of duplicate ORPorts from the
3161 internal port list when loading the config file. We were removing
3162 the wrong ports, breaking valid torrc uses cases for multiple
3163 ORPorts of the same address family. Fixes bug 40289; bugfix
3167 Changes in version 0.4.4.7 - 2021-02-03
3168 Tor 0.4.4.7 backports numerous bugfixes from later releases,
3169 including one that made v3 onion services more susceptible to
3170 denial-of-service attacks, and a feature that makes some kinds of
3171 DoS attacks harder to perform.
3173 o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
3174 - Stop requiring a live consensus for v3 clients and services, and
3175 allow a "reasonably live" consensus instead. This allows v3 onion
3176 services to work even if the authorities fail to generate a
3177 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3180 o Major feature (exit, backport from 0.4.5.5-rc):
3181 - Re-entry into the network is now denied at the Exit level to all
3182 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3183 should help mitgate a set of denial-of-service attacks. Closes
3186 o Minor feature (build system, backport from 0.4.5.4-rc):
3187 - New "make lsp" command to generate the compile_commands.json file
3188 used by the ccls language server. The "bear" program is needed for
3189 this. Closes ticket 40227.
3191 o Minor features (compilation, backport from 0.4.5.2-rc):
3192 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3193 later. There are a number of APIs newly deprecated in OpenSSL
3194 3.0.0 that Tor still requires. (A later version of Tor will try to
3195 stop depending on these APIs.) Closes ticket 40165.
3197 o Minor features (crypto, backport from 0.4.5.3-rc):
3198 - Fix undefined behavior on our Keccak library. The bug only
3199 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3200 and would result in wrong digests. Fixes bug 40210; bugfix on
3201 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3202 weasel for diagnosing this.
3204 o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
3205 - Strip '\r' characters when reading text files on Unix platforms.
3206 This should resolve an issue where a relay operator migrates a
3207 relay from Windows to Unix, but does not change the line ending of
3208 Tor's various state files to match the platform, and the CRLF line
3209 endings from Windows end up leaking into other files such as the
3210 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
3212 o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
3213 - Fix a compilation warning about unreachable fallthrough
3214 annotations when building with "--enable-all-bugs-are-fatal" on
3215 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3217 o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
3218 - Handle partial SOCKS5 messages correctly. Previously, our code
3219 would send an incorrect error message if it got a SOCKS5 request
3220 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3222 o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
3223 - Fix the `config/parse_tcp_proxy_line` test so that it works
3224 correctly on systems where the DNS provider hijacks invalid
3225 queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
3226 - Fix our Python reference-implementation for the v3 onion service
3227 handshake so that it works correctly with the version of hashlib
3228 provided by Python 3.9. Fixes part of bug 40179; bugfix
3230 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3231 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3234 Changes in version 0.4.3.8 - 2021-02-03
3235 Tor 0.4.3.8 backports numerous bugfixes from later releases,
3236 including one that made v3 onion services more susceptible to
3237 denial-of-service attacks, and a feature that makes some kinds of
3238 DoS attacks harder to perform.
3240 Note that this is, in all likelihood, the last release of Tor 0.4.3.x,
3241 which will reach end-of-life on 15 Feb 2021.
3243 o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
3244 - Stop requiring a live consensus for v3 clients and services, and
3245 allow a "reasonably live" consensus instead. This allows v3 onion
3246 services to work even if the authorities fail to generate a
3247 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3250 o Major bugfixes (stats, onion services, backport from 0.4.4.5):
3251 - Fix a bug where we were undercounting the Tor network's total
3252 onion service traffic, by ignoring any traffic originating from
3253 clients. Now we count traffic from both clients and services.
3254 Fixes bug 40117; bugfix on 0.2.6.2-alpha.
3256 o Major feature (exit, backport from 0.4.5.5-rc):
3257 - Re-entry into the network is now denied at the Exit level to all
3258 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3259 should help mitgate a set of denial-of-service attacks. Closes
3262 o Minor feature (build system, backport from 0.4.5.4-rc):
3263 - New "make lsp" command to generate the compile_commands.json file
3264 used by the ccls language server. The "bear" program is needed for
3265 this. Closes ticket 40227.
3267 o Minor features (compilation, backport from 0.4.5.2-rc):
3268 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3269 later. There are a number of APIs newly deprecated in OpenSSL
3270 3.0.0 that Tor still requires. (A later version of Tor will try to
3271 stop depending on these APIs.) Closes ticket 40165.
3273 o Minor features (crypto, backport from 0.4.5.3-rc):
3274 - Fix undefined behavior on our Keccak library. The bug only
3275 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3276 and would result in wrong digests. Fixes bug 40210; bugfix on
3277 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3278 weasel for diagnosing this.
3280 o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
3281 - Strip '\r' characters when reading text files on Unix platforms.
3282 This should resolve an issue where a relay operator migrates a
3283 relay from Windows to Unix, but does not change the line ending of
3284 Tor's various state files to match the platform, and the CRLF line
3285 endings from Windows end up leaking into other files such as the
3286 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
3288 o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
3289 - Resolve a compilation warning that could occur in
3290 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
3292 o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
3293 - Fix a compilation warning about unreachable fallthrough
3294 annotations when building with "--enable-all-bugs-are-fatal" on
3295 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3297 o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
3298 - Handle partial SOCKS5 messages correctly. Previously, our code
3299 would send an incorrect error message if it got a SOCKS5 request
3300 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3302 o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
3303 - Fix the `config/parse_tcp_proxy_line` test so that it works
3304 correctly on systems where the DNS provider hijacks invalid
3305 queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
3306 - Fix our Python reference-implementation for the v3 onion service
3307 handshake so that it works correctly with the version of hashlib
3308 provided by Python 3.9. Fixes part of bug 40179; bugfix
3310 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3311 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3314 Changes in version 0.3.5.13 - 2020-02-03
3315 Tor 0.3.5.13 backports numerous bugfixes from later releases,
3316 including one that made v3 onion services more susceptible to
3317 denial-of-service attacks, and a feature that makes some kinds of
3318 DoS attacks harder to perform.
3320 o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
3321 - Stop requiring a live consensus for v3 clients and services, and
3322 allow a "reasonably live" consensus instead. This allows v3 onion
3323 services to work even if the authorities fail to generate a
3324 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3327 o Major bugfixes (stats, onion services, backport from 0.4.4.5):
3328 - Fix a bug where we were undercounting the Tor network's total
3329 onion service traffic, by ignoring any traffic originating from
3330 clients. Now we count traffic from both clients and services.
3331 Fixes bug 40117; bugfix on 0.2.6.2-alpha.
3333 o Major feature (exit, backport from 0.4.5.5-rc):
3334 - Re-entry into the network is now denied at the Exit level to all
3335 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3336 should help mitigate a set of denial-of-service attacks. Closes
3339 o Minor feature (build system, backport from 0.4.5.4-rc):
3340 - New "make lsp" command to generate the compile_commands.json file
3341 used by the ccls language server. The "bear" program is needed for
3342 this. Closes ticket 40227.
3344 o Minor features (compilation, backport from 0.4.5.2-rc):
3345 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3346 later. There are a number of APIs newly deprecated in OpenSSL
3347 3.0.0 that Tor still requires. (A later version of Tor will try to
3348 stop depending on these APIs.) Closes ticket 40165.
3350 o Minor features (crypto, backport from 0.4.5.3-rc):
3351 - Fix undefined behavior on our Keccak library. The bug only
3352 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3353 and would result in wrong digests. Fixes bug 40210; bugfix on
3354 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3355 weasel for diagnosing this.
3357 o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
3358 - Strip '\r' characters when reading text files on Unix platforms.
3359 This should resolve an issue where a relay operator migrates a
3360 relay from Windows to Unix, but does not change the line ending of
3361 Tor's various state files to match the platform, and the CRLF line
3362 endings from Windows end up leaking into other files such as the
3363 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
3365 o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
3366 - Resolve a compilation warning that could occur in
3367 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
3369 o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
3370 - Fix a compilation warning about unreachable fallthrough
3371 annotations when building with "--enable-all-bugs-are-fatal" on
3372 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3374 o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
3375 - Handle partial SOCKS5 messages correctly. Previously, our code
3376 would send an incorrect error message if it got a SOCKS5 request
3377 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3379 o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
3380 - Fix our Python reference-implementation for the v3 onion service
3381 handshake so that it works correctly with the version of hashlib
3382 provided by Python 3.9. Fixes part of bug 40179; bugfix
3384 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3385 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3388 Changes in version 0.4.5.5-rc - 2021-02-01
3389 Tor 0.4.5.5-rc is the third release candidate in its series. We're
3390 coming closer and closer to a stable release series. This release
3391 fixes an annoyance with address detection code, and somewhat mitigates
3392 an ongoing denial-of-service attack.
3394 We anticipate no more code changes between this and the stable
3395 release, though of course that could change.
3397 o Major feature (exit):
3398 - Re-entry into the network is now denied at the Exit level to all
3399 relays' ORPorts and authorities' ORPorts and DirPorts. This change
3400 should help mitgate a set of denial-of-service attacks. Closes
3403 o Minor bugfixes (relay, configuration):
3404 - Don't attempt to discover our address (IPv4 or IPv6) if no ORPort
3405 for it can be found in the configuration. Fixes bug 40254; bugfix
3409 Changes in version 0.4.5.4-rc - 2021-01-22
3410 Tor 0.4.5.4-rc is the second release candidate in its series. It fixes
3411 several bugs present in previous releases.
3413 We expect that the stable release will be the same, or almost the
3414 same, as this release candidate, unless serious bugs are found.
3416 o Major bugfixes (authority, IPv6):
3417 - Do not consider multiple relays in the same IPv6 /64 network to be
3418 sybils. Fixes bug 40243; bugfix on 0.4.5.1-alpha.
3420 o Major bugfixes (directory cache, performance, windows):
3421 - Limit the number of items in the consensus diff cache to 64 on
3422 Windows. We hope this will mitigate an issue where Windows relay
3423 operators reported Tor using 100% CPU, while we investigate better
3424 solutions. Fixes bug 24857; bugfix on 0.3.1.1-alpha.
3426 o Minor feature (build system):
3427 - New "make lsp" command to generate the compile_commands.json file
3428 used by the ccls language server. The "bear" program is needed for
3429 this. Closes ticket 40227.
3431 o Minor features (authority, logging):
3432 - Log more information for directory authority operators during the
3433 consensus voting process, and while processing relay descriptors.
3434 Closes ticket 40245.
3435 - Reject obsolete router/extrainfo descriptors earlier and more
3436 quietly, to avoid spamming the logs. Fixes bug 40238; bugfix
3439 o Minor bugfixes (compilation):
3440 - Fix another warning about unreachable fallthrough annotations when
3441 building with "--enable-all-bugs-are-fatal" on some compilers.
3442 Fixes bug 40241; bugfix on 0.4.5.3-rc.
3443 - Change the linker flag ordering in our library search code so that
3444 it works for compilers that need the libraries to be listed in the
3445 right order. Fixes bug 33624; bugfix on 0.1.1.0-alpha.
3447 o Minor bugfixes (config, bridge):
3448 - Don't initiate a connection to a bridge configured to use a
3449 missing transport. This change reverts an earlier fix that would
3450 try to avoid such situations during configuration chcecking, but
3451 which doesn't work with DisableNetwork. Fixes bug 40106; bugfix
3454 o Minor bugfixes (onion services):
3455 - Avoid a non-fatal assertion in certain edge-cases when
3456 establishing a circuit to an onion service. Fixes bug 32666;
3457 bugfix on 0.3.0.3-alpha.
3459 o Minor bugfixes (relay):
3460 - If we were unable to build our descriptor, don't mark it as having
3461 been advertised. Also remove an harmless BUG(). Fixes bug 40231;
3462 bugfix on 0.4.5.1-alpha.
3465 Changes in version 0.4.5.3-rc - 2021-01-12
3466 Tor 0.4.5.3-rc is the first release candidate in its series. It fixes
3467 several bugs, including one that broke onion services on certain older
3468 ARM CPUs, and another that made v3 onion services less reliable.
3470 Though we anticipate that we'll be doing a bit more clean-up between
3471 now and the stable release, we expect that our remaining changes will
3472 be fairly simple. There will be at least one more release candidate
3473 before 0.4.5.x is stable.
3475 o Major bugfixes (onion service v3):
3476 - Stop requiring a live consensus for v3 clients and services, and
3477 allow a "reasonably live" consensus instead. This allows v3 onion
3478 services to work even if the authorities fail to generate a
3479 consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
3482 o Minor features (crypto):
3483 - Fix undefined behavior on our Keccak library. The bug only
3484 appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
3485 and would result in wrong digests. Fixes bug 40210; bugfix on
3486 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
3487 weasel for diagnosing this.
3489 o Minor features (documentation):
3490 - Mention the "!badexit" directive that can appear in an authority's
3491 approved-routers file, and update the description of the
3492 "!invalid" directive. Closes ticket 40188.
3494 o Minor bugfixes (compilation):
3495 - Fix a compilation warning about unreachable fallthrough
3496 annotations when building with "--enable-all-bugs-are-fatal" on
3497 some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
3498 - Fix the "--enable-static-tor" switch to properly set the "-static"
3499 compile option onto the tor binary only. Fixes bug 40111; bugfix
3502 o Minor bugfixes (config, bridge):
3503 - Really fix the case where torrc has a missing ClientTransportPlugin
3504 but is configured with a Bridge line and UseBridges. Previously,
3505 we didn't look at the managed proxy list and thus would fail for
3506 the "exec" case. Fixes bug 40106; bugfix on 0.4.5.1-alpha.
3508 o Minor bugfixes (logging, relay):
3509 - Log our address as reported by the directory authorities, if none
3510 was configured or detected before. Fixes bug 40201; bugfix
3512 - When a launching bandwidth testing circuit, don't incorrectly call
3513 it a reachability test, or trigger a "CHECKING_REACHABILITY"
3514 control event. Fixes bug 40205; bugfix on 0.4.5.1-alpha.
3516 o Minor bugfixes (relay, statistics):
3517 - Report the correct connection statistics in our extrainfo
3518 documents. Previously there was a problem in the file loading
3519 function which would wrongly truncate a state file, causing the
3520 wrong information to be reported. Fixes bug 40226; bugfix
3523 o Minor bugfixes (SOCKS5):
3524 - Handle partial SOCKS5 messages correctly. Previously, our code
3525 would send an incorrect error message if it got a SOCKS5 request
3526 that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
3529 Changes in version 0.4.5.2-alpha - 2020-11-23
3530 Tor 0.4.5.2-alpha is the second alpha release in the 0.4.5.x series.
3531 It fixes several bugs present in earlier releases, including one that
3532 made it impractical to run relays on Windows. It also adds a few small
3533 safety features to improve Tor's behavior in the presence of strange
3534 compile-time options, misbehaving proxies, and future versions
3537 o Major bugfixes (relay, windows):
3538 - Fix a bug in our implementation of condition variables on Windows.
3539 Previously, a relay on Windows would use 100% CPU after running
3540 for some time. Because of this change, Tor now require Windows
3541 Vista or later to build and run. Fixes bug 30187; bugfix on
3542 0.2.6.3-alpha. (This bug became more serious in 0.3.1.1-alpha with
3543 the introduction of consensus diffs.) Patch by Daniel Pinto.
3545 o Minor features (compilation):
3546 - Disable deprecation warnings when building with OpenSSL 3.0.0 or
3547 later. There are a number of APIs newly deprecated in OpenSSL
3548 3.0.0 that Tor still requires. (A later version of Tor will try to
3549 stop depending on these APIs.) Closes ticket 40165.
3551 o Minor features (protocol, proxy support, defense in depth):
3552 - Respond more deliberately to misbehaving proxies that leave
3553 leftover data on their connections, so as to make Tor even less
3554 likely to allow the proxies to pass their data off as having come
3555 from a relay. Closes ticket 40017.
3557 o Minor features (safety):
3558 - Log a warning at startup if Tor is built with compile-time options
3559 that are likely to make it less stable or reliable. Closes
3562 o Minor bugfixes (circuit, handshake):
3563 - In the v3 handshaking code, use connection_or_change_state() to
3564 change the state. Previously, we changed the state directly, but
3565 this did not pass the state change to the pubsub or channel
3566 objects, potentially leading to bugs. Fixes bug 32880; bugfix on
3567 0.2.3.6-alpha. Patch by Neel Chauhan.
3569 o Minor bugfixes (compilation):
3570 - Use the correct 'ranlib' program when building libtor.a.
3571 Previously we used the default ranlib, which broke some kinds of
3572 cross-compilation. Fixes bug 40172; bugfix on 0.4.5.1-alpha.
3573 - Remove a duplicate typedef in metrics_store.c. Fixes bug 40177;
3574 bugfix on 0.4.5.1-alpha.
3575 - When USDT tracing is enabled, and STAP_PROBEV() is missing, don't
3576 attempt to build. Linux supports that macro but not the BSDs.
3577 Fixes bug 40174; bugfix on 0.4.5.1-alpha.
3579 o Minor bugfixes (configuration):
3580 - Exit Tor on a misconfiguration when the Bridge line is configured
3581 to use a transport but no corresponding ClientTransportPlugin can
3582 be found. Prior to this fix, Tor would attempt to connect to the
3583 bridge directly without using the transport, making it easier for
3584 adversaries to notice the bridge. Fixes bug 25528; bugfix
3586 - Fix an issue where an ORPort was compared with other kinds of
3587 ports, when it should have been only checked against other
3588 ORPorts. This bug would lead to "DirPort auto" getting ignored.
3589 Fixes bug 40195; bugfix on 0.4.5.1-alpha.
3590 - Fix a bug where a second non-ORPort with a variant family (ex:
3591 SocksPort [::1]:9050) would be ignored due to a configuration
3592 parsing error. Fixes bug 40183; bugfix on 0.4.5.1-alpha.
3594 o Minor bugfixes (crash, relay, signing key):
3595 - Avoid assertion failures when we run Tor from the command line
3596 with `--key-expiration sign`, but an ORPort is not set. Fixes bug
3597 40015; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
3599 o Minor bugfixes (logging):
3600 - Remove trailing whitespace from control event log messages. Fixes
3601 bug 32178; bugfix on 0.1.1.1-alpha. Based on a patch by
3603 - Turn warning-level log message about SENDME failure into a debug-
3604 level message. (This event can happen naturally, and is no reason
3605 for concern). Fixes bug 40142; bugfix on 0.4.1.1-alpha.
3607 o Minor bugfixes (relay, address discovery):
3608 - Don't trigger an IP change when no new valid IP can be found.
3609 Fixes bug 40071; bugfix on 0.4.5.1-alpha.
3610 - When attempting to discover our IP, use a simple test circuit,
3611 rather than a descriptor fetch: the same address information is
3612 present in NETINFO cells, and is better authenticated there. Fixes
3613 bug 40071; bugfix on 0.4.5.1-alpha.
3615 o Minor bugfixes (testing):
3616 - Fix the `config/parse_tcp_proxy_line` test so that it works
3617 correctly on systems where the DNS provider hijacks invalid
3618 queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
3619 - Fix unit tests that used newly generated list of routers so that
3620 they check them with respect to the date when they were generated,
3621 not with respect to the current time. Fixes bug 40187; bugfix
3623 - Fix our Python reference-implementation for the v3 onion service
3624 handshake so that it works correctly with the version of hashlib
3625 provided by Python 3.9. Fixes part of bug 40179; bugfix
3627 - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
3628 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
3630 o Removed features (controller):
3631 - Remove the "GETINFO network-status" controller command. It has
3632 been deprecated since 0.3.1.1-alpha. Closes ticket 22473.
3635 Changes in version 0.4.4.6 - 2020-11-12
3636 Tor 0.4.4.6 is the second stable release in the 0.4.4.x series. It
3637 backports fixes from later releases, including a fix for TROVE-2020-
3638 005, a security issue that could be used, under certain cases, by an
3639 adversary to observe traffic patterns on a limited number of circuits
3640 intended for a different relay.
3642 o Major bugfixes (security, backport from 0.4.5.1-alpha):
3643 - When completing a channel, relays now check more thoroughly to
3644 make sure that it matches any pending circuits before attaching
3645 those circuits. Previously, address correctness and Ed25519
3646 identities were not checked in this case, but only when extending
3647 circuits on an existing channel. Fixes bug 40080; bugfix on
3648 0.2.7.2-alpha. Resolves TROVE-2020-005.
3650 o Minor features (directory authorities, backport from 0.4.5.1-alpha):
3651 - Authorities now list a different set of protocols as required and
3652 recommended. These lists have been chosen so that only truly
3653 recommended and/or required protocols are included, and so that
3654 clients using 0.2.9 or later will continue to work (even though
3655 they are not supported), whereas only relays running 0.3.5 or
3656 later will meet the requirements. Closes ticket 40162.
3657 - Make it possible to specify multiple ConsensusParams torrc lines.
3658 Now directory authority operators can for example put the main
3659 ConsensusParams config in one torrc file and then add to it from a
3660 different torrc file. Closes ticket 40164.
3662 o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
3663 - Tor no longer allows subprotocol versions larger than 63.
3664 Previously version numbers up to UINT32_MAX were allowed, which
3665 significantly complicated our code. Implements proposal 318;
3666 closes ticket 40133.
3668 o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
3669 - Fix a rendezvous cache unit test that was triggering an underflow
3670 on the global rend cache allocation. Fixes bug 40125; bugfix
3672 - Fix another rendezvous cache unit test that was triggering an
3673 underflow on the global rend cache allocation. Fixes bug 40126;
3674 bugfix on 0.2.8.1-alpha.
3676 o Minor bugfixes (compilation, backport from 0.4.5.1-alpha):
3677 - Fix compiler warnings that would occur when building with
3678 "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
3679 same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
3680 - Resolve a compilation warning that could occur in
3681 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
3683 o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
3684 - Remove a debug logging statement that uselessly spammed the logs.
3685 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
3687 o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
3688 - Avoid a fatal assert() when failing to create a listener
3689 connection for an address that was in use. Fixes bug 40073; bugfix
3692 o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
3693 - For HSFETCH commands on v2 onion services addresses, check the
3694 length of bytes decoded, not the base32 length. Fixes bug 34400;
3695 bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
3698 Changes in version 0.4.3.7 - 2020-11-12
3699 Tor 0.4.3.7 backports several bugfixes from later releases. It
3700 includes a fix for TROVE-2020-005, a security issue that could be
3701 used, under certain cases, by an adversary to observe traffic patterns
3702 on a limited number of circuits intended for a different relay.
3704 Please be aware that support for the 0.4.3.x series will end on 15
3705 February 2021. Please upgrade to 0.4.4.x or 0.4.5.x before then, or
3706 downgrade to 0.3.5.x, which will be supported until at least 1
3709 o Major features (fallback directory list, backport form 0.4.4.3-alpha):
3710 - Replace the 148 fallback directories originally included in Tor
3711 0.4.1.4-rc (of which around 105 are still functional) with a list
3712 of 144 fallbacks generated in July 2020. Closes ticket 40061.
3714 o Major bugfixes (security, backport from 0.4.5.1-alpha):
3715 - When completing a channel, relays now check more thoroughly to
3716 make sure that it matches any pending circuits before attaching
3717 those circuits. Previously, address correctness and Ed25519
3718 identities were not checked in this case, but only when extending
3719 circuits on an existing channel. Fixes bug 40080; bugfix on
3720 0.2.7.2-alpha. Resolves TROVE-2020-005.
3722 o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
3723 - When running with NSS enabled, make sure that NSS knows to expect
3724 nonblocking sockets. Previously, we set our TCP sockets as
3725 nonblocking, but did not tell NSS, which in turn could lead to
3726 unexpected blocking behavior. Fixes bug 40035; bugfix
3729 o Minor features (security, backport from 0.4.4.4-rc):
3730 - Channels using obsolete versions of the Tor link protocol are no
3731 longer allowed to circumvent address-canonicity checks. (This is
3732 only a minor issue, since such channels have no way to set ed25519
3733 keys, and therefore should always be rejected for circuits that
3734 specify ed25519 identities.) Closes ticket 40081.
3736 o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
3737 - Tor no longer allows subprotocol versions larger than 63.
3738 Previously version numbers up to UINT32_MAX were allowed, which
3739 significantly complicated our code. Implements proposal 318;
3740 closes ticket 40133.
3742 o Minor features (tests, backport from 0.4.4.5):
3743 - Our "make check" target now runs the unit tests in 8 parallel
3744 chunks. Doing this speeds up hardened CI builds by more than a
3745 factor of two. Closes ticket 40098.
3747 o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
3748 - Fix a rendezvous cache unit test that was triggering an underflow
3749 on the global rend cache allocation. Fixes bug 40125; bugfix
3751 - Fix another rendezvous cache unit test that was triggering an
3752 underflow on the global rend cache allocation. Fixes bug 40126;
3753 bugfix on 0.2.8.1-alpha.
3755 o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
3756 - Fix a correctness bug that could cause an assertion failure if we
3757 ever tried using the buf_move_all() function with an empty input
3758 buffer. As far as we know, no released versions of Tor do this.
3759 Fixes bug 40076; bugfix on 0.3.3.1-alpha.
3761 o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
3762 - Remove a debug logging statement that uselessly spammed the logs.
3763 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
3765 o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
3766 - On a bridge, treat all connections from an ExtORPort as remote by
3767 default for the purposes of rate-limiting. Previously, bridges
3768 would treat the connection as local unless they explicitly
3769 received a "USERADDR" command. ExtORPort connections still count
3770 as local if there is a USERADDR command with an explicit local
3771 address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
3773 o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
3774 - Avoid a fatal assert() when failing to create a listener
3775 connection for an address that was in use. Fixes bug 40073; bugfix
3778 o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
3779 - Adjust the rules for when to warn about having too many
3780 connections to other relays. Previously we'd tolerate up to 1.5
3781 connections per relay on average. Now we tolerate more connections
3782 for directory authorities, and raise the number of total
3783 connections we need to see before we warn. Fixes bug 33880; bugfix
3786 o Minor bugfixes (tests, 0.4.4.5):
3787 - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
3788 on its own. Previously, it would exit with an error. Fixes bug
3789 40099; bugfix on 0.2.8.1-alpha.
3791 o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
3792 - For HSFETCH commands on v2 onion services addresses, check the
3793 length of bytes decoded, not the base32 length. Fixes bug 34400;
3794 bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
3796 o Minor bugfixes (windows, backport from 0.4.4.4-rc):
3797 - Fix a bug that prevented Tor from starting if its log file grew
3798 above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
3800 o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
3801 - Add a deprecation warning for version 2 onion services. Closes
3804 o Removed features (backport from 0.4.4.3-alpha):
3805 - Our "check-local" test target no longer tries to use the
3806 Coccinelle semantic patching tool parse all the C files. While it
3807 is a good idea to try to make sure Coccinelle works on our C
3808 before we run a Coccinelle patch, doing so on every test run has
3809 proven to be disruptive. You can still run this tool manually with
3810 "make check-cocci". Closes ticket 40030. ticket 40030.
3813 Changes in version 0.3.5.12 - 2020-11-12
3814 Tor 0.4.3.7 backports several bugfixes from later releases. It
3815 includes a fix for TROVE-2020-005, a security issue that could be
3816 used, under certain cases, by an adversary to observe traffic patterns
3817 on a limited number of circuits intended for a different relay.
3819 o Major features (fallback directory list, backport form 0.4.4.3-alpha):
3820 - Replace the 148 fallback directories originally included in Tor
3821 0.4.1.4-rc (of which around 105 are still functional) with a list
3822 of 144 fallbacks generated in July 2020. Closes ticket 40061.
3824 o Major bugfixes (security, backport from 0.4.5.1-alpha):
3825 - When completing a channel, relays now check more thoroughly to
3826 make sure that it matches any pending circuits before attaching
3827 those circuits. Previously, address correctness and Ed25519
3828 identities were not checked in this case, but only when extending
3829 circuits on an existing channel. Fixes bug 40080; bugfix on
3830 0.2.7.2-alpha. Resolves TROVE-2020-005.
3832 o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
3833 - When running with NSS enabled, make sure that NSS knows to expect
3834 nonblocking sockets. Previously, we set our TCP sockets as
3835 nonblocking, but did not tell NSS, which in turn could lead to
3836 unexpected blocking behavior. Fixes bug 40035; bugfix
3839 o Minor features (security, backport from 0.4.4.4-rc):
3840 - Channels using obsolete versions of the Tor link protocol are no
3841 longer allowed to circumvent address-canonicity checks. (This is
3842 only a minor issue, since such channels have no way to set ed25519
3843 keys, and therefore should always be rejected for circuits that
3844 specify ed25519 identities.) Closes ticket 40081.
3846 o Minor features (debugging, directory system):
3847 - Don't crash when we find a non-guard with a guard-fraction value
3848 set. Instead, log a bug warning, in an attempt to figure out how
3849 this happened. Diagnostic for ticket 32868.
3851 o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
3852 - Tor no longer allows subprotocol versions larger than 63.
3853 Previously version numbers up to UINT32_MAX were allowed, which
3854 significantly complicated our code. Implements proposal 318;
3855 closes ticket 40133.
3857 o Minor features (tests, backport from 0.4.4.5):
3858 - Our "make check" target now runs the unit tests in 8 parallel
3859 chunks. Doing this speeds up hardened CI builds by more than a
3860 factor of two. Closes ticket 40098.
3862 o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
3863 - Fix a rendezvous cache unit test that was triggering an underflow
3864 on the global rend cache allocation. Fixes bug 40125; bugfix
3866 - Fix another rendezvous cache unit test that was triggering an
3867 underflow on the global rend cache allocation. Fixes bug 40126;
3868 bugfix on 0.2.8.1-alpha.
3870 o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
3871 - Fix a correctness bug that could cause an assertion failure if we
3872 ever tried using the buf_move_all() function with an empty input
3873 buffer. As far as we know, no released versions of Tor do this.
3874 Fixes bug 40076; bugfix on 0.3.3.1-alpha.
3876 o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
3877 - Remove a debug logging statement that uselessly spammed the logs.
3878 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
3880 o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
3881 - On a bridge, treat all connections from an ExtORPort as remote by
3882 default for the purposes of rate-limiting. Previously, bridges
3883 would treat the connection as local unless they explicitly
3884 received a "USERADDR" command. ExtORPort connections still count
3885 as local if there is a USERADDR command with an explicit local
3886 address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
3888 o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
3889 - Avoid a fatal assert() when failing to create a listener
3890 connection for an address that was in use. Fixes bug 40073; bugfix
3893 o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
3894 - Adjust the rules for when to warn about having too many
3895 connections to other relays. Previously we'd tolerate up to 1.5
3896 connections per relay on average. Now we tolerate more connections
3897 for directory authorities, and raise the number of total
3898 connections we need to see before we warn. Fixes bug 33880; bugfix
3901 o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
3902 - Stop advertising incorrect IPv6 ORPorts in relay and bridge
3903 descriptors, when the IPv6 port was configured as "auto". Fixes
3904 bug 32588; bugfix on 0.2.3.9-alpha.
3906 o Minor bugfixes (tests, 0.4.4.5):
3907 - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
3908 on its own. Previously, it would exit with an error. Fixes bug
3909 40099; bugfix on 0.2.8.1-alpha.
3911 o Minor bugfixes (windows, backport from 0.4.4.4-rc):
3912 - Fix a bug that prevented Tor from starting if its log file grew
3913 above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
3915 o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
3916 - Add a deprecation warning for version 2 onion services. Closes
3920 Changes in version 0.4.5.1-alpha - 2020-11-01
3921 Tor 0.4.5.1-alpha is the first alpha release in the 0.4.5.x series. It
3922 improves support for IPv6, address discovery and self-testing, code
3923 metrics and tracing.
3925 This release also fixes TROVE-2020-005, a security issue that could be
3926 used, under certain cases, by an adversary to observe traffic patterns
3927 on a limited number of circuits intended for a different relay. To
3928 mount this attack, the adversary would need to actively extend
3929 circuits to an incorrect address, as well as compromise a relay's
3930 legacy RSA-1024 key. We'll be backporting this fix to other release
3931 series soon, after it has had some testing.
3933 Here are the changes since 0.4.4.5.
3935 o Major features (build):
3936 - When building Tor, first link all object files into a single
3937 static library. This may help with embedding Tor in other
3938 programs. Note that most Tor functions do not constitute a part of
3939 a stable or supported API: only those functions in tor_api.h
3940 should be used if embedding Tor. Closes ticket 40127.
3942 o Major features (metrics):
3943 - Introduce a new MetricsPort which exposes, through an HTTP
3944 interface, a series of metrics that tor collects at runtime. At
3945 the moment, the only supported output format is Prometheus data
3946 model. Closes ticket 40063. See the manual page for more
3947 information and security considerations.
3948 o Major features (relay, IPv6):
3949 - The torrc option Address now supports IPv6. This unifies our
3950 address discovery interface to support IPv4, IPv6, and hostnames.
3951 Closes ticket 33233.
3952 - Launch IPv4 and IPv6 ORPort self-test circuits on relays and
3953 bridges. Closes ticket 33222.
3954 - Relays now automatically bind on IPv6 for their ORPort, unless
3955 specified otherwise with the IPv4Only flag. Closes ticket 33246.
3956 - When a relay with IPv6 support is told to open a connection to
3957 another relay, and the extend cell lists both IPv4 and IPv6
3958 addresses, the first relay now picks randomly which address to
3959 use. Closes ticket 33220.
3960 - Relays now track their IPv6 ORPort reachability separately from
3961 the reachability of their IPv4 ORPort. They will not publish a
3962 descriptor unless _both_ ports appear to be externally reachable.
3963 Closes ticket 34067.
3965 o Major features (tracing):
3966 - Add event-tracing library support for USDT and LTTng-UST, and a
3967 few tracepoints in the circuit subsystem. More will come
3968 incrementally. This feature is compiled out by default: it needs
3969 to be enabled at configure time. See documentation in
3970 doc/HACKING/Tracing.md. Closes ticket 32910.
3972 o Major bugfixes (security):
3973 - When completing a channel, relays now check more thoroughly to
3974 make sure that it matches any pending circuits before attaching
3975 those circuits. Previously, address correctness and Ed25519
3976 identities were not checked in this case, but only when extending
3977 circuits on an existing channel. Fixes bug 40080; bugfix on
3978 0.2.7.2-alpha. Resolves TROVE-2020-005.
3980 o Major bugfixes (TLS, buffer):
3981 - When attempting to read N bytes on a TLS connection, really try to
3982 read all N bytes. Previously, Tor would stop reading after the
3983 first TLS record, which can be smaller than the N bytes requested,
3984 and not check for more data until the next mainloop event. Fixes
3985 bug 40006; bugfix on 0.1.0.5-rc.
3987 o Minor features (address discovery):
3988 - If no Address statements are found, relays now prioritize guessing
3989 their address by looking at the local interface instead of the
3990 local hostname. If the interface address can't be found, the local
3991 hostname is used. Closes ticket 33238.
3993 o Minor features (admin tools):
3994 - Add a new --format argument to -key-expiration option to allow
3995 specifying the time format of the expiration date. Adds Unix
3996 timestamp format support. Patch by Daniel Pinto. Closes
3999 o Minor features (bootstrap reporting):
4000 - When reporting bootstrapping status on a relay, do not consider
4001 connections that have never been the target of an origin circuit.
4002 Previously, all connection failures were treated as potential
4003 bootstrapping failures, including connections that had been opened
4004 because of client requests. Closes ticket 25061.
4006 o Minor features (build):
4007 - When running the configure script, try to detect version
4008 mismatches between the OpenSSL headers and libraries, and suggest
4009 that the user should try "--with-openssl-dir". Closes 40138.
4010 - If the configure script has given any warnings, remind the user
4011 about them at the end of the script. Related to 40138.
4013 o Minor features (configuration):
4014 - Allow using wildcards (* and ?) with the %include option on
4015 configuration files. Closes ticket 25140. Patch by Daniel Pinto.
4016 - Allow the configuration options EntryNodes, ExcludeNodes,
4017 ExcludeExitNodes, ExitNodes, MiddleNodes, HSLayer2Nodes and
4018 HSLayer3Nodes to be specified multiple times. Closes ticket 28361.
4019 Patch by Daniel Pinto.
4021 o Minor features (control port):
4022 - Add a DROPTIMEOUTS command to drop circuit build timeout history
4023 and reset the current timeout. Closes ticket 40002.
4024 - When a stream enters the AP_CONN_STATE_CONTROLLER_WAIT status,
4025 send a control port event. Closes ticket 32190. Patch by
4027 - Introduce GETINFO "stats/ntor/{assigned/requested}" and
4028 "stats/tap/{assigned/requested}" to get the NTor and TAP circuit
4029 onion handshake counts respectively. Closes ticket 28279. Patch by
4032 o Minor features (control port, IPv6):
4033 - Tor relays now try to report to the controller when they are
4034 launching an IPv6 self-test. Closes ticket 34068.
4035 - Introduce "GETINFO address/v4" and "GETINFO address/v6" in the
4036 control port to fetch the Tor host's respective IPv4 or IPv6
4037 address. We keep "GETINFO address" for backwards-compatibility.
4038 Closes ticket 40039. Patch by Neel Chauhan.
4040 o Minor features (directory authorities):
4041 - Authorities now list a different set of protocols as required and
4042 recommended. These lists have been chosen so that only truly
4043 recommended and/or required protocols are included, and so that
4044 clients using 0.2.9 or later will continue to work (even though
4045 they are not supported), whereas only relays running 0.3.5 or
4046 later will meet the requirements. Closes ticket 40162.
4047 - Add a new consensus method 30 that removes the unnecessary "="
4048 padding from ntor-onion-key. Closes ticket 7869. Patch by
4050 - Directory authorities now reject descriptors from relays running
4051 Tor versions from the obsolete 0.4.1 series. Resolves ticket
4052 34357. Patch by Neel Chauhan.
4053 - Make it possible to specify multiple ConsensusParams torrc lines.
4054 Now directory authority operators can for example put the main
4055 ConsensusParams config in one torrc file and then add to it from a
4056 different torrc file. Closes ticket 40164.
4057 - The AssumeReachable option no longer stops directory authorities
4058 from checking whether other relays are running. A new
4059 AuthDirTestReachability option can be used to disable these
4060 checks. Closes ticket 34445.
4061 - When looking for possible Sybil attacks, also consider IPv6
4062 addresses. Two routers are considered to have "the same" address
4063 by this metric if they are in the same /64 network. Patch from
4064 Maurice Pibouin. Closes ticket 7193.
4066 o Minor features (directory authorities, IPv6):
4067 - Make authorities add their IPv6 ORPort (if any) to the trusted
4068 servers list. Authorities previously added only their IPv4
4069 addresses. Closes ticket 32822.
4071 o Minor features (ed25519, relay):
4072 - Save a relay's base64-encoded ed25519 identity key to the data
4073 directory in a file named fingerprint-ed25519. Closes ticket
4074 30642. Patch by Neel Chauhan.
4076 o Minor features (heartbeat):
4077 - Include the total number of inbound and outbound IPv4 and IPv6
4078 connections in the heartbeat message. Closes ticket 29113.
4080 o Minor features (IPv6, ExcludeNodes):
4081 - Handle IPv6 addresses in ExcludeNodes; previously they were
4082 ignored. Closes ticket 34065. Patch by Neel Chauhan.
4084 o Minor features (logging):
4085 - Add the running glibc version to the log, and the compiled glibc
4086 version to the library list returned when using --library-versions.
4087 Patch from Daniel Pinto. Closes ticket 40047.
4088 - Consider an HTTP 301 response to be an error (like a 404) when
4089 processing a directory response. Closes ticket 40053.
4090 - Log directory fetch statistics as a single line. Closes
4092 - Provide more complete descriptions of our connections when logging
4093 about them. Closes ticket 40041.
4094 - When describing a relay in the logs, we now include its ed25519
4095 identity. Closes ticket 22668.
4097 o Minor features (onion services):
4098 - Only overwrite an onion service's existing hostname file if its
4099 contents are wrong. This enables read-only onion-service
4100 directories. Resolves ticket 40062. Patch by Neel Chauhan.
4102 o Minor features (pluggable transports):
4103 - Add an OutboundBindAddressPT option to allow users to specify
4104 which IPv4 and IPv6 address pluggable transports should use for
4105 outgoing IP packets. Tor does not have a way to enforce that the
4106 pluggable transport honors this option, so each pluggable transport
4107 needs to implement support on its own. Closes ticket 5304.
4109 o Minor features (relay address tracking):
4110 - We now store relay addresses for OR connections in a more logical
4111 way. Previously we would sometimes overwrite the actual address of
4112 a connection with a "canonical address", and then store the "real
4113 address" elsewhere to remember it. We now track the "canonical
4114 address" elsewhere for the cases where we need it, and leave the
4115 connection's address alone. Closes ticket 33898.
4117 o Minor features (relay):
4118 - If a relay is unable to discover its address, attempt to learn it
4119 from the NETINFO cell. Closes ticket 40022.
4120 - Log immediately when launching a relay self-check. Previously we
4121 would try to log before launching checks, or approximately when we
4122 intended to launch checks, but this tended to be error-prone.
4123 Closes ticket 34137.
4125 o Minor features (relay, address discovery):
4126 - If Address option is not found in torrc, attempt to learn our
4127 address with the configured ORPort address if any. Closes
4130 o Minor features (relay, IPv6):
4131 - Add an AssumeReachableIPv6 option to disable self-checking IPv6
4132 reachability. Closes part of ticket 33224.
4133 - Add new "assume-reachable" and "assume-reachable-ipv6" consensus
4134 parameters to be used in an emergency to tell relays that they
4135 should publish even if they cannot complete their ORPort self-
4136 checks. Closes ticket 34064 and part of 33224.
4137 - Allow relays to send IPv6-only extend cells. Closes ticket 33222.
4138 - Declare support for the Relay=3 subprotocol version. Closes
4140 - When launching IPv6 ORPort self-test circuits, make sure that the
4141 second-last hop can initiate an IPv6 extend. Closes ticket 33222.
4143 o Minor features (specification update):
4144 - Several fields in microdescriptors, router descriptors, and
4145 consensus documents that were formerly optional are now required.
4146 Implements proposal 315; closes ticket 40132.
4148 o Minor features (state management):
4149 - When loading the state file, remove entries from the statefile
4150 that have been obsolete for a long time. Ordinarily Tor preserves
4151 unrecognized entries in order to keep forward-compatibility, but
4152 these entries have not actually been used in any release since
4153 before 0.3.5.x. Closes ticket 40137.
4155 o Minor features (statistics, ipv6):
4156 - Relays now publish IPv6-specific counts of single-direction versus
4157 bidirectional relay connections. Closes ticket 33264.
4158 - Relays now publish their IPv6 read and write statistics over time,
4159 if statistics are enabled. Closes ticket 33263.
4161 o Minor features (subprotocol versions):
4162 - Tor no longer allows subprotocol versions larger than 63.
4163 Previously version numbers up to UINT32_MAX were allowed, which
4164 significantly complicated our code. Implements proposal 318;
4165 closes ticket 40133.
4166 - Use the new limitations on subprotocol versions due to proposal
4167 318 to simplify our implementation. Part of ticket 40133.
4169 o Minor features (testing configuration):
4170 - The TestingTorNetwork option no longer implicitly sets
4171 AssumeReachable to 1. This change allows us to test relays' self-
4172 testing mechanisms, and to test authorities' relay-testing
4173 functionality. Closes ticket 34446.
4175 o Minor features (testing):
4176 - Added unit tests for channel_matches_target_addr_for_extend().
4177 Closes Ticket 33919. Patch by MrSquanchee.
4179 o Minor features (tests, v2 onion services):
4180 - Fix a rendezvous cache unit test that was triggering an underflow
4181 on the global rend cache allocation. Fixes bug 40125; bugfix
4183 - Fix another rendezvous cache unit test that was triggering an
4184 underflow on the global rend cache allocation. Fixes bug 40126;
4185 bugfix on 0.2.8.1-alpha.
4187 o Minor bugfixes (circuit padding):
4188 - When circpad_send_padding_cell_for_callback is called,
4189 `is_padding_timer_scheduled` flag was not reset. Now it is set to
4190 0 at the top of that function. Fixes bug 32671; bugfix
4192 - Add a per-circuit padding machine instance counter, so we can
4193 differentiate between shutdown requests for old machines on a
4194 circuit. Fixes bug 30992; bugfix on 0.4.1.1-alpha.
4195 - Add the ability to keep circuit padding machines if they match a
4196 set of circuit states or purposes. This allows us to have machines
4197 that start up under some conditions but don't shut down under
4198 others. We now use this mask to avoid starting up introduction
4199 circuit padding again after the machines have already completed.
4200 Fixes bug 32040; bugfix on 0.4.1.1-alpha.
4202 o Minor bugfixes (compatibility):
4203 - Strip '\r' characters when reading text files on Unix platforms.
4204 This should resolve an issue where a relay operator migrates a
4205 relay from Windows to Unix, but does not change the line ending of
4206 Tor's various state files to match the platform, and the CRLF line
4207 endings from Windows end up leaking into other files such as the
4208 extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
4210 o Minor bugfixes (compilation):
4211 - Fix compiler warnings that would occur when building with
4212 "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
4213 same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
4214 - Resolve a compilation warning that could occur in
4215 test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
4217 o Minor bugfixes (configuration):
4218 - Fix bug where %including a pattern ending with */ would include
4219 files and folders (instead of folders only) in versions of glibc <
4220 2.19. Fixes bug 40141; bugfix on 0.4.5.0-alpha-dev. Patch by
4223 o Minor bugfixes (control port):
4224 - Make sure we send the SOCKS request address in relay begin cells
4225 when a stream is attached with the purpose
4226 CIRCUIT_PURPOSE_CONTROLLER. Fixes bug 33124; bugfix on 0.0.5.
4227 Patch by Neel Chauhan.
4229 o Minor bugfixes (logging):
4230 - Remove a debug logging statement that uselessly spammed the logs.
4231 Fixes bug 40135; bugfix on 0.3.5.0-alpha.
4232 - When logging a rate-limited message about how many messages have
4233 been suppressed in the last N seconds, give an accurate value for
4234 N, rounded up to the nearest minute. Previously we would report
4235 the size of the rate-limiting interval, regardless of when the
4236 messages started to occur. Fixes bug 19431; bugfix
4239 o Minor bugfixes (relay configuration, crash):
4240 - Avoid a fatal assert() when failing to create a listener
4241 connection for an address that was in use. Fixes bug 40073; bugfix
4244 o Minor bugfixes (rust, protocol versions):
4245 - Declare support for the onion service introduction point denial of
4246 service extensions when building with Rust. Fixes bug 34248;
4247 bugfix on 0.4.2.1-alpha.
4248 - Make Rust protocol version support checks consistent with the
4249 undocumented error behavior of the corresponding C code. Fixes bug
4250 34251; bugfix on 0.3.3.5-rc.
4252 o Minor bugfixes (self-testing):
4253 - When receiving an incoming circuit, only accept it as evidence
4254 that we are reachable if the declared address of its channel is
4255 the same address we think that we have. Otherwise, it could be
4256 evidence that we're reachable on some other address. Fixes bug
4257 20165; bugfix on 0.1.0.1-rc.
4259 o Minor bugfixes (spec conformance):
4260 - Use the correct key type when generating signing->link
4261 certificates. Fixes bug 40124; bugfix on 0.2.7.2-alpha.
4263 o Minor bugfixes (subprotocol versions):
4264 - Consistently reject extra commas, instead of only rejecting
4265 leading commas. Fixes bug 27194; bugfix on 0.2.9.4-alpha.
4266 - In summarize_protover_flags(), treat empty strings the same as
4267 NULL. This prevents protocols_known from being set. Previously, we
4268 treated empty strings as normal strings, which led to
4269 protocols_known being set. Fixes bug 34232; bugfix on
4270 0.3.3.2-alpha. Patch by Neel Chauhan.
4272 o Minor bugfixes (v2 onion services):
4273 - For HSFETCH commands on v2 onion services addresses, check the
4274 length of bytes decoded, not the base32 length. Fixes bug 34400;
4275 bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
4277 o Code simplification and refactoring:
4278 - Add and use a set of functions to perform down-casts on constant
4279 connection and channel pointers. Closes ticket 40046.
4280 - Refactor our code that logs descriptions of connections, channels,
4281 and the peers on them, to use a single call path. This change
4282 enables us to refactor the data types that they use, and eliminates
4283 many confusing usages of those types. Closes ticket 40041.
4284 - Refactor some common node selection code into a single function.
4285 Closes ticket 34200.
4286 - Remove the now-redundant 'outbuf_flushlen' field from our
4287 connection type. It was previously used for an older version of
4288 our rate-limiting logic. Closes ticket 33097.
4289 - Rename "fascist_firewall_*" identifiers to "reachable_addr_*"
4290 instead, for consistency with other code. Closes ticket 18106.
4291 - Rename functions about "advertised" ports which are not in fact
4292 guaranteed to return the ports that have been advertised. Closes
4294 - Split implementation of several command line options from
4295 options_init_from_torrc into smaller isolated functions. Patch by
4296 Daniel Pinto. Closes ticket 40102.
4297 - When an extend cell is missing an IPv4 or IPv6 address, fill in
4298 the address from the extend info. This is similar to what was done
4299 in ticket 33633 for ed25519 keys. Closes ticket 33816. Patch by
4302 o Deprecated features:
4303 - The "non-builtin" argument to the "--dump-config" command is now
4304 deprecated. When it works, it behaves the same as "short", which
4305 you should use instead. Closes ticket 33398.
4308 - Replace URLs from our old bugtracker so that they refer to the new
4309 bugtracker and wiki. Closes ticket 40101.
4312 - We no longer ship or build a "tor.service" file for use with
4313 systemd. No distribution included this script unmodified, and we
4314 don't have the expertise ourselves to maintain this in a way that
4315 all the various systemd-based distributions can use. Closes
4317 - We no longer ship support for the Android logging API. Modern
4318 versions of Android can use the syslog API instead. Closes
4320 - The "optimistic data" feature is now always on; there is no longer
4321 an option to disable it from the torrc file or from the consensus
4322 directory. Closes part of 40139.
4323 - The "usecreatefast" network parameter is now removed; there is no
4324 longer an option for authorities to turn it off. Closes part
4328 - Add unit tests for bandwidth statistics manipulation functions.
4329 Closes ticket 33812. Patch by MrSquanchee.
4331 o Code simplification and refactoring (autoconf):
4332 - Remove autoconf checks for unused funcs and headers. Closes ticket
4333 31699; Patch by @bduszel
4335 o Code simplification and refactoring (maintainer scripts):
4336 - Disable by default the pre-commit hook. Use the environment
4337 variable TOR_EXTRA_PRE_COMMIT_CHECKS in order to run it.
4338 Furthermore, stop running practracker in the pre-commit hook and
4339 make check-local. Closes ticket 40019.
4341 o Code simplification and refactoring (relay address):
4342 - Most of IPv4 representation was using "uint32_t". It has now been
4343 moved to use the internal "tor_addr_t" interface instead. This is
4344 so we can properly integrate IPv6 along IPv4 with common
4345 interfaces. Closes ticket 40043.
4347 o Documentation (manual page):
4348 - Move them from doc/ to doc/man/. Closes ticket 40044.
4349 - Describe the status of the "Sandbox" option more accurately. It is
4350 no longer "experimental", but it _is_ dependent on kernel and libc
4351 versions. Closes ticket 23378.
4353 o Documentation (tracing):
4354 - Document in depth the circuit subsystem trace events in the new
4355 doc/tracing/EventsCircuit.md. Closes ticket 40036.
4358 Changes in version 0.4.4.5 - 2020-09-15
4359 Tor 0.4.4.5 is the first stable release in the 0.4.4.x series. This
4360 series improves our guard selection algorithms, adds v3 onion balance
4361 support, improves the amount of code that can be disabled when running
4362 without relay support, and includes numerous small bugfixes and
4363 enhancements. It also lays the ground for some IPv6 features that
4364 we'll be developing more in the next (0.4.5) series.
4366 Per our support policy, we support each stable release series for nine
4367 months after its first stable release, or three months after the first
4368 stable release of the next series: whichever is longer. This means
4369 that 0.4.4.x will be supported until around June 2021--or later, if
4370 0.4.5.x is later than anticipated.
4372 Note also that support for 0.4.2.x has just ended; support for 0.4.3
4373 will continue until Feb 15, 2021. We still plan to continue supporting
4374 0.3.5.x, our long-term stable series, until Feb 2022.
4376 Below are the changes since 0.4.4.4-rc. For a complete list of changes
4377 since 0.4.3.6, see the ReleaseNotes file.
4379 o Major bugfixes (onion services, DoS):
4380 - Correct handling of parameters for the onion service DoS defense.
4381 Previously, the consensus parameters for the onion service DoS
4382 defenses were overwriting the parameters set by the service
4383 operator using HiddenServiceEnableIntroDoSDefense. Fixes bug
4384 40109; bugfix on 0.4.2.1-alpha.
4386 o Major bugfixes (stats, onion services):
4387 - Fix a bug where we were undercounting the Tor network's total
4388 onion service traffic, by ignoring any traffic originating from
4389 clients. Now we count traffic from both clients and services.
4390 Fixes bug 40117; bugfix on 0.2.6.2-alpha.
4392 o Minor features (control port):
4393 - If a ClientName was specified in ONION_CLIENT_AUTH_ADD for an
4394 onion service, display it when we use ONION_CLIENT_AUTH_VIEW.
4395 Closes ticket 40089. Patch by Neel Chauhan.
4397 o Minor features (denial-of-service memory limiter):
4398 - Allow the user to configure even lower values for the
4399 MaxMemInQueues parameter. Relays now enforce a minimum of 64 MB,
4400 when previously the minimum was 256 MB. On clients, there is no
4401 minimum. Relays and clients will both warn if the value is set so
4402 low that Tor is likely to stop working. Closes ticket 24308.
4404 o Minor features (tests):
4405 - Our "make check" target now runs the unit tests in 8 parallel
4406 chunks. Doing this speeds up hardened CI builds by more than a
4407 factor of two. Closes ticket 40098.
4409 o Minor bugfixes (guard selection algorithm):
4410 - Avoid needless guard-related warning when upgrading from 0.4.3 to
4411 0.4.4. Fixes bug 40105; bugfix on 0.4.4.1-alpha.
4413 o Minor bugfixes (tests):
4414 - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
4415 on its own. Previously, it would exit with an error. Fixes bug
4416 40099; bugfix on 0.2.8.1-alpha.
4419 Changes in version 0.4.4.3-alpha - 2020-07-27
4420 Tor 0.4.4.3-alpha fixes several annoyances in previous versions,
4421 including one affecting NSS users, and several affecting the Linux
4424 o Major features (fallback directory list):
4425 - Replace the 148 fallback directories originally included in Tor
4426 0.4.1.4-rc (of which around 105 are still functional) with a list
4427 of 144 fallbacks generated in July 2020. Closes ticket 40061.
4429 o Major bugfixes (NSS):
4430 - When running with NSS enabled, make sure that NSS knows to expect
4431 nonblocking sockets. Previously, we set our TCP sockets as
4432 nonblocking, but did not tell NSS, which in turn could lead to
4433 unexpected blocking behavior. Fixes bug 40035; bugfix
4436 o Minor bugfixes (linux seccomp2 sandbox):
4437 - Fix a regression on sandboxing rules for the openat() syscall. The
4438 fix for bug 25440 fixed the problem on systems with glibc >= 2.27
4439 but broke with versions of glibc. We now choose a rule based on
4440 the glibc version. Patch from Daniel Pinto. Fixes bug 27315;
4442 - Makes the seccomp sandbox allow the correct syscall for opendir
4443 according to the running glibc version. This fixes crashes when
4444 reloading torrc with sandbox enabled when running on glibc 2.15 to
4445 2.21 and 2.26. Patch from Daniel Pinto. Fixes bug 40020; bugfix
4448 o Minor bugfixes (relay, usability):
4449 - Adjust the rules for when to warn about having too many
4450 connections to other relays. Previously we'd tolerate up to 1.5
4451 connections per relay on average. Now we tolerate more connections
4452 for directory authorities, and raise the number of total
4453 connections we need to see before we warn. Fixes bug 33880; bugfix
4457 - Replace most http:// URLs in our code and documentation with
4458 https:// URLs. (We have left unchanged the code in src/ext/, and
4459 the text in LICENSE.) Closes ticket 31812. Patch from Jeremy Rand.
4462 - Our "check-local" test target no longer tries to use the
4463 Coccinelle semantic patching tool parse all the C files. While it
4464 is a good idea to try to make sure Coccinelle works on our C
4465 before we run a Coccinelle patch, doing so on every test run has
4466 proven to be disruptive. You can still run this tool manually with
4467 "make check-cocci". Closes ticket 40030.
4470 Changes in version 0.3.5.11 - 2020-07-09
4471 Tor 0.3.5.11 backports fixes from later tor releases, including several
4472 usability, portability, and reliability fixes.
4474 This release also fixes TROVE-2020-001, a medium-severity denial of
4475 service vulnerability affecting all versions of Tor when compiled with
4476 the NSS encryption library. (This is not the default configuration.)
4477 Using this vulnerability, an attacker could cause an affected Tor
4478 instance to crash remotely. This issue is also tracked as CVE-2020-
4479 15572. Anybody running a version of Tor built with the NSS library
4480 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4483 o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
4484 - Fix a crash due to an out-of-bound memory access when Tor is
4485 compiled with NSS support. Fixes bug 33119; bugfix on
4486 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4489 o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
4490 - Fix a bug that was preventing DoS defenses from running on bridges
4491 with a pluggable transport. Previously, the DoS subsystem was not
4492 given the transport name of the client connection, thus failed to
4493 find the GeoIP cache entry for that client address. Fixes bug
4494 33491; bugfix on 0.3.3.2-alpha.
4496 o Minor features (testing, backport from 0.4.3.4-rc):
4497 - The unit tests now support a "TOR_SKIP_TESTCASES" environment
4498 variable to specify a list of space-separated test cases that
4499 should not be executed. We will use this to disable certain tests
4500 that are failing on Appveyor because of mismatched OpenSSL
4501 libraries. Part of ticket 33643.
4503 o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
4504 - Use the correct 64-bit printf format when compiling with MINGW on
4505 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4507 o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
4508 - Warn if the ContactInfo field is not set, and tell the relay
4509 operator that not having a ContactInfo field set might cause their
4510 relay to get rejected in the future. Fixes bug 33361; bugfix
4513 o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
4514 - Resume use of preemptively-built circuits when UseEntryGuards is set
4515 to 0. We accidentally disabled this feature with that config
4516 setting, leading to slower load times. Fixes bug 34303; bugfix
4519 o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
4520 - Avoid compiler warnings from Clang 10 related to the use of GCC-
4521 style "/* falls through */" comments. Both Clang and GCC allow
4522 __attribute__((fallthrough)) instead, so that's what we're using
4523 now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
4525 o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
4526 - Fix a compiler warning on platforms with 32-bit time_t values.
4527 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4529 o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
4530 - When starting Tor any time after the first time in a process,
4531 register the thread in which it is running as the main thread.
4532 Previously, we only did this on Windows, which could lead to bugs
4533 like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
4536 o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
4537 - When reading PEM-encoded key data, tolerate CRLF line-endings even
4538 if we are not running on Windows. Previously, non-Windows hosts
4539 would reject these line-endings in certain positions, making
4540 certain key files hard to move from one host to another. Fixes bug
4541 33032; bugfix on 0.3.5.1-alpha.
4543 o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
4544 - Downgrade a noisy log message that could occur naturally when
4545 receiving an extrainfo document that we no longer want. Fixes bug
4546 16016; bugfix on 0.2.6.3-alpha.
4548 o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
4549 - Remove a BUG() warning that would cause a stack trace if an onion
4550 service descriptor was freed while we were waiting for a
4551 rendezvous circuit to complete. Fixes bug 28992; bugfix
4554 o Testing (CI, backport from 0.4.3.4-rc):
4555 - In our Appveyor Windows CI, copy required DLLs to test and app
4556 directories, before running tor's tests. This ensures that tor.exe
4557 and test*.exe use the correct version of each DLL. This fix is not
4558 required, but we hope it will avoid DLL search issues in future.
4559 Fixes bug 33673; bugfix on 0.3.4.2-alpha.
4560 - On Appveyor, skip the crypto/openssl_version test, which is
4561 failing because of a mismatched library installation. Fix
4565 Changes in version 0.4.2.8 - 2020-07-09
4566 Tor 0.4.2.8 backports various fixes from later releases, including
4567 several that affect usability and portability.
4569 This release also fixes TROVE-2020-001, a medium-severity denial of
4570 service vulnerability affecting all versions of Tor when compiled with
4571 the NSS encryption library. (This is not the default configuration.)
4572 Using this vulnerability, an attacker could cause an affected Tor
4573 instance to crash remotely. This issue is also tracked as CVE-2020-
4574 15572. Anybody running a version of Tor built with the NSS library
4575 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4578 o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
4579 - Fix a crash due to an out-of-bound memory access when Tor is
4580 compiled with NSS support. Fixes bug 33119; bugfix on
4581 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4584 o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
4585 - Fix a bug that was preventing DoS defenses from running on bridges
4586 with a pluggable transport. Previously, the DoS subsystem was not
4587 given the transport name of the client connection, thus failed to
4588 find the GeoIP cache entry for that client address. Fixes bug
4589 33491; bugfix on 0.3.3.2-alpha.
4591 o Minor feature (sendme, flow control, backport form 0.4.3.4-rc):
4592 - Default to sending SENDME version 1 cells. (Clients are already
4593 sending these, because of a consensus parameter telling them to do
4594 so: this change only affects what clients would do if the
4595 consensus didn't contain a recommendation.) Closes ticket 33623.
4597 o Minor features (diagnostic, backport from 0.4.3.3-alpha):
4598 - Improve assertions and add some memory-poisoning code to try to
4599 track down possible causes of a rare crash (32564) in the EWMA
4600 code. Closes ticket 33290.
4602 o Minor features (testing, backport from 0.4.3.4-rc):
4603 - The unit tests now support a "TOR_SKIP_TESTCASES" environment
4604 variable to specify a list of space-separated test cases that
4605 should not be executed. We will use this to disable certain tests
4606 that are failing on Appveyor because of mismatched OpenSSL
4607 libraries. Part of ticket 33643.
4609 o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
4610 - Use the correct 64-bit printf format when compiling with MINGW on
4611 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4613 o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
4614 - Warn if the ContactInfo field is not set, and tell the relay
4615 operator that not having a ContactInfo field set might cause their
4616 relay to get rejected in the future. Fixes bug 33361; bugfix
4619 o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
4620 - Resume use of preemptively-built circuits when UseEntryGuards is set
4621 to 0. We accidentally disabled this feature with that config
4622 setting, leading to slower load times. Fixes bug 34303; bugfix
4625 o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
4626 - Avoid compiler warnings from Clang 10 related to the use of GCC-
4627 style "/* falls through */" comments. Both Clang and GCC allow
4628 __attribute__((fallthrough)) instead, so that's what we're using
4629 now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
4630 - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
4633 o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
4634 - Fix a compiler warning on platforms with 32-bit time_t values.
4635 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4637 o Minor bugfixes (controller protocol, backport from 0.4.3.2-alpha):
4638 - When receiving "ACTIVE" or "DORMANT" signals on the control port,
4639 report them as SIGNAL events. Previously we would log a bug
4640 warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
4642 o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
4643 - When starting Tor any time after the first time in a process,
4644 register the thread in which it is running as the main thread.
4645 Previously, we only did this on Windows, which could lead to bugs
4646 like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
4649 o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
4650 - When reading PEM-encoded key data, tolerate CRLF line-endings even
4651 if we are not running on Windows. Previously, non-Windows hosts
4652 would reject these line-endings in certain positions, making
4653 certain key files hard to move from one host to another. Fixes bug
4654 33032; bugfix on 0.3.5.1-alpha.
4656 o Minor bugfixes (logging, backport from 0.4.3.2-rc):
4657 - When logging a bug, do not say "Future instances of this warning
4658 will be silenced" unless we are actually going to silence them.
4659 Previously we would say this whenever a BUG() check failed in the
4660 code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
4662 o Minor bugfixes (logging, backport from 0.4.3.4-rc):
4663 - Flush stderr, stdout, and file logs during shutdown, if supported
4664 by the OS. This change helps make sure that any final logs are
4665 recorded. Fixes bug 33087; bugfix on 0.4.1.6.
4667 o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
4668 - Downgrade a noisy log message that could occur naturally when
4669 receiving an extrainfo document that we no longer want. Fixes bug
4670 16016; bugfix on 0.2.6.3-alpha.
4672 o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
4673 - Remove a BUG() warning that would cause a stack trace if an onion
4674 service descriptor was freed while we were waiting for a
4675 rendezvous circuit to complete. Fixes bug 28992; bugfix
4678 o Testing (CI, backport from 0.4.3.4-rc):
4679 - In our Appveyor Windows CI, copy required DLLs to test and app
4680 directories, before running tor's tests. This ensures that tor.exe
4681 and test*.exe use the correct version of each DLL. This fix is not
4682 required, but we hope it will avoid DLL search issues in future.
4683 Fixes bug 33673; bugfix on 0.3.4.2-alpha.
4684 - On Appveyor, skip the crypto/openssl_version test, which is
4685 failing because of a mismatched library installation. Fix
4689 Changes in version 0.4.3.6 - 2020-07-09
4690 Tor 0.4.3.6 backports several bugfixes from later releases, including
4691 some affecting usability.
4693 This release also fixes TROVE-2020-001, a medium-severity denial of
4694 service vulnerability affecting all versions of Tor when compiled with
4695 the NSS encryption library. (This is not the default configuration.)
4696 Using this vulnerability, an attacker could cause an affected Tor
4697 instance to crash remotely. This issue is also tracked as CVE-2020-
4698 15572. Anybody running a version of Tor built with the NSS library
4699 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4702 o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
4703 - Fix a crash due to an out-of-bound memory access when Tor is
4704 compiled with NSS support. Fixes bug 33119; bugfix on
4705 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4708 o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
4709 - Use the correct 64-bit printf format when compiling with MINGW on
4710 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4712 o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
4713 - Resume use of preemptively-built circuits when UseEntryGuards is set
4714 to 0. We accidentally disabled this feature with that config
4715 setting, leading to slower load times. Fixes bug 34303; bugfix
4718 o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
4719 - Fix a compiler warning on platforms with 32-bit time_t values.
4720 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4722 o Minor bugfixes (linux seccomp sandbox, nss, backport from 0.4.4.1-alpha):
4723 - Fix a startup crash when tor is compiled with --enable-nss and
4724 sandbox support is enabled. Fixes bug 34130; bugfix on
4725 0.3.5.1-alpha. Patch by Daniel Pinto.
4727 o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
4728 - Downgrade a noisy log message that could occur naturally when
4729 receiving an extrainfo document that we no longer want. Fixes bug
4730 16016; bugfix on 0.2.6.3-alpha.
4732 o Minor bugfixes (manual page, backport from 0.4.4.1-alpha):
4733 - Update the man page to reflect that MinUptimeHidServDirectoryV2
4734 defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
4736 o Minor bugfixes (onion service v3, backport from 0.4.4.1-alpha):
4737 - Prevent an assert() that would occur when cleaning the client
4738 descriptor cache, and attempting to close circuits for a non-
4739 decrypted descriptor (lacking client authorization). Fixes bug
4740 33458; bugfix on 0.4.2.1-alpha.
4742 o Minor bugfixes (portability, backport from 0.4.4.1-alpha):
4743 - Fix a portability error in the configure script, where we were
4744 using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
4746 o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
4747 - Stop advertising incorrect IPv6 ORPorts in relay and bridge
4748 descriptors, when the IPv6 port was configured as "auto". Fixes
4749 bug 32588; bugfix on 0.2.3.9-alpha.
4751 o Documentation (backport from 0.4.4.1-alpha):
4752 - Fix several doxygen warnings related to imbalanced groups. Closes
4756 Changes in version 0.4.4.2-alpha - 2020-07-09
4757 This is the second alpha release in the 0.4.4.x series. It fixes a few
4758 bugs in the previous release, and solves a few usability,
4759 compatibility, and portability issues.
4761 This release also fixes TROVE-2020-001, a medium-severity denial of
4762 service vulnerability affecting all versions of Tor when compiled with
4763 the NSS encryption library. (This is not the default configuration.)
4764 Using this vulnerability, an attacker could cause an affected Tor
4765 instance to crash remotely. This issue is also tracked as CVE-2020-
4766 15572. Anybody running a version of Tor built with the NSS library
4767 should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
4770 o Major bugfixes (NSS, security):
4771 - Fix a crash due to an out-of-bound memory access when Tor is
4772 compiled with NSS support. Fixes bug 33119; bugfix on
4773 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
4776 o Minor features (bootstrap reporting):
4777 - Report more detailed reasons for bootstrap failure when the
4778 failure happens due to a TLS error. Previously we would just call
4779 these errors "MISC" when they happened during read, and "DONE"
4780 when they happened during any other TLS operation. Closes
4783 o Minor features (directory authority):
4784 - Authorities now recommend the protocol versions that are supported
4785 by Tor 0.3.5 and later. (Earlier versions of Tor have been
4786 deprecated since January of this year.) This recommendation will
4787 cause older clients and relays to give a warning on startup, or
4788 when they download a consensus directory. Closes ticket 32696.
4790 o Minor features (entry guards):
4791 - Reinstate support for GUARD NEW/UP/DOWN control port events.
4792 Closes ticket 40001.
4794 o Minor features (linux seccomp2 sandbox, portability):
4795 - Allow Tor to build on platforms where it doesn't know how to
4796 report which syscall caused the linux seccomp2 sandbox to fail.
4797 This change should make the sandbox code more portable to less
4798 common Linux architectures. Closes ticket 34382.
4799 - Permit the unlinkat() syscall, which some Libc implementations use
4800 to implement unlink(). Closes ticket 33346.
4802 o Minor bugfix (CI, Windows):
4803 - Use the correct 64-bit printf format when compiling with MINGW on
4804 Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
4806 o Minor bugfix (onion service v3 client):
4807 - Remove a BUG() warning that could occur naturally. Fixes bug
4808 34087; bugfix on 0.3.2.1-alpha.
4810 o Minor bugfix (SOCKS, onion service client):
4811 - Detect v3 onion service addresses of the wrong length when
4812 returning the F6 ExtendedErrors code. Fixes bug 33873; bugfix
4815 o Minor bugfixes (compiler warnings):
4816 - Fix a compiler warning on platforms with 32-bit time_t values.
4817 Fixes bug 40028; bugfix on 0.3.2.8-rc.
4819 o Minor bugfixes (control port, onion service):
4820 - Consistently use 'address' in "Invalid v3 address" response to
4821 ONION_CLIENT_AUTH commands. Previously, we would sometimes say
4822 'addr'. Fixes bug 40005; bugfix on 0.4.3.1-alpha.
4824 o Minor bugfixes (logging):
4825 - Downgrade a noisy log message that could occur naturally when
4826 receiving an extrainfo document that we no longer want. Fixes bug
4827 16016; bugfix on 0.2.6.3-alpha.
4829 o Minor bugfixes (onion services v3):
4830 - Avoid a non-fatal assertion failure in certain edge-cases when
4831 opening an intro circuit as a client. Fixes bug 34084; bugfix
4834 o Deprecated features (onion service v2):
4835 - Add a deprecation warning for version 2 onion services. Closes
4838 o Removed features (IPv6, revert):
4839 - Revert the change in the default value of ClientPreferIPv6OrPort:
4840 it breaks the torsocks use case. The SOCKS resolve command has no
4841 mechanism to ask for a specific address family (v4 or v6), and so
4842 prioritizing IPv6 when an IPv4 address is requested on the SOCKS
4843 interface resulted in a failure. Tor Browser explicitly sets
4844 PreferIPv6, so this should not affect the majority of our users.
4845 Closes ticket 33796; bugfix on 0.4.4.1-alpha.
4848 Changes in version 0.4.4.1-alpha - 2020-06-16
4849 This is the first alpha release in the 0.4.4.x series. It improves
4850 our guard selection algorithms, improves the amount of code that
4851 can be disabled when running without relay support, and includes numerous
4852 small bugfixes and enhancements. It also lays the ground for some IPv6
4853 features that we'll be developing more in the next (0.4.5) series.
4855 Here are the changes since 0.4.3.5.
4857 o Major features (Proposal 310, performance + security):
4858 - Implements Proposal 310, "Bandaid on guard selection". Proposal
4859 310 solves load-balancing issues with older versions of the guard
4860 selection algorithm, and improves its security. Under this new
4861 algorithm, a newly selected guard never becomes Primary unless all
4862 previously sampled guards are unreachable. Implements
4863 recommendation from 32088. (Proposal 310 is linked to the CLAPS
4864 project researching optimal client location-aware path selections.
4865 This project is a collaboration between the UCLouvain Crypto Group,
4866 the U.S. Naval Research Laboratory, and Princeton University.)
4868 o Major features (IPv6, relay):
4869 - Consider IPv6-only EXTEND2 cells valid on relays. Log a protocol
4870 warning if the IPv4 or IPv6 address is an internal address, and
4871 internal addresses are not allowed. But continue to use the other
4872 address, if it is valid. Closes ticket 33817.
4873 - If a relay can extend over IPv4 and IPv6, and both addresses are
4874 provided, it chooses between them uniformly at random. Closes
4876 - Re-use existing IPv6 connections for circuit extends. Closes
4878 - Relays may extend circuits over IPv6, if the relay has an IPv6
4879 ORPort, and the client supplies the other relay's IPv6 ORPort in
4880 the EXTEND2 cell. IPv6 extends will be used by the relay IPv6
4881 ORPort self-tests in 33222. Closes ticket 33817.
4883 o Major features (v3 onion services):
4884 - Allow v3 onion services to act as OnionBalance backend instances,
4885 by using the HiddenServiceOnionBalanceInstance torrc option.
4886 Closes ticket 32709.
4888 o Minor feature (developer tools):
4889 - Add a script to help check the alphabetical ordering of option
4890 names in the manual page. Closes ticket 33339.
4892 o Minor feature (onion service client, SOCKS5):
4893 - Add 3 new SocksPort ExtendedErrors (F2, F3, F7) that reports back
4894 new type of onion service connection failures. The semantics of
4895 these error codes are documented in proposal 309. Closes
4898 o Minor feature (onion service v3):
4899 - If a service cannot upload its descriptor(s), log why at INFO
4900 level. Closes ticket 33400; bugfix on 0.3.2.1-alpha.
4902 o Minor feature (python scripts):
4903 - Stop assuming that /usr/bin/python exists. Instead of using a
4904 hardcoded path in scripts that still use Python 2, use
4905 /usr/bin/env, similarly to the scripts that use Python 3. Fixes
4906 bug 33192; bugfix on 0.4.2.
4908 o Minor features (client-only compilation):
4909 - Disable more code related to the ext_orport protocol when
4910 compiling without support for relay mode. Closes ticket 33368.
4911 - Disable more of our self-testing code when support for relay mode
4912 is disabled. Closes ticket 33370.
4914 o Minor features (code safety):
4915 - Check for failures of tor_inet_ntop() and tor_inet_ntoa()
4916 functions in DNS and IP address processing code, and adjust
4917 codepaths to make them less likely to crash entire Tor instances.
4918 Resolves issue 33788.
4920 o Minor features (compilation size):
4921 - Most server-side DNS code is now disabled when building without
4922 support for relay mode. Closes ticket 33366.
4924 o Minor features (continuous integration):
4925 - Run unit-test and integration test (Stem, Chutney) jobs with
4926 ALL_BUGS_ARE_FATAL macro being enabled on Travis and Appveyor.
4927 Resolves ticket 32143.
4929 o Minor features (control port):
4930 - Return a descriptive error message from the 'GETINFO status/fresh-
4931 relay-descs' command on the control port. Previously, we returned
4932 a generic error of "Error generating descriptor". Closes ticket
4933 32873. Patch by Neel Chauhan.
4935 o Minor features (developer tooling):
4936 - Refrain from listing all .a files that are generated by the Tor
4937 build in .gitignore. Add a single wildcard *.a entry that covers
4938 all of them for present and future. Closes ticket 33642.
4939 - Add a script ("git-install-tools.sh") to install git hooks and
4940 helper scripts. Closes ticket 33451.
4942 o Minor features (directory authority, shared random):
4943 - Refactor more authority-only parts of the shared-random scheduling
4944 code to reside in the dirauth module, and to be disabled when
4945 compiling with --disable-module-dirauth. Closes ticket 33436.
4947 o Minor features (directory):
4948 - Remember the number of bytes we have downloaded for each directory
4949 purpose while bootstrapping, and while fully bootstrapped. Log
4950 this information as part of the heartbeat message. Closes
4953 o Minor features (IPv6 support):
4954 - Adds IPv6 support to tor_addr_is_valid(). Adds tests for the above
4955 changes and tor_addr_is_null(). Closes ticket 33679. Patch
4957 - Allow clients and relays to send dual-stack and IPv6-only EXTEND2
4958 cells. Parse dual-stack and IPv6-only EXTEND2 cells on relays.
4959 Closes ticket 33901.
4961 o Minor features (logging):
4962 - When trying to find our own address, add debug-level logging to
4963 report the sources of candidate addresses. Closes ticket 32888.
4965 o Minor features (testing, architecture):
4966 - Our test scripts now double-check that subsystem initialization
4967 order is consistent with the inter-module dependencies established
4968 by our .may_include files. Implements ticket 31634.
4969 - Initialize all subsystems at the beginning of our unit test
4970 harness, to avoid crashes due to uninitialized subsystems. Follow-
4971 up from ticket 33316.
4973 o Minor features (v3 onion services):
4974 - Add v3 onion service status to the dumpstats() call which is
4975 triggered by a SIGUSR1 signal. Previously, we only did v2 onion
4976 services. Closes ticket 24844. Patch by Neel Chauhan.
4978 o Minor features (windows):
4979 - Add support for console control signals like Ctrl+C in Windows.
4980 Closes ticket 34211. Patch from Damon Harris (TheDcoder).
4982 o Minor bugfix (onion service v3):
4983 - Prevent an assert() that would occur when cleaning the client
4984 descriptor cache, and attempting to close circuits for a non-
4985 decrypted descriptor (lacking client authorization). Fixes bug
4986 33458; bugfix on 0.4.2.1-alpha.
4988 o Minor bugfix (refactoring):
4989 - Lift circuit_build_times_disabled() out of the
4990 circuit_expire_building() loop, to save CPU time when there are
4991 many circuits open. Fixes bug 33977; bugfix on 0.3.5.9.
4993 o Minor bugfixes (client performance):
4994 - Resume use of preemptively-built circuits when UseEntryGuards is set
4995 to 0. We accidentally disabled this feature with that config
4996 setting, leading to slower load times. Fixes bug 34303; bugfix
4999 o Minor bugfixes (directory authorities):
5000 - Directory authorities now reject votes that arrive too late. In
5001 particular, once an authority has started fetching missing votes,
5002 it no longer accepts new votes posted by other authorities. This
5003 change helps prevent a consensus split, where only some authorities
5004 have the late vote. Fixes bug 4631; bugfix on 0.2.0.5-alpha.
5006 o Minor bugfixes (git scripts):
5007 - Stop executing the checked-out pre-commit hook from the pre-push
5008 hook. Instead, execute the copy in the user's git directory. Fixes
5009 bug 33284; bugfix on 0.4.1.1-alpha.
5011 o Minor bugfixes (initialization):
5012 - Initialize the subsystems in our code in an order more closely
5013 corresponding to their dependencies, so that every system is
5014 initialized before the ones that (theoretically) depend on it.
5015 Fixes bug 33316; bugfix on 0.4.0.1-alpha.
5017 o Minor bugfixes (IPv4, relay):
5018 - Check for invalid zero IPv4 addresses and ports when sending and
5019 receiving extend cells. Fixes bug 33900; bugfix on 0.2.4.8-alpha.
5021 o Minor bugfixes (IPv6, relay):
5022 - Consider IPv6 addresses when checking if a connection is
5023 canonical. In 17604, relays assumed that a remote relay could
5024 consider an IPv6 connection canonical, but did not set the
5025 canonical flag on their side of the connection. Fixes bug 33899;
5026 bugfix on 0.3.1.1-alpha.
5027 - Log IPv6 addresses on connections where this relay is the
5028 responder. Previously, responding relays would replace the remote
5029 IPv6 address with the IPv4 address from the consensus. Fixes bug
5030 33899; bugfix on 0.3.1.1-alpha.
5032 o Minor bugfixes (linux seccomp sandbox nss):
5033 - Fix a startup crash when tor is compiled with --enable-nss and
5034 sandbox support is enabled. Fixes bug 34130; bugfix on
5035 0.3.5.1-alpha. Patch by Daniel Pinto.
5037 o Minor bugfixes (logging, testing):
5038 - Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL
5039 and DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes. (IF_BUG_ONCE()
5040 used to log a non-fatal warning, regardless of the debugging
5041 mode.) Fixes bug 33917; bugfix on 0.2.9.1-alpha.
5043 o Minor bugfixes (logs):
5044 - Remove surprising empty line in the INFO-level log about circuit
5045 build timeout. Fixes bug 33531; bugfix on 0.3.3.1-alpha.
5047 o Minor bugfixes (mainloop):
5048 - Better guard against growing a buffer past its maximum 2GB in
5049 size. Fixes bug 33131; bugfix on 0.3.0.4-rc.
5051 o Minor bugfixes (manual page):
5052 - Update the man page to reflect that MinUptimeHidServDirectoryV2
5053 defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
5055 o Minor bugfixes (onion service v3, client):
5056 - Remove a BUG() that was causing a stacktrace when a descriptor
5057 changed at an unexpected time. Fixes bug 28992; bugfix
5060 o Minor bugfixes (onion service, logging):
5061 - Fix a typo in a log message PublishHidServDescriptors is set to 0.
5062 Fixes bug 33779; bugfix on 0.3.2.1-alpha.
5064 o Minor bugfixes (portability):
5065 - Fix a portability error in the configure script, where we were
5066 using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
5068 o Minor bugfixes (protocol versions):
5069 - Sort tor's supported protocol version lists, as recommended by the
5070 tor directory specification. Fixes bug 33285; bugfix
5073 o Minor bugfixes (relays):
5074 - Stop advertising incorrect IPv6 ORPorts in relay and bridge
5075 descriptors, when the IPv6 port was configured as "auto". Fixes
5076 bug 32588; bugfix on 0.2.3.9-alpha.
5078 o Code simplification and refactoring:
5079 - Define and use a new constant TOR_ADDRPORT_BUF_LEN which is like
5080 TOR_ADDR_BUF_LEN but includes enough space for an IP address,
5081 brackets, separating colon, and port number. Closes ticket 33956.
5082 Patch by Neel Chauhan.
5083 - Merge the orconn and ocirc events into the "core" subsystem, which
5084 manages or connections and origin circuits. Previously they were
5085 isolated in subsystems of their own.
5086 - Move LOG_PROTOCOL_WARN to app/config. Resolves a dependency
5087 inversion. Closes ticket 33633.
5088 - Move the circuit extend code to the relay module. Split the
5089 circuit extend function into smaller functions. Closes
5091 - Rewrite port_parse_config() to use the default port flags from
5092 port_cfg_new(). Closes ticket 32994. Patch by MrSquanchee.
5093 - Updated comments in 'scheduler.c' to reflect old code changes, and
5094 simplified the scheduler channel state change code. Closes
5098 - Document the limitations of using %include on config files with
5099 seccomp sandbox enabled. Fixes documentation bug 34133; bugfix on
5100 0.3.1.1-alpha. Patch by Daniel Pinto.
5101 - Fix several doxygen warnings related to imbalanced groups. Closes
5105 - Remove the ClientAutoIPv6ORPort option. This option attempted to
5106 randomly choose between IPv4 and IPv6 for client connections, and
5107 wasn't a true implementation of Happy Eyeballs. Often, this option
5108 failed on IPv4-only or IPv6-only connections. Closes ticket 32905.
5109 Patch by Neel Chauhan.
5110 - Stop shipping contrib/dist/rc.subr file, as it is not being used
5111 on FreeBSD anymore. Closes issue 31576.
5114 - Add a basic IPv6 test to "make test-network". This test only runs
5115 when the local machine has an IPv6 stack. Closes ticket 33300.
5116 - Add test-network-ipv4 and test-network-ipv6 jobs to the Makefile.
5117 These jobs run the IPv4-only and dual-stack chutney flavours from
5118 test-network-all. Closes ticket 33280.
5119 - Remove a redundant distcheck job. Closes ticket 33194.
5120 - Run the test-network-ipv6 Makefile target in the Travis CI IPv6
5121 chutney job. This job runs on macOS, so it's a bit slow. Closes
5123 - Sort the Travis jobs in order of speed. Putting the slowest jobs
5124 first takes full advantage of Travis job concurrency. Closes
5126 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5127 previously configured to fast_finish (which requires
5128 allow_failure), to speed up the build. Closes ticket 33195.
5129 - Test v3 onion services to tor's mixed IPv4 chutney network. And
5130 add a mixed IPv6 chutney network. These networks are used in the
5131 test-network-all, test-network-ipv4, and test-network-ipv6 make
5132 targets. Closes ticket 33334.
5133 - Use the "bridges+hs-v23" chutney network flavour in "make test-
5134 network". This test requires a recent version of chutney (mid-
5135 February 2020). Closes ticket 28208.
5136 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5137 tool to produce detailed diagnostic output. Closes ticket 32792.
5139 o Code simplification and refactoring (onion service):
5140 - Refactor configuration parsing to use the new config subsystem
5141 code. Closes ticket 33014.
5143 o Code simplification and refactoring (relay address):
5144 - Move a series of functions related to address resolving into their
5145 own files. Closes ticket 33789.
5147 o Documentation (manual page):
5148 - Add cross reference links and a table of contents to the HTML tor
5149 manual page. Closes ticket 33369. Work by Swati Thacker as part of
5150 Google Season of Docs.
5151 - Alphabetize the Denial of Service Mitigation Options, Directory
5152 Authority Server Options, Hidden Service Options, and Testing
5153 Network Options sections of the tor(1) manual page. Closes ticket
5154 33275. Work by Swati Thacker as part of Google Season of Docs.
5155 - Refrain from mentioning nicknames in manpage section for MyFamily
5156 torrc option. Resolves issue 33417.
5157 - Updated the options set by TestingTorNetwork in the manual page.
5158 Closes ticket 33778.
5161 Changes in version 0.4.3.5 - 2020-05-15
5162 Tor 0.4.3.5 is the first stable release in the 0.4.3.x series. This
5163 series adds support for building without relay code enabled, and
5164 implements functionality needed for OnionBalance with v3 onion
5165 services. It includes significant refactoring of our configuration and
5166 controller functionality, and fixes numerous smaller bugs and
5169 Per our support policy, we support each stable release series for nine
5170 months after its first stable release, or three months after the first
5171 stable release of the next series: whichever is longer. This means
5172 that 0.4.3.x will be supported until around February 2021--later, if
5173 0.4.4.x is later than anticipated.
5175 Note also that support for 0.4.1.x is about to end on May 20 of this
5176 year; 0.4.2.x will be supported until September 15. We still plan to
5177 continue supporting 0.3.5.x, our long-term stable series, until
5180 Below are the changes since 0.4.3.4-rc. For a complete list of changes
5181 since 0.4.2.6, see the ReleaseNotes file.
5183 o Minor bugfixes (compiler compatibility):
5184 - Avoid compiler warnings from Clang 10 related to the use of GCC-
5185 style "/* falls through */" comments. Both Clang and GCC allow
5186 __attribute__((fallthrough)) instead, so that's what we're using
5187 now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
5188 - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
5191 o Minor bugfixes (logging):
5192 - Stop truncating IPv6 addresses and ports in channel and connection
5193 logs. Fixes bug 33918; bugfix on 0.2.4.4-alpha.
5194 - Fix a logic error in a log message about whether an address was
5195 invalid. Previously, the code would never report that onion
5196 addresses were onion addresses. Fixes bug 34131; bugfix
5200 Changes in version 0.4.3.4-rc - 2020-04-13
5201 Tor 0.4.3.4-rc is the first release candidate in its series. It fixes
5202 several bugs from earlier versions, including one affecting DoS
5203 defenses on bridges using pluggable transports.
5205 o Major bugfixes (DoS defenses, bridges, pluggable transport):
5206 - Fix a bug that was preventing DoS defenses from running on bridges
5207 with a pluggable transport. Previously, the DoS subsystem was not
5208 given the transport name of the client connection, thus failed to
5209 find the GeoIP cache entry for that client address. Fixes bug
5210 33491; bugfix on 0.3.3.2-alpha.
5212 o Minor feature (sendme, flow control):
5213 - Default to sending SENDME version 1 cells. (Clients are already
5214 sending these, because of a consensus parameter telling them to do
5215 so: this change only affects what clients would do if the
5216 consensus didn't contain a recommendation.) Closes ticket 33623.
5218 o Minor features (testing):
5219 - The unit tests now support a "TOR_SKIP_TESTCASES" environment
5220 variable to specify a list of space-separated test cases that
5221 should not be executed. We will use this to disable certain tests
5222 that are failing on Appveyor because of mismatched OpenSSL
5223 libraries. Part of ticket 33643.
5225 o Minor bugfixes (--disable-module-relay):
5226 - Fix an assertion failure when Tor is built without the relay
5227 module, and then invoked with the "User" option. Fixes bug 33668;
5228 bugfix on 0.4.3.1-alpha.
5230 o Minor bugfixes (--disable-module-relay,--disable-module-dirauth):
5231 - Set some output arguments in the relay and dirauth module stubs,
5232 to guard against future stub argument handling bugs like 33668.
5233 Fixes bug 33674; bugfix on 0.4.3.1-alpha.
5235 o Minor bugfixes (build system):
5236 - Correctly output the enabled module in the configure summary.
5237 Before that, the list shown was just plain wrong. Fixes bug 33646;
5238 bugfix on 0.4.3.2-alpha.
5240 o Minor bugfixes (client, IPv6):
5241 - Stop forcing all non-SocksPorts to prefer IPv6 exit connections.
5242 Instead, prefer IPv6 connections by default, but allow users to
5243 change their configs using the "NoPreferIPv6" port flag. Fixes bug
5244 33608; bugfix on 0.4.3.1-alpha.
5245 - Revert PreferIPv6 set by default on the SocksPort because it broke
5246 the torsocks use case. Tor doesn't have a way for an application
5247 to request the hostname to be resolved for a specific IP version,
5248 but torsocks requires that. Up until now, IPv4 was used by default
5249 so torsocks is expecting that, and can't handle a possible IPv6
5250 being returned. Fixes bug 33804; bugfix on 0.4.3.1-alpha.
5252 o Minor bugfixes (key portability):
5253 - When reading PEM-encoded key data, tolerate CRLF line-endings even
5254 if we are not running on Windows. Previously, non-Windows hosts
5255 would reject these line-endings in certain positions, making
5256 certain key files hard to move from one host to another. Fixes bug
5257 33032; bugfix on 0.3.5.1-alpha.
5259 o Minor bugfixes (logging):
5260 - Flush stderr, stdout, and file logs during shutdown, if supported
5261 by the OS. This change helps make sure that any final logs are
5262 recorded. Fixes bug 33087; bugfix on 0.4.1.6.
5263 - Stop closing stderr and stdout during shutdown. Closing these file
5264 descriptors can hide sanitiser logs. Fixes bug 33087; bugfix
5267 o Minor bugfixes (onion services v3):
5268 - Relax severity of a log message that can appear naturally when
5269 decoding onion service descriptors as a relay. Also add some
5270 diagnostics to debug any future bugs in that area. Fixes bug
5271 31669; bugfix on 0.3.0.1-alpha.
5272 - Block a client-side assertion by disallowing the registration of
5273 an x25519 client auth key that's all zeroes. Fixes bug 33545;
5274 bugfix on 0.4.3.1-alpha. Based on patch from "cypherpunks".
5276 o Code simplification and refactoring:
5277 - Disable our coding standards best practices tracker in our git
5278 hooks. (0.4.3 branches only.) Closes ticket 33678.
5281 - Avoid conflicts between the fake sockets in tor's unit tests, and
5282 real file descriptors. Resolves issues running unit tests with
5283 GitHub Actions, where the process that embeds or launches the
5284 tests has already opened a large number of file descriptors. Fixes
5285 bug 33782; bugfix on 0.2.8.1-alpha. Found and fixed by
5289 - In our Appveyor Windows CI, copy required DLLs to test and app
5290 directories, before running tor's tests. This ensures that tor.exe
5291 and test*.exe use the correct version of each DLL. This fix is not
5292 required, but we hope it will avoid DLL search issues in future.
5293 Fixes bug 33673; bugfix on 0.3.4.2-alpha.
5294 - On Appveyor, skip the crypto/openssl_version test, which is
5295 failing because of a mismatched library installation. Fix
5299 Changes in version 0.4.3.3-alpha - 2020-03-18
5300 Tor 0.4.3.3-alpha fixes several bugs in previous releases, including
5301 TROVE-2020-002, a major denial-of-service vulnerability that affected
5302 all released Tor instances since 0.2.1.5-alpha. Using this
5303 vulnerability, an attacker could cause Tor instances to consume a huge
5304 amount of CPU, disrupting their operations for several seconds or
5305 minutes. This attack could be launched by anybody against a relay, or
5306 by a directory cache against any client that had connected to it. The
5307 attacker could launch this attack as much as they wanted, thereby
5308 disrupting service or creating patterns that could aid in traffic
5309 analysis. This issue was found by OSS-Fuzz, and is also tracked
5312 We do not have reason to believe that this attack is currently being
5313 exploited in the wild, but nonetheless we advise everyone to upgrade
5314 as soon as packages are available.
5316 o Major bugfixes (security, denial-of-service):
5317 - Fix a denial-of-service bug that could be used by anyone to
5318 consume a bunch of CPU on any Tor relay or authority, or by
5319 directories to consume a bunch of CPU on clients or hidden
5320 services. Because of the potential for CPU consumption to
5321 introduce observable timing patterns, we are treating this as a
5322 high-severity security issue. Fixes bug 33119; bugfix on
5323 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5324 as TROVE-2020-002 and CVE-2020-10592.
5326 o Major bugfixes (circuit padding, memory leak):
5327 - Avoid a remotely triggered memory leak in the case that a circuit
5328 padding machine is somehow negotiated twice on the same circuit.
5329 Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
5330 This is also tracked as TROVE-2020-004 and CVE-2020-10593.
5332 o Major bugfixes (directory authority):
5333 - Directory authorities will now send a 503 (not enough bandwidth)
5334 code to clients when under bandwidth pressure. Known relays and
5335 other authorities will always be answered regardless of the
5336 bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
5338 o Minor features (diagnostic):
5339 - Improve assertions and add some memory-poisoning code to try to
5340 track down possible causes of a rare crash (32564) in the EWMA
5341 code. Closes ticket 33290.
5343 o Minor features (directory authorities):
5344 - Directory authorities now reject descriptors from relays running
5345 Tor versions from the 0.2.9 and 0.4.0 series. The 0.3.5 series is
5346 still allowed. Resolves ticket 32672. Patch by Neel Chauhan.
5348 o Minor features (usability):
5349 - Include more information when failing to parse a configuration
5350 value. This should make it easier to tell what's going wrong when
5351 a configuration file doesn't parse. Closes ticket 33460.
5353 o Minor bugfix (relay, configuration):
5354 - Warn if the ContactInfo field is not set, and tell the relay
5355 operator that not having a ContactInfo field set might cause their
5356 relay to get rejected in the future. Fixes bug 33361; bugfix
5359 o Minor bugfixes (coding best practices checks):
5360 - Allow the "practracker" script to read unicode files when using
5361 Python 2. We made the script use unicode literals in 0.4.3.1-alpha,
5362 but didn't change the codec for opening files. Fixes bug 33374;
5363 bugfix on 0.4.3.1-alpha.
5365 o Minor bugfixes (continuous integration):
5366 - Remove the buggy and unused mirroring job. Fixes bug 33213; bugfix
5369 o Minor bugfixes (onion service v3, client):
5370 - Remove a BUG() warning that would cause a stack trace if an onion
5371 service descriptor was freed while we were waiting for a
5372 rendezvous circuit to complete. Fixes bug 28992; bugfix
5375 o Minor bugfixes (onion services v3):
5376 - Fix an assertion failure that could result from a corrupted
5377 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5378 bugfix on 0.3.3.1-alpha. This issue is also tracked
5381 o Documentation (manpage):
5382 - Alphabetize the Server and Directory server sections of the tor
5383 manpage. Also split Statistics options into their own section of
5384 the manpage. Closes ticket 33188. Work by Swati Thacker as part of
5385 Google Season of Docs.
5386 - Document the __OwningControllerProcess torrc option and specify
5387 its polling interval. Resolves issue 32971.
5389 o Testing (Travis CI):
5390 - Remove a redundant distcheck job. Closes ticket 33194.
5391 - Sort the Travis jobs in order of speed: putting the slowest jobs
5392 first takes full advantage of Travis job concurrency. Closes
5394 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5395 previously configured to fast_finish (which requires
5396 allow_failure), to speed up the build. Closes ticket 33195.
5397 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5398 tool to produce detailed diagnostic output. Closes ticket 32792.
5401 Changes in version 0.4.2.7 - 2020-03-18
5402 This is the third stable release in the 0.4.2.x series. It backports
5403 numerous fixes from later releases, including a fix for TROVE-2020-
5404 002, a major denial-of-service vulnerability that affected all
5405 released Tor instances since 0.2.1.5-alpha. Using this vulnerability,
5406 an attacker could cause Tor instances to consume a huge amount of CPU,
5407 disrupting their operations for several seconds or minutes. This
5408 attack could be launched by anybody against a relay, or by a directory
5409 cache against any client that had connected to it. The attacker could
5410 launch this attack as much as they wanted, thereby disrupting service
5411 or creating patterns that could aid in traffic analysis. This issue
5412 was found by OSS-Fuzz, and is also tracked as CVE-2020-10592.
5414 We do not have reason to believe that this attack is currently being
5415 exploited in the wild, but nonetheless we advise everyone to upgrade
5416 as soon as packages are available.
5418 o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
5419 - Fix a denial-of-service bug that could be used by anyone to
5420 consume a bunch of CPU on any Tor relay or authority, or by
5421 directories to consume a bunch of CPU on clients or hidden
5422 services. Because of the potential for CPU consumption to
5423 introduce observable timing patterns, we are treating this as a
5424 high-severity security issue. Fixes bug 33119; bugfix on
5425 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5426 as TROVE-2020-002 and CVE-2020-10592.
5428 o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
5429 - Avoid a remotely triggered memory leak in the case that a circuit
5430 padding machine is somehow negotiated twice on the same circuit.
5431 Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
5432 This is also tracked as TROVE-2020-004 and CVE-2020-10593.
5434 o Major bugfixes (directory authority, backport from 0.4.3.3-alpha):
5435 - Directory authorities will now send a 503 (not enough bandwidth)
5436 code to clients when under bandwidth pressure. Known relays and
5437 other authorities will always be answered regardless of the
5438 bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
5440 o Minor features (continuous integration, backport from 0.4.3.2-alpha):
5441 - Stop allowing failures on the Travis CI stem tests job. It looks
5442 like all the stem hangs we were seeing before are now fixed.
5443 Closes ticket 33075.
5445 o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
5446 - Lowercase the configured value of BridgeDistribution before adding
5447 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5449 o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
5450 - If we encounter a bug when flushing a buffer to a TLS connection,
5451 only log the bug once per invocation of the Tor process.
5452 Previously we would log with every occurrence, which could cause
5453 us to run out of disk space. Fixes bug 33093; bugfix
5456 o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
5457 - Fix an assertion failure that could result from a corrupted
5458 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5459 bugfix on 0.3.3.1-alpha. This issue is also tracked
5462 o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
5463 - Fix a syntax warning given by newer versions of Rust that was
5464 creating problems for our continuous integration. Fixes bug 33212;
5465 bugfix on 0.3.5.1-alpha.
5467 o Testing (Travis CI, backport from 0.4.3.3-alpha):
5468 - Remove a redundant distcheck job. Closes ticket 33194.
5469 - Sort the Travis jobs in order of speed: putting the slowest jobs
5470 first takes full advantage of Travis job concurrency. Closes
5472 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5473 previously configured to fast_finish (which requires
5474 allow_failure), to speed up the build. Closes ticket 33195.
5475 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5476 tool to produce detailed diagnostic output. Closes ticket 32792.
5479 Changes in version 0.4.1.9 - 2020-03-18
5480 Tor 0.4.1.9 backports important fixes from later Tor releases,
5481 including a fix for TROVE-2020-002, a major denial-of-service
5482 vulnerability that affected all released Tor instances since
5483 0.2.1.5-alpha. Using this vulnerability, an attacker could cause Tor
5484 instances to consume a huge amount of CPU, disrupting their operations
5485 for several seconds or minutes. This attack could be launched by
5486 anybody against a relay, or by a directory cache against any client
5487 that had connected to it. The attacker could launch this attack as
5488 much as they wanted, thereby disrupting service or creating patterns
5489 that could aid in traffic analysis. This issue was found by OSS-Fuzz,
5490 and is also tracked as CVE-2020-10592.
5492 We do not have reason to believe that this attack is currently being
5493 exploited in the wild, but nonetheless we advise everyone to upgrade
5494 as soon as packages are available.
5496 o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
5497 - Fix a denial-of-service bug that could be used by anyone to
5498 consume a bunch of CPU on any Tor relay or authority, or by
5499 directories to consume a bunch of CPU on clients or hidden
5500 services. Because of the potential for CPU consumption to
5501 introduce observable timing patterns, we are treating this as a
5502 high-severity security issue. Fixes bug 33119; bugfix on
5503 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5504 as TROVE-2020-002 and CVE-2020-10592.
5506 o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
5507 - Avoid a remotely triggered memory leak in the case that a circuit
5508 padding machine is somehow negotiated twice on the same circuit.
5509 Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
5510 This is also tracked as TROVE-2020-004 and CVE-2020-10593.
5512 o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
5513 - Lowercase the configured value of BridgeDistribution before adding
5514 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5516 o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
5517 - If we encounter a bug when flushing a buffer to a TLS connection,
5518 only log the bug once per invocation of the Tor process.
5519 Previously we would log with every occurrence, which could cause
5520 us to run out of disk space. Fixes bug 33093; bugfix
5523 o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
5524 - Fix an assertion failure that could result from a corrupted
5525 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5526 bugfix on 0.3.3.1-alpha. This issue is also tracked
5529 o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
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 Testing (Travis CI, backport from 0.4.3.3-alpha):
5535 - Remove a redundant distcheck job. Closes ticket 33194.
5536 - Sort the Travis jobs in order of speed: putting the slowest jobs
5537 first takes full advantage of Travis job concurrency. Closes
5539 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5540 previously configured to fast_finish (which requires
5541 allow_failure), to speed up the build. Closes ticket 33195.
5542 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5543 tool to produce detailed diagnostic output. Closes ticket 32792.
5546 Changes in version 0.3.5.10 - 2020-03-18
5547 Tor 0.3.5.10 backports many fixes from later Tor releases, including a
5548 fix for TROVE-2020-002, a major denial-of-service vulnerability that
5549 affected all released Tor instances since 0.2.1.5-alpha. Using this
5550 vulnerability, an attacker could cause Tor instances to consume a huge
5551 amount of CPU, disrupting their operations for several seconds or
5552 minutes. This attack could be launched by anybody against a relay, or
5553 by a directory cache against any client that had connected to it. The
5554 attacker could launch this attack as much as they wanted, thereby
5555 disrupting service or creating patterns that could aid in traffic
5556 analysis. This issue was found by OSS-Fuzz, and is also tracked
5559 We do not have reason to believe that this attack is currently being
5560 exploited in the wild, but nonetheless we advise everyone to upgrade
5561 as soon as packages are available.
5563 o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
5564 - Fix a denial-of-service bug that could be used by anyone to
5565 consume a bunch of CPU on any Tor relay or authority, or by
5566 directories to consume a bunch of CPU on clients or hidden
5567 services. Because of the potential for CPU consumption to
5568 introduce observable timing patterns, we are treating this as a
5569 high-severity security issue. Fixes bug 33119; bugfix on
5570 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
5571 as TROVE-2020-002 and CVE-2020-10592.
5573 o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
5574 - Correct how we use libseccomp. Particularly, stop assuming that
5575 rules are applied in a particular order or that more rules are
5576 processed after the first match. Neither is the case! In
5577 libseccomp <2.4.0 this lead to some rules having no effect.
5578 libseccomp 2.4.0 changed how rules are generated, leading to a
5579 different ordering, which in turn led to a fatal crash during
5580 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5583 o Minor features (continuous integration, backport from 0.4.3.2-alpha):
5584 - Stop allowing failures on the Travis CI stem tests job. It looks
5585 like all the stem hangs we were seeing before are now fixed.
5586 Closes ticket 33075.
5588 o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
5589 - Lowercase the configured value of BridgeDistribution before adding
5590 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
5592 o Minor bugfixes (crash, backport from 0.4.2.4-rc):
5593 - When running Tor with an option like --verify-config or
5594 --dump-config that does not start the event loop, avoid crashing
5595 if we try to exit early because of an error. Fixes bug 32407;
5596 bugfix on 0.3.3.1-alpha.
5598 o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
5599 - If we encounter a bug when flushing a buffer to a TLS connection,
5600 only log the bug once per invocation of the Tor process.
5601 Previously we would log with every occurrence, which could cause
5602 us to run out of disk space. Fixes bug 33093; bugfix
5605 o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
5606 - Fix an assertion failure that could result from a corrupted
5607 ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
5608 bugfix on 0.3.3.1-alpha. This issue is also tracked
5611 o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
5612 - Fix a syntax warning given by newer versions of Rust that was
5613 creating problems for our continuous integration. Fixes bug 33212;
5614 bugfix on 0.3.5.1-alpha.
5616 o Testing (backport from 0.4.3.1-alpha):
5617 - Re-enable the Travis CI macOS Chutney build, but don't let it
5618 prevent the Travis job from finishing. (The Travis macOS jobs are
5619 slow, so we don't want to have it delay the whole CI process.)
5620 Closes ticket 32629.
5621 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
5622 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
5623 fix the sandbox errors in 32722. Closes ticket 32240.
5625 o Testing (continuous integration, backport from 0.4.3.1-alpha):
5626 - Use zstd in our Travis Linux builds. Closes ticket 32242.
5628 o Testing (Travis CI, backport from 0.4.3.3-alpha):
5629 - Remove a redundant distcheck job. Closes ticket 33194.
5630 - Sort the Travis jobs in order of speed: putting the slowest jobs
5631 first takes full advantage of Travis job concurrency. Closes
5633 - Stop allowing the Chutney IPv6 Travis job to fail. This job was
5634 previously configured to fast_finish (which requires
5635 - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
5636 tool to produce detailed diagnostic output. Closes ticket 32792.
5639 Changes in version 0.4.3.2-alpha - 2020-02-10
5640 This is the second stable alpha release in the Tor 0.4.3.x series. It
5641 fixes several bugs present in the previous alpha release. Anybody
5642 running the previous alpha should upgrade, and look for bugs in this
5645 o Major bugfixes (onion service client, authorization):
5646 - On a NEWNYM signal, purge entries from the ephemeral client
5647 authorization cache. The permanent ones are kept. Fixes bug 33139;
5648 bugfix on 0.4.3.1-alpha.
5650 o Minor features (best practices tracker):
5651 - Practracker now supports a --regen-overbroad option to regenerate
5652 the exceptions file, but only to revise exceptions to be _less_
5653 tolerant of best-practices violations. Closes ticket 32372.
5655 o Minor features (continuous integration):
5656 - Run Doxygen Makefile target on Travis, so we can learn about
5657 regressions in our internal documentation. Closes ticket 32455.
5658 - Stop allowing failures on the Travis CI stem tests job. It looks
5659 like all the stem hangs we were seeing before are now fixed.
5660 Closes ticket 33075.
5662 o Minor bugfixes (build system):
5663 - Revise configure options that were either missing or incorrect in
5664 the configure summary. Fixes bug 32230; bugfix on 0.4.3.1-alpha.
5666 o Minor bugfixes (controller protocol):
5667 - Fix a memory leak introduced by refactoring of control reply
5668 formatting code. Fixes bug 33039; bugfix on 0.4.3.1-alpha.
5669 - Fix a memory leak in GETINFO responses. Fixes bug 33103; bugfix
5671 - When receiving "ACTIVE" or "DORMANT" signals on the control port,
5672 report them as SIGNAL events. Previously we would log a bug
5673 warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
5675 o Minor bugfixes (logging):
5676 - If we encounter a bug when flushing a buffer to a TLS connection,
5677 only log the bug once per invocation of the Tor process.
5678 Previously we would log with every occurrence, which could cause
5679 us to run out of disk space. Fixes bug 33093; bugfix
5681 - When logging a bug, do not say "Future instances of this warning
5682 will be silenced" unless we are actually going to silence them.
5683 Previously we would say this whenever a BUG() check failed in the
5684 code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
5686 o Minor bugfixes (onion service v2):
5687 - Move a series of v2 onion service warnings to protocol-warning
5688 level because they can all be triggered remotely by a malformed
5689 request. Fixes bug 32706; bugfix on 0.1.1.14-alpha.
5691 o Minor bugfixes (onion service v3, client authorization):
5692 - When removing client authorization credentials using the control
5693 port, also remove the associated descriptor, so the onion service
5694 can no longer be contacted. Fixes bug 33148; bugfix
5697 o Minor bugfixes (pluggable transports):
5698 - When receiving a message on standard error from a pluggable
5699 transport, log it at info level, rather than as a warning. Fixes
5700 bug 33005; bugfix on 0.4.0.1-alpha.
5702 o Minor bugfixes (rust, build):
5703 - Fix a syntax warning given by newer versions of Rust that was
5704 creating problems for our continuous integration. Fixes bug 33212;
5705 bugfix on 0.3.5.1-alpha.
5707 o Minor bugfixes (TLS bug handling):
5708 - When encountering a bug in buf_read_from_tls(), return a "MISC"
5709 error code rather than "WANTWRITE". This change might help avoid
5710 some CPU-wasting loops if the bug is ever triggered. Bug reported
5711 by opara. Fixes bug 32673; bugfix on 0.3.0.4-alpha.
5713 o Code simplification and refactoring (mainloop):
5714 - Simplify the ip_address_changed() function by removing redundant
5715 checks. Closes ticket 33091.
5717 o Documentation (manpage):
5718 - Split "Circuit Timeout" options and "Node Selection" options into
5719 their own sections of the tor manpage. Closes tickets 32928 and
5720 32929. Work by Swati Thacker as part of Google Season of Docs.
5723 Changes in version 0.4.2.6 - 2020-01-30
5724 This is the second stable release in the 0.4.2.x series. It backports
5725 several bugfixes from 0.4.3.1-alpha, including some that had affected
5726 the Linux seccomp2 sandbox or Windows services. If you're running with
5727 one of those configurations, you'll probably want to upgrade;
5728 otherwise, you should be fine with 0.4.2.5.
5730 o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
5731 - Correct how we use libseccomp. Particularly, stop assuming that
5732 rules are applied in a particular order or that more rules are
5733 processed after the first match. Neither is the case! In
5734 libseccomp <2.4.0 this led to some rules having no effect.
5735 libseccomp 2.4.0 changed how rules are generated, leading to a
5736 different ordering, which in turn led to a fatal crash during
5737 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5739 - Fix crash when reloading logging configuration while the
5740 experimental sandbox is enabled. Fixes bug 32841; bugfix on
5741 0.4.1.7. Patch by Peter Gerber.
5743 o Minor bugfixes (correctness checks, backport from 0.4.3.1-alpha):
5744 - Use GCC/Clang's printf-checking feature to make sure that
5745 tor_assertf() arguments are correctly typed. Fixes bug 32765;
5746 bugfix on 0.4.1.1-alpha.
5748 o Minor bugfixes (logging, crash, backport from 0.4.3.1-alpha):
5749 - Avoid a possible crash when trying to log a (fatal) assertion
5750 failure about mismatched magic numbers in configuration objects.
5751 Fixes bug 32771; bugfix on 0.4.2.1-alpha.
5753 o Minor bugfixes (testing, backport from 0.4.3.1-alpha):
5754 - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
5755 test_practracker.sh script. Doing so caused a test failure. Fixes
5756 bug 32705; bugfix on 0.4.2.1-alpha.
5757 - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
5758 skipping practracker checks. Fixes bug 32705; bugfix
5761 o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
5762 - Initialize the publish/subscribe system when running as a windows
5763 service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
5765 o Testing (backport from 0.4.3.1-alpha):
5766 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
5767 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
5768 fix the sandbox errors in 32722. Closes ticket 32240.
5769 - Re-enable the Travis CI macOS Chutney build, but don't let it
5770 prevent the Travis job from finishing. (The Travis macOS jobs are
5771 slow, so we don't want to have it delay the whole CI process.)
5772 Closes ticket 32629.
5774 o Testing (continuous integration, backport from 0.4.3.1-alpha):
5775 - Use zstd in our Travis Linux builds. Closes ticket 32242.
5778 Changes in version 0.4.1.8 - 2020-01-30
5779 This release backports several bugfixes from later release series,
5780 including some that had affected the Linux seccomp2 sandbox or Windows
5781 services. If you're running with one of those configurations, you'll
5782 probably want to upgrade; otherwise, you should be fine with your
5783 current version of 0.4.1.x.
5785 o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
5786 - Correct how we use libseccomp. Particularly, stop assuming that
5787 rules are applied in a particular order or that more rules are
5788 processed after the first match. Neither is the case! In
5789 libseccomp <2.4.0 this led to some rules having no effect.
5790 libseccomp 2.4.0 changed how rules are generated, leading to a
5791 different ordering, which in turn led to a fatal crash during
5792 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5794 - Fix crash when reloading logging configuration while the
5795 experimental sandbox is enabled. Fixes bug 32841; bugfix on
5796 0.4.1.7. Patch by Peter Gerber.
5798 o Minor bugfixes (crash, backport form 0.4.2.4-rc):
5799 - When running Tor with an option like --verify-config or
5800 --dump-config that does not start the event loop, avoid crashing
5801 if we try to exit early because of an error. Fixes bug 32407;
5802 bugfix on 0.3.3.1-alpha.
5804 o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
5805 - Initialize the publish/subscribe system when running as a windows
5806 service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
5808 o Testing (backport from 0.4.3.1-alpha):
5809 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
5810 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
5811 fix the sandbox errors in 32722. Closes ticket 32240.
5812 - Re-enable the Travis CI macOS Chutney build, but don't let it
5813 prevent the Travis job from finishing. (The Travis macOS jobs are
5814 slow, so we don't want to have it delay the whole CI process.)
5815 Closes ticket 32629.
5817 o Testing (continuous integration, backport from 0.4.3.1-alpha):
5818 - Use zstd in our Travis Linux builds. Closes ticket 32242.
5821 Changes in version 0.4.3.1-alpha - 2020-01-22
5822 This is the first alpha release in the 0.4.3.x series. It includes
5823 improved support for application integration of onion services, support
5824 for building in a client-only mode, and newly improved internal
5825 documentation (online at https://src-ref.docs.torproject.org/tor/). It
5826 also has numerous other small bugfixes and features, as well as
5827 improvements to our code's internal organization that should help us
5828 write better code in the future.
5830 o New system requirements:
5831 - When building Tor, you now need to have Python 3 in order to run
5832 the integration tests. (Python 2 is officially unsupported
5833 upstream, as of 1 Jan 2020.) Closes ticket 32608.
5835 o Major features (build system):
5836 - The relay code can now be disabled using the --disable-module-relay
5837 configure option. When this option is set, we also disable the
5838 dirauth module. Closes ticket 32123.
5839 - When Tor is compiled --disable-module-relay, we also omit the code
5840 used to act as a directory cache. Closes ticket 32487.
5842 o Major features (directory authority, ed25519):
5843 - Add support for banning a relay's ed25519 keys in the approved-
5844 routers file. This will help us migrate away from RSA keys in the
5845 future. Previously, only RSA keys could be banned in approved-
5846 routers. Resolves ticket 22029. Patch by Neel Chauhan.
5848 o Major features (onion service, controller):
5849 - New control port commands to manage client-side onion service
5850 authorization credentials. The ONION_CLIENT_AUTH_ADD command adds
5851 a credential, ONION_CLIENT_AUTH_REMOVE deletes a credential, and
5852 ONION_CLIENT_AUTH_VIEW lists the credentials. Closes ticket 30381.
5854 o Major features (onion service, SOCKS5):
5855 - Introduce a new SocksPort flag, ExtendedErrors, to support more
5856 detailed error codes in information for applications that support
5857 them. Closes ticket 30382; implements proposal 304.
5859 o Major features (proxy):
5860 - In addition to its current supported proxy types (HTTP CONNECT,
5861 SOCKS4, and SOCKS5), Tor can now make its OR connections through a
5862 HAProxy server. A new torrc option was added to specify the
5863 address/port of the server: TCPProxy <protocol> <host>:<port>.
5864 Currently the only supported protocol for the option is haproxy.
5865 Closes ticket 31518. Patch done by Suphanat Chunhapanya (haxxpop).
5867 o Major bugfixes (linux seccomp sandbox):
5868 - Correct how we use libseccomp. Particularly, stop assuming that
5869 rules are applied in a particular order or that more rules are
5870 processed after the first match. Neither is the case! In
5871 libseccomp <2.4.0 this led to some rules having no effect.
5872 libseccomp 2.4.0 changed how rules are generated, leading to a
5873 different ordering, which in turn led to a fatal crash during
5874 startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
5876 - Fix crash when reloading logging configuration while the
5877 experimental sandbox is enabled. Fixes bug 32841; bugfix on
5878 0.4.1.7. Patch by Peter Gerber.
5880 o Major bugfixes (networking):
5881 - Correctly handle IPv6 addresses in SOCKS5 RESOLVE_PTR requests,
5882 and accept strings as well as binary addresses. Fixes bug 32315;
5883 bugfix on 0.3.5.1-alpha.
5885 o Major bugfixes (onion service):
5886 - Report HS circuit failure back into the HS subsystem so we take
5887 appropriate action with regards to the client introduction point
5888 failure cache. This improves reachability of onion services, since
5889 now clients notice failing introduction circuits properly. Fixes
5890 bug 32020; bugfix on 0.3.2.1-alpha.
5892 o Minor feature (configure, build system):
5893 - Output a list of enabled/disabled features at the end of the
5894 configure process in a pleasing way. Closes ticket 31373.
5896 o Minor feature (heartbeat, onion service):
5897 - Add the DoS INTRODUCE2 defenses counter to the heartbeat DoS
5898 message. Closes ticket 31371.
5900 o Minor features (configuration validation):
5901 - Configuration validation can now be done by per-module callbacks,
5902 rather than a global validation function. This will let us reduce
5903 the size of config.c and some of its more cumbersome functions.
5904 Closes ticket 31241.
5906 o Minor features (configuration):
5907 - If a configured hardware crypto accelerator in AccelName is
5908 prefixed with "!", Tor now exits when it cannot be found. Closes
5910 - We now use flag-driven logic to warn about obsolete configuration
5911 fields, so that we can include their names. In 0.4.2, we used a
5912 special type, which prevented us from generating good warnings.
5913 Implements ticket 32404.
5915 o Minor features (controller):
5916 - Add stream isolation data to STREAM event. Closes ticket 19859.
5917 - Implement a new GETINFO command to fetch microdescriptor
5918 consensus. Closes ticket 31684.
5920 o Minor features (debugging, directory system):
5921 - Don't crash when we find a non-guard with a guard-fraction value
5922 set. Instead, log a bug warning, in an attempt to figure out how
5923 this happened. Diagnostic for ticket 32868.
5925 o Minor features (defense in depth):
5926 - Add additional checks around tor_vasprintf() usage, in case the
5927 function returns an error. Patch by Tobias Stoeckmann. Fixes
5930 o Minor features (developer tooling):
5931 - Remove the 0.2.9.x series branches from git scripts (git-merge-
5932 forward.sh, git-pull-all.sh, git-push-all.sh, git-setup-dirs.sh).
5933 Closes ticket 32772.
5935 o Minor features (developer tools):
5936 - Add a check_cocci_parse.sh script that checks that new code is
5937 parseable by Coccinelle. Add an exceptions file for unparseable
5938 files, and run the script from travis CI. Closes ticket 31919.
5939 - Call the check_cocci_parse.sh script from a 'check-cocci' Makefile
5940 target. Closes ticket 31919.
5941 - Add a rename_c_identifiers.py tool to rename a bunch of C
5942 identifiers at once, and generate a well-formed commit message
5943 describing the change. This should help with refactoring. Closes
5945 - Add some scripts in "scripts/coccinelle" to invoke the Coccinelle
5946 semantic patching tool with the correct flags. These flags are
5947 fairly easy to forget, and these scripts should help us use
5948 Coccinelle more effectively in the future. Closes ticket 31705.
5950 o Minor features (Doxygen):
5951 - Update Doxygen configuration file to a more recent template (from
5952 1.8.15). Closes ticket 32110.
5953 - "make doxygen" now works with out-of-tree builds. Closes
5955 - Make sure that doxygen outputs documentation for all of our C
5956 files. Previously, some were missing @file declarations, causing
5957 them to be ignored. Closes ticket 32307.
5958 - Our "make doxygen" target now respects --enable-fatal-warnings by
5959 default, and does not warn about items that are missing
5960 documentation. To warn about missing documentation, run configure
5961 with the "--enable-missing-doc-warnings" flag: doing so suspends
5962 fatal warnings for doxygen. Closes ticket 32385.
5964 o Minor features (git scripts):
5965 - Add TOR_EXTRA_CLONE_ARGS to git-setup-dirs.sh for git clone
5966 customisation. Closes ticket 32347.
5967 - Add git-setup-dirs.sh, which sets up an upstream git repository
5968 and worktrees for tor maintainers. Closes ticket 29603.
5969 - Add TOR_EXTRA_REMOTE_* to git-setup-dirs.sh for a custom extra
5970 remote. Closes ticket 32347.
5971 - Call the check_cocci_parse.sh script from the git commit and push
5972 hooks. Closes ticket 31919.
5973 - Make git-push-all.sh skip unchanged branches when pushing to
5974 upstream. The script already skipped unchanged test branches.
5975 Closes ticket 32216.
5976 - Make git-setup-dirs.sh create a master symlink in the worktree
5977 directory. Closes ticket 32347.
5978 - Skip unmodified source files when doing some existing git hook
5979 checks. Related to ticket 31919.
5981 o Minor features (IPv6, client):
5982 - Make Tor clients tell dual-stack exits that they prefer IPv6
5983 connections. This change is equivalent to setting the PreferIPv6
5984 flag on SOCKSPorts (and most other listener ports). Tor Browser
5985 has been setting this flag for some time, and we want to remove a
5986 client distinguisher at exits. Closes ticket 32637.
5988 o Minor features (portability, android):
5989 - When building for Android, disable some tests that depend on $HOME
5990 and/or pwdb, which Android doesn't have. Closes ticket 32825.
5991 Patch from Hans-Christoph Steiner.
5993 o Minor features (relay modularity):
5994 - Split the relay and server pluggable transport config code into
5995 separate files in the relay module. Disable this code when the
5996 relay module is disabled. Closes part of ticket 32213.
5997 - When the relay module is disabled, reject attempts to set the
5998 ORPort, DirPort, DirCache, BridgeRelay, ExtORPort, or
5999 ServerTransport* options, rather than ignoring the values of these
6000 options. Closes part of ticket 32213.
6002 o Minor features (relay):
6003 - When the relay module is disabled, change the default config so
6004 that DirCache is 0, and ClientOnly is 1. Closes ticket 32410.
6006 o Minor features (release tools):
6007 - Port our ChangeLog formatting and sorting tools to Python 3.
6008 Closes ticket 32704.
6010 o Minor features (testing):
6011 - Detect some common failure cases for test_parseconf.sh in
6012 src/test/conf_failures. Closes ticket 32451.
6013 - Allow test_parseconf.sh to test expected log outputs for successful
6014 configs, as well as failed configs. Closes ticket 32451.
6015 - The test_parseconf.sh script now supports result variants for any
6016 combination of the optional libraries lzma, nss, and zstd. Closes
6019 o Minor features (tests, Android):
6020 - When running the unit tests on Android, create temporary files in
6021 a subdirectory of /data/local/tmp. Closes ticket 32172. Based on a
6022 patch from Hans-Christoph Steiner.
6024 o Minor bugfixes (bridges):
6025 - Lowercase the configured value of BridgeDistribution before adding
6026 it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
6028 o Minor bugfixes (build system):
6029 - Fix "make autostyle" for out-of-tree builds. Fixes bug 32370;
6030 bugfix on 0.4.1.2-alpha.
6032 o Minor bugfixes (configuration handling):
6033 - Make control_event_conf_changed() take in a config_line_t instead
6034 of a smartlist of alternating key/value entries. Fixes bug 31531;
6035 bugfix on 0.2.3.3-alpha. Patch by Neel Chauhan.
6037 o Minor bugfixes (configuration):
6038 - Check for multiplication overflow when parsing memory units inside
6039 configuration. Fixes bug 30920; bugfix on 0.0.9rc1.
6040 - When dumping the configuration, stop adding a trailing space after
6041 the option name when there is no option value. This issue only
6042 affects options that accept an empty value or list. (Most options
6043 reject empty values, or delete the entire line from the dumped
6044 options.) Fixes bug 32352; bugfix on 0.0.9pre6.
6045 - Avoid changing the user's value of HardwareAccel as stored by
6046 SAVECONF, when AccelName is set but HardwareAccel is not. Fixes
6047 bug 32382; bugfix on 0.2.2.1-alpha.
6048 - When creating a KeyDirectory with the same location as the
6049 DataDirectory (not recommended), respect the DataDirectory's
6050 group-readable setting if one has not been set for the
6051 KeyDirectory. Fixes bug 27992; bugfix on 0.3.3.1-alpha.
6053 o Minor bugfixes (controller):
6054 - In routerstatus_has_changed(), check all the fields that are
6055 output over the control port. Fixes bug 20218; bugfix
6058 o Minor bugfixes (correctness checks):
6059 - Use GCC/Clang's printf-checking feature to make sure that
6060 tor_assertf() arguments are correctly typed. Fixes bug 32765;
6061 bugfix on 0.4.1.1-alpha.
6063 o Minor bugfixes (developer tools):
6064 - Allow paths starting with ./ in scripts/add_c_file.py. Fixes bug
6065 31336; bugfix on 0.4.1.2-alpha.
6067 o Minor bugfixes (dirauth module):
6068 - Split the dirauth config code into a separate file in the dirauth
6069 module. Disable this code when the dirauth module is disabled.
6070 Closes ticket 32213.
6071 - When the dirauth module is disabled, reject attempts to set the
6072 AuthoritativeDir option, rather than ignoring the value of the
6073 option. Fixes bug 32213; bugfix on 0.3.4.1-alpha.
6075 o Minor bugfixes (embedded Tor):
6076 - When starting Tor any time after the first time in a process,
6077 register the thread in which it is running as the main thread.
6078 Previously, we only did this on Windows, which could lead to bugs
6079 like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
6082 o Minor bugfixes (git scripts):
6083 - Avoid sleeping before the last push in git-push-all.sh. Closes
6085 - Forward all unrecognised arguments in git-push-all.sh to git push.
6086 Closes ticket 32216.
6088 o Minor bugfixes (hidden service v3):
6089 - Do not rely on a "circuit established" flag for intro circuits but
6090 instead always query the HS circuit map. This is to avoid sync
6091 issue with that flag and the map. Fixes bug 32094; bugfix
6094 o Minor bugfixes (logging, crash):
6095 - Avoid a possible crash when trying to log a (fatal) assertion
6096 failure about mismatched magic numbers in configuration objects.
6097 Fixes bug 32771; bugfix on 0.4.2.1-alpha.
6099 o Minor bugfixes (onion service v2):
6100 - When sending the INTRO cell for a v2 Onion Service, look at the
6101 failure cache alongside timeout values to check if the intro point
6102 is marked as failed. Previously, we only looked at the relay
6103 timeout values. Fixes bug 25568; bugfix on 0.2.7.3-rc. Patch by
6106 o Minor bugfixes (onion services v3, client):
6107 - Properly handle the client rendezvous circuit timeout. Previously
6108 Tor would sometimes timeout a rendezvous circuit awaiting the
6109 introduction ACK, and find itself unable to re-establish all
6110 circuits because the rendezvous circuit timed out too early. Fixes
6111 bug 32021; bugfix on 0.3.2.1-alpha.
6113 o Minor bugfixes (onion services):
6114 - In cancel_descriptor_fetches(), use
6115 connection_list_by_type_purpose() instead of
6116 connection_list_by_type_state(). Fixes bug 32639; bugfix on
6117 0.3.2.1-alpha. Patch by Neel Chauhan.
6119 o Minor bugfixes (scripts):
6120 - Fix update_versions.py for out-of-tree builds. Fixes bug 32371;
6121 bugfix on 0.4.0.1-alpha.
6123 o Minor bugfixes (test):
6124 - Use the same code to find the tor binary in all of our test
6125 scripts. This change makes sure we are always using the coverage
6126 binary when coverage is enabled. Fixes bug 32368; bugfix
6129 o Minor bugfixes (testing):
6130 - Stop ignoring "tor --dump-config" errors in test_parseconf.sh.
6131 Fixes bug 32468; bugfix on 0.4.2.1-alpha.
6132 - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
6133 test_practracker.sh script. Doing so caused a test failure. Fixes
6134 bug 32705; bugfix on 0.4.2.1-alpha.
6135 - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
6136 skipping practracker checks. Fixes bug 32705; bugfix
6139 o Minor bugfixes (tests):
6140 - Our option-validation tests no longer depend on specially
6141 configured non-default, non-passing sets of options. Previously,
6142 the tests had been written to assume that options would _not_ be
6143 set to their defaults, which led to needless complexity and
6144 verbosity. Fixes bug 32175; bugfix on 0.2.8.1-alpha.
6146 o Minor bugfixes (windows service):
6147 - Initialize the publish/subscribe system when running as a windows
6148 service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
6150 o Deprecated features:
6151 - Deprecate the ClientAutoIPv6ORPort option. This option was not
6152 true "Happy Eyeballs", and often failed on connections that
6153 weren't reliably dual-stack. Closes ticket 32942. Patch by
6157 - Provide a quickstart guide for a Circuit Padding Framework, and
6158 documentation for researchers to implement and study circuit
6159 padding machines. Closes ticket 28804.
6160 - Add documentation in 'HelpfulTools.md' to describe how to build a
6161 tag file. Closes ticket 32779.
6162 - Create a high-level description of the long-term software
6163 architecture goals. Closes ticket 32206.
6164 - Describe the --dump-config command in the manual page. Closes
6166 - Unite coding advice from this_not_that.md in torguts repo into our
6167 coding standards document. Resolves ticket 31853.
6170 - Our Doxygen configuration no longer generates LaTeX output. The
6171 reference manual produced by doing this was over 4000 pages long,
6172 and generally unusable. Closes ticket 32099.
6173 - The option "TestingEstimatedDescriptorPropagationTime" is now
6174 marked as obsolete. It has had no effect since 0.3.0.7, when
6175 clients stopped rejecting consensuses "from the future". Closes
6177 - We no longer support consensus methods before method 28; these
6178 methods were only used by authorities running versions of Tor that
6179 are now at end-of-life. In effect, this means that clients,
6180 relays, and authorities now assume that authorities will be
6181 running version 0.3.5.x or later. Closes ticket 32695.
6184 - Add more test cases for tor's UTF-8 validation function. Also,
6185 check the arguments passed to the function for consistency. Closes
6187 - Improve test coverage for relay and dirauth config code, focusing
6188 on option validation and normalization. Closes ticket 32213.
6189 - Improve the consistency of test_parseconf.sh output, and run all
6190 the tests, even if one fails. Closes ticket 32213.
6191 - Re-enable the Travis CI macOS Chutney build, but don't let it
6192 prevent the Travis job from finishing. (The Travis macOS jobs are
6193 slow, so we don't want to have it delay the whole CI process.)
6194 Closes ticket 32629.
6195 - Run the practracker unit tests in the pre-commit git hook. Closes
6197 - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
6198 Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
6199 fix the sandbox errors in 32722. Closes ticket 32240.
6201 o Code simplification and refactoring (channel):
6202 - Channel layer had a variable length cell handler that was not used
6203 and thus removed. Closes ticket 32892.
6205 o Code simplification and refactoring (configuration):
6206 - Immutability is now implemented as a flag on individual
6207 configuration options rather than as part of the option-transition
6208 checking code. Closes ticket 32344.
6209 - Instead of keeping a list of configuration options to check for
6210 relative paths, check all the options whose type is "FILENAME".
6211 Solves part of ticket 32339.
6212 - Our default log (which ordinarily sends NOTICE-level messages to
6213 standard output) is now handled in a more logical manner.
6214 Previously, we replaced the configured log options if they were
6215 empty. Now, we interpret an empty set of log options as meaning
6216 "use the default log". Closes ticket 31999.
6217 - Remove some unused arguments from the options_validate() function,
6218 to simplify our code and tests. Closes ticket 32187.
6219 - Simplify the options_validate() code so that it looks at the
6220 default options directly, rather than taking default options as an
6221 argument. This change lets us simplify its interface. Closes
6223 - Use our new configuration architecture to move most authority-
6224 related options to the directory authority module. Closes
6226 - When parsing the command line, handle options that determine our
6227 "quiet level" and our mode of operation (e.g., --dump-config and
6228 so on) all in one table. Closes ticket 32003.
6230 o Code simplification and refactoring (controller):
6231 - Create a new abstraction for formatting control protocol reply
6232 lines based on key-value pairs. Refactor some existing control
6233 protocol code to take advantage of this. Closes ticket 30984.
6234 - Create a helper function that can fetch network status or
6235 microdesc consensuses. Closes ticket 31684.
6237 o Code simplification and refactoring (dirauth modularization):
6238 - Remove the last remaining HAVE_MODULE_DIRAUTH inside a function.
6239 Closes ticket 32163.
6240 - Replace some confusing identifiers in process_descs.c. Closes
6242 - Simplify some relay and dirauth config code. Closes ticket 32213.
6244 o Code simplification and refactoring (misc):
6245 - Make all the structs we declare follow the same naming convention
6246 of ending with "_t". Closes ticket 32415.
6247 - Move and rename some configuration-related code for clarity.
6248 Closes ticket 32304.
6249 - Our include.am files are now broken up by subdirectory.
6250 Previously, src/core/include.am covered all of the subdirectories
6251 in "core", "feature", and "app". Closes ticket 32137.
6252 - Remove underused NS*() macros from test code: they make our tests
6253 more confusing, especially for code-formatting tools. Closes
6256 o Code simplification and refactoring (relay modularization):
6257 - Disable relay_periodic when the relay module is disabled. Closes
6259 - Disable relay_sys when the relay module is disabled. Closes
6262 o Code simplification and refactoring (tool support):
6263 - Add numerous missing dependencies to our include files, so that
6264 they can be included in different reasonable orders and still
6265 compile. Addresses part of ticket 32764.
6266 - Fix some parts of our code that were difficult for Coccinelle to
6267 parse. Related to ticket 31705.
6268 - Fix some small issues in our code that prevented automatic
6269 formatting tools from working. Addresses part of ticket 32764.
6271 o Documentation (manpage):
6272 - Alphabetize the Client Options section of the tor manpage. Closes
6274 - Alphabetize the General Options section of the tor manpage. Closes
6276 - In the tor(1) manpage, reword and improve formatting of the
6277 COMMAND-LINE OPTIONS and DESCRIPTION sections. Closes ticket
6278 32277. Based on work by Swati Thacker as part of Google Season
6280 - In the tor(1) manpage, reword and improve formatting of the FILES,
6281 SEE ALSO, and BUGS sections. Closes ticket 32176. Based on work by
6282 Swati Thacker as part of Google Season of Docs.
6284 o Testing (circuit, EWMA):
6285 - Add unit tests for circuitmux and EWMA subsystems. Closes
6288 o Testing (continuous integration):
6289 - Use zstd in our Travis Linux builds. Closes ticket 32242.
6292 Changes in version 0.4.2.5 - 2019-12-09
6293 This is the first stable release in the 0.4.2.x series. This series
6294 improves reliability and stability, and includes several stability and
6295 correctness improvements for onion services. It also fixes many smaller
6296 bugs present in previous series.
6298 Per our support policy, we will support the 0.4.2.x series for nine
6299 months, or until three months after the release of a stable 0.4.3.x:
6300 whichever is longer. If you need longer-term support, please stick
6301 with 0.3.5.x, which will we plan to support until Feb 2022.
6303 Per our support policy, we will support the 0.4.2.x series for nine
6304 months, or until three months after the release of a stable 0.4.3.x:
6305 whichever is longer. If you need longer-term support, please stick
6306 with 0.3.5.x, which will we plan to support until Feb 2022.
6308 Below are the changes since 0.4.1.4-rc. For a complete list of changes
6309 since 0.4.1.5, see the ReleaseNotes file.
6311 o Minor features (geoip):
6312 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6313 Country database. Closes ticket 32685.
6316 - Require C99 standards-conforming code in Travis CI, but allow GNU
6317 gcc extensions. Also activates clang's -Wtypedef-redefinition
6318 warnings. Build some jobs with -std=gnu99, and some jobs without.
6319 Closes ticket 32500.
6322 Changes in version 0.4.1.7 - 2019-12-09
6323 This release backports several bugfixes to improve stability and
6324 correctness. Anyone experiencing build problems or crashes with 0.4.1.6,
6325 including all relays relying on AccountingMax, should upgrade.
6327 o Major features (directory authorities, backport from 0.4.2.2-alpha):
6328 - Directory authorities now reject relays running all currently
6329 deprecated release series. The currently supported release series
6330 are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
6332 o Major bugfixes (embedded Tor, backport from 0.4.2.2-alpha):
6333 - Avoid a possible crash when restarting Tor in embedded mode and
6334 enabling a different set of publish/subscribe messages. Fixes bug
6335 31898; bugfix on 0.4.1.1-alpha.
6337 o Major bugfixes (relay, backport from 0.4.2.3-alpha):
6338 - Relays now respect their AccountingMax bandwidth again. When
6339 relays entered "soft" hibernation (which typically starts when
6340 we've hit 90% of our AccountingMax), we had stopped checking
6341 whether we should enter hard hibernation. Soft hibernation refuses
6342 new connections and new circuits, but the existing circuits can
6343 continue, meaning that relays could have exceeded their configured
6344 AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
6346 o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
6347 - Stop ignoring torrc options after an %include directive, when the
6348 included directory ends with a file that does not contain any
6349 config options (but does contain comments or whitespace). Fixes
6350 bug 31408; bugfix on 0.3.1.1-alpha.
6352 o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
6353 - Onion services now always use the exact number of intro points
6354 configured with the HiddenServiceNumIntroductionPoints option (or
6355 fewer if nodes are excluded). Before, a service could sometimes
6356 pick more intro points than configured. Fixes bug 31548; bugfix
6359 o Minor features (continuous integration, backport from 0.4.2.2-alpha):
6360 - When building on Appveyor and Travis, pass the "-k" flag to make,
6361 so that we are informed of all compilation failures, not just the
6362 first one or two. Closes ticket 31372.
6364 o Minor features (geoip, backport from 0.4.2.5):
6365 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6366 Country database. Closes ticket 32685.
6368 o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
6369 - Avoid spurious errors when Appveyor CI fails before the install step.
6370 Fixes bug 31884; bugfix on 0.3.4.2-alpha.
6372 o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
6373 - Fix a BUG() assertion that occurs within a very small race window
6374 between when a client intro circuit opens and when its descriptor
6375 gets cleaned up from the cache. The circuit is now closed early,
6376 which will trigger a re-fetch of the descriptor and continue the
6377 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
6379 o Minor bugfixes (connections, backport from 0.4.2.3-rc):
6380 - Avoid trying to read data from closed connections, which can cause
6381 needless loops in Libevent and infinite loops in Shadow. Fixes bug
6382 30344; bugfix on 0.1.1.1-alpha.
6384 o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
6385 - On abort, try harder to flush the output buffers of log messages.
6386 On some platforms (macOS), log messages could be discarded when
6387 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6388 - Report the tor version whenever an assertion fails. Previously, we
6389 only reported the Tor version on some crashes, and some non-fatal
6390 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6391 - When tor aborts due to an error, close log file descriptors before
6392 aborting. Closing the logs makes some OSes flush log file buffers,
6393 rather than deleting buffered log lines. Fixes bug 31594; bugfix
6396 o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
6397 - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
6398 uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
6399 - Disable backtrace signal handlers when shutting down tor. Fixes
6400 bug 31614; bugfix on 0.2.5.2-alpha.
6401 - Rate-limit the logging message about the obsolete .exit
6402 notation. Previously, there was no limit on this warning, which
6403 could potentially be triggered many times by a hostile website.
6404 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
6406 o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
6407 - Do not log a nonfatal assertion failure when receiving a VERSIONS
6408 cell on a connection using the obsolete v1 link protocol. Log a
6409 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
6411 o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
6412 - Reset the periodic events' "enabled" flag when Tor is shut down
6413 cleanly. Previously, this flag was left on, which caused periodic
6414 events not to be re-enabled when Tor was relaunched in-process
6415 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
6418 o Minor bugfixes (multithreading, backport from 0.4.2.2-alpha):
6419 - Avoid some undefined behaviour when freeing mutexes. Fixes bug
6420 31736; bugfix on 0.0.7.
6422 o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
6423 - Remove overly strict assertions that triggered when a pluggable
6424 transport failed to launch. Fixes bug 31091; bugfix
6426 - Remove an assertion in the Unix process backend. This assertion
6427 would trigger when we failed to find the executable for a child
6428 process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
6430 o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
6431 - Avoid crashing when starting with a corrupt keys directory where
6432 the old ntor key and the new ntor key are identical. Fixes bug
6433 30916; bugfix on 0.2.4.8-alpha.
6435 o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
6436 - When testing port rebinding, don't busy-wait for tor to log.
6437 Instead, actually sleep for a short time before polling again.
6438 Also improve the formatting of control commands and log messages.
6439 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
6441 o Minor bugfixes (tests, SunOS, backport from 0.4.2.2-alpha):
6442 - Avoid a map_anon_nofork test failure due to a signed/unsigned
6443 integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
6445 o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
6446 - Log bugs about the TLS read buffer's length only once, rather than
6447 filling the logs with similar warnings. Fixes bug 31939; bugfix
6450 o Documentation (backport from 0.4.2.2-alpha):
6451 - Explain why we can't destroy the backtrace buffer mutex. Explain
6452 why we don't need to destroy the log mutex. Closes ticket 31736.
6454 o Testing (continuous integration, backport from 0.4.2.3-alpha):
6455 - Disable all but one Travis CI macOS build, to mitigate slow
6456 scheduling of Travis macOS jobs. Closes ticket 32177.
6457 - Run the chutney IPv6 networks as part of Travis CI. Closes
6459 - Simplify the Travis CI build matrix, and optimise for build time.
6460 Closes ticket 31859.
6461 - Use Windows Server 2019 instead of Windows Server 2016 in our
6462 Appveyor builds. Closes ticket 32086.
6464 o Testing (continuous integration, backport from 0.4.2.4-rc):
6465 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
6466 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
6467 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
6468 until we can fix some Bionic permissions issues (see ticket
6469 32240). Related to ticket 31919.
6470 - Install the mingw OpenSSL package in Appveyor. This makes sure
6471 that the OpenSSL headers and libraries match in Tor's Appveyor
6472 builds. (This bug was triggered by an Appveyor image update.)
6473 Fixes bug 32449; bugfix on 0.3.5.6-rc.
6475 o Testing (continuous integration, backport from 0.4.2.5):
6476 - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
6477 extensions. Also activates clang's -Wtypedef-redefinition warnings.
6478 Build some jobs with -std=gnu99, and some jobs without.
6479 Closes ticket 32500.
6482 Changes in version 0.4.0.6 - 2019-12-09
6483 This is the second stable release in the 0.4.0.x series. This release
6484 backports several bugfixes to improve stability and correctness. Anyone
6485 experiencing build problems or crashes with 0.4.0.5, including all relays
6486 relying on AccountingMax, should upgrade.
6488 Note that, per our support policy, support for the 0.4.0.x series will end
6489 on 2 Feb 2020. Anyone still running 0.4.0.x should plan to upgrade to the
6490 latest stable release, or downgrade to 0.3.5.x, which will get long-term
6491 support until 1 Feb 2022.
6493 o Directory authority changes (backport from 0.4.1.5):
6494 - The directory authority "dizum" has a new IP address. Closes
6497 o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
6498 - Consider our directory information to have changed when our list
6499 of bridges changes. Previously, Tor would not re-compute the
6500 status of its directory information when bridges changed, and
6501 therefore would not realize that it was no longer able to build
6502 circuits. Fixes part of bug 29875.
6503 - Do not count previously configured working bridges towards our
6504 total of working bridges. Previously, when Tor's list of bridges
6505 changed, it would think that the old bridges were still usable,
6506 and delay fetching router descriptors for the new ones. Fixes part
6507 of bug 29875; bugfix on 0.3.0.1-alpha.
6509 o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
6510 - When considering upgrading circuits from "waiting for guard" to
6511 "open", always ignore circuits that are marked for close. Otherwise,
6512 we can end up in the situation where a subsystem is notified that
6513 a closing circuit has just opened, leading to undesirable
6514 behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
6516 o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
6517 - Properly clean up the introduction point map when circuits change
6518 purpose from onion service circuits to pathbias, measurement, or
6519 other circuit types. This should fix some service-side instances
6520 of introduction point failure. Fixes bug 29034; bugfix
6523 o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
6524 - Fix an unreachable bug in which an introduction point could try to
6525 send an INTRODUCE_ACK with a status code that Trunnel would refuse
6526 to encode, leading the relay to assert(). We've consolidated the
6527 ABI values into Trunnel now. Fixes bug 30454; bugfix
6529 - Clients can now handle unknown status codes from INTRODUCE_ACK
6530 cells. (The NACK behavior will stay the same.) This will allow us
6531 to extend status codes in the future without breaking the normal
6532 client behavior. Fixes another part of bug 30454; bugfix
6535 o Major bugfixes (relay, backport from 0.4.2.3-alpha):
6536 - Relays now respect their AccountingMax bandwidth again. When
6537 relays entered "soft" hibernation (which typically starts when
6538 we've hit 90% of our AccountingMax), we had stopped checking
6539 whether we should enter hard hibernation. Soft hibernation refuses
6540 new connections and new circuits, but the existing circuits can
6541 continue, meaning that relays could have exceeded their configured
6542 AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
6544 o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
6545 - Stop ignoring torrc options after an %include directive, when the
6546 included directory ends with a file that does not contain any
6547 config options (but does contain comments or whitespace). Fixes
6548 bug 31408; bugfix on 0.3.1.1-alpha.
6550 o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
6551 - Onion services now always use the exact number of intro points
6552 configured with the HiddenServiceNumIntroductionPoints option (or
6553 fewer if nodes are excluded). Before, a service could sometimes
6554 pick more intro points than configured. Fixes bug 31548; bugfix
6557 o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
6558 - Add a "--list-modules" command to print a list of which compile-
6559 time modules are enabled. Closes ticket 30452.
6561 o Minor features (continuous integration, backport from 0.4.1.1-alpha):
6562 - Remove sudo configuration lines from .travis.yml as they are no
6563 longer needed with current Travis build environment. Resolves
6566 o Minor features (continuous integration, backport from 0.4.1.4-rc):
6567 - Our Travis configuration now uses Chutney to run some network
6568 integration tests automatically. Closes ticket 29280.
6570 o Minor features (continuous integration, backport from 0.4.2.2-alpha):
6571 - When building on Appveyor and Travis, pass the "-k" flag to make,
6572 so that we are informed of all compilation failures, not just the
6573 first one or two. Closes ticket 31372.
6575 o Minor features (fallback directory list, backport from 0.4.1.4-rc):
6576 - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
6577 in December 2018 (of which ~122 were still functional), with a
6578 list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
6579 in June 2019. Closes ticket 28795.
6581 o Minor features (geoip, backport from 0.4.2.5):
6582 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6583 Country database. Closes ticket 32685.
6585 o Minor features (stem tests, backport from 0.4.2.1-alpha):
6586 - Change "make test-stem" so it only runs the stem tests that use
6587 tor. This change makes test-stem faster and more reliable. Closes
6590 o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
6591 - Avoid spurious errors when Appveyor CI fails before the install step.
6592 Fixes bug 31884; bugfix on 0.3.4.2-alpha.
6594 o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
6595 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
6596 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
6598 o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
6599 - Fix a logic error that prevented the SessionGroup sub-option from
6600 being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
6602 o Minor bugfixes (circuit padding, backport from 0.4.1.4-rc):
6603 - On relays, properly check that a padding machine is absent before
6604 logging a warning about it being absent. Fixes bug 30649; bugfix
6607 o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
6608 - Fix a BUG() assertion that occurs within a very small race window
6609 between when a client intro circuit opens and when its descriptor
6610 gets cleaned up from the cache. The circuit is now closed early,
6611 which will trigger a re-fetch of the descriptor and continue the
6612 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
6614 o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
6615 - Don't believe clock skew results from NETINFO cells that appear to
6616 arrive before we sent the VERSIONS cells they are responding to.
6617 Previously, we would accept them up to 3 minutes "in the past".
6618 Fixes bug 31343; bugfix on 0.2.4.4-alpha.
6620 o Minor bugfixes (compilation warning, backport from 0.4.1.5):
6621 - Fix a compilation warning on Windows about casting a function
6622 pointer for GetTickCount64(). Fixes bug 31374; bugfix
6625 o Minor bugfixes (compilation, backport from 0.4.1.5):
6626 - Avoid using labs() on time_t, which can cause compilation warnings
6627 on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
6629 o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
6630 - Suppress spurious float-conversion warnings from GCC when calling
6631 floating-point classifier functions on FreeBSD. Fixes part of bug
6632 31687; bugfix on 0.3.1.5-alpha.
6634 o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
6635 - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
6636 due to missing declarations of abort(), and prevent other such
6637 failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
6639 o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
6640 - Fix a bug that prevented us from supporting SOCKS5 proxies that
6641 want authentication along with configured (but unused!)
6642 ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
6644 o Minor bugfixes (connections, backport from 0.4.2.3-rc):
6645 - Avoid trying to read data from closed connections, which can cause
6646 needless loops in Libevent and infinite loops in Shadow. Fixes bug
6647 30344; bugfix on 0.1.1.1-alpha.
6649 o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
6650 - Allow the test-stem job to fail in Travis, because it sometimes
6651 hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
6652 - Skip test_rebind on macOS in Travis, because it is unreliable on
6653 macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
6654 - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
6655 variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
6657 o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
6658 - Avoid a set of possible code paths that could try to use freed
6659 memory in routerlist_free() while Tor was exiting. Fixes bug
6660 31003; bugfix on 0.1.2.2-alpha.
6662 o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
6663 - Stop crashing after parsing an unknown descriptor purpose
6664 annotation. We think this bug can only be triggered by modifying a
6665 local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
6667 o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
6668 - Move the "bandwidth-file-headers" line in directory authority
6669 votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
6672 o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
6673 - On abort, try harder to flush the output buffers of log messages.
6674 On some platforms (macOS), log messages could be discarded when
6675 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6676 - Report the tor version whenever an assertion fails. Previously, we
6677 only reported the Tor version on some crashes, and some non-fatal
6678 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
6680 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
6681 - When extracting an IPv6 address from a PF-based proxy, verify that
6682 we are actually configured to receive an IPv6 address, and log an
6683 internal error if not. Fixes part of bug 31687; bugfix
6686 o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
6687 - When tor is missing descriptors for some primary entry guards,
6688 make the log message less alarming. It's normal for descriptors to
6689 expire, as long as tor fetches new ones soon after. Fixes bug
6690 31657; bugfix on 0.3.3.1-alpha.
6692 o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
6693 - Do not log a warning when running with an OpenSSL version other
6694 than the one Tor was compiled with, if the two versions should be
6695 compatible. Previously, we would warn whenever the version was
6696 different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
6698 o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
6699 - Change log level of message "Hash of session info was not as
6700 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
6703 o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
6704 - Rate-limit the logging message about the obsolete .exit
6705 notation. Previously, there was no limit on this warning, which
6706 could potentially be triggered many times by a hostile website.
6707 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
6709 o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
6710 - Do not log a nonfatal assertion failure when receiving a VERSIONS
6711 cell on a connection using the obsolete v1 link protocol. Log a
6712 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
6714 o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
6715 - Reset the periodic events' "enabled" flag when Tor is shut down
6716 cleanly. Previously, this flag was left on, which caused periodic
6717 events not to be re-enabled when Tor was relaunched in-process
6718 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
6721 o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
6722 - Avoid a minor memory leak that could occur on relays when failing
6723 to create a "keys" directory. Fixes bug 30148; bugfix
6726 o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
6727 - Fix a trivial memory leak when parsing an invalid value
6728 from a download schedule in the configuration. Fixes bug
6729 30894; bugfix on 0.3.4.1-alpha.
6731 o Minor bugfixes (NetBSD, backport from 0.4.1.2-alpha):
6732 - Fix usage of minherit() on NetBSD and other platforms that define
6733 MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
6734 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
6736 o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
6737 - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
6738 implementation) when failing to load an onion service client
6739 authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
6741 o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
6742 - When purging the DNS cache because of an out-of-memory condition,
6743 try purging just the older entries at first. Previously, we would
6744 always purge the whole thing. Fixes bug 29617; bugfix
6747 o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
6748 - Avoid crashing in our tor_vasprintf() implementation on systems
6749 that define neither vasprintf() nor _vscprintf(). (This bug has
6750 been here long enough that we question whether people are running
6751 Tor on such systems, but we're applying the fix out of caution.)
6752 Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
6755 o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
6756 - Remove overly strict assertions that triggered when a pluggable
6757 transport failed to launch. Fixes bug 31091; bugfix
6759 - Remove an assertion in the Unix process backend. This assertion
6760 would trigger when we failed to find the executable for a child
6761 process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
6763 o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
6764 - Avoid crashing when starting with a corrupt keys directory where
6765 the old ntor key and the new ntor key are identical. Fixes bug
6766 30916; bugfix on 0.2.4.8-alpha.
6768 o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
6769 - Correctly exclude a redundant rust build job in Travis. Fixes bug
6770 31463; bugfix on 0.3.5.4-alpha.
6772 o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
6773 - When testing port rebinding, don't busy-wait for tor to log.
6774 Instead, actually sleep for a short time before polling again.
6775 Also improve the formatting of control commands and log messages.
6776 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
6778 o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
6779 - Log bugs about the TLS read buffer's length only once, rather than
6780 filling the logs with similar warnings. Fixes bug 31939; bugfix
6783 o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
6784 - Always retry v2 single onion service intro and rend circuits with
6785 a 3-hop path. Previously, v2 single onion services used a 3-hop
6786 path when rendezvous circuits were retried after a remote or
6787 delayed failure, but a 1-hop path for immediate retries. Fixes bug
6788 23818; bugfix on 0.2.9.3-alpha.
6789 - Make v3 single onion services fall back to a 3-hop intro, when all
6790 intro points are unreachable via a 1-hop path. Previously, v3
6791 single onion services failed when all intro nodes were unreachable
6792 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
6794 o Documentation (backport from 0.4.2.1-alpha):
6795 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
6796 notice.html so that operators no longer have to host it
6797 themselves. Closes ticket 31089.
6799 o Testing (backport from 0.4.1.2-alpha):
6800 - Specify torrc paths (with empty files) when launching tor in
6801 integration tests; refrain from reading user and system torrcs.
6802 Resolves issue 29702.
6804 o Testing (continuous integration, backport from 0.4.1.1-alpha):
6805 - In Travis, show stem's tor log after failure. Closes ticket 30234.
6807 o Testing (continuous integration, backport from 0.4.1.5):
6808 - In Travis, make stem log a controller trace to the console, and
6809 tail stem's tor log after failure. Closes ticket 30591.
6810 - In Travis, only run the stem tests that use a tor binary. Closes
6813 o Testing (continuous integration, backport from 0.4.2.3-alpha):
6814 - Disable all but one Travis CI macOS build, to mitigate slow
6815 scheduling of Travis macOS jobs. Closes ticket 32177.
6816 - Run the chutney IPv6 networks as part of Travis CI. Closes
6818 - Simplify the Travis CI build matrix, and optimise for build time.
6819 Closes ticket 31859.
6820 - Use Windows Server 2019 instead of Windows Server 2016 in our
6821 Appveyor builds. Closes ticket 32086.
6823 o Testing (continuous integration, backport from 0.4.2.4-rc):
6824 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
6825 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
6826 until we can fix some Bionic permissions issues (see ticket
6827 32240). Related to ticket 31919.
6828 - Install the mingw OpenSSL package in Appveyor. This makes sure
6829 that the OpenSSL headers and libraries match in Tor's Appveyor
6830 builds. (This bug was triggered by an Appveyor image update.)
6831 Fixes bug 32449; bugfix on 0.3.5.6-rc.
6832 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
6834 o Testing (continuous integration, backport from 0.4.2.5):
6835 - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
6836 extensions. Also activates clang's -Wtypedef-redefinition warnings.
6837 Build some jobs with -std=gnu99, and some jobs without.
6838 Closes ticket 32500.
6840 Changes in version 0.3.5.9 - 2019-12-09
6841 Tor 0.3.5.9 backports serveral fixes from later releases, including
6842 several that affect bridge users, relay stability, onion services,
6845 o Directory authority changes (backport from 0.4.1.5):
6846 - The directory authority "dizum" has a new IP address. Closes
6849 o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
6850 - Consider our directory information to have changed when our list
6851 of bridges changes. Previously, Tor would not re-compute the
6852 status of its directory information when bridges changed, and
6853 therefore would not realize that it was no longer able to build
6854 circuits. Fixes part of bug 29875.
6855 - Do not count previously configured working bridges towards our
6856 total of working bridges. Previously, when Tor's list of bridges
6857 changed, it would think that the old bridges were still usable,
6858 and delay fetching router descriptors for the new ones. Fixes part
6859 of bug 29875; bugfix on 0.3.0.1-alpha.
6861 o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
6862 - When considering upgrading circuits from "waiting for guard" to
6863 "open", always ignore circuits that are marked for close. Otherwise,
6864 we can end up in the situation where a subsystem is notified that
6865 a closing circuit has just opened, leading to undesirable
6866 behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
6868 o Major bugfixes (NSS, relay, backport from 0.4.0.4-rc):
6869 - When running with NSS, disable TLS 1.2 ciphersuites that use
6870 SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
6871 these ciphersuites don't work -- which caused relays to fail to
6872 handshake with one another when these ciphersuites were enabled.
6873 Fixes bug 29241; bugfix on 0.3.5.1-alpha.
6875 o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
6876 - Properly clean up the introduction point map when circuits change
6877 purpose from onion service circuits to pathbias, measurement, or
6878 other circuit types. This should fix some service-side instances
6879 of introduction point failure. Fixes bug 29034; bugfix
6882 o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
6883 - Fix an unreachable bug in which an introduction point could try to
6884 send an INTRODUCE_ACK with a status code that Trunnel would refuse
6885 to encode, leading the relay to assert(). We've consolidated the
6886 ABI values into Trunnel now. Fixes bug 30454; bugfix
6888 - Clients can now handle unknown status codes from INTRODUCE_ACK
6889 cells. (The NACK behavior will stay the same.) This will allow us
6890 to extend status codes in the future without breaking the normal
6891 client behavior. Fixes another part of bug 30454; bugfix
6894 o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
6895 - Stop ignoring torrc options after an %include directive, when the
6896 included directory ends with a file that does not contain any
6897 config options (but does contain comments or whitespace). Fixes
6898 bug 31408; bugfix on 0.3.1.1-alpha.
6900 o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
6901 - Onion services now always use the exact number of intro points
6902 configured with the HiddenServiceNumIntroductionPoints option (or
6903 fewer if nodes are excluded). Before, a service could sometimes
6904 pick more intro points than configured. Fixes bug 31548; bugfix
6907 o Minor features (address selection, backport from 0.4.0.3-alpha):
6908 - Treat the subnet 100.64.0.0/10 as public for some purposes;
6909 private for others. This subnet is the RFC 6598 (Carrier Grade
6910 NAT) IP range, and is deployed by many ISPs as an alternative to
6911 RFC 1918 that does not break existing internal networks. Tor now
6912 blocks SOCKS and control ports on these addresses and warns users
6913 if client ports or ExtORPorts are listening on a RFC 6598 address.
6914 Closes ticket 28525. Patch by Neel Chauhan.
6916 o Minor features (bandwidth authority, backport from 0.4.0.4-rc):
6917 - Make bandwidth authorities ignore relays that are reported in the
6918 bandwidth file with the flag "vote=0". This change allows us to
6919 report unmeasured relays for diagnostic reasons without including
6920 their bandwidth in the bandwidth authorities' vote. Closes
6923 o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
6924 - Add a "--list-modules" command to print a list of which compile-
6925 time modules are enabled. Closes ticket 30452.
6927 o Minor features (continuous integration, backport from 0.4.0.4-rc):
6928 - On Travis Rust builds, cleanup Rust registry and refrain from
6929 caching the "target/" directory to speed up builds. Resolves
6932 o Minor features (continuous integration, backport from 0.4.0.5):
6933 - In Travis, tell timelimit to use stem's backtrace signals, and
6934 launch python directly from timelimit, so python receives the
6935 signals from timelimit, rather than make. Closes ticket 30117.
6937 o Minor features (continuous integration, backport from 0.4.1.1-alpha):
6938 - Remove sudo configuration lines from .travis.yml as they are no
6939 longer needed with current Travis build environment. Resolves
6942 o Minor features (continuous integration, backport from 0.4.1.4-rc):
6943 - Our Travis configuration now uses Chutney to run some network
6944 integration tests automatically. Closes ticket 29280.
6946 o Minor features (continuous integration, backport from 0.4.2.2-alpha):
6947 - When building on Appveyor and Travis, pass the "-k" flag to make,
6948 so that we are informed of all compilation failures, not just the
6949 first one or two. Closes ticket 31372.
6951 o Minor features (fallback directory list, backport from 0.4.1.4-rc):
6952 - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
6953 in December 2018 (of which ~122 were still functional), with a
6954 list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
6955 in June 2019. Closes ticket 28795.
6957 o Minor features (geoip, backport from 0.4.2.5):
6958 - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
6959 Country database. Closes ticket 32685.
6961 o Minor features (NSS, diagnostic, backport from 0.4.0.4-rc):
6962 - Try to log an error from NSS (if there is any) and a more useful
6963 description of our situation if we are using NSS and a call to
6964 SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
6966 o Minor features (stem tests, backport from 0.4.2.1-alpha):
6967 - Change "make test-stem" so it only runs the stem tests that use
6968 tor. This change makes test-stem faster and more reliable. Closes
6971 o Minor bugfixes (security, backport from 0.4.0.4-rc):
6972 - Verify in more places that we are not about to create a buffer
6973 with more than INT_MAX bytes, to avoid possible OOB access in the
6974 event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
6975 fixed by Tobias Stoeckmann.
6976 - Fix a potential double free bug when reading huge bandwidth files.
6977 The issue is not exploitable in the current Tor network because
6978 the vulnerable code is only reached when directory authorities
6979 read bandwidth files, but bandwidth files come from a trusted
6980 source (usually the authorities themselves). Furthermore, the
6981 issue is only exploitable in rare (non-POSIX) 32-bit architectures,
6982 which are not used by any of the current authorities. Fixes bug
6983 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
6986 o Minor bugfix (continuous integration, backport from 0.4.0.4-rc):
6987 - Reset coverage state on disk after Travis CI has finished. This
6988 should prevent future coverage merge errors from causing the test
6989 suite for the "process" subsystem to fail. The process subsystem
6990 was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
6992 - Terminate test-stem if it takes more than 9.5 minutes to run.
6993 (Travis terminates the job after 10 minutes of no output.)
6994 Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
6996 o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
6997 - Avoid spurious errors when Appveyor CI fails before the install step.
6998 Fixes bug 31884; bugfix on 0.3.4.2-alpha.
7000 o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
7001 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
7002 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
7004 o Minor bugfixes (C correctness, backport from 0.4.0.4-rc):
7005 - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
7006 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
7009 o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
7010 - Fix a logic error that prevented the SessionGroup sub-option from
7011 being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
7013 o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
7014 - Fix a BUG() assertion that occurs within a very small race window
7015 between when a client intro circuit opens and when its descriptor
7016 gets cleaned up from the cache. The circuit is now closed early,
7017 which will trigger a re-fetch of the descriptor and continue the
7018 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
7020 o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
7021 - Don't believe clock skew results from NETINFO cells that appear to
7022 arrive before we sent the VERSIONS cells they are responding to.
7023 Previously, we would accept them up to 3 minutes "in the past".
7024 Fixes bug 31343; bugfix on 0.2.4.4-alpha.
7026 o Minor bugfixes (compilation warning, backport from 0.4.1.5):
7027 - Fix a compilation warning on Windows about casting a function
7028 pointer for GetTickCount64(). Fixes bug 31374; bugfix
7031 o Minor bugfixes (compilation, backport from 0.4.0.2-alpha):
7032 - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
7033 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
7035 o Minor bugfixes (compilation, backport from 0.4.1.5):
7036 - Avoid using labs() on time_t, which can cause compilation warnings
7037 on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
7039 o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
7040 - Suppress spurious float-conversion warnings from GCC when calling
7041 floating-point classifier functions on FreeBSD. Fixes part of bug
7042 31687; bugfix on 0.3.1.5-alpha.
7044 o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
7045 - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
7046 due to missing declarations of abort(), and prevent other such
7047 failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
7049 o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
7050 - Fix a bug that prevented us from supporting SOCKS5 proxies that
7051 want authentication along with configured (but unused!)
7052 ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
7054 o Minor bugfixes (connections, backport from 0.4.2.3-rc):
7055 - Avoid trying to read data from closed connections, which can cause
7056 needless loops in Libevent and infinite loops in Shadow. Fixes bug
7057 30344; bugfix on 0.1.1.1-alpha.
7059 o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
7060 - Allow the test-stem job to fail in Travis, because it sometimes
7061 hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
7062 - Skip test_rebind on macOS in Travis, because it is unreliable on
7063 macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
7064 - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
7065 variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
7067 o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
7068 - Avoid a set of possible code paths that could try to use freed
7069 memory in routerlist_free() while Tor was exiting. Fixes bug
7070 31003; bugfix on 0.1.2.2-alpha.
7072 o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
7073 - Stop crashing after parsing an unknown descriptor purpose
7074 annotation. We think this bug can only be triggered by modifying a
7075 local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
7077 o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
7078 - Move the "bandwidth-file-headers" line in directory authority
7079 votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
7082 o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
7083 - On abort, try harder to flush the output buffers of log messages.
7084 On some platforms (macOS), log messages could be discarded when
7085 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
7086 - Report the tor version whenever an assertion fails. Previously, we
7087 only reported the Tor version on some crashes, and some non-fatal
7088 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
7090 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
7091 - When extracting an IPv6 address from a PF-based proxy, verify that
7092 we are actually configured to receive an IPv6 address, and log an
7093 internal error if not. Fixes part of bug 31687; bugfix
7096 o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
7097 - When tor is missing descriptors for some primary entry guards,
7098 make the log message less alarming. It's normal for descriptors to
7099 expire, as long as tor fetches new ones soon after. Fixes bug
7100 31657; bugfix on 0.3.3.1-alpha.
7102 o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
7103 - Avoid logging that we are relaxing a circuit timeout when that
7104 timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
7106 o Minor bugfixes (logging, backport from 0.4.0.3-alpha):
7107 - Correct a misleading error message when IPv4Only or IPv6Only is
7108 used but the resolved address can not be interpreted as an address
7109 of the specified IP version. Fixes bug 13221; bugfix on
7110 0.2.3.9-alpha. Patch from Kris Katterjohn.
7111 - Log the correct port number for listening sockets when "auto" is
7112 used to let Tor pick the port number. Previously, port 0 was
7113 logged instead of the actual port number. Fixes bug 29144; bugfix
7114 on 0.3.5.1-alpha. Patch from Kris Katterjohn.
7115 - Stop logging a BUG() warning when Tor is waiting for exit
7116 descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
7118 o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
7119 - Do not log a warning when running with an OpenSSL version other
7120 than the one Tor was compiled with, if the two versions should be
7121 compatible. Previously, we would warn whenever the version was
7122 different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
7124 o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
7125 - Change log level of message "Hash of session info was not as
7126 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
7129 o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
7130 - Rate-limit the logging message about the obsolete .exit
7131 notation. Previously, there was no limit on this warning, which
7132 could potentially be triggered many times by a hostile website.
7133 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
7135 o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
7136 - Do not log a nonfatal assertion failure when receiving a VERSIONS
7137 cell on a connection using the obsolete v1 link protocol. Log a
7138 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
7140 o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
7141 - Reset the periodic events' "enabled" flag when Tor is shut down
7142 cleanly. Previously, this flag was left on, which caused periodic
7143 events not to be re-enabled when Tor was relaunched in-process
7144 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
7147 o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
7148 - Avoid a minor memory leak that could occur on relays when failing
7149 to create a "keys" directory. Fixes bug 30148; bugfix
7152 o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
7153 - Fix a trivial memory leak when parsing an invalid value
7154 from a download schedule in the configuration. Fixes bug
7155 30894; bugfix on 0.3.4.1-alpha.
7157 o Minor bugfixes (memory management, backport from 0.4.0.3-alpha):
7158 - Refactor the shared random state's memory management so that it
7159 actually takes ownership of the shared random value pointers.
7160 Fixes bug 29706; bugfix on 0.2.9.1-alpha.
7162 o Minor bugfixes (memory management, testing, backport from 0.4.0.3-alpha):
7163 - Stop leaking parts of the shared random state in the shared-random
7164 unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
7166 o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
7167 - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
7168 implementation) when failing to load an onion service client
7169 authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
7171 o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
7172 - When purging the DNS cache because of an out-of-memory condition,
7173 try purging just the older entries at first. Previously, we would
7174 always purge the whole thing. Fixes bug 29617; bugfix
7177 o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
7178 - Avoid crashing in our tor_vasprintf() implementation on systems
7179 that define neither vasprintf() nor _vscprintf(). (This bug has
7180 been here long enough that we question whether people are running
7181 Tor on such systems, but we're applying the fix out of caution.)
7182 Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
7185 o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
7186 - Avoid crashing when starting with a corrupt keys directory where
7187 the old ntor key and the new ntor key are identical. Fixes bug
7188 30916; bugfix on 0.2.4.8-alpha.
7190 o Minor bugfixes (rust, backport from 0.4.0.5):
7191 - Abort on panic in all build profiles, instead of potentially
7192 unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
7194 o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
7195 - Correctly exclude a redundant rust build job in Travis. Fixes bug
7196 31463; bugfix on 0.3.5.4-alpha.
7198 o Minor bugfixes (single onion services, backport from 0.4.0.3-alpha):
7199 - Allow connections to single onion services to remain idle without
7200 being disconnected. Previously, relays acting as rendezvous points
7201 for single onion services were mistakenly closing idle rendezvous
7202 circuits after 60 seconds, thinking that they were unused
7203 directory-fetching circuits that had served their purpose. Fixes
7204 bug 29665; bugfix on 0.2.1.26.
7206 o Minor bugfixes (stats, backport from 0.4.0.3-alpha):
7207 - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
7208 relay and bridge extra-info documents. Fixes bug 29017; bugfix
7211 o Minor bugfixes (testing, backport from 0.4.0.3-alpha):
7212 - Downgrade some LOG_ERR messages in the address/* tests to
7213 warnings. The LOG_ERR messages were occurring when we had no
7214 configured network. We were failing the unit tests, because we
7215 backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
7216 29530; bugfix on 0.3.5.8.
7217 - Fix our gcov wrapper script to look for object files at the
7218 correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
7220 o Minor bugfixes (testing, backport from 0.4.0.4-rc):
7221 - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
7222 recent test-network.sh to use new chutney features in CI. Fixes
7223 bug 29703; bugfix on 0.2.9.1-alpha.
7224 - Fix a test failure on Windows caused by an unexpected "BUG"
7225 warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
7228 o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
7229 - When testing port rebinding, don't busy-wait for tor to log.
7230 Instead, actually sleep for a short time before polling again.
7231 Also improve the formatting of control commands and log messages.
7232 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
7234 o Minor bugfixes (TLS protocol, backport form 0.4.0.4-rc):
7235 - When classifying a client's selection of TLS ciphers, if the
7236 client ciphers are not yet available, do not cache the result.
7237 Previously, we had cached the unavailability of the cipher list
7238 and never looked again, which in turn led us to assume that the
7239 client only supported the ancient V1 link protocol. This, in turn,
7240 was causing Stem integration tests to stall in some cases. Fixes
7241 bug 30021; bugfix on 0.2.4.8-alpha.
7243 o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
7244 - Log bugs about the TLS read buffer's length only once, rather than
7245 filling the logs with similar warnings. Fixes bug 31939; bugfix
7248 o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
7249 - Always retry v2 single onion service intro and rend circuits with
7250 a 3-hop path. Previously, v2 single onion services used a 3-hop
7251 path when rendezvous circuits were retried after a remote or
7252 delayed failure, but a 1-hop path for immediate retries. Fixes bug
7253 23818; bugfix on 0.2.9.3-alpha.
7254 - Make v3 single onion services fall back to a 3-hop intro, when all
7255 intro points are unreachable via a 1-hop path. Previously, v3
7256 single onion services failed when all intro nodes were unreachable
7257 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
7259 o Minor bugfixes (Windows, CI, backport from 0.4.0.3-alpha):
7260 - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
7261 Windows Server 2012 R2 job. The remaining 2 jobs still provide
7262 coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
7263 fast_finish, so failed jobs terminate the build immediately. Fixes
7264 bug 29601; bugfix on 0.3.5.4-alpha.
7266 o Documentation (backport from 0.4.2.1-alpha):
7267 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
7268 notice.html so that operators no longer have to host it
7269 themselves. Closes ticket 31089.
7271 o Testing (backport from 0.4.1.2-alpha):
7272 - Specify torrc paths (with empty files) when launching tor in
7273 integration tests; refrain from reading user and system torrcs.
7274 Resolves issue 29702.
7276 o Testing (continuous integration, backport from 0.4.1.1-alpha):
7277 - In Travis, show stem's tor log after failure. Closes ticket 30234.
7279 o Testing (continuous integration, backport from 0.4.1.5):
7280 - In Travis, make stem log a controller trace to the console, and
7281 tail stem's tor log after failure. Closes ticket 30591.
7282 - In Travis, only run the stem tests that use a tor binary. Closes
7285 o Testing (continuous integration, backport from 0.4.2.3-alpha):
7286 - Disable all but one Travis CI macOS build, to mitigate slow
7287 scheduling of Travis macOS jobs. Closes ticket 32177.
7288 - Run the chutney IPv6 networks as part of Travis CI. Closes
7290 - Simplify the Travis CI build matrix, and optimise for build time.
7291 Closes ticket 31859.
7292 - Use Windows Server 2019 instead of Windows Server 2016 in our
7293 Appveyor builds. Closes ticket 32086.
7295 o Testing (continuous integration, backport from 0.4.2.4-rc):
7296 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
7297 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
7298 until we can fix some Bionic permissions issues (see ticket
7299 32240). Related to ticket 31919.
7300 - Install the mingw OpenSSL package in Appveyor. This makes sure
7301 that the OpenSSL headers and libraries match in Tor's Appveyor
7302 builds. (This bug was triggered by an Appveyor image update.)
7303 Fixes bug 32449; bugfix on 0.3.5.6-rc.
7304 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
7306 o Testing (continuous integration, backport from 0.4.2.5):
7307 - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
7308 extensions. Also activates clang's -Wtypedef-redefinition warnings.
7309 Build some jobs with -std=gnu99, and some jobs without.
7310 Closes ticket 32500.
7312 Changes in version 0.4.2.4-rc - 2019-11-15
7313 Tor 0.4.2.4-rc is the first release candidate in its series. It fixes
7314 several bugs from earlier versions, including a few that would result in
7315 stack traces or incorrect behavior.
7317 o Minor features (build system):
7318 - Make pkg-config use --prefix when cross-compiling, if
7319 PKG_CONFIG_PATH is not set. Closes ticket 32191.
7321 o Minor features (geoip):
7322 - Update geoip and geoip6 to the November 6 2019 Maxmind GeoLite2
7323 Country database. Closes ticket 32440.
7325 o Minor bugfixes (client, onion service v3):
7326 - Fix a BUG() assertion that occurs within a very small race window
7327 between when a client intro circuit opens and when its descriptor
7328 gets cleaned up from the cache. The circuit is now closed early,
7329 which will trigger a re-fetch of the descriptor and continue the
7330 connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
7332 o Minor bugfixes (code quality):
7333 - Fix "make check-includes" so it runs correctly on out-of-tree
7334 builds. Fixes bug 31335; bugfix on 0.3.5.1-alpha.
7336 o Minor bugfixes (configuration):
7337 - Log the option name when skipping an obsolete option. Fixes bug
7338 32295; bugfix on 0.4.2.1-alpha.
7340 o Minor bugfixes (crash):
7341 - When running Tor with an option like --verify-config or
7342 --dump-config that does not start the event loop, avoid crashing
7343 if we try to exit early because of an error. Fixes bug 32407;
7344 bugfix on 0.3.3.1-alpha.
7346 o Minor bugfixes (directory):
7347 - When checking if a directory connection is anonymous, test if the
7348 circuit was marked for close before looking at its channel. This
7349 avoids a BUG() stacktrace if the circuit was previously closed.
7350 Fixes bug 31958; bugfix on 0.4.2.1-alpha.
7352 o Minor bugfixes (shellcheck):
7353 - Fix minor shellcheck errors in the git-*.sh scripts. Fixes bug
7354 32402; bugfix on 0.4.2.1-alpha.
7355 - Start checking most scripts for shellcheck errors again. Fixes bug
7356 32402; bugfix on 0.4.2.1-alpha.
7358 o Testing (continuous integration):
7359 - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
7360 recent version of coccinelle. But leave chutney on Ubuntu Trusty,
7361 until we can fix some Bionic permissions issues (see ticket
7362 32240). Related to ticket 31919.
7363 - Install the mingw OpenSSL package in Appveyor. This makes sure
7364 that the OpenSSL headers and libraries match in Tor's Appveyor
7365 builds. (This bug was triggered by an Appveyor image update.)
7366 Fixes bug 32449; bugfix on 0.3.5.6-rc.
7367 - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
7370 Changes in version 0.4.2.3-alpha - 2019-10-24
7371 This release fixes several bugs from the previous alpha release, and
7372 from earlier versions of Tor.
7374 o Major bugfixes (relay):
7375 - Relays now respect their AccountingMax bandwidth again. When
7376 relays entered "soft" hibernation (which typically starts when
7377 we've hit 90% of our AccountingMax), we had stopped checking
7378 whether we should enter hard hibernation. Soft hibernation refuses
7379 new connections and new circuits, but the existing circuits can
7380 continue, meaning that relays could have exceeded their configured
7381 AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
7383 o Major bugfixes (v3 onion services):
7384 - Onion services now always use the exact number of intro points
7385 configured with the HiddenServiceNumIntroductionPoints option (or
7386 fewer if nodes are excluded). Before, a service could sometimes
7387 pick more intro points than configured. Fixes bug 31548; bugfix
7390 o Minor feature (onion services, control port):
7391 - The ADD_ONION command's keyword "BEST" now defaults to ED25519-V3
7392 (v3) onion services. Previously it defaulted to RSA1024 (v2).
7393 Closes ticket 29669.
7395 o Minor features (testing):
7396 - When running tests that attempt to look up hostnames, replace the
7397 libc name lookup functions with ones that do not actually touch
7398 the network. This way, the tests complete more quickly in the
7399 presence of a slow or missing DNS resolver. Closes ticket 31841.
7401 o Minor features (testing, continuous integration):
7402 - Disable all but one Travis CI macOS build, to mitigate slow
7403 scheduling of Travis macOS jobs. Closes ticket 32177.
7404 - Run the chutney IPv6 networks as part of Travis CI. Closes
7406 - Simplify the Travis CI build matrix, and optimise for build time.
7407 Closes ticket 31859.
7408 - Use Windows Server 2019 instead of Windows Server 2016 in our
7409 Appveyor builds. Closes ticket 32086.
7411 o Minor bugfixes (build system):
7412 - Interpret "--disable-module-dirauth=no" correctly. Fixes bug
7413 32124; bugfix on 0.3.4.1-alpha.
7414 - Interpret "--with-tcmalloc=no" correctly. Fixes bug 32124; bugfix
7416 - Stop failing when jemalloc is requested, but tcmalloc is not
7417 found. Fixes bug 32124; bugfix on 0.3.5.1-alpha.
7418 - When pkg-config is not installed, or a library that depends on
7419 pkg-config is not found, tell the user what to do to fix the
7420 problem. Fixes bug 31922; bugfix on 0.3.1.1-alpha.
7422 o Minor bugfixes (connections):
7423 - Avoid trying to read data from closed connections, which can cause
7424 needless loops in Libevent and infinite loops in Shadow. Fixes bug
7425 30344; bugfix on 0.1.1.1-alpha.
7427 o Minor bugfixes (error handling):
7428 - Always lock the backtrace buffer before it is used. Fixes bug
7429 31734; bugfix on 0.2.5.3-alpha.
7431 o Minor bugfixes (mainloop, periodic events, in-process API):
7432 - Reset the periodic events' "enabled" flag when Tor is shut down
7433 cleanly. Previously, this flag was left on, which caused periodic
7434 events not to be re-enabled when Tor was relaunched in-process
7435 with tor_api.h after a shutdown. Fixes bug 32058; bugfix
7438 o Minor bugfixes (process management):
7439 - Remove overly strict assertions that triggered when a pluggable
7440 transport failed to launch. Fixes bug 31091; bugfix
7442 - Remove an assertion in the Unix process backend. This assertion
7443 would trigger when we failed to find the executable for a child
7444 process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
7446 o Minor bugfixes (testing):
7447 - Avoid intermittent test failures due to a test that had relied on
7448 inconsistent timing sources. Fixes bug 31995; bugfix
7450 - When testing port rebinding, don't busy-wait for tor to log.
7451 Instead, actually sleep for a short time before polling again.
7452 Also improve the formatting of control commands and log messages.
7453 Fixes bug 31837; bugfix on 0.3.5.1-alpha.
7455 o Minor bugfixes (tls, logging):
7456 - Log bugs about the TLS read buffer's length only once, rather than
7457 filling the logs with similar warnings. Fixes bug 31939; bugfix
7460 o Minor bugfixes (v3 onion services):
7461 - Fix an implicit conversion from ssize_t to size_t discovered by
7462 Coverity. Fixes bug 31682; bugfix on 0.4.2.1-alpha.
7463 - Fix a memory leak in an unlikely error code path when encoding HS
7464 DoS establish intro extension cell. Fixes bug 32063; bugfix
7466 - When cleaning up intro circuits for a v3 onion service, don't
7467 remove circuits that have an established or pending circuit, even
7468 if they ran out of retries. This way, we don't remove a circuit on
7469 its last retry. Fixes bug 31652; bugfix on 0.3.2.1-alpha.
7472 - Correct the description of "GuardLifetime". Fixes bug 31189;
7473 bugfix on 0.3.0.1-alpha.
7474 - Make clear in the man page, in both the bandwidth section and the
7475 AccountingMax section, that Tor counts in powers of two, not
7476 powers of ten: 1 GByte is 1024*1024*1024 bytes, not one billion
7477 bytes. Resolves ticket 32106.
7480 Changes in version 0.4.2.2-alpha - 2019-10-07
7481 This release fixes several bugs from the previous alpha release, and
7482 from earlier versions. It also includes a change in authorities, so
7483 that they begin to reject the currently unsupported release series.
7485 o Major features (directory authorities):
7486 - Directory authorities now reject relays running all currently
7487 deprecated release series. The currently supported release series
7488 are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
7490 o Major bugfixes (embedded Tor):
7491 - Avoid a possible crash when restarting Tor in embedded mode and
7492 enabling a different set of publish/subscribe messages. Fixes bug
7493 31898; bugfix on 0.4.1.1-alpha.
7495 o Major bugfixes (torrc parsing):
7496 - Stop ignoring torrc options after an %include directive, when the
7497 included directory ends with a file that does not contain any
7498 config options (but does contain comments or whitespace). Fixes
7499 bug 31408; bugfix on 0.3.1.1-alpha.
7501 o Minor features (auto-formatting scripts):
7502 - When annotating C macros, never generate a line that our check-
7503 spaces script would reject. Closes ticket 31759.
7504 - When annotating C macros, try to remove cases of double-negation.
7505 Closes ticket 31779.
7507 o Minor features (continuous integration):
7508 - When building on Appveyor and Travis, pass the "-k" flag to make,
7509 so that we are informed of all compilation failures, not just the
7510 first one or two. Closes ticket 31372.
7512 o Minor features (geoip):
7513 - Update geoip and geoip6 to the October 1 2019 Maxmind GeoLite2
7514 Country database. Closes ticket 31931.
7516 o Minor features (maintenance scripts):
7517 - Add a Coccinelle script to detect bugs caused by incrementing or
7518 decrementing a variable inside a call to log_debug(). Since
7519 log_debug() is a macro whose arguments are conditionally
7520 evaluated, it is usually an error to do this. One such bug was
7521 30628, in which SENDME cells were miscounted by a decrement
7522 operator inside a log_debug() call. Closes ticket 30743.
7524 o Minor features (onion services v3):
7525 - Assist users who try to setup v2 client authorization in v3 onion
7526 services by pointing them to the right documentation. Closes
7529 o Minor bugfixes (Appveyor continuous integration):
7530 - Avoid spurious errors when Appveyor CI fails before the install
7531 step. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
7533 o Minor bugfixes (best practices tracker):
7534 - When listing overbroad exceptions, do not also list problems, and
7535 do not list insufficiently broad exceptions. Fixes bug 31338;
7536 bugfix on 0.4.2.1-alpha.
7538 o Minor bugfixes (controller protocol):
7539 - Fix the MAPADDRESS controller command to accept one or more
7540 arguments. Previously, it required two or more arguments, and
7541 ignored the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
7543 o Minor bugfixes (logging):
7544 - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
7545 uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
7546 - Disable backtrace signal handlers when shutting down tor. Fixes
7547 bug 31614; bugfix on 0.2.5.2-alpha.
7548 - Rate-limit the logging message about the obsolete .exit
7549 notation. Previously, there was no limit on this warning, which
7550 could potentially be triggered many times by a hostile website.
7551 Fixes bug 31466; bugfix on 0.2.2.1-alpha.
7552 - When initialising log domain masks, only set known log domains.
7553 Fixes bug 31854; bugfix on 0.2.1.1-alpha.
7555 o Minor bugfixes (logging, protocol violations):
7556 - Do not log a nonfatal assertion failure when receiving a VERSIONS
7557 cell on a connection using the obsolete v1 link protocol. Log a
7558 protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
7560 o Minor bugfixes (modules):
7561 - Explain what the optional Directory Authority module is, and what
7562 happens when it is disabled. Fixes bug 31825; bugfix
7565 o Minor bugfixes (multithreading):
7566 - Avoid some undefined behaviour when freeing mutexes. Fixes bug
7567 31736; bugfix on 0.0.7.
7569 o Minor bugfixes (relay):
7570 - Avoid crashing when starting with a corrupt keys directory where
7571 the old ntor key and the new ntor key are identical. Fixes bug
7572 30916; bugfix on 0.2.4.8-alpha.
7574 o Minor bugfixes (tests, SunOS):
7575 - Avoid a map_anon_nofork test failure due to a signed/unsigned
7576 integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
7578 o Code simplification and refactoring:
7579 - Refactor connection_control_process_inbuf() to reduce the size of
7580 a practracker exception. Closes ticket 31840.
7581 - Refactor the microdescs_parse_from_string() function into smaller
7582 pieces, for better comprehensibility. Closes ticket 31675.
7583 - Use SEVERITY_MASK_IDX() to find the LOG_* mask indexes in the unit
7584 tests and fuzzers, rather than using hard-coded values. Closes
7586 - Interface for function `decrypt_desc_layer` cleaned up. Closes
7590 - Document the signal-safe logging behaviour in the tor man page.
7591 Also add some comments to the relevant functions. Closes
7593 - Explain why we can't destroy the backtrace buffer mutex. Explain
7594 why we don't need to destroy the log mutex. Closes ticket 31736.
7595 - The Tor source code repository now includes a (somewhat dated)
7596 description of Tor's modular architecture, in doc/HACKING/design.
7597 This is based on the old "tor-guts.git" repository, which we are
7598 adopting and superseding. Closes ticket 31849.
7601 Changes in version 0.4.1.6 - 2019-09-19
7602 This release backports several bugfixes to improve stability and
7603 correctness. Anyone experiencing build problems or crashes with 0.4.1.5,
7604 or experiencing reliability issues with single onion services, should
7607 o Major bugfixes (crash, Linux, Android, backport from 0.4.2.1-alpha):
7608 - Tolerate systems (including some Android installations) where
7609 madvise and MADV_DONTDUMP are available at build-time, but not at
7610 run time. Previously, these systems would notice a failed syscall
7611 and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
7612 - Tolerate systems (including some Linux installations) where
7613 madvise and/or MADV_DONTFORK are available at build-time, but not
7614 at run time. Previously, these systems would notice a failed
7615 syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
7617 o Minor features (stem tests, backport from 0.4.2.1-alpha):
7618 - Change "make test-stem" so it only runs the stem tests that use
7619 tor. This change makes test-stem faster and more reliable. Closes
7622 o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
7623 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
7624 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
7626 o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
7627 - Add more stub functions to fix compilation on Android with link-
7628 time optimization when --disable-module-dirauth is used.
7629 Previously, these compilation settings would make the compiler
7630 look for functions that didn't exist. Fixes bug 31552; bugfix
7632 - Suppress spurious float-conversion warnings from GCC when calling
7633 floating-point classifier functions on FreeBSD. Fixes part of bug
7634 31687; bugfix on 0.3.1.5-alpha.
7636 o Minor bugfixes (controller protocol):
7637 - Fix the MAPADDRESS controller command to accept one or more
7638 arguments. Previously, it required two or more arguments, and ignored
7639 the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
7641 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
7642 - When extracting an IPv6 address from a PF-based proxy, verify that
7643 we are actually configured to receive an IPv6 address, and log an
7644 internal error if not. Fixes part of bug 31687; bugfix
7647 o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
7648 - When tor is missing descriptors for some primary entry guards,
7649 make the log message less alarming. It's normal for descriptors to
7650 expire, as long as tor fetches new ones soon after. Fixes bug
7651 31657; bugfix on 0.3.3.1-alpha.
7653 o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
7654 - Change log level of message "Hash of session info was not as
7655 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
7658 o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
7659 - Correctly exclude a redundant rust build job in Travis. Fixes bug
7660 31463; bugfix on 0.3.5.4-alpha.
7662 o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
7663 - Always retry v2 single onion service intro and rend circuits with
7664 a 3-hop path. Previously, v2 single onion services used a 3-hop
7665 path when rendezvous circuits were retried after a remote or
7666 delayed failure, but a 1-hop path for immediate retries. Fixes bug
7667 23818; bugfix on 0.2.9.3-alpha.
7669 o Minor bugfixes (v3 single onion services, backport from 0.4.2.1-alpha):
7670 - Always retry v3 single onion service intro and rend circuits with
7671 a 3-hop path. Previously, v3 single onion services used a 3-hop
7672 path when rend circuits were retried after a remote or delayed
7673 failure, but a 1-hop path for immediate retries. Fixes bug 23818;
7674 bugfix on 0.3.2.1-alpha.
7675 - Make v3 single onion services fall back to a 3-hop intro, when all
7676 intro points are unreachable via a 1-hop path. Previously, v3
7677 single onion services failed when all intro nodes were unreachable
7678 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
7680 o Documentation (backport from 0.4.2.1-alpha):
7681 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
7682 notice.html so that operators no longer have to host it
7683 themselves. Closes ticket 31089.
7686 Changes in version 0.4.2.1-alpha - 2019-09-17
7687 This is the first alpha release in the 0.4.2.x series. It adds new
7688 defenses for denial-of-service attacks against onion services. It also
7689 includes numerous kinds of bugfixes and refactoring to help improve
7690 Tor's stability and ease of development.
7692 o Major features (onion service v3, denial of service):
7693 - Add onion service introduction denial of service defenses. Intro
7694 points can now rate-limit client introduction requests, using
7695 parameters that can be sent by the service within the
7696 ESTABLISH_INTRO cell. If the cell extension for this is not used,
7697 the intro point will honor the consensus parameters. Closes
7700 o Major bugfixes (circuit build, guard):
7701 - When considering upgrading circuits from "waiting for guard" to
7702 "open", always ignore circuits that are marked for close.
7703 Previously we could end up in the situation where a subsystem is
7704 notified of a circuit opening, but the circuit is still marked for
7705 close, leading to undesirable behavior. Fixes bug 30871; bugfix
7708 o Major bugfixes (crash, Linux, Android):
7709 - Tolerate systems (including some Android installations) where
7710 madvise and MADV_DONTDUMP are available at build-time, but not at
7711 run time. Previously, these systems would notice a failed syscall
7712 and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
7713 - Tolerate systems (including some Linux installations) where
7714 madvise and/or MADV_DONTFORK are available at build-time, but not
7715 at run time. Previously, these systems would notice a failed
7716 syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
7718 o Minor features (best practices tracker):
7719 - Our best-practices tracker now integrates with our include-checker
7720 tool to keep track of how many layering violations we have not yet
7721 fixed. We hope to reduce this number over time to improve Tor's
7722 modularity. Closes ticket 31176.
7723 - Add a TOR_PRACTRACKER_OPTIONS variable for passing arguments to
7724 practracker from the environment. We may want this for continuous
7725 integration. Closes ticket 31309.
7726 - Give a warning rather than an error when a practracker exception
7727 is violated by a small amount, add a --list-overbroad option to
7728 practracker that lists exceptions that are stricter than they need
7729 to be, and provide an environment variable for disabling
7730 practracker. Closes ticket 30752.
7731 - Our best-practices tracker now looks at headers as well as C
7732 files. Closes ticket 31175.
7734 o Minor features (build system):
7735 - Add --disable-manpage and --disable-html-manual options to
7736 configure script. This will enable shortening build times by not
7737 building documentation. Resolves issue 19381.
7739 o Minor features (compilation):
7740 - Log a more useful error message when we are compiling and one of
7741 the compile-time hardening options we have selected can be linked
7742 but not executed. Closes ticket 27530.
7744 o Minor features (configuration):
7745 - The configuration code has been extended to allow splitting
7746 configuration data across multiple objects. Previously, all
7747 configuration data needed to be kept in a single object, which
7748 tended to become bloated. Closes ticket 31240.
7750 o Minor features (continuous integration):
7751 - When running CI builds on Travis, put some random data in
7752 ~/.torrc, to make sure no tests are reading the Tor configuration
7753 file from its default location. Resolves issue 30102.
7755 o Minor features (debugging):
7756 - Log a nonfatal assertion failure if we encounter a configuration
7757 line whose command is "CLEAR" but which has a nonempty value. This
7758 should be impossible, according to the rules of our configuration
7759 line parsing. Closes ticket 31529.
7761 o Minor features (git hooks):
7762 - Our pre-commit git hook now checks for a special file before
7763 running practracker, so that practracker only runs on branches
7764 that are based on master. Since the pre-push hook calls the pre-
7765 commit hook, practracker will also only run before pushes of
7766 branches based on master. Closes ticket 30979.
7768 o Minor features (git scripts):
7769 - Add a "--" command-line argument, to separate git-push-all.sh
7770 script arguments from arguments that are passed through to git
7771 push. Closes ticket 31314.
7772 - Add a -r <remote-name> argument to git-push-all.sh, so the script
7773 can push test branches to a personal remote. Closes ticket 31314.
7774 - Add a -t <test-branch-prefix> argument to git-merge-forward.sh and
7775 git-push-all.sh, which makes these scripts create, merge forward,
7776 and push test branches. Closes ticket 31314.
7777 - Add a -u argument to git-merge-forward.sh, so that the script can
7778 re-use existing test branches after a merge failure and fix.
7779 Closes ticket 31314.
7780 - Add a TOR_GIT_PUSH env var, which sets the default git push
7781 command and arguments for git-push-all.sh. Closes ticket 31314.
7782 - Add a TOR_PUSH_DELAY variable to git-push-all.sh, which makes the
7783 script push master and maint branches with a delay between each
7784 branch. These delays trigger the CI jobs in a set order, which
7785 should show the most likely failures first. Also make pushes
7786 atomic by default, and make the script pass any command-line
7787 arguments to git push. Closes ticket 29879.
7788 - Call the shellcheck script from the pre-commit hook. Closes
7790 - Skip pushing test branches that are the same as a remote
7791 maint/release/master branch in git-push-all.sh by default. Add a
7792 -s argument, so git-push-all.sh can push all test branches. Closes
7795 o Minor features (IPv6, logging):
7796 - Log IPv6 addresses as well as IPv4 addresses when describing
7797 routerinfos, routerstatuses, and nodes. Closes ticket 21003.
7799 o Minor features (onion service v3):
7800 - Do not allow single hop clients to fetch or post an HS descriptor
7801 from an HSDir. Closes ticket 24964.
7803 o Minor features (onion service):
7804 - Disallow single-hop clients at the introduction point. We've
7805 removed Tor2web support a while back and single-hop rendezvous
7806 attempts are blocked at the relays. This change should remove load
7807 off the network from spammy clients. Close ticket 24963.
7809 o Minor features (stem tests):
7810 - Change "make test-stem" so it only runs the stem tests that use
7811 tor. This change makes test-stem faster and more reliable. Closes
7814 o Minor features (testing):
7815 - Add a script to invoke "tor --dump-config" and "tor
7816 --verify-config" with various configuration options, and see
7817 whether tor's resulting configuration or error messages are what
7818 we expect. Use it for integration testing of our +Option and
7819 /Option flags. Closes ticket 31637.
7820 - Improve test coverage for our existing configuration parsing and
7821 management API. Closes ticket 30893.
7822 - Add integration tests to make sure that practracker gives the
7823 outputs we expect. Closes ticket 31477.
7824 - The practracker self-tests are now run as part of the Tor test
7825 suite. Closes ticket 31304.
7827 o Minor features (token bucket):
7828 - Implement a generic token bucket that uses a single counter, for
7829 use in anti-DoS onion service work. Closes ticket 30687.
7831 o Minor bugfixes (best practices tracker):
7832 - Fix a few issues in the best-practices script, including tests,
7833 tab tolerance, error reporting, and directory-exclusion logic.
7834 Fixes bug 29746; bugfix on 0.4.1.1-alpha.
7835 - When running check-best-practices, only consider files in the src
7836 subdirectory. Previously we had recursively considered all
7837 subdirectories, which made us get confused by the temporary
7838 directories made by "make distcheck". Fixes bug 31578; bugfix
7841 o Minor bugfixes (build system):
7842 - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
7843 systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
7845 o Minor bugfixes (chutney, makefiles, documentation):
7846 - "make test-network-all" now shows the warnings from each test-
7847 network.sh run on the console, so developers see new warnings
7848 early. We've also improved the documentation for this feature, and
7849 renamed a Makefile variable so the code is self-documenting. Fixes
7850 bug 30455; bugfix on 0.3.0.4-rc.
7852 o Minor bugfixes (compilation):
7853 - Add more stub functions to fix compilation on Android with link-
7854 time optimization when --disable-module-dirauth is used.
7855 Previously, these compilation settings would make the compiler
7856 look for functions that didn't exist. Fixes bug 31552; bugfix
7858 - Suppress spurious float-conversion warnings from GCC when calling
7859 floating-point classifier functions on FreeBSD. Fixes part of bug
7860 31687; bugfix on 0.3.1.5-alpha.
7862 o Minor bugfixes (configuration):
7863 - Invalid floating-point values in the configuration file are now
7864 treated as errors in the configuration. Previously, they were
7865 ignored and treated as zero. Fixes bug 31475; bugfix on 0.0.1.
7867 o Minor bugfixes (coverity):
7868 - Add an assertion when parsing a BEGIN cell so that coverity can be
7869 sure that we are not about to dereference a NULL address. Fixes
7870 bug 31026; bugfix on 0.2.4.7-alpha. This is CID 1447296.
7871 - In our siphash implementation, when building for coverity, use
7872 memcpy in place of a switch statement, so that coverity can tell
7873 we are not accessing out-of-bounds memory. Fixes bug 31025; bugfix
7874 on 0.2.8.1-alpha. This is tracked as CID 1447293 and 1447295.
7875 - Fix several coverity warnings from our unit tests. Fixes bug
7876 31030; bugfix on 0.2.4.1-alpha, 0.3.2.1-alpha, and 0.4.0.1-alpha.
7878 o Minor bugfixes (developer tooling):
7879 - Only log git script changes in the post-merge script when the
7880 merge was to the master branch. Fixes bug 31040; bugfix
7883 o Minor bugfixes (directory authorities):
7884 - Return a distinct status when formatting annotations fails. Fixes
7885 bug 30780; bugfix on 0.2.0.8-alpha.
7887 o Minor bugfixes (error handling):
7888 - On abort, try harder to flush the output buffers of log messages.
7889 On some platforms (macOS), log messages could be discarded when
7890 the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
7891 - Report the tor version whenever an assertion fails. Previously, we
7892 only reported the Tor version on some crashes, and some non-fatal
7893 assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
7894 - When tor aborts due to an error, close log file descriptors before
7895 aborting. Closing the logs makes some OSes flush log file buffers,
7896 rather than deleting buffered log lines. Fixes bug 31594; bugfix
7899 o Minor bugfixes (FreeBSD, PF-based proxy, IPv6):
7900 - When extracting an IPv6 address from a PF-based proxy, verify that
7901 we are actually configured to receive an IPv6 address, and log an
7902 internal error if not. Fixes part of bug 31687; bugfix
7905 o Minor bugfixes (git hooks):
7906 - Remove a duplicate call to practracker from the pre-push hook. The
7907 pre-push hook already calls the pre-commit hook, which calls
7908 practracker. Fixes bug 31462; bugfix on 0.4.1.1-alpha.
7910 o Minor bugfixes (git scripts):
7911 - Stop hard-coding the bash path in the git scripts. Some OSes don't
7912 have bash in /usr/bin, others have an ancient bash at this path.
7913 Fixes bug 30840; bugfix on 0.4.0.1-alpha.
7914 - Stop hard-coding the tor master branch name and worktree path in
7915 the git scripts. Fixes bug 30841; bugfix on 0.4.0.1-alpha.
7916 - Allow git-push-all.sh to be run from any directory. Previously,
7917 the script only worked if run from an upstream worktree directory.
7918 Closes ticket 31678.
7920 o Minor bugfixes (guards):
7921 - When tor is missing descriptors for some primary entry guards,
7922 make the log message less alarming. It's normal for descriptors to
7923 expire, as long as tor fetches new ones soon after. Fixes bug
7924 31657; bugfix on 0.3.3.1-alpha.
7926 o Minor bugfixes (ipv6):
7927 - Check for private IPv6 addresses alongside their IPv4 equivalents
7928 when authorities check descriptors. Previously, we only checked
7929 for private IPv4 addresses. Fixes bug 31088; bugfix on
7930 0.2.3.21-rc. Patch by Neel Chauhan.
7931 - When parsing microdescriptors, we should check the IPv6 exit
7932 policy alongside IPv4. Previously, we checked both exit policies
7933 for only router info structures, while microdescriptors were
7934 IPv4-only. Fixes bug 27284; bugfix on 0.2.3.1-alpha. Patch by
7937 o Minor bugfixes (logging):
7938 - Change log level of message "Hash of session info was not as
7939 expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
7941 - Fix a code issue that would have broken our parsing of log domains
7942 as soon as we had 33 of them. Fortunately, we still only have 29.
7943 Fixes bug 31451; bugfix on 0.4.1.4-rc.
7945 o Minor bugfixes (memory management):
7946 - Stop leaking a small amount of memory in nt_service_install(), in
7947 unreachable code. Fixes bug 30799; bugfix on 0.2.0.7-alpha. Patch
7950 o Minor bugfixes (networking, IP addresses):
7951 - When parsing addresses via Tor's internal DNS lookup API, reject
7952 IPv4 addresses in square brackets, and accept IPv6 addresses in
7953 square brackets. This change completes the work started in 23082,
7954 making address parsing consistent between tor's internal DNS
7955 lookup and address parsing APIs. Fixes bug 30721; bugfix
7957 - When parsing addresses via Tor's internal address:port parsing and
7958 DNS lookup APIs, require IPv6 addresses with ports to have square
7959 brackets. But allow IPv6 addresses without ports, whether or not
7960 they have square brackets. Fixes bug 30721; bugfix
7963 o Minor bugfixes (onion service v3):
7964 - When purging the client descriptor cache, close any introduction
7965 point circuits associated with purged cache entries. This avoids
7966 picking those circuits later when connecting to the same
7967 introduction points. Fixes bug 30921; bugfix on 0.3.2.1-alpha.
7969 o Minor bugfixes (onion services):
7970 - In the hs_ident_circuit_t data structure, remove the unused field
7971 circuit_type and the respective argument in hs_ident_circuit_new().
7972 This field was set by clients (for introduction) and services (for
7973 introduction and rendezvous) but was never used afterwards. Fixes
7974 bug 31490; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
7976 o Minor bugfixes (operator tools):
7977 - Make tor-print-ed-signing-cert(1) print certificate expiration
7978 date in RFC 1123 and UNIX timestamp formats, to make output
7979 machine readable. Fixes bug 31012; bugfix on 0.3.5.1-alpha.
7981 o Minor bugfixes (rust):
7982 - Correctly exclude a redundant rust build job in Travis. Fixes bug
7983 31463; bugfix on 0.3.5.4-alpha.
7984 - Raise the minimum rustc version to 1.31.0, as checked by configure
7985 and CI. Fixes bug 31442; bugfix on 0.3.5.4-alpha.
7987 o Minor bugfixes (sendme, code structure):
7988 - Rename the trunnel SENDME file definition from sendme.trunnel to
7989 sendme_cell.trunnel to avoid having twice sendme.{c|h} in the
7990 repository. Fixes bug 30769; bugfix on 0.4.1.1-alpha.
7992 o Minor bugfixes (statistics):
7993 - Stop removing the ed25519 signature if the extra info file is too
7994 big. If the signature data was removed, but the keyword was kept,
7995 this could result in an unparseable extra info file. Fixes bug
7996 30958; bugfix on 0.2.7.2-alpha.
7998 o Minor bugfixes (subsystems):
7999 - Make the subsystem init order match the subsystem module
8000 dependencies. Call windows process security APIs as early as
8001 possible. Initialize logging before network and time, so that
8002 network and time can use logging. Fixes bug 31615; bugfix
8005 o Minor bugfixes (testing):
8006 - Teach the util/socketpair_ersatz test to work correctly when we
8007 have no network stack configured. Fixes bug 30804; bugfix
8010 o Minor bugfixes (v2 single onion services):
8011 - Always retry v2 single onion service intro and rend circuits with
8012 a 3-hop path. Previously, v2 single onion services used a 3-hop
8013 path when rendezvous circuits were retried after a remote or
8014 delayed failure, but a 1-hop path for immediate retries. Fixes bug
8015 23818; bugfix on 0.2.9.3-alpha.
8017 o Minor bugfixes (v3 single onion services):
8018 - Always retry v3 single onion service intro and rend circuits with
8019 a 3-hop path. Previously, v3 single onion services used a 3-hop
8020 path when rend circuits were retried after a remote or delayed
8021 failure, but a 1-hop path for immediate retries. Fixes bug 23818;
8022 bugfix on 0.3.2.1-alpha.
8023 - Make v3 single onion services fall back to a 3-hop intro, when all
8024 intro points are unreachable via a 1-hop path. Previously, v3
8025 single onion services failed when all intro nodes were unreachable
8026 via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
8029 - Improve documentation in circuit padding subsystem. Patch by
8030 Tobias Pulls. Closes ticket 31113.
8031 - Include an example usage for IPv6 ORPort in our sample torrc.
8032 Closes ticket 31320; patch from Ali Raheem.
8033 - Use RFC 2397 data URL scheme to embed an image into tor-exit-
8034 notice.html so that operators no longer have to host it
8035 themselves. Closes ticket 31089.
8038 - No longer include recommended package digests in votes as detailed
8039 in proposal 301. The RecommendedPackages torrc option is
8040 deprecated and will no longer have any effect. "package" lines
8041 will still be considered when computing consensuses for consensus
8042 methods that include them. (This change has no effect on the list
8043 of recommended Tor versions, which is still in use.) Closes
8045 - Remove torctl.in from contrib/dist directory. Resolves
8049 - Run shellcheck for all non-third-party shell scripts that are
8050 shipped with Tor. Closes ticket 29533.
8051 - When checking shell scripts, ignore any user-created directories.
8052 Closes ticket 30967.
8054 o Code simplification and refactoring (config handling):
8055 - Extract our variable manipulation code from confparse.c to a new
8056 lower-level typedvar.h module. Closes ticket 30864.
8057 - Lower another layer of object management from confparse.c to a
8058 more general tool. Now typed structure members are accessible via
8059 an abstract type. Implements ticket 30914.
8060 - Move our backend logic for working with configuration and state
8061 files into a lower-level library, since it no longer depends on
8062 any tor-specific functionality. Closes ticket 31626.
8063 - Numerous simplifications in configuration-handling logic: remove
8064 duplicated macro definitions, replace magical names with flags,
8065 and refactor "TestingTorNetwork" to use the same default-option
8066 logic as the rest of Tor. Closes ticket 30935.
8067 - Replace our ad-hoc set of flags for configuration variables and
8068 configuration variable types with fine-grained orthogonal flags
8069 corresponding to the actual behavior we want. Closes ticket 31625.
8071 o Code simplification and refactoring (misc):
8072 - Eliminate some uses of lower-level control reply abstractions,
8073 primarily in the onion_helper functions. Closes ticket 30889.
8074 - Rework bootstrap tracking to use the new publish-subscribe
8075 subsystem. Closes ticket 29976.
8076 - Rewrite format_node_description() and router_get_verbose_nickname()
8077 to use strlcpy() and strlcat(). The previous implementation used
8078 memcpy() and pointer arithmetic, which was error-prone. Closes
8079 ticket 31545. This is CID 1452819.
8080 - Split extrainfo_dump_to_string() into smaller functions. Closes
8082 - Use the ptrdiff_t type consistently for expressing variable
8083 offsets and pointer differences. Previously we incorrectly (but
8084 harmlessly) used int and sometimes off_t for these cases. Closes
8086 - Use the subsystems mechanism to manage the main event loop code.
8087 Closes ticket 30806.
8088 - Various simplifications and minor improvements to the circuit
8089 padding machines. Patch by Tobias Pulls. Closes tickets 31112
8092 o Documentation (hard-coded directories):
8093 - Improve the documentation for the DirAuthority and FallbackDir
8094 torrc options. Closes ticket 30955.
8096 o Documentation (tor.1 man page):
8097 - Fix typo in tor.1 man page: the option is "--help", not "-help".
8098 Fixes bug 31008; bugfix on 0.2.2.9-alpha.
8101 Changes in version 0.4.1.5 - 2019-08-20
8102 This is the first stable release in the 0.4.1.x series. This series
8103 adds experimental circuit-level padding, authenticated SENDME cells to
8104 defend against certain attacks, and several performance improvements
8105 to save on CPU consumption. It fixes bugs in bootstrapping and v3
8106 onion services. It also includes numerous smaller features and
8107 bugfixes on earlier versions.
8109 Per our support policy, we will support the 0.4.1.x series for nine
8110 months, or until three months after the release of a stable 0.4.2.x:
8111 whichever is longer. If you need longer-term support, please stick
8112 with 0.3.5.x, which will we plan to support until Feb 2022.
8114 Below are the changes since 0.4.1.4-rc. For a complete list of changes
8115 since 0.4.0.5, see the ReleaseNotes file.
8117 o Directory authority changes:
8118 - The directory authority "dizum" has a new IP address. Closes
8121 o Minor features (circuit padding logging):
8122 - Demote noisy client-side warn logs about circuit padding to
8123 protocol warnings. Add additional log messages and circuit ID
8124 fields to help with bug 30992 and any other future issues.
8126 o Minor bugfixes (circuit padding negotiation):
8127 - Bump the circuit padding protocol version to explicitly signify
8128 that the HS setup machine support is finalized in 0.4.1.x-stable.
8129 This also means that 0.4.1.x-alpha clients will not negotiate
8130 padding with 0.4.1.x-stable relays, and 0.4.1.x-stable clients
8131 will not negotiate padding with 0.4.1.x-alpha relays (or 0.4.0.x
8132 relays). Fixes bug 31356; bugfix on 0.4.1.1-alpha.
8134 o Minor bugfixes (circuit padding):
8135 - Ignore non-padding cells on padding circuits. This addresses
8136 various warning messages from subsystems that were not expecting
8137 padding circuits. Fixes bug 30942; bugfix on 0.4.1.1-alpha.
8139 o Minor bugfixes (clock skew detection):
8140 - Don't believe clock skew results from NETINFO cells that appear to
8141 arrive before we sent the VERSIONS cells they are responding to.
8142 Previously, we would accept them up to 3 minutes "in the past".
8143 Fixes bug 31343; bugfix on 0.2.4.4-alpha.
8145 o Minor bugfixes (compatibility, standards compliance):
8146 - Fix a bug that would invoke undefined behavior on certain
8147 operating systems when trying to asprintf() a string exactly
8148 INT_MAX bytes long. We don't believe this is exploitable, but it's
8149 better to fix it anyway. Fixes bug 31001; bugfix on 0.2.2.11-alpha.
8150 Found and fixed by Tobias Stoeckmann.
8152 o Minor bugfixes (compilation warning):
8153 - Fix a compilation warning on Windows about casting a function
8154 pointer for GetTickCount64(). Fixes bug 31374; bugfix
8157 o Minor bugfixes (compilation):
8158 - Avoid using labs() on time_t, which can cause compilation warnings
8159 on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
8161 o Minor bugfixes (distribution):
8162 - Do not ship any temporary files found in the
8163 scripts/maint/practracker directory. Fixes bug 31311; bugfix
8166 o Testing (continuous integration):
8167 - In Travis, make stem log a controller trace to the console, and
8168 tail stem's tor log after failure. Closes ticket 30591.
8169 - In Travis, only run the stem tests that use a tor binary. Closes
8173 Changes in version 0.4.1.4-rc - 2019-07-25
8174 Tor 0.4.1.4-rc fixes a few bugs from previous versions of Tor, and
8175 updates to a new list of fallback directories. If no new bugs are
8176 found, the next release in the 0.4.1.x serious should be stable.
8178 o Major bugfixes (circuit build, guard):
8179 - When considering upgrading circuits from "waiting for guard" to
8180 "open", always ignore circuits that are marked for close. Otherwise,
8181 we can end up in the situation where a subsystem is notified that
8182 a closing circuit has just opened, leading to undesirable
8183 behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
8185 o Minor features (continuous integration):
8186 - Our Travis configuration now uses Chutney to run some network
8187 integration tests automatically. Closes ticket 29280.
8189 o Minor features (fallback directory list):
8190 - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
8191 in December 2018 (of which ~122 were still functional), with a
8192 list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
8193 in June 2019. Closes ticket 28795.
8195 o Minor bugfixes (circuit padding):
8196 - On relays, properly check that a padding machine is absent before
8197 logging a warning about it being absent. Fixes bug 30649; bugfix
8199 - Add two NULL checks in unreachable places to silence Coverity (CID
8200 144729 and 1447291) and better future-proof ourselves. Fixes bug
8201 31024; bugfix on 0.4.1.1-alpha.
8203 o Minor bugfixes (crash on exit):
8204 - Avoid a set of possible code paths that could try to use freed
8205 memory in routerlist_free() while Tor was exiting. Fixes bug
8206 31003; bugfix on 0.1.2.2-alpha.
8208 o Minor bugfixes (logging):
8209 - Fix a conflict between the flag used for messaging-domain log
8210 messages, and the LD_NO_MOCK testing flag. Fixes bug 31080; bugfix
8213 o Minor bugfixes (memory leaks):
8214 - Fix a trivial memory leak when parsing an invalid value from a
8215 download schedule in the configuration. Fixes bug 30894; bugfix
8218 o Code simplification and refactoring:
8219 - Remove some dead code from circpad_machine_remove_token() to fix
8220 some Coverity warnings (CID 1447298). Fixes bug 31027; bugfix
8224 Changes in version 0.4.1.3-alpha - 2019-06-25
8225 Tor 0.4.1.3-alpha resolves numerous bugs left over from the previous
8226 alpha, most of them from earlier release series.
8228 o Major bugfixes (Onion service reachability):
8229 - Properly clean up the introduction point map when circuits change
8230 purpose from onion service circuits to pathbias, measurement, or
8231 other circuit types. This should fix some service-side instances
8232 of introduction point failure. Fixes bug 29034; bugfix
8235 o Minor features (geoip):
8236 - Update geoip and geoip6 to the June 10 2019 Maxmind GeoLite2
8237 Country database. Closes ticket 30852.
8239 o Minor features (logging):
8240 - Give a more useful assertion failure message if we think we have
8241 minherit() but we fail to make a region non-inheritable. Give a
8242 compile-time warning if our support for minherit() is incomplete.
8243 Closes ticket 30686.
8245 o Minor bugfixes (circuit isolation):
8246 - Fix a logic error that prevented the SessionGroup sub-option from
8247 being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
8249 o Minor bugfixes (continuous integration):
8250 - Allow the test-stem job to fail in Travis, because it sometimes
8251 hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
8252 - Skip test_rebind on macOS in Travis, because it is unreliable on
8253 macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
8254 - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
8255 variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
8257 o Minor bugfixes (directory authorities):
8258 - Stop crashing after parsing an unknown descriptor purpose
8259 annotation. We think this bug can only be triggered by modifying a
8260 local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
8262 o Minor bugfixes (pluggable transports):
8263 - When running as a bridge with pluggable transports, always publish
8264 pluggable transport information in our extrainfo descriptor, even
8265 if ExtraInfoStatistics is 0. This information is needed by
8266 BridgeDB. Fixes bug 30956; bugfix on 0.4.1.1-alpha.
8269 - Mention URLs for Travis/Appveyor/Jenkins in ReleasingTor.md.
8270 Closes ticket 30630.
8273 Changes in version 0.4.1.2-alpha - 2019-06-06
8274 Tor 0.4.1.2-alpha resolves numerous bugs--some of them from the
8275 previous alpha, and some much older. It also contains minor testing
8276 improvements, and an improvement to the security of our authenticated
8277 SENDME implementation.
8279 o Major bugfixes (bridges):
8280 - Consider our directory information to have changed when our list
8281 of bridges changes. Previously, Tor would not re-compute the
8282 status of its directory information when bridges changed, and
8283 therefore would not realize that it was no longer able to build
8284 circuits. Fixes part of bug 29875.
8285 - Do not count previously configured working bridges towards our
8286 total of working bridges. Previously, when Tor's list of bridges
8287 changed, it would think that the old bridges were still usable,
8288 and delay fetching router descriptors for the new ones. Fixes part
8289 of bug 29875; bugfix on 0.3.0.1-alpha.
8291 o Major bugfixes (flow control, SENDME):
8292 - Decrement the stream-level package window after packaging a cell.
8293 Previously, it was done inside a log_debug() call, meaning that if
8294 debug logs were not enabled, the decrement would never happen, and
8295 thus the window would be out of sync with the other end point.
8296 Fixes bug 30628; bugfix on 0.4.1.1-alpha.
8298 o Major bugfixes (onion service reachability):
8299 - Properly clean up the introduction point map and associated state
8300 when circuits change purpose from onion service circuits to
8301 pathbias, measurement, or other circuit types. This may fix some
8302 instances of introduction point failure. Fixes bug 29034; bugfix
8305 o Minor features (authenticated SENDME):
8306 - Ensure that there is enough randomness on every circuit to prevent
8307 an attacker from successfully predicting the hashes they will need
8308 to include in authenticated SENDME cells. At a random interval, if
8309 we have not sent randomness already, we now leave some extra space
8310 at the end of a cell that we can fill with random bytes. Closes
8313 o Minor features (continuous integration):
8314 - When running coverage builds on Travis, we now set
8315 TOR_TEST_RNG_SEED, to avoid RNG-based coverage differences. Part
8318 o Minor features (maintenance):
8319 - Add a new "make autostyle" target that developers can use to apply
8320 all automatic Tor style and consistency conversions to the
8321 codebase. Closes ticket 30539.
8323 o Minor features (testing):
8324 - The circuitpadding tests now use a reproducible RNG implementation,
8325 so that if a test fails, we can learn why. Part of ticket 28878.
8326 - Tor's tests now support an environment variable, TOR_TEST_RNG_SEED,
8327 to set the RNG seed for tests that use a reproducible RNG. Part of
8329 - When running tests in coverage mode, take additional care to make
8330 our coverage deterministic, so that we can accurately track
8331 changes in code coverage. Closes ticket 30519.
8333 o Minor bugfixes (configuration, proxies):
8334 - Fix a bug that prevented us from supporting SOCKS5 proxies that
8335 want authentication along with configured (but unused!)
8336 ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
8338 o Minor bugfixes (controller):
8339 - POSTDESCRIPTOR requests should work again. Previously, they were
8340 broken if a "purpose=" flag was specified. Fixes bug 30580; bugfix
8342 - Repair the HSFETCH command so that it works again. Previously, it
8343 expected a body when it shouldn't have. Fixes bug 30646; bugfix
8346 o Minor bugfixes (developer tooling):
8347 - Fix pre-push hook to allow fixup and squash commits when pushing
8348 to non-upstream git remote. Fixes bug 30286; bugfix
8351 o Minor bugfixes (directory authority):
8352 - Move the "bandwidth-file-headers" line in directory authority
8353 votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
8356 o Minor bugfixes (NetBSD):
8357 - Fix usage of minherit() on NetBSD and other platforms that define
8358 MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
8359 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
8361 o Minor bugfixes (out-of-memory handler):
8362 - When purging the DNS cache because of an out-of-memory condition,
8363 try purging just the older entries at first. Previously, we would
8364 always purge the whole thing. Fixes bug 29617; bugfix
8367 o Minor bugfixes (portability):
8368 - Avoid crashing in our tor_vasprintf() implementation on systems
8369 that define neither vasprintf() nor _vscprintf(). (This bug has
8370 been here long enough that we question whether people are running
8371 Tor on such systems, but we're applying the fix out of caution.)
8372 Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
8375 o Minor bugfixes (shutdown, libevent, memory safety):
8376 - Avoid use-after-free bugs when shutting down, by making sure that
8377 we shut down libevent only after shutting down all of its users.
8378 We believe these are harmless in practice, since they only occur
8379 on the shutdown path, and do not involve any attacker-controlled
8380 data. Fixes bug 30629; bugfix on 0.4.1.1-alpha.
8382 o Minor bugfixes (static analysis):
8383 - Fix several spurious Coverity warnings about the unit tests, to
8384 lower our chances of missing real warnings in the future. Fixes
8385 bug 30150; bugfix on 0.3.5.1-alpha and various other Tor versions.
8388 - Specify torrc paths (with empty files) when launching tor in
8389 integration tests; refrain from reading user and system torrcs.
8390 Resolves issue 29702.
8393 Changes in version 0.4.1.1-alpha - 2019-05-22
8394 This is the first alpha in the 0.4.1.x series. It introduces
8395 lightweight circuit padding to make some onion-service circuits harder
8396 to distinguish, includes a new "authenticated SENDME" feature to make
8397 certain denial-of-service attacks more difficult, and improves
8398 performance in several areas.
8400 o Major features (circuit padding):
8401 - Onion service clients now add padding cells at the start of their
8402 INTRODUCE and RENDEZVOUS circuits, to make those circuits' traffic
8403 look more like general purpose Exit traffic. The overhead for this
8404 is 2 extra cells in each direction for RENDEZVOUS circuits, and 1
8405 extra upstream cell and 10 downstream cells for INTRODUCE
8406 circuits. This feature is only enabled when also supported by the
8407 circuit's middle node. (Clients may specify fixed middle nodes
8408 with the MiddleNodes option, and may force-disable this feature
8409 with the CircuitPadding option.) Closes ticket 28634.
8411 o Major features (code organization):
8412 - Tor now includes a generic publish-subscribe message-passing
8413 subsystem that we can use to organize intermodule dependencies. We
8414 hope to use this to reduce dependencies between modules that don't
8415 need to be related, and to generally simplify our codebase. Closes
8418 o Major features (controller protocol):
8419 - Controller commands are now parsed using a generalized parsing
8420 subsystem. Previously, each controller command was responsible for
8421 parsing its own input, which led to strange inconsistencies.
8422 Closes ticket 30091.
8424 o Major features (flow control):
8425 - Implement authenticated SENDMEs as detailed in proposal 289. A
8426 SENDME cell now includes the digest of the traffic that it
8427 acknowledges, so that once an end point receives the SENDME, it
8428 can confirm the other side's knowledge of the previous cells that
8429 were sent, and prevent certain types of denial-of-service attacks.
8430 This behavior is controlled by two new consensus parameters: see
8431 the proposal for more details. Fixes ticket 26288.
8433 o Major features (performance):
8434 - Our node selection algorithm now excludes nodes in linear time.
8435 Previously, the algorithm was quadratic, which could slow down
8436 heavily used onion services. Closes ticket 30307.
8438 o Major features (performance, RNG):
8439 - Tor now constructs a fast secure pseudorandom number generator for
8440 each thread, to use when performance is critical. This PRNG is
8441 based on AES-CTR, using a buffering construction similar to
8442 libottery and the (newer) OpenBSD arc4random() code. It
8443 outperforms OpenSSL 1.1.1a's CSPRNG by roughly a factor of 100 for
8444 small outputs. Although we believe it to be cryptographically
8445 strong, we are only using it when necessary for performance.
8446 Implements tickets 29023 and 29536.
8448 o Major bugfixes (onion service v3):
8449 - Fix an unreachable bug in which an introduction point could try to
8450 send an INTRODUCE_ACK with a status code that Trunnel would refuse
8451 to encode, leading the relay to assert(). We've consolidated the
8452 ABI values into Trunnel now. Fixes bug 30454; bugfix
8454 - Clients can now handle unknown status codes from INTRODUCE_ACK
8455 cells. (The NACK behavior will stay the same.) This will allow us
8456 to extend status codes in the future without breaking the normal
8457 client behavior. Fixes another part of bug 30454; bugfix
8460 o Minor features (circuit padding):
8461 - We now use a fast PRNG when scheduling circuit padding. Part of
8463 - Allow the padding machine designer to pick the edges of their
8464 histogram instead of trying to compute them automatically using an
8465 exponential formula. Resolves some undefined behavior in the case
8466 of small histograms and allows greater flexibility on machine
8467 design. Closes ticket 29298; bugfix on 0.4.0.1-alpha.
8468 - Allow circuit padding machines to hold a circuit open until they
8469 are done padding it. Closes ticket 28780.
8471 o Minor features (compile-time modules):
8472 - Add a "--list-modules" command to print a list of which compile-
8473 time modules are enabled. Closes ticket 30452.
8475 o Minor features (continuous integration):
8476 - Remove sudo configuration lines from .travis.yml as they are no
8477 longer needed with current Travis build environment. Resolves
8479 - In Travis, show stem's tor log after failure. Closes ticket 30234.
8481 o Minor features (controller):
8482 - Add onion service version 3 support to the HSFETCH command.
8483 Previously, only version 2 onion services were supported. Closes
8484 ticket 25417. Patch by Neel Chauhan.
8486 o Minor features (debugging):
8487 - Introduce tor_assertf() and tor_assertf_nonfatal() to enable
8488 logging of additional information during assert failure. Now we
8489 can use format strings to include information for trouble
8490 shooting. Resolves ticket 29662.
8492 o Minor features (defense in depth):
8493 - In smartlist_remove_keeporder(), set unused pointers to NULL, in
8494 case a bug causes them to be used later. Closes ticket 30176.
8495 Patch from Tobias Stoeckmann.
8496 - Tor now uses a cryptographically strong PRNG even for decisions
8497 that we do not believe are security-sensitive. Previously, for
8498 performance reasons, we had used a trivially predictable linear
8499 congruential generator algorithm for certain load-balancing and
8500 statistical sampling decisions. Now we use our fast RNG in those
8501 cases. Closes ticket 29542.
8503 o Minor features (developer tools):
8504 - Tor's "practracker" test script now checks for files and functions
8505 that seem too long and complicated. Existing overlong functions
8506 and files are accepted for now, but should eventually be
8507 refactored. Closes ticket 29221.
8508 - Add some scripts used for git maintenance to scripts/git. Closes
8510 - Call practracker from pre-push and pre-commit git hooks to let
8511 developers know if they made any code style violations. Closes
8513 - Add a script to check that each header has a well-formed and
8514 unique guard macro. Closes ticket 29756.
8516 o Minor features (geoip):
8517 - Update geoip and geoip6 to the May 13 2019 Maxmind GeoLite2
8518 Country database. Closes ticket 30522.
8520 o Minor features (HTTP tunnel):
8521 - Return an informative web page when the HTTPTunnelPort is used as
8522 an HTTP proxy. Closes ticket 27821, patch by "eighthave".
8524 o Minor features (IPv6, v3 onion services):
8525 - Make v3 onion services put IPv6 addresses in service descriptors.
8526 Before this change, service descriptors only contained IPv4
8527 addresses. Implements 26992.
8529 o Minor features (modularity):
8530 - The "--disable-module-dirauth" compile-time option now disables
8531 even more dirauth-only code. Closes ticket 30345.
8533 o Minor features (performance):
8534 - Use OpenSSL's implementations of SHA3 when available (in OpenSSL
8535 1.1.1 and later), since they tend to be faster than tiny-keccak.
8536 Closes ticket 28837.
8538 o Minor features (testing):
8539 - Tor's unit test code now contains helper functions to replace the
8540 PRNG with a deterministic or reproducible version for testing.
8541 Previously, various tests implemented this in various ways.
8542 Implements ticket 29732.
8543 - We now have a script, cov-test-determinism.sh, to identify places
8544 where our unit test coverage has become nondeterministic. Closes
8546 - Check that representative subsets of values of `int` and `unsigned
8547 int` can be represented by `void *`. Resolves issue 29537.
8549 o Minor bugfixes (bridge authority):
8550 - Bridge authorities now set bridges as running or non-running when
8551 about to dump their status to a file. Previously, they set bridges
8552 as running in response to a GETINFO command, but those shouldn't
8553 modify data structures. Fixes bug 24490; bugfix on 0.2.0.13-alpha.
8554 Patch by Neel Chauhan.
8556 o Minor bugfixes (channel padding statistics):
8557 - Channel padding write totals and padding-enabled totals are now
8558 counted properly in relay extrainfo descriptors. Fixes bug 29231;
8559 bugfix on 0.3.1.1-alpha.
8561 o Minor bugfixes (circuit padding):
8562 - Add a "CircuitPadding" torrc option to disable circuit padding.
8563 Fixes bug 28693; bugfix on 0.4.0.1-alpha.
8564 - Allow circuit padding machines to specify that they do not
8565 contribute much overhead, and provide consensus flags and torrc
8566 options to force clients to only use these low overhead machines.
8567 Fixes bug 29203; bugfix on 0.4.0.1-alpha.
8568 - Provide a consensus parameter to fully disable circuit padding, to
8569 be used in emergency network overload situations. Fixes bug 30173;
8570 bugfix on 0.4.0.1-alpha.
8571 - The circuit padding subsystem will no longer schedule padding if
8572 dormant mode is enabled. Fixes bug 28636; bugfix on 0.4.0.1-alpha.
8573 - Inspect a circuit-level cell queue before sending padding, to
8574 avoid sending padding while too much data is already queued. Fixes
8575 bug 29204; bugfix on 0.4.0.1-alpha.
8576 - Avoid calling monotime_absolute_usec() in circuit padding machines
8577 that do not use token removal or circuit RTT estimation. Fixes bug
8578 29085; bugfix on 0.4.0.1-alpha.
8580 o Minor bugfixes (compilation, unusual configurations):
8581 - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
8582 due to missing declarations of abort(), and prevent other such
8583 failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
8585 o Minor bugfixes (controller protocol):
8586 - Teach the controller parser to distinguish an object preceded by
8587 an argument list from one without. Previously, it couldn't
8588 distinguish an argument list from the first line of a multiline
8589 object. Fixes bug 29984; bugfix on 0.2.3.8-alpha.
8591 o Minor bugfixes (directory authority, ipv6):
8592 - Directory authorities with IPv6 support now always mark themselves
8593 as reachable via IPv6. Fixes bug 24338; bugfix on 0.2.4.1-alpha.
8594 Patch by Neel Chauhan.
8596 o Minor bugfixes (documentation):
8597 - Improve the documentation for using MapAddress with ".exit". Fixes
8598 bug 30109; bugfix on 0.1.0.1-rc.
8599 - Improve the monotonic time module and function documentation to
8600 explain what "monotonic" actually means, and document some results
8601 that have surprised people. Fixes bug 29640; bugfix
8603 - Use proper formatting when providing an example on quoting options
8604 that contain whitespace. Fixes bug 29635; bugfix on 0.2.3.18-rc.
8606 o Minor bugfixes (logging):
8607 - Do not log a warning when running with an OpenSSL version other
8608 than the one Tor was compiled with, if the two versions should be
8609 compatible. Previously, we would warn whenever the version was
8610 different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
8611 - Warn operators when the MyFamily option is set but ContactInfo is
8612 missing, as the latter should be set too. Fixes bug 25110; bugfix
8615 o Minor bugfixes (memory leak):
8616 - Avoid a minor memory leak that could occur on relays when failing
8617 to create a "keys" directory. Fixes bug 30148; bugfix
8620 o Minor bugfixes (onion services):
8621 - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
8622 implementation) when failing to load an onion service client
8623 authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
8624 - When refusing to launch a controller's HSFETCH request because of
8625 rate-limiting, respond to the controller with a new response,
8626 "QUERY_RATE_LIMITED". Previously, we would log QUERY_NO_HSDIR for
8627 this case. Fixes bug 28269; bugfix on 0.3.1.1-alpha. Patch by
8629 - When relaunching a circuit to a rendezvous service, mark the
8630 circuit as needing high-uptime routers as appropriate. Fixes bug
8631 17357; bugfix on 0.1.0.1-rc. Patch by Neel Chauhan.
8632 - Stop ignoring IPv6 link specifiers sent to v3 onion services.
8633 (IPv6 support for v3 onion services is still incomplete: see
8634 ticket 23493 for details.) Fixes bug 23588; bugfix on
8635 0.3.2.1-alpha. Patch by Neel Chauhan.
8637 o Minor bugfixes (onion services, performance):
8638 - When building circuits to onion services, call tor_addr_parse()
8639 less often. Previously, we called tor_addr_parse() in
8640 circuit_is_acceptable() even if its output wasn't used. This
8641 change should improve performance when building circuits. Fixes
8642 bug 22210; bugfix on 0.2.8.12. Patch by Neel Chauhan.
8644 o Minor bugfixes (performance):
8645 - When checking whether a node is a bridge, use a fast check to make
8646 sure that its identity is set. Previously, we used a constant-time
8647 check, which is not necessary in this case. Fixes bug 30308;
8648 bugfix on 0.3.5.1-alpha.
8650 o Minor bugfixes (pluggable transports):
8651 - Tor now sets TOR_PT_EXIT_ON_STDIN_CLOSE=1 for client transports as
8652 well as servers. Fixes bug 25614; bugfix on 0.2.7.1-alpha.
8654 o Minor bugfixes (probability distributions):
8655 - Refactor and improve parts of the probability distribution code
8656 that made Coverity complain. Fixes bug 29805; bugfix
8659 o Minor bugfixes (python):
8660 - Stop assuming that /usr/bin/python3 exists. For scripts that work
8661 with python2, use /usr/bin/python. Otherwise, use /usr/bin/env
8662 python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
8664 o Minor bugfixes (relay):
8665 - When running as a relay, if IPv6Exit is set to 1 while ExitRelay
8666 is auto, act as if ExitRelay is 1. Previously, we would ignore
8667 IPv6Exit if ExitRelay was 0 or auto. Fixes bug 29613; bugfix on
8668 0.3.5.1-alpha. Patch by Neel Chauhan.
8670 o Minor bugfixes (stats):
8671 - When ExtraInfoStatistics is 0, stop including bandwidth usage
8672 statistics, GeoIPFile hashes, ServerTransportPlugin lines, and
8673 bridge statistics by country in extra-info documents. Fixes bug
8674 29018; bugfix on 0.2.4.1-alpha.
8676 o Minor bugfixes (testing):
8677 - Call setrlimit() to disable core dumps in test_bt_cl.c. Previously
8678 we used `ulimit -c` in test_bt.sh, which violates POSIX shell
8679 compatibility. Fixes bug 29061; bugfix on 0.3.5.1-alpha.
8680 - Fix some incorrect code in the v3 onion service unit tests. Fixes
8681 bug 29243; bugfix on 0.3.2.1-alpha.
8682 - In the "routerkeys/*" tests, check the return values of mkdir()
8683 for possible failures. Fixes bug 29939; bugfix on 0.2.7.2-alpha.
8684 Found by Coverity as CID 1444254.
8685 - Split test_utils_general() into several smaller test functions.
8686 This makes it easier to perform resource deallocation on assert
8687 failure, and fixes Coverity warnings CID 1444117 and CID 1444118.
8688 Fixes bug 29823; bugfix on 0.2.9.1-alpha.
8690 o Minor bugfixes (tor-resolve):
8691 - Fix a memory leak in tor-resolve that could happen if Tor gave it
8692 a malformed SOCKS response. (Memory leaks in tor-resolve don't
8693 actually matter, but it's good to fix them anyway.) Fixes bug
8694 30151; bugfix on 0.4.0.1-alpha.
8696 o Code simplification and refactoring:
8697 - Abstract out the low-level formatting of replies on the control
8698 port. Implements ticket 30007.
8699 - Add several assertions in an attempt to fix some Coverity
8700 warnings. Closes ticket 30149.
8701 - Introduce a connection_dir_buf_add() helper function that checks
8702 for compress_state of dir_connection_t and automatically writes a
8703 string to directory connection with or without compression.
8704 Resolves issue 28816.
8705 - Make the base32_decode() API return the number of bytes written,
8706 for consistency with base64_decode(). Closes ticket 28913.
8707 - Move most relay-only periodic events out of mainloop.c into the
8708 relay subsystem. Closes ticket 30414.
8709 - Refactor and encapsulate parts of the codebase that manipulate
8710 crypt_path_t objects. Resolves issue 30236.
8711 - Refactor several places in our code that Coverity incorrectly
8712 believed might have memory leaks. Closes ticket 30147.
8713 - Remove redundant return values in crypto_format, and the
8714 associated return value checks elsewhere in the code. Make the
8715 implementations in crypto_format consistent, and remove redundant
8716 code. Resolves ticket 29660.
8717 - Rename tor_mem_is_zero() to fast_mem_is_zero(), to emphasize that
8718 it is not a constant-time function. Closes ticket 30309.
8719 - Replace hs_desc_link_specifier_t with link_specifier_t, and remove
8720 all hs_desc_link_specifier_t-specific code. Fixes bug 22781;
8721 bugfix on 0.3.2.1-alpha.
8722 - Simplify v3 onion service link specifier handling code. Fixes bug
8723 23576; bugfix on 0.3.2.1-alpha.
8724 - Split crypto_digest.c into NSS code, OpenSSL code, and shared
8725 code. Resolves ticket 29108.
8726 - Split control.c into several submodules, in preparation for
8727 distributing its current responsibilities throughout the codebase.
8728 Closes ticket 29894.
8729 - Start to move responsibility for knowing about periodic events to
8730 the appropriate subsystems, so that the mainloop doesn't need to
8731 know all the periodic events in the rest of the codebase.
8732 Implements tickets 30293 and 30294.
8735 - Document how to find git commits and tags for bug fixes in
8736 CodingStandards.md. Update some file documentation. Closes
8740 - Remove the linux-tor-prio.sh script from contrib/operator-tools
8741 directory. Resolves issue 29434.
8742 - Remove the obsolete OpenSUSE initscript. Resolves issue 30076.
8743 - Remove the obsolete script at contrib/dist/tor.sh.in. Resolves
8746 o Code simplification and refactoring (shell scripts):
8747 - Clean up many of our shell scripts to fix shellcheck warnings.
8748 These include autogen.sh (ticket 26069), test_keygen.sh (ticket
8749 29062), test_switch_id.sh (ticket 29065), test_rebind.sh (ticket
8750 29063), src/test/fuzz/minimize.sh (ticket 30079), test_rust.sh
8751 (ticket 29064), torify (ticket 29070), asciidoc-helper.sh (29926),
8752 fuzz_multi.sh (30077), fuzz_static_testcases.sh (ticket 29059),
8753 nagios-check-tor-authority-cert (ticket 29071),
8754 src/test/fuzz/fixup_filenames.sh (ticket 30078), test-network.sh
8755 (ticket 29060), test_key_expiration.sh (ticket 30002),
8756 zero_length_keys.sh (ticket 29068), and test_workqueue_*.sh
8759 o Testing (chutney):
8760 - In "make test-network-all", test IPv6-only v3 single onion
8761 services, using the chutney network single-onion-v23-ipv6-md.
8762 Closes ticket 27251.
8765 Changes in version 0.4.0.5 - 2019-05-02
8766 This is the first stable release in the 0.4.0.x series. It contains
8767 improvements for power management and bootstrap reporting, as well as
8768 preliminary backend support for circuit padding to prevent some kinds
8769 of traffic analysis. It also continues our work in refactoring Tor for
8770 long-term maintainability.
8772 Per our support policy, we will support the 0.4.0.x series for nine
8773 months, or until three months after the release of a stable 0.4.1.x:
8774 whichever is longer. If you need longer-term support, please stick
8775 with 0.3.5.x, which will we plan to support until Feb 2022.
8777 Below are the changes since 0.4.0.4-rc. For a complete list of changes
8778 since 0.3.5.7, see the ReleaseNotes file.
8780 o Minor features (continuous integration):
8781 - In Travis, tell timelimit to use stem's backtrace signals, and
8782 launch python directly from timelimit, so python receives the
8783 signals from timelimit, rather than make. Closes ticket 30117.
8785 o Minor features (diagnostic):
8786 - Add more diagnostic log messages in an attempt to solve the issue
8787 of NUL bytes appearing in a microdescriptor cache. Related to
8790 o Minor features (testing):
8791 - Use the approx_time() function when setting the "Expires" header
8792 in directory replies, to make them more testable. Needed for
8795 o Minor bugfixes (rust):
8796 - Abort on panic in all build profiles, instead of potentially
8797 unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
8799 o Minor bugfixes (shellcheck):
8800 - Look for scripts in their correct locations during "make
8801 shellcheck". Previously we had looked in the wrong place during
8802 out-of-tree builds. Fixes bug 30263; bugfix on 0.4.0.1-alpha.
8804 o Minor bugfixes (testing):
8805 - Check the time in the "Expires" header using approx_time(). Fixes
8806 bug 30001; bugfix on 0.4.0.4-rc.
8808 o Minor bugfixes (UI):
8809 - Lower log level of unlink() errors during bootstrap. Fixes bug
8810 29930; bugfix on 0.4.0.1-alpha.
8813 Changes in version 0.4.0.4-rc - 2019-04-11
8814 Tor 0.4.0.4-rc is the first release candidate in its series; it fixes
8815 several bugs from earlier versions, including some that had affected
8816 stability, and one that prevented relays from working with NSS.
8818 o Major bugfixes (NSS, relay):
8819 - When running with NSS, disable TLS 1.2 ciphersuites that use
8820 SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
8821 these ciphersuites don't work -- which caused relays to fail to
8822 handshake with one another when these ciphersuites were enabled.
8823 Fixes bug 29241; bugfix on 0.3.5.1-alpha.
8825 o Minor features (bandwidth authority):
8826 - Make bandwidth authorities ignore relays that are reported in the
8827 bandwidth file with the flag "vote=0". This change allows us to
8828 report unmeasured relays for diagnostic reasons without including
8829 their bandwidth in the bandwidth authorities' vote. Closes
8831 - When a directory authority is using a bandwidth file to obtain the
8832 bandwidth values that will be included in the next vote, serve
8833 this bandwidth file at /tor/status-vote/next/bandwidth. Closes
8836 o Minor features (circuit padding):
8837 - Stop warning about undefined behavior in the probability
8838 distribution tests. Float division by zero may technically be
8839 undefined behavior in C, but it's well defined in IEEE 754.
8840 Partial backport of 29298. Closes ticket 29527; bugfix
8843 o Minor features (continuous integration):
8844 - On Travis Rust builds, cleanup Rust registry and refrain from
8845 caching the "target/" directory to speed up builds. Resolves
8848 o Minor features (dormant mode):
8849 - Add a DormantCanceledByStartup option to tell Tor that it should
8850 treat a startup event as cancelling any previous dormant state.
8851 Integrators should use this option with caution: it should only be
8852 used if Tor is being started because of something that the user
8853 did, and not if Tor is being automatically started in the
8854 background. Closes ticket 29357.
8856 o Minor features (geoip):
8857 - Update geoip and geoip6 to the April 2 2019 Maxmind GeoLite2
8858 Country database. Closes ticket 29992.
8860 o Minor features (NSS, diagnostic):
8861 - Try to log an error from NSS (if there is any) and a more useful
8862 description of our situation if we are using NSS and a call to
8863 SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
8865 o Minor bugfixes (security):
8866 - Fix a potential double free bug when reading huge bandwidth files.
8867 The issue is not exploitable in the current Tor network because
8868 the vulnerable code is only reached when directory authorities
8869 read bandwidth files, but bandwidth files come from a trusted
8870 source (usually the authorities themselves). Furthermore, the
8871 issue is only exploitable in rare (non-POSIX) 32-bit architectures,
8872 which are not used by any of the current authorities. Fixes bug
8873 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
8875 - Verify in more places that we are not about to create a buffer
8876 with more than INT_MAX bytes, to avoid possible OOB access in the
8877 event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
8878 fixed by Tobias Stoeckmann.
8880 o Minor bugfix (continuous integration):
8881 - Reset coverage state on disk after Travis CI has finished. This
8882 should prevent future coverage merge errors from causing the test
8883 suite for the "process" subsystem to fail. The process subsystem
8884 was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
8886 - Terminate test-stem if it takes more than 9.5 minutes to run.
8887 (Travis terminates the job after 10 minutes of no output.)
8888 Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
8890 o Minor bugfixes (bootstrap reporting):
8891 - During bootstrap reporting, correctly distinguish pluggable
8892 transports from plain proxies. Fixes bug 28925; bugfix
8895 o Minor bugfixes (C correctness):
8896 - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
8897 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
8900 o Minor bugfixes (circuitpadding testing):
8901 - Minor tweaks to avoid rare test failures related to timers and
8902 monotonic time. Fixes bug 29500; bugfix on 0.4.0.1-alpha.
8904 o Minor bugfixes (directory authorities):
8905 - Actually include the bandwidth-file-digest line in directory
8906 authority votes. Fixes bug 29959; bugfix on 0.4.0.2-alpha.
8908 o Minor bugfixes (logging):
8909 - On Windows, when errors cause us to reload a consensus from disk,
8910 tell the user that we are retrying at log level "notice".
8911 Previously we only logged this information at "info", which was
8912 confusing because the errors themselves were logged at "warning".
8913 Improves previous fix for 28614. Fixes bug 30004; bugfix
8916 o Minor bugfixes (pluggable transports):
8917 - Restore old behavior when it comes to discovering the path of a
8918 given Pluggable Transport executable file. A change in
8919 0.4.0.1-alpha had broken this behavior on paths containing a
8920 space. Fixes bug 29874; bugfix on 0.4.0.1-alpha.
8922 o Minor bugfixes (testing):
8923 - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
8924 recent test-network.sh to use new chutney features in CI. Fixes
8925 bug 29703; bugfix on 0.2.9.1-alpha.
8926 - Fix a test failure on Windows caused by an unexpected "BUG"
8927 warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
8930 o Minor bugfixes (TLS protocol):
8931 - When classifying a client's selection of TLS ciphers, if the
8932 client ciphers are not yet available, do not cache the result.
8933 Previously, we had cached the unavailability of the cipher list
8934 and never looked again, which in turn led us to assume that the
8935 client only supported the ancient V1 link protocol. This, in turn,
8936 was causing Stem integration tests to stall in some cases. Fixes
8937 bug 30021; bugfix on 0.2.4.8-alpha.
8939 o Code simplification and refactoring:
8940 - Introduce a connection_dir_buf_add() helper function that detects
8941 whether compression is in use, and adds a string accordingly.
8942 Resolves issue 28816.
8943 - Refactor handle_get_next_bandwidth() to use
8944 connection_dir_buf_add(). Implements ticket 29897.
8947 - Clarify that Tor performs stream isolation among *Port listeners
8948 by default. Resolves issue 29121.
8951 Changes in version 0.4.0.3-alpha - 2019-03-22
8952 Tor 0.4.0.3-alpha is the third in its series; it fixes several small
8953 bugs from earlier versions.
8955 o Minor features (address selection):
8956 - Treat the subnet 100.64.0.0/10 as public for some purposes;
8957 private for others. This subnet is the RFC 6598 (Carrier Grade
8958 NAT) IP range, and is deployed by many ISPs as an alternative to
8959 RFC 1918 that does not break existing internal networks. Tor now
8960 blocks SOCKS and control ports on these addresses and warns users
8961 if client ports or ExtORPorts are listening on a RFC 6598 address.
8962 Closes ticket 28525. Patch by Neel Chauhan.
8964 o Minor features (geoip):
8965 - Update geoip and geoip6 to the March 4 2019 Maxmind GeoLite2
8966 Country database. Closes ticket 29666.
8968 o Minor bugfixes (circuitpadding):
8969 - Inspect the circuit-level cell queue before sending padding, to
8970 avoid sending padding when too much data is queued. Fixes bug
8971 29204; bugfix on 0.4.0.1-alpha.
8973 o Minor bugfixes (logging):
8974 - Correct a misleading error message when IPv4Only or IPv6Only is
8975 used but the resolved address can not be interpreted as an address
8976 of the specified IP version. Fixes bug 13221; bugfix on
8977 0.2.3.9-alpha. Patch from Kris Katterjohn.
8978 - Log the correct port number for listening sockets when "auto" is
8979 used to let Tor pick the port number. Previously, port 0 was
8980 logged instead of the actual port number. Fixes bug 29144; bugfix
8981 on 0.3.5.1-alpha. Patch from Kris Katterjohn.
8982 - Stop logging a BUG() warning when Tor is waiting for exit
8983 descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
8985 o Minor bugfixes (memory management):
8986 - Refactor the shared random state's memory management so that it
8987 actually takes ownership of the shared random value pointers.
8988 Fixes bug 29706; bugfix on 0.2.9.1-alpha.
8990 o Minor bugfixes (memory management, testing):
8991 - Stop leaking parts of the shared random state in the shared-random
8992 unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
8994 o Minor bugfixes (pluggable transports):
8995 - Fix an assertion failure crash bug when a pluggable transport is
8996 terminated during the bootstrap phase. Fixes bug 29562; bugfix
8999 o Minor bugfixes (Rust, protover):
9000 - Add a missing "Padding" value to the Rust implementation of
9001 protover. Fixes bug 29631; bugfix on 0.4.0.1-alpha.
9003 o Minor bugfixes (single onion services):
9004 - Allow connections to single onion services to remain idle without
9005 being disconnected. Previously, relays acting as rendezvous points
9006 for single onion services were mistakenly closing idle rendezvous
9007 circuits after 60 seconds, thinking that they were unused
9008 directory-fetching circuits that had served their purpose. Fixes
9009 bug 29665; bugfix on 0.2.1.26.
9011 o Minor bugfixes (stats):
9012 - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
9013 relay and bridge extra-info documents. Fixes bug 29017; bugfix
9016 o Minor bugfixes (testing):
9017 - Downgrade some LOG_ERR messages in the address/* tests to
9018 warnings. The LOG_ERR messages were occurring when we had no
9019 configured network. We were failing the unit tests, because we
9020 backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
9021 29530; bugfix on 0.3.5.8.
9022 - Fix our gcov wrapper script to look for object files at the
9023 correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
9024 - Decrease the false positive rate of stochastic probability
9025 distribution tests. Fixes bug 29693; bugfix on 0.4.0.1-alpha.
9027 o Minor bugfixes (Windows, CI):
9028 - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
9029 Windows Server 2012 R2 job. The remaining 2 jobs still provide
9030 coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
9031 fast_finish, so failed jobs terminate the build immediately. Fixes
9032 bug 29601; bugfix on 0.3.5.4-alpha.
9035 Changes in version 0.3.5.8 - 2019-02-21
9036 Tor 0.3.5.8 backports several fixes from later releases, including fixes
9037 for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x
9040 It also includes a fix for a medium-severity security bug affecting Tor
9041 0.3.2.1-alpha and later. All Tor instances running an affected release
9042 should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
9044 o Major bugfixes (cell scheduler, KIST, security):
9045 - Make KIST consider the outbuf length when computing what it can
9046 put in the outbuf. Previously, KIST acted as though the outbuf
9047 were empty, which could lead to the outbuf becoming too full. It
9048 is possible that an attacker could exploit this bug to cause a Tor
9049 client or relay to run out of memory and crash. Fixes bug 29168;
9050 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
9051 TROVE-2019-001 and CVE-2019-8955.
9053 o Major bugfixes (networking, backport from 0.4.0.2-alpha):
9054 - Gracefully handle empty username/password fields in SOCKS5
9055 username/password auth message and allow SOCKS5 handshake to
9056 continue. Previously, we had rejected these handshakes, breaking
9057 certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
9059 o Minor features (compilation, backport from 0.4.0.2-alpha):
9060 - Compile correctly when OpenSSL is built with engine support
9061 disabled, or with deprecated APIs disabled. Closes ticket 29026.
9062 Patches from "Mangix".
9064 o Minor features (geoip):
9065 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
9066 Country database. Closes ticket 29478.
9068 o Minor features (testing, backport from 0.4.0.2-alpha):
9069 - Treat all unexpected ERR and BUG messages as test failures. Closes
9072 o Minor bugfixes (onion service v3, client, backport from 0.4.0.1-alpha):
9073 - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
9074 connection waiting for a descriptor that we actually have in the
9075 cache. It turns out that this can actually happen, though it is
9076 rare. Now, tor will recover and retry the descriptor. Fixes bug
9077 28669; bugfix on 0.3.2.4-alpha.
9079 o Minor bugfixes (IPv6, backport from 0.4.0.1-alpha):
9080 - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
9081 IPv6 socket was bound using an address family of AF_INET instead
9082 of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
9085 o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
9086 - Update Cargo.lock file to match the version made by the latest
9087 version of Rust, so that "make distcheck" will pass again. Fixes
9088 bug 29244; bugfix on 0.3.3.4-alpha.
9090 o Minor bugfixes (client, clock skew, backport from 0.4.0.1-alpha):
9091 - Select guards even if the consensus has expired, as long as the
9092 consensus is still reasonably live. Fixes bug 24661; bugfix
9095 o Minor bugfixes (compilation, backport from 0.4.0.1-alpha):
9096 - Compile correctly on OpenBSD; previously, we were missing some
9097 headers required in order to detect it properly. Fixes bug 28938;
9098 bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
9100 o Minor bugfixes (documentation, backport from 0.4.0.2-alpha):
9101 - Describe the contents of the v3 onion service client authorization
9102 files correctly: They hold public keys, not private keys. Fixes
9103 bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
9105 o Minor bugfixes (logging, backport from 0.4.0.1-alpha):
9106 - Rework rep_hist_log_link_protocol_counts() to iterate through all
9107 link protocol versions when logging incoming/outgoing connection
9108 counts. Tor no longer skips version 5, and we won't have to
9109 remember to update this function when new link protocol version is
9110 developed. Fixes bug 28920; bugfix on 0.2.6.10.
9112 o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
9113 - Log more information at "warning" level when unable to read a
9114 private key; log more information at "info" level when unable to
9115 read a public key. We had warnings here before, but they were lost
9116 during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
9118 o Minor bugfixes (misc, backport from 0.4.0.2-alpha):
9119 - The amount of total available physical memory is now determined
9120 using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
9121 when it is defined and a 64-bit variant is not available. Fixes
9122 bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
9124 o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
9125 - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
9126 than one private key for a hidden service. Fixes bug 29040; bugfix
9128 - In hs_cache_store_as_client() log an HSDesc we failed to parse at
9129 "debug" level. Tor used to log it as a warning, which caused very
9130 long log lines to appear for some users. Fixes bug 29135; bugfix
9132 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9133 as a warning. Instead, log it as a protocol warning, because there
9134 is nothing that relay operators can do to fix it. Fixes bug 29029;
9135 bugfix on 0.2.5.7-rc.
9137 o Minor bugfixes (tests, directory clients, backport from 0.4.0.1-alpha):
9138 - Mark outdated dirservers when Tor only has a reasonably live
9139 consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
9141 o Minor bugfixes (tests, backport from 0.4.0.2-alpha):
9142 - Detect and suppress "bug" warnings from the util/time test on
9143 Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
9144 - Do not log an error-level message if we fail to find an IPv6
9145 network interface from the unit tests. Fixes bug 29160; bugfix
9148 o Minor bugfixes (usability, backport from 0.4.0.1-alpha):
9149 - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
9150 Some users took this phrasing to mean that the mentioned guard was
9151 under their control or responsibility, which it is not. Fixes bug
9152 28895; bugfix on Tor 0.3.0.1-alpha.
9155 Changes in version 0.3.4.11 - 2019-02-21
9156 Tor 0.3.4.11 is the third stable release in its series. It includes
9157 a fix for a medium-severity security bug affecting Tor 0.3.2.1-alpha and
9158 later. All Tor instances running an affected release should upgrade to
9159 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
9161 o Major bugfixes (cell scheduler, KIST, security):
9162 - Make KIST consider the outbuf length when computing what it can
9163 put in the outbuf. Previously, KIST acted as though the outbuf
9164 were empty, which could lead to the outbuf becoming too full. It
9165 is possible that an attacker could exploit this bug to cause a Tor
9166 client or relay to run out of memory and crash. Fixes bug 29168;
9167 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
9168 TROVE-2019-001 and CVE-2019-8955.
9170 o Minor features (geoip):
9171 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
9172 Country database. Closes ticket 29478.
9174 o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
9175 - Update Cargo.lock file to match the version made by the latest
9176 version of Rust, so that "make distcheck" will pass again. Fixes
9177 bug 29244; bugfix on 0.3.3.4-alpha.
9179 o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
9180 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9181 as a warning. Instead, log it as a protocol warning, because there
9182 is nothing that relay operators can do to fix it. Fixes bug 29029;
9183 bugfix on 0.2.5.7-rc.
9186 Changes in version 0.3.3.12 - 2019-02-21
9187 Tor 0.3.3.12 fixes a medium-severity security bug affecting Tor
9188 0.3.2.1-alpha and later. All Tor instances running an affected release
9189 should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
9191 This release marks the end of support for the Tor 0.3.3.x series. We
9192 recommend that users switch to either the Tor 0.3.4 series (supported
9193 until at least 10 June 2019), or the Tor 0.3.5 series, which will
9194 receive long-term support until at least 1 Feb 2022.
9196 o Major bugfixes (cell scheduler, KIST, security):
9197 - Make KIST consider the outbuf length when computing what it can
9198 put in the outbuf. Previously, KIST acted as though the outbuf
9199 were empty, which could lead to the outbuf becoming too full. It
9200 is possible that an attacker could exploit this bug to cause a Tor
9201 client or relay to run out of memory and crash. Fixes bug 29168;
9202 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
9203 TROVE-2019-001 and CVE-2019-8955.
9205 o Minor features (geoip):
9206 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
9207 Country database. Closes ticket 29478.
9209 o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
9210 - Update Cargo.lock file to match the version made by the latest
9211 version of Rust, so that "make distcheck" will pass again. Fixes
9212 bug 29244; bugfix on 0.3.3.4-alpha.
9214 o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
9215 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9216 as a warning. Instead, log it as a protocol warning, because there
9217 is nothing that relay operators can do to fix it. Fixes bug 29029;
9218 bugfix on 0.2.5.7-rc.
9221 Changes in version 0.4.0.2-alpha - 2019-02-21
9222 Tor 0.4.0.2-alpha is the second alpha in its series; it fixes several
9223 bugs from earlier versions, including several that had broken
9224 backward compatibility.
9226 It also includes a fix for a medium-severity security bug affecting Tor
9227 0.3.2.1-alpha and later. All Tor instances running an affected release
9228 should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
9230 o Major bugfixes (cell scheduler, KIST, security):
9231 - Make KIST consider the outbuf length when computing what it can
9232 put in the outbuf. Previously, KIST acted as though the outbuf
9233 were empty, which could lead to the outbuf becoming too full. It
9234 is possible that an attacker could exploit this bug to cause a Tor
9235 client or relay to run out of memory and crash. Fixes bug 29168;
9236 bugfix on 0.3.2.1-alpha. This issue is also being tracked as
9237 TROVE-2019-001 and CVE-2019-8955.
9239 o Major bugfixes (networking):
9240 - Gracefully handle empty username/password fields in SOCKS5
9241 username/password auth messsage and allow SOCKS5 handshake to
9242 continue. Previously, we had rejected these handshakes, breaking
9243 certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
9245 o Major bugfixes (windows, startup):
9246 - When reading a consensus file from disk, detect whether it was
9247 written in text mode, and re-read it in text mode if so. Always
9248 write consensus files in binary mode so that we can map them into
9249 memory later. Previously, we had written in text mode, which
9250 confused us when we tried to map the file on windows. Fixes bug
9251 28614; bugfix on 0.4.0.1-alpha.
9253 o Minor features (compilation):
9254 - Compile correctly when OpenSSL is built with engine support
9255 disabled, or with deprecated APIs disabled. Closes ticket 29026.
9256 Patches from "Mangix".
9258 o Minor features (developer tooling):
9259 - Check that bugfix versions in changes files look like Tor versions
9260 from the versions spec. Warn when bugfixes claim to be on a future
9261 release. Closes ticket 27761.
9262 - Provide a git pre-commit hook that disallows committing if we have
9263 any failures in our code and changelog formatting checks. It is
9264 now available in scripts/maint/pre-commit.git-hook. Implements
9267 o Minor features (directory authority):
9268 - When a directory authority is using a bandwidth file to obtain
9269 bandwidth values, include the digest of that file in the vote.
9270 Closes ticket 26698.
9272 o Minor features (geoip):
9273 - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
9274 Country database. Closes ticket 29478.
9276 o Minor features (testing):
9277 - Treat all unexpected ERR and BUG messages as test failures. Closes
9280 o Minor bugfixes (build, compatibility, rust):
9281 - Update Cargo.lock file to match the version made by the latest
9282 version of Rust, so that "make distcheck" will pass again. Fixes
9283 bug 29244; bugfix on 0.3.3.4-alpha.
9285 o Minor bugfixes (compilation):
9286 - Fix compilation warnings in test_circuitpadding.c. Fixes bug
9287 29169; bugfix on 0.4.0.1-alpha.
9288 - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
9289 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
9291 o Minor bugfixes (documentation):
9292 - Describe the contents of the v3 onion service client authorization
9293 files correctly: They hold public keys, not private keys. Fixes
9294 bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
9296 o Minor bugfixes (linux seccomp sandbox):
9297 - Fix startup crash when experimental sandbox support is enabled.
9298 Fixes bug 29150; bugfix on 0.4.0.1-alpha. Patch by Peter Gerber.
9300 o Minor bugfixes (logging):
9301 - Avoid logging that we are relaxing a circuit timeout when that
9302 timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
9303 - Log more information at "warning" level when unable to read a
9304 private key; log more information at "info" level when unable to
9305 read a public key. We had warnings here before, but they were lost
9306 during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
9308 o Minor bugfixes (misc):
9309 - The amount of total available physical memory is now determined
9310 using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
9311 when it is defined and a 64-bit variant is not available. Fixes
9312 bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
9314 o Minor bugfixes (onion services):
9315 - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
9316 than one private key for a hidden service. Fixes bug 29040; bugfix
9318 - In hs_cache_store_as_client() log an HSDesc we failed to parse at
9319 "debug" level. Tor used to log it as a warning, which caused very
9320 long log lines to appear for some users. Fixes bug 29135; bugfix
9322 - Stop logging "Tried to establish rendezvous on non-OR circuit..."
9323 as a warning. Instead, log it as a protocol warning, because there
9324 is nothing that relay operators can do to fix it. Fixes bug 29029;
9325 bugfix on 0.2.5.7-rc.
9327 o Minor bugfixes (scheduler):
9328 - When re-adding channels to the pending list, check the correct
9329 channel's sched_heap_idx. This issue has had no effect in mainline
9330 Tor, but could have led to bugs down the road in improved versions
9331 of our circuit scheduling code. Fixes bug 29508; bugfix
9334 o Minor bugfixes (tests):
9335 - Fix intermittent failures on an adaptive padding test. Fixes one
9336 case of bug 29122; bugfix on 0.4.0.1-alpha.
9337 - Disable an unstable circuit-padding test that was failing
9338 intermittently because of an ill-defined small histogram. Such
9339 histograms will be allowed again after 29298 is implemented. Fixes
9340 a second case of bug 29122; bugfix on 0.4.0.1-alpha.
9341 - Detect and suppress "bug" warnings from the util/time test on
9342 Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
9343 - Do not log an error-level message if we fail to find an IPv6
9344 network interface from the unit tests. Fixes bug 29160; bugfix
9348 - In the manpage entry describing MapAddress torrc setting, use
9349 example IP addresses from ranges specified for use in documentation
9350 by RFC 5737. Resolves issue 28623.
9353 - Remove the old check-tor script. Resolves issue 29072.
9356 Changes in version 0.4.0.1-alpha - 2019-01-18
9357 Tor 0.4.0.1-alpha is the first release in the new 0.4.0.x series. It
9358 introduces improved features for power and bandwidth conservation,
9359 more accurate reporting of bootstrap progress for user interfaces, and
9360 an experimental backend for an exciting new adaptive padding feature.
9361 There is also the usual assortment of bugfixes and minor features, all
9364 o Major features (battery management, client, dormant mode):
9365 - When Tor is running as a client, and it is unused for a long time,
9366 it can now enter a "dormant" state. When Tor is dormant, it avoids
9367 network and CPU activity until it is reawoken either by a user
9368 request or by a controller command. For more information, see the
9369 configuration options starting with "Dormant". Implements tickets
9371 - The client's memory of whether it is "dormant", and how long it
9372 has spent idle, persists across invocations. Implements
9374 - There is a DormantOnFirstStartup option that integrators can use
9375 if they expect that in many cases, Tor will be installed but
9378 o Major features (bootstrap reporting):
9379 - When reporting bootstrap progress, report the first connection
9380 uniformly, regardless of whether it's a connection for building
9381 application circuits. This allows finer-grained reporting of early
9382 progress than previously possible, with the improvements of ticket
9383 27169. Closes tickets 27167 and 27103. Addresses ticket 27308.
9384 - When reporting bootstrap progress, treat connecting to a proxy or
9385 pluggable transport as separate from having successfully used that
9386 proxy or pluggable transport to connect to a relay. Closes tickets
9389 o Major features (circuit padding):
9390 - Implement preliminary support for the circuit padding portion of
9391 Proposal 254. The implementation supports Adaptive Padding (aka
9392 WTF-PAD) state machines for use between experimental clients and
9393 relays. Support is also provided for APE-style state machines that
9394 use probability distributions instead of histograms to specify
9395 inter-packet delay. At the moment, Tor does not provide any
9396 padding state machines that are used in normal operation: for now,
9397 this feature exists solely for experimentation. Closes
9400 o Major features (refactoring):
9401 - Tor now uses an explicit list of its own subsystems when
9402 initializing and shutting down. Previously, these systems were
9403 managed implicitly in various places throughout the codebase.
9404 (There may still be some subsystems using the old system.) Closes
9407 o Minor features (bootstrap reporting):
9408 - When reporting bootstrap progress, stop distinguishing between
9409 situations where only internal paths are available and situations
9410 where external paths are available. Previously, Tor would often
9411 erroneously report that it had only internal paths. Closes
9414 o Minor features (continuous integration):
9415 - Log Python version during each Travis CI job. Resolves
9418 o Minor features (controller):
9419 - Add a DROPOWNERSHIP command to undo the effects of TAKEOWNERSHIP.
9420 Implements ticket 28843.
9422 o Minor features (developer tooling):
9423 - Provide a git hook script to prevent "fixup!" and "squash!"
9424 commits from ending up in the master branch, as scripts/main/pre-
9425 push.git-hook. Closes ticket 27993.
9427 o Minor features (directory authority):
9428 - Directory authorities support a new consensus algorithm, under
9429 which the family lines in microdescriptors are encoded in a
9430 canonical form. This change makes family lines more compressible
9431 in transit, and on the client. Closes ticket 28266; implements
9434 o Minor features (directory authority, relay):
9435 - Authorities now vote on a "StaleDesc" flag to indicate that a
9436 relay's descriptor is so old that the relay should upload again
9437 soon. Relays treat this flag as a signal to upload a new
9438 descriptor. This flag will eventually let us remove the
9439 'published' date from routerstatus entries, and make our consensus
9440 diffs much smaller. Closes ticket 26770; implements proposal 293.
9442 o Minor features (fallback directory mirrors):
9443 - Update the fallback whitelist based on operator opt-ins and opt-
9444 outs. Closes ticket 24805, patch by Phoul.
9446 o Minor features (FreeBSD):
9447 - On FreeBSD-based systems, warn relay operators if the
9448 "net.inet.ip.random_id" sysctl (IP ID randomization) is disabled.
9449 Closes ticket 28518.
9451 o Minor features (HTTP standards compliance):
9452 - Stop sending the header "Content-type: application/octet-stream"
9453 along with transparently compressed documents: this confused
9454 browsers. Closes ticket 28100.
9456 o Minor features (IPv6):
9457 - We add an option ClientAutoIPv6ORPort, to make clients randomly
9458 prefer a node's IPv4 or IPv6 ORPort. The random preference is set
9459 every time a node is loaded from a new consensus or bridge config.
9460 We expect that this option will enable clients to bootstrap more
9461 quickly without having to determine whether they support IPv4,
9462 IPv6, or both. Closes ticket 27490. Patch by Neel Chauhan.
9463 - When using addrs_in_same_network_family(), avoid choosing circuit
9464 paths that pass through the same IPv6 subnet more than once.
9465 Previously, we only checked IPv4 subnets. Closes ticket 24393.
9466 Patch by Neel Chauhan.
9468 o Minor features (log messages):
9469 - Improve log message in v3 onion services that could print out
9470 negative revision counters. Closes ticket 27707. Patch
9473 o Minor features (memory usage):
9474 - Save memory by storing microdescriptor family lists with a more
9475 compact representation. Closes ticket 27359.
9476 - Tor clients now use mmap() to read consensus files from disk, so
9477 that they no longer need keep the full text of a consensus in
9478 memory when parsing it or applying a diff. Closes ticket 27244.
9480 o Minor features (parsing):
9481 - Directory authorities now validate that router descriptors and
9482 ExtraInfo documents are in a valid subset of UTF-8, and reject
9483 them if they are not. Closes ticket 27367.
9485 o Minor features (performance):
9486 - Cache the results of summarize_protocol_flags(), so that we don't
9487 have to parse the same protocol-versions string over and over.
9488 This should save us a huge number of malloc calls on startup, and
9489 may reduce memory fragmentation with some allocators. Closes
9491 - Remove a needless memset() call from get_token_arguments, thereby
9492 speeding up the tokenization of directory objects by about 20%.
9493 Closes ticket 28852.
9494 - Replace parse_short_policy() with a faster implementation, to
9495 improve microdescriptor parsing time. Closes ticket 28853.
9496 - Speed up directory parsing a little by avoiding use of the non-
9497 inlined strcmp_len() function. Closes ticket 28856.
9498 - Speed up microdescriptor parsing by about 30%, to help improve
9499 startup time. Closes ticket 28839.
9501 o Minor features (pluggable transports):
9502 - Add support for emitting STATUS updates to Tor's control port from
9503 a pluggable transport process. Closes ticket 28846.
9504 - Add support for logging to Tor's logging subsystem from a
9505 pluggable transport process. Closes ticket 28180.
9507 o Minor features (process management):
9508 - Add a new process API for handling child processes. This new API
9509 allows Tor to have bi-directional communication with child
9510 processes on both Unix and Windows. Closes ticket 28179.
9511 - Use the subsystem manager to initialize and shut down the process
9512 module. Closes ticket 28847.
9514 o Minor features (relay):
9515 - When listing relay families, list them in canonical form including
9516 the relay's own identity, and try to give a more useful set of
9517 warnings. Part of ticket 28266 and proposal 298.
9519 o Minor features (required protocols):
9520 - Before exiting because of a missing required protocol, Tor will
9521 now check the publication time of the consensus, and not exit
9522 unless the consensus is newer than the Tor program's own release
9523 date. Previously, Tor would not check the consensus publication
9524 time, and so might exit because of a missing protocol that might
9525 no longer be required in a current consensus. Implements proposal
9526 297; closes ticket 27735.
9528 o Minor features (testing):
9529 - Allow a HeartbeatPeriod of less than 30 minutes in testing Tor
9530 networks. Closes ticket 28840. Patch by Rob Jansen.
9532 o Minor bugfixes (client, clock skew):
9533 - Bootstrap successfully even when Tor's clock is behind the clocks
9534 on the authorities. Fixes bug 28591; bugfix on 0.2.0.9-alpha.
9535 - Select guards even if the consensus has expired, as long as the
9536 consensus is still reasonably live. Fixes bug 24661; bugfix
9539 o Minor bugfixes (compilation):
9540 - Compile correctly on OpenBSD; previously, we were missing some
9541 headers required in order to detect it properly. Fixes bug 28938;
9542 bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
9544 o Minor bugfixes (directory clients):
9545 - Mark outdated dirservers when Tor only has a reasonably live
9546 consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
9548 o Minor bugfixes (directory mirrors):
9549 - Even when a directory mirror's clock is behind the clocks on the
9550 authorities, we now allow the mirror to serve "future"
9551 consensuses. Fixes bug 28654; bugfix on 0.3.0.1-alpha.
9553 o Minor bugfixes (DNS):
9554 - Gracefully handle an empty or absent resolve.conf file by falling
9555 back to using "localhost" as a DNS server (and hoping it works).
9556 Previously, we would just stop running as an exit. Fixes bug
9557 21900; bugfix on 0.2.1.10-alpha.
9559 o Minor bugfixes (guards):
9560 - In count_acceptable_nodes(), the minimum number is now one bridge
9561 or guard node, and two non-guard nodes for a circuit. Previously,
9562 we had added up the sum of all nodes with a descriptor, but that
9563 could cause us to build failing circuits when we had either too
9564 many bridges or not enough guard nodes. Fixes bug 25885; bugfix on
9565 0.2.3.1-alpha. Patch by Neel Chauhan.
9567 o Minor bugfixes (IPv6):
9568 - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
9569 IPv6 socket was bound using an address family of AF_INET instead
9570 of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
9573 o Minor bugfixes (logging):
9574 - Rework rep_hist_log_link_protocol_counts() to iterate through all
9575 link protocol versions when logging incoming/outgoing connection
9576 counts. Tor no longer skips version 5, and we won't have to
9577 remember to update this function when new link protocol version is
9578 developed. Fixes bug 28920; bugfix on 0.2.6.10.
9580 o Minor bugfixes (networking):
9581 - Introduce additional checks into tor_addr_parse() to reject
9582 certain incorrect inputs that previously were not detected. Fixes
9583 bug 23082; bugfix on 0.2.0.10-alpha.
9585 o Minor bugfixes (onion service v3, client):
9586 - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
9587 connection waiting for a descriptor that we actually have in the
9588 cache. It turns out that this can actually happen, though it is
9589 rare. Now, tor will recover and retry the descriptor. Fixes bug
9590 28669; bugfix on 0.3.2.4-alpha.
9592 o Minor bugfixes (periodic events):
9593 - Refrain from calling routerlist_remove_old_routers() from
9594 check_descriptor_callback(). Instead, create a new hourly periodic
9595 event. Fixes bug 27929; bugfix on 0.2.8.1-alpha.
9597 o Minor bugfixes (pluggable transports):
9598 - Make sure that data is continously read from standard output and
9599 standard error pipes of a pluggable transport child-process, to
9600 avoid deadlocking when a pipe's buffer is full. Fixes bug 26360;
9601 bugfix on 0.2.3.6-alpha.
9603 o Minor bugfixes (unit tests):
9604 - Instead of relying on hs_free_all() to clean up all onion service
9605 objects in test_build_descriptors(), we now deallocate them one by
9606 one. This lets Coverity know that we are not leaking memory there
9607 and fixes CID 1442277. Fixes bug 28989; bugfix on 0.3.5.1-alpha.
9609 o Minor bugfixes (usability):
9610 - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
9611 Some users took this phrasing to mean that the mentioned guard was
9612 under their control or responsibility, which it is not. Fixes bug
9613 28895; bugfix on Tor 0.3.0.1-alpha.
9615 o Code simplification and refactoring:
9616 - Reimplement NETINFO cell parsing and generation to rely on
9617 trunnel-generated wire format handling code. Closes ticket 27325.
9618 - Remove unnecessary unsafe code from the Rust macro "cstr!". Closes
9620 - Rework SOCKS wire format handling to rely on trunnel-generated
9621 parsing/generation code. Resolves ticket 27620.
9622 - Split out bootstrap progress reporting from control.c into a
9623 separate file. Part of ticket 27402.
9624 - The .may_include files that we use to describe our directory-by-
9625 directory dependency structure now describe a noncircular
9626 dependency graph over the directories that they cover. Our
9627 checkIncludes.py tool now enforces this noncircularity. Closes
9631 - Mention that you cannot add a new onion service if Tor is already
9632 running with Sandbox enabled. Closes ticket 28560.
9633 - Improve ControlPort documentation. Mention that it accepts
9634 address:port pairs, and can be used multiple times. Closes
9636 - Document the exact output of "tor --version". Closes ticket 28889.
9639 - Stop responding to the 'GETINFO status/version/num-concurring' and
9640 'GETINFO status/version/num-versioning' control port commands, as
9641 those were deprecated back in 0.2.0.30. Also stop listing them in
9642 output of 'GETINFO info/names'. Resolves ticket 28757.
9643 - The scripts used to generate and maintain the list of fallback
9644 directories have been extracted into a new "fallback-scripts"
9645 repository. Closes ticket 27914.
9648 - Run shellcheck for scripts in the in scripts/ directory. Closes
9650 - Add unit tests for tokenize_string() and get_next_token()
9651 functions. Resolves ticket 27625.
9653 o Code simplification and refactoring (onion service v3):
9654 - Consolidate the authorized client descriptor cookie computation
9655 code from client and service into one function. Closes
9658 o Code simplification and refactoring (shell scripts):
9659 - Cleanup scan-build.sh to silence shellcheck warnings. Closes
9661 - Fix issues that shellcheck found in chutney-git-bisect.sh.
9662 Resolves ticket 28006.
9663 - Fix issues that shellcheck found in updateRustDependencies.sh.
9664 Resolves ticket 28012.
9665 - Fix shellcheck warnings in cov-diff script. Resolves issue 28009.
9666 - Fix shellcheck warnings in run_calltool.sh. Resolves ticket 28011.
9667 - Fix shellcheck warnings in run_trunnel.sh. Resolves issue 28010.
9668 - Fix shellcheck warnings in scripts/test/coverage. Resolves
9672 Changes in version 0.3.3.11 - 2019-01-07
9673 Tor 0.3.3.11 backports numerous fixes from later versions of Tor.
9674 numerous fixes, including an important fix for anyone using OpenSSL
9675 1.1.1. Anyone running an earlier version of Tor 0.3.3 should upgrade
9676 to this version, or to a later series.
9678 As a reminder, support the Tor 0.3.3 series will end on 22 Feb 2019.
9679 We anticipate that this will be the last release of Tor 0.3.3, unless
9680 some major bug is before then. Some time between now and then, users
9681 should switch to either the Tor 0.3.4 series (supported until at least
9682 10 June 2019), or the Tor 0.3.5 series, which will receive long-term
9683 support until at least 1 Feb 2022.
9685 o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
9686 - Fix our usage of named groups when running as a TLS 1.3 client in
9687 OpenSSL 1.1.1. Previously, we only initialized EC groups when
9688 running as a relay, which caused clients to fail to negotiate TLS
9689 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
9692 o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
9693 - Fix a use-after-free error that could be caused by passing Tor an
9694 impossible set of options that would fail during options_act().
9695 Fixes bug 27708; bugfix on 0.3.3.1-alpha.
9697 o Minor features (continuous integration, backport from 0.3.5.1-alpha):
9698 - Only run one online rust build in Travis, to reduce network
9699 errors. Skip offline rust builds on Travis for Linux gcc, because
9700 they're redundant. Implements ticket 27252.
9701 - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
9702 duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
9703 Linux with default settings, because all the non-default builds
9704 use gcc on Linux. Implements ticket 27252.
9706 o Minor features (continuous integration, backport from 0.3.5.3-alpha):
9707 - Use the Travis Homebrew addon to install packages on macOS during
9708 Travis CI. The package list is the same, but the Homebrew addon
9709 does not do a `brew update` by default. Implements ticket 27738.
9711 o Minor features (fallback directory list, backport from 0.3.5.6-rc):
9712 - Replace the 150 fallbacks originally introduced in Tor
9713 0.3.3.1-alpha in January 2018 (of which ~115 were still
9714 functional), with a list of 157 fallbacks (92 new, 65 existing, 85
9715 removed) generated in December 2018. Closes ticket 24803.
9717 o Minor features (geoip):
9718 - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
9719 Country database. Closes ticket 29012.
9721 o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
9722 - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
9723 key export function from handling long labels. When this bug is
9724 detected, Tor will disable TLS 1.3. We recommend upgrading to a
9725 version of OpenSSL without this bug when it becomes available.
9726 Closes ticket 28973.
9728 o Minor bugfixes (relay statistics, backport from 0.3.5.7):
9729 - Update relay descriptor on bandwidth changes only when the uptime
9730 is smaller than 24h, in order to reduce the efficiency of guard
9731 discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
9733 o Minor bugfixes (C correctness, backport from 0.3.5.4-alpha):
9734 - Avoid undefined behavior in an end-of-string check when parsing
9735 the BEGIN line in a directory object. Fixes bug 28202; bugfix
9738 o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
9739 - Rewrite our assertion macros so that they no longer suppress the
9740 compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
9742 o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
9743 - Initialize a variable unconditionally in aes_new_cipher(), since
9744 some compilers cannot tell that we always initialize it before
9745 use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
9747 o Minor bugfixes (directory authority, backport from 0.3.5.4-alpha):
9748 - Log additional info when we get a relay that shares an ed25519 ID
9749 with a different relay, instead making a BUG() warning. Fixes bug
9750 27800; bugfix on 0.3.2.1-alpha.
9752 o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
9753 - When a user requests a group-readable DataDirectory, give it to
9754 them. Previously, when the DataDirectory and the CacheDirectory
9755 were the same, the default setting (0) for
9756 CacheDirectoryGroupReadable would override the setting for
9757 DataDirectoryGroupReadable. Fixes bug 26913; bugfix
9760 o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
9761 - When the onion service directory can't be created or has the wrong
9762 permissions, do not log a stack trace. Fixes bug 27335; bugfix
9765 o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
9766 - Close all SOCKS request (for the same .onion) if the newly fetched
9767 descriptor is unusable. Before that, we would close only the first
9768 one leaving the other hanging and let to time out by themselves.
9769 Fixes bug 27410; bugfix on 0.3.2.1-alpha.
9771 o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
9772 - Don't warn so loudly when Tor is unable to decode an onion
9773 descriptor. This can now happen as a normal use case if a client
9774 gets a descriptor with client authorization but the client is not
9775 authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
9777 o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
9778 - When deleting an ephemeral onion service (DEL_ONION), do not close
9779 any rendezvous circuits in order to let the existing client
9780 connections finish by themselves or closed by the application. The
9781 HS v2 is doing that already so now we have the same behavior for
9782 all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
9784 o Minor bugfixes (HTTP tunnel):
9785 - Fix a bug warning when closing an HTTP tunnel connection due to
9786 an HTTP request we couldn't handle. Fixes bug 26470; bugfix on
9789 o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
9790 - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
9791 bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
9793 o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
9794 - Ensure circuitmux queues are empty before scheduling or sending
9795 padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
9797 o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
9798 - Reject protocol names containing bytes other than alphanumeric
9799 characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
9802 o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
9803 - Compute protover votes correctly in the rust version of the
9804 protover code. Previously, the protover rewrite in 24031 allowed
9805 repeated votes from the same voter for the same protocol version
9806 to be counted multiple times in protover_compute_vote(). Fixes bug
9807 27649; bugfix on 0.3.3.5-rc.
9808 - Reject protover names that contain invalid characters. Fixes bug
9809 27687; bugfix on 0.3.3.1-alpha.
9811 o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
9812 - protover_all_supported() would attempt to allocate up to 16GB on
9813 some inputs, leading to a potential memory DoS. Fixes bug 27206;
9814 bugfix on 0.3.3.5-rc.
9816 o Minor bugfixes (rust, backport from 0.3.5.4-alpha):
9817 - Fix a potential null dereference in protover_all_supported(). Add
9818 a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
9819 - Return a string that can be safely freed by C code, not one
9820 created by the rust allocator, in protover_all_supported(). Fixes
9821 bug 27740; bugfix on 0.3.3.1-alpha.
9822 - Fix an API mismatch in the rust implementation of
9823 protover_compute_vote(). This bug could have caused crashes on any
9824 directory authorities running Tor with Rust (which we do not yet
9825 recommend). Fixes bug 27741; bugfix on 0.3.3.6.
9827 o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
9828 - If a unit test running in a subprocess exits abnormally or with a
9829 nonzero status code, treat the test as having failed, even if the
9830 test reported success. Without this fix, memory leaks don't cause
9831 the tests to fail, even with LeakSanitizer. Fixes bug 27658;
9832 bugfix on 0.2.2.4-alpha.
9834 o Minor bugfixes (testing, backport from 0.3.5.4-alpha):
9835 - Treat backtrace test failures as expected on BSD-derived systems
9836 (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
9837 (FreeBSD failures have been treated as expected since 18204 in
9838 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
9840 o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
9841 - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
9842 bugfix on 0.3.0.1-alpha.
9845 Changes in version 0.3.4.10 - 2019-01-07
9846 Tor 0.3.4.9 is the second stable release in its series; it backports
9847 numerous fixes, including an important fix for relays, and for anyone
9848 using OpenSSL 1.1.1. Anyone running an earlier version of Tor 0.3.4
9851 As a reminder, the Tor 0.3.4 series will be supported until 10 June
9852 2019. Some time between now and then, users should switch to the Tor
9853 0.3.5 series, which will receive long-term support until at least 1
9856 o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
9857 - Fix our usage of named groups when running as a TLS 1.3 client in
9858 OpenSSL 1.1.1. Previously, we only initialized EC groups when
9859 running as a relay, which caused clients to fail to negotiate TLS
9860 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
9863 o Major bugfixes (relay, directory, backport from 0.3.5.7):
9864 - Always reactivate linked connections in the main loop so long as
9865 any linked connection has been active. Previously, connections
9866 serving directory information wouldn't get reactivated after the
9867 first chunk of data was sent (usually 32KB), which would prevent
9868 clients from bootstrapping. Fixes bug 28912; bugfix on
9869 0.3.4.1-alpha. Patch by "cypherpunks3".
9871 o Minor features (continuous integration, Windows, backport from 0.3.5.6-rc):
9872 - Always show the configure and test logs, and upload them as build
9873 artifacts, when building for Windows using Appveyor CI.
9876 o Minor features (controller, backport from 0.3.5.1-alpha):
9877 - For purposes of CIRC_BW-based dropped cell detection, track half-
9878 closed stream ids, and allow their ENDs, SENDMEs, DATA and path
9879 bias check cells to arrive without counting it as dropped until
9880 either the END arrives, or the windows are empty. Closes
9883 o Minor features (fallback directory list, backport from 0.3.5.6-rc):
9884 - Replace the 150 fallbacks originally introduced in Tor
9885 0.3.3.1-alpha in January 2018 (of which ~115 were still
9886 functional), with a list of 157 fallbacks (92 new, 65 existing, 85
9887 removed) generated in December 2018. Closes ticket 24803.
9889 o Minor features (geoip):
9890 - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
9891 Country database. Closes ticket 28395.
9893 o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
9894 - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
9895 key export function from handling long labels. When this bug is
9896 detected, Tor will disable TLS 1.3. We recommend upgrading to a
9897 version of OpenSSL without this bug when it becomes available.
9898 Closes ticket 28973.
9900 o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
9901 - Initialize a variable unconditionally in aes_new_cipher(), since
9902 some compilers cannot tell that we always initialize it before
9903 use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
9905 o Minor bugfixes (connection, relay, backport from 0.3.5.5-alpha):
9906 - Avoid a logging a BUG() stacktrace when closing connection held
9907 open because the write side is rate limited but not the read side.
9908 Now, the connection read side is simply shut down until Tor is
9909 able to flush the connection and close it. Fixes bug 27750; bugfix
9912 o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.5-alpha):
9913 - Manually configure the zstd compiler options, when building using
9914 mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
9915 not come with a pkg-config file. Fixes bug 28454; bugfix
9917 - Stop using an external OpenSSL install, and stop installing MSYS2
9918 packages, when building using mingw on Appveyor Windows CI. Fixes
9919 bug 28399; bugfix on 0.3.4.1-alpha.
9921 o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.6-rc):
9922 - Explicitly specify the path to the OpenSSL library and do not
9923 download OpenSSL from Pacman, but instead use the library that is
9924 already provided by AppVeyor. Fixes bug 28574; bugfix on master.
9926 o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
9927 - When a user requests a group-readable DataDirectory, give it to
9928 them. Previously, when the DataDirectory and the CacheDirectory
9929 were the same, the default setting (0) for
9930 CacheDirectoryGroupReadable would override the setting for
9931 DataDirectoryGroupReadable. Fixes bug 26913; bugfix
9934 o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
9935 - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
9936 bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
9938 o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
9939 - Don't warn so loudly when Tor is unable to decode an onion
9940 descriptor. This can now happen as a normal use case if a client
9941 gets a descriptor with client authorization but the client is not
9942 authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
9944 o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
9945 - When deleting an ephemeral onion service (DEL_ONION), do not close
9946 any rendezvous circuits in order to let the existing client
9947 connections finish by themselves or closed by the application. The
9948 HS v2 is doing that already so now we have the same behavior for
9949 all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
9951 o Minor bugfixes (relay statistics, backport from 0.3.5.7):
9952 - Update relay descriptor on bandwidth changes only when the uptime
9953 is smaller than 24h, in order to reduce the efficiency of guard
9954 discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
9956 o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
9957 - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
9958 bugfix on 0.3.0.1-alpha.
9961 Changes in version 0.3.5.7 - 2019-01-07
9962 Tor 0.3.5.7 is the first stable release in its series; it includes
9963 compilation and portability fixes, and a fix for a severe problem
9964 affecting directory caches.
9966 The Tor 0.3.5 series includes several new features and performance
9967 improvements, including client authorization for v3 onion services,
9968 cleanups to bootstrap reporting, support for improved bandwidth-
9969 measurement tools, experimental support for NSS in place of OpenSSL,
9970 and much more. It also begins a full reorganization of Tor's code
9971 layout, for improved modularity and maintainability in the future.
9972 Finally, there is the usual set of performance improvements and
9973 bugfixes that we try to do in every release series.
9975 There are a couple of changes in the 0.3.5 that may affect
9976 compatibility. First, the default version for newly created onion
9977 services is now v3. Use the HiddenServiceVersion option if you want to
9978 override this. Second, some log messages related to bootstrapping have
9979 changed; if you use stem, you may need to update to the latest version
9980 so it will recognize them.
9982 We have designated 0.3.5 as a "long-term support" (LTS) series: we
9983 will continue to patch major bugs in typical configurations of 0.3.5
9984 until at least 1 Feb 2022. (We do not plan to provide long-term
9985 support for embedding, Rust support, NSS support, running a directory
9986 authority, or unsupported platforms. For these, you will need to stick
9987 with the latest stable release.)
9989 Below are the changes since 0.3.5.6-rc. For a complete list of changes
9990 since 0.3.4.9, see the ReleaseNotes file.
9992 o Major bugfixes (relay, directory):
9993 - Always reactivate linked connections in the main loop so long as
9994 any linked connection has been active. Previously, connections
9995 serving directory information wouldn't get reactivated after the
9996 first chunk of data was sent (usually 32KB), which would prevent
9997 clients from bootstrapping. Fixes bug 28912; bugfix on
9998 0.3.4.1-alpha. Patch by "cypherpunks3".
10000 o Minor features (compilation):
10001 - When possible, place our warning flags in a separate file, to
10002 avoid flooding verbose build logs. Closes ticket 28924.
10004 o Minor features (geoip):
10005 - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
10006 Country database. Closes ticket 29012.
10008 o Minor features (OpenSSL bug workaround):
10009 - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
10010 key export function from handling long labels. When this bug is
10011 detected, Tor will disable TLS 1.3. We recommend upgrading to a
10012 version of OpenSSL without this bug when it becomes available.
10013 Closes ticket 28973.
10015 o Minor features (performance):
10016 - Remove about 96% of the work from the function that we run at
10017 startup to test our curve25519_basepoint implementation. Since
10018 this function has yet to find an actual failure, we now only run
10019 it for 8 iterations instead of 200. Based on our profile
10020 information, this change should save around 8% of our startup time
10021 on typical desktops, and may have a similar effect on other
10022 platforms. Closes ticket 28838.
10023 - Stop re-validating our hardcoded Diffie-Hellman parameters on
10024 every startup. Doing this wasted time and cycles, especially on
10025 low-powered devices. Closes ticket 28851.
10027 o Minor bugfixes (compilation):
10028 - Fix compilation for Android by adding a missing header to
10029 freespace.c. Fixes bug 28974; bugfix on 0.3.5.1-alpha.
10031 o Minor bugfixes (correctness):
10032 - Fix an unreached code path where we checked the value of
10033 "hostname" inside send_resolved_hostname_cell(). Previously, we
10034 used it before checking it; now we check it first. Fixes bug
10035 28879; bugfix on 0.1.2.7-alpha.
10037 o Minor bugfixes (testing):
10038 - Make sure that test_rebind.py actually obeys its timeout, even
10039 when it receives a large number of log messages. Fixes bug 28883;
10040 bugfix on 0.3.5.4-alpha.
10041 - Stop running stem's unit tests as part of "make test-stem", but
10042 continue to run stem's unit and online tests during "make test-
10043 stem-full". Fixes bug 28568; bugfix on 0.2.6.3-alpha.
10045 o Minor bugfixes (windows services):
10046 - Make Tor start correctly as an NT service again: previously it was
10047 broken by refactoring. Fixes bug 28612; bugfix on 0.3.5.3-alpha.
10049 o Code simplification and refactoring:
10050 - When parsing a port configuration, make it more obvious to static
10051 analyzer tools that we always initialize the address. Closes
10055 Changes in version 0.3.5.6-rc - 2018-12-18
10056 Tor 0.3.5.6-rc fixes numerous small bugs in earlier versions of Tor.
10057 It is the first release candidate in the 0.3.5.x series; if no further
10058 huge bugs are found, our next release may be the stable 0.3.5.x.
10060 o Minor features (continuous integration, Windows):
10061 - Always show the configure and test logs, and upload them as build
10062 artifacts, when building for Windows using Appveyor CI.
10065 o Minor features (fallback directory list):
10066 - Replace the 150 fallbacks originally introduced in Tor
10067 0.3.3.1-alpha in January 2018 (of which ~115 were still
10068 functional), with a list of 157 fallbacks (92 new, 65 existing, 85
10069 removed) generated in December 2018. Closes ticket 24803.
10071 o Minor features (geoip):
10072 - Update geoip and geoip6 to the December 5 2018 Maxmind GeoLite2
10073 Country database. Closes ticket 28744.
10075 o Minor bugfixes (compilation):
10076 - Add missing dependency on libgdi32.dll for tor-print-ed-signing-
10077 cert.exe on Windows. Fixes bug 28485; bugfix on 0.3.5.1-alpha.
10079 o Minor bugfixes (continuous integration, Windows):
10080 - Explicitly specify the path to the OpenSSL library and do not
10081 download OpenSSL from Pacman, but instead use the library that is
10082 already provided by AppVeyor. Fixes bug 28574; bugfix on master.
10084 o Minor bugfixes (onion service v3):
10085 - When deleting an ephemeral onion service (DEL_ONION), do not close
10086 any rendezvous circuits in order to let the existing client
10087 connections finish by themselves or closed by the application. The
10088 HS v2 is doing that already so now we have the same behavior for
10089 all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
10091 o Minor bugfixes (restart-in-process, boostrap):
10092 - Add missing resets of bootstrap tracking state when shutting down
10093 (regression caused by ticket 27169). Fixes bug 28524; bugfix
10096 o Minor bugfixes (testing):
10097 - Use a separate DataDirectory for the test_rebind script.
10098 Previously, this script would run using the default DataDirectory,
10099 and sometimes fail. Fixes bug 28562; bugfix on 0.3.5.1-alpha.
10100 Patch from Taylor R Campbell.
10101 - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
10102 bugfix on 0.3.0.1-alpha.
10104 o Minor bugfixes (Windows):
10105 - Correctly identify Windows 8.1, Windows 10, and Windows Server
10106 2008 and later from their NT versions. Fixes bug 28096; bugfix on
10107 0.2.2.34; reported by Keifer Bly.
10108 - On recent Windows versions, the GetVersionEx() function may report
10109 an earlier Windows version than the running OS. To avoid user
10110 confusion, add "[or later]" to Tor's version string on affected
10111 versions of Windows. Fixes bug 28096; bugfix on 0.2.2.34; reported
10113 - Remove Windows versions that were never supported by the
10114 GetVersionEx() function. Stop duplicating the latest Windows
10115 version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34;
10116 reported by Keifer Bly.
10119 - Increase logging and tag all log entries with timestamps in
10120 test_rebind.py. Provides diagnostics for issue 28229.
10122 o Code simplification and refactoring (shared random, dirauth):
10123 - Change many tor_assert() to use BUG() instead. The idea is to not
10124 crash a dirauth but rather scream loudly with a stacktrace and let
10125 it continue run. The shared random subsystem is very resilient and
10126 if anything wrong happens with it, at worst a non coherent value
10127 will be put in the vote and discarded by the other authorities.
10128 Closes ticket 19566.
10130 o Documentation (onion services):
10131 - Document in the man page that changing ClientOnionAuthDir value or
10132 adding a new file in the directory will not work at runtime upon
10133 sending a HUP if Sandbox 1. Closes ticket 28128.
10134 - Note in the man page that the only real way to fully revoke an
10135 onion service v3 client authorization is by restarting the tor
10136 process. Closes ticket 28275.
10139 Changes in version 0.3.5.5-alpha - 2018-11-16
10140 Tor 0.3.5.5-alpha includes numerous bugfixes on earlier releases,
10141 including several that we hope to backport to older release series in
10144 o Major bugfixes (OpenSSL, portability):
10145 - Fix our usage of named groups when running as a TLS 1.3 client in
10146 OpenSSL 1.1.1. Previously, we only initialized EC groups when
10147 running as a relay, which caused clients to fail to negotiate TLS
10148 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
10149 support was added).
10151 o Minor features (geoip):
10152 - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
10153 Country database. Closes ticket 28395.
10155 o Minor bugfixes (compilation):
10156 - Initialize a variable unconditionally in aes_new_cipher(), since
10157 some compilers cannot tell that we always initialize it before
10158 use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
10160 o Minor bugfixes (connection, relay):
10161 - Avoid a logging a BUG() stacktrace when closing connection held
10162 open because the write side is rate limited but not the read side.
10163 Now, the connection read side is simply shut down until Tor is
10164 able to flush the connection and close it. Fixes bug 27750; bugfix
10167 o Minor bugfixes (continuous integration, Windows):
10168 - Manually configure the zstd compiler options, when building using
10169 mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
10170 not come with a pkg-config file. Fixes bug 28454; bugfix
10172 - Stop using an external OpenSSL install, and stop installing MSYS2
10173 packages, when building using mingw on Appveyor Windows CI. Fixes
10174 bug 28399; bugfix on 0.3.4.1-alpha.
10176 o Minor bugfixes (documentation):
10177 - Make Doxygen work again after the code movement in the 0.3.5
10178 source tree. Fixes bug 28435; bugfix on 0.3.5.1-alpha.
10180 o Minor bugfixes (Linux seccomp2 sandbox):
10181 - Permit the "shutdown()" system call, which is apparently used by
10182 OpenSSL under some circumstances. Fixes bug 28183; bugfix
10185 o Minor bugfixes (logging):
10186 - Stop talking about the Named flag in log messages. Clients have
10187 ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix
10190 o Minor bugfixes (memory leaks):
10191 - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
10192 bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
10194 o Minor bugfixes (onion services):
10195 - On an intro point for a version 3 onion service, stop closing
10196 introduction circuits on an NACK. This lets the client decide
10197 whether to reuse the circuit or discard it. Previously, we closed
10198 intro circuits when sending NACKs. Fixes bug 27841; bugfix on
10199 0.3.2.1-alpha. Patch by Neel Chaunan.
10200 - When replacing a descriptor in the client cache, make sure to
10201 close all client introduction circuits for the old descriptor, so
10202 we don't end up with unusable leftover circuits. Fixes bug 27471;
10203 bugfix on 0.3.2.1-alpha.
10206 Changes in version 0.3.5.4-alpha - 2018-11-08
10207 Tor 0.3.5.4-alpha includes numerous bugfixes on earlier versions and
10208 improves our continuous integration support. It continues our attempts
10209 to stabilize this alpha branch and build it into a foundation for an
10210 acceptable long-term-support release.
10212 o Major bugfixes (compilation, rust):
10213 - Rust tests can now build and run successfully with the
10214 --enable-fragile-hardening option enabled. Doing this currently
10215 requires the rust beta channel; it will be possible with stable
10216 rust once Rust version 1.31 is released. Patch from Alex Crichton.
10217 Fixes bugs 27272, 27273, and 27274. Bugfix on 0.3.1.1-alpha.
10219 o Major bugfixes (embedding, main loop):
10220 - When DisableNetwork becomes set, actually disable periodic events
10221 that are already enabled. (Previously, we would refrain from
10222 enabling new ones, but we would leave the old ones turned on.)
10223 Fixes bug 28348; bugfix on 0.3.4.1-alpha.
10225 o Minor features (continuous integration):
10226 - Add a Travis CI build for --enable-nss on Linux gcc. Closes
10228 - Add new CI job to Travis configuration to run stem-based
10229 integration tests. Closes ticket 27913.
10231 o Minor features (Windows, continuous integration):
10232 - Build tor on Windows Server 2012 R2 and Windows Server 2016 using
10233 Appveyor's CI. Closes ticket 28318.
10235 o Minor bugfixes (C correctness, also in 0.3.4.9):
10236 - Avoid undefined behavior in an end-of-string check when parsing
10237 the BEGIN line in a directory object. Fixes bug 28202; bugfix
10240 o Minor bugfixes (compilation):
10241 - Fix a pair of missing headers on OpenBSD. Fixes bug 28303; bugfix
10242 on 0.3.5.1-alpha. Patch from Kris Katterjohn.
10244 o Minor bugfixes (compilation, OpenSolaris):
10245 - Fix compilation on OpenSolaris and its descendants by adding a
10246 missing include to compat_pthreads.c. Fixes bug 27963; bugfix
10249 o Minor bugfixes (configuration):
10250 - Refuse to start with relative file paths and RunAsDaemon set
10251 (regression from the fix for bug 22731). Fixes bug 28298; bugfix
10254 o Minor bugfixes (directory authority, also in 0.3.4.9):
10255 - Log additional info when we get a relay that shares an ed25519 ID
10256 with a different relay, instead of a BUG() warning with a
10257 backtrace. Fixes bug 27800; bugfix on 0.3.2.1-alpha.
10259 o Minor bugfixes (onion service v3):
10260 - Build the service descriptor's signing key certificate before
10261 uploading, so we always have a fresh one: leaving no chances for
10262 it to expire service side. Fixes bug 27838; bugfix
10265 o Minor bugfixes (onion service v3, client authorization):
10266 - Fix an assert() when adding a client authorization for the first
10267 time and then sending a HUP signal to the service. Before that,
10268 Tor would stop abruptly. Fixes bug 27995; bugfix on 0.3.5.1-alpha.
10270 o Minor bugfixes (onion services):
10271 - Unless we have explicitly set HiddenServiceVersion, detect the
10272 onion service version and then look for invalid options.
10273 Previously, we did the reverse, but that broke existing configs
10274 which were pointed to a v2 service and had options like
10275 HiddenServiceAuthorizeClient set. Fixes bug 28127; bugfix on
10276 0.3.5.1-alpha. Patch by Neel Chauhan.
10278 o Minor bugfixes (portability):
10279 - Make the OPE code (which is used for v3 onion services) run
10280 correctly on big-endian platforms. Fixes bug 28115; bugfix
10283 o Minor bugfixes (protover, rust):
10284 - Reject extra commas in version strings. Fixes bug 27197; bugfix
10287 o Minor bugfixes (relay shutdown, systemd):
10288 - Notify systemd of ShutdownWaitLength so it can be set to longer
10289 than systemd's TimeoutStopSec. In Tor's systemd service file, set
10290 TimeoutSec to 60 seconds to allow Tor some time to shut down.
10291 Fixes bug 28113; bugfix on 0.2.6.2-alpha.
10293 o Minor bugfixes (rust, also in 0.3.4.9):
10294 - Fix a potential null dereference in protover_all_supported(). Add
10295 a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
10296 - Return a string that can be safely freed by C code, not one
10297 created by the rust allocator, in protover_all_supported(). Fixes
10298 bug 27740; bugfix on 0.3.3.1-alpha.
10300 o Minor bugfixes (rust, directory authority, also in 0.3.4.9):
10301 - Fix an API mismatch in the rust implementation of
10302 protover_compute_vote(). This bug could have caused crashes on any
10303 directory authorities running Tor with Rust (which we do not yet
10304 recommend). Fixes bug 27741; bugfix on 0.3.3.6.
10306 o Minor bugfixes (testing):
10307 - Avoid hangs and race conditions in test_rebind.py. Fixes bug
10308 27968; bugfix on 0.3.5.1-alpha.
10310 o Minor bugfixes (testing, also in 0.3.4.9):
10311 - Treat backtrace test failures as expected on BSD-derived systems
10312 (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
10313 (FreeBSD failures have been treated as expected since 18204 in
10314 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
10316 o Documentation (onion service manpage):
10317 - Improve HSv3 client authorization by making some options more
10318 explicit and detailed. Closes ticket 28026. Patch by Mike Tigas.
10321 Changes in version 0.3.4.9 - 2018-11-02
10322 Tor 0.3.4.9 is the second stable release in its series; it backports
10323 numerous fixes, including a fix for a bandwidth management bug that
10324 was causing memory exhaustion on relays. Anyone running an earlier
10325 version of Tor 0.3.4.9 should upgrade.
10327 o Major bugfixes (compilation, backport from 0.3.5.3-alpha):
10328 - Fix compilation on ARM (and other less-used CPUs) when compiling
10329 with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
10331 o Major bugfixes (mainloop, bootstrap, backport from 0.3.5.3-alpha):
10332 - Make sure Tor bootstraps and works properly if only the
10333 ControlPort is set. Prior to this fix, Tor would only bootstrap
10334 when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
10335 port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
10337 o Major bugfixes (relay, backport from 0.3.5.3-alpha):
10338 - When our write bandwidth limit is exhausted, stop writing on the
10339 connection. Previously, we had a typo in the code that would make
10340 us stop reading instead, leading to relay connections being stuck
10341 indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
10344 o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
10345 - Fix a use-after-free error that could be caused by passing Tor an
10346 impossible set of options that would fail during options_act().
10347 Fixes bug 27708; bugfix on 0.3.3.1-alpha.
10349 o Minor features (continuous integration, backport from 0.3.5.1-alpha):
10350 - Don't do a distcheck with --disable-module-dirauth in Travis.
10351 Implements ticket 27252.
10352 - Only run one online rust build in Travis, to reduce network
10353 errors. Skip offline rust builds on Travis for Linux gcc, because
10354 they're redundant. Implements ticket 27252.
10355 - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
10356 duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
10357 Linux with default settings, because all the non-default builds
10358 use gcc on Linux. Implements ticket 27252.
10360 o Minor features (continuous integration, backport from 0.3.5.3-alpha):
10361 - Use the Travis Homebrew addon to install packages on macOS during
10362 Travis CI. The package list is the same, but the Homebrew addon
10363 does not do a `brew update` by default. Implements ticket 27738.
10365 o Minor features (geoip):
10366 - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
10367 Country database. Closes ticket 27991.
10369 o Minor bugfixes (32-bit OSX and iOS, timing, backport from 0.3.5.2-alpha):
10370 - Fix an integer overflow bug in our optimized 32-bit millisecond-
10371 difference algorithm for 32-bit Apple platforms. Previously, it
10372 would overflow when calculating the difference between two times
10373 more than 47 days apart. Fixes part of bug 27139; bugfix
10375 - Improve the precision of our 32-bit millisecond difference
10376 algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
10377 bugfix on 0.3.4.1-alpha.
10378 - Relax the tolerance on the mainloop/update_time_jumps test when
10379 running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
10382 o Minor bugfixes (C correctness, to appear in 0.3.5.4-alpha):
10383 - Avoid undefined behavior in an end-of-string check when parsing
10384 the BEGIN line in a directory object. Fixes bug 28202; bugfix
10387 o Minor bugfixes (CI, appveyor, to appear in 0.3.5.4-alpha):
10388 - Only install the necessary mingw packages during our appveyor
10389 builds. This change makes the build a little faster, and prevents
10390 a conflict with a preinstalled mingw openssl that appveyor now
10391 ships. Fixes bugs 27943 and 27765; bugfix on 0.3.4.2-alpha.
10393 o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
10394 - Rewrite our assertion macros so that they no longer suppress the
10395 compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
10397 o Minor bugfixes (continuous integration, backport from 0.3.5.1-alpha):
10398 - Stop reinstalling identical packages in our Windows CI. Fixes bug
10399 27464; bugfix on 0.3.4.1-alpha.
10401 o Minor bugfixes (directory authority, to appear in 0.3.5.4-alpha):
10402 - Log additional info when we get a relay that shares an ed25519 ID
10403 with a different relay, instead making a BUG() warning. Fixes bug
10404 27800; bugfix on 0.3.2.1-alpha.
10406 o Minor bugfixes (directory connection shutdown, backport from 0.3.5.1-alpha):
10407 - Avoid a double-close when shutting down a stalled directory
10408 connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
10410 o Minor bugfixes (HTTP tunnel, backport from 0.3.5.1-alpha):
10411 - Fix a bug warning when closing an HTTP tunnel connection due to an
10412 HTTP request we couldn't handle. Fixes bug 26470; bugfix
10415 o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
10416 - Ensure circuitmux queues are empty before scheduling or sending
10417 padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
10419 o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
10420 - When the onion service directory can't be created or has the wrong
10421 permissions, do not log a stack trace. Fixes bug 27335; bugfix
10424 o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
10425 - Close all SOCKS request (for the same .onion) if the newly fetched
10426 descriptor is unusable. Before that, we would close only the first
10427 one leaving the other hanging and let to time out by themselves.
10428 Fixes bug 27410; bugfix on 0.3.2.1-alpha.
10430 o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
10431 - When selecting a v3 rendezvous point, don't only look at the
10432 protover, but also check whether the curve25519 onion key is
10433 present. This way we avoid picking a relay that supports the v3
10434 rendezvous but for which we don't have the microdescriptor. Fixes
10435 bug 27797; bugfix on 0.3.2.1-alpha.
10437 o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
10438 - Reject protocol names containing bytes other than alphanumeric
10439 characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
10442 o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
10443 - Compute protover votes correctly in the rust version of the
10444 protover code. Previously, the protover rewrite in 24031 allowed
10445 repeated votes from the same voter for the same protocol version
10446 to be counted multiple times in protover_compute_vote(). Fixes bug
10447 27649; bugfix on 0.3.3.5-rc.
10448 - Reject protover names that contain invalid characters. Fixes bug
10449 27687; bugfix on 0.3.3.1-alpha.
10451 o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
10452 - protover_all_supported() would attempt to allocate up to 16GB on
10453 some inputs, leading to a potential memory DoS. Fixes bug 27206;
10454 bugfix on 0.3.3.5-rc.
10456 o Minor bugfixes (rust, directory authority, to appear in 0.3.5.4-alpha):
10457 - Fix an API mismatch in the rust implementation of
10458 protover_compute_vote(). This bug could have caused crashes on any
10459 directory authorities running Tor with Rust (which we do not yet
10460 recommend). Fixes bug 27741; bugfix on 0.3.3.6.
10462 o Minor bugfixes (rust, to appear in 0.3.5.4-alpha):
10463 - Fix a potential null dereference in protover_all_supported(). Add
10464 a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
10465 - Return a string that can be safely freed by C code, not one
10466 created by the rust allocator, in protover_all_supported(). Fixes
10467 bug 27740; bugfix on 0.3.3.1-alpha.
10469 o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
10470 - If a unit test running in a subprocess exits abnormally or with a
10471 nonzero status code, treat the test as having failed, even if the
10472 test reported success. Without this fix, memory leaks don't cause
10473 the tests to fail, even with LeakSanitizer. Fixes bug 27658;
10474 bugfix on 0.2.2.4-alpha.
10476 o Minor bugfixes (testing, backport from 0.3.5.3-alpha):
10477 - Make the hs_service tests use the same time source when creating
10478 the introduction point and when testing it. Now tests work better
10479 on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
10482 o Minor bugfixes (testing, to appear in 0.3.5.4-alpha):
10483 - Treat backtrace test failures as expected on BSD-derived systems
10484 (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
10485 (FreeBSD failures have been treated as expected since 18204 in
10486 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
10489 Changes in version 0.3.5.3-alpha - 2018-10-17
10490 Tor 0.3.5.3-alpha fixes several bugs, mostly from previous 0.3.5.x
10491 versions. One important fix for relays addresses a problem with rate-
10492 limiting code from back in 0.3.4.x: If the fix works out, we'll be
10493 backporting it soon. This release is still an alpha, but we hope it's
10494 getting closer and closer to stability.
10496 o Major features (onion services):
10497 - Version 3 onion services can now use the per-service
10498 HiddenServiceExportCircuitID option to differentiate client
10499 circuits. It communicates with the service by using the HAProxy
10500 protocol to assign virtual IP addresses to inbound client
10501 circuits. Closes ticket 4700. Patch by Mahrud Sayrafi.
10503 o Major bugfixes (compilation):
10504 - Fix compilation on ARM (and other less-used CPUs) when compiling
10505 with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
10507 o Major bugfixes (initialization, crash):
10508 - Fix an assertion crash that would stop Tor from starting up if it
10509 tried to activate a periodic event too early. Fixes bug 27861;
10510 bugfix on 0.3.5.1-alpha.
10512 o Major bugfixes (mainloop, bootstrap):
10513 - Make sure Tor bootstraps and works properly if only the
10514 ControlPort is set. Prior to this fix, Tor would only bootstrap
10515 when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
10516 port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
10518 o Major bugfixes (relay):
10519 - When our write bandwidth limit is exhausted, stop writing on the
10520 connection. Previously, we had a typo in the code that would make
10521 us stop reading instead, leading to relay connections being stuck
10522 indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
10525 o Minor features (continuous integration):
10526 - Use the Travis Homebrew addon to install packages on macOS during
10527 Travis CI. The package list is the same, but the Homebrew addon
10528 does not do a `brew update` by default. Implements ticket 27738.
10529 - Report what program produced the mysterious core file that we
10530 occasionally see on Travis CI during make distcheck. Closes
10533 o Minor features (geoip):
10534 - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
10535 Country database. Closes ticket 27991.
10537 o Minor bugfixes (code safety):
10538 - Rewrite our assertion macros so that they no longer suppress the
10539 compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
10542 o Minor bugfixes (compilation):
10543 - Compile the ed25519-donna code with a correct declaration of
10544 crypto_strongest_rand(). Previously, we built it with one type,
10545 but linked it against another in the unit tests, which caused
10546 compilation failures with LTO enabled. This could have caused
10547 other undefined behavior in the tests. Fixes bug 27728; bugfix
10550 o Minor bugfixes (compilation, netbsd):
10551 - Add a missing include back into procmon.c. Fixes bug 27990; bugfix
10554 o Minor bugfixes (continuous integration, appveyor):
10555 - Install only the necessary mingw packages during our appveyor
10556 builds. This change makes the build a little faster, and prevents
10557 a conflict with a preinstalled mingw openssl that appveyor now
10558 ships. Fixes bugs 27765 and 27943; bugfix on 0.3.4.2-alpha.
10560 o Minor bugfixes (directory permissions):
10561 - When a user requests a group-readable DataDirectory, give it to
10562 them. Previously, when the DataDirectory and the CacheDirectory
10563 were the same, the default setting (0) for
10564 CacheDirectoryGroupReadable would override the setting for
10565 DataDirectoryGroupReadable. Fixes bug 26913; bugfix
10568 o Minor bugfixes (memory leaks):
10569 - Fix a small memory leak when calling Tor with --dump-config. Fixes
10570 bug 27893; bugfix on 0.3.2.1-alpha.
10572 o Minor bugfixes (networking):
10573 - In retry_listeners_ports(), make sure that we're removing a member
10574 of old_conns smartlist at most once. Fixes bug 27808; bugfix
10576 - Refrain from attempting socket rebinding when old and new
10577 listeners are in different address families. Fixes bug 27928;
10578 bugfix on 0.3.5.1-alpha.
10580 o Minor bugfixes (onion service v3):
10581 - Stop dumping a stack trace when trying to connect to an intro
10582 point without having a descriptor for it. Fixes bug 27774; bugfix
10584 - Don't warn so loudly when Tor is unable to decode an onion
10585 descriptor. This can now happen as a normal use case if a client
10586 gets a descriptor with client authorization but the client is not
10587 authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
10588 - When selecting a v3 rendezvous point, don't only look at the
10589 protover, but also check whether the curve25519 onion key is
10590 present. This way we avoid picking a relay that supports the v3
10591 rendezvous but for which we don't have the microdescriptor. Fixes
10592 bug 27797; bugfix on 0.3.2.1-alpha.
10594 o Minor bugfixes (protover):
10595 - Reject protocol names containing bytes other than alphanumeric
10596 characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
10599 o Minor bugfixes (testing):
10600 - Make the hs_service tests use the same time source when creating
10601 the introduction point and when testing it. Now tests work better
10602 on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
10604 - In test_rebind.py, check if the Python version is in the supported
10605 range. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
10607 o Code simplification and refactoring:
10608 - Divide more large Tor source files -- especially ones that span
10609 multiple areas of functionality -- into smaller parts, including
10610 onion.c and main.c. Closes ticket 26747.
10611 - Divide the "routerparse.c" module into separate modules for each
10612 group of parsed objects. Closes ticket 27924.
10613 - Move protover_rust.c to the same place protover.c was moved to.
10614 Closes ticket 27814.
10615 - Split directory.c into separate pieces for client, server, and
10616 common functionality. Closes ticket 26744.
10617 - Split the non-statistics-related parts from the rephist.c and
10618 geoip.c modules. Closes ticket 27892.
10619 - Split the router.c file into relay-only and shared components, to
10620 help with future modularization. Closes ticket 27864.
10623 - In the tor-resolve(1) manpage, fix the reference to socks-
10624 extensions.txt by adding a web URL. Resolves ticket 27853.
10625 - Mention that we require Python to be 2.7 or newer for some
10626 integration tests that we ship with Tor. Resolves ticket 27677.
10629 Changes in version 0.3.5.2-alpha - 2018-09-21
10630 Tor 0.3.5.2-alpha fixes several bugs in 0.3.5.1-alpha, including one
10631 that made Tor think it had run out of sockets. Anybody running a relay
10632 or an onion service on 0.3.5.1-alpha should upgrade.
10634 o Major bugfixes (relay bandwidth statistics):
10635 - When we close relayed circuits, report the data in the circuit
10636 queues as being written in our relay bandwidth stats. This
10637 mitigates guard discovery and other attacks that close circuits
10638 for the explicit purpose of noticing this discrepancy in
10639 statistics. Fixes bug 23512; bugfix on 0.0.8pre3.
10641 o Major bugfixes (socket accounting):
10642 - In our socket accounting code, count a socket as closed even when
10643 it is closed indirectly by the TLS layer. Previously, we would
10644 count these sockets as still in use, and incorrectly believe that
10645 we had run out of sockets. Fixes bug 27795; bugfix
10648 o Minor bugfixes (32-bit OSX and iOS, timing):
10649 - Fix an integer overflow bug in our optimized 32-bit millisecond-
10650 difference algorithm for 32-bit Apple platforms. Previously, it
10651 would overflow when calculating the difference between two times
10652 more than 47 days apart. Fixes part of bug 27139; bugfix
10654 - Improve the precision of our 32-bit millisecond difference
10655 algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
10656 bugfix on 0.3.4.1-alpha.
10657 - Relax the tolerance on the mainloop/update_time_jumps test when
10658 running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
10661 o Minor bugfixes (onion service v3):
10662 - Close all SOCKS request (for the same .onion) if the newly fetched
10663 descriptor is unusable. Before that, we would close only the first
10664 one leaving the other hanging and let to time out by themselves.
10665 Fixes bug 27410; bugfix on 0.3.2.1-alpha.
10667 o Minor bugfixes (memory leak):
10668 - Fix an unlikely memory leak when trying to read a private key from
10669 a ridiculously large file. Fixes bug 27764; bugfix on
10670 0.3.5.1-alpha. This is CID 1439488.
10672 o Minor bugfixes (NSS):
10673 - Correctly detect failure to open a dummy TCP socket when stealing
10674 ownership of an fd from the NSS layer. Fixes bug 27782; bugfix
10677 o Minor bugfixes (rust):
10678 - protover_all_supported() would attempt to allocate up to 16GB on
10679 some inputs, leading to a potential memory DoS. Fixes bug 27206;
10680 bugfix on 0.3.3.5-rc.
10682 o Minor bugfixes (testing):
10683 - Revise the "conditionvar_timeout" test so that it succeeds even on
10684 heavily loaded systems where the test threads are not scheduled
10685 within 200 msec. Fixes bug 27073; bugfix on 0.2.6.3-alpha.
10687 o Code simplification and refactoring:
10688 - Divide the routerlist.c and dirserv.c modules into smaller parts.
10689 Closes ticket 27799.
10692 Changes in version 0.3.5.1-alpha - 2018-09-18
10693 Tor 0.3.5.1-alpha is the first release of the 0.3.5.x series. It adds
10694 client authorization for modern (v3) onion services, improves
10695 bootstrap reporting, begins reorganizing Tor's codebase, adds optional
10696 support for NSS in place of OpenSSL, and much more.
10698 o Major features (onion services, UI change):
10699 - For a newly created onion service, the default version is now 3.
10700 Tor still supports existing version 2 services, but the operator
10701 now needs to set "HiddenServiceVersion 2" in order to create a new
10702 version 2 service. For existing services, Tor now learns the
10703 version by reading the key file. Closes ticket 27215.
10705 o Major features (relay, UI change):
10706 - Relays no longer run as exits by default. If the "ExitRelay"
10707 option is auto (or unset), and no exit policy is specified with
10708 ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
10709 Previously in this case, we allowed exit traffic and logged a
10710 warning message. Closes ticket 21530. Patch by Neel Chauhan.
10711 - Tor now validates that the ContactInfo config option is valid UTF-
10712 8 when parsing torrc. Closes ticket 27428.
10714 o Major features (bootstrap):
10715 - Don't report directory progress until after a connection to a
10716 relay or bridge has succeeded. Previously, we'd report 80%
10717 progress based on cached directory information when we couldn't
10718 even connect to the network. Closes ticket 27169.
10720 o Major features (new code layout):
10721 - Nearly all of Tor's source code has been moved around into more
10722 logical places. The "common" directory is now divided into a set
10723 of libraries in "lib", and files in the "or" directory have been
10724 split into "core" (logic absolutely needed for onion routing),
10725 "feature" (independent modules in Tor), and "app" (to configure
10726 and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
10727 more information. Closes ticket 26481.
10729 This refactoring is not complete: although the libraries have been
10730 refactored to be acyclic, the main body of Tor is still too
10731 interconnected. We will attempt to improve this in the future.
10733 o Major features (onion services v3):
10734 - Implement onion service client authorization at the descriptor
10735 level: only authorized clients can decrypt a service's descriptor
10736 to find out how to contact it. A new torrc option was added to
10737 control this client side: ClientOnionAuthDir <path>. On the
10738 service side, if the "authorized_clients/" directory exists in the
10739 onion service directory path, client configurations are read from
10740 the files within. See the manpage for more details. Closes ticket
10741 27547. Patch done by Suphanat Chunhapanya (haxxpop).
10742 - Improve revision counter generation in next-gen onion services.
10743 Onion services can now scale by hosting multiple instances on
10744 different hosts without synchronization between them, which was
10745 previously impossible because descriptors would get rejected by
10746 HSDirs. Addresses ticket 25552.
10748 o Major features (portability, cryptography, experimental, TLS):
10749 - Tor now has the option to compile with the NSS library instead of
10750 OpenSSL. This feature is experimental, and we expect that bugs may
10751 remain. It is mainly intended for environments where Tor's
10752 performance is not CPU-bound, and where NSS is already known to be
10753 installed. To try it out, configure Tor with the --enable-nss
10754 flag. Closes tickets 26631, 26815, and 26816.
10756 If you are experimenting with this option and using an old cached
10757 consensus, Tor may fail to start. To solve this, delete your
10758 "cached-consensus" and "cached-microdesc-consensus" files,
10759 (if present), and restart Tor.
10761 o Major bugfixes (directory authority):
10762 - Actually check that the address we get from DirAuthority
10763 configuration line is valid IPv4. Explicitly disallow DirAuthority
10764 address to be a DNS hostname. Fixes bug 26488; bugfix
10767 o Major bugfixes (restart-in-process):
10768 - Fix a use-after-free error that could be caused by passing Tor an
10769 impossible set of options that would fail during options_act().
10770 Fixes bug 27708; bugfix on 0.3.3.1-alpha.
10772 o Minor features (admin tools):
10773 - Add a new --key-expiration option to print the expiration date of
10774 the signing cert in an ed25519_signing_cert file. Resolves
10777 o Minor features (build):
10778 - If you pass the "--enable-pic" option to configure, Tor will try
10779 to tell the compiler to build position-independent code suitable
10780 to link into a dynamic library. (The default remains -fPIE, for
10781 code suitable for a relocatable executable.) Closes ticket 23846.
10783 o Minor features (code correctness, testing):
10784 - Tor's build process now includes a "check-includes" make target to
10785 verify that no module of Tor relies on any headers from a higher-
10786 level module. We hope to use this feature over time to help
10787 refactor our codebase. Closes ticket 26447.
10789 o Minor features (code layout):
10790 - We have a new "lowest-level" error-handling API for use by code
10791 invoked from within the logging module. With this interface, the
10792 logging code is no longer at risk of calling into itself if a
10793 failure occurs while it is trying to log something. Closes
10796 o Minor features (compilation):
10797 - Tor's configure script now supports a --with-malloc= option to
10798 select your malloc implementation. Supported options are
10799 "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
10800 default). Addresses part of ticket 20424. Based on a patch from
10803 o Minor features (config):
10804 - The "auto" keyword in torrc is now case-insensitive. Closes
10807 o Minor features (continuous integration):
10808 - Don't do a distcheck with --disable-module-dirauth in Travis.
10809 Implements ticket 27252.
10810 - Install libcap-dev and libseccomp2-dev so these optional
10811 dependencies get tested on Travis CI. Closes ticket 26560.
10812 - Only run one online rust build in Travis, to reduce network
10813 errors. Skip offline rust builds on Travis for Linux gcc, because
10814 they're redundant. Implements ticket 27252.
10815 - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
10816 duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
10817 Linux with default settings, because all the non-default builds
10818 use gcc on Linux. Implements ticket 27252.
10820 o Minor features (controller):
10821 - Emit CIRC_BW events as soon as we detect that we processed an
10822 invalid or otherwise dropped cell on a circuit. This allows
10823 vanguards and other controllers to react more quickly to dropped
10824 cells. Closes ticket 27678.
10825 - For purposes of CIRC_BW-based dropped cell detection, track half-
10826 closed stream ids, and allow their ENDs, SENDMEs, DATA and path
10827 bias check cells to arrive without counting it as dropped until
10828 either the END arrives, or the windows are empty. Closes
10830 - Implement a 'GETINFO md/all' controller command to enable getting
10831 all known microdescriptors. Closes ticket 8323.
10832 - The GETINFO command now support an "uptime" argument, to return
10833 Tor's uptime in seconds. Closes ticket 25132.
10835 o Minor features (denial-of-service avoidance):
10836 - Make our OOM handler aware of the DNS cache so that it doesn't
10837 fill up the memory. This check is important for our DoS mitigation
10838 subsystem. Closes ticket 18642. Patch by Neel Chauhan.
10840 o Minor features (development):
10841 - Tor's makefile now supports running the "clippy" Rust style tool
10842 on our Rust code. Closes ticket 22156.
10844 o Minor features (directory authority):
10845 - There is no longer an artificial upper limit on the length of
10846 bandwidth lines. Closes ticket 26223.
10847 - When a bandwidth file is used to obtain the bandwidth measurements,
10848 include this bandwidth file headers in the votes. Closes
10850 - Improved support for networks with only a single authority or a
10851 single fallback directory. Patch from Gabriel Somlo. Closes
10854 o Minor features (embedding API):
10855 - The Tor controller API now supports a function to launch Tor with
10856 a preconstructed owning controller FD, so that embedding
10857 applications don't need to manage controller ports and
10858 authentication. Closes ticket 24204.
10859 - The Tor controller API now has a function that returns the name
10860 and version of the backend implementing the API. Closes
10863 o Minor features (geoip):
10864 - Update geoip and geoip6 to the September 6 2018 Maxmind GeoLite2
10865 Country database. Closes ticket 27631.
10867 o Minor features (memory management):
10868 - Get Libevent to use the same memory allocator as Tor, by calling
10869 event_set_mem_functions() during initialization. Resolves
10872 o Minor features (memory usage):
10873 - When not using them, store legacy TAP public onion keys in DER-
10874 encoded format, rather than as expanded public keys. This should
10875 save several megabytes on typical clients. Closes ticket 27246.
10877 o Minor features (OpenSSL):
10878 - When possible, use RFC5869 HKDF implementation from OpenSSL rather
10879 than our own. Resolves ticket 19979.
10881 o Minor features (Rust, code quality):
10882 - Improve rust code quality in the rust protover implementation by
10883 making it more idiomatic. Includes changing an internal API to
10884 take &str instead of &String. Closes ticket 26492.
10886 o Minor features (testing):
10887 - Add scripts/test/chutney-git-bisect.sh, for bisecting using
10888 chutney. Implements ticket 27211.
10890 o Minor features (tor-resolve):
10891 - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
10892 Side-effect of the refactoring for ticket 26526.
10894 o Minor features (UI):
10895 - Log each included configuration file or directory as we read it,
10896 to provide more visibility about where Tor is reading from. Patch
10897 from Unto Sten; closes ticket 27186.
10898 - Lower log level of "Scheduler type KIST has been enabled" to INFO.
10899 Closes ticket 26703.
10901 o Minor bugfixes (bootstrap):
10902 - Try harder to get descriptors in non-exit test networks, by using
10903 the mid weight for the third hop when there are no exits. Fixes
10904 bug 27237; bugfix on 0.2.6.2-alpha.
10906 o Minor bugfixes (C correctness):
10907 - Avoid casting smartlist index to int implicitly, as it may trigger
10908 a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
10909 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
10910 - Use time_t for all values in
10911 predicted_ports_prediction_time_remaining(). Rework the code that
10912 computes difference between durations/timestamps. Fixes bug 27165;
10913 bugfix on 0.3.1.1-alpha.
10915 o Minor bugfixes (client, memory usage):
10916 - When not running as a directory cache, there is no need to store
10917 the text of the current consensus networkstatus in RAM.
10918 Previously, however, clients would store it anyway, at a cost of
10919 over 5 MB. Now, they do not. Fixes bug 27247; bugfix
10922 o Minor bugfixes (client, reachableaddresses):
10923 - Instead of adding a "reject *:*" line to ReachableAddresses when
10924 loading the configuration, add one to the policy after parsing it
10925 in parse_reachable_addresses(). This prevents extra "reject *.*"
10926 lines from accumulating on reloads. Fixes bug 20874; bugfix on
10927 0.1.1.5-alpha. Patch by Neel Chauhan.
10929 o Minor bugfixes (code quality):
10930 - Rename sandbox_getaddrinfo() and other functions to no longer
10931 misleadingly suggest that they are sandbox-only. Fixes bug 26525;
10932 bugfix on 0.2.7.1-alpha.
10934 o Minor bugfixes (configuration, Onion Services):
10935 - In rend_service_parse_port_config(), disallow any input to remain
10936 after address-port pair was parsed. This will catch address and
10937 port being whitespace-separated by mistake of the user. Fixes bug
10938 27044; bugfix on 0.2.9.10.
10940 o Minor bugfixes (continuous integration):
10941 - Stop reinstalling identical packages in our Windows CI. Fixes bug
10942 27464; bugfix on 0.3.4.1-alpha.
10944 o Minor bugfixes (controller):
10945 - Consider all routerinfo errors other than "not a server" to be
10946 transient for the purpose of "GETINFO exit-policy/*" controller
10947 request. Print stacktrace in the unlikely case of failing to
10948 recompute routerinfo digest. Fixes bug 27034; bugfix
10951 o Minor bugfixes (directory connection shutdown):
10952 - Avoid a double-close when shutting down a stalled directory
10953 connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
10955 o Minor bugfixes (HTTP tunnel):
10956 - Fix a bug warning when closing an HTTP tunnel connection due to an
10957 HTTP request we couldn't handle. Fixes bug 26470; bugfix
10960 o Minor bugfixes (ipv6):
10961 - In addrs_in_same_network_family(), we choose the subnet size based
10962 on the IP version (IPv4 or IPv6). Previously, we chose a fixed
10963 subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
10964 15518; bugfix on 0.2.3.1-alpha. Patch by Neel Chauhan.
10966 o Minor bugfixes (logging):
10967 - As a precaution, do an early return from log_addr_has_changed() if
10968 Tor is running as client. Also, log a stack trace for debugging as
10969 this function should only be called when Tor runs as server. Fixes
10970 bug 26892; bugfix on 0.1.1.9-alpha.
10971 - Refrain from mentioning bug 21018 in the logs, as it is already
10972 fixed. Fixes bug 25477; bugfix on 0.2.9.8.
10974 o Minor bugfixes (logging, documentation):
10975 - When SafeLogging is enabled, scrub IP address in
10976 channel_tls_process_netinfo_cell(). Also, add a note to manpage
10977 that scrubbing is not guaranteed on loglevels below Notice. Fixes
10978 bug 26882; bugfix on 0.2.4.10-alpha.
10980 o Minor bugfixes (netflow padding):
10981 - Ensure circuitmux queues are empty before scheduling or sending
10982 padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
10984 o Minor bugfixes (onion service v2):
10985 - Log at level "info", not "warning", in the case that we do not
10986 have a consensus when a .onion request comes in. This can happen
10987 normally while bootstrapping. Fixes bug 27040; bugfix
10990 o Minor bugfixes (onion service v3):
10991 - When the onion service directory can't be created or has the wrong
10992 permissions, do not log a stack trace. Fixes bug 27335; bugfix
10995 o Minor bugfixes (OS compatibility):
10996 - Properly handle configuration changes that move a listener to/from
10997 wildcard IP address. If the first attempt to bind a socket fails,
10998 close the old listener and try binding the socket again. Fixes bug
10999 17873; bugfix on 0.0.8pre-1.
11001 o Minor bugfixes (performance)::
11002 - Rework node_is_a_configured_bridge() to no longer call
11003 node_get_all_orports(), which was performing too many memory
11004 allocations. Fixes bug 27224; bugfix on 0.2.3.9.
11006 o Minor bugfixes (relay statistics):
11007 - Update relay descriptor on bandwidth changes only when the uptime
11008 is smaller than 24h, in order to reduce the efficiency of guard
11009 discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
11011 o Minor bugfixes (relays):
11012 - Consider the fact that we'll be making direct connections to our
11013 entry and guard nodes when computing the fraction of nodes that
11014 have their descriptors. Also, if we are using bridges and there is
11015 at least one bridge with a full descriptor, treat the fraction of
11016 guards available as 100%. Fixes bug 25886; bugfix on 0.2.4.10-alpha.
11017 Patch by Neel Chauhan.
11018 - Update the message logged on relays when DirCache is disabled.
11019 Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
11020 Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
11022 o Minor bugfixes (rust, protover):
11023 - Compute protover votes correctly in the rust version of the
11024 protover code. Previously, the protover rewrite in 24031 allowed
11025 repeated votes from the same voter for the same protocol version
11026 to be counted multiple times in protover_compute_vote(). Fixes bug
11027 27649; bugfix on 0.3.3.5-rc.
11028 - Reject protover names that contain invalid characters. Fixes bug
11029 27687; bugfix on 0.3.3.1-alpha.
11031 o Minor bugfixes (testing):
11032 - Fix two unit tests to work when HOME environment variable is not
11033 set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
11034 - If a unit test running in a subprocess exits abnormally or with a
11035 nonzero status code, treat the test as having failed, even if the
11036 test reported success. Without this fix, memory leaks don't cause
11037 the tests to fail, even with LeakSanitizer. Fixes bug 27658;
11038 bugfix on 0.2.2.4-alpha.
11039 - When logging a version mismatch in our openssl_version tests,
11040 report the actual offending version strings. Fixes bug 26152;
11041 bugfix on 0.2.9.1-alpha.
11042 - Fix forking tests on Windows when there is a space somewhere in
11043 the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
11045 o Code simplification and refactoring:
11046 - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
11047 longer needed. Closes ticket 26502.
11048 - Include paths to header files within Tor are now qualified by
11049 directory within the top-level src directory.
11050 - Many structures have been removed from the centralized "or.h"
11051 header, and moved into their own headers. This will allow us to
11052 reduce the number of places in the code that rely on each
11053 structure's contents and layout. Closes ticket 26383.
11054 - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
11055 - Remove GetAdaptersAddresses_fn_t. The code that used it was
11056 removed as part of the 26481 refactor. Closes ticket 27467.
11057 - Rework Tor SOCKS server code to use Trunnel and benefit from
11058 autogenerated functions for parsing and generating SOCKS wire
11059 format. New implementation is cleaner, more maintainable and
11060 should be less prone to heartbleed-style vulnerabilities.
11061 Implements a significant fraction of ticket 3569.
11062 - Split sampled_guards_update_from_consensus() and
11063 select_entry_guard_for_circuit() into subfunctions. In
11064 entry_guards_update_primary() unite three smartlist enumerations
11065 into one and move smartlist comparison code out of the function.
11066 Closes ticket 21349.
11067 - Tor now assumes that you have standards-conformant stdint.h and
11068 inttypes.h headers when compiling. Closes ticket 26626.
11069 - Unify our bloom filter logic. Previously we had two copies of this
11070 code: one for routerlist filtering, and one for address set
11071 calculations. Closes ticket 26510.
11072 - Use the simpler strcmpstart() helper in
11073 rend_parse_v2_service_descriptor instead of strncmp(). Closes
11075 - Utility functions that can perform a DNS lookup are now wholly
11076 separated from those that can't, in separate headers and C
11077 modules. Closes ticket 26526.
11080 - Copy paragraph and URL to Tor's code of conduct document from
11081 CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
11082 - Remove old instructions from INSTALL document. Closes ticket 26588.
11083 - Warn users that they should not include MyFamily line(s) in their
11084 torrc when running Tor bridge. Closes ticket 26908.
11086 o Removed features:
11087 - Tor no longer supports building with the dmalloc library. For
11088 debugging memory issues, we suggest using gperftools or msan
11089 instead. Closes ticket 26426.
11090 - Tor no longer attempts to run on Windows environments without the
11091 GetAdaptersAddresses() function. This function has existed since
11092 Windows XP, which is itself already older than we support.
11093 - Remove Tor2web functionality for version 2 onion services. The
11094 Tor2webMode and Tor2webRendezvousPoints options are now obsolete.
11095 (This feature was never shipped in vanilla Tor and it was only
11096 possible to use this feature by building the support at compile
11097 time. Tor2webMode is not implemented for version 3 onion services.)
11098 Closes ticket 26367.
11101 Changes in version 0.2.9.17 - 2018-09-10
11102 Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
11104 o Minor features (compatibility, backport from 0.3.4.8):
11105 - Tell OpenSSL to maintain backward compatibility with previous
11106 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11107 ciphers are disabled by default. Closes ticket 27344.
11109 o Minor features (continuous integration, backport from 0.3.4.7-rc):
11110 - Enable macOS builds in our Travis CI configuration. Closes
11112 - Install libcap-dev and libseccomp2-dev so these optional
11113 dependencies get tested on Travis CI. Closes ticket 26560.
11114 - Run asciidoc during Travis CI. Implements ticket 27087.
11115 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11117 o Minor features (geoip):
11118 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11119 Country database. Closes ticket 27089.
11121 o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
11122 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11123 tell the compiler not to include the system malloc implementation.
11124 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11126 o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
11127 - Silence a spurious compiler warning on the GetAdaptersAddresses
11128 function pointer cast. This issue is already fixed by 26481 in
11129 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11130 bugfix on 0.2.3.11-alpha.
11131 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11132 supported, and always fails. Some compilers warn about the
11133 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11136 o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
11137 - Don't link or search for pthreads when building for Windows, even
11138 if we are using build environment (like mingw) that provides a
11139 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11141 o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
11142 - Skip a pair of unreliable key generation tests on Windows, until
11143 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11144 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11146 o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
11147 - Pass the module flags to distcheck configure, and log the flags
11148 before running configure. (Backported to 0.2.9 and later as a
11149 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11151 o Minor bugfixes (continuous integration, backport from 0.3.4.8):
11152 - When a Travis build fails, and showing a log fails, keep trying to
11153 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11154 - When we use echo in Travis, don't pass a --flag as the first
11155 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11157 o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
11158 - When voting for recommended versions, make sure that all of the
11159 versions are well-formed and parsable. Fixes bug 26485; bugfix
11162 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
11163 - Fix a bug in out sandboxing rules for the openat() syscall.
11164 Previously, no openat() call would be permitted, which would break
11165 filesystem operations on recent glibc versions. Fixes bug 25440;
11166 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11168 o Minor bugfixes (onion services, backport from 0.3.4.8):
11169 - Silence a spurious compiler warning in
11170 rend_client_send_introduction(). Fixes bug 27463; bugfix
11173 o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
11174 - Log a protocol warning when single onion services or Tor2web clients
11175 fail to authenticate direct connections to relays.
11176 Fixes bug 26924; bugfix on 0.2.9.1-alpha.
11178 o Minor bugfixes (testing, backport from 0.3.4.6-rc):
11179 - Disable core dumps in test_bt.sh, to avoid failures in "make
11180 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11182 o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
11183 - Before running make test-network-all, delete old logs and test
11184 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11187 o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
11188 - Our "tortls/cert_matches_key" unit test no longer relies on
11189 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11190 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11191 Fixes bug 27226; bugfix on 0.2.5.1-alpha.
11193 o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
11194 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11195 27185; bugfix on 0.2.2.2-alpha.
11198 Changes in version 0.3.2.12 - 2018-09-10
11199 Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
11201 o Minor features (compatibility, backport from 0.3.4.8):
11202 - Tell OpenSSL to maintain backward compatibility with previous
11203 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11204 ciphers are disabled by default. Closes ticket 27344.
11206 o Minor features (continuous integration, backport from 0.3.4.7-rc):
11207 - Enable macOS builds in our Travis CI configuration. Closes
11209 - Install libcap-dev and libseccomp2-dev so these optional
11210 dependencies get tested on Travis CI. Closes ticket 26560.
11211 - Run asciidoc during Travis CI. Implements ticket 27087.
11212 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11214 o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
11215 - Use cargo cache in our Travis CI configuration. Closes
11218 o Minor features (controller, backport from 0.3.4.6-rc):
11219 - The control port now exposes the list of HTTPTunnelPorts and
11220 ExtOrPorts via GETINFO net/listeners/httptunnel and
11221 net/listeners/extor respectively. Closes ticket 26647.
11223 o Minor features (directory authorities, backport from 0.3.4.7-rc):
11224 - Authorities no longer vote to make the subprotocol version
11225 "LinkAuth=1" a requirement: it is unsupportable with NSS, and
11226 hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
11228 o Minor features (geoip):
11229 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11230 Country database. Closes ticket 27089.
11232 o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
11233 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11234 tell the compiler not to include the system malloc implementation.
11235 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11236 - Don't try to use a pragma to temporarily disable the
11237 -Wunused-const-variable warning if the compiler doesn't support
11238 it. Fixes bug 26785; bugfix on 0.3.2.11.
11240 o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
11241 - Silence a spurious compiler warning on the GetAdaptersAddresses
11242 function pointer cast. This issue is already fixed by 26481 in
11243 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11244 bugfix on 0.2.3.11-alpha.
11245 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11246 supported, and always fails. Some compilers warn about the
11247 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11250 o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
11251 - Don't link or search for pthreads when building for Windows, even
11252 if we are using build environment (like mingw) that provides a
11253 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11255 o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
11256 - Skip a pair of unreliable key generation tests on Windows, until
11257 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11258 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11260 o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
11261 - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
11262 - Pass the module flags to distcheck configure, and log the flags
11263 before running configure. (Backported to 0.2.9 and later as a
11264 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11266 o Minor bugfixes (continuous integration, backport from 0.3.4.8):
11267 - When a Travis build fails, and showing a log fails, keep trying to
11268 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11269 - When we use echo in Travis, don't pass a --flag as the first
11270 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11272 o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
11273 - When voting for recommended versions, make sure that all of the
11274 versions are well-formed and parsable. Fixes bug 26485; bugfix
11277 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
11278 - Fix a bug in out sandboxing rules for the openat() syscall.
11279 Previously, no openat() call would be permitted, which would break
11280 filesystem operations on recent glibc versions. Fixes bug 25440;
11281 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11283 o Minor bugfixes (logging, backport from 0.3.4.6-rc):
11284 - Improve the log message when connection initiators fail to
11285 authenticate direct connections to relays. Fixes bug 26927; bugfix
11288 o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
11289 - Fix bug that causes services to not ever rotate their descriptors
11290 if they were getting SIGHUPed often. Fixes bug 26932; bugfix
11293 o Minor bugfixes (onion services, backport from 0.3.4.8):
11294 - Silence a spurious compiler warning in
11295 rend_client_send_introduction(). Fixes bug 27463; bugfix
11298 o Minor bugfixes (rust, backport from 0.3.4.7-rc):
11299 - Backport test_rust.sh from master. Fixes bug 26497; bugfix
11301 - Consistently use ../../.. as a fallback for $abs_top_srcdir in
11302 test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
11303 - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
11304 $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-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):
11325 - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
11326 internals. Previously, it relied on unsupported OpenSSL behavior in
11327 a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
11328 bugfix on 0.2.5.1-alpha.
11330 o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
11331 - Our "tortls/cert_matches_key" unit test no longer relies on
11332 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11333 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11334 Fixes bug 27226; bugfix on 0.2.5.1-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.3.10 - 2018-09-10
11342 Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
11344 o Minor features (bug workaround, backport from 0.3.4.7-rc):
11345 - Compile correctly on systems that provide the C11 stdatomic.h
11346 header, but where C11 atomic functions don't actually compile.
11347 Closes ticket 26779; workaround for Debian issue 903709.
11349 o Minor features (compatibility, backport from 0.3.4.8):
11350 - Tell OpenSSL to maintain backward compatibility with previous
11351 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11352 ciphers are disabled by default. Closes ticket 27344.
11354 o Minor features (continuous integration, backport from 0.3.4.7-rc):
11355 - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
11356 - Enable macOS builds in our Travis CI configuration. Closes
11358 - Install libcap-dev and libseccomp2-dev so these optional
11359 dependencies get tested on Travis CI. Closes ticket 26560.
11360 - Run asciidoc during Travis CI. Implements ticket 27087.
11361 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11363 o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
11364 - Use cargo cache in our Travis CI configuration. Closes
11367 o Minor features (controller, backport from 0.3.4.6-rc):
11368 - The control port now exposes the list of HTTPTunnelPorts and
11369 ExtOrPorts via GETINFO net/listeners/httptunnel and
11370 net/listeners/extor respectively. Closes ticket 26647.
11372 o Minor features (directory authorities, backport from 0.3.4.7-rc):
11373 - Authorities no longer vote to make the subprotocol version
11374 "LinkAuth=1" a requirement: it is unsupportable with NSS, and
11375 hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
11377 o Minor features (geoip):
11378 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11379 Country database. Closes ticket 27089.
11381 o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
11382 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11383 tell the compiler not to include the system malloc implementation.
11384 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11385 - Don't try to use a pragma to temporarily disable the
11386 -Wunused-const-variable warning if the compiler doesn't support
11387 it. Fixes bug 26785; bugfix on 0.3.2.11.
11389 o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
11390 - Silence a spurious compiler warning on the GetAdaptersAddresses
11391 function pointer cast. This issue is already fixed by 26481 in
11392 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11393 bugfix on 0.2.3.11-alpha.
11394 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11395 supported, and always fails. Some compilers warn about the
11396 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11399 o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
11400 - Don't link or search for pthreads when building for Windows, even
11401 if we are using build environment (like mingw) that provides a
11402 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11404 o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
11405 - Skip a pair of unreliable key generation tests on Windows, until
11406 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11407 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11409 o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
11410 - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
11411 - Pass the module flags to distcheck configure, and log the flags
11412 before running configure. (Backported to 0.2.9 and later as a
11413 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11415 o Minor bugfixes (continuous integration, backport from 0.3.4.8):
11416 - When a Travis build fails, and showing a log fails, keep trying to
11417 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11418 - When we use echo in Travis, don't pass a --flag as the first
11419 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11421 o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
11422 - When voting for recommended versions, make sure that all of the
11423 versions are well-formed and parsable. Fixes bug 26485; bugfix
11426 o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
11427 - Always call tor_free_all() when leaving tor_run_main(). When we
11428 did not, restarting tor in-process would cause an assertion
11429 failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
11431 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
11432 - Fix a bug in our sandboxing rules for the openat() syscall.
11433 Previously, no openat() call would be permitted, which would break
11434 filesystem operations on recent glibc versions. Fixes bug 25440;
11435 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11437 o Minor bugfixes (logging, backport from 0.3.4.6-rc):
11438 - Improve the log message when connection initiators fail to
11439 authenticate direct connections to relays. Fixes bug 26927; bugfix
11442 o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
11443 - Fix bug that causes services to not ever rotate their descriptors
11444 if they were getting SIGHUPed often. Fixes bug 26932; bugfix
11447 o Minor bugfixes (onion services, backport from 0.3.4.8):
11448 - Silence a spurious compiler warning in
11449 rend_client_send_introduction(). Fixes bug 27463; bugfix
11452 o Minor bugfixes (portability, backport from 0.3.4.6-rc):
11453 - Work around two different bugs in the OS X 10.10 and later SDKs
11454 that would prevent us from successfully targeting earlier versions
11455 of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
11457 o Minor bugfixes (portability, backport from 0.3.4.7-rc):
11458 - Fix compilation of the unit tests on GNU/Hurd, which does not
11459 define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
11462 o Minor bugfixes (rust, backport from 0.3.4.7-rc):
11463 - Backport test_rust.sh from master. Fixes bug 26497; bugfix
11465 - Consistently use ../../.. as a fallback for $abs_top_srcdir in
11466 test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
11467 - Protover parsing was accepting the presence of whitespace in
11468 version strings, which the C implementation would choke on, e.g.
11469 "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
11470 - Protover parsing was ignoring a 2nd hyphen and everything after
11471 it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
11473 - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
11474 $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
11475 - cd to ${abs_top_builddir}/src/rust before running cargo in
11476 src/test/test_rust.sh. This makes the working directory consistent
11477 between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
11479 o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
11480 - Log a protocol warning when single onion services or Tor2web clients
11481 fail to authenticate direct connections to relays.
11482 Fixes bug 26924; bugfix on 0.2.9.1-alpha.
11484 o Minor bugfixes (testing, backport from 0.3.4.6-rc):
11485 - Disable core dumps in test_bt.sh, to avoid failures in "make
11486 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11488 o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
11489 - When running make test-network-all, use the mixed+hs-v2 network.
11490 (A previous fix to chutney removed v3 onion services from the
11491 mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
11492 confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
11493 - Before running make test-network-all, delete old logs and test
11494 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11497 o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
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 (v3 onion services, backport from 0.3.4.6-rc):
11504 - Stop sending ed25519 link specifiers in v3 onion service introduce
11505 cells and descriptors, when the rendezvous or introduction point
11506 doesn't support ed25519 link authentication. Fixes bug 26627;
11507 bugfix on 0.3.2.4-alpha.
11509 o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
11510 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11511 27185; bugfix on 0.2.2.2-alpha.
11514 Changes in version 0.3.4.8 - 2018-09-10
11515 Tor 0.3.4.8 is the first stable release in its series; it includes
11516 compilation and portability fixes.
11518 The Tor 0.3.4 series includes improvements for running Tor in
11519 low-power and embedded environments, which should help performance in
11520 general. We've begun work on better modularity, and included preliminary
11521 changes on the directory authority side to accommodate a new bandwidth
11522 measurement system. We've also integrated more continuous-integration
11523 systems into our development process, and made corresponding changes to
11524 Tor's testing infrastructure. Finally, we've continued to refine
11525 our anti-denial-of-service code.
11527 Below are the changes since 0.3.4.7-rc. For a complete list of changes
11528 since 0.3.3.9, see the ReleaseNotes file.
11530 o Minor features (compatibility):
11531 - Tell OpenSSL to maintain backward compatibility with previous
11532 RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
11533 ciphers are disabled by default. Closes ticket 27344.
11535 o Minor features (continuous integration):
11536 - Log the compiler path and version during Appveyor builds.
11537 Implements ticket 27449.
11538 - Show config.log and test-suite.log after failed Appveyor builds.
11539 Also upload the zipped full logs as a build artifact. Implements
11542 o Minor bugfixes (compilation):
11543 - Silence a spurious compiler warning on the GetAdaptersAddresses
11544 function pointer cast. This issue is already fixed by 26481 in
11545 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
11546 bugfix on 0.2.3.11-alpha.
11547 - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
11548 supported, and always fails. Some compilers warn about the
11549 function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
11552 o Minor bugfixes (continuous integration):
11553 - Disable gcc hardening in Appveyor Windows 64-bit builds. As of
11554 August 29 2018, Appveyor images come with gcc 8.2.0 by default.
11555 Executables compiled for 64-bit Windows with this version of gcc
11556 crash when Tor's --enable-gcc-hardening flag is set. Fixes bug
11557 27460; bugfix on 0.3.4.1-alpha.
11558 - When a Travis build fails, and showing a log fails, keep trying to
11559 show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
11560 - When we use echo in Travis, don't pass a --flag as the first
11561 argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
11563 o Minor bugfixes (onion services):
11564 - Silence a spurious compiler warning in
11565 rend_client_send_introduction(). Fixes bug 27463; bugfix
11568 o Minor bugfixes (testing, chutney):
11569 - When running make test-network-all, use the mixed+hs-v2 network.
11570 (A previous fix to chutney removed v3 onion services from the
11571 mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
11572 confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
11573 - Before running make test-network-all, delete old logs and test
11574 result files, to avoid spurious failures. Fixes bug 27295; bugfix
11577 Changes in version 0.3.4.7-rc - 2018-08-24
11578 Tor 0.3.4.7-rc fixes several small compilation, portability, and
11579 correctness issues in previous versions of Tor. This version is a
11580 release candidate: if no serious bugs are found, we expect that the
11581 stable 0.3.4 release will be (almost) the same as this release.
11583 o Minor features (bug workaround):
11584 - Compile correctly on systems that provide the C11 stdatomic.h
11585 header, but where C11 atomic functions don't actually compile.
11586 Closes ticket 26779; workaround for Debian issue 903709.
11588 o Minor features (continuous integration):
11589 - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
11590 - Enable macOS builds in our Travis CI configuration. Closes
11592 - Install libcap-dev and libseccomp2-dev so these optional
11593 dependencies get tested on Travis CI. Closes ticket 26560.
11594 - Only post Appveyor IRC notifications when the build fails.
11595 Implements ticket 27275.
11596 - Run asciidoc during Travis CI. Implements ticket 27087.
11597 - Use ccache in our Travis CI configuration. Closes ticket 26952.
11599 o Minor features (continuous integration, rust):
11600 - Use cargo cache in our Travis CI configuration. Closes
11603 o Minor features (directory authorities):
11604 - Authorities no longer vote to make the subprotocol version
11605 "LinkAuth=1" a requirement: it is unsupportable with NSS, and
11606 hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
11608 o Minor features (geoip):
11609 - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
11610 Country database. Closes ticket 27089.
11612 o Minor bugfixes (compilation, windows):
11613 - Don't link or search for pthreads when building for Windows, even
11614 if we are using build environment (like mingw) that provides a
11615 pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
11617 o Minor bugfixes (continuous integration):
11618 - Improve Appveyor CI IRC logging. Generate correct branches and
11619 URLs for pull requests and tags. Use unambiguous short commits.
11620 Fixes bug 26979; bugfix on master.
11621 - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
11622 - Pass the module flags to distcheck configure, and log the flags
11623 before running configure. (Backported to 0.2.9 and later as a
11624 precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
11626 o Minor bugfixes (in-process restart):
11627 - Always call tor_free_all() when leaving tor_run_main(). When we
11628 did not, restarting tor in-process would cause an assertion
11629 failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
11631 o Minor bugfixes (linux seccomp2 sandbox):
11632 - Fix a bug in out sandboxing rules for the openat() syscall.
11633 Previously, no openat() call would be permitted, which would break
11634 filesystem operations on recent glibc versions. Fixes bug 25440;
11635 bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
11637 o Minor bugfixes (onion services):
11638 - Fix bug that causes services to not ever rotate their descriptors
11639 if they were getting SIGHUPed often. Fixes bug 26932; bugfix
11642 o Minor bugfixes (portability):
11643 - Fix compilation of the unit tests on GNU/Hurd, which does not
11644 define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
11647 o Minor bugfixes (rust):
11648 - Backport test_rust.sh from master. Fixes bug 26497; bugfix
11650 - Consistently use ../../.. as a fallback for $abs_top_srcdir in
11651 test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
11652 - Protover parsing was accepting the presence of whitespace in
11653 version strings, which the C implementation would choke on, e.g.
11654 "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
11655 - Protover parsing was ignoring a 2nd hyphen and everything after
11656 it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
11658 - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
11659 $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
11660 - cd to ${abs_top_builddir}/src/rust before running cargo in
11661 src/test/test_rust.sh. This makes the working directory consistent
11662 between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
11664 o Minor bugfixes (testing, bootstrap):
11665 - When calculating bootstrap progress, check exit policies and the
11666 exit flag. Previously, Tor would only check the exit flag, which
11667 caused race conditions in small and fast networks like chutney.
11668 Fixes bug 27236; bugfix on 0.2.6.3-alpha.
11670 o Minor bugfixes (testing, openssl compatibility):
11671 - Our "tortls/cert_matches_key" unit test no longer relies on
11672 OpenSSL internals. Previously, it relied on unsupported OpenSSL
11673 behavior in a way that caused it to crash with OpenSSL 1.0.2p.
11674 Fixes bug 27226; bugfix on 0.2.5.1-alpha.
11676 o Minor bugfixes (Windows, compilation):
11677 - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
11678 27185; bugfix on 0.2.2.2-alpha.
11681 Changes in version 0.3.4.6-rc - 2018-08-06
11682 Tor 0.3.4.6-rc fixes several small compilation, portability, and
11683 correctness issues in previous versions of Tor. This version is a
11684 release candidate: if no serious bugs are found, we expect that the
11685 stable 0.3.4 release will be (almost) the same as this release.
11687 o Major bugfixes (event scheduler):
11688 - When we enable a periodic event, schedule it in the event loop
11689 rather than running it immediately. Previously, we would re-run
11690 periodic events immediately in the middle of (for example)
11691 changing our options, with unpredictable effects. Fixes bug 27003;
11692 bugfix on 0.3.4.1-alpha.
11694 o Minor features (compilation):
11695 - When building Tor, prefer to use Python 3 over Python 2, and more
11696 recent (contemplated) versions over older ones. Closes
11698 - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
11699 tell the compiler not to include the system malloc implementation.
11700 Fixes bug 20424; bugfix on 0.2.0.20-rc.
11701 - Don't try to use a pragma to temporarily disable the
11702 -Wunused-const-variable warning if the compiler doesn't support
11703 it. Fixes bug 26785; bugfix on 0.3.2.11.
11705 o Minor bugfixes (continuous integration):
11706 - Skip a pair of unreliable key generation tests on Windows, until
11707 the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
11708 bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
11710 o Minor features (controller):
11711 - The control port now exposes the list of HTTPTunnelPorts and
11712 ExtOrPorts via GETINFO net/listeners/httptunnel and
11713 net/listeners/extor respectively. Closes ticket 26647.
11715 o Minor bugfixes (directory authority):
11716 - When voting for recommended versions, make sure that all of the
11717 versions are well-formed and parsable. Fixes bug 26485; bugfix
11720 o Minor features (geoip):
11721 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11722 Country database. Closes ticket 26674.
11724 o Minor features (Rust, portability):
11725 - Rust cross-compilation is now supported. Closes ticket 25895.
11727 o Minor bugfixes (compilation):
11728 - Update build system so that tor builds again with --disable-unittests
11729 after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
11730 - Fix a compilation warning on some versions of GCC when building
11731 code that calls routerinfo_get_my_routerinfo() twice, assuming
11732 that the second call will succeed if the first one did. Fixes bug
11733 26269; bugfix on 0.2.8.2-alpha.
11735 o Minor bugfixes (controller):
11736 - Report the port correctly when a port is configured to bind to
11737 "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
11738 - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
11739 Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
11740 on 0.3.3.1-alpha. Patch by "akwizgran".
11742 o Minor bugfixes (correctness, flow control):
11743 - Upon receiving a stream-level SENDME cell, verify that our window
11744 has not grown too large. Fixes bug 26214; bugfix on svn
11747 o Minor bugfixes (memory, correctness):
11748 - Fix a number of small memory leaks identified by coverity. Fixes
11749 bug 26467; bugfix on numerous Tor versions.
11751 o Minor bugfixes (logging):
11752 - Improve the log message when connection initiators fail to
11753 authenticate direct connections to relays. Fixes bug 26927; bugfix
11756 o Minor bugfixes (portability):
11757 - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
11758 26994; bugfix on 0.3.4.1-alpha.
11759 - Work around two different bugs in the OS X 10.10 and later SDKs
11760 that would prevent us from successfully targeting earlier versions
11761 of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
11763 o Minor bugfixes (single onion services, Tor2web):
11764 - Log a protocol warning when single onion services or Tor2web
11765 clients fail to authenticate direct connections to relays. Fixes
11766 bug 26924; bugfix on 0.2.9.1-alpha.
11768 o Minor bugfixes (testing):
11769 - Disable core dumps in test_bt.sh, to avoid failures in "make
11770 distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
11772 o Minor bugfixes (testing, compatibility):
11773 - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
11774 only to pass strings (rather than "bytes" objects) to the Python
11775 subprocess module. Python 3 on Windows seems to require this.
11776 Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
11777 0.3.1.1-alpha (for hs_ntor_ref.py).
11779 o Minor bugfixes (v3 onion services):
11780 - Stop sending ed25519 link specifiers in v3 onion service introduce
11781 cells and descriptors, when the rendezvous or introduction point
11782 doesn't support ed25519 link authentication. Fixes bug 26627;
11783 bugfix on 0.3.2.4-alpha.
11786 Changes in version 0.3.4.5-rc - 2018-07-13
11787 Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
11788 bridge relays should upgrade.
11790 o Directory authority changes:
11791 - The "Bifroest" bridge authority has been retired; the new bridge
11792 authority is "Serge", and it is operated by George from the
11793 TorBSD project. Closes ticket 26771.
11796 Changes in version 0.3.3.9 - 2018-07-13
11797 Tor 0.3.3.9 moves to a new bridge authority, meaning people running
11798 bridge relays should upgrade.
11800 o Directory authority changes:
11801 - The "Bifroest" bridge authority has been retired; the new bridge
11802 authority is "Serge", and it is operated by George from the
11803 TorBSD project. Closes ticket 26771.
11806 Changes in version 0.3.2.11 - 2018-07-13
11807 Tor 0.3.2.11 moves to a new bridge authority, meaning people running
11808 bridge relays should upgrade. We also take this opportunity to backport
11811 o Directory authority changes:
11812 - The "Bifroest" bridge authority has been retired; the new bridge
11813 authority is "Serge", and it is operated by George from the
11814 TorBSD project. Closes ticket 26771.
11816 o Directory authority changes (backport from 0.3.3.7):
11817 - Add an IPv6 address for the "dannenberg" directory authority.
11818 Closes ticket 26343.
11820 o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
11821 - When directory authorities read a zero-byte bandwidth file, they
11822 would previously log a warning with the contents of an
11823 uninitialised buffer. They now log a warning about the empty file
11824 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
11826 o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
11827 - Correctly detect when onion services get disabled after HUP. Fixes
11828 bug 25761; bugfix on 0.3.2.1.
11830 o Minor features (sandbox, backport from 0.3.3.4-alpha):
11831 - Explicitly permit the poll() system call when the Linux
11832 seccomp2-based sandbox is enabled: apparently, some versions of
11833 libc use poll() when calling getpwnam(). Closes ticket 25313.
11835 o Minor feature (continuous integration, backport from 0.3.3.5-rc):
11836 - Update the Travis CI configuration to use the stable Rust channel,
11837 now that we have decided to require that. Closes ticket 25714.
11839 o Minor features (continuous integration, backport from 0.3.4.1-alpha):
11840 - Our .travis.yml configuration now includes support for testing the
11841 results of "make distcheck". (It's not uncommon for "make check"
11842 to pass but "make distcheck" to fail.) Closes ticket 25814.
11843 - Our Travis CI configuration now integrates with the Coveralls
11844 coverage analysis tool. Closes ticket 25818.
11846 o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
11847 - Add several checks to detect whether Tor relays are uploading
11848 their descriptors without specifying why they regenerated them.
11849 Diagnostic for ticket 25686.
11851 o Minor features (compilation, backport from 0.3.4.4-rc):
11852 - When building Tor, prefer to use Python 3 over Python 2, and more
11853 recent (contemplated) versions over older ones. Closes
11856 o Minor features (geoip):
11857 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11858 Country database. Closes ticket 26674.
11860 o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
11861 - Upon receiving a malformed connected cell, stop processing the
11862 cell immediately. Previously we would mark the connection for
11863 close, but continue processing the cell as if the connection were
11864 open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
11866 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
11867 - Allow the nanosleep() system call, which glibc uses to implement
11868 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
11870 o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
11871 - When running the hs_ntor_ref.py test, make sure only to pass
11872 strings (rather than "bytes" objects) to the Python subprocess
11873 module. Python 3 on Windows seems to require this. Fixes bug
11874 26535; bugfix on 0.3.1.1-alpha.
11875 - When running the ntor_ref.py test, make sure only to pass strings
11876 (rather than "bytes" objects) to the Python subprocess module.
11877 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
11880 o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
11881 - Work around a change in OpenSSL 1.1.1 where return values that
11882 would previously indicate "no password" now indicate an empty
11883 password. Without this workaround, Tor instances running with
11884 OpenSSL 1.1.1 would accept descriptors that other Tor instances
11885 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
11887 o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
11888 - Document that the PerConnBW{Rate,Burst} options will fall back to
11889 their corresponding consensus parameters only if those parameters
11890 are set. Previously we had claimed that these values would always
11891 be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
11893 o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
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 (client, backport from 0.3.4.1-alpha):
11900 - Don't consider Tor running as a client if the ControlPort is open,
11901 but no actual client ports are open. Fixes bug 26062; bugfix
11904 o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
11905 - Prevent a possible out-of-bounds smartlist read in
11906 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
11908 o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
11909 - Fix a very unlikely (impossible, we believe) null pointer
11910 dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
11911 Coverity; this is CID 1430932.
11913 o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
11914 - Fix a memory leak when a v3 onion service is configured and gets a
11915 SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
11916 - When parsing the descriptor signature, look for the token plus an
11917 extra white-space at the end. This is more correct but also will
11918 allow us to support new fields that might start with "signature".
11919 Fixes bug 26069; bugfix on 0.3.0.1-alpha.
11921 o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
11922 - Relays now correctly block attempts to re-extend to the previous
11923 relay by Ed25519 identity. Previously they would warn in this
11924 case, but not actually reject the attempt. Fixes bug 26158; bugfix
11927 o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
11928 - Avoid a crash when running with DirPort set but ORPort turned off.
11929 Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
11931 o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
11932 - Silence unused-const-variable warnings in zstd.h with some GCC
11933 versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
11935 o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
11936 - Avoid intermittent test failures due to a test that had relied on
11937 onion service introduction point creation finishing within 5
11938 seconds of real clock time. Fixes bug 25450; bugfix
11941 o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
11942 - Fix a C99 compliance issue in our configuration script that caused
11943 compilation issues when compiling Tor with certain versions of
11944 xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
11946 o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
11947 - Fix a number of small memory leaks identified by coverity. Fixes
11948 bug 26467; bugfix on numerous Tor versions.
11950 o Code simplification and refactoring (backport from 0.3.3.5-rc):
11951 - Move the list of default directory authorities to its own file.
11952 Closes ticket 24854. Patch by "beastr0".
11955 Changes in version 0.2.9.16 - 2018-07-13
11956 Tor 0.2.9.16 moves to a new bridge authority, meaning people running
11957 bridge relays should upgrade. We also take this opportunity to backport
11960 o Directory authority changes:
11961 - The "Bifroest" bridge authority has been retired; the new bridge
11962 authority is "Serge", and it is operated by George from the
11963 TorBSD project. Closes ticket 26771.
11965 o Directory authority changes (backport from 0.3.3.7):
11966 - Add an IPv6 address for the "dannenberg" directory authority.
11967 Closes ticket 26343.
11969 o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
11970 - When directory authorities read a zero-byte bandwidth file, they
11971 would previously log a warning with the contents of an
11972 uninitialised buffer. They now log a warning about the empty file
11973 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
11975 o Minor features (sandbox, backport from 0.3.3.4-alpha):
11976 - Explicitly permit the poll() system call when the Linux
11977 seccomp2-based sandbox is enabled: apparently, some versions of
11978 libc use poll() when calling getpwnam(). Closes ticket 25313.
11980 o Minor features (continuous integration, backport from 0.3.4.1-alpha):
11981 - Our .travis.yml configuration now includes support for testing the
11982 results of "make distcheck". (It's not uncommon for "make check"
11983 to pass but "make distcheck" to fail.) Closes ticket 25814.
11984 - Our Travis CI configuration now integrates with the Coveralls
11985 coverage analysis tool. Closes ticket 25818.
11987 o Minor features (compilation, backport from 0.3.4.4-rc):
11988 - When building Tor, prefer to use Python 3 over Python 2, and more
11989 recent (contemplated) versions over older ones. Closes
11992 o Minor features (geoip):
11993 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
11994 Country database. Closes ticket 26674.
11996 o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
11997 - Upon receiving a malformed connected cell, stop processing the
11998 cell immediately. Previously we would mark the connection for
11999 close, but continue processing the cell as if the connection were
12000 open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
12002 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
12003 - Allow the nanosleep() system call, which glibc uses to implement
12004 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
12006 o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
12007 - When running the ntor_ref.py test, make sure only to pass strings
12008 (rather than "bytes" objects) to the Python subprocess module.
12009 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
12012 o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
12013 - Work around a change in OpenSSL 1.1.1 where return values that
12014 would previously indicate "no password" now indicate an empty
12015 password. Without this workaround, Tor instances running with
12016 OpenSSL 1.1.1 would accept descriptors that other Tor instances
12017 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
12019 o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
12020 - Fix a compilation warning on some versions of GCC when building
12021 code that calls routerinfo_get_my_routerinfo() twice, assuming
12022 that the second call will succeed if the first one did. Fixes bug
12023 26269; bugfix on 0.2.8.2-alpha.
12025 o Minor bugfixes (client, backport from 0.3.4.1-alpha):
12026 - Don't consider Tor running as a client if the ControlPort is open,
12027 but no actual client ports are open. Fixes bug 26062; bugfix
12030 o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
12031 - Prevent a possible out-of-bounds smartlist read in
12032 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
12034 o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
12035 - Fix a very unlikely (impossible, we believe) null pointer
12036 dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
12037 Coverity; this is CID 1430932.
12039 o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
12040 - Fix a number of small memory leaks identified by coverity. Fixes
12041 bug 26467; bugfix on numerous Tor versions.
12043 o Code simplification and refactoring (backport from 0.3.3.5-rc):
12044 - Move the list of default directory authorities to its own file.
12045 Closes ticket 24854. Patch by "beastr0".
12048 Changes in version 0.3.4.4-rc - 2018-07-09
12049 Tor 0.3.4.4-rc fixes several small compilation, portability, and
12050 correctness issues in previous versions of Tor. This version is a
12051 release candidate: if no serious bugs are found, we expect that the
12052 stable 0.3.4 release will be (almost) the same as this release.
12054 o Minor features (compilation):
12055 - When building Tor, prefer to use Python 3 over Python 2, and more
12056 recent (contemplated) versions over older ones. Closes
12059 o Minor features (geoip):
12060 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
12061 Country database. Closes ticket 26674.
12063 o Minor features (Rust, portability):
12064 - Rust cross-compilation is now supported. Closes ticket 25895.
12066 o Minor bugfixes (compilation):
12067 - Fix a compilation warning on some versions of GCC when building
12068 code that calls routerinfo_get_my_routerinfo() twice, assuming
12069 that the second call will succeed if the first one did. Fixes bug
12070 26269; bugfix on 0.2.8.2-alpha.
12072 o Minor bugfixes (control port):
12073 - Report the port correctly when a port is configured to bind to
12074 "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
12075 - Handle the HSADDRESS= argument to the HSPOST command properly.
12076 (Previously, this argument was misparsed and thus ignored.) Fixes
12077 bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
12079 o Minor bugfixes (correctness, flow control):
12080 - Upon receiving a stream-level SENDME cell, verify that our window
12081 has not grown too large. Fixes bug 26214; bugfix on svn
12084 o Minor bugfixes (memory, correctness):
12085 - Fix a number of small memory leaks identified by coverity. Fixes
12086 bug 26467; bugfix on numerous Tor versions.
12088 o Minor bugfixes (testing, compatibility):
12089 - When running the hs_ntor_ref.py test, make sure only to pass
12090 strings (rather than "bytes" objects) to the Python subprocess
12091 module. Python 3 on Windows seems to require this. Fixes bug
12092 26535; bugfix on 0.3.1.1-alpha.
12093 - When running the ntor_ref.py test, make sure only to pass strings
12094 (rather than "bytes" objects) to the Python subprocess module.
12095 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
12099 Changes in version 0.3.3.8 - 2018-07-09
12100 Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
12101 fixes for a memory leak affecting directory authorities.
12103 o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
12104 - Stop leaking memory on directory authorities when planning to
12105 vote. This bug was crashing authorities by exhausting their
12106 memory. Fixes bug 26435; bugfix on 0.3.3.6.
12108 o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
12109 - Make sure that failing tests in Rust will actually cause the build
12110 to fail: previously, they were ignored. Fixes bug 26258; bugfix
12113 o Minor features (compilation, backport from 0.3.4.4-rc):
12114 - When building Tor, prefer to use Python 3 over Python 2, and more
12115 recent (contemplated) versions over older ones. Closes
12118 o Minor features (geoip):
12119 - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
12120 Country database. Closes ticket 26674.
12122 o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
12123 - Add several checks to detect whether Tor relays are uploading
12124 their descriptors without specifying why they regenerated them.
12125 Diagnostic for ticket 25686.
12127 o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
12128 - Don't count path selection failures as circuit build failures.
12129 This change should eliminate cases where Tor blames its guard or
12130 the network for situations like insufficient microdescriptors
12131 and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
12134 o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
12135 - Fix a compilation warning on some versions of GCC when building
12136 code that calls routerinfo_get_my_routerinfo() twice, assuming
12137 that the second call will succeed if the first one did. Fixes bug
12138 26269; bugfix on 0.2.8.2-alpha.
12140 o Minor bugfixes (control port, backport from 0.3.4.4-rc):
12141 - Handle the HSADDRESS= argument to the HSPOST command properly.
12142 (Previously, this argument was misparsed and thus ignored.) Fixes
12143 bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
12145 o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
12146 - Fix a number of small memory leaks identified by coverity. Fixes
12147 bug 26467; bugfix on numerous Tor versions.
12149 o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
12150 - Relays now correctly block attempts to re-extend to the previous
12151 relay by Ed25519 identity. Previously they would warn in this
12152 case, but not actually reject the attempt. Fixes bug 26158; bugfix
12155 o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
12156 - When shutting down, Tor now clears all the flags in the control.c
12157 module. This should prevent a bug where authentication cookies are
12158 not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
12160 o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
12161 - When running the hs_ntor_ref.py test, make sure only to pass
12162 strings (rather than "bytes" objects) to the Python subprocess
12163 module. Python 3 on Windows seems to require this. Fixes bug
12164 26535; bugfix on 0.3.1.1-alpha.
12165 - When running the ntor_ref.py test, make sure only to pass strings
12166 (rather than "bytes" objects) to the Python subprocess module.
12167 Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
12171 Changes in version 0.3.4.3-alpha - 2018-06-26
12172 Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
12173 one that was causing stability issues on directory authorities.
12175 o Major bugfixes (directory authority):
12176 - Stop leaking memory on directory authorities when planning to
12177 vote. This bug was crashing authorities by exhausting their
12178 memory. Fixes bug 26435; bugfix on 0.3.3.6.
12180 o Major bugfixes (rust, testing):
12181 - Make sure that failing tests in Rust will actually cause the build
12182 to fail: previously, they were ignored. Fixes bug 26258; bugfix
12185 o Minor feature (directory authorities):
12186 - Stop warning about incomplete bw lines before the first complete
12187 bw line has been found, so that additional header lines can be
12188 ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
12190 o Minor features (relay, diagnostic):
12191 - Add several checks to detect whether Tor relays are uploading
12192 their descriptors without specifying why they regenerated them.
12193 Diagnostic for ticket 25686.
12195 o Minor features (unit tests):
12196 - Test complete bandwidth measurements files, and test that
12197 incomplete bandwidth lines only give warnings when the end of the
12198 header has not been detected. Fixes bug 25947; bugfix
12201 o Minor bugfixes (compilation):
12202 - Refrain from compiling unit testing related object files when
12203 --disable-unittests is set to configure script. Fixes bug 24891;
12204 bugfix on 0.2.5.1-alpha.
12205 - When linking the libtor_testing.a library, only include the
12206 dirauth object files once. Previously, they were getting added
12207 twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
12208 - The --enable-fatal-warnings flag now affects Rust code as well.
12209 Closes ticket 26245.
12211 o Minor bugfixes (onion services):
12212 - Recompute some consensus information after detecting a clock jump,
12213 or after transitioning from a non-live consensus to a live
12214 consensus. We do this to avoid having an outdated state, and
12215 miscalculating the index for next-generation onion services. Fixes
12216 bug 24977; bugfix on 0.3.2.1-alpha.
12218 o Minor bugfixes (relay):
12219 - Relays now correctly block attempts to re-extend to the previous
12220 relay by Ed25519 identity. Previously they would warn in this
12221 case, but not actually reject the attempt. Fixes bug 26158; bugfix
12224 o Minor bugfixes (testing):
12225 - Fix compilation of the doctests in the Rust crypto crate. Fixes
12226 bug 26415; bugfix on 0.3.4.1-alpha.
12227 - Instead of trying to read the geoip configuration files from
12228 within the unit tests, instead create our own ersatz files with
12229 just enough geoip data in the format we expect. Trying to read
12230 from the source directory created problems on Windows with mingw,
12231 where the build system's paths are not the same as the platform's
12232 paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
12233 - Refrain from trying to get an item from an empty smartlist in
12234 test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
12235 to catch improper smartlist usage. Furthermore, enable
12236 DEBUG_SMARTLIST globally when build is configured with fragile
12237 hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
12240 Changes in version 0.3.3.7 - 2018-06-12
12241 Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
12242 fixes for bugs affecting compatibility and stability.
12244 o Directory authority changes:
12245 - Add an IPv6 address for the "dannenberg" directory authority.
12246 Closes ticket 26343.
12248 o Minor features (geoip):
12249 - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
12250 Country database. Closes ticket 26351.
12252 o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
12253 - Work around a change in OpenSSL 1.1.1 where return values that
12254 would previously indicate "no password" now indicate an empty
12255 password. Without this workaround, Tor instances running with
12256 OpenSSL 1.1.1 would accept descriptors that other Tor instances
12257 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
12259 o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
12260 - Silence unused-const-variable warnings in zstd.h with some GCC
12261 versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
12263 o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
12264 - Improve accuracy of the BUILDTIMEOUT_SET control port event's
12265 TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
12266 miscounting the total number of circuits for these field values.)
12267 Fixes bug 26121; bugfix on 0.3.3.1-alpha.
12269 o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
12270 - Prevent a possible out-of-bounds smartlist read in
12271 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
12273 o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
12274 - Only select relays when they have the descriptors we prefer to use
12275 for them. This change fixes a bug where we could select a relay
12276 because it had _some_ descriptor, but reject it later with a
12277 nonfatal assertion error because it didn't have the exact one we
12278 wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
12281 Changes in version 0.3.4.2-alpha - 2018-06-12
12282 Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
12283 release, and forward-ports an authority-only security fix from 0.3.3.6.
12285 o Directory authority changes:
12286 - Add an IPv6 address for the "dannenberg" directory authority.
12287 Closes ticket 26343.
12289 o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
12290 - Fix a bug that could have allowed an attacker to force a directory
12291 authority to use up all its RAM by passing it a maliciously
12292 crafted protocol versions string. Fixes bug 25517; bugfix on
12293 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
12295 o Minor features (continuous integration):
12296 - Add the necessary configuration files for continuous integration
12297 testing on Windows, via the Appveyor platform. Closes ticket
12298 25549. Patches from Marcin Cieślak and Isis Lovecruft.
12300 o Minor features (geoip):
12301 - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
12302 Country database. Closes ticket 26351.
12304 o Minor bugfixes (compatibility, openssl):
12305 - Work around a change in OpenSSL 1.1.1 where return values that
12306 would previously indicate "no password" now indicate an empty
12307 password. Without this workaround, Tor instances running with
12308 OpenSSL 1.1.1 would accept descriptors that other Tor instances
12309 would reject. Fixes bug 26116; bugfix on 0.2.5.16.
12311 o Minor bugfixes (compilation):
12312 - Silence unused-const-variable warnings in zstd.h with some GCC
12313 versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
12314 - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
12315 flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
12316 - Avoid a compiler warning when casting the return value of
12317 smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
12318 26283; bugfix on 0.2.4.10-alpha.
12320 o Minor bugfixes (control port):
12321 - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
12322 CIRC_BW events. Previously, such cells were counted entirely in
12323 the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
12326 o Minor bugfixes (controller):
12327 - Improve accuracy of the BUILDTIMEOUT_SET control port event's
12328 TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
12329 miscounting the total number of circuits for these field values.)
12330 Fixes bug 26121; bugfix on 0.3.3.1-alpha.
12332 o Minor bugfixes (hardening):
12333 - Prevent a possible out-of-bounds smartlist read in
12334 protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
12336 o Minor bugfixes (onion services):
12337 - Fix a bug that blocked the creation of ephemeral v3 onion
12338 services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
12340 o Minor bugfixes (test coverage tools):
12341 - Update our "cov-diff" script to handle output from the latest
12342 version of gcov, and to remove extraneous timestamp information
12343 from its output. Fixes bugs 26101 and 26102; bugfix
12347 Changes in version 0.3.3.6 - 2018-05-22
12348 Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
12349 backports several important fixes from the 0.3.4.1-alpha.
12351 The Tor 0.3.3 series includes controller support and other
12352 improvements for v3 onion services, official support for embedding Tor
12353 within other applications, and our first non-trivial module written in
12354 the Rust programming language. (Rust is still not enabled by default
12355 when building Tor.) And as usual, there are numerous other smaller
12356 bugfixes, features, and improvements.
12358 Below are the changes since 0.3.3.5-rc. For a list of all changes
12359 since 0.3.2.10, see the ReleaseNotes file.
12361 o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
12362 - When directory authorities read a zero-byte bandwidth file, they
12363 would previously log a warning with the contents of an
12364 uninitialised buffer. They now log a warning about the empty file
12365 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
12367 o Major bugfixes (security, directory authority, denial-of-service):
12368 - Fix a bug that could have allowed an attacker to force a directory
12369 authority to use up all its RAM by passing it a maliciously
12370 crafted protocol versions string. Fixes bug 25517; bugfix on
12371 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
12373 o Major bugfixes (crash, backport from 0.3.4.1-alpha):
12374 - Avoid a rare assertion failure in the circuit build timeout code
12375 if we fail to allow any circuits to actually complete. Fixes bug
12376 25733; bugfix on 0.2.2.2-alpha.
12378 o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
12379 - Avoid a crash when testing router reachability on a router that
12380 could have an ed25519 ID, but which does not. Fixes bug 25415;
12381 bugfix on 0.3.3.2-alpha.
12383 o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
12384 - Correctly detect when onion services get disabled after HUP. Fixes
12385 bug 25761; bugfix on 0.3.2.1.
12387 o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
12388 - Impose a limit on circuit cell queue size. The limit can be
12389 controlled by a consensus parameter. Fixes bug 25226; bugfix
12392 o Minor features (compatibility, backport from 0.3.4.1-alpha):
12393 - Avoid some compilation warnings with recent versions of LibreSSL.
12394 Closes ticket 26006.
12396 o Minor features (continuous integration, backport from 0.3.4.1-alpha):
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 (geoip):
12404 - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
12405 database. Closes ticket 26104.
12407 o Minor bugfixes (client, backport from 0.3.4.1-alpha):
12408 - Don't consider Tor running as a client if the ControlPort is open,
12409 but no actual client ports are open. Fixes bug 26062; bugfix
12412 o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
12413 - Upon receiving a malformed connected cell, stop processing the
12414 cell immediately. Previously we would mark the connection for
12415 close, but continue processing the cell as if the connection were
12416 open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
12418 o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
12419 - Stop saying in the manual that clients cache ipv4 dns answers from
12420 exit relays. We haven't used them since 0.2.6.3-alpha, and in
12421 ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
12422 we forgot to say so in the man page. Fixes bug 26052; bugfix
12425 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
12426 - Allow the nanosleep() system call, which glibc uses to implement
12427 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
12429 o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
12430 - Fix a memory leak when a v3 onion service is configured and gets a
12431 SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
12432 - When parsing the descriptor signature, look for the token plus an
12433 extra white-space at the end. This is more correct but also will
12434 allow us to support new fields that might start with "signature".
12435 Fixes bug 26069; bugfix on 0.3.0.1-alpha.
12437 o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
12438 - Avoid a crash when running with DirPort set but ORPort turned off.
12439 Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
12441 o Documentation (backport from 0.3.4.1-alpha):
12442 - Correct an IPv6 error in the documentation for ExitPolicy. Closes
12443 ticket 25857. Patch from "CTassisF".
12446 Changes in version 0.3.4.1-alpha - 2018-05-17
12447 Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
12448 includes refactoring to begin reducing Tor's binary size and idle CPU
12449 usage on mobile, along with prep work for new bandwidth scanners,
12450 improvements to the experimental "vanguards" feature, and numerous
12451 other small features and bugfixes.
12453 o New system requirements:
12454 - Tor no longer tries to support old operating systems without
12455 mmap() or some local equivalent. Apparently, compilation on such
12456 systems has been broken for some time, without anybody noticing or
12457 complaining. Closes ticket 25398.
12459 o Major feature (directory authority, modularization):
12460 - The directory authority subsystem has been modularized. The code
12461 is now located in src/or/dirauth/, and is compiled in by default.
12462 To disable the module, the configure option
12463 --disable-module-dirauth has been added. This module may be
12464 disabled by default in some future release. Closes ticket 25610.
12466 o Major features (main loop, CPU usage):
12467 - When Tor is disabled (via DisableNetwork or via hibernation), it
12468 no longer needs to run any per-second events. This change should
12469 make it easier for mobile applications to disable Tor while the
12470 device is sleeping, or Tor is not running. Closes ticket 26063.
12471 - Tor no longer enables all of its periodic events by default.
12472 Previously, Tor would enable all possible main loop events,
12473 regardless of whether it needed them. Furthermore, many of these
12474 events are now disabled with Tor is hibernating or DisableNetwork
12475 is set. This is a big step towards reducing client CPU usage by
12476 reducing the amount of wake-ups the daemon does. Closes ticket
12478 - The bandwidth-limitation logic has been refactored so that
12479 bandwidth calculations are performed on-demand, rather than every
12480 TokenBucketRefillInterval milliseconds. This change should improve
12481 the granularity of our bandwidth calculations, and limit the
12482 number of times that the Tor process needs to wake up when it is
12483 idle. Closes ticket 25373.
12484 - Move responsibility for many operations from a once-per-second
12485 callback to a callback that is only scheduled as needed. Moving
12486 this functionality has allowed us to disable the callback when
12487 Tor's network is disabled. Once enough items are removed from our
12488 once-per-second callback, we can eliminate it entirely to conserve
12489 CPU when idle. The functionality removed includes: closing
12490 connections, circuits, and channels (ticket 25932); consensus
12491 voting (25937); flushing log callbacks (25951); honoring delayed
12492 SIGNEWNYM requests (25949); rescanning the consensus cache
12493 (25931); saving the state file to disk (25948); warning relay
12494 operators about unreachable ports (25952); and keeping track of
12495 Tor's uptime (26009).
12497 o Major bugfixes (directory authorities, security):
12498 - When directory authorities read a zero-byte bandwidth file, they
12499 would previously log a warning with the contents of an
12500 uninitialised buffer. They now log a warning about the empty file
12501 instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
12503 o Major bugfixes (crash):
12504 - Avoid a rare assertion failure in the circuit build timeout code
12505 if we fail to allow any circuits to actually complete. Fixes bug
12506 25733; bugfix on 0.2.2.2-alpha.
12508 o Major bugfixes (directory authority):
12509 - Avoid a crash when testing router reachability on a router that
12510 could have an ed25519 ID, but which does not. Fixes bug 25415;
12511 bugfix on 0.3.3.2-alpha.
12513 o Major bugfixes (onion service):
12514 - Correctly detect when onion services get disabled after HUP. Fixes
12515 bug 25761; bugfix on 0.3.2.1.
12517 o Major bugfixes (protover, voting):
12518 - Revise Rust implementation of protover to use a more memory-
12519 efficient voting algorithm and corresponding data structures, thus
12520 avoiding a potential (but small impact) DoS attack where specially
12521 crafted protocol strings would expand to several potential
12522 megabytes in memory. In the process, several portions of code were
12523 revised to be methods on new, custom types, rather than functions
12524 taking interchangeable types, thus increasing type safety of the
12525 module. Custom error types and handling were added as well, in
12526 order to facilitate better error dismissal/handling in outside
12527 crates and avoid mistakenly passing an internal error string to C
12528 over the FFI boundary. Many tests were added, and some previous
12529 differences between the C and Rust implementations have been
12530 remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
12532 o Major bugfixes (relay, denial of service):
12533 - Impose a limit on circuit cell queue size. The limit can be
12534 controlled by a consensus parameter. Fixes bug 25226; bugfix
12537 o Minor features (accounting):
12538 - When Tor becomes dormant, it now uses a scheduled event to wake up
12539 at the right time. Previously, we would use the per-second timer
12540 to check whether to wake up, but we no longer have any per-second
12541 timers enabled when the network is disabled. Closes ticket 26064.
12543 o Minor features (code quality):
12544 - Add optional spell-checking for the Tor codebase, using the
12545 "misspell" program. To use this feature, run "make check-typos".
12546 Closes ticket 25024.
12548 o Minor features (compatibility):
12549 - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
12550 the no-deprecated option, and builds correctly with them. Closes
12551 tickets 19429, 19981, and 25353.
12552 - Avoid some compilation warnings with recent versions of LibreSSL.
12553 Closes ticket 26006.
12555 o Minor features (compression, zstd):
12556 - When running with zstd, Tor now considers using advanced functions
12557 that the zstd maintainers have labeled as potentially unstable. To
12558 prevent breakage, Tor will only use this functionality when the
12559 runtime version of the zstd library matches the version with which
12560 Tor was compiled. Closes ticket 25162.
12562 o Minor features (configuration):
12563 - The "DownloadSchedule" options have been renamed to end with
12564 "DownloadInitialDelay". The old names are still allowed, but will
12565 produce a warning. Comma-separated lists are still permitted for
12566 these options, but all values after the first are ignored (as they
12567 have been since 0.2.9). Closes ticket 23354.
12569 o Minor features (continuous integration):
12570 - Our .travis.yml configuration now includes support for testing the
12571 results of "make distcheck". (It's not uncommon for "make check"
12572 to pass but "make distcheck" to fail.) Closes ticket 25814.
12573 - Our Travis CI configuration now integrates with the Coveralls
12574 coverage analysis tool. Closes ticket 25818.
12576 o Minor features (control port):
12577 - Introduce GETINFO "current-time/{local,utc}" to return the local
12578 and UTC times respectively in ISO format. This helps a controller
12579 like Tor Browser detect a time-related error. Closes ticket 25511.
12580 Patch by Neel Chauhan.
12581 - Introduce new fields to the CIRC_BW event. There are two new
12582 fields in each of the read and written directions. The DELIVERED
12583 fields report the total valid data on the circuit, as measured by
12584 the payload sizes of verified and error-checked relay command
12585 cells. The OVERHEAD fields report the total unused bytes in each
12586 of these cells. Closes ticket 25903.
12588 o Minor features (directory authority):
12589 - Directory authorities now open their key-pinning files as O_SYNC,
12590 to limit their chances of accidentally writing partial lines.
12591 Closes ticket 23909.
12593 o Minor features (directory authority, forward compatibility):
12594 - Make the lines of the measured bandwidth file able to contain
12595 their entries in any order. Previously, the node_id entry needed
12596 to come first. Closes ticket 26004.
12598 o Minor features (entry guards):
12599 - Introduce a new torrc option NumPrimaryGuards for controlling the
12600 number of primary guards. Closes ticket 25843.
12602 o Minor features (geoip):
12603 - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
12604 database. Closes ticket 26104.
12606 o Minor features (performance):
12607 - Avoid a needless call to malloc() when processing an incoming
12608 relay cell. Closes ticket 24914.
12609 - Make our timing-wheel code run a tiny bit faster on 32-bit
12610 platforms, by preferring 32-bit math to 64-bit. Closes
12612 - Avoid a needless malloc()/free() pair every time we handle an ntor
12613 handshake. Closes ticket 25150.
12615 o Minor features (testing):
12616 - Add a unit test for voting_schedule_get_start_of_next_interval().
12617 Closes ticket 26014, and helps make unit test coverage
12618 more deterministic.
12619 - A new unittests module specifically for testing the functions in
12620 the (new-ish) bridges.c module has been created with new
12621 unittests, raising the code coverage percentages. Closes 25425.
12622 - We now have improved testing for addressmap_get_virtual_address()
12623 function. This should improve our test coverage, and make our test
12624 coverage more deterministic. Closes ticket 25993.
12626 o Minor features (timekeeping, circuit scheduling):
12627 - When keeping track of how busy each circuit have been recently on
12628 a given connection, use coarse-grained monotonic timers rather
12629 than gettimeofday(). This change should marginally increase
12630 accuracy and performance. Implements part of ticket 25927.
12632 o Minor bugfixes (bandwidth management):
12633 - Consider ourselves "low on write bandwidth" if we have exhausted
12634 our write bandwidth some time in the last second. This was the
12635 documented behavior before, but the actual behavior was to change
12636 this value every TokenBucketRefillInterval. Fixes bug 25828;
12637 bugfix on 0.2.3.5-alpha.
12639 o Minor bugfixes (C correctness):
12640 - Add a missing lock acquisition in the shutdown code of the control
12641 subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
12642 Coverity; this is CID 1433643.
12644 o Minor bugfixes (circuit path selection):
12645 - Don't count path selection failures as circuit build failures.
12646 This change should eliminate cases where Tor blames its guard or
12647 the network for situations like insufficient microdescriptors
12648 and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
12651 o Minor bugfixes (client):
12652 - Don't consider Tor running as a client if the ControlPort is open,
12653 but no actual client ports are open. Fixes bug 26062; bugfix
12656 o Minor bugfixes (code style):
12657 - Fixed multiple includes of transports.h in src/or/connection.c
12658 Fixes bug 25261; bugfix on 0.2.5.1-alpha.
12659 - Remove the unused variable n_possible from the function
12660 channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
12662 o Minor bugfixes (control interface):
12663 - Respond with more human-readable error messages to GETINFO exit-
12664 policy/* requests. Also, let controller know if an error is
12665 transient (response code 551) or not (response code 552). Fixes
12666 bug 25852; bugfix on 0.2.8.1-alpha.
12668 o Minor bugfixes (controller):
12669 - Make CIRC_BW event reflect the total of all data sent on a
12670 circuit, including padding and dropped cells. Also fix a mis-
12671 counting bug when STREAM_BW events were enabled. Fixes bug 25400;
12672 bugfix on 0.2.5.2-alpha.
12674 o Minor bugfixes (correctness, client):
12675 - Upon receiving a malformed connected cell, stop processing the cell
12676 immediately. Previously we would mark the connection for close, but
12677 continue processing the cell as if the connection were open. Fixes bug
12678 26072; bugfix on 0.2.4.7-alpha.
12680 o Minor bugfixes (directory client):
12681 - When unverified-consensus is verified, rename it to cached-
12682 consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
12683 - Fixed launching a certificate fetch always during the scheduled
12684 periodic consensus fetch by fetching only in those cases when
12685 consensus are waiting for certs. Fixes bug 24740; bugfix
12688 o Minor bugfixes (documentation):
12689 - Stop saying in the manual that clients cache ipv4 dns answers from
12690 exit relays. We haven't used them since 0.2.6.3-alpha, and in
12691 ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
12692 we forgot to say so in the man page. Fixes bug 26052; bugfix
12695 o Minor bugfixes (error reporting):
12696 - Improve tolerance for directory authorities with skewed clocks.
12697 Previously, an authority with a clock more than 60 seconds ahead
12698 could cause a client with a correct clock to warn that the
12699 client's clock was behind. Now the clocks of a majority of
12700 directory authorities have to be ahead of the client before this
12701 warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
12703 o Minor bugfixes (Linux seccomp2 sandbox):
12704 - Allow the nanosleep() system call, which glibc uses to implement
12705 sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
12707 o Minor bugfixes (onion service):
12708 - Fix a memory leak when a v3 onion service is configured and gets a
12709 SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
12710 - When parsing the descriptor signature, look for the token plus an
12711 extra white-space at the end. This is more correct but also will
12712 allow us to support new fields that might start with "signature".
12713 Fixes bug 26069; bugfix on 0.3.0.1-alpha.
12715 o Minor bugfixes (path selection):
12716 - Only select relays when they have the descriptors we prefer to use
12717 for them. This change fixes a bug where we could select a relay
12718 because it had _some_ descriptor, but reject it later with a
12719 nonfatal assertion error because it didn't have the exact one we
12720 wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
12722 o Minor bugfixes (portability):
12723 - Do not align mmap length, as it is not required by POSIX, and the
12724 getpagesize function is deprecated. Fixes bug 25399; bugfix
12727 o Minor bugfixes (portability, FreeBSD):
12728 - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
12729 does not stringify on FreeBSD, so we switch to tor_asprintf().
12730 Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
12732 o Minor bugfixes (relay statistics):
12733 - When a relay is collecting internal statistics about how many
12734 create cell requests it has seen of each type, accurately count
12735 the requests from relays that temporarily fall out of the
12736 consensus. (To be extra conservative, we were already ignoring
12737 requests from clients in our counts, and we continue ignoring them
12738 here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
12740 o Minor bugfixes (relay, crash):
12741 - Avoid a crash when running with DirPort set but ORPort turned off.
12742 Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
12744 o Minor bugfixes (restart-in-process):
12745 - When shutting down, Tor now clears all the flags in the control.c
12746 module. This should prevent a bug where authentication cookies are
12747 not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
12749 o Minor bugfixes (testing):
12750 - When testing workqueue event-cancellation, make sure that we
12751 actually cancel an event, and that cancel each event with equal
12752 probability. (It was previously possible, though extremely
12753 unlikely, for our event-canceling test not to cancel any events.)
12754 Fixes bug 26008; bugfix on 0.2.6.3-alpha.
12755 - Repeat part of the test in test_client_pick_intro() a number of
12756 times, to give it consistent coverage. Fixes bug 25996; bugfix
12758 - Remove randomness from the hs_common/responsible_hsdirs test, so
12759 that it always takes the same path through the function it tests.
12760 Fixes bug 25997; bugfix on 0.3.2.1-alpha.
12761 - Change the behavior of the "channel/outbound" test so that it
12762 never causes a 10-second rollover for the EWMA circuitmux code.
12763 Previously, this behavior would happen randomly, and result in
12764 fluctuating test coverage. Fixes bug 25994; bugfix
12766 - Use X509_new() to allocate certificates that will be freed later
12767 with X509_free(). Previously, some parts of the unit tests had
12768 used tor_malloc_zero(), which is incorrect, and which caused test
12769 failures on Windows when they were built with extra hardening.
12770 Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
12772 - While running the circuit_timeout test, fix the PRNG to a
12773 deterministic AES stream, so that the test coverage from this test
12774 will itself be deterministic. Fixes bug 25995; bugfix
12777 o Minor bugfixes (vanguards):
12778 - Allow the last hop in a vanguard circuit to be the same as our
12779 first, to prevent the adversary from influencing guard node choice
12780 by choice of last hop. Also prevent the creation of A - B - A
12781 paths, or A - A paths, which are forbidden by relays. Fixes bug
12782 25870; bugfix on 0.3.3.1-alpha.
12784 o Code simplification and refactoring:
12785 - Remove duplicate code in parse_{c,s}method_line and bootstrap
12786 their functionalities into a single function. Fixes bug 6236;
12787 bugfix on 0.2.3.6-alpha.
12788 - We remove the PortForwarding and PortForwardingHelper options,
12789 related functions, and the port_forwarding tests. These options
12790 were used by the now-deprecated Vidalia to help ordinary users
12791 become Tor relays or bridges. Closes ticket 25409. Patch by
12793 - In order to make the OR and dir checking function in router.c less
12794 confusing we renamed some functions and
12795 consider_testing_reachability() has been split into
12796 router_should_check_reachability() and
12797 router_do_reachability_checks(). Also we improved the documentation
12798 in some functions. Closes ticket 18918.
12799 - Initial work to isolate Libevent usage to a handful of modules in
12800 our codebase, to simplify our call structure, and so that we can
12801 more easily change event loops in the future if needed. Closes
12803 - Introduce a function to call getsockname() and return tor_addr_t,
12804 to save a little complexity throughout the codebase. Closes
12806 - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
12807 as hsdir_index is always present. Also, we move hsdir_index_t into
12808 or.h. Closes ticket 23094. Patch by Neel Chauhan.
12809 - Merge functions used for describing nodes and suppress the
12810 functions that do not allocate memory for the output buffer
12811 string. NODE_DESC_BUF_LEN constant and format_node_description()
12812 function cannot be used externally from router.c module anymore.
12813 Closes ticket 25432. Patch by valentecaio.
12814 - Our main loop has been simplified so that all important operations
12815 happen inside events. Previously, some operations had to happen
12816 outside the event loop, to prevent infinite sequences of event
12817 activations. Closes ticket 25374.
12818 - Put a SHA1 public key digest in hs_service_intro_point_t, and use
12819 it in register_intro_circ() and service_intro_point_new(). This
12820 prevents the digest from being re-calculated each time. Closes
12821 ticket 23107. Patch by Neel Chauhan.
12822 - Refactor token-bucket implementations to use a common backend.
12823 Closes ticket 25766.
12824 - Remove extern declaration of stats_n_seconds_working variable from
12825 main, protecting its accesses with get_uptime() and reset_uptime()
12826 functions. Closes ticket 25081, patch by “valentecaio”.
12827 - Remove our previous logic for "cached gettimeofday()" -- our
12828 coarse monotonic timers are fast enough for this purpose, and far
12829 less error-prone. Implements part of ticket 25927.
12830 - Remove the return value for fascist_firewall_choose_address_base(),
12831 and sister functions such as fascist_firewall_choose_address_node()
12832 and fascist_firewall_choose_address_rs(). Also, while we're here,
12833 initialize the ap argument as leaving it uninitialized can pose a
12834 security hazard. Closes ticket 24734. Patch by Neel Chauhan.
12835 - Rename two fields of connection_t struct. timestamp_lastwritten is
12836 renamed to timestamp_last_write_allowed and timestamp_lastread is
12837 renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
12839 - Since Tor requires C99, remove our old workaround code for libc
12840 implementations where free(NULL) doesn't work. Closes ticket 24484.
12841 - Use our standard rate-limiting code to deal with excessive
12842 libevent failures, rather than the hand-rolled logic we had
12843 before. Closes ticket 26016.
12844 - We remove the return value of node_get_prim_orport() and
12845 node_get_prim_dirport(), and introduce node_get_prim_orport() in
12846 node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
12847 check for a null address. Closes ticket 23873. Patch by
12849 - We switch to should_record_bridge_info() in
12850 geoip_note_client_seen() and options_need_geoip_info() instead of
12851 accessing the configuration values directly. Fixes bug 25290;
12852 bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
12854 o Deprecated features:
12855 - As we are not recommending 0.2.5 anymore, we require relays that
12856 once had an ed25519 key associated with their RSA key to always
12857 have that key, instead of allowing them to drop back to a version
12858 that didn't support ed25519. This means they need to use a new RSA
12859 key if they want to downgrade to an older version of tor without
12860 ed25519. Closes ticket 20522.
12863 - Correct an IPv6 error in the documentation for ExitPolicy. Closes
12864 ticket 25857. Patch from "CTassisF".
12866 o Removed features:
12867 - Directory authorities will no longer support voting according to
12868 any consensus method before consensus method 25. This keeps
12869 authorities compatible with all authorities running 0.2.9.8 and
12870 later, and does not break any clients or relays. Implements ticket
12871 24378 and proposal 290.
12872 - The PortForwarding and PortForwardingHelper features have been
12873 removed. The reasoning is, given that implementations of NAT
12874 traversal protocols within common consumer grade routers are
12875 frequently buggy, and that the target audience for a NAT punching
12876 feature is a perhaps less-technically-inclined relay operator,
12877 when the helper fails to setup traversal the problems are usually
12878 deep, ugly, and very router specific, making them horrendously
12879 impossible for technical support to reliable assist with, and thus
12880 resulting in frustration all around. Unfortunately, relay
12881 operators who would like to run relays behind NATs will need to
12882 become more familiar with the port forwarding configurations on
12883 their local router. Closes 25409.
12884 - The TestingEnableTbEmptyEvent option has been removed. It was used
12885 in testing simulations to measure how often connection buckets
12886 were emptied, in order to improve our scheduling, but it has not
12887 been actively used in years. Closes ticket 25760.
12888 - The old "round-robin" circuit multiplexer (circuitmux)
12889 implementation has been removed, along with a fairly large set of
12890 code that existed to support it. It has not been the default
12891 circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
12892 but it still required an unreasonable amount of memory and CPU.
12893 Closes ticket 25268.
12896 Changes in version 0.3.3.5-rc - 2018-04-15
12897 Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
12898 including some that could affect reliability or correctness.
12900 This is the first release candidate in the 0.3.3 series. If we find no
12901 new bugs or regression here, then the first stable 0.3.3 release will
12902 be nearly identical to this one.
12904 o Major bugfixes (security, protover, voting):
12905 - Revise Rust implementation of protover to use a more memory-
12906 efficient voting algorithm and corresponding data structures, thus
12907 avoiding a potential memory-based DoS attack where specially
12908 crafted protocol strings would expand to fill available memory.
12909 Fixes bug 24031; bugfix on 0.3.3.1-alpha.
12911 o Major bugfixes (performance, load balancing):
12912 - Directory authorities no longer vote in favor of the Guard flag
12913 for relays without directory support. Starting in Tor
12914 0.3.0.1-alpha, clients have been avoiding using such relays in the
12915 Guard position, leading to increasingly broken load balancing for
12916 the 5%-or-so of Guards that don't advertise directory support.
12917 Fixes bug 22310; bugfix on 0.3.0.6.
12919 o Minor feature (continuous integration):
12920 - Update the Travis CI configuration to use the stable Rust channel,
12921 now that we have decided to require that. Closes ticket 25714.
12923 o Minor features (config options):
12924 - Change the way the default value for MaxMemInQueues is calculated.
12925 We now use 40% of the hardware RAM if the system has 8 GB RAM or
12926 more. Otherwise we use the former value of 75%. Closes
12929 o Minor features (geoip):
12930 - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
12931 Country database. Closes ticket 25718.
12933 o Minor bugfixes (client):
12934 - When using a listed relay as a bridge, and also using
12935 microdescriptors, and considering that relay as a non-bridge in a
12936 circuit, treat its microdescriptor as a valid source of
12937 information about that relay. This change should prevent a non-
12938 fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
12940 o Minor bugfixes (controller):
12941 - Restore the correct operation of the RESOLVE command, which had
12942 been broken since we added the ability to enable/disable DNS on
12943 specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
12945 o Minor bugfixes (distribution, compilation, rust):
12946 - Build correctly when the rust dependencies submodule is loaded,
12947 but the TOR_RUST_DEPENDENCIES environment variable is not set.
12948 Fixes bug 25679; bugfix on 0.3.3.1-alpha.
12949 - Actually include all of our Rust source in our source
12950 distributions. (Previously, a few of the files were accidentally
12951 omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
12953 o Minor bugfixes (documentation):
12954 - Document that the PerConnBW{Rate,Burst} options will fall back to
12955 their corresponding consensus parameters only if those parameters
12956 are set. Previously we had claimed that these values would always
12957 be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
12958 - Revert a misformatting issue in the ExitPolicy documentation.
12959 Fixes bug 25582; bugfix on 0.3.3.1-alpha.
12961 o Minor bugfixes (exit relay DNS retries):
12962 - Re-attempt timed-out DNS queries 3 times before failure, since our
12963 timeout is 5 seconds for them, but clients wait 10-15. Also allow
12964 slightly more timeouts per resolver when an exit has multiple
12965 resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
12967 o Minor bugfixes (onion services):
12968 - Re-instate counting the client HSDir fetch circuits against the
12969 MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
12971 - Remove underscores from the _HSLayer{2,3}Nodes options. This
12972 expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
12973 Fixes bug 25581; bugfix on 0.3.3.1-alpha
12975 o Code simplification and refactoring:
12976 - Move the list of default directory authorities to its own file.
12977 Closes ticket 24854. Patch by "beastr0".
12979 o Documentation (manpage, denial of service):
12980 - Provide more detail about the denial-of-service options, by
12981 listing each mitigation and explaining how they relate. Closes
12985 Changes in version 0.3.3.4-alpha - 2018-03-29
12986 Tor 0.3.3.4-alpha includes various bugfixes for issues found during
12987 the alpha testing of earlier releases in its series. We are
12988 approaching a stable 0.3.3.4-alpha release: more testing is welcome!
12990 o New system requirements:
12991 - When built with Rust, Tor now depends on version 0.2.39 of the
12992 libc crate. Closes tickets 25310 and 25664.
12994 o Major bugfixes (relay, connection):
12995 - If we have failed to connect to a relay and received a connection
12996 refused, timeout, or similar error (at the TCP level), do not try
12997 that same address/port again for 60 seconds after the failure has
12998 occurred. Fixes bug 24767; bugfix on 0.0.6.
13000 o Minor features (geoip):
13001 - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
13002 Country database. Closes ticket 25469.
13004 o Minor features (log messages):
13005 - Improve log message in the out-of-memory handler to include
13006 information about memory usage from the different compression
13007 backends. Closes ticket 25372.
13009 o Minor features (sandbox):
13010 - Explicitly permit the poll() system call when the Linux
13011 seccomp2-based sandbox is enabled: apparently, some versions of
13012 libc use poll() when calling getpwnam(). Closes ticket 25313.
13014 o Minor bugfixes (C correctness):
13015 - Fix a very unlikely (impossible, we believe) null pointer
13016 dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
13017 Coverity; this is CID 1430932.
13019 o Minor bugfixes (channel, client):
13020 - Better identify client connection when reporting to the geoip
13021 client cache. Fixes bug 24904; bugfix on 0.3.1.7.
13023 o Minor bugfixes (compilation):
13024 - Fix a C99 compliance issue in our configuration script that caused
13025 compilation issues when compiling Tor with certain versions of
13026 xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
13028 o Minor bugfixes (controller, reliability):
13029 - Avoid a (nonfatal) assertion failure when extending a one-hop
13030 circuit from the controller to become a multihop circuit. Fixes
13031 bug 24903; bugfix on 0.2.5.2-alpha.
13033 o Major bugfixes (networking):
13034 - Tor will no longer reject IPv6 address strings from Tor Browser
13035 when they are passed as hostnames in SOCKS5 requests. Fixes bug
13036 25036, bugfix on Tor 0.3.1.2.
13038 o Minor bugfixes (networking):
13039 - string_is_valid_hostname() will not consider IP strings to be
13040 valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
13042 o Minor bugfixes (onion service v3):
13043 - Avoid an assertion failure when the next onion service
13044 descriptor rotation type is out of sync with the consensus's
13045 valid-after time. Instead, log a warning message with extra
13046 information, so we can better hunt down the cause of this
13047 assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
13049 o Minor bugfixes (testing):
13050 - Avoid intermittent test failures due to a test that had relied on
13051 onion service introduction point creation finishing within 5
13052 seconds of real clock time. Fixes bug 25450; bugfix
13054 - Rust crates are now automatically detected and tested. Previously,
13055 some crates were not tested by `make test-rust` due to a static
13056 string in the `src/test/test_rust.sh` script specifying which
13057 crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
13059 o Minor bugfixes (testing, benchmarks):
13060 - Fix a crash when running benchmark tests on win32 systems. The
13061 crash was due to a mutex that wasn't initialized before logging
13062 and options were initialized. Fixes bug 25479; bugfix
13065 o Minor bugfixes (warnings, ipv6):
13066 - Avoid a bug warning that could occur when trying to connect to a
13067 relay over IPv6. This warning would occur on a Tor instance that
13068 downloads router descriptors, but prefers to use microdescriptors.
13069 Fixes bug 25213; bugfix on 0.3.3.1-alpha.
13071 o Code simplification and refactoring:
13072 - Remove the old (deterministic) directory retry logic entirely:
13073 We've used exponential backoff exclusively for some time. Closes
13077 - Improved the documentation of AccountingStart parameter. Closes
13079 - Update the documentation for "Log" to include the current list of
13080 logging domains. Closes ticket 25378.
13083 Changes in version 0.3.1.10 - 2018-03-03
13084 Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
13087 It includes an important security fix for a remote crash attack
13088 against directory authorities, tracked as TROVE-2018-001.
13090 This release also backports our new system for improved resistance to
13091 denial-of-service attacks against relays.
13093 This release also fixes several minor bugs and annoyances from
13096 All directory authorities should upgrade to one of the versions
13097 released today. Relays running 0.3.1.x may wish to update to one of
13098 the versions released today, for the DoS mitigations.
13100 Please note: according to our release calendar, Tor 0.3.1 will no
13101 longer be supported after 1 July 2018. If you will be running Tor
13102 after that date, you should make sure to plan to upgrade to the latest
13103 stable version, or downgrade to 0.2.9 (which will receive long-term
13106 o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
13107 - Fix a protocol-list handling bug that could be used to remotely crash
13108 directory authorities with a null-pointer exception. Fixes bug 25074;
13109 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13112 o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
13113 - Give relays some defenses against the recent network overload. We
13114 start with three defenses (default parameters in parentheses).
13115 First: if a single client address makes too many concurrent
13116 connections (>100), hang up on further connections. Second: if a
13117 single client address makes circuits too quickly (more than 3 per
13118 second, with an allowed burst of 90) while also having too many
13119 connections open (3), refuse new create cells for the next while
13120 (1-2 hours). Third: if a client asks to establish a rendezvous
13121 point to you directly, ignore the request. These defenses can be
13122 manually controlled by new torrc options, but relays will also
13123 take guidance from consensus parameters, so there's no need to
13124 configure anything manually. Implements ticket 24902.
13126 o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
13127 - Update the sandbox rules so that they should now work correctly
13128 with Glibc 2.26. Closes ticket 24315.
13130 o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
13131 - Fix an "off by 2" error in counting rendezvous failures on the
13132 onion service side. While we thought we would stop the rendezvous
13133 attempt after one failed circuit, we were actually making three
13134 circuit attempts before giving up. Now switch to a default of 2,
13135 and allow the consensus parameter "hs_service_max_rdv_failures" to
13136 override. Fixes bug 24895; bugfix on 0.0.6.
13138 o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
13139 - Add Link protocol version 5 to the supported protocols list. Fixes
13140 bug 25070; bugfix on 0.3.1.1-alpha.
13142 o Major bugfixes (relay, backport from 0.3.3.1-alpha):
13143 - Fix a set of false positives where relays would consider
13144 connections to other relays as being client-only connections (and
13145 thus e.g. deserving different link padding schemes) if those
13146 relays fell out of the consensus briefly. Now we look only at the
13147 initial handshake and whether the connection authenticated as a
13148 relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
13150 o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
13151 - Make our OOM handler aware of the geoip client history cache so it
13152 doesn't fill up the memory. This check is important for IPv6 and
13153 our DoS mitigation subsystem. Closes ticket 25122.
13155 o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
13156 - Change relay bandwidth reporting stats interval from 4 hours to 24
13157 hours in order to reduce the efficiency of guard discovery
13158 attacks. Fixes ticket 23856.
13160 o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
13161 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13162 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13163 since they neither disabled TLS 1.3 nor enabled any of the
13164 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13165 Closes ticket 24978.
13167 o Minor features (fallback directory mirrors, backport from 0.3.2.9):
13168 - The fallback directory list has been re-generated based on the
13169 current status of the network. Tor uses fallback directories to
13170 bootstrap when it doesn't yet have up-to-date directory
13171 information. Closes ticket 24801.
13172 - Make the default DirAuthorityFallbackRate 0.1, so that clients
13173 prefer to bootstrap from fallback directory mirrors. This is a
13174 follow-up to 24679, which removed weights from the default
13175 fallbacks. Implements ticket 24681.
13177 o Minor features (geoip):
13178 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13181 o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
13182 - Use the actual observed address of an incoming relay connection,
13183 not the canonical address of the relay from its descriptor, when
13184 making decisions about how to handle the incoming connection.
13185 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13187 o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
13188 - Directory authorities, when refusing a descriptor from a rejected
13189 relay, now explicitly tell the relay (in its logs) to set a valid
13190 ContactInfo address and contact the bad-relays@ mailing list.
13191 Fixes bug 25170; bugfix on 0.2.9.1.
13193 o Minor bugfixes (address selection, backport from 0.3.2.9):
13194 - When the fascist_firewall_choose_address_ functions don't find a
13195 reachable address, set the returned address to the null address
13196 and port. This is a precautionary measure, because some callers do
13197 not check the return value. Fixes bug 24736; bugfix
13200 o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
13201 - Fetch descriptors aggressively whenever we lack enough to build
13202 circuits, regardless of how many descriptors we are missing.
13203 Previously, we would delay launching the fetch when we had fewer
13204 than 15 missing descriptors, even if some of those descriptors
13205 were blocking circuits from building. Fixes bug 23985; bugfix on
13206 0.1.1.11-alpha. The effects of this bug became worse in
13207 0.3.0.3-alpha, when we began treating missing descriptors from our
13208 primary guards as a reason to delay circuits.
13209 - Don't try fetching microdescriptors from relays that have failed
13210 to deliver them in the past. Fixes bug 23817; bugfix
13213 o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
13214 - Fix a signed/unsigned comparison warning introduced by our fix to
13215 TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
13217 o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
13218 - Avoid a crash when attempting to use the seccomp2 sandbox together
13219 with the OwningControllerProcess feature. Fixes bug 24198; bugfix
13222 o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
13223 - Fix a possible crash on malformed consensus. If a consensus had
13224 contained an unparseable protocol line, it could have made clients
13225 and relays crash with a null-pointer exception. To exploit this
13226 issue, however, an attacker would need to be able to subvert the
13227 directory authority system. Fixes bug 25251; bugfix on
13228 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13230 o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
13231 - Recover better from empty or corrupt files in the consensus cache
13232 directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
13233 - When a consensus diff calculation is only partially successful,
13234 only record the successful parts as having succeeded. Partial
13235 success can happen if (for example) one compression method fails
13236 but the others succeed. Previously we misrecorded all the
13237 calculations as having succeeded, which would later cause a
13238 nonfatal assertion failure. Fixes bug 24086; bugfix
13241 o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
13242 - Tor now updates its guard state when it reads a consensus
13243 regardless of whether it's missing descriptors. That makes tor use
13244 its primary guards to fetch descriptors in some edge cases where
13245 it would previously have used fallback directories. Fixes bug
13246 23862; bugfix on 0.3.0.1-alpha.
13248 o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
13249 - Don't treat inability to store a cached consensus object as a bug:
13250 it can happen normally when we are out of disk space. Fixes bug
13251 24859; bugfix on 0.3.1.1-alpha.
13253 o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
13254 - When queuing DESTROY cells on a channel, only queue the circuit-id
13255 and reason fields: not the entire 514-byte cell. This fix should
13256 help mitigate any bugs or attacks that fill up these queues, and
13257 free more RAM for other uses. Fixes bug 24666; bugfix
13260 o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
13261 - When closing a connection via close_connection_immediately(), we
13262 mark it as "not blocked on bandwidth", to prevent later calls from
13263 trying to unblock it, and give it permission to read. This fixes a
13264 backtrace warning that can happen on relays under various
13265 circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
13267 o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
13268 - When selecting relays by bandwidth, avoid a rounding error that
13269 could sometimes cause load to be imbalanced incorrectly.
13270 Previously, we would always round upwards; now, we round towards
13271 the nearest integer. This had the biggest effect when a relay's
13272 weight adjustments should have given it weight 0, but it got
13273 weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
13274 - When calculating the fraction of nodes that have descriptors, and
13275 all nodes in the network have zero bandwidths, count the number of
13276 nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
13277 - Actually log the total bandwidth in compute_weighted_bandwidths().
13278 Fixes bug 24170; bugfix on 0.2.4.3-alpha.
13280 o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
13281 - Improve the performance of our consensus-diff application code
13282 when Tor is built with the --enable-fragile-hardening option set.
13283 Fixes bug 24826; bugfix on 0.3.1.1-alpha.
13285 o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
13286 - Don't exit the Tor process if setrlimit() fails to change the file
13287 limit (which can happen sometimes on some versions of OSX). Fixes
13288 bug 21074; bugfix on 0.0.9pre5.
13290 o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
13291 - Fix a bug in the bit-counting parts of our timing-wheel code on
13292 MSVC. (Note that MSVC is still not a supported build platform, due
13293 to cyptographic timing channel risks.) Fixes bug 24633; bugfix
13296 o Minor bugfixes (relay, partial backport):
13297 - Make the internal channel_is_client() function look at what sort
13298 of connection handshake the other side used, rather than whether
13299 the other side ever sent a create_fast cell to us. Backports part
13300 of the fixes from bugs 22805 and 24898.
13302 o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
13303 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13305 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13306 bugfix on 0.2.9.4-alpha.
13308 o Code simplification and refactoring (backport from 0.3.3.3-alpha):
13309 - Update the "rust dependencies" submodule to be a project-level
13310 repository, rather than a user repository. Closes ticket 25323.
13313 Changes in version 0.2.9.15 - 2018-03-03
13314 Tor 0.2.9.15 backports important security and stability bugfixes from
13315 later Tor releases.
13317 It includes an important security fix for a remote crash attack
13318 against directory authorities, tracked as TROVE-2018-001.
13320 This release also backports our new system for improved resistance to
13321 denial-of-service attacks against relays.
13323 This release also fixes several minor bugs and annoyances from
13326 All directory authorities should upgrade to one of the versions
13327 released today. Relays running 0.2.9.x may wish to update to one of
13328 the versions released today, for the DoS mitigations.
13330 o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
13331 - Fix a protocol-list handling bug that could be used to remotely crash
13332 directory authorities with a null-pointer exception. Fixes bug 25074;
13333 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13336 o Major features (denial-of-service mitigation):
13337 - Give relays some defenses against the recent network overload. We
13338 start with three defenses (default parameters in parentheses).
13339 First: if a single client address makes too many concurrent
13340 connections (>100), hang up on further connections. Second: if a
13341 single client address makes circuits too quickly (more than 3 per
13342 second, with an allowed burst of 90) while also having too many
13343 connections open (3), refuse new create cells for the next while
13344 (1-2 hours). Third: if a client asks to establish a rendezvous
13345 point to you directly, ignore the request. These defenses can be
13346 manually controlled by new torrc options, but relays will also
13347 take guidance from consensus parameters, so there's no need to
13348 configure anything manually. Implements ticket 24902.
13350 o Major bugfixes (bootstrapping):
13351 - Fetch descriptors aggressively whenever we lack enough to build
13352 circuits, regardless of how many descriptors we are missing.
13353 Previously, we would delay launching the fetch when we had fewer
13354 than 15 missing descriptors, even if some of those descriptors
13355 were blocking circuits from building. Fixes bug 23985; bugfix on
13356 0.1.1.11-alpha. The effects of this bug became worse in
13357 0.3.0.3-alpha, when we began treating missing descriptors from our
13358 primary guards as a reason to delay circuits.
13360 o Major bugfixes (onion services, retry behavior):
13361 - Fix an "off by 2" error in counting rendezvous failures on the
13362 onion service side. While we thought we would stop the rendezvous
13363 attempt after one failed circuit, we were actually making three
13364 circuit attempts before giving up. Now switch to a default of 2,
13365 and allow the consensus parameter "hs_service_max_rdv_failures" to
13366 override. Fixes bug 24895; bugfix on 0.0.6.
13368 o Minor feature (relay statistics):
13369 - Change relay bandwidth reporting stats interval from 4 hours to 24
13370 hours in order to reduce the efficiency of guard discovery
13371 attacks. Fixes ticket 23856.
13373 o Minor features (compatibility, OpenSSL):
13374 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13375 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13376 since they neither disabled TLS 1.3 nor enabled any of the
13377 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13378 Closes ticket 24978.
13380 o Minor features (denial-of-service avoidance):
13381 - Make our OOM handler aware of the geoip client history cache so it
13382 doesn't fill up the memory. This check is important for IPv6 and
13383 our DoS mitigation subsystem. Closes ticket 25122.
13385 o Minor features (fallback directory mirrors):
13386 - The fallback directory list has been re-generated based on the
13387 current status of the network. Tor uses fallback directories to
13388 bootstrap when it doesn't yet have up-to-date directory
13389 information. Closes ticket 24801.
13390 - Make the default DirAuthorityFallbackRate 0.1, so that clients
13391 prefer to bootstrap from fallback directory mirrors. This is a
13392 follow-up to 24679, which removed weights from the default
13393 fallbacks. Implements ticket 24681.
13395 o Minor features (geoip):
13396 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13399 o Minor features (linux seccomp2 sandbox):
13400 - Update the sandbox rules so that they should now work correctly
13401 with Glibc 2.26. Closes ticket 24315.
13403 o Minor bugfix (channel connection):
13404 - Use the actual observed address of an incoming relay connection,
13405 not the canonical address of the relay from its descriptor, when
13406 making decisions about how to handle the incoming connection.
13407 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13409 o Minor bugfix (directory authority):
13410 - Directory authorities, when refusing a descriptor from a rejected
13411 relay, now explicitly tell the relay (in its logs) to set a valid
13412 ContactInfo address and contact the bad-relays@ mailing list.
13413 Fixes bug 25170; bugfix on 0.2.9.1.
13415 o Minor bugfixes (address selection):
13416 - When the fascist_firewall_choose_address_ functions don't find a
13417 reachable address, set the returned address to the null address
13418 and port. This is a precautionary measure, because some callers do
13419 not check the return value. Fixes bug 24736; bugfix
13422 o Minor bugfixes (compilation):
13423 - Fix a signed/unsigned comparison warning introduced by our fix to
13424 TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
13426 o Minor bugfixes (control port, linux seccomp2 sandbox):
13427 - Avoid a crash when attempting to use the seccomp2 sandbox together
13428 with the OwningControllerProcess feature. Fixes bug 24198; bugfix
13431 o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
13432 - Fix a possible crash on malformed consensus. If a consensus had
13433 contained an unparseable protocol line, it could have made clients
13434 and relays crash with a null-pointer exception. To exploit this
13435 issue, however, an attacker would need to be able to subvert the
13436 directory authority system. Fixes bug 25251; bugfix on
13437 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13439 o Minor bugfixes (memory usage):
13440 - When queuing DESTROY cells on a channel, only queue the circuit-id
13441 and reason fields: not the entire 514-byte cell. This fix should
13442 help mitigate any bugs or attacks that fill up these queues, and
13443 free more RAM for other uses. Fixes bug 24666; bugfix
13446 o Minor bugfixes (network layer):
13447 - When closing a connection via close_connection_immediately(), we
13448 mark it as "not blocked on bandwidth", to prevent later calls from
13449 trying to unblock it, and give it permission to read. This fixes a
13450 backtrace warning that can happen on relays under various
13451 circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
13453 o Minor bugfixes (OSX):
13454 - Don't exit the Tor process if setrlimit() fails to change the file
13455 limit (which can happen sometimes on some versions of OSX). Fixes
13456 bug 21074; bugfix on 0.0.9pre5.
13458 o Minor bugfixes (path selection):
13459 - When selecting relays by bandwidth, avoid a rounding error that
13460 could sometimes cause load to be imbalanced incorrectly.
13461 Previously, we would always round upwards; now, we round towards
13462 the nearest integer. This had the biggest effect when a relay's
13463 weight adjustments should have given it weight 0, but it got
13464 weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
13465 - When calculating the fraction of nodes that have descriptors, and
13466 all nodes in the network have zero bandwidths, count the number of
13467 nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
13468 - Actually log the total bandwidth in compute_weighted_bandwidths().
13469 Fixes bug 24170; bugfix on 0.2.4.3-alpha.
13471 o Minor bugfixes (portability, msvc):
13472 - Fix a bug in the bit-counting parts of our timing-wheel code on
13473 MSVC. (Note that MSVC is still not a supported build platform, due
13474 to cryptographic timing channel risks.) Fixes bug 24633; bugfix
13477 o Minor bugfixes (relay):
13478 - Make the internal channel_is_client() function look at what sort
13479 of connection handshake the other side used, rather than whether
13480 the other side ever sent a create_fast cell to us. Backports part
13481 of the fixes from bugs 22805 and 24898.
13483 o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
13484 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13486 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13487 bugfix on 0.2.9.4-alpha.
13490 Changes in version 0.3.2.10 - 2018-03-03
13491 Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
13492 backports a number of bugfixes, including important fixes for security
13495 It includes an important security fix for a remote crash attack
13496 against directory authorities, tracked as TROVE-2018-001.
13498 Additionally, it backports a fix for a bug whose severity we have
13499 upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
13500 triggered in order to crash relays with a use-after-free pattern. As
13501 such, we are now tracking that bug as TROVE-2018-002 and
13502 CVE-2018-0491, and backporting it to earlier releases. This bug
13503 affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
13506 This release also backports our new system for improved resistance to
13507 denial-of-service attacks against relays.
13509 This release also fixes several minor bugs and annoyances from
13512 Relays running 0.3.2.x SHOULD upgrade to one of the versions released
13513 today, for the fix to TROVE-2018-002. Directory authorities should
13514 also upgrade. (Relays on earlier versions might want to update too for
13515 the DoS mitigations.)
13517 o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
13518 - Fix a protocol-list handling bug that could be used to remotely crash
13519 directory authorities with a null-pointer exception. Fixes bug 25074;
13520 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13523 o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
13524 - Avoid adding the same channel twice in the KIST scheduler pending
13525 list, which could lead to remote denial-of-service use-after-free
13526 attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
13528 o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
13529 - Give relays some defenses against the recent network overload. We
13530 start with three defenses (default parameters in parentheses).
13531 First: if a single client address makes too many concurrent
13532 connections (>100), hang up on further connections. Second: if a
13533 single client address makes circuits too quickly (more than 3 per
13534 second, with an allowed burst of 90) while also having too many
13535 connections open (3), refuse new create cells for the next while
13536 (1-2 hours). Third: if a client asks to establish a rendezvous
13537 point to you directly, ignore the request. These defenses can be
13538 manually controlled by new torrc options, but relays will also
13539 take guidance from consensus parameters, so there's no need to
13540 configure anything manually. Implements ticket 24902.
13542 o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
13543 - Fix an "off by 2" error in counting rendezvous failures on the
13544 onion service side. While we thought we would stop the rendezvous
13545 attempt after one failed circuit, we were actually making three
13546 circuit attempts before giving up. Now switch to a default of 2,
13547 and allow the consensus parameter "hs_service_max_rdv_failures" to
13548 override. Fixes bug 24895; bugfix on 0.0.6.
13549 - New-style (v3) onion services now obey the "max rendezvous circuit
13550 attempts" logic. Previously they would make as many rendezvous
13551 circuit attempts as they could fit in the MAX_REND_TIMEOUT second
13552 window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
13554 o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
13555 - Add Link protocol version 5 to the supported protocols list. Fixes
13556 bug 25070; bugfix on 0.3.1.1-alpha.
13558 o Major bugfixes (relay, backport from 0.3.3.1-alpha):
13559 - Fix a set of false positives where relays would consider
13560 connections to other relays as being client-only connections (and
13561 thus e.g. deserving different link padding schemes) if those
13562 relays fell out of the consensus briefly. Now we look only at the
13563 initial handshake and whether the connection authenticated as a
13564 relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
13566 o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
13567 - The scheduler subsystem was failing to promptly notice changes in
13568 consensus parameters, making it harder to switch schedulers
13569 network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
13571 o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
13572 - Make our OOM handler aware of the geoip client history cache so it
13573 doesn't fill up the memory. This check is important for IPv6 and
13574 our DoS mitigation subsystem. Closes ticket 25122.
13576 o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
13577 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13578 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13579 since they neither disabled TLS 1.3 nor enabled any of the
13580 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13581 Closes ticket 24978.
13583 o Minor features (geoip):
13584 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13587 o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
13588 - When logging a failure to create an onion service's descriptor,
13589 also log what the problem with the descriptor was. Diagnostic
13592 o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
13593 - Use the actual observed address of an incoming relay connection,
13594 not the canonical address of the relay from its descriptor, when
13595 making decisions about how to handle the incoming connection.
13596 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13598 o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
13599 - Fix a possible crash on malformed consensus. If a consensus had
13600 contained an unparseable protocol line, it could have made clients
13601 and relays crash with a null-pointer exception. To exploit this
13602 issue, however, an attacker would need to be able to subvert the
13603 directory authority system. Fixes bug 25251; bugfix on
13604 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13606 o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
13607 - Directory authorities, when refusing a descriptor from a rejected
13608 relay, now explicitly tell the relay (in its logs) to set a valid
13609 ContactInfo address and contact the bad-relays@ mailing list.
13610 Fixes bug 25170; bugfix on 0.2.9.1.
13612 o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
13613 - When building with Rust on OSX, link against libresolv, to work
13614 around the issue at https://github.com/rust-lang/rust/issues/46797.
13615 Fixes bug 24652; bugfix on 0.3.1.1-alpha.
13617 o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
13618 - Remove a BUG() statement when a client fetches an onion descriptor
13619 that has a lower revision counter than the one in its cache. This
13620 can happen in normal circumstances due to HSDir desync. Fixes bug
13621 24976; bugfix on 0.3.2.1-alpha.
13623 o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
13624 - Don't treat inability to store a cached consensus object as a bug:
13625 it can happen normally when we are out of disk space. Fixes bug
13626 24859; bugfix on 0.3.1.1-alpha.
13628 o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
13629 - Improve the performance of our consensus-diff application code
13630 when Tor is built with the --enable-fragile-hardening option set.
13631 Fixes bug 24826; bugfix on 0.3.1.1-alpha.
13633 o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
13634 - Don't exit the Tor process if setrlimit() fails to change the file
13635 limit (which can happen sometimes on some versions of OSX). Fixes
13636 bug 21074; bugfix on 0.0.9pre5.
13638 o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
13639 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13641 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13642 bugfix on 0.2.9.4-alpha.
13644 o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
13645 - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
13646 25005; bugfix on 0.3.2.7-rc.
13648 o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
13649 - Look at the "HSRend" protocol version, not the "HSDir" protocol
13650 version, when deciding whether a consensus entry can support the
13651 v3 onion service protocol as a rendezvous point. Fixes bug 25105;
13652 bugfix on 0.3.2.1-alpha.
13654 o Code simplification and refactoring (backport from 0.3.3.3-alpha):
13655 - Update the "rust dependencies" submodule to be a project-level
13656 repository, rather than a user repository. Closes ticket 25323.
13658 o Documentation (backport from 0.3.3.1-alpha)
13659 - Document that operators who run more than one relay or bridge are
13660 expected to set MyFamily and ContactInfo correctly. Closes
13664 Changes in version 0.3.3.3-alpha - 2018-03-03
13665 Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
13666 It includes an important security fix for a remote crash attack
13667 against directory authorities tracked as TROVE-2018-001.
13669 Additionally, with this release, we are upgrading the severity of a
13670 bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
13671 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
13672 a use-after-free pattern. As such, we are now tracking that bug as
13673 TROVE-2018-002 and CVE-2018-0491. This bug affected versions
13674 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
13676 This release also fixes several minor bugs and annoyances from
13679 Relays running 0.3.2.x should upgrade to one of the versions released
13680 today, for the fix to TROVE-2018-002. Directory authorities should
13681 also upgrade. (Relays on earlier versions might want to update too for
13682 the DoS mitigations.)
13684 o Major bugfixes (denial-of-service, directory authority):
13685 - Fix a protocol-list handling bug that could be used to remotely crash
13686 directory authorities with a null-pointer exception. Fixes bug 25074;
13687 bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
13690 o Minor features (compatibility, OpenSSL):
13691 - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
13692 Previous versions of Tor would not have worked with OpenSSL 1.1.1,
13693 since they neither disabled TLS 1.3 nor enabled any of the
13694 ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
13695 Closes ticket 24978.
13697 o Minor features (logging):
13698 - Clarify the log messages produced when getrandom() or a related
13699 entropy-generation mechanism gives an error. Closes ticket 25120.
13701 o Minor features (testing):
13702 - Add a "make test-rust" target to run the rust tests only. Closes
13705 o Minor bugfixes (denial-of-service):
13706 - Fix a possible crash on malformed consensus. If a consensus had
13707 contained an unparseable protocol line, it could have made clients
13708 and relays crash with a null-pointer exception. To exploit this
13709 issue, however, an attacker would need to be able to subvert the
13710 directory authority system. Fixes bug 25251; bugfix on
13711 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
13713 o Minor bugfixes (DoS mitigation):
13714 - Add extra safety checks when refilling the circuit creation bucket
13715 to ensure we never set a value above the allowed maximum burst.
13716 Fixes bug 25202; bugfix on 0.3.3.2-alpha.
13717 - When a new consensus arrives, don't update our DoS-mitigation
13718 parameters if we aren't a public relay. Fixes bug 25223; bugfix
13721 o Minor bugfixes (man page, SocksPort):
13722 - Remove dead code from the old "SocksSocket" option, and rename
13723 SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
13724 still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
13726 o Minor bugfixes (performance):
13727 - Reduce the number of circuits that will be opened at once during
13728 the circuit build timeout phase. This is done by increasing the
13729 idle timeout to 3 minutes, and lowering the maximum number of
13730 concurrent learning circuits to 10. Fixes bug 24769; bugfix
13733 o Minor bugfixes (spec conformance):
13734 - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
13736 - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
13737 bugfix on 0.2.9.4-alpha.
13739 o Minor bugfixes (spec conformance, rust):
13740 - Resolve a denial-of-service issue caused by an infinite loop in
13741 the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
13742 Also tracked as TROVE-2018-003.
13744 o Code simplification and refactoring:
13745 - Update the "rust dependencies" submodule to be a project-level
13746 repository, rather than a user repository. Closes ticket 25323.
13749 Changes in version 0.3.3.2-alpha - 2018-02-10
13750 Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
13751 introduces a mechanism to handle the high loads that many relay
13752 operators have been reporting recently. It also fixes several bugs in
13753 older releases. If this new code proves reliable, we plan to backport
13754 it to older supported release series.
13756 o Major features (denial-of-service mitigation):
13757 - Give relays some defenses against the recent network overload. We
13758 start with three defenses (default parameters in parentheses).
13759 First: if a single client address makes too many concurrent
13760 connections (>100), hang up on further connections. Second: if a
13761 single client address makes circuits too quickly (more than 3 per
13762 second, with an allowed burst of 90) while also having too many
13763 connections open (3), refuse new create cells for the next while
13764 (1-2 hours). Third: if a client asks to establish a rendezvous
13765 point to you directly, ignore the request. These defenses can be
13766 manually controlled by new torrc options, but relays will also
13767 take guidance from consensus parameters, so there's no need to
13768 configure anything manually. Implements ticket 24902.
13770 o Major bugfixes (netflow padding):
13771 - Stop adding unneeded channel padding right after we finish
13772 flushing to a connection that has been trying to flush for many
13773 seconds. Instead, treat all partial or complete flushes as
13774 activity on the channel, which will defer the time until we need
13775 to add padding. This fix should resolve confusing and scary log
13776 messages like "Channel padding timeout scheduled 221453ms in the
13777 past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
13779 o Major bugfixes (protocol versions):
13780 - Add Link protocol version 5 to the supported protocols list. Fixes
13781 bug 25070; bugfix on 0.3.1.1-alpha.
13783 o Major bugfixes (scheduler, consensus):
13784 - The scheduler subsystem was failing to promptly notice changes in
13785 consensus parameters, making it harder to switch schedulers
13786 network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
13788 o Minor features (denial-of-service avoidance):
13789 - Make our OOM handler aware of the geoip client history cache so it
13790 doesn't fill up the memory. This check is important for IPv6 and
13791 our DoS mitigation subsystem. Closes ticket 25122.
13793 o Minor features (directory authority):
13794 - When directory authorities are unable to add signatures to a
13795 pending consensus, log the reason why. Closes ticket 24849.
13797 o Minor features (geoip):
13798 - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
13801 o Minor features (logging, diagnostic):
13802 - When logging a failure to create an onion service's descriptor,
13803 also log what the problem with the descriptor was. Diagnostic for
13806 o Minor bugfix (channel connection):
13807 - Use the actual observed address of an incoming relay connection,
13808 not the canonical address of the relay from its descriptor, when
13809 making decisions about how to handle the incoming connection.
13810 Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
13812 o Minor bugfix (directory authority):
13813 - Directory authorities, when refusing a descriptor from a rejected
13814 relay, now explicitly tell the relay (in its logs) to set a valid
13815 ContactInfo address and contact the bad-relays@ mailing list.
13816 Fixes bug 25170; bugfix on 0.2.9.1.
13818 o Minor bugfixes (all versions of Tor):
13819 - Use the "misspell" tool to detect and fix typos throughout the
13820 source code. Fixes bug 23650; bugfix on various versions of Tor.
13821 Patch from Deepesh Pathak.
13823 o Minor bugfixes (circuit, cannibalization):
13824 - Don't cannibalize preemptively-built circuits if we no longer
13825 recognize their first hop. This situation can happen if our Guard
13826 relay went off the consensus after the circuit was created. Fixes
13827 bug 24469; bugfix on 0.0.6.
13829 o Minor bugfixes (correctness):
13830 - Remove a nonworking, unnecessary check to see whether a circuit
13831 hop's identity digest was set when the circuit failed. Fixes bug
13832 24927; bugfix on 0.2.4.4-alpha.
13834 o Minor bugfixes (logging):
13835 - Don't treat inability to store a cached consensus object as a bug:
13836 it can happen normally when we are out of disk space. Fixes bug
13837 24859; bugfix on 0.3.1.1-alpha.
13838 - Fix a (mostly harmless) race condition when invoking
13839 LOG_PROTOCOL_WARN message from a subthread while the torrc options
13840 are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
13842 o Minor bugfixes (onion services):
13843 - Remove a BUG() statement when a client fetches an onion descriptor
13844 that has a lower revision counter than the one in its cache. This
13845 can happen in normal circumstances due to HSDir desync. Fixes bug
13846 24976; bugfix on 0.3.2.1-alpha.
13847 - If we are configured to offer a single onion service, don't log
13848 long-term established one hop rendezvous points in the heartbeat.
13849 Fixes bug 25116; bugfix on 0.2.9.6-rc.
13851 o Minor bugfixes (performance):
13852 - Avoid calling protocol_list_supports_protocol() from inside tight
13853 loops when running with cached routerinfo_t objects. Instead,
13854 summarize the relevant protocols as flags in the routerinfo_t, as
13855 we do for routerstatus_t objects. This change simplifies our code
13856 a little, and saves a large amount of short-term memory allocation
13857 operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
13859 o Minor bugfixes (Rust FFI):
13860 - Fix a minor memory leak which would happen whenever the C code
13861 would call the Rust implementation of
13862 protover_get_supported_protocols(). This was due to the C version
13863 returning a static string, whereas the Rust version newly allocated
13864 a CString to pass across the FFI boundary. Consequently, the C
13865 code was not expecting to need to free() what it was given. Fixes
13866 bug 25127; bugfix on 0.3.2.1-alpha.
13868 o Minor bugfixes (scheduler, KIST):
13869 - Avoid adding the same channel twice in the KIST scheduler pending
13870 list, which would waste CPU cycles. Fixes bug 24700; bugfix
13873 o Minor bugfixes (unit test, monotonic time):
13874 - Increase a constant (1msec to 10msec) in the monotonic time test
13875 that makes sure the nsec/usec/msec times read are synchronized.
13876 This change was needed to accommodate slow systems like armel or
13877 when the clock_gettime() is not a VDSO on the running kernel.
13878 Fixes bug 25113; bugfix on 0.2.9.1.
13880 o Minor bugfixes (v3 onion services):
13881 - Look at the "HSRend" protocol version, not the "HSDir" protocol
13882 version, when deciding whether a consensus entry can support the
13883 v3 onion service protocol as a rendezvous point. Fixes bug 25105;
13884 bugfix on 0.3.2.1-alpha.
13886 o Code simplification and refactoring:
13887 - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
13889 - Remove a series of counters used to track circuit extend attempts
13890 and connection status but that in reality we aren't using for
13891 anything other than stats logged by a SIGUSR1 signal. Closes
13894 o Documentation (man page):
13895 - The HiddenServiceVersion torrc option accepts only one number:
13896 either version 2 or 3. Closes ticket 25026; bugfix
13900 Changes in version 0.3.3.1-alpha - 2018-01-25
13901 Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
13902 several new features to Tor, including several improvements to
13903 bootstrapping, and support for an experimental "vanguards" feature to
13904 resist guard discovery attacks. This series also includes better
13905 support for applications that need to embed Tor or manage v3
13908 o Major features (embedding):
13909 - There is now a documented stable API for programs that need to
13910 embed Tor. See tor_api.h for full documentation and known bugs.
13911 Closes ticket 23684.
13912 - Tor now has support for restarting in the same process.
13913 Controllers that run Tor using the "tor_api.h" interface can now
13914 restart Tor after Tor has exited. This support is incomplete,
13915 however: we fixed crash bugs that prevented it from working at
13916 all, but many bugs probably remain, including a possibility of
13917 security issues. Implements ticket 24581.
13919 o Major features (IPv6, directory documents):
13920 - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
13921 consensus. This information makes it easier for IPv6 clients to
13922 bootstrap and choose reachable entry guards. Implements ticket 23826.
13923 - Add consensus method 28, which removes IPv6 ORPorts from
13924 microdescriptors. Now that the consensus contains IPv6 ORPorts, they
13925 are redundant in microdescs. This change will be used by Tor clients
13926 on 0.2.8.x and later. (That is to say, with all Tor clients that
13927 have IPv6 bootstrap and guard support.) Implements ticket 23828.
13928 - Expand the documentation for AuthDirHasIPv6Connectivity when it is
13929 set by different numbers of authorities. Fixes 23870
13932 o Major features (onion service v3, control port):
13933 - The control port now supports commands and events for v3 onion
13934 services. It is now possible to create ephemeral v3 services using
13935 ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
13936 CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
13937 DEL_ONION) have been extended to support v3 onion services. Closes
13938 ticket 20699; implements proposal 284.
13940 o Major features (onion services):
13941 - Provide torrc options to pin the second and third hops of onion
13942 service circuits to a list of nodes. The option HSLayer2Guards
13943 pins the second hop, and the option HSLayer3Guards pins the third
13944 hop. These options are for use in conjunction with experiments
13945 with "vanguards" for preventing guard enumeration attacks. Closes
13948 o Major features (rust, portability, experimental):
13949 - Tor now ships with an optional implementation of one of its
13950 smaller modules (protover.c) in the Rust programming language. To
13951 try it out, install a Rust build environment, and configure Tor
13952 with "--enable-rust --enable-cargo-online-mode". This should not
13953 cause any user-visible changes, but should help us gain more
13954 experience with Rust, and plan future Rust integration work.
13955 Implementation by Chelsea Komlo. Closes ticket 22840.
13957 o Minor features (storage, configuration):
13958 - Users can store cached directory documents somewhere other than
13959 the DataDirectory by using the CacheDirectory option. Similarly,
13960 the storage location for relay's keys can be overridden with the
13961 KeyDirectory option. Closes ticket 22703.
13963 o Major features (v3 onion services, ipv6):
13964 - When v3 onion service clients send introduce cells, they now
13965 include the IPv6 address of the rendezvous point, if it has one.
13966 Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
13967 in future Tor versions, IPv6-only v3 single onion services will be
13968 able to use IPv6 addresses to connect directly to the rendezvous
13969 point. Closes ticket 23577. Patch by Neel Chauhan.
13971 o Major bugfixes (onion services, retry behavior):
13972 - Fix an "off by 2" error in counting rendezvous failures on the
13973 onion service side. While we thought we would stop the rendezvous
13974 attempt after one failed circuit, we were actually making three
13975 circuit attempts before giving up. Now switch to a default of 2,
13976 and allow the consensus parameter "hs_service_max_rdv_failures" to
13977 override. Fixes bug 24895; bugfix on 0.0.6.
13978 - New-style (v3) onion services now obey the "max rendezvous circuit
13979 attempts" logic. Previously they would make as many rendezvous
13980 circuit attempts as they could fit in the MAX_REND_TIMEOUT second
13981 window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
13983 o Major bugfixes (relays):
13984 - Fix a set of false positives where relays would consider
13985 connections to other relays as being client-only connections (and
13986 thus e.g. deserving different link padding schemes) if those
13987 relays fell out of the consensus briefly. Now we look only at the
13988 initial handshake and whether the connection authenticated as a
13989 relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
13991 o Minor feature (IPv6):
13992 - Make IPv6-only clients wait for microdescs for relays, even if we
13993 were previously using descriptors (or were using them as a bridge)
13994 and have a cached descriptor for them. Implements ticket 23827.
13995 - When a consensus has IPv6 ORPorts, make IPv6-only clients use
13996 them, rather than waiting to download microdescriptors.
13997 Implements ticket 23827.
13999 o Minor features (cleanup):
14000 - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
14001 when it stops. Closes ticket 23271.
14003 o Minor features (defensive programming):
14004 - Most of the functions in Tor that free objects have been replaced
14005 with macros that free the objects and set the corresponding
14006 pointers to NULL. This change should help prevent a large class of
14007 dangling pointer bugs. Closes ticket 24337.
14008 - Where possible, the tor_free() macro now only evaluates its input
14009 once. Part of ticket 24337.
14010 - Check that microdesc ed25519 ids are non-zero in
14011 node_get_ed25519_id() before returning them. Implements ticket
14012 24001, patch by "aruna1234".
14014 o Minor features (embedding):
14015 - Tor can now start with a preauthenticated control connection
14016 created by the process that launched it. This feature is meant for
14017 use by programs that want to launch and manage a Tor process
14018 without allowing other programs to manage it as well. For more
14019 information, see the __OwningControllerFD option documented in
14020 control-spec.txt. Closes ticket 23900.
14021 - On most errors that would cause Tor to exit, it now tries to
14022 return from the tor_main() function, rather than calling the
14023 system exit() function. Most users won't notice a difference here,
14024 but it should be significant for programs that run Tor inside
14025 a separate thread: they should now be able to survive Tor's exit
14026 conditions rather than having Tor shut down the entire process.
14027 Closes ticket 23848.
14028 - Applications that want to embed Tor can now tell Tor not to
14029 register any of its own POSIX signal handlers, using the
14030 __DisableSignalHandlers option. Closes ticket 24588.
14032 o Minor features (fallback directory list):
14033 - Avoid selecting fallbacks that change their IP addresses too
14034 often. Select more fallbacks by ignoring the Guard flag, and
14035 allowing lower cutoffs for the Running and V2Dir flags. Also allow
14036 a lower bandwidth, and a higher number of fallbacks per operator
14037 (5% of the list). Implements ticket 24785.
14038 - Update the fallback whitelist and blacklist based on opt-ins and
14039 relay changes. Closes tickets 22321, 24678, 22527, 24135,
14042 o Minor features (fallback directory mirror configuration):
14043 - Add a nickname to each fallback in a C comment. This makes it
14044 easier for operators to find their relays, and allows stem to use
14045 nicknames to identify fallbacks. Implements ticket 24600.
14046 - Add a type and version header to the fallback directory mirror
14047 file. Also add a delimiter to the end of each fallback entry. This
14048 helps external parsers like stem and Relay Search. Implements
14050 - Add an extrainfo cache flag for each fallback in a C comment. This
14051 allows stem to use fallbacks to fetch extra-info documents, rather
14052 than using authorities. Implements ticket 22759.
14053 - Add the generateFallbackDirLine.py script for automatically
14054 generating fallback directory mirror lines from relay fingerprints.
14055 No more typos! Add the lookupFallbackDirContact.py script for
14056 automatically looking up operator contact info from relay
14057 fingerprints. Implements ticket 24706, patch by teor and atagar.
14058 - Reject any fallback directory mirror that serves an expired
14059 consensus. Implements ticket 20942, patch by "minik".
14060 - Remove commas and equals signs from external string inputs to the
14061 fallback list. This avoids format confusion attacks. Implements
14063 - Remove the "weight=10" line from fallback directory mirror
14064 entries. Ticket 24681 will maintain the current fallback weights
14065 by changing Tor's default fallback weight to 10. Implements
14067 - Stop logging excessive information about fallback netblocks.
14068 Implements ticket 24791.
14070 o Minor features (forward-compatibility):
14071 - If a relay supports some link authentication protocol that we do
14072 not recognize, then include that relay's ed25519 key when telling
14073 other relays to extend to it. Previously, we treated future
14074 versions as if they were too old to support ed25519 link
14075 authentication. Closes ticket 20895.
14077 o Minor features (heartbeat):
14078 - Add onion service information to our heartbeat logs, displaying
14079 stats about the activity of configured onion services. Closes
14082 o Minor features (instrumentation, development):
14083 - Add the MainloopStats option to allow developers to get
14084 instrumentation information from the main event loop via the
14085 heartbeat messages. We hope to use this to improve Tor's behavior
14086 when it's trying to sleep. Closes ticket 24605.
14088 o Minor features (log messages):
14089 - Improve a warning message that happens when we fail to re-parse an
14090 old router because of an expired certificate. Closes ticket 20020.
14091 - Make the log more quantitative when we hit MaxMemInQueues
14092 threshold exposing some values. Closes ticket 24501.
14094 o Minor features (logging, android):
14095 - Added support for the Android logging subsystem. Closes
14098 o Minor features (performance):
14099 - Support predictive circuit building for onion service circuits
14100 with multiple layers of guards. Closes ticket 23101.
14101 - Use stdatomic.h where available, rather than mutexes, to implement
14102 atomic_counter_t. Closes ticket 23953.
14104 o Minor features (performance, 32-bit):
14105 - Improve performance on 32-bit systems by avoiding 64-bit division
14106 when calculating the timestamp in milliseconds for channel padding
14107 computations. Implements ticket 24613.
14108 - Improve performance on 32-bit systems by avoiding 64-bit division
14109 when timestamping cells and buffer chunks for OOM calculations.
14110 Implements ticket 24374.
14112 o Minor features (performance, OSX, iOS):
14113 - Use the mach_approximate_time() function (when available) to
14114 implement coarse monotonic time. Having a coarse time function
14115 should avoid a large number of system calls, and improve
14116 performance slightly, especially under load. Closes ticket 24427.
14118 o Minor features (performance, windows):
14119 - Improve performance on Windows Vista and Windows 7 by adjusting
14120 TCP send window size according to the recommendation from
14121 SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
14124 o Major features (relay):
14125 - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
14126 operator to use a more reasonable ("reduced") exit policy, rather
14127 than the default one. If you want to run an exit node without
14128 thinking too hard about which ports to allow, this one is for you.
14129 Closes ticket 13605. Patch from Neel Chauhan.
14131 o Minor features (testing, debugging, embedding):
14132 - For development purposes, Tor now has a mode in which it runs for
14133 a few seconds, then stops, and starts again without exiting the
14134 process. This mode is meant to help us debug various issues with
14135 ticket 23847. To use this feature, compile with
14136 --enable-restart-debugging, and set the TOR_DEBUG_RESTART
14137 environment variable. This is expected to crash a lot, and is
14138 really meant for developers only. It will likely be removed in a
14139 future release. Implements ticket 24583.
14141 o Minor bugfix (network IPv6 test):
14142 - Tor's test scripts now check if "ping -6 ::1" works when the user
14143 runs "make test-network-all". Fixes bug 24677; bugfix on
14144 0.2.9.3-alpha. Patch by "ffmancera".
14146 o Minor bugfixes (build, rust):
14147 - Fix output of autoconf checks to display success messages for Rust
14148 dependencies and a suitable rustc compiler version. Fixes bug
14149 24612; bugfix on 0.3.1.3-alpha.
14150 - When building with Rust on OSX, link against libresolv, to work
14151 around the issue at https://github.com/rust-lang/rust/issues/46797.
14152 Fixes bug 24652; bugfix on 0.3.1.1-alpha.
14153 - Don't pass the --quiet option to cargo: it seems to suppress some
14154 errors, which is not what we want to do when building. Fixes bug
14155 24518; bugfix on 0.3.1.7.
14156 - Build correctly when building from outside Tor's source tree with
14157 the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
14160 o Minor bugfixes (directory authorities, IPv6):
14161 - When creating a routerstatus (vote) from a routerinfo (descriptor),
14162 set the IPv6 address to the unspecified IPv6 address, and
14163 explicitly initialize the port to zero. Fixes bug 24488; bugfix
14166 o Minor bugfixes (fallback directory mirrors):
14167 - Make updateFallbackDirs.py search harder for python. (Some OSs
14168 don't put it in /usr/bin.) Fixes bug 24708; bugfix
14171 o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
14172 - When hibernating, close connections normally and allow them to
14173 flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
14175 - Do not attempt to launch self-reachability tests when entering
14176 hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
14177 - Resolve several bugs related to descriptor fetching on bridge
14178 clients with bandwidth accounting enabled. (This combination is
14179 not recommended!) Fixes a case of bug 12062; bugfix
14181 - When hibernating, do not attempt to launch DNS checks. Fixes a
14182 case of bug 12062; bugfix on 0.1.2.2-alpha.
14183 - When hibernating, do not try to upload or download descriptors.
14184 Fixes a case of bug 12062; bugfix on 0.0.9pre5.
14186 o Minor bugfixes (IPv6, bridges):
14187 - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
14188 bugfix on 0.2.8.2-alpha.
14189 - Tor now sets IPv6 address in the routerstatus as well as in the
14190 router descriptors when updating addresses for a bridge. Closes
14191 ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
14193 o Minor bugfixes (linux seccomp2 sandbox):
14194 - When running with the sandbox enabled, reload configuration files
14195 correctly even when %include was used. Previously we would crash.
14196 Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
14198 o Minor bugfixes (memory leaks):
14199 - Avoid possible at-exit memory leaks related to use of Libevent's
14200 event_base_once() function. (This function tends to leak memory if
14201 the event_base is closed before the event fires.) Fixes bug 24584;
14202 bugfix on 0.2.8.1-alpha.
14203 - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
14206 o Minor bugfixes (OSX):
14207 - Don't exit the Tor process if setrlimit() fails to change the file
14208 limit (which can happen sometimes on some versions of OSX). Fixes
14209 bug 21074; bugfix on 0.0.9pre5.
14211 o Minor bugfixes (performance, fragile-hardening):
14212 - Improve the performance of our consensus-diff application code
14213 when Tor is built with the --enable-fragile-hardening option set.
14214 Fixes bug 24826; bugfix on 0.3.1.1-alpha.
14216 o Minor bugfixes (performance, timeouts):
14217 - Consider circuits for timeout as soon as they complete a hop. This
14218 is more accurate than applying the timeout in
14219 circuit_expire_building() because that function is only called
14220 once per second, which is now too slow for typical timeouts on the
14221 current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
14222 - Use onion service circuits (and other circuits longer than 3 hops)
14223 to calculate a circuit build timeout. Previously, Tor only
14224 calculated its build timeout based on circuits that planned to be
14225 exactly 3 hops long. With this change, we include measurements
14226 from all circuits at the point where they complete their third
14227 hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
14229 o Minor bugfixes (testing):
14230 - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
14231 bugfix on 0.2.3.1-alpha.
14232 - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
14233 25005; bugfix on 0.3.2.7-rc.
14235 o Code simplification and refactoring:
14236 - Remove /usr/athena from search path in configure.ac. Closes
14238 - Remove duplicate code in node_has_curve25519_onion_key() and
14239 node_get_curve25519_onion_key(), and add a check for a zero
14240 microdesc curve25519 onion key. Closes ticket 23966, patch by
14241 "aruna1234" and teor.
14242 - Rewrite channel_rsa_id_group_set_badness to reduce temporary
14243 memory allocations with large numbers of OR connections (e.g.
14244 relays). Closes ticket 24119.
14245 - Separate the function that deletes ephemeral files when Tor
14247 - Small changes to Tor's buf_t API to make it suitable for use as a
14248 general-purpose safe string constructor. Closes ticket 22342.
14249 - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
14250 avoid source code identifier confusion. Closes ticket 24467.
14251 - The tor_git_revision[] constant no longer needs to be redeclared
14252 by everything that links against the rest of Tor. Done as part of
14253 ticket 23845, to simplify our external API.
14254 - We make extend_info_from_node() use node_get_curve25519_onion_key()
14255 introduced in ticket 23577 to access the curve25519 public keys
14256 rather than accessing it directly. Closes ticket 23760. Patch by
14258 - Add a function to log channels' scheduler state changes to aid
14259 debugging efforts. Closes ticket 24531.
14262 - Add documentation on how to build tor with Rust dependencies
14263 without having to be online. Closes ticket 22907; bugfix
14265 - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
14266 traffic. Closes ticket 24318.
14267 - Document that OutboundBindAddress doesn't apply to DNS requests.
14268 Closes ticket 22145. Patch from Aruna Maurya.
14269 - Document that operators who run more than one relay or bridge are
14270 expected to set MyFamily and ContactInfo correctly. Closes
14273 o Code simplification and refactoring (channels):
14274 - Remove the incoming and outgoing channel queues. These were never
14275 used, but still took up a step in our fast path.
14276 - The majority of the channel unit tests have been rewritten and the
14277 code coverage has now been raised to 83.6% for channel.c. Closes
14279 - Remove other dead code from the channel subsystem: All together,
14280 this cleanup has removed more than 1500 lines of code overall and
14281 adding very little except for unit test.
14283 o Code simplification and refactoring (circuit rendezvous):
14284 - Split the client-side rendezvous circuit lookup into two
14285 functions: one that returns only established circuits and another
14286 that returns all kinds of circuits. Closes ticket 23459.
14288 o Code simplification and refactoring (controller):
14289 - Make most of the variables in networkstatus_getinfo_by_purpose()
14290 const. Implements ticket 24489.
14293 Changes in version 0.3.2.9 - 2018-01-09
14294 Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
14296 The 0.3.2 series includes our long-anticipated new onion service
14297 design, with numerous security features. (For more information, see
14298 our blog post at https://blog.torproject.org/fall-harvest.) We also
14299 have a new circuit scheduler algorithm for improved performance on
14300 relays everywhere (see https://blog.torproject.org/kist-and-tell),
14301 along with many smaller features and bugfixes.
14303 Per our stable release policy, we plan to support each stable release
14304 series for at least the next nine months, or for three months after
14305 the first stable release of the next series: whichever is longer. If
14306 you need a release with long-term support, we recommend that you stay
14307 with the 0.2.9 series.
14309 Below is a list of the changes since 0.3.2.8-rc. For a list of all
14310 changes since 0.3.1, see the ReleaseNotes file.
14312 o Minor features (fallback directory mirrors):
14313 - The fallback directory list has been re-generated based on the
14314 current status of the network. Tor uses fallback directories to
14315 bootstrap when it doesn't yet have up-to-date directory
14316 information. Closes ticket 24801.
14317 - Make the default DirAuthorityFallbackRate 0.1, so that clients
14318 prefer to bootstrap from fallback directory mirrors. This is a
14319 follow-up to 24679, which removed weights from the default
14320 fallbacks. Implements ticket 24681.
14322 o Minor features (geoip):
14323 - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
14326 o Minor bugfixes (address selection):
14327 - When the fascist_firewall_choose_address_ functions don't find a
14328 reachable address, set the returned address to the null address
14329 and port. This is a precautionary measure, because some callers do
14330 not check the return value. Fixes bug 24736; bugfix
14333 o Minor bugfixes (compilation):
14334 - Resolve a few shadowed-variable warnings in the onion service
14335 code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
14337 o Minor bugfixes (portability, msvc):
14338 - Fix a bug in the bit-counting parts of our timing-wheel code on
14339 MSVC. (Note that MSVC is still not a supported build platform, due
14340 to cryptographic timing channel risks.) Fixes bug 24633; bugfix
14344 Changes in version 0.3.2.8-rc - 2017-12-21
14345 Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
14346 schedulers that had led servers under heavy load to overload their
14347 outgoing connections. All relay operators running earlier 0.3.2.x
14348 versions should upgrade. This version also includes a mitigation for
14349 over-full DESTROY queues leading to out-of-memory conditions: if it
14350 works, we will soon backport it to earlier release series.
14352 This is the second release candidate in the 0.3.2 series. If we find
14353 no new bugs or regression here, then the first stable 0.3.2 release
14354 will be nearly identical to this.
14356 o Major bugfixes (KIST, scheduler):
14357 - The KIST scheduler did not correctly account for data already
14358 enqueued in each connection's send socket buffer, particularly in
14359 cases when the TCP/IP congestion window was reduced between
14360 scheduler calls. This situation lead to excessive per-connection
14361 buffering in the kernel, and a potential memory DoS. Fixes bug
14362 24665; bugfix on 0.3.2.1-alpha.
14364 o Minor features (geoip):
14365 - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
14368 o Minor bugfixes (hidden service v3):
14369 - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
14370 the probability of reaching a service for a client missing
14371 microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
14373 o Minor bugfixes (memory usage):
14374 - When queuing DESTROY cells on a channel, only queue the circuit-id
14375 and reason fields: not the entire 514-byte cell. This fix should
14376 help mitigate any bugs or attacks that fill up these queues, and
14377 free more RAM for other uses. Fixes bug 24666; bugfix
14380 o Minor bugfixes (scheduler, KIST):
14381 - Use a sane write limit for KISTLite when writing onto a connection
14382 buffer instead of using INT_MAX and shoving as much as it can.
14383 Because the OOM handler cleans up circuit queues, we are better
14384 off at keeping them in that queue instead of the connection's
14385 buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
14388 Changes in version 0.3.2.7-rc - 2017-12-14
14389 Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
14390 including some that could affect reliability or correctness.
14392 This is the first release candidate in the 0.3.2 series. If we find no
14393 new bugs or regression here, then the first stable 0.3.2. release will
14394 be nearly identical to this.
14396 o Major bugfixes (circuit prediction):
14397 - Fix circuit prediction logic so that a client doesn't treat a port
14398 as being "handled" by a circuit if that circuit already has
14399 isolation settings on it. This change should make Tor clients more
14400 responsive by improving their chances of having a pre-created
14401 circuit ready for use when a request arrives. Fixes bug 18859;
14402 bugfix on 0.2.3.3-alpha.
14404 o Minor features (logging):
14405 - Provide better warnings when the getrandom() syscall fails. Closes
14408 o Minor features (portability):
14409 - Tor now compiles correctly on arm64 with libseccomp-dev installed.
14410 (It doesn't yet work with the sandbox enabled.) Closes
14413 o Minor bugfixes (bridge clients, bootstrap):
14414 - Retry directory downloads when we get our first bridge descriptor
14415 during bootstrap or while reconnecting to the network. Keep
14416 retrying every time we get a bridge descriptor, until we have a
14417 reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
14418 - Stop delaying bridge descriptor fetches when we have cached bridge
14419 descriptors. Instead, only delay bridge descriptor fetches when we
14420 have at least one reachable bridge. Fixes part of bug 24367;
14421 bugfix on 0.2.0.3-alpha.
14422 - Stop delaying directory fetches when we have cached bridge
14423 descriptors. Instead, only delay bridge descriptor fetches when
14424 all our bridges are definitely unreachable. Fixes part of bug
14425 24367; bugfix on 0.2.0.3-alpha.
14427 o Minor bugfixes (compilation):
14428 - Fix a signed/unsigned comparison warning introduced by our fix to
14429 TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
14431 o Minor bugfixes (correctness):
14432 - Fix several places in our codebase where a C compiler would be
14433 likely to eliminate a check, based on assuming that undefined
14434 behavior had not happened elsewhere in the code. These cases are
14435 usually a sign of redundant checking or dubious arithmetic. Found
14436 by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
14437 Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
14440 o Minor bugfixes (onion service v3):
14441 - Fix a race where an onion service would launch a new intro circuit
14442 after closing an old one, but fail to register it before freeing
14443 the previously closed circuit. This bug was making the service
14444 unable to find the established intro circuit and thus not upload
14445 its descriptor, thus making a service unavailable for up to 24
14446 hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
14448 o Minor bugfixes (scheduler, KIST):
14449 - Properly set the scheduler state of an unopened channel in the
14450 KIST scheduler main loop. This prevents a harmless but annoying
14451 log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
14452 - Avoid a possible integer overflow when computing the available
14453 space on the TCP buffer of a channel. This had no security
14454 implications; but could make KIST allow too many cells on a
14455 saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
14456 - Downgrade to "info" a harmless warning about the monotonic time
14457 moving backwards: This can happen on platform not supporting
14458 monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
14461 Changes in version 0.3.2.6-alpha - 2017-12-01
14462 This version of Tor is the latest in the 0.3.2 alpha series. It
14463 includes fixes for several important security issues. All Tor users
14464 should upgrade to this release, or to one of the other releases coming
14467 o Major bugfixes (security):
14468 - Fix a denial of service bug where an attacker could use a
14469 malformed directory object to cause a Tor instance to pause while
14470 OpenSSL would try to read a passphrase from the terminal. (Tor
14471 instances run without a terminal, which is the case for most Tor
14472 packages, are not impacted.) Fixes bug 24246; bugfix on every
14473 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14474 Found by OSS-Fuzz as testcase 6360145429790720.
14475 - Fix a denial of service issue where an attacker could crash a
14476 directory authority using a malformed router descriptor. Fixes bug
14477 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14479 - When checking for replays in the INTRODUCE1 cell data for a
14480 (legacy) onion service, correctly detect replays in the RSA-
14481 encrypted part of the cell. We were previously checking for
14482 replays on the entire cell, but those can be circumvented due to
14483 the malleability of Tor's legacy hybrid encryption. This fix helps
14484 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14485 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14488 o Major bugfixes (security, onion service v2):
14489 - Fix a use-after-free error that could crash v2 Tor onion services
14490 when they failed to open circuits while expiring introduction
14491 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14492 also tracked as TROVE-2017-013 and CVE-2017-8823.
14494 o Major bugfixes (security, relay):
14495 - When running as a relay, make sure that we never build a path
14496 through ourselves, even in the case where we have somehow lost the
14497 version of our descriptor appearing in the consensus. Fixes part
14498 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14499 as TROVE-2017-012 and CVE-2017-8822.
14500 - When running as a relay, make sure that we never choose ourselves
14501 as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
14502 issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
14504 o Minor feature (relay statistics):
14505 - Change relay bandwidth reporting stats interval from 4 hours to 24
14506 hours in order to reduce the efficiency of guard discovery
14507 attacks. Fixes ticket 23856.
14509 o Minor features (directory authority):
14510 - Add an IPv6 address for the "bastet" directory authority. Closes
14513 o Minor bugfixes (client):
14514 - By default, do not enable storage of client-side DNS values. These
14515 values were unused by default previously, but they should not have
14516 been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
14519 Changes in version 0.3.1.9 - 2017-12-01:
14520 Tor 0.3.1.9 backports important security and stability fixes from the
14521 0.3.2 development series. All Tor users should upgrade to this
14522 release, or to another of the releases coming out today.
14524 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14525 - Fix a denial of service bug where an attacker could use a
14526 malformed directory object to cause a Tor instance to pause while
14527 OpenSSL would try to read a passphrase from the terminal. (Tor
14528 instances run without a terminal, which is the case for most Tor
14529 packages, are not impacted.) Fixes bug 24246; bugfix on every
14530 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14531 Found by OSS-Fuzz as testcase 6360145429790720.
14532 - Fix a denial of service issue where an attacker could crash a
14533 directory authority using a malformed router descriptor. Fixes bug
14534 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14536 - When checking for replays in the INTRODUCE1 cell data for a
14537 (legacy) onion service, correctly detect replays in the RSA-
14538 encrypted part of the cell. We were previously checking for
14539 replays on the entire cell, but those can be circumvented due to
14540 the malleability of Tor's legacy hybrid encryption. This fix helps
14541 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14542 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14545 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14546 - Fix a use-after-free error that could crash v2 Tor onion services
14547 when they failed to open circuits while expiring introduction
14548 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14549 also tracked as TROVE-2017-013 and CVE-2017-8823.
14551 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14552 - When running as a relay, make sure that we never build a path
14553 through ourselves, even in the case where we have somehow lost the
14554 version of our descriptor appearing in the consensus. Fixes part
14555 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14556 as TROVE-2017-012 and CVE-2017-8822.
14557 - When running as a relay, make sure that we never choose ourselves
14558 as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
14559 issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
14561 o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
14562 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14563 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14564 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14565 identifying and finding a workaround to this bug and to Moritz,
14566 Arthur Edelstein, and Roger for helping to track it down and
14569 o Minor features (bridge):
14570 - Bridges now include notice in their descriptors that they are
14571 bridges, and notice of their distribution status, based on their
14572 publication settings. Implements ticket 18329. For more fine-
14573 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14576 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14577 - Add an IPv6 address for the "bastet" directory authority. Closes
14580 o Minor features (geoip):
14581 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14584 o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
14585 - Avoid unnecessary calls to directory_fetches_from_authorities() on
14586 relays, to prevent spurious address resolutions and descriptor
14587 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
14588 bugfix on in 0.2.8.1-alpha.
14590 o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
14591 - Fix unused variable warnings in donna's Curve25519 SSE2 code.
14592 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
14594 o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
14595 - When a circuit is marked for close, do not attempt to package any
14596 cells for channels on that circuit. Previously, we would detect
14597 this condition lower in the call stack, when we noticed that the
14598 circuit had no attached channel, and log an annoying message.
14599 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
14601 o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
14602 - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
14603 so it matches dir-spec.txt. Fixes bug 24262; bugfix
14606 o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
14607 - Avoid a crash when transitioning from client mode to bridge mode.
14608 Previously, we would launch the worker threads whenever our
14609 "public server" mode changed, but not when our "server" mode
14610 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14613 Changes in version 0.3.0.13 - 2017-12-01
14614 Tor 0.3.0.13 backports important security and stability bugfixes from
14615 later Tor releases. All Tor users should upgrade to this release, or
14616 to another of the releases coming out today.
14618 Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
14619 2018. If you need a release with long-term support, please stick with
14620 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
14622 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14623 - Fix a denial of service bug where an attacker could use a
14624 malformed directory object to cause a Tor instance to pause while
14625 OpenSSL would try to read a passphrase from the terminal. (Tor
14626 instances run without a terminal, which is the case for most Tor
14627 packages, are not impacted.) Fixes bug 24246; bugfix on every
14628 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14629 Found by OSS-Fuzz as testcase 6360145429790720.
14630 - Fix a denial of service issue where an attacker could crash a
14631 directory authority using a malformed router descriptor. Fixes bug
14632 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14634 - When checking for replays in the INTRODUCE1 cell data for a
14635 (legacy) onion service, correctly detect replays in the RSA-
14636 encrypted part of the cell. We were previously checking for
14637 replays on the entire cell, but those can be circumvented due to
14638 the malleability of Tor's legacy hybrid encryption. This fix helps
14639 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14640 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14643 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14644 - Fix a use-after-free error that could crash v2 Tor onion services
14645 when they failed to open circuits while expiring introduction
14646 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14647 also tracked as TROVE-2017-013 and CVE-2017-8823.
14649 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14650 - When running as a relay, make sure that we never build a path
14651 through ourselves, even in the case where we have somehow lost the
14652 version of our descriptor appearing in the consensus. Fixes part
14653 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14654 as TROVE-2017-012 and CVE-2017-8822.
14655 - When running as a relay, make sure that we never choose ourselves
14656 as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
14657 issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
14659 o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
14660 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14661 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14662 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14663 identifying and finding a workaround to this bug and to Moritz,
14664 Arthur Edelstein, and Roger for helping to track it down and
14667 o Minor features (security, windows, backport from 0.3.1.1-alpha):
14668 - Enable a couple of pieces of Windows hardening: one
14669 (HeapEnableTerminationOnCorruption) that has been on-by-default
14670 since Windows 8, and unavailable before Windows 7; and one
14671 (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
14672 affect us, but shouldn't do any harm. Closes ticket 21953.
14674 o Minor features (bridge, backport from 0.3.1.9):
14675 - Bridges now include notice in their descriptors that they are
14676 bridges, and notice of their distribution status, based on their
14677 publication settings. Implements ticket 18329. For more fine-
14678 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14681 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14682 - Add an IPv6 address for the "bastet" directory authority. Closes
14685 o Minor features (geoip):
14686 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14689 o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
14690 - Avoid unnecessary calls to directory_fetches_from_authorities() on
14691 relays, to prevent spurious address resolutions and descriptor
14692 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
14693 bugfix on in 0.2.8.1-alpha.
14695 o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
14696 - Fix unused variable warnings in donna's Curve25519 SSE2 code.
14697 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
14699 o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
14700 - When a circuit is marked for close, do not attempt to package any
14701 cells for channels on that circuit. Previously, we would detect
14702 this condition lower in the call stack, when we noticed that the
14703 circuit had no attached channel, and log an annoying message.
14704 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
14706 o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
14707 - Avoid a crash when transitioning from client mode to bridge mode.
14708 Previously, we would launch the worker threads whenever our
14709 "public server" mode changed, but not when our "server" mode
14710 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14712 o Minor bugfixes (testing, backport from 0.3.1.6-rc):
14713 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
14714 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
14717 Changes in version 0.2.9.14 - 2017-12-01
14718 Tor 0.3.0.13 backports important security and stability bugfixes from
14719 later Tor releases. All Tor users should upgrade to this release, or
14720 to another of the releases coming out today.
14722 o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
14723 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
14724 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
14725 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
14726 identifying and finding a workaround to this bug and to Moritz,
14727 Arthur Edelstein, and Roger for helping to track it down and
14730 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14731 - Fix a denial of service bug where an attacker could use a
14732 malformed directory object to cause a Tor instance to pause while
14733 OpenSSL would try to read a passphrase from the terminal. (Tor
14734 instances run without a terminal, which is the case for most Tor
14735 packages, are not impacted.) Fixes bug 24246; bugfix on every
14736 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14737 Found by OSS-Fuzz as testcase 6360145429790720.
14738 - Fix a denial of service issue where an attacker could crash a
14739 directory authority using a malformed router descriptor. Fixes bug
14740 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
14742 - When checking for replays in the INTRODUCE1 cell data for a
14743 (legacy) onion service, correctly detect replays in the RSA-
14744 encrypted part of the cell. We were previously checking for
14745 replays on the entire cell, but those can be circumvented due to
14746 the malleability of Tor's legacy hybrid encryption. This fix helps
14747 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14748 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14751 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14752 - Fix a use-after-free error that could crash v2 Tor onion services
14753 when they failed to open circuits while expiring introduction
14754 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14755 also tracked as TROVE-2017-013 and CVE-2017-8823.
14757 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14758 - When running as a relay, make sure that we never build a path
14759 through ourselves, even in the case where we have somehow lost the
14760 version of our descriptor appearing in the consensus. Fixes part
14761 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14762 as TROVE-2017-012 and CVE-2017-8822.
14764 o Minor features (bridge, backport from 0.3.1.9):
14765 - Bridges now include notice in their descriptors that they are
14766 bridges, and notice of their distribution status, based on their
14767 publication settings. Implements ticket 18329. For more fine-
14768 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14771 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14772 - Add an IPv6 address for the "bastet" directory authority. Closes
14775 o Minor features (geoip):
14776 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14779 o Minor features (security, windows, backport from 0.3.1.1-alpha):
14780 - Enable a couple of pieces of Windows hardening: one
14781 (HeapEnableTerminationOnCorruption) that has been on-by-default
14782 since Windows 8, and unavailable before Windows 7; and one
14783 (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
14784 affect us, but shouldn't do any harm. Closes ticket 21953.
14786 o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
14787 - Avoid unnecessary calls to directory_fetches_from_authorities() on
14788 relays, to prevent spurious address resolutions and descriptor
14789 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
14790 bugfix on in 0.2.8.1-alpha.
14792 o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
14793 - Fix unused variable warnings in donna's Curve25519 SSE2 code.
14794 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
14796 o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
14797 - When a circuit is marked for close, do not attempt to package any
14798 cells for channels on that circuit. Previously, we would detect
14799 this condition lower in the call stack, when we noticed that the
14800 circuit had no attached channel, and log an annoying message.
14801 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
14803 o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
14804 - Avoid a crash when transitioning from client mode to bridge mode.
14805 Previously, we would launch the worker threads whenever our
14806 "public server" mode changed, but not when our "server" mode
14807 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
14809 o Minor bugfixes (testing, backport from 0.3.1.6-rc):
14810 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
14811 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
14814 Changes in version 0.2.8.17 - 2017-12-01
14815 Tor 0.2.8.17 backports important security and stability bugfixes from
14816 later Tor releases. All Tor users should upgrade to this release, or
14817 to another of the releases coming out today.
14819 Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
14820 2018. If you need a release with long-term support, please upgrade with
14821 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
14823 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14824 - Fix a denial of service bug where an attacker could use a
14825 malformed directory object to cause a Tor instance to pause while
14826 OpenSSL would try to read a passphrase from the terminal. (Tor
14827 instances run without a terminal, which is the case for most Tor
14828 packages, are not impacted.) Fixes bug 24246; bugfix on every
14829 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14830 Found by OSS-Fuzz as testcase 6360145429790720.
14831 - When checking for replays in the INTRODUCE1 cell data for a
14832 (legacy) onion service, correctly detect replays in the RSA-
14833 encrypted part of the cell. We were previously checking for
14834 replays on the entire cell, but those can be circumvented due to
14835 the malleability of Tor's legacy hybrid encryption. This fix helps
14836 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14837 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14840 o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
14841 - Fix a use-after-free error that could crash v2 Tor onion services
14842 when they failed to open circuits while expiring introduction
14843 points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
14844 also tracked as TROVE-2017-013 and CVE-2017-8823.
14846 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14847 - When running as a relay, make sure that we never build a path through
14848 ourselves, even in the case where we have somehow lost the version of
14849 our descriptor appearing in the consensus. Fixes part of bug 21534;
14850 bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
14853 o Minor features (bridge, backport from 0.3.1.9):
14854 - Bridges now include notice in their descriptors that they are
14855 bridges, and notice of their distribution status, based on their
14856 publication settings. Implements ticket 18329. For more fine-
14857 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14860 o Minor features (directory authority, backport from 0.3.2.6-alpha):
14861 - Add an IPv6 address for the "bastet" directory authority. Closes
14864 o Minor features (geoip):
14865 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14868 o Minor bugfixes (testing, backport from 0.3.1.6-rc):
14869 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
14870 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
14873 Changes in version 0.2.5.16 - 2017-12-01
14874 Tor 0.2.5.13 backports important security and stability bugfixes from
14875 later Tor releases. All Tor users should upgrade to this release, or
14876 to another of the releases coming out today.
14878 Note: the Tor 0.2.5 series will no longer be supported after 1 May
14879 2018. If you need a release with long-term support, please upgrade to
14880 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
14882 o Major bugfixes (security, backport from 0.3.2.6-alpha):
14883 - Fix a denial of service bug where an attacker could use a
14884 malformed directory object to cause a Tor instance to pause while
14885 OpenSSL would try to read a passphrase from the terminal. (Tor
14886 instances run without a terminal, which is the case for most Tor
14887 packages, are not impacted.) Fixes bug 24246; bugfix on every
14888 version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
14889 Found by OSS-Fuzz as testcase 6360145429790720.
14890 - When checking for replays in the INTRODUCE1 cell data for a
14891 (legacy) onion service, correctly detect replays in the RSA-
14892 encrypted part of the cell. We were previously checking for
14893 replays on the entire cell, but those can be circumvented due to
14894 the malleability of Tor's legacy hybrid encryption. This fix helps
14895 prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
14896 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
14899 o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
14900 - When running as a relay, make sure that we never build a path
14901 through ourselves, even in the case where we have somehow lost the
14902 version of our descriptor appearing in the consensus. Fixes part
14903 of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
14904 as TROVE-2017-012 and CVE-2017-8822.
14906 o Minor features (bridge, backport from 0.3.1.9):
14907 - Bridges now include notice in their descriptors that they are
14908 bridges, and notice of their distribution status, based on their
14909 publication settings. Implements ticket 18329. For more fine-
14910 grained control of how a bridge is distributed, upgrade to 0.3.2.x
14913 o Minor features (geoip):
14914 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14918 Changes in version 0.3.2.5-alpha - 2017-11-22
14919 Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
14920 fixes several stability and reliability bugs, including a fix for
14921 intermittent bootstrapping failures that some people have been seeing
14922 since the 0.3.0.x series.
14924 Please test this alpha out -- many of these fixes will soon be
14925 backported to stable Tor versions if no additional bugs are found
14928 o Major bugfixes (bootstrapping):
14929 - Fetch descriptors aggressively whenever we lack enough to build
14930 circuits, regardless of how many descriptors we are missing.
14931 Previously, we would delay launching the fetch when we had fewer
14932 than 15 missing descriptors, even if some of those descriptors
14933 were blocking circuits from building. Fixes bug 23985; bugfix on
14934 0.1.1.11-alpha. The effects of this bug became worse in
14935 0.3.0.3-alpha, when we began treating missing descriptors from our
14936 primary guards as a reason to delay circuits.
14937 - Don't try fetching microdescriptors from relays that have failed
14938 to deliver them in the past. Fixes bug 23817; bugfix
14941 o Minor features (directory authority):
14942 - Make the "Exit" flag assignment only depend on whether the exit
14943 policy allows connections to ports 80 and 443. Previously relays
14944 would get the Exit flag if they allowed connections to one of
14945 these ports and also port 6667. Resolves ticket 23637.
14947 o Minor features (geoip):
14948 - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
14951 o Minor features (linux seccomp2 sandbox):
14952 - Update the sandbox rules so that they should now work correctly
14953 with Glibc 2.26. Closes ticket 24315.
14955 o Minor features (logging):
14956 - Downgrade a pair of log messages that could occur when an exit's
14957 resolver gave us an unusual (but not forbidden) response. Closes
14959 - Improve the message we log when re-enabling circuit build timeouts
14960 after having received a consensus. Closes ticket 20963.
14962 o Minor bugfixes (compilation):
14963 - Fix a memory leak warning in one of the libevent-related
14964 configuration tests that could occur when manually specifying
14965 -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
14966 Found and patched by Alex Xu.
14967 - When detecting OpenSSL on Windows from our configure script, make
14968 sure to try linking with the ws2_32 library. Fixes bug 23783;
14969 bugfix on 0.3.2.2-alpha.
14971 o Minor bugfixes (control port, linux seccomp2 sandbox):
14972 - Avoid a crash when attempting to use the seccomp2 sandbox together
14973 with the OwningControllerProcess feature. Fixes bug 24198; bugfix
14976 o Minor bugfixes (control port, onion services):
14977 - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
14978 HS_DESC event when a service is not able to upload a descriptor.
14979 Fixes bug 24230; bugfix on 0.2.7.1-alpha.
14981 o Minor bugfixes (directory cache):
14982 - Recover better from empty or corrupt files in the consensus cache
14983 directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
14984 - When a consensus diff calculation is only partially successful,
14985 only record the successful parts as having succeeded. Partial
14986 success can happen if (for example) one compression method fails
14987 but the others succeed. Previously we misrecorded all the
14988 calculations as having succeeded, which would later cause a
14989 nonfatal assertion failure. Fixes bug 24086; bugfix
14992 o Minor bugfixes (logging):
14993 - Only log once if we notice that KIST support is gone. Fixes bug
14994 24158; bugfix on 0.3.2.1-alpha.
14995 - Suppress a log notice when relay descriptors arrive. We already
14996 have a bootstrap progress for this so no need to log notice
14997 everytime tor receives relay descriptors. Microdescriptors behave
14998 the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
15000 o Minor bugfixes (network layer):
15001 - When closing a connection via close_connection_immediately(), we
15002 mark it as "not blocked on bandwidth", to prevent later calls from
15003 trying to unblock it, and give it permission to read. This fixes a
15004 backtrace warning that can happen on relays under various
15005 circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
15007 o Minor bugfixes (onion services):
15008 - The introduction circuit was being timed out too quickly while
15009 waiting for the rendezvous circuit to complete. Keep the intro
15010 circuit around longer instead of timing out and reopening new ones
15011 constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
15012 - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
15013 so it matches dir-spec.txt. Fixes bug 24262; bugfix
15015 - Silence a warning about failed v3 onion descriptor uploads that
15016 can happen naturally under certain edge cases. Fixes part of bug
15017 23662; bugfix on 0.3.2.1-alpha.
15019 o Minor bugfixes (tests):
15020 - Fix a memory leak in one of the bridge-distribution test cases.
15021 Fixes bug 24345; bugfix on 0.3.2.3-alpha.
15022 - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
15023 to correctly handle cases where a caller gives it an RSA key of
15024 under 160 bits. (This is not actually a bug in Tor itself, but
15025 rather in our fuzzing code.) Fixes bug 24247; bugfix on
15026 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
15029 - Add notes in man page regarding OS support for the various
15030 scheduler types. Attempt to use less jargon in the scheduler
15031 section. Closes ticket 24254.
15034 Changes in version 0.3.2.4-alpha - 2017-11-08
15035 Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
15036 It fixes several stability and reliability bugs, especially including
15037 a major reliability issue that has been plaguing fast exit relays in
15040 o Major bugfixes (exit relays, DNS):
15041 - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
15042 making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
15043 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
15044 identifying and finding a workaround to this bug and to Moritz,
15045 Arthur Edelstein, and Roger for helping to track it down and
15048 o Major bugfixes (scheduler, channel):
15049 - Stop processing scheduled channels if they closed while flushing
15050 cells. This can happen if the write on the connection fails
15051 leading to the channel being closed while in the scheduler loop.
15052 Fixes bug 23751; bugfix on 0.3.2.1-alpha.
15054 o Minor features (logging, scheduler):
15055 - Introduce a SCHED_BUG() function to log extra information about
15056 the scheduler state if we ever catch a bug in the scheduler.
15057 Closes ticket 23753.
15059 o Minor features (removed deprecations):
15060 - The ClientDNSRejectInternalAddresses flag can once again be set in
15061 non-testing Tor networks, so long as they do not use the default
15062 directory authorities. This change also removes the deprecation of
15063 this flag from 0.2.9.2-alpha. Closes ticket 21031.
15065 o Minor features (testing):
15066 - Our fuzzing tests now test the encrypted portions of v3 onion
15067 service descriptors. Implements more of 21509.
15069 o Minor bugfixes (directory client):
15070 - On failure to download directory information, delay retry attempts
15071 by a random amount based on the "decorrelated jitter" algorithm.
15072 Our previous delay algorithm tended to produce extra-long delays
15073 too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
15075 o Minor bugfixes (IPv6, v3 single onion services):
15076 - Remove buggy code for IPv6-only v3 single onion services, and
15077 reject attempts to configure them. This release supports IPv4,
15078 dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
15079 stack v3 single onion services. Fixes bug 23820; bugfix
15082 o Minor bugfixes (logging, relay):
15083 - Give only a protocol warning when the ed25519 key is not
15084 consistent between the descriptor and microdescriptor of a relay.
15085 This can happen, for instance, if the relay has been flagged
15086 NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
15088 o Minor bugfixes (manpage, onion service):
15089 - Document that the HiddenServiceNumIntroductionPoints option is
15090 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
15091 bugfix on 0.3.2.1-alpha.
15093 o Minor bugfixes (memory leaks):
15094 - Fix a minor memory leak at exit in the KIST scheduler. This bug
15095 should have no user-visible impact. Fixes bug 23774; bugfix
15097 - Fix a memory leak when decrypting a badly formatted v3 onion
15098 service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
15099 Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
15101 o Minor bugfixes (onion services):
15102 - Cache some needed onion service client information instead of
15103 constantly computing it over and over again. Fixes bug 23623;
15104 bugfix on 0.3.2.1-alpha.
15105 - Properly retry HSv3 descriptor fetches when missing required
15106 directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
15108 o Minor bugfixes (path selection):
15109 - When selecting relays by bandwidth, avoid a rounding error that
15110 could sometimes cause load to be imbalanced incorrectly.
15111 Previously, we would always round upwards; now, we round towards
15112 the nearest integer. This had the biggest effect when a relay's
15113 weight adjustments should have given it weight 0, but it got
15114 weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
15115 - When calculating the fraction of nodes that have descriptors, and
15116 all nodes in the network have zero bandwidths, count the number of
15117 nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
15118 - Actually log the total bandwidth in compute_weighted_bandwidths().
15119 Fixes bug 24170; bugfix on 0.2.4.3-alpha.
15121 o Minor bugfixes (relay, crash):
15122 - Avoid a crash when transitioning from client mode to bridge mode.
15123 Previously, we would launch the worker threads whenever our
15124 "public server" mode changed, but not when our "server" mode
15125 changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
15127 o Minor bugfixes (testing):
15128 - Fix a spurious fuzzing-only use of an uninitialized value. Found
15129 by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
15130 - Test that IPv6-only clients can use microdescriptors when running
15131 "make test-network-all". Requires chutney master 61c28b9 or later.
15132 Closes ticket 24109.
15135 Changes in version 0.3.2.3-alpha - 2017-10-27
15136 Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
15137 numerous small bugs in earlier versions of 0.3.2.x, and adds a new
15138 directory authority, Bastet.
15140 o Directory authority changes:
15141 - Add "Bastet" as a ninth directory authority to the default list.
15142 Closes ticket 23910.
15143 - The directory authority "Longclaw" has changed its IP address.
15144 Closes ticket 23592.
15146 o Minor features (bridge):
15147 - Bridge relays can now set the BridgeDistribution config option to
15148 add a "bridge-distribution-request" line to their bridge
15149 descriptor, which tells BridgeDB how they'd like their bridge
15150 address to be given out. (Note that as of Oct 2017, BridgeDB does
15151 not yet implement this feature.) As a side benefit, this feature
15152 provides a way to distinguish bridge descriptors from non-bridge
15153 descriptors. Implements tickets 18329.
15155 o Minor features (client, entry guards):
15156 - Improve log messages when missing descriptors for primary guards.
15157 Resolves ticket 23670.
15159 o Minor features (geoip):
15160 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15163 o Minor bugfixes (bridge):
15164 - Overwrite the bridge address earlier in the process of retrieving
15165 its descriptor, to make sure we reach it on the configured
15166 address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
15168 o Minor bugfixes (documentation):
15169 - Document better how to read gcov, and what our gcov postprocessing
15170 scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
15172 o Minor bugfixes (entry guards):
15173 - Tor now updates its guard state when it reads a consensus
15174 regardless of whether it's missing descriptors. That makes tor use
15175 its primary guards to fetch descriptors in some edge cases where
15176 it would previously have used fallback directories. Fixes bug
15177 23862; bugfix on 0.3.0.1-alpha.
15179 o Minor bugfixes (hidden service client):
15180 - When handling multiple SOCKS request for the same .onion address,
15181 only fetch the service descriptor once.
15182 - When a descriptor fetch fails with a non-recoverable error, close
15183 all pending SOCKS requests for that .onion. Fixes bug 23653;
15184 bugfix on 0.3.2.1-alpha.
15186 o Minor bugfixes (hidden service):
15187 - Always regenerate missing hidden service public key files. Prior
15188 to this, if the public key was deleted from disk, it wouldn't get
15189 recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
15191 - Make sure that we have a usable ed25519 key when the intro point
15192 relay supports ed25519 link authentication. Fixes bug 24002;
15193 bugfix on 0.3.2.1-alpha.
15195 o Minor bugfixes (hidden service, v2):
15196 - When reloading configured hidden services, copy all information
15197 from the old service object. Previously, some data was omitted,
15198 causing delays in descriptor upload, and other bugs. Fixes bug
15199 23790; bugfix on 0.2.1.9-alpha.
15201 o Minor bugfixes (memory safety, defensive programming):
15202 - Clear the target address when node_get_prim_orport() returns
15203 early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15205 o Minor bugfixes (relay):
15206 - Avoid a BUG warning when receiving a dubious CREATE cell while an
15207 option transition is in progress. Fixes bug 23952; bugfix
15210 o Minor bugfixes (testing):
15211 - Adjust the GitLab CI configuration to more closely match that of
15212 Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
15213 - Prevent scripts/test/coverage from attempting to move gcov output
15214 to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
15215 - When running unit tests as root, skip a test that would fail
15216 because it expects a permissions error. This affects some
15217 continuous integration setups. Fixes bug 23758; bugfix
15219 - Stop unconditionally mirroring the tor repository in GitLab CI.
15220 This prevented developers from enabling GitLab CI on master. Fixes
15221 bug 23755; bugfix on 0.3.2.2-alpha.
15222 - Fix the hidden service v3 descriptor decoding fuzzing to use the
15223 latest decoding API correctly. Fixes bug 21509; bugfix
15226 o Minor bugfixes (warnings):
15227 - When we get an HTTP request on a SOCKS port, tell the user about
15228 the new HTTPTunnelPort option. Previously, we would give a "Tor is
15229 not an HTTP Proxy" message, which stopped being true when
15230 HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
15234 Changes in version 0.2.5.15 - 2017-10-25
15235 Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
15236 series. It also adds a new directory authority, Bastet.
15238 Note: the Tor 0.2.5 series will no longer be supported after 1 May
15239 2018. If you need a release with long-term support, please upgrade to
15240 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
15242 o Directory authority changes:
15243 - Add "Bastet" as a ninth directory authority to the default list.
15244 Closes ticket 23910.
15245 - The directory authority "Longclaw" has changed its IP address.
15246 Closes ticket 23592.
15248 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
15249 - Avoid an assertion failure bug affecting our implementation of
15250 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
15251 handling of "0xx" differs from what we had expected. Fixes bug
15252 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
15254 o Minor features (geoip):
15255 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15258 o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
15259 - Fix a memset() off the end of an array when packing cells. This
15260 bug should be harmless in practice, since the corrupted bytes are
15261 still in the same structure, and are always padding bytes,
15262 ignored, or immediately overwritten, depending on compiler
15263 behavior. Nevertheless, because the memset()'s purpose is to make
15264 sure that any other cell-handling bugs can't expose bytes to the
15265 network, we need to fix it. Fixes bug 22737; bugfix on
15266 0.2.4.11-alpha. Fixes CID 1401591.
15268 o Build features (backport from 0.3.1.5-alpha):
15269 - Tor's repository now includes a Travis Continuous Integration (CI)
15270 configuration file (.travis.yml). This is meant to help new
15271 developers and contributors who fork Tor to a Github repository be
15272 better able to test their changes, and understand what we expect
15273 to pass. To use this new build feature, you must fork Tor to your
15274 Github account, then go into the "Integrations" menu in the
15275 repository settings for your fork and enable Travis, then push
15276 your changes. Closes ticket 22636.
15279 Changes in version 0.2.8.16 - 2017-10-25
15280 Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
15281 series, including a bugfix for a crash issue that had affected relays
15282 under memory pressure. It also adds a new directory authority, Bastet.
15284 Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
15285 2018. If you need a release with long-term support, please stick with
15286 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
15288 o Directory authority changes:
15289 - Add "Bastet" as a ninth directory authority to the default list.
15290 Closes ticket 23910.
15291 - The directory authority "Longclaw" has changed its IP address.
15292 Closes ticket 23592.
15294 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15295 - Fix a timing-based assertion failure that could occur when the
15296 circuit out-of-memory handler freed a connection's output buffer.
15297 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15299 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15300 - Remove longclaw's IPv6 address, as it will soon change. Authority
15301 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15302 3/8 directory authorities with IPv6 addresses, but there are also
15303 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15305 o Minor features (geoip):
15306 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15310 Changes in version 0.2.9.13 - 2017-10-25
15311 Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
15312 series, including a bugfix for a crash issue that had affected relays
15313 under memory pressure. It also adds a new directory authority, Bastet.
15315 o Directory authority changes:
15316 - Add "Bastet" as a ninth directory authority to the default list.
15317 Closes ticket 23910.
15318 - The directory authority "Longclaw" has changed its IP address.
15319 Closes ticket 23592.
15321 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15322 - Fix a timing-based assertion failure that could occur when the
15323 circuit out-of-memory handler freed a connection's output buffer.
15324 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15326 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15327 - Remove longclaw's IPv6 address, as it will soon change. Authority
15328 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15329 3/8 directory authorities with IPv6 addresses, but there are also
15330 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15332 o Minor features (geoip):
15333 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15336 o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
15337 - When a directory authority rejects a descriptor or extrainfo with
15338 a given digest, mark that digest as undownloadable, so that we do
15339 not attempt to download it again over and over. We previously
15340 tried to avoid downloading such descriptors by other means, but we
15341 didn't notice if we accidentally downloaded one anyway. This
15342 behavior became problematic in 0.2.7.2-alpha, when authorities
15343 began pinning Ed25519 keys. Fixes bug 22349; bugfix
15346 o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
15347 - Clear the address when node_get_prim_orport() returns early.
15348 Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15350 o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
15351 - When running as a Windows service, set the ID of the main thread
15352 correctly. Failure to do so made us fail to send log messages to
15353 the controller in 0.2.1.16-rc, slowed down controller event
15354 delivery in 0.2.7.3-rc and later, and crash with an assertion
15355 failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
15356 Patch and diagnosis from "Vort".
15359 Changes in version 0.3.0.12 - 2017-10-25
15360 Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
15361 series, including a bugfix for a crash issue that had affected relays
15362 under memory pressure. It also adds a new directory authority, Bastet.
15364 Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
15365 2018. If you need a release with long-term support, please stick with
15366 the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
15368 o Directory authority changes:
15369 - Add "Bastet" as a ninth directory authority to the default list.
15370 Closes ticket 23910.
15371 - The directory authority "Longclaw" has changed its IP address.
15372 Closes ticket 23592.
15374 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15375 - Fix a timing-based assertion failure that could occur when the
15376 circuit out-of-memory handler freed a connection's output buffer.
15377 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15379 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15380 - Remove longclaw's IPv6 address, as it will soon change. Authority
15381 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15382 3/8 directory authorities with IPv6 addresses, but there are also
15383 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15385 o Minor features (geoip):
15386 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15389 o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
15390 - When a directory authority rejects a descriptor or extrainfo with
15391 a given digest, mark that digest as undownloadable, so that we do
15392 not attempt to download it again over and over. We previously
15393 tried to avoid downloading such descriptors by other means, but we
15394 didn't notice if we accidentally downloaded one anyway. This
15395 behavior became problematic in 0.2.7.2-alpha, when authorities
15396 began pinning Ed25519 keys. Fixes bug 22349; bugfix
15399 o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
15400 - Avoid a possible double close of a circuit by the intro point on
15401 error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
15402 bugfix on 0.3.0.1-alpha.
15404 o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
15405 - Clear the address when node_get_prim_orport() returns early.
15406 Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15408 o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
15409 - When running as a Windows service, set the ID of the main thread
15410 correctly. Failure to do so made us fail to send log messages to
15411 the controller in 0.2.1.16-rc, slowed down controller event
15412 delivery in 0.2.7.3-rc and later, and crash with an assertion
15413 failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
15414 Patch and diagnosis from "Vort".
15417 Changes in version 0.3.1.8 - 2017-10-25
15418 Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
15419 It includes several bugfixes, including a bugfix for a crash issue
15420 that had affected relays under memory pressure. It also adds
15421 a new directory authority, Bastet.
15423 o Directory authority changes:
15424 - Add "Bastet" as a ninth directory authority to the default list.
15425 Closes ticket 23910.
15426 - The directory authority "Longclaw" has changed its IP address.
15427 Closes ticket 23592.
15429 o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
15430 - Fix a timing-based assertion failure that could occur when the
15431 circuit out-of-memory handler freed a connection's output buffer.
15432 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15434 o Minor features (directory authorities, backport from 0.3.2.2-alpha):
15435 - Remove longclaw's IPv6 address, as it will soon change. Authority
15436 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15437 3/8 directory authorities with IPv6 addresses, but there are also
15438 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15440 o Minor features (geoip):
15441 - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
15444 o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
15445 - Fix a compilation warning when building with zstd support on
15446 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
15447 and fixed by Andreas Stieger.
15449 o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
15450 - Handle a pathological case when decompressing Zstandard data when
15451 the output buffer size is zero. Fixes bug 23551; bugfix
15454 o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
15455 - Remove the length limit on HTTP status lines that authorities can
15456 send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
15458 o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
15459 - Avoid a possible double close of a circuit by the intro point on
15460 error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
15461 bugfix on 0.3.0.1-alpha.
15463 o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
15464 - Clear the address when node_get_prim_orport() returns early.
15465 Fixes bug 23874; bugfix on 0.2.8.2-alpha.
15467 o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
15468 - Fix additional channelpadding unit test failures by using mocked
15469 time instead of actual time for all tests. Fixes bug 23608; bugfix
15473 Changes in version 0.3.2.2-alpha - 2017-09-29
15474 Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
15475 release fixes several minor bugs in the new scheduler and next-
15476 generation onion services; both features were newly added in the 0.3.2
15477 series. Other fixes in this alpha include several fixes for non-fatal
15478 tracebacks which would appear in logs.
15480 With the aim to stabilise the 0.3.2 series by 15 December 2017, this
15481 alpha does not contain any substantial new features. Minor features
15482 include better testing and logging.
15484 The following comprises the complete list of changes included
15487 o Major bugfixes (relay, crash, assertion failure):
15488 - Fix a timing-based assertion failure that could occur when the
15489 circuit out-of-memory handler freed a connection's output buffer.
15490 Fixes bug 23690; bugfix on 0.2.6.1-alpha.
15492 o Major bugfixes (scheduler):
15493 - If a channel is put into the scheduler's pending list, then it
15494 starts closing, and then if the scheduler runs before it finishes
15495 closing, the scheduler will get stuck trying to flush its cells
15496 while the lower layers refuse to cooperate. Fix that race
15497 condition by giving the scheduler an escape method. Fixes bug
15498 23676; bugfix on 0.3.2.1-alpha.
15500 o Minor features (build, compilation):
15501 - The "check-changes" feature is now part of the "make check" tests;
15502 we'll use it to try to prevent misformed changes files from
15503 accumulating. Closes ticket 23564.
15504 - Tor builds should now fail if there are any mismatches between the
15505 C type representing a configuration variable and the C type the
15506 data-driven parser uses to store a value there. Previously, we
15507 needed to check these by hand, which sometimes led to mistakes.
15508 Closes ticket 23643.
15510 o Minor features (directory authorities):
15511 - Remove longclaw's IPv6 address, as it will soon change. Authority
15512 IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
15513 3/8 directory authorities with IPv6 addresses, but there are also
15514 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
15516 o Minor features (hidden service, circuit, logging):
15517 - Improve logging of many callsite in the circuit subsystem to print
15518 the circuit identifier(s).
15519 - Log when we cleanup an intro point from a service so we know when
15520 and for what reason it happened. Closes ticket 23604.
15522 o Minor features (logging):
15523 - Log more circuit information whenever we are about to try to
15524 package a relay cell on a circuit with a nonexistent n_chan.
15525 Attempt to diagnose ticket 8185.
15526 - Improve info-level log identification of particular circuits, to
15527 help with debugging. Closes ticket 23645.
15529 o Minor features (relay):
15530 - When choosing which circuits can be expired as unused, consider
15531 circuits from clients even if those clients used regular CREATE
15532 cells to make them; and do not consider circuits from relays even
15533 if they were made with CREATE_FAST. Part of ticket 22805.
15535 o Minor features (robustness):
15536 - Change several fatal assertions when flushing buffers into non-
15537 fatal assertions, to prevent any recurrence of 23690.
15539 o Minor features (spec conformance, bridge, diagnostic):
15540 - When handling the USERADDR command on an ExtOrPort, warn when the
15541 transports provides a USERADDR with no port. In a future version,
15542 USERADDR commands of this format may be rejected. Detects problems
15543 related to ticket 23080.
15545 o Minor features (testing):
15546 - Add a unit test to make sure that our own generated platform
15547 string will be accepted by directory authorities. Closes
15550 o Minor bugfixes (bootstrapping):
15551 - When warning about state file clock skew, report the correct
15552 direction for the detected skew. Fixes bug 23606; bugfix
15554 - Avoid an assertion failure when logging a state file clock skew
15555 very early in bootstrapping. Fixes bug 23607; bugfix
15558 o Minor bugfixes (build, compilation):
15559 - Fix a compilation warning when building with zstd support on
15560 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
15561 and fixed by Andreas Stieger.
15562 - When searching for OpenSSL, don't accept any OpenSSL library that
15563 lacks TLSv1_1_method(): Tor doesn't build with those versions.
15564 Additionally, look in /usr/local/opt/openssl, if it's present.
15565 These changes together repair the default build on OSX systems
15566 with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
15568 o Minor bugfixes (compression):
15569 - Handle a pathological case when decompressing Zstandard data when
15570 the output buffer size is zero. Fixes bug 23551; bugfix
15573 o Minor bugfixes (documentation):
15574 - Fix manpage to not refer to the obsolete (and misspelled)
15575 UseEntryGuardsAsDirectoryGuards parameter in the description of
15576 NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
15578 o Minor bugfixes (hidden service v3):
15579 - Don't log an assertion failure when we can't find the right
15580 information to extend to an introduction point. In rare cases,
15581 this could happen, causing a warning, even though tor would
15582 recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
15583 - Pad RENDEZVOUS cell up to the size of the legacy cell which is
15584 much bigger so the rendezvous point can't distinguish which hidden
15585 service protocol is being used. Fixes bug 23420; bugfix
15588 o Minor bugfixes (hidden service, relay):
15589 - Avoid a possible double close of a circuit by the intro point on
15590 error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
15591 bugfix on 0.3.0.1-alpha.
15593 o Minor bugfixes (logging, relay shutdown, annoyance):
15594 - When a circuit is marked for close, do not attempt to package any
15595 cells for channels on that circuit. Previously, we would detect
15596 this condition lower in the call stack, when we noticed that the
15597 circuit had no attached channel, and log an annoying message.
15598 Fixes bug 8185; bugfix on 0.2.5.4-alpha.
15600 o Minor bugfixes (scheduler):
15601 - When switching schedulers due to a consensus change, we didn't
15602 give the new scheduler a chance to react to the consensus. Fix
15603 that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
15604 - Make the KISTSchedRunInterval option a non negative value. With
15605 this, the way to disable KIST through the consensus is to set it
15606 to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
15607 - Only notice log the selected scheduler when we switch scheduler
15608 types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
15609 - Avoid a compilation warning on macOS in scheduler_ev_add() caused
15610 by a different tv_usec data type. Fixes bug 23575; bugfix
15612 - Make a hard exit if tor is unable to pick a scheduler which can
15613 happen if the user specifies a scheduler type that is not
15614 supported and not other types in Schedulers. Fixes bug 23581;
15615 bugfix on 0.3.2.1-alpha.
15616 - Properly initialize the scheduler last run time counter so it is
15617 not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
15619 o Minor bugfixes (testing):
15620 - Capture and detect several "Result does not fit" warnings in unit
15621 tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
15623 - Fix additional channelpadding unit test failures by using mocked
15624 time instead of actual time for all tests. Fixes bug 23608; bugfix
15626 - The removal of some old scheduler options caused some tests to
15627 fail on BSD systems. Assume current behavior is correct and make
15628 the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
15630 o Code simplification and refactoring:
15631 - Remove various ways of testing circuits and connections for
15632 "clientness"; instead, favor channel_is_client(). Part of
15635 o Deprecated features:
15636 - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
15637 now deprecated; they do not apply to relays, and they have had no
15638 effect on clients since 0.2.8.x. Closes ticket 19704.
15641 - HiddenServiceVersion man page entry wasn't mentioning the now
15642 supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
15643 - Clarify that the Address option is entirely about setting an
15644 advertised IPv4 address. Closes ticket 18891.
15645 - Clarify the manpage's use of the term "address" to clarify what
15646 kind of address is intended. Closes ticket 21405.
15647 - Document that onion service subdomains are allowed, and ignored.
15648 Closes ticket 18736.
15651 Changes in version 0.3.2.1-alpha - 2017-09-18
15652 Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
15653 includes support for our next-generation ("v3") onion service
15654 protocol, and adds a new circuit scheduler for more responsive
15655 forwarding decisions from relays. There are also numerous other small
15656 features and bugfixes here.
15658 Below are the changes since Tor 0.3.1.7.
15660 o Major feature (scheduler, channel):
15661 - Tor now uses new schedulers to decide which circuits should
15662 deliver cells first, in order to improve congestion at relays. The
15663 first type is called "KIST" ("Kernel Informed Socket Transport"),
15664 and is only available on Linux-like systems: it uses feedback from
15665 the kernel to prevent the kernel's TCP buffers from growing too
15666 full. The second new scheduler type is called "KISTLite": it
15667 behaves the same as KIST, but runs on systems without kernel
15668 support for inspecting TCP implementation details. The old
15669 scheduler is still available, under the name "Vanilla". To change
15670 the default scheduler preference order, use the new "Schedulers"
15671 option. (The default preference order is "KIST,KISTLite,Vanilla".)
15673 Matt Traudt implemented KIST, based on research by Rob Jansen,
15674 John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
15675 more information, see the design paper at
15676 http://www.robgjansen.com/publications/kist-sec2014.pdf and the
15677 followup implementation paper at https://arxiv.org/abs/1709.01044.
15678 Closes ticket 12541.
15680 o Major features (next-generation onion services):
15681 - Tor now supports the next-generation onion services protocol for
15682 clients and services! As part of this release, the core of
15683 proposal 224 has been implemented and is available for
15684 experimentation and testing by our users. This newer version of
15685 onion services ("v3") features many improvements over the legacy
15688 a) Better crypto (replaced SHA1/DH/RSA1024
15689 with SHA3/ed25519/curve25519)
15691 b) Improved directory protocol, leaking much less information to
15694 c) Improved directory protocol, with smaller surface for
15697 d) Better onion address security against impersonation.
15699 e) More extensible introduction/rendezvous protocol.
15701 f) A cleaner and more modular codebase.
15703 You can identify a next-generation onion address by its length:
15704 they are 56 characters long, as in
15705 "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
15707 In the future, we will release more options and features for v3
15708 onion services, but we first need a testing period, so that the
15709 current codebase matures and becomes more robust. Planned features
15710 include: offline keys, advanced client authorization, improved
15711 guard algorithms, and statistics. For full details, see
15714 Legacy ("v2") onion services will still work for the foreseeable
15715 future, and will remain the default until this new codebase gets
15716 tested and hardened. Service operators who want to experiment with
15717 the new system can use the 'HiddenServiceVersion 3' torrc
15718 directive along with the regular onion service configuration
15719 options. We will publish a blog post about this new feature
15722 o Major bugfixes (usability, control port):
15723 - Report trusted clock skew indications as bootstrap errors, so
15724 controllers can more easily alert users when their clocks are
15725 wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
15727 o Minor features (bug detection):
15728 - Log a warning message with a stack trace for any attempt to call
15729 get_options() during option validation. This pattern has caused
15730 subtle bugs in the past. Closes ticket 22281.
15732 o Minor features (client):
15733 - You can now use Tor as a tunneled HTTP proxy: use the new
15734 HTTPTunnelPort option to open a port that accepts HTTP CONNECT
15735 requests. Closes ticket 22407.
15736 - Add an extra check to make sure that we always use the newer guard
15737 selection code for picking our guards. Closes ticket 22779.
15738 - When downloading (micro)descriptors, don't split the list into
15739 multiple requests unless we want at least 32 descriptors.
15740 Previously, we split at 4, not 32, which led to significant
15741 overhead in HTTP request size and degradation in compression
15742 performance. Closes ticket 23220.
15744 o Minor features (command line):
15745 - Add a new commandline option, --key-expiration, which prints when
15746 the current signing key is going to expire. Implements ticket
15747 17639; patch by Isis Lovecruft.
15749 o Minor features (control port):
15750 - If an application tries to use the control port as an HTTP proxy,
15751 respond with a meaningful "This is the Tor control port" message,
15752 and log the event. Closes ticket 1667. Patch from Ravi
15754 - Provide better error message for GETINFO desc/(id|name) when not
15755 fetching router descriptors. Closes ticket 5847. Patch by
15757 - Add GETINFO "{desc,md}/download-enabled", to inform the controller
15758 whether Tor will try to download router descriptors and
15759 microdescriptors respectively. Closes ticket 22684.
15760 - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
15761 so controllers can tell whether the geoip databases are loaded.
15762 Closes ticket 23237.
15763 - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
15764 events. Closes ticket 19254. Patch by "DonnchaC".
15766 o Minor features (development support):
15767 - Developers can now generate a call-graph for Tor using the
15768 "calltool" python program, which post-processes object dumps. It
15769 should work okay on many Linux and OSX platforms, and might work
15770 elsewhere too. To run it, install calltool from
15771 https://gitweb.torproject.org/user/nickm/calltool.git and run
15772 "make callgraph". Closes ticket 19307.
15774 o Minor features (ed25519):
15775 - Add validation function to checks for torsion components in
15776 ed25519 public keys, used by prop224 client-side code. Closes
15777 ticket 22006. Math help by Ian Goldberg.
15779 o Minor features (exit relay, DNS):
15780 - Improve the clarity and safety of the log message from evdns when
15781 receiving an apparently spoofed DNS reply. Closes ticket 3056.
15783 o Minor features (integration, hardening):
15784 - Add a new NoExec option to prevent Tor from running other
15785 programs. When this option is set to 1, Tor will never try to run
15786 another program, regardless of the settings of
15787 PortForwardingHelper, ClientTransportPlugin, or
15788 ServerTransportPlugin. Once NoExec is set, it cannot be disabled
15789 without restarting Tor. Closes ticket 22976.
15791 o Minor features (logging):
15792 - Improve the warning message for specifying a relay by nickname.
15793 The previous message implied that nickname registration was still
15794 part of the Tor network design, which it isn't. Closes
15796 - If the sandbox filter fails to load, suggest to the user that
15797 their kernel might not support seccomp2. Closes ticket 23090.
15799 o Minor features (portability):
15800 - Check at configure time whether uint8_t is the same type as
15801 unsigned char. Lots of existing code already makes this
15802 assumption, and there could be strict aliasing issues if the
15803 assumption is violated. Closes ticket 22410.
15805 o Minor features (relay, configuration):
15806 - Reject attempts to use relative file paths when RunAsDaemon is
15807 set. Previously, Tor would accept these, but the directory-
15808 changing step of RunAsDaemon would give strange and/or confusing
15809 results. Closes ticket 22731.
15811 o Minor features (startup, safety):
15812 - When configured to write a PID file, Tor now exits if it is unable
15813 to do so. Previously, it would warn and continue. Closes
15816 o Minor features (static analysis):
15817 - The BUG() macro has been changed slightly so that Coverity no
15818 longer complains about dead code if the bug is impossible. Closes
15821 o Minor features (testing):
15822 - The default chutney network tests now include tests for the v3
15823 hidden service design. Make sure you have the latest version of
15824 chutney if you want to run these. Closes ticket 22437.
15825 - Add a unit test to verify that we can parse a hardcoded v2 hidden
15826 service descriptor. Closes ticket 15554.
15828 o Minor bugfixes (certificate handling):
15829 - Fix a time handling bug in Tor certificates set to expire after
15830 the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
15831 Coverity as CID 1415728.
15833 o Minor bugfixes (client, usability):
15834 - Refrain from needlessly rejecting SOCKS5-with-hostnames and
15835 SOCKS4a requests that contain IP address strings, even when
15836 SafeSocks in enabled, as this prevents user from connecting to
15837 known IP addresses without relying on DNS for resolving. SafeSocks
15838 still rejects SOCKS connections that connect to IP addresses when
15839 those addresses are _not_ encoded as hostnames. Fixes bug 22461;
15840 bugfix on Tor 0.2.6.2-alpha.
15842 o Minor bugfixes (code correctness):
15843 - Call htons() in extend_cell_format() for encoding a 16-bit value.
15844 Previously we used ntohs(), which happens to behave the same on
15845 all the platforms we support, but which isn't really correct.
15846 Fixes bug 23106; bugfix on 0.2.4.8-alpha.
15847 - For defense-in-depth, make the controller's write_escaped_data()
15848 function robust to extremely long inputs. Fixes bug 19281; bugfix
15849 on 0.1.1.1-alpha. Reported by Guido Vranken.
15851 o Minor bugfixes (compilation):
15852 - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
15853 Fixes bug 22895; bugfix on 0.2.7.2-alpha.
15855 o Minor bugfixes (consensus expiry):
15856 - Check for adequate directory information correctly. Previously, Tor
15857 would reconsider whether it had sufficient directory information
15858 every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
15860 o Minor bugfixes (directory protocol):
15861 - Directory servers now include a "Date:" http header for response
15862 codes other than 200. Clients starting with a skewed clock and a
15863 recent consensus were getting "304 Not modified" responses from
15864 directory authorities, so without the Date header, the client
15865 would never hear about a wrong clock. Fixes bug 23499; bugfix
15867 - Make clients wait for 6 seconds before trying to download a
15868 consensus from an authority. Fixes bug 17750; bugfix
15871 o Minor bugfixes (DoS-resistance):
15872 - If future code asks if there are any running bridges, without
15873 checking if bridges are enabled, log a BUG warning rather than
15874 crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
15876 o Minor bugfixes (format strictness):
15877 - Restrict several data formats to decimal. Previously, the
15878 BuildTimeHistogram entries in the state file, the "bw=" entries in
15879 the bandwidth authority file, and the process IDs passed to the
15880 __OwningControllerProcess option could all be specified in hex or
15881 octal as well as in decimal. This was not an intentional feature.
15882 Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
15885 o Minor bugfixes (heartbeat):
15886 - If we fail to write a heartbeat message, schedule a retry for the
15887 minimum heartbeat interval number of seconds in the future. Fixes
15888 bug 19476; bugfix on 0.2.3.1-alpha.
15890 o Minor bugfixes (linux seccomp2 sandbox, logging):
15891 - Fix some messages on unexpected errors from the seccomp2 library.
15892 Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
15894 o Minor bugfixes (logging):
15895 - Remove duplicate log messages regarding opening non-local
15896 SocksPorts upon parsing config and opening listeners at startup.
15897 Fixes bug 4019; bugfix on 0.2.3.3-alpha.
15898 - Use a more comprehensible log message when telling the user
15899 they've excluded every running exit node. Fixes bug 7890; bugfix
15901 - When logging the number of descriptors we intend to download per
15902 directory request, do not log a number higher than then the number
15903 of descriptors we're fetching in total. Fixes bug 19648; bugfix
15905 - When warning about a directory owned by the wrong user, log the
15906 actual name of the user owning the directory. Previously, we'd log
15907 the name of the process owner twice. Fixes bug 23487; bugfix
15909 - The tor specification says hop counts are 1-based, so fix two log
15910 messages that mistakenly logged 0-based hop counts. Fixes bug
15911 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
15912 Credit to Xiaofan Li for reporting this issue.
15914 o Minor bugfixes (portability):
15915 - Stop using the PATH_MAX variable, which is not defined on GNU
15916 Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
15918 o Minor bugfixes (relay):
15919 - When uploading our descriptor for the first time after startup,
15920 report the reason for uploading as "Tor just started" rather than
15921 leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
15922 - Avoid unnecessary calls to directory_fetches_from_authorities() on
15923 relays, to prevent spurious address resolutions and descriptor
15924 rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
15925 bugfix on in 0.2.8.1-alpha.
15927 o Minor bugfixes (tests):
15928 - Fix a broken unit test for the OutboundAddress option: the parsing
15929 function was never returning an error on failure. Fixes bug 23366;
15930 bugfix on 0.3.0.3-alpha.
15931 - Fix a signed-integer overflow in the unit tests for
15932 dir/download_status_random_backoff, which was untriggered until we
15933 fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
15935 o Minor bugfixes (usability, control port):
15936 - Stop making an unnecessary routerlist check in NETINFO clock skew
15937 detection; this was preventing clients from reporting NETINFO clock
15938 skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
15940 o Code simplification and refactoring:
15941 - Extract the code for handling newly-open channels into a separate
15942 function from the general code to handle channel state
15943 transitions. This change simplifies our callgraph, reducing the
15944 size of the largest strongly connected component by roughly a
15945 factor of two. Closes ticket 22608.
15946 - Remove dead code for largely unused statistics on the number of
15947 times we've attempted various public key operations. Fixes bug
15948 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
15949 - Remove several now-obsolete functions for asking about old
15950 variants directory authority status. Closes ticket 22311; patch
15952 - Remove some of the code that once supported "Named" and "Unnamed"
15953 routers. Authorities no longer vote for these flags. Closes
15955 - Rename the obsolete malleable hybrid_encrypt functions used in TAP
15956 and old hidden services, to indicate that they aren't suitable for
15957 new protocols or formats. Closes ticket 23026.
15958 - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
15959 22521. Patch from Neel Chauhan.
15960 - Split the enormous circuit_send_next_onion_skin() function into
15961 multiple subfunctions. Closes ticket 22804.
15962 - Split the portions of the buffer.c module that handle particular
15963 protocols into separate modules. Part of ticket 23149.
15964 - Use our test macros more consistently, to produce more useful
15965 error messages when our unit tests fail. Add coccinelle patches to
15966 allow us to re-check for test macro uses. Closes ticket 22497.
15968 o Deprecated features:
15969 - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
15970 only applies to direct unencrypted HTTP connections to your
15971 directory server, which your Tor probably isn't using. Closes
15975 - Clarify in the manual that "Sandbox 1" is only supported on Linux
15976 kernels. Closes ticket 22677.
15977 - Document all values of PublishServerDescriptor in the manpage.
15978 Closes ticket 15645.
15979 - Improve the documentation for the directory port part of the
15980 DirAuthority line. Closes ticket 20152.
15981 - Restore documentation for the authorities' "approved-routers"
15982 file. Closes ticket 21148.
15984 o Removed features:
15985 - The AllowDotExit option has been removed as unsafe. It has been
15986 deprecated since 0.2.9.2-alpha. Closes ticket 23426.
15987 - The ClientDNSRejectInternalAddresses flag can no longer be set on
15988 non-testing networks. It has been deprecated since 0.2.9.2-alpha.
15989 Closes ticket 21031.
15990 - The controller API no longer includes an AUTHDIR_NEWDESCS event:
15991 nobody was using it any longer. Closes ticket 22377.
15994 Changes in version 0.2.8.15 - 2017-09-18
15995 Tor 0.2.8.15 backports a collection of bugfixes from later
15998 Most significantly, it includes a fix for TROVE-2017-008, a
15999 security bug that affects hidden services running with the
16000 SafeLogging option disabled. For more information, see
16001 https://trac.torproject.org/projects/tor/ticket/23490
16003 Note that Tor 0.2.8.x will no longer be supported after 1 Jan
16004 2018. We suggest that you upgrade to the latest stable release if
16005 possible. If you can't, we recommend that you upgrade at least to
16006 0.2.9, which will be supported until 2020.
16008 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
16009 - Avoid an assertion failure bug affecting our implementation of
16010 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
16011 handling of "0xx" differs from what we had expected. Fixes bug
16012 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
16015 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
16018 o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
16019 - Backport a fix for an "unused variable" warning that appeared
16020 in some versions of mingw. Fixes bug 22838; bugfix on
16023 o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
16024 - Fix a memset() off the end of an array when packing cells. This
16025 bug should be harmless in practice, since the corrupted bytes are
16026 still in the same structure, and are always padding bytes,
16027 ignored, or immediately overwritten, depending on compiler
16028 behavior. Nevertheless, because the memset()'s purpose is to make
16029 sure that any other cell-handling bugs can't expose bytes to the
16030 network, we need to fix it. Fixes bug 22737; bugfix on
16031 0.2.4.11-alpha. Fixes CID 1401591.
16033 o Build features (backport from 0.3.1.5-alpha):
16034 - Tor's repository now includes a Travis Continuous Integration (CI)
16035 configuration file (.travis.yml). This is meant to help new
16036 developers and contributors who fork Tor to a Github repository be
16037 better able to test their changes, and understand what we expect
16038 to pass. To use this new build feature, you must fork Tor to your
16039 Github account, then go into the "Integrations" menu in the
16040 repository settings for your fork and enable Travis, then push
16041 your changes. Closes ticket 22636.
16044 Changes in version 0.2.9.12 - 2017-09-18
16045 Tor 0.2.9.12 backports a collection of bugfixes from later
16048 Most significantly, it includes a fix for TROVE-2017-008, a
16049 security bug that affects hidden services running with the
16050 SafeLogging option disabled. For more information, see
16051 https://trac.torproject.org/projects/tor/ticket/23490
16053 o Major features (security, backport from 0.3.0.2-alpha):
16054 - Change the algorithm used to decide DNS TTLs on client and server
16055 side, to better resist DNS-based correlation attacks like the
16056 DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
16057 Feamster. Now relays only return one of two possible DNS TTL
16058 values, and clients are willing to believe DNS TTL values up to 3
16059 hours long. Closes ticket 19769.
16061 o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
16062 - Fix a rare crash when sending a begin cell on a circuit whose
16063 linked directory connection had already been closed. Fixes bug
16064 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
16066 o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
16067 - Fix a bug that prevented exit nodes from caching DNS records for
16068 more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
16070 o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
16071 - Fix a typo that had prevented TPROXY-based transparent proxying
16072 from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
16073 Patch from "d4fq0fQAgoJ".
16075 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
16076 - Avoid an assertion failure bug affecting our implementation of
16077 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
16078 handling of "0xx" differs from what we had expected. Fixes bug
16079 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
16081 o Minor features (code style, backport from 0.3.1.3-alpha):
16082 - Add "Falls through" comments to our codebase, in order to silence
16083 GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
16084 Stieger. Closes ticket 22446.
16086 o Minor features (geoip):
16087 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
16090 o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
16091 - Roll over monthly accounting at the configured hour and minute,
16092 rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
16093 Found by Andrey Karpov with PVS-Studio.
16095 o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
16096 - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
16097 bugfix on 0.2.8.1-alpha.
16098 - Fix warnings when building with libscrypt and openssl scrypt support
16099 on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
16100 - When building with certain versions the mingw C header files, avoid
16101 float-conversion warnings when calling the C functions isfinite(),
16102 isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
16104 o Minor bugfixes (compilation, backport from 0.3.1.7):
16105 - Avoid compiler warnings in the unit tests for running tor_sscanf()
16106 with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
16108 o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
16109 - Backport a fix for an "unused variable" warning that appeared
16110 in some versions of mingw. Fixes bug 22838; bugfix on
16113 o Minor bugfixes (controller, backport from 0.3.1.7):
16114 - Do not crash when receiving a HSPOST command with an empty body.
16115 Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
16116 - Do not crash when receiving a POSTDESCRIPTOR command with an
16117 empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
16119 o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
16120 - Avoid Coverity build warnings related to our BUG() macro. By
16121 default, Coverity treats BUG() as the Linux kernel does: an
16122 instant abort(). We need to override that so our BUG() macro
16123 doesn't prevent Coverity from analyzing functions that use it.
16124 Fixes bug 23030; bugfix on 0.2.9.1-alpha.
16126 o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
16127 - Fix a memset() off the end of an array when packing cells. This
16128 bug should be harmless in practice, since the corrupted bytes are
16129 still in the same structure, and are always padding bytes,
16130 ignored, or immediately overwritten, depending on compiler
16131 behavior. Nevertheless, because the memset()'s purpose is to make
16132 sure that any other cell-handling bugs can't expose bytes to the
16133 network, we need to fix it. Fixes bug 22737; bugfix on
16134 0.2.4.11-alpha. Fixes CID 1401591.
16136 o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
16137 - When setting the maximum number of connections allowed by the OS,
16138 always allow some extra file descriptors for other files. Fixes
16139 bug 22797; bugfix on 0.2.0.10-alpha.
16141 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
16142 - Avoid a sandbox failure when trying to re-bind to a socket and
16143 mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
16145 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
16146 - Permit the fchmod system call, to avoid crashing on startup when
16147 starting with the seccomp2 sandbox and an unexpected set of
16148 permissions on the data directory or its contents. Fixes bug
16149 22516; bugfix on 0.2.5.4-alpha.
16151 o Minor bugfixes (relay, backport from 0.3.0.5-rc):
16152 - Avoid a double-marked-circuit warning that could happen when we
16153 receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
16156 o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
16157 - Reject version numbers with non-numeric prefixes (such as +, -, or
16158 whitespace). Disallowing whitespace prevents differential version
16159 parsing between POSIX-based and Windows platforms. Fixes bug 21507
16160 and part of 21508; bugfix on 0.0.8pre1.
16162 o Build features (backport from 0.3.1.5-alpha):
16163 - Tor's repository now includes a Travis Continuous Integration (CI)
16164 configuration file (.travis.yml). This is meant to help new
16165 developers and contributors who fork Tor to a Github repository be
16166 better able to test their changes, and understand what we expect
16167 to pass. To use this new build feature, you must fork Tor to your
16168 Github account, then go into the "Integrations" menu in the
16169 repository settings for your fork and enable Travis, then push
16170 your changes. Closes ticket 22636.
16173 Changes in version 0.3.0.11 - 2017-09-18
16174 Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
16177 Most significantly, it includes a fix for TROVE-2017-008, a
16178 security bug that affects hidden services running with the
16179 SafeLogging option disabled. For more information, see
16180 https://trac.torproject.org/projects/tor/ticket/23490
16182 o Minor features (code style, backport from 0.3.1.7):
16183 - Add "Falls through" comments to our codebase, in order to silence
16184 GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
16185 Stieger. Closes ticket 22446.
16188 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
16191 o Minor bugfixes (compilation, backport from 0.3.1.7):
16192 - Avoid compiler warnings in the unit tests for calling tor_sscanf()
16193 with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
16195 o Minor bugfixes (controller, backport from 0.3.1.7):
16196 - Do not crash when receiving a HSPOST command with an empty body.
16197 Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
16198 - Do not crash when receiving a POSTDESCRIPTOR command with an empty
16199 body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
16201 o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
16202 - When setting the maximum number of connections allowed by the OS,
16203 always allow some extra file descriptors for other files. Fixes
16204 bug 22797; bugfix on 0.2.0.10-alpha.
16206 o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
16207 - Remove a forgotten debugging message when an introduction point
16208 successfully establishes a hidden service prop224 circuit with
16210 - Change three other log_warn() for an introduction point to
16211 protocol warnings, because they can be failure from the network
16212 and are not relevant to the operator. Fixes bug 23078; bugfix on
16213 0.3.0.1-alpha and 0.3.0.2-alpha.
16216 Changes in version 0.3.1.7 - 2017-09-18
16217 Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
16219 With the 0.3.1 series, Tor now serves and downloads directory
16220 information in more compact formats, to save on bandwidth overhead. It
16221 also contains a new padding system to resist netflow-based traffic
16222 analysis, and experimental support for building parts of Tor in Rust
16223 (though no parts of Tor are in Rust yet). There are also numerous
16224 small features, bugfixes on earlier release series, and groundwork for
16225 the hidden services revamp of 0.3.2.
16227 This release also includes a fix for TROVE-2017-008, a security bug
16228 that affects hidden services running with the SafeLogging option
16229 disabled. For more information, see
16230 https://trac.torproject.org/projects/tor/ticket/23490
16232 Per our stable release policy, we plan to support each stable release
16233 series for at least the next nine months, or for three months after
16234 the first stable release of the next series: whichever is longer. If
16235 you need a release with long-term support, we recommend that you stay
16236 with the 0.2.9 series.
16238 Below is a list of the changes since 0.3.1.6-rc. For a list of all
16239 changes since 0.3.0, see the ReleaseNotes file.
16241 o Major bugfixes (security, hidden services, loggging):
16242 - Fix a bug where we could log uninitialized stack when a certain
16243 hidden service error occurred while SafeLogging was disabled.
16244 Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
16245 TROVE-2017-008 and CVE-2017-0380.
16247 o Minor features (defensive programming):
16248 - Create a pair of consensus parameters, nf_pad_tor2web and
16249 nf_pad_single_onion, to disable netflow padding in the consensus
16250 for non-anonymous connections in case the overhead is high. Closes
16253 o Minor features (diagnostic):
16254 - Add a stack trace to the bug warnings that can be logged when
16255 trying to send an outgoing relay cell with n_chan == 0. Diagnostic
16256 attempt for bug 23105.
16258 o Minor features (geoip):
16259 - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
16262 o Minor bugfixes (compilation):
16263 - Avoid compiler warnings in the unit tests for calling tor_sscanf()
16264 with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
16266 o Minor bugfixes (controller):
16267 - Do not crash when receiving a HSPOST command with an empty body.
16268 Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
16269 - Do not crash when receiving a POSTDESCRIPTOR command with an empty
16270 body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
16272 o Minor bugfixes (relay):
16273 - Inform the geoip and rephist modules about all requests, even on
16274 relays that are only fetching microdescriptors. Fixes a bug
16275 related to 21585; bugfix on 0.3.0.1-alpha.
16277 o Minor bugfixes (unit tests):
16278 - Fix a channelpadding unit test failure on slow systems by using
16279 mocked time instead of actual time. Fixes bug 23077; bugfix
16283 Changes in version 0.3.1.6-rc - 2017-09-05
16284 Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
16285 release series, including a bug that produced weird behavior on
16286 Windows directory caches.
16288 This is the first release candidate in the Tor 0.3.1 series. If we
16289 find no new bugs or regressions here, the first stable 0.3.1 release
16290 will be nearly identical to it.
16292 o Major bugfixes (windows, directory cache):
16293 - On Windows, do not try to delete cached consensus documents and
16294 diffs before they are unmapped from memory--Windows won't allow
16295 that. Instead, allow the consensus cache directory to grow larger,
16296 to hold files that might need to stay around longer. Fixes bug
16297 22752; bugfix on 0.3.1.1-alpha.
16299 o Minor features (directory authority):
16300 - Improve the message that authorities report to relays that present
16301 RSA/Ed25519 keypairs that conflict with previously pinned keys.
16302 Closes ticket 22348.
16304 o Minor features (geoip):
16305 - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
16308 o Minor features (testing):
16309 - Add more tests for compression backend initialization. Closes
16312 o Minor bugfixes (directory cache):
16313 - Fix a memory leak when recovering space in the consensus cache.
16314 Fixes bug 23139; bugfix on 0.3.1.1-alpha.
16316 o Minor bugfixes (hidden service):
16317 - Increase the number of circuits that a service is allowed to
16318 open over a specific period of time. The value was lower than it
16319 should be (8 vs 12) in the normal case of 3 introduction points.
16320 Fixes bug 22159; bugfix on 0.3.0.5-rc.
16321 - Fix a BUG warning during HSv3 descriptor decoding that could be
16322 cause by a specially crafted descriptor. Fixes bug 23233; bugfix
16323 on 0.3.0.1-alpha. Bug found by "haxxpop".
16324 - Rate-limit the log messages if we exceed the maximum number of
16325 allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
16327 o Minor bugfixes (logging, relay):
16328 - Remove a forgotten debugging message when an introduction point
16329 successfully establishes a hidden service prop224 circuit with
16331 - Change three other log_warn() for an introduction point to
16332 protocol warnings, because they can be failure from the network
16333 and are not relevant to the operator. Fixes bug 23078; bugfix on
16334 0.3.0.1-alpha and 0.3.0.2-alpha.
16336 o Minor bugfixes (relay):
16337 - When a relay is not running as a directory cache, it will no
16338 longer generate compressed consensuses and consensus diff
16339 information. Previously, this was a waste of disk and CPU. Fixes
16340 bug 23275; bugfix on 0.3.1.1-alpha.
16342 o Minor bugfixes (robustness, error handling):
16343 - Improve our handling of the cases where OpenSSL encounters a
16344 memory error while encoding keys and certificates. We haven't
16345 observed these errors in the wild, but if they do happen, we now
16346 detect and respond better. Fixes bug 19418; bugfix on all versions
16347 of Tor. Reported by Guido Vranken.
16349 o Minor bugfixes (stability):
16350 - Avoid crashing on a double-free when unable to load or process an
16351 included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
16352 with the clang static analyzer.
16354 o Minor bugfixes (testing):
16355 - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
16356 bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
16357 - Port the hs_ntor handshake test to work correctly with recent
16358 versions of the pysha3 module. Fixes bug 23071; bugfix
16361 o Minor bugfixes (Windows service):
16362 - When running as a Windows service, set the ID of the main thread
16363 correctly. Failure to do so made us fail to send log messages to
16364 the controller in 0.2.1.16-rc, slowed down controller event
16365 delivery in 0.2.7.3-rc and later, and crash with an assertion
16366 failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
16367 Patch and diagnosis from "Vort".
16370 Changes in version 0.3.0.10 - 2017-08-02
16371 Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
16372 from the current Tor alpha series. OpenBSD users and TPROXY users
16373 should upgrade; others are probably okay sticking with 0.3.0.9.
16375 o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
16376 - Tor's repository now includes a Travis Continuous Integration (CI)
16377 configuration file (.travis.yml). This is meant to help new
16378 developers and contributors who fork Tor to a Github repository be
16379 better able to test their changes, and understand what we expect
16380 to pass. To use this new build feature, you must fork Tor to your
16381 Github account, then go into the "Integrations" menu in the
16382 repository settings for your fork and enable Travis, then push
16383 your changes. Closes ticket 22636.
16385 o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
16386 - Fix a typo that had prevented TPROXY-based transparent proxying
16387 from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
16388 Patch from "d4fq0fQAgoJ".
16390 o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
16391 - Avoid an assertion failure bug affecting our implementation of
16392 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
16393 handling of "0xbar" differs from what we had expected. Fixes bug
16394 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
16396 o Minor features (backport from 0.3.1.5-alpha):
16397 - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
16400 o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
16401 - Roll over monthly accounting at the configured hour and minute,
16402 rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
16403 Found by Andrey Karpov with PVS-Studio.
16405 o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
16406 - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
16407 bugfix on 0.2.8.1-alpha.
16408 - Fix warnings when building with libscrypt and openssl scrypt
16409 support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
16410 - When building with certain versions of the mingw C header files,
16411 avoid float-conversion warnings when calling the C functions
16412 isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
16415 o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
16416 - Backport a fix for an "unused variable" warning that appeared
16417 in some versions of mingw. Fixes bug 22838; bugfix on
16420 o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
16421 - Avoid Coverity build warnings related to our BUG() macro. By
16422 default, Coverity treats BUG() as the Linux kernel does: an
16423 instant abort(). We need to override that so our BUG() macro
16424 doesn't prevent Coverity from analyzing functions that use it.
16425 Fixes bug 23030; bugfix on 0.2.9.1-alpha.
16427 o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
16428 - When rejecting a router descriptor for running an obsolete version
16429 of Tor without ntor support, warn about the obsolete tor version,
16430 not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
16432 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
16433 - Avoid a sandbox failure when trying to re-bind to a socket and
16434 mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
16436 o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
16437 - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
16438 Fixes bug 22803; bugfix on 0.3.0.1-alpha.
16441 Changes in version 0.3.1.5-alpha - 2017-08-01
16442 Tor 0.3.1.5-alpha improves the performance of consensus diff
16443 calculation, fixes a crash bug on older versions of OpenBSD, and fixes
16444 several other bugs. If no serious bugs are found in this version, the
16445 next version will be a release candidate.
16447 This release also marks the end of support for the Tor 0.2.4.x,
16448 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
16449 further bug or security fixes. Anyone still running or distributing
16450 one of those versions should upgrade.
16452 o Major features (build system, continuous integration):
16453 - Tor's repository now includes a Travis Continuous Integration (CI)
16454 configuration file (.travis.yml). This is meant to help new
16455 developers and contributors who fork Tor to a Github repository be
16456 better able to test their changes, and understand what we expect
16457 to pass. To use this new build feature, you must fork Tor to your
16458 Github account, then go into the "Integrations" menu in the
16459 repository settings for your fork and enable Travis, then push
16460 your changes. Closes ticket 22636.
16462 o Major bugfixes (openbsd, denial-of-service):
16463 - Avoid an assertion failure bug affecting our implementation of
16464 inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
16465 handling of "0xbar" differs from what we had expected. Fixes bug
16466 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
16468 o Major bugfixes (relay, performance):
16469 - Perform circuit handshake operations at a higher priority than we
16470 use for consensus diff creation and compression. This should
16471 prevent circuits from starving when a relay or bridge receives a
16472 new consensus, especially on lower-powered machines. Fixes bug
16473 22883; bugfix on 0.3.1.1-alpha.
16475 o Minor features (bridge authority):
16476 - Add "fingerprint" lines to the networkstatus-bridges file produced
16477 by bridge authorities. Closes ticket 22207.
16479 o Minor features (directory cache, consensus diff):
16480 - Add a new MaxConsensusAgeForDiffs option to allow directory cache
16481 operators with low-resource environments to adjust the number of
16482 consensuses they'll store and generate diffs from. Most cache
16483 operators should leave it unchanged. Helps to work around
16486 o Minor features (geoip):
16487 - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
16490 o Minor features (relay, performance):
16491 - Always start relays with at least two worker threads, to prevent
16492 priority inversion on slow tasks. Part of the fix for bug 22883.
16493 - Allow background work to be queued with different priorities, so
16494 that a big pile of slow low-priority jobs will not starve out
16495 higher priority jobs. This lays the groundwork for a fix for
16498 o Minor bugfixes (build system, rust):
16499 - Fix a problem where Rust toolchains were not being found when
16500 building without --enable-cargo-online-mode, due to setting the
16501 $HOME environment variable instead of $CARGO_HOME. Fixes bug
16502 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
16504 o Minor bugfixes (compatibility, zstd):
16505 - Write zstd epilogues correctly when the epilogue requires
16506 reallocation of the output buffer, even with zstd 1.3.0.
16507 (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
16508 22927; bugfix on 0.3.1.1-alpha.
16510 o Minor bugfixes (compilation warnings):
16511 - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
16512 22915; bugfix on 0.2.8.1-alpha.
16513 - Fix warnings when building with libscrypt and openssl scrypt
16514 support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
16515 - Compile correctly when both openssl 1.1.0 and libscrypt are
16516 detected. Previously this would cause an error. Fixes bug 22892;
16517 bugfix on 0.3.1.1-alpha.
16518 - When building with certain versions of the mingw C header files,
16519 avoid float-conversion warnings when calling the C functions
16520 isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
16523 o Minor bugfixes (coverity build support):
16524 - Avoid Coverity build warnings related to our BUG() macro. By
16525 default, Coverity treats BUG() as the Linux kernel does: an
16526 instant abort(). We need to override that so our BUG() macro
16527 doesn't prevent Coverity from analyzing functions that use it.
16528 Fixes bug 23030; bugfix on 0.2.9.1-alpha.
16530 o Minor bugfixes (directory authority):
16531 - When a directory authority rejects a descriptor or extrainfo with
16532 a given digest, mark that digest as undownloadable, so that we do
16533 not attempt to download it again over and over. We previously
16534 tried to avoid downloading such descriptors by other means, but we
16535 didn't notice if we accidentally downloaded one anyway. This
16536 behavior became problematic in 0.2.7.2-alpha, when authorities
16537 began pinning Ed25519 keys. Fixes bug 22349; bugfix
16540 o Minor bugfixes (error reporting, windows):
16541 - When formatting Windows error messages, use the English format to
16542 avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
16545 o Minor bugfixes (file limits, osx):
16546 - When setting the maximum number of connections allowed by the OS,
16547 always allow some extra file descriptors for other files. Fixes
16548 bug 22797; bugfix on 0.2.0.10-alpha.
16550 o Minor bugfixes (linux seccomp2 sandbox):
16551 - Avoid a sandbox failure when trying to re-bind to a socket and
16552 mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
16554 o Minor bugfixes (memory leaks):
16555 - Fix a small memory leak when validating a configuration that uses
16556 two or more AF_UNIX sockets for the same port type. Fixes bug
16557 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
16559 o Minor bugfixes (unit tests):
16560 - test_consdiff_base64cmp would fail on OS X because while OS X
16561 follows the standard of (less than zero/zero/greater than zero),
16562 it doesn't follow the convention of (-1/0/+1). Make the test
16563 comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
16564 - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
16565 Fixes bug 22803; bugfix on 0.3.0.1-alpha.
16568 Changes in version 0.3.1.4-alpha - 2017-06-29
16569 Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
16570 to use a guard that was in the same network family as a chosen exit
16571 relay. This is a security regression; all clients running earlier
16572 versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
16575 This release also fixes several other bugs introduced in 0.3.0.x
16576 and 0.3.1.x, including others that can affect bandwidth usage
16579 o New dependencies:
16580 - To build with zstd and lzma support, Tor now requires the
16581 pkg-config tool at build time. (This requirement was new in
16582 0.3.1.1-alpha, but was not noted at the time. Noting it here to
16583 close ticket 22623.)
16585 o Major bugfixes (path selection, security):
16586 - When choosing which guard to use for a circuit, avoid the exit's
16587 family along with the exit itself. Previously, the new guard
16588 selection logic avoided the exit, but did not consider its family.
16589 Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
16590 006 and CVE-2017-0377.
16592 o Major bugfixes (compression, zstd):
16593 - Correctly detect a full buffer when decompressing a large zstd-
16594 compressed input. Previously, we would sometimes treat a full
16595 buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
16597 o Major bugfixes (directory protocol):
16598 - Ensure that we send "304 Not modified" as HTTP status code when a
16599 client is attempting to fetch a consensus or consensus diff, and
16600 the best one we can send them is one they already have. Fixes bug
16601 22702; bugfix on 0.3.1.1-alpha.
16603 o Major bugfixes (entry guards):
16604 - When starting with an old consensus, do not add new entry guards
16605 unless the consensus is "reasonably live" (under 1 day old). Fixes
16606 one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
16608 o Minor features (bug mitigation, diagnostics, logging):
16609 - Avoid an assertion failure, and log a better error message, when
16610 unable to remove a file from the consensus cache on Windows.
16611 Attempts to mitigate and diagnose bug 22752.
16613 o Minor features (geoip):
16614 - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
16617 o Minor bugfixes (compression):
16618 - When compressing or decompressing a buffer, check for a failure to
16619 create a compression object. Fixes bug 22626; bugfix
16621 - When decompressing a buffer, check for extra data after the end of
16622 the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
16623 - When decompressing an object received over an anonymous directory
16624 connection, if we have already decompressed it using an acceptable
16625 compression method, do not reject it for looking like an
16626 unacceptable compression method. Fixes part of bug 22670; bugfix
16628 - When serving directory votes compressed with zlib, do not claim to
16629 have compressed them with zstd. Fixes bug 22669; bugfix
16631 - When spooling compressed data to an output buffer, don't try to
16632 spool more data when there is no more data to spool and we are not
16633 trying to flush the input. Previously, we would sometimes launch
16634 compression requests with nothing to do, which interferes with our
16635 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
16637 o Minor bugfixes (defensive programming):
16638 - Detect and break out of infinite loops in our compression code. We
16639 don't think that any such loops exist now, but it's best to be
16640 safe. Closes ticket 22672.
16641 - Fix a memset() off the end of an array when packing cells. This
16642 bug should be harmless in practice, since the corrupted bytes are
16643 still in the same structure, and are always padding bytes,
16644 ignored, or immediately overwritten, depending on compiler
16645 behavior. Nevertheless, because the memset()'s purpose is to make
16646 sure that any other cell-handling bugs can't expose bytes to the
16647 network, we need to fix it. Fixes bug 22737; bugfix on
16648 0.2.4.11-alpha. Fixes CID 1401591.
16650 o Minor bugfixes (linux seccomp2 sandbox):
16651 - Permit the fchmod system call, to avoid crashing on startup when
16652 starting with the seccomp2 sandbox and an unexpected set of
16653 permissions on the data directory or its contents. Fixes bug
16654 22516; bugfix on 0.2.5.4-alpha.
16655 - Fix a crash in the LZMA module, when the sandbox was enabled, and
16656 liblzma would allocate more than 16 MB of memory. We solve this by
16657 bumping the mprotect() limit in the sandbox module from 16 MB to
16658 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
16660 o Minor bugfixes (logging):
16661 - When decompressing, do not warn if we fail to decompress using a
16662 compression method that we merely guessed. Fixes part of bug
16663 22670; bugfix on 0.1.1.14-alpha.
16664 - When decompressing, treat mismatch between content-encoding and
16665 actual compression type as a protocol warning. Fixes part of bug
16666 22670; bugfix on 0.1.1.9-alpha.
16667 - Downgrade "assigned_to_cpuworker failed" message to info-level
16668 severity. In every case that can reach it, either a better warning
16669 has already been logged, or no warning is warranted. Fixes bug
16670 22356; bugfix on 0.2.6.3-alpha.
16671 - Demote a warn that was caused by libevent delays to info if
16672 netflow padding is less than 4.5 seconds late, or to notice
16673 if it is more (4.5 seconds is the amount of time that a netflow
16674 record might be emitted after, if we chose the maximum timeout).
16675 Fixes bug 22212; bugfix on 0.3.1.1-alpha.
16677 o Minor bugfixes (process behavior):
16678 - When exiting because of an error, always exit with a nonzero exit
16679 status. Previously, we would fail to report an error in our exit
16680 status in cases related to __OwningControllerProcess failure,
16681 lockfile contention, and Ed25519 key initialization. Fixes bug
16682 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
16683 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
16687 - Add a manpage description for the key-pinning-journal file. Closes
16689 - Correctly note that bandwidth accounting values are stored in the
16690 state file, and the bw_accounting file is now obsolete. Closes
16692 - Document more of the files in the Tor data directory, including
16693 cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
16694 approved-routers, sr-random, and diff-cache. Found while fixing
16698 Changes in version 0.3.0.9 - 2017-06-29
16699 Tor 0.3.0.9 fixes a path selection bug that would allow a client
16700 to use a guard that was in the same network family as a chosen exit
16701 relay. This is a security regression; all clients running earlier
16702 versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
16705 This release also backports several other bugfixes from the 0.3.1.x
16708 o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
16709 - When choosing which guard to use for a circuit, avoid the exit's
16710 family along with the exit itself. Previously, the new guard
16711 selection logic avoided the exit, but did not consider its family.
16712 Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
16713 006 and CVE-2017-0377.
16715 o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
16716 - Don't block bootstrapping when a primary bridge is offline and we
16717 can't get its descriptor. Fixes bug 22325; fixes one case of bug
16718 21969; bugfix on 0.3.0.3-alpha.
16720 o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
16721 - When starting with an old consensus, do not add new entry guards
16722 unless the consensus is "reasonably live" (under 1 day old). Fixes
16723 one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
16725 o Minor features (geoip):
16726 - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
16729 o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
16730 - Reject version numbers with non-numeric prefixes (such as +, -, or
16731 whitespace). Disallowing whitespace prevents differential version
16732 parsing between POSIX-based and Windows platforms. Fixes bug 21507
16733 and part of 21508; bugfix on 0.0.8pre1.
16735 o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
16736 - Permit the fchmod system call, to avoid crashing on startup when
16737 starting with the seccomp2 sandbox and an unexpected set of
16738 permissions on the data directory or its contents. Fixes bug
16739 22516; bugfix on 0.2.5.4-alpha.
16741 o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
16742 - Fix a memset() off the end of an array when packing cells. This
16743 bug should be harmless in practice, since the corrupted bytes are
16744 still in the same structure, and are always padding bytes,
16745 ignored, or immediately overwritten, depending on compiler
16746 behavior. Nevertheless, because the memset()'s purpose is to make
16747 sure that any other cell-handling bugs can't expose bytes to the
16748 network, we need to fix it. Fixes bug 22737; bugfix on
16749 0.2.4.11-alpha. Fixes CID 1401591.
16752 Changes in version 0.3.1.3-alpha - 2017-06-08
16753 Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
16754 remotely crash a hidden service with an assertion failure. Anyone
16755 running a hidden service should upgrade to this version, or to some
16756 other version with fixes for TROVE-2017-004 and TROVE-2017-005.
16758 Tor 0.3.1.3-alpha also includes fixes for several key management bugs
16759 that sometimes made relays unreliable, as well as several other
16760 bugfixes described below.
16762 o Major bugfixes (hidden service, relay, security):
16763 - Fix a remotely triggerable assertion failure when a hidden service
16764 handles a malformed BEGIN cell. Fixes bug 22493, tracked as
16765 TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
16766 - Fix a remotely triggerable assertion failure caused by receiving a
16767 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16768 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16771 o Major bugfixes (relay, link handshake):
16772 - When performing the v3 link handshake on a TLS connection, report
16773 that we have the x509 certificate that we actually used on that
16774 connection, even if we have changed certificates since that
16775 connection was first opened. Previously, we would claim to have
16776 used our most recent x509 link certificate, which would sometimes
16777 make the link handshake fail. Fixes one case of bug 22460; bugfix
16780 o Major bugfixes (relays, key management):
16781 - Regenerate link and authentication certificates whenever the key
16782 that signs them changes; also, regenerate link certificates
16783 whenever the signed key changes. Previously, these processes were
16784 only weakly coupled, and we relays could (for minutes to hours)
16785 wind up with an inconsistent set of keys and certificates, which
16786 other relays would not accept. Fixes two cases of bug 22460;
16787 bugfix on 0.3.0.1-alpha.
16788 - When sending an Ed25519 signing->link certificate in a CERTS cell,
16789 send the certificate that matches the x509 certificate that we
16790 used on the TLS connection. Previously, there was a race condition
16791 if the TLS context rotated after we began the TLS handshake but
16792 before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
16795 o Major bugfixes (torrc, crash):
16796 - Fix a crash bug when using %include in torrc. Fixes bug 22417;
16797 bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
16799 o Minor features (code style):
16800 - Add "Falls through" comments to our codebase, in order to silence
16801 GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
16802 Stieger. Closes ticket 22446.
16804 o Minor features (diagnostic):
16805 - Add logging messages to try to diagnose a rare bug that seems to
16806 generate RSA->Ed25519 cross-certificates dated in the 1970s. We
16807 think this is happening because of incorrect system clocks, but
16808 we'd like to know for certain. Diagnostic for bug 22466.
16810 o Minor bugfixes (correctness):
16811 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16812 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16814 o Minor bugfixes (directory protocol):
16815 - Check for libzstd >= 1.1, because older versions lack the
16816 necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
16818 o Minor bugfixes (link handshake):
16819 - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
16820 months, and regenerate it when it is within one month of expiring.
16821 Previously, we had generated this certificate at startup with a
16822 ten-year lifetime, but that could lead to weird behavior when Tor
16823 was started with a grossly inaccurate clock. Mitigates bug 22466;
16824 mitigation on 0.3.0.1-alpha.
16826 o Minor bugfixes (storage directories):
16827 - Always check for underflows in the cached storage directory usage.
16828 If the usage does underflow, re-calculate it. Also, avoid a
16829 separate underflow when the usage is not known. Fixes bug 22424;
16830 bugfix on 0.3.1.1-alpha.
16832 o Minor bugfixes (unit tests):
16833 - The unit tests now pass on systems where localhost is misconfigured
16834 to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
16838 - Clarify the manpage for the (deprecated) torify script. Closes
16841 Changes in version 0.3.0.8 - 2017-06-08
16842 Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
16843 remotely crash a hidden service with an assertion failure. Anyone
16844 running a hidden service should upgrade to this version, or to some
16845 other version with fixes for TROVE-2017-004 and TROVE-2017-005.
16847 Tor 0.3.0.8 also includes fixes for several key management bugs
16848 that sometimes made relays unreliable, as well as several other
16849 bugfixes described below.
16851 o Major bugfixes (hidden service, relay, security, backport
16852 from 0.3.1.3-alpha):
16853 - Fix a remotely triggerable assertion failure when a hidden service
16854 handles a malformed BEGIN cell. Fixes bug 22493, tracked as
16855 TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
16856 - Fix a remotely triggerable assertion failure caused by receiving a
16857 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16858 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16861 o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
16862 - When performing the v3 link handshake on a TLS connection, report
16863 that we have the x509 certificate that we actually used on that
16864 connection, even if we have changed certificates since that
16865 connection was first opened. Previously, we would claim to have
16866 used our most recent x509 link certificate, which would sometimes
16867 make the link handshake fail. Fixes one case of bug 22460; bugfix
16870 o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
16871 - Regenerate link and authentication certificates whenever the key
16872 that signs them changes; also, regenerate link certificates
16873 whenever the signed key changes. Previously, these processes were
16874 only weakly coupled, and we relays could (for minutes to hours)
16875 wind up with an inconsistent set of keys and certificates, which
16876 other relays would not accept. Fixes two cases of bug 22460;
16877 bugfix on 0.3.0.1-alpha.
16878 - When sending an Ed25519 signing->link certificate in a CERTS cell,
16879 send the certificate that matches the x509 certificate that we
16880 used on the TLS connection. Previously, there was a race condition
16881 if the TLS context rotated after we began the TLS handshake but
16882 before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
16885 o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
16886 - Stop rejecting v3 hidden service descriptors because their size
16887 did not match an old padding rule. Fixes bug 22447; bugfix on
16890 o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
16891 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
16892 December 2016 (of which ~126 were still functional) with a list of
16893 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
16894 2017. Resolves ticket 21564.
16896 o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
16897 - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
16898 bug 22252; bugfix on 0.2.9.3-alpha.
16900 o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
16901 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16902 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16904 o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
16905 - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
16906 months, and regenerate it when it is within one month of expiring.
16907 Previously, we had generated this certificate at startup with a
16908 ten-year lifetime, but that could lead to weird behavior when Tor
16909 was started with a grossly inaccurate clock. Mitigates bug 22466;
16910 mitigation on 0.3.0.1-alpha.
16912 o Minor bugfixes (memory leak, directory authority, backport from
16914 - When directory authorities reject a router descriptor due to
16915 keypinning, free the router descriptor rather than leaking the
16916 memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
16919 Changes in version 0.2.9.11 - 2017-06-08
16920 Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
16921 remotely crash a hidden service with an assertion failure. Anyone
16922 running a hidden service should upgrade to this version, or to some
16923 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16924 are not affected by TROVE-2017-004.)
16926 Tor 0.2.9.11 also backports fixes for several key management bugs
16927 that sometimes made relays unreliable, as well as several other
16928 bugfixes described below.
16930 o Major bugfixes (hidden service, relay, security, backport
16931 from 0.3.1.3-alpha):
16932 - Fix a remotely triggerable assertion failure caused by receiving a
16933 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
16934 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
16937 o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
16938 - When performing the v3 link handshake on a TLS connection, report
16939 that we have the x509 certificate that we actually used on that
16940 connection, even if we have changed certificates since that
16941 connection was first opened. Previously, we would claim to have
16942 used our most recent x509 link certificate, which would sometimes
16943 make the link handshake fail. Fixes one case of bug 22460; bugfix
16946 o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
16947 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
16948 December 2016 (of which ~126 were still functional) with a list of
16949 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
16950 2017. Resolves ticket 21564.
16952 o Minor features (future-proofing, backport from 0.3.0.7):
16953 - Tor no longer refuses to download microdescriptors or descriptors if
16954 they are listed as "published in the future". This change will
16955 eventually allow us to stop listing meaningful "published" dates
16956 in microdescriptor consensuses, and thereby allow us to reduce the
16957 resources required to download consensus diffs by over 50%.
16958 Implements part of ticket 21642; implements part of proposal 275.
16960 o Minor features (directory authorities, backport from 0.3.0.4-rc)
16961 - Directory authorities now reject relays running versions
16962 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
16963 suffer from bug 20499 and don't keep their consensus cache
16964 up-to-date. Resolves ticket 20509.
16966 o Minor features (geoip):
16967 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
16970 o Minor bugfixes (control port, backport from 0.3.0.6):
16971 - The GETINFO extra-info/digest/<digest> command was broken because
16972 of a wrong base16 decode return value check, introduced when
16973 refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
16975 o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
16976 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
16977 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
16979 o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
16980 - The getpid() system call is now permitted under the Linux seccomp2
16981 sandbox, to avoid crashing with versions of OpenSSL (and other
16982 libraries) that attempt to learn the process's PID by using the
16983 syscall rather than the VDSO code. Fixes bug 21943; bugfix
16986 o Minor bugfixes (memory leak, directory authority, backport
16987 from 0.3.1.2-alpha):
16988 - When directory authorities reject a router descriptor due to
16989 keypinning, free the router descriptor rather than leaking the
16990 memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
16992 Changes in version 0.2.8.14 - 2017-06-08
16993 Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
16994 remotely crash a hidden service with an assertion failure. Anyone
16995 running a hidden service should upgrade to this version, or to some
16996 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
16997 are not affected by TROVE-2017-004.)
16999 o Major bugfixes (hidden service, relay, security):
17000 - Fix a remotely triggerable assertion failure caused by receiving a
17001 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
17002 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
17005 o Minor features (geoip):
17006 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17009 o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
17010 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
17011 December 2016 (of which ~126 were still functional) with a list of
17012 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
17013 2017. Resolves ticket 21564.
17015 o Minor bugfixes (correctness):
17016 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
17017 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
17019 Changes in version 0.2.7.8 - 2017-06-08
17020 Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
17021 remotely crash a hidden service with an assertion failure. Anyone
17022 running a hidden service should upgrade to this version, or to some
17023 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
17024 are not affected by TROVE-2017-004.)
17026 o Major bugfixes (hidden service, relay, security):
17027 - Fix a remotely triggerable assertion failure caused by receiving a
17028 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
17029 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
17032 o Minor features (geoip):
17033 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17036 o Minor bugfixes (correctness):
17037 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
17038 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
17041 Changes in version 0.2.6.12 - 2017-06-08
17042 Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
17043 remotely crash a hidden service with an assertion failure. Anyone
17044 running a hidden service should upgrade to this version, or to some
17045 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
17046 are not affected by TROVE-2017-004.)
17048 o Major bugfixes (hidden service, relay, security):
17049 - Fix a remotely triggerable assertion failure caused by receiving a
17050 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
17051 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
17054 o Minor features (geoip):
17055 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17058 o Minor bugfixes (correctness):
17059 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
17060 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
17062 Changes in version 0.2.5.14 - 2017-06-08
17063 Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
17064 remotely crash a hidden service with an assertion failure. Anyone
17065 running a hidden service should upgrade to this version, or to some
17066 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
17067 are not affected by TROVE-2017-004.)
17069 o Major bugfixes (hidden service, relay, security):
17070 - Fix a remotely triggerable assertion failure caused by receiving a
17071 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
17072 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
17075 o Minor features (geoip):
17076 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17079 o Minor bugfixes (correctness):
17080 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
17081 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
17083 Changes in version 0.2.4.29 - 2017-06-08
17084 Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
17085 remotely crash a hidden service with an assertion failure. Anyone
17086 running a hidden service should upgrade to this version, or to some
17087 other version with fixes for TROVE-2017-005. (Versions before 0.3.0
17088 are not affected by TROVE-2017-004.)
17090 o Major bugfixes (hidden service, relay, security):
17091 - Fix a remotely triggerable assertion failure caused by receiving a
17092 BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
17093 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
17096 o Minor features (geoip):
17097 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17100 o Minor bugfixes (correctness):
17101 - Avoid undefined behavior when parsing IPv6 entries from the geoip6
17102 file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
17105 Changes in version 0.3.1.2-alpha - 2017-05-26
17106 Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
17107 fixes a few bugs found while testing 0.3.1.1-alpha, including a
17108 memory corruption bug that affected relay stability.
17110 o Major bugfixes (crash, relay):
17111 - Fix a memory-corruption bug in relays that set MyFamily.
17112 Previously, they would double-free MyFamily elements when making
17113 the next descriptor or when changing their configuration. Fixes
17114 bug 22368; bugfix on 0.3.1.1-alpha.
17116 o Minor bugfixes (logging):
17117 - Log a better message when a directory authority replies to an
17118 upload with an unexpected status code. Fixes bug 11121; bugfix
17121 o Minor bugfixes (memory leak, directory authority):
17122 - When directory authorities reject a router descriptor due to
17123 keypinning, free the router descriptor rather than leaking the
17124 memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
17127 Changes in version 0.3.1.1-alpha - 2017-05-22
17128 Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
17129 reduces the bandwidth usage for Tor's directory protocol, adds some
17130 basic padding to resist netflow-based traffic analysis and to serve as
17131 the basis of other padding in the future, and adds rust support to the
17134 It also contains numerous other small features and improvements to
17135 security, correctness, and performance.
17137 Below are the changes since 0.3.0.7.
17139 o Major features (directory protocol):
17140 - Tor relays and authorities can now serve clients an abbreviated
17141 version of the consensus document, containing only the changes
17142 since an older consensus document that the client holds. Clients
17143 now request these documents when available. When both client and
17144 server use this new protocol, they will use far less bandwidth (up
17145 to 94% less) to keep the client's consensus up-to-date. Implements
17146 proposal 140; closes ticket 13339. Based on work by Daniel Martí.
17147 - Tor can now compress directory traffic with lzma or with zstd
17148 compression algorithms, which can deliver better bandwidth
17149 performance. Because lzma is computationally expensive, it's only
17150 used for documents that can be compressed once and served many
17151 times. Support for these algorithms requires that tor is built
17152 with the libzstd and/or liblzma libraries available. Implements
17153 proposal 278; closes ticket 21662.
17154 - Relays now perform the more expensive compression operations, and
17155 consensus diff generation, in worker threads. This separation
17156 avoids delaying the main thread when a new consensus arrives.
17158 o Major features (experimental):
17159 - Tor can now build modules written in Rust. To turn this on, pass
17160 the "--enable-rust" flag to the configure script. It's not time to
17161 get excited yet: currently, there is no actual Rust functionality
17162 beyond some simple glue code, and a notice at startup to tell you
17163 that Rust is running. Still, we hope that programmers and
17164 packagers will try building Tor with Rust support, so that we can
17165 find issues and solve portability problems. Closes ticket 22106.
17167 o Major features (traffic analysis resistance):
17168 - Connections between clients and relays now send a padding cell in
17169 each direction every 1.5 to 9.5 seconds (tunable via consensus
17170 parameters). This padding will not resist specialized
17171 eavesdroppers, but it should be enough to make many ISPs' routine
17172 network flow logging less useful in traffic analysis against
17175 Padding is negotiated using Tor's link protocol, so both relays
17176 and clients must upgrade for this to take effect. Clients may
17177 still send padding despite the relay's version by setting
17178 ConnectionPadding 1 in torrc, and may disable padding by setting
17179 ConnectionPadding 0 in torrc. Padding may be minimized for mobile
17180 users with the torrc option ReducedConnectionPadding. Implements
17181 Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
17182 - Relays will publish 24 hour totals of padding and non-padding cell
17183 counts to their extra-info descriptors, unless PaddingStatistics 0
17184 is set in torrc. These 24 hour totals are also rounded to
17185 multiples of 10000.
17187 o Major bugfixes (connection usage):
17188 - We use NETINFO cells to try to determine if both relays involved
17189 in a connection will agree on the canonical status of that
17190 connection. We prefer the connections where this is the case for
17191 extend cells, and try to close connections where relays disagree
17192 on their canonical status early. Also, we now prefer the oldest
17193 valid connection for extend cells. These two changes should reduce
17194 the number of long-term connections that are kept open between
17195 relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
17196 - Relays now log hourly statistics (look for
17197 "channel_check_for_duplicates" lines) on the total number of
17198 connections to other relays. If the number of connections per
17199 relay is unexpectedly large, this log message is at notice level.
17200 Otherwise it is at info.
17202 o Major bugfixes (entry guards):
17203 - Don't block bootstrapping when a primary bridge is offline and we
17204 can't get its descriptor. Fixes bug 22325; fixes one case of bug
17205 21969; bugfix on 0.3.0.3-alpha.
17207 o Major bugfixes (linux TPROXY support):
17208 - Fix a typo that had prevented TPROXY-based transparent proxying
17209 from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
17210 Patch from "d4fq0fQAgoJ".
17212 o Minor features (security, windows):
17213 - Enable a couple of pieces of Windows hardening: one
17214 (HeapEnableTerminationOnCorruption) that has been on-by-default
17215 since Windows 8, and unavailable before Windows 7; and one
17216 (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
17217 affect us, but shouldn't do any harm. Closes ticket 21953.
17219 o Minor features (config options):
17220 - Allow "%include" directives in torrc configuration files. These
17221 directives import the settings from other files, or from all the
17222 files in a directory. Closes ticket 1922. Code by Daniel Pinto.
17223 - Make SAVECONF return an error when overwriting a torrc that has
17224 includes. Using SAVECONF with the FORCE option will allow it to
17225 overwrite torrc even if includes are used. Related to ticket 1922.
17226 - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
17227 will work without the FORCE option. Related to ticket 1922.
17229 o Minor features (controller):
17230 - Warn the first time that a controller requests data in the long-
17231 deprecated 'GETINFO network-status' format. Closes ticket 21703.
17233 o Minor features (defaults):
17234 - The default value for UseCreateFast is now 0: clients which
17235 haven't yet received a consensus document will now use a proper
17236 ntor handshake to talk to their directory servers whenever they
17237 can. Closes ticket 21407.
17238 - Onion key rotation and expiry intervals are now defined as a
17239 network consensus parameter, per proposal 274. The default
17240 lifetime of an onion key is increased from 7 to 28 days. Old onion
17241 keys will expire after 7 days by default. This change will make
17242 consensus diffs much smaller, and save significant bandwidth.
17243 Closes ticket 21641.
17245 o Minor features (fallback directory list):
17246 - Update the fallback directory mirror whitelist and blacklist based
17247 on operator emails. Closes task 21121.
17248 - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
17249 December 2016 (of which ~126 were still functional) with a list of
17250 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
17251 2017. Resolves ticket 21564.
17253 o Minor features (hidden services, logging):
17254 - Log a message when a hidden service descriptor has fewer
17255 introduction points than specified in
17256 HiddenServiceNumIntroductionPoints. Closes tickets 21598.
17257 - Log a message when a hidden service reaches its introduction point
17258 circuit limit, and when that limit is reset. Follow up to ticket
17259 21594; closes ticket 21622.
17260 - Warn user if multiple entries in EntryNodes and at least one
17261 HiddenService are used together. Pinning EntryNodes along with a
17262 hidden service can be possibly harmful; for instance see ticket
17263 14917 or 21155. Closes ticket 21155.
17265 o Minor features (linux seccomp2 sandbox):
17266 - We now have a document storage backend compatible with the Linux
17267 seccomp2 sandbox. This backend is used for consensus documents and
17268 diffs between them; in the long term, we'd like to use it for
17269 unparseable directory material too. Closes ticket 21645
17270 - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
17271 from 1MB to 16MB. This was necessary with the glibc allocator in
17272 order to allow worker threads to allocate more memory -- which in
17273 turn is necessary because of our new use of worker threads for
17274 compression. Closes ticket 22096.
17276 o Minor features (logging):
17277 - Log files are no longer created world-readable by default.
17278 (Previously, most distributors would store the logs in a non-
17279 world-readable location to prevent inappropriate access. This
17280 change is an extra precaution.) Closes ticket 21729; patch
17283 o Minor features (performance):
17284 - Our Keccak (SHA-3) implementation now accesses memory more
17285 efficiently, especially on little-endian systems. Closes
17287 - Add an O(1) implementation of channel_find_by_global_id(), to
17288 speed some controller functions.
17290 o Minor features (relay, configuration):
17291 - The MyFamily option may now be repeated as many times as desired,
17292 for relays that want to configure large families. Closes ticket
17293 4998; patch by Daniel Pinto.
17295 o Minor features (safety):
17296 - Add an explicit check to extrainfo_parse_entry_from_string() for
17297 NULL inputs. We don't believe this can actually happen, but it may
17298 help silence a warning from the Clang analyzer. Closes
17301 o Minor features (testing):
17302 - Add a "--disable-memory-sentinels" feature to help with fuzzing.
17303 When Tor is compiled with this option, we disable a number of
17304 redundant memory-safety failsafes that are intended to stop bugs
17305 from becoming security issues. This makes it easier to hunt for
17306 bugs that would be security issues without the failsafes turned
17307 on. Closes ticket 21439.
17308 - Add a general event-tracing instrumentation support to Tor. This
17309 subsystem will enable developers and researchers to add fine-
17310 grained instrumentation to their Tor instances, for use when
17311 examining Tor network performance issues. There are no trace
17312 events yet, and event-tracing is off by default unless enabled at
17313 compile time. Implements ticket 13802.
17314 - Improve our version parsing tests: add tests for typical version
17315 components, add tests for invalid versions, including numeric
17316 range and non-numeric prefixes. Unit tests 21278, 21450, and
17317 21507. Partially implements 21470.
17319 o Minor bugfixes (bandwidth accounting):
17320 - Roll over monthly accounting at the configured hour and minute,
17321 rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
17322 Found by Andrey Karpov with PVS-Studio.
17324 o Minor bugfixes (code correctness):
17325 - Accurately identify client connections by their lack of peer
17326 authentication. This means that we bail out earlier if asked to
17327 extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
17330 o Minor bugfixes (configuration):
17331 - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
17332 bug 22252; bugfix on 0.2.9.3-alpha.
17334 o Minor bugfixes (connection lifespan):
17335 - Allow more control over how long TLS connections are kept open:
17336 unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
17337 single option called CircuitsAvailableTimeout. Also, allow the
17338 consensus to control the default values for both this preference
17339 and the lifespan of relay-to-relay connections. Fixes bug 17592;
17340 bugfix on 0.2.5.5-alpha.
17341 - Increase the initial circuit build timeout testing frequency, to
17342 help ensure that ReducedConnectionPadding clients finish learning
17343 a timeout before their orconn would expire. The initial testing
17344 rate was set back in the days of TAP and before the Tor Browser
17345 updater, when we had to be much more careful about new clients
17346 making lots of circuits. With this change, a circuit build timeout
17347 is learned in about 15-20 minutes, instead of 100-120 minutes.
17349 o Minor bugfixes (controller):
17350 - GETINFO onions/current and onions/detached no longer respond with
17351 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
17352 - Trigger HS descriptor events on the control port when the client
17353 fails to pick a hidden service directory for a hidden service.
17354 This can happen if all the hidden service directories are in
17355 ExcludeNodes, or they have all been queried within the last 15
17356 minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
17358 o Minor bugfixes (directory authority):
17359 - When rejecting a router descriptor for running an obsolete version
17360 of Tor without ntor support, warn about the obsolete tor version,
17361 not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
17362 - Prevent the shared randomness subsystem from asserting when
17363 initialized by a bridge authority with an incomplete configuration
17364 file. Fixes bug 21586; bugfix on 0.2.9.8.
17366 o Minor bugfixes (exit-side DNS):
17367 - Fix an untriggerable assertion that checked the output of a
17368 libevent DNS error, so that the assertion actually behaves as
17369 expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
17370 Karpov using PVS-Studio.
17372 o Minor bugfixes (fallback directories):
17373 - Make the usage example in updateFallbackDirs.py actually work, and
17374 explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
17375 - Decrease the guard flag average required to be a fallback. This
17376 allows us to keep relays that have their guard flag removed when
17377 they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
17378 - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
17379 bugfix on 0.2.8.1-alpha.
17380 - Make sure fallback directory mirrors have the same address, port,
17381 and relay identity key for at least 30 days before they are
17382 selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
17384 o Minor bugfixes (hidden services):
17385 - Stop printing a cryptic warning when a hidden service gets a
17386 request to connect to a virtual port that it hasn't configured.
17387 Fixes bug 16706; bugfix on 0.2.6.3-alpha.
17388 - Simplify hidden service descriptor creation by using an existing
17389 flag to check if an introduction point is established. Fixes bug
17390 21599; bugfix on 0.2.7.2-alpha.
17392 o Minor bugfixes (memory leak):
17393 - Fix a small memory leak at exit from the backtrace handler code.
17394 Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
17396 o Minor bugfixes (protocol, logging):
17397 - Downgrade a log statement about unexpected relay cells from "bug"
17398 to "protocol warning", because there is at least one use case
17399 where it can be triggered by a buggy tor implementation. Fixes bug
17400 21293; bugfix on 0.1.1.14-alpha.
17402 o Minor bugfixes (testing):
17403 - Use unbuffered I/O for utility functions around the
17404 process_handle_t type. This fixes unit test failures reported on
17405 OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
17406 - Make display of captured unit test log messages consistent. Fixes
17407 bug 21510; bugfix on 0.2.9.3-alpha.
17408 - Make test-network.sh always call chutney's test-network.sh.
17409 Previously, this only worked on systems which had bash installed,
17410 due to some bash-specific code in the script. Fixes bug 19699;
17411 bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
17413 o Minor bugfixes (voting consistency):
17414 - Reject version numbers with non-numeric prefixes (such as +, -, or
17415 whitespace). Disallowing whitespace prevents differential version
17416 parsing between POSIX-based and Windows platforms. Fixes bug 21507
17417 and part of 21508; bugfix on 0.0.8pre1.
17419 o Minor bugfixes (windows, relay):
17420 - Resolve "Failure from drain_fd: No error" warnings on Windows
17421 relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
17423 o Code simplification and refactoring:
17424 - Break up the 630-line function connection_dir_client_reached_eof()
17425 into a dozen smaller functions. This change should help
17426 maintainability and readability of the client directory code.
17427 - Isolate our use of the openssl headers so that they are only
17428 included from our crypto wrapper modules, and from tests that
17429 examine those modules' internals. Closes ticket 21841.
17430 - Simplify our API to launch directory requests, making it more
17431 extensible and less error-prone. Now it's easier to add extra
17432 headers to directory requests. Closes ticket 21646.
17433 - Our base64 decoding functions no longer overestimate the output
17434 space that they need when parsing unpadded inputs. Closes
17436 - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
17437 Resolves ticket 22213.
17438 - The logic that directory caches use to spool request to clients,
17439 serving them one part at a time so as not to allocate too much
17440 memory, has been refactored for consistency. Previously there was
17441 a separate spooling implementation per type of spoolable data. Now
17442 there is one common spooling implementation, with extensible data
17443 types. Closes ticket 21651.
17444 - Tor's compression module now supports multiple backends. Part of
17445 the implementation for proposal 278; closes ticket 21663.
17448 - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
17449 Closes ticket 21873.
17450 - Correct documentation about the default DataDirectory value.
17451 Closes ticket 21151.
17452 - Document the default behavior of NumEntryGuards and
17453 NumDirectoryGuards correctly. Fixes bug 21715; bugfix
17455 - Document key=value pluggable transport arguments for Bridge lines
17456 in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
17457 - Note that bandwidth-limiting options don't affect TCP headers or
17458 DNS. Closes ticket 17170.
17460 o Removed features (configuration options, all in ticket 22060):
17461 - These configuration options are now marked Obsolete, and no longer
17462 have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
17463 AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
17464 TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
17465 in 0.2.9.2-alpha and have now been removed. The previous default
17466 behavior is now always chosen; the previous (less secure) non-
17467 default behavior is now unavailable.
17468 - CloseHSClientCircuitsImmediatelyOnTimeout and
17469 CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
17470 0.2.9.2-alpha and now have been removed. HS circuits never close
17471 on circuit build timeout; they have a longer timeout period.
17472 - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
17473 in 0.2.9.2-alpha and now have been removed. Use the ORPort option
17474 (and others) to configure listen-only and advertise-only addresses.
17476 o Removed features (tools):
17477 - We've removed the tor-checkkey tool from src/tools. Long ago, we
17478 used it to help people detect RSA keys that were generated by
17479 versions of Debian affected by CVE-2008-0166. But those keys have
17480 been out of circulation for ages, and this tool is no longer
17481 required. Closes ticket 21842.
17484 Changes in version 0.3.0.7 - 2017-05-15
17485 Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
17486 of Tor 0.3.0.x, where an attacker could cause a Tor relay process
17487 to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
17488 clients are not affected.
17490 o Major bugfixes (hidden service directory, security):
17491 - Fix an assertion failure in the hidden service directory code, which
17492 could be used by an attacker to remotely cause a Tor relay process to
17493 exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
17494 should upgrade. This security issue is tracked as TROVE-2017-002.
17495 Fixes bug 22246; bugfix on 0.3.0.1-alpha.
17498 - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
17501 o Minor features (future-proofing):
17502 - Tor no longer refuses to download microdescriptors or descriptors
17503 if they are listed as "published in the future". This change will
17504 eventually allow us to stop listing meaningful "published" dates
17505 in microdescriptor consensuses, and thereby allow us to reduce the
17506 resources required to download consensus diffs by over 50%.
17507 Implements part of ticket 21642; implements part of proposal 275.
17509 o Minor bugfixes (Linux seccomp2 sandbox):
17510 - The getpid() system call is now permitted under the Linux seccomp2
17511 sandbox, to avoid crashing with versions of OpenSSL (and other
17512 libraries) that attempt to learn the process's PID by using the
17513 syscall rather than the VDSO code. Fixes bug 21943; bugfix
17517 Changes in version 0.3.0.6 - 2017-04-26
17518 Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
17520 With the 0.3.0 series, clients and relays now use Ed25519 keys to
17521 authenticate their link connections to relays, rather than the old
17522 RSA1024 keys that they used before. (Circuit crypto has been
17523 Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
17524 the guard selection and replacement algorithm to behave more robustly
17525 in the presence of unreliable networks, and to resist guard-
17528 This series also includes numerous other small features and bugfixes,
17529 along with more groundwork for the upcoming hidden-services revamp.
17531 Per our stable release policy, we plan to support the Tor 0.3.0
17532 release series for at least the next nine months, or for three months
17533 after the first stable release of the 0.3.1 series: whichever is
17534 longer. If you need a release with long-term support, we recommend
17535 that you stay with the 0.2.9 series.
17537 Below are the changes since 0.3.0.5-rc. For a list of all changes
17538 since 0.2.9, see the ReleaseNotes file.
17540 o Minor features (geoip):
17541 - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
17544 o Minor bugfixes (control port):
17545 - The GETINFO extra-info/digest/<digest> command was broken because
17546 of a wrong base16 decode return value check, introduced when
17547 refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
17549 o Minor bugfixes (crash prevention):
17550 - Fix a (currently untriggerable, but potentially dangerous) crash
17551 bug when base32-encoding inputs whose sizes are not a multiple of
17552 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
17555 Changes in version 0.3.0.5-rc - 2017-04-05
17556 Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
17557 0.3.0 release series.
17559 This is the second release candidate in the Tor 0.3.0 series, and has
17560 much fewer changes than the first. If we find no new bugs or
17561 regressions here, the first stable 0.3.0 release will be nearly
17564 o Major bugfixes (crash, directory connections):
17565 - Fix a rare crash when sending a begin cell on a circuit whose
17566 linked directory connection had already been closed. Fixes bug
17567 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
17569 o Major bugfixes (guard selection):
17570 - Fix a guard selection bug where Tor would refuse to bootstrap in
17571 some cases if the user swapped a bridge for another bridge in
17572 their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
17573 Reported by "torvlnt33r".
17575 o Minor features (geoip):
17576 - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
17579 o Minor bugfix (compilation):
17580 - Fix a warning when compiling hs_service.c. Previously, it had no
17581 exported symbols when compiled for libor.a, resulting in a
17582 compilation warning from clang. Fixes bug 21825; bugfix
17585 o Minor bugfixes (hidden services):
17586 - Make hidden services check for failed intro point connections,
17587 even when they have exceeded their intro point creation limit.
17588 Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
17589 - Make hidden services with 8 to 10 introduction points check for
17590 failed circuits immediately after startup. Previously, they would
17591 wait for 5 minutes before performing their first checks. Fixes bug
17592 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
17594 o Minor bugfixes (memory leaks):
17595 - Fix a memory leak when using GETCONF on a port option. Fixes bug
17596 21682; bugfix on 0.3.0.3-alpha.
17598 o Minor bugfixes (relay):
17599 - Avoid a double-marked-circuit warning that could happen when we
17600 receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
17603 o Minor bugfixes (tests):
17604 - Run the entry_guard_parse_from_state_full() test with the time set
17605 to a specific date. (The guard state that this test was parsing
17606 contained guards that had expired since the test was first
17607 written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
17610 - Update the description of the directory server options in the
17611 manual page, to clarify that a relay no longer needs to set
17612 DirPort in order to be a directory cache. Closes ticket 21720.
17616 Changes in version 0.2.8.13 - 2017-03-03
17617 Tor 0.2.8.13 backports a security fix from later Tor
17618 releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
17619 this release, if for some reason they cannot upgrade to a later
17620 release series, and if they build Tor with the --enable-expensive-hardening
17623 Note that support for Tor 0.2.8.x is ending next year: we will not issue
17624 any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
17625 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17627 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17628 - Fix an integer underflow bug when comparing malformed Tor
17629 versions. This bug could crash Tor when built with
17630 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17631 0.2.9.8, which were built with -ftrapv by default. In other cases
17632 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17633 on 0.0.8pre1. Found by OSS-Fuzz.
17635 o Minor features (geoip):
17636 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17640 Changes in version 0.2.7.7 - 2017-03-03
17641 Tor 0.2.7.7 backports a number of security fixes from later Tor
17642 releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
17643 this release, if for some reason they cannot upgrade to a later
17646 Note that support for Tor 0.2.7.x is ending this year: we will not issue
17647 any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
17648 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17650 o Directory authority changes (backport from 0.2.8.5-rc):
17651 - Urras is no longer a directory authority. Closes ticket 19271.
17653 o Directory authority changes (backport from 0.2.9.2-alpha):
17654 - The "Tonga" bridge authority has been retired; the new bridge
17655 authority is "Bifroest". Closes tickets 19728 and 19690.
17657 o Directory authority key updates (backport from 0.2.8.1-alpha):
17658 - Update the V3 identity key for the dannenberg directory authority:
17659 it was changed on 18 November 2015. Closes task 17906. Patch
17662 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17663 - Fix a bug in parsing that could cause clients to read a single
17664 byte past the end of an allocated region. This bug could be used
17665 to cause hardened clients (built with --enable-expensive-hardening)
17666 to crash if they tried to visit a hostile hidden service. Non-
17667 hardened clients are only affected depending on the details of
17668 their platform's memory allocator. Fixes bug 21018; bugfix on
17669 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17670 2016-12-002 and as CVE-2016-1254.
17672 o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
17673 - Stop a crash that could occur when a client running with DNSPort
17674 received a query with multiple address types, and the first
17675 address type was not supported. Found and fixed by Scott Dial.
17676 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
17677 - Prevent a class of security bugs caused by treating the contents
17678 of a buffer chunk as if they were a NUL-terminated string. At
17679 least one such bug seems to be present in all currently used
17680 versions of Tor, and would allow an attacker to remotely crash
17681 most Tor instances, especially those compiled with extra compiler
17682 hardening. With this defense in place, such bugs can't crash Tor,
17683 though we should still fix them as they occur. Closes ticket
17684 20384 (TROVE-2016-10-001).
17686 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17687 - Avoid a difficult-to-trigger heap corruption attack when extending
17688 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17689 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17690 Reported by Guido Vranken.
17692 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17693 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17694 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17696 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17697 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17698 pointer to the previous (uninitialized) key value. The impact here
17699 should be limited to a difficult-to-trigger crash, if OpenSSL is
17700 running an engine that makes key generation failures possible, or
17701 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17702 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17705 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17706 - Fix an integer underflow bug when comparing malformed Tor
17707 versions. This bug could crash Tor when built with
17708 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17709 0.2.9.8, which were built with -ftrapv by default. In other cases
17710 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17711 on 0.0.8pre1. Found by OSS-Fuzz.
17713 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17714 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17715 zero size. Check size argument to memwipe() for underflow. Fixes
17716 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17719 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17720 - Make Tor survive errors involving connections without a
17721 corresponding event object. Previously we'd fail with an
17722 assertion; now we produce a log message. Related to bug 16248.
17724 o Minor features (geoip):
17725 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17729 Changes in version 0.2.6.11 - 2017-03-03
17730 Tor 0.2.6.11 backports a number of security fixes from later Tor
17731 releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
17732 this release, if for some reason they cannot upgrade to a later
17735 Note that support for Tor 0.2.6.x is ending this year: we will not issue
17736 any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
17737 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17739 o Directory authority changes (backport from 0.2.8.5-rc):
17740 - Urras is no longer a directory authority. Closes ticket 19271.
17742 o Directory authority changes (backport from 0.2.9.2-alpha):
17743 - The "Tonga" bridge authority has been retired; the new bridge
17744 authority is "Bifroest". Closes tickets 19728 and 19690.
17746 o Directory authority key updates (backport from 0.2.8.1-alpha):
17747 - Update the V3 identity key for the dannenberg directory authority:
17748 it was changed on 18 November 2015. Closes task 17906. Patch
17751 o Major features (security fixes, backport from 0.2.9.4-alpha):
17752 - Prevent a class of security bugs caused by treating the contents
17753 of a buffer chunk as if they were a NUL-terminated string. At
17754 least one such bug seems to be present in all currently used
17755 versions of Tor, and would allow an attacker to remotely crash
17756 most Tor instances, especially those compiled with extra compiler
17757 hardening. With this defense in place, such bugs can't crash Tor,
17758 though we should still fix them as they occur. Closes ticket
17759 20384 (TROVE-2016-10-001).
17761 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17762 - Fix a bug in parsing that could cause clients to read a single
17763 byte past the end of an allocated region. This bug could be used
17764 to cause hardened clients (built with --enable-expensive-hardening)
17765 to crash if they tried to visit a hostile hidden service. Non-
17766 hardened clients are only affected depending on the details of
17767 their platform's memory allocator. Fixes bug 21018; bugfix on
17768 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17769 2016-12-002 and as CVE-2016-1254.
17771 o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
17772 - Stop a crash that could occur when a client running with DNSPort
17773 received a query with multiple address types, and the first
17774 address type was not supported. Found and fixed by Scott Dial.
17775 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
17777 o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
17778 - Fix an error that could cause us to read 4 bytes before the
17779 beginning of an openssl string. This bug could be used to cause
17780 Tor to crash on systems with unusual malloc implementations, or
17781 systems with unusual hardening installed. Fixes bug 17404; bugfix
17784 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17785 - Avoid a difficult-to-trigger heap corruption attack when extending
17786 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17787 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17788 Reported by Guido Vranken.
17790 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17791 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17792 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17794 o Major bugfixes (guard selection, backport from 0.2.7.6):
17795 - Actually look at the Guard flag when selecting a new directory
17796 guard. When we implemented the directory guard design, we
17797 accidentally started treating all relays as if they have the Guard
17798 flag during guard selection, leading to weaker anonymity and worse
17799 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
17802 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17803 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17804 pointer to the previous (uninitialized) key value. The impact here
17805 should be limited to a difficult-to-trigger crash, if OpenSSL is
17806 running an engine that makes key generation failures possible, or
17807 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17808 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17811 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17812 - Fix an integer underflow bug when comparing malformed Tor
17813 versions. This bug could crash Tor when built with
17814 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17815 0.2.9.8, which were built with -ftrapv by default. In other cases
17816 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17817 on 0.0.8pre1. Found by OSS-Fuzz.
17819 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17820 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17821 zero size. Check size argument to memwipe() for underflow. Fixes
17822 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17825 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17826 - Make Tor survive errors involving connections without a
17827 corresponding event object. Previously we'd fail with an
17828 assertion; now we produce a log message. Related to bug 16248.
17830 o Minor features (geoip):
17831 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17834 o Minor bugfixes (compilation, backport from 0.2.7.6):
17835 - Fix a compilation warning with Clang 3.6: Do not check the
17836 presence of an address which can never be NULL. Fixes bug 17781.
17839 Changes in version 0.2.5.13 - 2017-03-03
17840 Tor 0.2.5.13 backports a number of security fixes from later Tor
17841 releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
17842 this release, if for some reason they cannot upgrade to a later
17845 Note that support for Tor 0.2.5.x is ending next year: we will not issue
17846 any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
17847 a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
17849 o Directory authority changes (backport from 0.2.8.5-rc):
17850 - Urras is no longer a directory authority. Closes ticket 19271.
17852 o Directory authority changes (backport from 0.2.9.2-alpha):
17853 - The "Tonga" bridge authority has been retired; the new bridge
17854 authority is "Bifroest". Closes tickets 19728 and 19690.
17856 o Directory authority key updates (backport from 0.2.8.1-alpha):
17857 - Update the V3 identity key for the dannenberg directory authority:
17858 it was changed on 18 November 2015. Closes task 17906. Patch
17861 o Major features (security fixes, backport from 0.2.9.4-alpha):
17862 - Prevent a class of security bugs caused by treating the contents
17863 of a buffer chunk as if they were a NUL-terminated string. At
17864 least one such bug seems to be present in all currently used
17865 versions of Tor, and would allow an attacker to remotely crash
17866 most Tor instances, especially those compiled with extra compiler
17867 hardening. With this defense in place, such bugs can't crash Tor,
17868 though we should still fix them as they occur. Closes ticket
17869 20384 (TROVE-2016-10-001).
17871 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17872 - Fix a bug in parsing that could cause clients to read a single
17873 byte past the end of an allocated region. This bug could be used
17874 to cause hardened clients (built with --enable-expensive-hardening)
17875 to crash if they tried to visit a hostile hidden service. Non-
17876 hardened clients are only affected depending on the details of
17877 their platform's memory allocator. Fixes bug 21018; bugfix on
17878 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
17879 2016-12-002 and as CVE-2016-1254.
17881 o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
17882 - Stop a crash that could occur when a client running with DNSPort
17883 received a query with multiple address types, and the first
17884 address type was not supported. Found and fixed by Scott Dial.
17885 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
17887 o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
17888 - Fix an error that could cause us to read 4 bytes before the
17889 beginning of an openssl string. This bug could be used to cause
17890 Tor to crash on systems with unusual malloc implementations, or
17891 systems with unusual hardening installed. Fixes bug 17404; bugfix
17894 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
17895 - Avoid a difficult-to-trigger heap corruption attack when extending
17896 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
17897 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
17898 Reported by Guido Vranken.
17900 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
17901 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
17902 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
17904 o Major bugfixes (guard selection, backport from 0.2.7.6):
17905 - Actually look at the Guard flag when selecting a new directory
17906 guard. When we implemented the directory guard design, we
17907 accidentally started treating all relays as if they have the Guard
17908 flag during guard selection, leading to weaker anonymity and worse
17909 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
17912 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
17913 - If OpenSSL fails to generate an RSA key, do not retain a dangling
17914 pointer to the previous (uninitialized) key value. The impact here
17915 should be limited to a difficult-to-trigger crash, if OpenSSL is
17916 running an engine that makes key generation failures possible, or
17917 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
17918 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
17921 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
17922 - Fix an integer underflow bug when comparing malformed Tor
17923 versions. This bug could crash Tor when built with
17924 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
17925 0.2.9.8, which were built with -ftrapv by default. In other cases
17926 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
17927 on 0.0.8pre1. Found by OSS-Fuzz.
17929 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
17930 - Make memwipe() do nothing when passed a NULL pointer or buffer of
17931 zero size. Check size argument to memwipe() for underflow. Fixes
17932 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
17935 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
17936 - Make Tor survive errors involving connections without a
17937 corresponding event object. Previously we'd fail with an
17938 assertion; now we produce a log message. Related to bug 16248.
17940 o Minor features (geoip):
17941 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
17944 o Minor bugfixes (compilation, backport from 0.2.7.6):
17945 - Fix a compilation warning with Clang 3.6: Do not check the
17946 presence of an address which can never be NULL. Fixes bug 17781.
17948 o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
17949 - Check for failures from crypto_early_init, and refuse to continue.
17950 A previous typo meant that we could keep going with an
17951 uninitialized crypto library, and would have OpenSSL initialize
17952 its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
17953 when implementing ticket 4900. Patch by "teor".
17955 o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
17956 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
17957 a client authorized hidden service. Fixes bug 15823; bugfix
17961 Changes in version 0.2.4.28 - 2017-03-03
17962 Tor 0.2.4.28 backports a number of security fixes from later Tor
17963 releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
17964 this release, if for some reason they cannot upgrade to a later
17967 Note that support for Tor 0.2.4.x is ending soon: we will not issue
17968 any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
17969 a Tor release series with long-term support, we recommend Tor 0.2.9.x.
17971 o Directory authority changes (backport from 0.2.8.5-rc):
17972 - Urras is no longer a directory authority. Closes ticket 19271.
17974 o Directory authority changes (backport from 0.2.9.2-alpha):
17975 - The "Tonga" bridge authority has been retired; the new bridge
17976 authority is "Bifroest". Closes tickets 19728 and 19690.
17978 o Directory authority key updates (backport from 0.2.8.1-alpha):
17979 - Update the V3 identity key for the dannenberg directory authority:
17980 it was changed on 18 November 2015. Closes task 17906. Patch
17983 o Major features (security fixes, backport from 0.2.9.4-alpha):
17984 - Prevent a class of security bugs caused by treating the contents
17985 of a buffer chunk as if they were a NUL-terminated string. At
17986 least one such bug seems to be present in all currently used
17987 versions of Tor, and would allow an attacker to remotely crash
17988 most Tor instances, especially those compiled with extra compiler
17989 hardening. With this defense in place, such bugs can't crash Tor,
17990 though we should still fix them as they occur. Closes ticket
17991 20384 (TROVE-2016-10-001).
17993 o Major bugfixes (parsing, security, backport from 0.2.9.8):
17994 - Fix a bug in parsing that could cause clients to read a single
17995 byte past the end of an allocated region. This bug could be used
17996 to cause hardened clients (built with --enable-expensive-hardening)
17997 to crash if they tried to visit a hostile hidden service. Non-
17998 hardened clients are only affected depending on the details of
17999 their platform's memory allocator. Fixes bug 21018; bugfix on
18000 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
18001 2016-12-002 and as CVE-2016-1254.
18003 o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
18004 - Fix an error that could cause us to read 4 bytes before the
18005 beginning of an openssl string. This bug could be used to cause
18006 Tor to crash on systems with unusual malloc implementations, or
18007 systems with unusual hardening installed. Fixes bug 17404; bugfix
18010 o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
18011 - Avoid a difficult-to-trigger heap corruption attack when extending
18012 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
18013 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
18014 Reported by Guido Vranken.
18016 o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
18017 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
18018 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
18020 o Major bugfixes (guard selection, backport from 0.2.7.6):
18021 - Actually look at the Guard flag when selecting a new directory
18022 guard. When we implemented the directory guard design, we
18023 accidentally started treating all relays as if they have the Guard
18024 flag during guard selection, leading to weaker anonymity and worse
18025 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
18028 o Major bugfixes (key management, backport from 0.2.8.3-alpha):
18029 - If OpenSSL fails to generate an RSA key, do not retain a dangling
18030 pointer to the previous (uninitialized) key value. The impact here
18031 should be limited to a difficult-to-trigger crash, if OpenSSL is
18032 running an engine that makes key generation failures possible, or
18033 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
18034 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
18037 o Major bugfixes (parsing, backported from 0.3.0.4-rc):
18038 - Fix an integer underflow bug when comparing malformed Tor
18039 versions. This bug could crash Tor when built with
18040 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
18041 0.2.9.8, which were built with -ftrapv by default. In other cases
18042 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
18043 on 0.0.8pre1. Found by OSS-Fuzz.
18045 o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
18046 - Make memwipe() do nothing when passed a NULL pointer or buffer of
18047 zero size. Check size argument to memwipe() for underflow. Fixes
18048 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
18051 o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
18052 - Make Tor survive errors involving connections without a
18053 corresponding event object. Previously we'd fail with an
18054 assertion; now we produce a log message. Related to bug 16248.
18056 o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
18057 - Make it harder for attackers to overload hidden services with
18058 introductions, by blocking multiple introduction requests on the
18059 same circuit. Resolves ticket 15515.
18061 o Minor features (geoip):
18062 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
18065 o Minor bugfixes (compilation, backport from 0.2.7.6):
18066 - Fix a compilation warning with Clang 3.6: Do not check the
18067 presence of an address which can never be NULL. Fixes bug 17781.
18069 o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
18070 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
18071 a client authorized hidden service. Fixes bug 15823; bugfix
18075 Changes in version 0.3.0.4-rc - 2017-03-01
18076 Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
18077 0.3.0 release series, and introduces a few reliability features to
18078 keep them from coming back.
18080 This is the first release candidate in the Tor 0.3.0 series. If we
18081 find no new bugs or regressions here, the first stable 0.3.0 release
18082 will be nearly identical to it.
18084 o Major bugfixes (bridges):
18085 - When the same bridge is configured multiple times with the same
18086 identity, but at different address:port combinations, treat those
18087 bridge instances as separate guards. This fix restores the ability
18088 of clients to configure the same bridge with multiple pluggable
18089 transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
18091 o Major bugfixes (hidden service directory v3):
18092 - Stop crashing on a failed v3 hidden service descriptor lookup
18093 failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
18095 o Major bugfixes (parsing):
18096 - When parsing a malformed content-length field from an HTTP
18097 message, do not read off the end of the buffer. This bug was a
18098 potential remote denial-of-service attack against Tor clients and
18099 relays. A workaround was released in October 2016, to prevent this
18100 bug from crashing Tor. This is a fix for the underlying issue,
18101 which should no longer matter (if you applied the earlier patch).
18102 Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
18103 using AFL (http://lcamtuf.coredump.cx/afl/).
18104 - Fix an integer underflow bug when comparing malformed Tor
18105 versions. This bug could crash Tor when built with
18106 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
18107 0.2.9.8, which were built with -ftrapv by default. In other cases
18108 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
18109 on 0.0.8pre1. Found by OSS-Fuzz.
18111 o Minor feature (protocol versioning):
18112 - Add new protocol version for proposal 224. HSIntro now advertises
18113 version "3-4" and HSDir version "1-2". Fixes ticket 20656.
18115 o Minor features (directory authorities):
18116 - Directory authorities now reject descriptors that claim to be
18117 malformed versions of Tor. Helps prevent exploitation of
18119 - Reject version numbers with components that exceed INT32_MAX.
18120 Otherwise 32-bit and 64-bit platforms would behave inconsistently.
18121 Fixes bug 21450; bugfix on 0.0.8pre1.
18122 - Directory authorities now reject relays running versions
18123 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
18124 suffer from bug 20499 and don't keep their consensus cache
18125 up-to-date. Resolves ticket 20509.
18127 o Minor features (geoip):
18128 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
18131 o Minor features (reliability, crash):
18132 - Try better to detect problems in buffers where they might grow (or
18133 think they have grown) over 2 GB in size. Diagnostic for
18136 o Minor features (testing):
18137 - During 'make test-network-all', if tor logs any warnings, ask
18138 chutney to output them. Requires a recent version of chutney with
18139 the 21572 patch. Implements 21570.
18141 o Minor bugfixes (certificate expiration time):
18142 - Avoid using link certificates that don't become valid till some
18143 time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
18145 o Minor bugfixes (code correctness):
18146 - Repair a couple of (unreachable or harmless) cases of the risky
18147 comparison-by-subtraction pattern that caused bug 21278.
18148 - Remove a redundant check for the UseEntryGuards option from the
18149 options_transition_affects_guards() function. Fixes bug 21492;
18150 bugfix on 0.3.0.1-alpha.
18152 o Minor bugfixes (directory mirrors):
18153 - Allow relays to use directory mirrors without a DirPort: these
18154 relays need to be contacted over their ORPorts using a begindir
18155 connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
18156 - Clarify the message logged when a remote relay is unexpectedly
18157 missing an ORPort or DirPort: users were confusing this with a
18158 local port. Fixes another case of bug 20711; bugfix
18161 o Minor bugfixes (guards):
18162 - Don't warn about a missing guard state on timeout-measurement
18163 circuits: they aren't supposed to be using guards. Fixes an
18164 instance of bug 21007; bugfix on 0.3.0.1-alpha.
18165 - Silence a BUG() warning when attempting to use a guard whose
18166 descriptor we don't know, and make this scenario less likely to
18167 happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
18169 o Minor bugfixes (hidden service):
18170 - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
18171 cells. Previously, we were using sizeof() on a pointer, instead of
18172 the real destination buffer. Fortunately, that value was only used
18173 to double-check that there was enough room--which was already
18174 enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
18176 o Minor bugfixes (testing):
18177 - Fix Raspbian build issues related to missing socket errno in
18178 test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
18180 - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
18181 actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
18182 - Use bash in src/test/test-network.sh. This ensures we reliably
18183 call chutney's newer tools/test-network.sh when available. Fixes
18184 bug 21562; bugfix on 0.2.9.1-alpha.
18187 - Small fixes to the fuzzing documentation. Closes ticket 21472.
18190 Changes in version 0.2.9.10 - 2017-03-01
18191 Tor 0.2.9.10 backports a security fix from later Tor release. It also
18192 includes fixes for some major issues affecting directory authorities,
18193 LibreSSL compatibility, and IPv6 correctness.
18195 The Tor 0.2.9.x release series is now marked as a long-term-support
18196 series. We intend to backport security fixes to 0.2.9.x until at
18197 least January of 2020.
18199 o Major bugfixes (directory authority, 0.3.0.3-alpha):
18200 - During voting, when marking a relay as a probable sybil, do not
18201 clear its BadExit flag: sybils can still be bad in other ways
18202 too. (We still clear the other flags.) Fixes bug 21108; bugfix
18205 o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
18206 - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
18207 any IPv6 addresses. Instead, only reject a port over IPv6 if the
18208 exit policy rejects that port on more than an IPv6 /16 of
18209 addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
18210 which rejected a relay's own IPv6 address by default. Fixes bug
18211 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
18213 o Major bugfixes (parsing, also in 0.3.0.4-rc):
18214 - Fix an integer underflow bug when comparing malformed Tor
18215 versions. This bug could crash Tor when built with
18216 --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
18217 0.2.9.8, which were built with -ftrapv by default. In other cases
18218 it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
18219 on 0.0.8pre1. Found by OSS-Fuzz.
18221 o Minor features (directory authorities, also in 0.3.0.4-rc):
18222 - Directory authorities now reject descriptors that claim to be
18223 malformed versions of Tor. Helps prevent exploitation of
18225 - Reject version numbers with components that exceed INT32_MAX.
18226 Otherwise 32-bit and 64-bit platforms would behave inconsistently.
18227 Fixes bug 21450; bugfix on 0.0.8pre1.
18229 o Minor features (geoip):
18230 - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
18233 o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
18234 - Autoconf now checks to determine if OpenSSL structures are opaque,
18235 instead of explicitly checking for OpenSSL version numbers. Part
18237 - Support building with recent LibreSSL code that uses opaque
18238 structures. Closes ticket 21359.
18240 o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
18241 - Repair a couple of (unreachable or harmless) cases of the risky
18242 comparison-by-subtraction pattern that caused bug 21278.
18244 o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
18245 - The tor-resolve command line tool now rejects hostnames over 255
18246 characters in length. Previously, it would silently truncate them,
18247 which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
18248 Patch by "junglefowl".
18251 Changes in version 0.3.0.3-alpha - 2017-02-03
18252 Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
18253 0.3.0.x development series, including some that could cause
18254 authorities to behave badly. There is also a fix for a longstanding
18255 bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
18256 includes some smaller features and bugfixes.
18258 The Tor 0.3.0.x release series is now in patch-freeze: no additional
18259 features will be considered for inclusion in 0.3.0.x. We suspect that
18260 some bugs will probably remain, however, and we encourage people to
18263 o Major bugfixes (directory authority):
18264 - During voting, when marking a relay as a probable sybil, do not
18265 clear its BadExit flag: sybils can still be bad in other ways
18266 too. (We still clear the other flags.) Fixes bug 21108; bugfix
18268 - When deciding whether we have just found a router to be reachable,
18269 do not penalize it for not having performed an Ed25519 link
18270 handshake if it does not claim to support an Ed25519 handshake.
18271 Previously, we would treat such relays as non-running. Fixes bug
18272 21107; bugfix on 0.3.0.1-alpha.
18274 o Major bugfixes (entry guards):
18275 - Stop trying to build circuits through entry guards for which we
18276 have no descriptor. Also, stop crashing in the case that we *do*
18277 accidentally try to build a circuit in such a state. Fixes bug
18278 21242; bugfix on 0.3.0.1-alpha.
18280 o Major bugfixes (IPv6 Exits):
18281 - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
18282 any IPv6 addresses. Instead, only reject a port over IPv6 if the
18283 exit policy rejects that port on more than an IPv6 /16 of
18284 addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
18285 which rejected a relay's own IPv6 address by default. Fixes bug
18286 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
18288 o Minor feature (client):
18289 - Enable IPv6 traffic on the SocksPort by default. To disable this,
18290 a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
18292 o Minor feature (fallback scripts):
18293 - Add a check_existing mode to updateFallbackDirs.py, which checks
18294 if fallbacks in the hard-coded list are working. Closes ticket
18295 20174. Patch by haxxpop.
18297 o Minor features (ciphersuite selection):
18298 - Clients now advertise a list of ciphersuites closer to the ones
18299 preferred by Firefox. Closes part of ticket 15426.
18300 - Allow relays to accept a wider range of ciphersuites, including
18301 chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
18303 o Minor features (controller, configuration):
18304 - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
18305 and so on, now comes with a __*Port variant that will not be saved
18306 to the torrc file by the controller's SAVECONF command. This
18307 change allows TorBrowser to set up a single-use domain socket for
18308 each time it launches Tor. Closes ticket 20956.
18309 - The GETCONF command can now query options that may only be
18310 meaningful in context-sensitive lists. This allows the controller
18311 to query the mixed SocksPort/__SocksPort style options introduced
18312 in feature 20956. Implements ticket 21300.
18314 o Minor features (portability, compilation):
18315 - Autoconf now checks to determine if OpenSSL structures are opaque,
18316 instead of explicitly checking for OpenSSL version numbers. Part
18318 - Support building with recent LibreSSL code that uses opaque
18319 structures. Closes ticket 21359.
18321 o Minor features (relay):
18322 - We now allow separation of exit and relay traffic to different
18323 source IP addresses, using the OutboundBindAddressExit and
18324 OutboundBindAddressOR options respectively. Closes ticket 17975.
18325 Written by Michael Sonntag.
18327 o Minor bugfix (logging):
18328 - Don't recommend the use of Tor2web in non-anonymous mode.
18329 Recommending Tor2web is a bad idea because the client loses all
18330 anonymity. Tor2web should only be used in specific cases by users
18331 who *know* and understand the issues. Fixes bug 21294; bugfix
18334 o Minor bugfixes (client):
18335 - Always recover from failures in extend_info_from_node(), in an
18336 attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
18337 bugfix on 0.2.3.1-alpha.
18339 o Minor bugfixes (client, entry guards):
18340 - Fix a bug warning (with backtrace) when we fail a channel that
18341 circuits to fallback directories on it. Fixes bug 21128; bugfix
18343 - Fix a spurious bug warning (with backtrace) when removing an
18344 expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
18345 - Fix a bug of the new guard algorithm where tor could stall for up
18346 to 10 minutes before retrying a guard after a long period of no
18347 network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
18348 - Do not try to build circuits until we have descriptors for our
18349 primary entry guards. Related to fix for bug 21242.
18351 o Minor bugfixes (configure, autoconf):
18352 - Rename the configure option --enable-expensive-hardening to
18353 --enable-fragile-hardening. Expensive hardening makes the tor
18354 daemon abort when some kinds of issues are detected. Thus, it
18355 makes tor more at risk of remote crashes but safer against RCE or
18356 heartbleed bug category. We now try to explain this issue in a
18357 message from the configure script. Fixes bug 21290; bugfix
18360 o Minor bugfixes (controller):
18361 - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
18362 20824; bugfix on 0.3.0.1-alpha.
18364 o Minor bugfixes (hidden service):
18365 - Clean up the code for expiring intro points with no associated
18366 circuits. It was causing, rarely, a service with some expiring
18367 introduction points to not open enough additional introduction
18368 points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
18369 - Stop setting the torrc option HiddenServiceStatistics to "0" just
18370 because we're not a bridge or relay. Instead, we preserve whatever
18371 value the user set (or didn't set). Fixes bug 21150; bugfix
18373 - Resolve two possible underflows which could lead to creating and
18374 closing a lot of introduction point circuits in a non-stop loop.
18375 Fixes bug 21302; bugfix on 0.2.7.2-alpha.
18377 o Minor bugfixes (portability):
18378 - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
18379 It is supported by OpenBSD itself, and also by most OpenBSD
18380 variants (such as Bitrig). Fixes bug 20980; bugfix
18382 - When mapping a file of length greater than SIZE_MAX, do not
18383 silently truncate its contents. This issue could occur on 32 bit
18384 systems with large file support and files which are larger than 4
18385 GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
18387 o Minor bugfixes (tor-resolve):
18388 - The tor-resolve command line tool now rejects hostnames over 255
18389 characters in length. Previously, it would silently truncate them,
18390 which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
18391 Patch by "junglefowl".
18393 o Minor bugfixes (Windows services):
18394 - Be sure to initialize the monotonic time subsystem before using
18395 it, even when running as an NT service. Fixes bug 21356; bugfix
18399 Changes in version 0.3.0.2-alpha - 2017-01-23
18400 Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
18401 cause relays and clients to crash, even if they were not built with
18402 the --enable-expensive-hardening option. This bug affects all 0.2.9.x
18403 versions, and also affects 0.3.0.1-alpha: all relays running an affected
18404 version should upgrade.
18406 Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
18407 time-to-live values, makes directory authorities enforce the 1-to-1
18408 mapping of relay RSA identity keys to ED25519 identity keys, fixes a
18409 client-side onion service reachability bug, does better at selecting
18410 the set of fallback directories, and more.
18412 o Major bugfixes (security, also in 0.2.9.9):
18413 - Downgrade the "-ftrapv" option from "always on" to "only on when
18414 --enable-expensive-hardening is provided." This hardening option, like
18415 others, can turn survivable bugs into crashes--and having it on by
18416 default made a (relatively harmless) integer overflow bug into a
18417 denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
18420 o Major features (security):
18421 - Change the algorithm used to decide DNS TTLs on client and server
18422 side, to better resist DNS-based correlation attacks like the
18423 DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
18424 Feamster. Now relays only return one of two possible DNS TTL
18425 values, and clients are willing to believe DNS TTL values up to 3
18426 hours long. Closes ticket 19769.
18428 o Major features (directory authority, security):
18429 - The default for AuthDirPinKeys is now 1: directory authorities
18430 will reject relays where the RSA identity key matches a previously
18431 seen value, but the Ed25519 key has changed. Closes ticket 18319.
18433 o Major bugfixes (client, guard, crash):
18434 - In circuit_get_global_origin_list(), return the actual list of
18435 origin circuits. The previous version of this code returned the
18436 list of all the circuits, and could have caused strange bugs,
18437 including possible crashes. Fixes bug 21118; bugfix
18440 o Major bugfixes (client, onion service, also in 0.2.9.9):
18441 - Fix a client-side onion service reachability bug, where multiple
18442 socks requests to an onion service (or a single slow request)
18443 could cause us to mistakenly mark some of the service's
18444 introduction points as failed, and we cache that failure so
18445 eventually we run out and can't reach the service. Also resolves a
18446 mysterious "Remote server sent bogus reason code 65021" log
18447 warning. The bug was introduced in ticket 17218, where we tried to
18448 remember the circuit end reason as a uint16_t, which mangled
18449 negative values. Partially fixes bug 21056 and fixes bug 20307;
18450 bugfix on 0.2.8.1-alpha.
18452 o Major bugfixes (DNS):
18453 - Fix a bug that prevented exit nodes from caching DNS records for
18454 more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
18456 o Minor features (controller):
18457 - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
18458 shared-random values to the controller. Closes ticket 19925.
18460 o Minor features (entry guards):
18461 - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
18462 break regression tests.
18463 - Require UseEntryGuards when UseBridges is set, in order to make
18464 sure bridges aren't bypassed. Resolves ticket 20502.
18466 o Minor features (fallback directories):
18467 - Select 200 fallback directories for each release. Closes
18469 - Allow 3 fallback relays per operator, which is safe now that we
18470 are choosing 200 fallback relays. Closes ticket 20912.
18471 - Exclude relays affected by bug 20499 from the fallback list.
18472 Exclude relays from the fallback list if they are running versions
18473 known to be affected by bug 20499, or if in our tests they deliver
18474 a stale consensus (i.e. one that expired more than 24 hours ago).
18475 Closes ticket 20539.
18476 - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
18478 - Require fallback directories to have the same address and port for
18479 7 days (now that we have enough relays with this stability).
18480 Relays whose OnionOO stability timer is reset on restart by bug
18481 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
18482 this issue. Closes ticket 20880; maintains short-term fix
18484 - Require fallbacks to have flags for 90% of the time (weighted
18485 decaying average), rather than 95%. This allows at least 73% of
18486 clients to bootstrap in the first 5 seconds without contacting an
18487 authority. Part of ticket 18828.
18488 - Annotate updateFallbackDirs.py with the bandwidth and consensus
18489 weight for each candidate fallback. Closes ticket 20878.
18490 - Make it easier to change the output sort order of fallbacks.
18491 Closes ticket 20822.
18492 - Display the relay fingerprint when downloading consensuses from
18493 fallbacks. Closes ticket 20908.
18495 o Minor features (geoip, also in 0.2.9.9):
18496 - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
18499 o Minor features (next-gen onion service directories):
18500 - Remove the "EnableOnionServicesV3" consensus parameter that we
18501 introduced in 0.3.0.1-alpha: relays are now always willing to act
18502 as v3 onion service directories. Resolves ticket 19899.
18504 o Minor features (linting):
18505 - Enhance the changes file linter to warn on Tor versions that are
18506 prefixed with "tor-". Closes ticket 21096.
18508 o Minor features (logging):
18509 - In several places, describe unset ed25519 keys as "<unset>",
18510 rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
18512 o Minor bugfix (control protocol):
18513 - The reply to a "GETINFO config/names" request via the control
18514 protocol now spells the type "Dependent" correctly. This is a
18515 breaking change in the control protocol. (The field seems to be
18516 ignored by the most common known controllers.) Fixes bug 18146;
18517 bugfix on 0.1.1.4-alpha.
18519 o Minor bugfixes (bug resilience):
18520 - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
18521 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
18522 Hans Jerry Illikainen.
18524 o Minor bugfixes (build):
18525 - Replace obsolete Autoconf macros with their modern equivalent and
18526 prevent similar issues in the future. Fixes bug 20990; bugfix
18529 o Minor bugfixes (client, guards):
18530 - Fix bug where Tor would think that there are circuits waiting for
18531 better guards even though those circuits have been freed. Fixes
18532 bug 21142; bugfix on 0.3.0.1-alpha.
18534 o Minor bugfixes (config):
18535 - Don't assert on startup when trying to get the options list and
18536 LearnCircuitBuildTimeout is set to 0: we are currently parsing the
18537 options so of course they aren't ready yet. Fixes bug 21062;
18538 bugfix on 0.2.9.3-alpha.
18540 o Minor bugfixes (controller):
18541 - Make the GETINFO interface for inquiring about entry guards
18542 support the new guards backend. Fixes bug 20823; bugfix
18545 o Minor bugfixes (dead code):
18546 - Remove a redundant check for PidFile changes at runtime in
18547 options_transition_allowed(): this check is already performed
18548 regardless of whether the sandbox is active. Fixes bug 21123;
18549 bugfix on 0.2.5.4-alpha.
18551 o Minor bugfixes (documentation):
18552 - Update the tor manual page to document every option that can not
18553 be changed while tor is running. Fixes bug 21122.
18555 o Minor bugfixes (fallback directories):
18556 - Stop failing when a relay has no uptime data in
18557 updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
18558 - Avoid checking fallback candidates' DirPorts if they are down in
18559 OnionOO. When a relay operator has multiple relays, this
18560 prioritizes relays that are up over relays that are down. Fixes
18561 bug 20926; bugfix on 0.2.8.3-alpha.
18562 - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
18563 Fixes bug 20877; bugfix on 0.2.8.3-alpha.
18565 o Minor bugfixes (guards, bootstrapping):
18566 - When connecting to a directory guard during bootstrap, do not mark
18567 the guard as successful until we receive a good-looking directory
18568 response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
18570 o Minor bugfixes (onion services):
18571 - Fix the config reload pruning of old vs new services so it
18572 actually works when both ephemeral and non-ephemeral services are
18573 configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
18574 - Allow the number of introduction points to be as low as 0, rather
18575 than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
18577 o Minor bugfixes (IPv6):
18578 - Make IPv6-using clients try harder to find an IPv6 directory
18579 server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
18580 - When IPv6 addresses have not been downloaded yet (microdesc
18581 consensus documents don't list relay IPv6 addresses), use hard-
18582 coded addresses for authorities, fallbacks, and configured
18583 bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
18584 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
18586 o Minor bugfixes (memory leaks):
18587 - Fix a memory leak when configuring hidden services. Fixes bug
18588 20987; bugfix on 0.3.0.1-alpha.
18590 o Minor bugfixes (portability, also in 0.2.9.9):
18591 - Avoid crashing when Tor is built using headers that contain
18592 CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
18593 without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
18595 - Fix Libevent detection on platforms without Libevent 1 headers
18596 installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
18598 o Minor bugfixes (relay):
18599 - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
18600 initializing the keys would reset the DataDirectory to 0700
18601 instead of 0750 even if DataDirectoryGroupReadable was set to 1.
18602 Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
18604 o Minor bugfixes (testing):
18605 - Remove undefined behavior from the backtrace generator by removing
18606 its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
18608 o Minor bugfixes (unit tests):
18609 - Allow the unit tests to pass even when DNS lookups of bogus
18610 addresses do not fail as expected. Fixes bug 20862 and 20863;
18611 bugfix on unit tests introduced in 0.2.8.1-alpha
18612 through 0.2.9.4-alpha.
18614 o Code simplification and refactoring:
18615 - Refactor code to manipulate global_origin_circuit_list into
18616 separate functions. Closes ticket 20921.
18618 o Documentation (formatting):
18619 - Clean up formatting of tor.1 man page and HTML doc, where <pre>
18620 blocks were incorrectly appearing. Closes ticket 20885.
18622 o Documentation (man page):
18623 - Clarify many options in tor.1 and add some min/max values for
18624 HiddenService options. Closes ticket 21058.
18627 Changes in version 0.2.9.9 - 2017-01-23
18628 Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
18629 cause relays and clients to crash, even if they were not built with
18630 the --enable-expensive-hardening option. This bug affects all 0.2.9.x
18631 versions, and also affects 0.3.0.1-alpha: all relays running an affected
18632 version should upgrade.
18634 This release also resolves a client-side onion service reachability
18635 bug, and resolves a pair of small portability issues.
18637 o Major bugfixes (security):
18638 - Downgrade the "-ftrapv" option from "always on" to "only on when
18639 --enable-expensive-hardening is provided." This hardening option,
18640 like others, can turn survivable bugs into crashes -- and having
18641 it on by default made a (relatively harmless) integer overflow bug
18642 into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
18643 bugfix on 0.2.9.1-alpha.
18645 o Major bugfixes (client, onion service):
18646 - Fix a client-side onion service reachability bug, where multiple
18647 socks requests to an onion service (or a single slow request)
18648 could cause us to mistakenly mark some of the service's
18649 introduction points as failed, and we cache that failure so
18650 eventually we run out and can't reach the service. Also resolves a
18651 mysterious "Remote server sent bogus reason code 65021" log
18652 warning. The bug was introduced in ticket 17218, where we tried to
18653 remember the circuit end reason as a uint16_t, which mangled
18654 negative values. Partially fixes bug 21056 and fixes bug 20307;
18655 bugfix on 0.2.8.1-alpha.
18657 o Minor features (geoip):
18658 - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
18661 o Minor bugfixes (portability):
18662 - Avoid crashing when Tor is built using headers that contain
18663 CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
18664 without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
18666 - Fix Libevent detection on platforms without Libevent 1 headers
18667 installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
18670 Changes in version 0.3.0.1-alpha - 2016-12-19
18671 Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
18672 series. It strengthens Tor's link and circuit handshakes by
18673 identifying relays by their Ed25519 keys, improves the algorithm that
18674 clients use to choose and maintain their list of guards, and includes
18675 additional backend support for the next-generation hidden service
18676 design. It also contains numerous other small features and
18677 improvements to security, correctness, and performance.
18679 Below are the changes since 0.2.9.8.
18681 o Major features (guard selection algorithm):
18682 - Tor's guard selection algorithm has been redesigned from the
18683 ground up, to better support unreliable networks and restrictive
18684 sets of entry nodes, and to better resist guard-capture attacks by
18685 hostile local networks. Implements proposal 271; closes
18688 o Major features (next-generation hidden services):
18689 - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
18690 prop224 aka "Next Generation Hidden Services". Service and clients
18691 don't use this functionality yet. Closes ticket 19043. Based on
18692 initial code by Alec Heifetz.
18693 - Relays now support the HSDir version 3 protocol, so that they can
18694 can store and serve v3 descriptors. This is part of the next-
18695 generation onion service work detailed in proposal 224. Closes
18698 o Major features (protocol, ed25519 identity keys):
18699 - Relays now use Ed25519 to prove their Ed25519 identities and to
18700 one another, and to clients. This algorithm is faster and more
18701 secure than the RSA-based handshake we've been doing until now.
18702 Implements the second big part of proposal 220; Closes
18704 - Clients now support including Ed25519 identity keys in the EXTEND2
18705 cells they generate. By default, this is controlled by a consensus
18706 parameter, currently disabled. You can turn this feature on for
18707 testing by setting ExtendByEd25519ID in your configuration. This
18708 might make your traffic appear different than the traffic
18709 generated by other users, however. Implements part of ticket
18710 15056; part of proposal 220.
18711 - Relays now understand requests to extend to other relays by their
18712 Ed25519 identity keys. When an Ed25519 identity key is included in
18713 an EXTEND2 cell, the relay will only extend the circuit if the
18714 other relay can prove ownership of that identity. Implements part
18715 of ticket 15056; part of proposal 220.
18717 o Major bugfixes (scheduler):
18718 - Actually compare circuit policies in ewma_cmp_cmux(). This bug
18719 caused the channel scheduler to behave more or less randomly,
18720 rather than preferring channels with higher-priority circuits.
18721 Fixes bug 20459; bugfix on 0.2.6.2-alpha.
18723 o Minor features (controller):
18724 - When HSFETCH arguments cannot be parsed, say "Invalid argument"
18725 rather than "unrecognized." Closes ticket 20389; patch from
18728 o Minor features (diagnostic, directory client):
18729 - Warn when we find an unexpected inconsistency in directory
18730 download status objects. Prevents some negative consequences of
18733 o Minor features (directory authority):
18734 - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
18735 default) to control whether authorities should try to probe relays
18736 by their Ed25519 link keys. This option will go away in a few
18737 releases--unless we encounter major trouble in our ed25519 link
18738 protocol rollout, in which case it will serve as a safety option.
18740 o Minor features (directory cache):
18741 - Relays and bridges will now refuse to serve the consensus they
18742 have if they know it is too old for a client to use. Closes
18745 o Minor features (ed25519 link handshake):
18746 - Advertise support for the ed25519 link handshake using the
18747 subprotocol-versions mechanism, so that clients can tell which
18748 relays can identity themselves by Ed25519 ID. Closes ticket 20552.
18750 o Minor features (fingerprinting resistance, authentication):
18751 - Extend the length of RSA keys used for TLS link authentication to
18752 2048 bits. (These weren't used for forward secrecy; for forward
18753 secrecy, we used P256.) Closes ticket 13752.
18755 o Minor features (infrastructure):
18756 - Implement smartlist_add_strdup() function. Replaces the use of
18757 smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
18759 o Minor bugfixes (client):
18760 - When clients that use bridges start up with a cached consensus on
18761 disk, they were ignoring it and downloading a new one. Now they
18762 use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
18764 o Minor bugfixes (configuration):
18765 - Accept non-space whitespace characters after the severity level in
18766 the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
18767 - Support "TByte" and "TBytes" units in options given in bytes.
18768 "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
18769 supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
18771 o Minor bugfixes (consensus weight):
18772 - Add new consensus method that initializes bw weights to 1 instead
18773 of 0. This prevents a zero weight from making it all the way to
18774 the end (happens in small testing networks) and causing an error.
18775 Fixes bug 14881; bugfix on 0.2.2.17-alpha.
18777 o Minor bugfixes (descriptors):
18778 - Correctly recognise downloaded full descriptors as valid, even
18779 when using microdescriptors as circuits. This affects clients with
18780 FetchUselessDescriptors set, and may affect directory authorities.
18781 Fixes bug 20839; bugfix on 0.2.3.2-alpha.
18783 o Minor bugfixes (directory system):
18784 - Download all consensus flavors, descriptors, and authority
18785 certificates when FetchUselessDescriptors is set, regardless of
18786 whether tor is a directory cache or not. Fixes bug 20667; bugfix
18787 on all recent tor versions.
18788 - Bridges and relays now use microdescriptors (like clients do)
18789 rather than old-style router descriptors. Now bridges will blend
18790 in with clients in terms of the circuits they build. Fixes bug
18791 6769; bugfix on 0.2.3.2-alpha.
18793 o Minor bugfixes (ed25519 certificates):
18794 - Correctly interpret ed25519 certificates that would expire some
18795 time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
18797 o Minor bugfixes (hidden services):
18798 - Stop ignoring misconfigured hidden services. Instead, refuse to
18799 start tor until the misconfigurations have been corrected. Fixes
18800 bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
18803 o Minor bugfixes (memory leak at exit):
18804 - Fix a small harmless memory leak at exit of the previously unused
18805 RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
18808 o Minor bugfixes (util):
18809 - When finishing writing a file to disk, if we were about to replace
18810 the file with the temporary file created before and we fail to
18811 replace it, remove the temporary file so it doesn't stay on disk.
18812 Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
18814 o Minor bugfixes (Windows):
18815 - Check for getpagesize before using it to mmap files. This fixes
18816 compilation in some MinGW environments. Fixes bug 20530; bugfix on
18817 0.1.2.1-alpha. Reported by "ice".
18819 o Code simplification and refactoring:
18820 - Abolish all global guard context in entrynodes.c; replace with new
18821 guard_selection_t structure as preparation for proposal 271.
18822 Closes ticket 19858.
18823 - Introduce rend_service_is_ephemeral() that tells if given onion
18824 service is ephemeral. Replace unclear NULL-checkings for service
18825 directory with this function. Closes ticket 20526.
18826 - Extract magic numbers in circuituse.c into defined variables.
18827 - Refactor circuit_is_available_for_use to remove unnecessary check.
18828 - Refactor circuit_predict_and_launch_new for readability and
18829 testability. Closes ticket 18873.
18830 - Refactor large if statement in purpose_needs_anonymity to use
18831 switch statement instead. Closes part of ticket 20077.
18832 - Refactor the hashing API to return negative values for errors, as
18833 is done as throughout the codebase. Closes ticket 20717.
18834 - Remove data structures that were used to index or_connection
18835 objects by their RSA identity digests. These structures are fully
18836 redundant with the similar structures used in the
18837 channel abstraction.
18838 - Remove duplicate code in the channel_write_*cell() functions.
18839 Closes ticket 13827; patch from Pingl.
18840 - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
18841 use only purpose_needs_anonymity. Closes part of ticket 20077.
18842 - The code to generate and parse EXTEND and EXTEND2 cells has been
18843 replaced with code automatically generated by the
18847 - Include the "TBits" unit in Tor's man page. Fixes part of bug
18848 20622; bugfix on 0.2.5.1-alpha.
18849 - Change '1' to 'weight_scale' in consensus bw weights calculation
18850 comments, as that is reality. Closes ticket 20273. Patch
18852 - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
18853 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
18855 - Stop the man page from incorrectly stating that HiddenServiceDir
18856 must already exist. Fixes 20486.
18857 - Clarify that when ClientRejectInternalAddresses is enabled (which
18858 is the default), multicast DNS hostnames for machines on the local
18859 network (of the form *.local) are also rejected. Closes
18862 o Removed features:
18863 - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
18864 limit for relays running on a single IP applies to authority IP
18865 addresses as well as to non-authority IP addresses. Closes
18867 - The UseDirectoryGuards torrc option no longer exists: all users
18868 that use entry guards will also use directory guards. Related to
18869 proposal 271; implements part of ticket 20831.
18872 - New unit tests for tor_htonll(). Closes ticket 19563. Patch
18873 from "overcaffeinated".
18874 - Perform the coding style checks when running the tests and fail
18875 when coding style violations are found. Closes ticket 5500.
18876 - Add tests for networkstatus_compute_bw_weights_v10.
18877 - Add unit tests circuit_predict_and_launch_new.
18878 - Extract dummy_origin_circuit_new so it can be used by other
18882 Changes in version 0.2.8.12 - 2016-12-19
18883 Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
18884 below) where Tor clients could crash when attempting to visit a
18885 hostile hidden service. Clients are recommended to upgrade as packages
18886 become available for their systems.
18888 It also includes an updated list of fallback directories, backported
18891 Now that the Tor 0.2.9 series is stable, only major bugfixes will be
18892 backported to 0.2.8 in the future.
18894 o Major bugfixes (parsing, security, backported from 0.2.9.8):
18895 - Fix a bug in parsing that could cause clients to read a single
18896 byte past the end of an allocated region. This bug could be used
18897 to cause hardened clients (built with --enable-expensive-hardening)
18898 to crash if they tried to visit a hostile hidden service. Non-
18899 hardened clients are only affected depending on the details of
18900 their platform's memory allocator. Fixes bug 21018; bugfix on
18901 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
18902 2016-12-002 and as CVE-2016-1254.
18904 o Minor features (fallback directory list, backported from 0.2.9.8):
18905 - Replace the 81 remaining fallbacks of the 100 originally
18906 introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
18907 fallbacks (123 new, 54 existing, 27 removed) generated in December
18908 2016. Resolves ticket 20170.
18910 o Minor features (geoip, backported from 0.2.9.7-rc):
18911 - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
18915 Changes in version 0.2.9.8 - 2016-12-19
18916 Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
18918 The Tor 0.2.9 series makes mandatory a number of security features
18919 that were formerly optional. It includes support for a new shared-
18920 randomness protocol that will form the basis for next generation
18921 hidden services, includes a single-hop hidden service mode for
18922 optimizing .onion services that don't actually want to be hidden,
18923 tries harder not to overload the directory authorities with excessive
18924 downloads, and supports a better protocol versioning scheme for
18925 improved compatibility with other implementations of the Tor protocol.
18927 And of course, there are numerous other bugfixes and improvements.
18929 This release also includes a fix for a medium-severity issue (bug
18930 21018 below) where Tor clients could crash when attempting to visit a
18931 hostile hidden service. Clients are recommended to upgrade as packages
18932 become available for their systems.
18934 Below are the changes since 0.2.9.7-rc. For a list of all changes
18935 since 0.2.8, see the ReleaseNotes file.
18937 o Major bugfixes (parsing, security):
18938 - Fix a bug in parsing that could cause clients to read a single
18939 byte past the end of an allocated region. This bug could be used
18940 to cause hardened clients (built with --enable-expensive-hardening)
18941 to crash if they tried to visit a hostile hidden service. Non-
18942 hardened clients are only affected depending on the details of
18943 their platform's memory allocator. Fixes bug 21018; bugfix on
18944 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
18945 2016-12-002 and as CVE-2016-1254.
18947 o Minor features (fallback directory list):
18948 - Replace the 81 remaining fallbacks of the 100 originally
18949 introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
18950 fallbacks (123 new, 54 existing, 27 removed) generated in December
18951 2016. Resolves ticket 20170.
18954 Changes in version 0.2.9.7-rc - 2016-12-12
18955 Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
18956 including a few that had prevented tests from passing on
18959 o Minor features (geoip):
18960 - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
18963 o Minor bugfix (build):
18964 - The current Git revision when building from a local repository is
18965 now detected correctly when using git worktrees. Fixes bug 20492;
18966 bugfix on 0.2.3.9-alpha.
18968 o Minor bugfixes (directory authority):
18969 - When computing old Tor protocol line version in protover, we were
18970 looking at 0.2.7.5 twice instead of a specific case for
18971 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
18973 o Minor bugfixes (download scheduling):
18974 - Resolve a "bug" warning when considering a download schedule whose
18975 delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
18977 o Minor bugfixes (logging):
18978 - Downgrade a harmless log message about the
18979 pending_entry_connections list from "warn" to "info". Mitigates
18982 o Minor bugfixes (memory leak):
18983 - Fix a small memory leak when receiving AF_UNIX connections on a
18984 SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
18985 - When moving a signed descriptor object from a source to an
18986 existing destination, free the allocated memory inside that
18987 destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
18989 o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
18990 - Fix a memory leak and use-after-free error when removing entries
18991 from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
18992 0.2.5.5-alpha. Patch from "cypherpunks".
18994 o Minor bugfixes (portability):
18995 - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
18996 Fixes bug 20935; bugfix on 0.2.9.6-rc.
18998 o Minor bugfixes (unit tests):
18999 - Stop expecting NetBSD unit tests to report success for ipfw. Part
19000 of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
19001 - Fix tolerances in unit tests for monotonic time comparisons
19002 between nanoseconds and microseconds. Previously, we accepted a 10
19003 us difference only, which is not realistic on every platform's
19004 clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
19005 - Remove a double-free in the single onion service unit test. Stop
19006 ignoring a return value. Make future changes less error-prone.
19007 Fixes bug 20864; bugfix on 0.2.9.6-rc.
19010 Changes in version 0.2.8.11 - 2016-12-08
19011 Tor 0.2.8.11 backports fixes for additional portability issues that
19012 could prevent Tor from building correctly on OSX Sierra, or with
19013 OpenSSL 1.1. Affected users should upgrade; others can safely stay
19016 o Minor bugfixes (portability):
19017 - Avoid compilation errors when building on OSX Sierra. Sierra began
19018 to support the getentropy() and clock_gettime() APIs, but created
19019 a few problems in doing so. Tor 0.2.9 has a more thorough set of
19020 workarounds; in 0.2.8, we are just using the /dev/urandom and mach
19021 monotonic time interfaces. Fixes bug 20865. Bugfix
19024 o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
19025 - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
19026 architectures. Closes ticket 20588.
19029 Changes in version 0.2.8.10 - 2016-12-02
19030 Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
19031 unusable after they left standby mode. It also backports fixes for
19032 a few portability issues and a small but problematic memory leak.
19034 o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
19035 - When Tor leaves standby because of a new application request, open
19036 circuits as needed to serve that request. Previously, we would
19037 potentially wait a very long time. Fixes part of bug 19969; bugfix
19040 o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
19041 - Clients now respond to new application stream requests immediately
19042 when they arrive, rather than waiting up to one second before
19043 starting to handle them. Fixes part of bug 19969; bugfix
19046 o Minor bugfixes (portability, backport from 0.2.9.6-rc):
19047 - Work around a bug in the OSX 10.12 SDK that would prevent us from
19048 successfully targeting earlier versions of OSX. Resolves
19051 o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
19052 - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
19053 20551; bugfix on 0.2.1.1-alpha.
19055 o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
19056 - Work around a memory leak in OpenSSL 1.1 when encoding public
19057 keys. Fixes bug 20553; bugfix on 0.0.2pre8.
19059 o Minor features (geoip):
19060 - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
19063 Changes in version 0.2.9.6-rc - 2016-12-02
19064 Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
19065 version. We hope that it will be ready to become stable soon, and we
19066 encourage everyone to test this release. If no showstopper bugs are
19067 found here, the next 0.2.9 release will be stable.
19069 o Major bugfixes (relay, resolver, logging):
19070 - For relays that don't know their own address, avoid attempting a
19071 local hostname resolve for each descriptor we download. This
19072 will cut down on the number of "Success: chose address 'x.x.x.x'"
19073 log lines, and also avoid confusing clock jumps if the resolver
19074 is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
19076 o Minor bugfixes (client, fascistfirewall):
19077 - Avoid spurious warnings when ReachableAddresses or FascistFirewall
19078 is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
19080 o Minor bugfixes (hidden services):
19081 - Stop ignoring the anonymity status of saved keys for hidden
19082 services and single onion services when first starting tor.
19083 Instead, refuse to start tor if any hidden service key has been
19084 used in a different hidden service anonymity mode. Fixes bug
19085 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
19087 o Minor bugfixes (portability):
19088 - Work around a bug in the OSX 10.12 SDK that would prevent us from
19089 successfully targeting earlier versions of OSX. Resolves
19091 - Run correctly when built on Windows build environments that
19092 require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
19094 o Minor bugfixes (single onion services, Tor2web):
19095 - Stop complaining about long-term one-hop circuits deliberately
19096 created by single onion services and Tor2web. These log messages
19097 are intended to diagnose issue 8387, which relates to circuits
19098 hanging around forever for no reason. Fixes bug 20613; bugfix on
19099 0.2.9.1-alpha. Reported by "pastly".
19101 o Minor bugfixes (unit tests):
19102 - Stop spurious failures in the local interface address discovery
19103 unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
19107 - Correct the minimum bandwidth value in torrc.sample, and queue a
19108 corresponding change for torrc.minimal. Closes ticket 20085.
19111 Changes in version 0.2.9.5-alpha - 2016-11-08
19112 Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
19113 version. We believe one or two probably remain, and we encourage
19114 everyone to test this release.
19116 o Major bugfixes (client performance):
19117 - Clients now respond to new application stream requests immediately
19118 when they arrive, rather than waiting up to one second before
19119 starting to handle them. Fixes part of bug 19969; bugfix
19122 o Major bugfixes (client reliability):
19123 - When Tor leaves standby because of a new application request, open
19124 circuits as needed to serve that request. Previously, we would
19125 potentially wait a very long time. Fixes part of bug 19969; bugfix
19128 o Major bugfixes (download scheduling):
19129 - When using an exponential backoff schedule, do not give up on
19130 downloading just because we have failed a bunch of times. Since
19131 each delay is longer than the last, retrying indefinitely won't
19132 hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
19133 - If a consensus expires while we are waiting for certificates to
19134 download, stop waiting for certificates.
19135 - If we stop waiting for certificates less than a minute after we
19136 started downloading them, do not consider the certificate download
19137 failure a separate failure. Fixes bug 20533; bugfix
19139 - Remove the maximum delay on exponential-backoff scheduling. Since
19140 we now allow an infinite number of failures (see ticket 20536), we
19141 must now allow the time to grow longer on each failure. Fixes part
19142 of bug 20534; bugfix on 0.2.9.1-alpha.
19143 - Make our initial download delays closer to those from 0.2.8. Fixes
19144 another part of bug 20534; bugfix on 0.2.9.1-alpha.
19145 - When determining when to download a directory object, handle times
19146 after 2038 if the operating system supports them. (Someday this
19147 will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
19148 - When using exponential backoff in test networks, use a lower
19149 exponent, so the delays do not vary as much. This helps test
19150 networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
19152 o Minor features (geoip):
19153 - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
19156 o Minor bugfixes (client directory scheduling):
19157 - Treat "relay too busy to answer request" as a failed request and a
19158 reason to back off on our retry frequency. This is safe now that
19159 exponential backoffs retry indefinitely, and avoids a bug where we
19160 would reset our download schedule erroneously. Fixes bug 20593;
19161 bugfix on 0.2.9.1-alpha.
19163 o Minor bugfixes (client, logging):
19164 - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
19165 assume all nodes support EXTEND2. Use ntor whenever a key is
19166 available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
19167 - On DNSPort, stop logging a BUG warning on a failed hostname
19168 lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
19170 o Minor bugfixes (hidden services):
19171 - When configuring hidden services, check every hidden service
19172 directory's permissions. Previously, we only checked the last
19173 hidden service. Fixes bug 20529; bugfix the work to fix 13942
19176 o Minor bugfixes (portability):
19177 - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
19178 architectures. Closes ticket 20588.
19179 - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
19180 removed the ECDH ciphers which caused the tests to fail on
19181 platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
19182 - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
19183 20551; bugfix on 0.2.1.1-alpha.
19185 o Minor bugfixes (relay bootstrap):
19186 - Ensure relays don't make multiple connections during bootstrap.
19187 Fixes bug 20591; bugfix on 0.2.8.1-alpha.
19189 o Minor bugfixes (relay):
19190 - Work around a memory leak in OpenSSL 1.1 when encoding public
19191 keys. Fixes bug 20553; bugfix on 0.0.2pre8.
19192 - Avoid a small memory leak when informing worker threads about
19193 rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
19194 - Do not try to parallelize workers more than 16x without the user
19195 explicitly configuring us to do so, even if we do detect more than
19196 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
19198 o Minor bugfixes (single onion services):
19199 - Start correctly when creating a single onion service in a
19200 directory that did not previously exist. Fixes bug 20484; bugfix
19203 o Minor bugfixes (testing):
19204 - Avoid a unit test failure on systems with over 16 detectable CPU
19205 cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
19208 - Clarify that setting HiddenServiceNonAnonymousMode requires you to
19209 also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
19210 - Module-level documentation for several more modules. Closes
19211 tickets 19287 and 19290.
19214 Changes in version 0.2.8.9 - 2016-10-17
19215 Tor 0.2.8.9 backports a fix for a security hole in previous versions
19216 of Tor that would allow a remote attacker to crash a Tor client,
19217 hidden service, relay, or authority. All Tor users should upgrade to
19218 this version, or to 0.2.9.4-alpha. Patches will be released for older
19221 o Major features (security fixes, also in 0.2.9.4-alpha):
19222 - Prevent a class of security bugs caused by treating the contents
19223 of a buffer chunk as if they were a NUL-terminated string. At
19224 least one such bug seems to be present in all currently used
19225 versions of Tor, and would allow an attacker to remotely crash
19226 most Tor instances, especially those compiled with extra compiler
19227 hardening. With this defense in place, such bugs can't crash Tor,
19228 though we should still fix them as they occur. Closes ticket
19229 20384 (TROVE-2016-10-001).
19231 o Minor features (geoip):
19232 - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
19236 Changes in version 0.2.9.4-alpha - 2016-10-17
19237 Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
19238 that would allow a remote attacker to crash a Tor client, hidden
19239 service, relay, or authority. All Tor users should upgrade to this
19240 version, or to 0.2.8.9. Patches will be released for older versions
19243 Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
19244 previous versions of Tor, including the implementation of a feature to
19245 future- proof the Tor ecosystem against protocol changes, some bug
19246 fixes necessary for Tor Browser to use unix domain sockets correctly,
19247 and several portability improvements. We anticipate that this will be
19248 the last alpha in the Tor 0.2.9 series, and that the next release will
19249 be a release candidate.
19251 o Major features (security fixes):
19252 - Prevent a class of security bugs caused by treating the contents
19253 of a buffer chunk as if they were a NUL-terminated string. At
19254 least one such bug seems to be present in all currently used
19255 versions of Tor, and would allow an attacker to remotely crash
19256 most Tor instances, especially those compiled with extra compiler
19257 hardening. With this defense in place, such bugs can't crash Tor,
19258 though we should still fix them as they occur. Closes ticket
19259 20384 (TROVE-2016-10-001).
19261 o Major features (subprotocol versions):
19262 - Tor directory authorities now vote on a set of recommended
19263 subprotocol versions, and on a set of required subprotocol
19264 versions. Clients and relays that lack support for a _required_
19265 subprotocol version will not start; those that lack support for a
19266 _recommended_ subprotocol version will warn the user to upgrade.
19267 Closes ticket 19958; implements part of proposal 264.
19268 - Tor now uses "subprotocol versions" to indicate compatibility.
19269 Previously, versions of Tor looked at the declared Tor version of
19270 a relay to tell whether they could use a given feature. Now, they
19271 should be able to rely on its declared subprotocol versions. This
19272 change allows compatible implementations of the Tor protocol(s) to
19273 exist without pretending to be 100% bug-compatible with particular
19274 releases of Tor itself. Closes ticket 19958; implements part of
19277 o Minor feature (fallback directories):
19278 - Remove broken fallbacks from the hard-coded fallback directory
19279 list. Closes ticket 20190; patch by teor.
19281 o Minor features (client, directory):
19282 - Since authorities now omit all routers that lack the Running and
19283 Valid flags, we assume that any relay listed in the consensus must
19284 have those flags. Closes ticket 20001; implements part of
19287 o Minor features (compilation, portability):
19288 - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
19291 o Minor features (development tools, etags):
19292 - Teach the "make tags" Makefile target how to correctly find
19293 "MOCK_IMPL" function definitions. Patch from nherring; closes
19296 o Minor features (geoip):
19297 - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
19300 o Minor features (unix domain sockets):
19301 - When configuring a unix domain socket for a SocksPort,
19302 ControlPort, or Hidden service, you can now wrap the address in
19303 quotes, using C-style escapes inside the quotes. This allows unix
19304 domain socket paths to contain spaces.
19306 o Minor features (virtual addresses):
19307 - Increase the maximum number of bits for the IPv6 virtual network
19308 prefix from 16 to 104. In this way, the condition for address
19309 allocation is less restrictive. Closes ticket 20151; feature
19312 o Minor bugfixes (address discovery):
19313 - Stop reordering IP addresses returned by the OS. This makes it
19314 more likely that Tor will guess the same relay IP address every
19315 time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
19316 Reported by René Mayrhofer, patch by "cypherpunks".
19318 o Minor bugfixes (client, unix domain sockets):
19319 - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
19320 the client address is meaningless. Fixes bug 20261; bugfix
19323 o Minor bugfixes (compilation, OpenBSD):
19324 - Detect Libevent2 functions correctly on systems that provide
19325 libevent2, but where libevent1 is linked with -levent. Fixes bug
19326 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
19328 o Minor bugfixes (configuration):
19329 - When parsing quoted configuration values from the torrc file,
19330 handle windows line endings correctly. Fixes bug 19167; bugfix on
19331 0.2.0.16-alpha. Patch from "Pingl".
19333 o Minor bugfixes (getpass):
19334 - Defensively fix a non-triggerable heap corruption at do_getpass()
19335 to protect ourselves from mistakes in the future. Fixes bug
19336 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
19339 o Minor bugfixes (hidden service):
19340 - Allow hidden services to run on IPv6 addresses even when the
19341 IPv6Exit option is not set. Fixes bug 18357; bugfix
19345 - Add module-level internal documentation for 36 C files that
19346 previously didn't have a high-level overview. Closes ticket #20385.
19348 o Required libraries:
19349 - When building with OpenSSL, Tor now requires version 1.0.1 or
19350 later. OpenSSL 1.0.0 and earlier are no longer supported by the
19351 OpenSSL team, and should not be used. Closes ticket 20303.
19354 Changes in version 0.2.9.3-alpha - 2016-09-23
19355 Tor 0.2.9.3-alpha adds improved support for entities that want to make
19356 high-performance services available through the Tor .onion mechanism
19357 without themselves receiving anonymity as they host those services. It
19358 also tries harder to ensure that all steps on a circuit are using the
19359 strongest crypto possible, strengthens some TLS properties, and
19360 resolves several bugs -- including a pair of crash bugs from the 0.2.8
19361 series. Anybody running an earlier version of 0.2.9.x should upgrade.
19363 o Major bugfixes (crash, also in 0.2.8.8):
19364 - Fix a complicated crash bug that could affect Tor clients
19365 configured to use bridges when replacing a networkstatus consensus
19366 in which one of their bridges was mentioned. OpenBSD users saw
19367 more crashes here, but all platforms were potentially affected.
19368 Fixes bug 20103; bugfix on 0.2.8.2-alpha.
19370 o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
19371 - Fix a timing-dependent assertion failure that could occur when we
19372 tried to flush from a circuit after having freed its cells because
19373 of an out-of-memory condition. Fixes bug 20203; bugfix on
19374 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
19377 o Major features (circuit building, security):
19378 - Authorities, relays and clients now require ntor keys in all
19379 descriptors, for all hops (except for rare hidden service protocol
19380 cases), for all circuits, and for all other roles. Part of
19382 - Tor authorities, relays, and clients only use ntor, except for
19383 rare cases in the hidden service protocol. Part of ticket 19163.
19385 o Major features (single-hop "hidden" services):
19386 - Add experimental HiddenServiceSingleHopMode and
19387 HiddenServiceNonAnonymousMode options. When both are set to 1,
19388 every hidden service on a Tor instance becomes a non-anonymous
19389 Single Onion Service. Single Onions make one-hop (direct)
19390 connections to their introduction and rendezvous points. One-hop
19391 circuits make Single Onion servers easily locatable, but clients
19392 remain location-anonymous. This is compatible with the existing
19393 hidden service implementation, and works on the current tor
19394 network without any changes to older relays or clients. Implements
19395 proposal 260, completes ticket 17178. Patch by teor and asn.
19397 o Major features (resource management):
19398 - Tor can now notice it is about to run out of sockets, and
19399 preemptively close connections of lower priority. (This feature is
19400 off by default for now, since the current prioritizing method is
19401 yet not mature enough. You can enable it by setting
19402 "DisableOOSCheck 0", but watch out: it might close some sockets
19403 you would rather have it keep.) Closes ticket 18640.
19405 o Major bugfixes (circuit building):
19406 - Hidden service client-to-intro-point and service-to-rendezvous-
19407 point circuits use the TAP key supplied by the protocol, to avoid
19408 epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
19410 o Major bugfixes (compilation, OpenBSD):
19411 - Fix a Libevent-detection bug in our autoconf script that would
19412 prevent Tor from linking successfully on OpenBSD. Patch from
19413 rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
19415 o Major bugfixes (hidden services):
19416 - Clients now require hidden services to include the TAP keys for
19417 their intro points in the hidden service descriptor. This prevents
19418 an inadvertent upgrade to ntor, which a malicious hidden service
19419 could use to distinguish clients by consensus version. Fixes bug
19420 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
19422 o Minor features (security, TLS):
19423 - Servers no longer support clients that without AES ciphersuites.
19424 (3DES is no longer considered an acceptable cipher.) We believe
19425 that no such Tor clients currently exist, since Tor has required
19426 OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
19428 o Minor feature (fallback directories):
19429 - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
19430 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
19431 2016. Closes ticket 20190; patch by teor.
19433 o Minor features (geoip, also in 0.2.8.8):
19434 - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
19437 o Minor feature (port flags):
19438 - Add new flags to the *Port options to finer control over which
19439 requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
19440 and the synthetic flag OnionTrafficOnly, which is equivalent to
19441 NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
19442 18693; patch by "teor".
19444 o Minor features (directory authority):
19445 - After voting, if the authorities decide that a relay is not
19446 "Valid", they no longer include it in the consensus at all. Closes
19447 ticket 20002; implements part of proposal 272.
19449 o Minor features (testing):
19450 - Disable memory protections on OpenBSD when performing our unit
19451 tests for memwipe(). The test deliberately invokes undefined
19452 behavior, and the OpenBSD protections interfere with this. Patch
19453 from "rubiate". Closes ticket 20066.
19455 o Minor features (testing, ipv6):
19456 - Add the single-onion and single-onion-ipv6 chutney targets to
19457 "make test-network-all". This requires a recent chutney version
19458 with the single onion network flavours (git c72a652 or later).
19459 Closes ticket 20072; patch by teor.
19460 - Add the hs-ipv6 chutney target to make test-network-all's IPv6
19461 tests. Remove bridges+hs, as it's somewhat redundant. This
19462 requires a recent chutney version that supports IPv6 clients,
19463 relays, and authorities. Closes ticket 20069; patch by teor.
19465 o Minor features (Tor2web):
19466 - Make Tor2web clients respect ReachableAddresses. This feature was
19467 inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
19468 0.2.8.7. Implements feature 20034. Patch by teor.
19470 o Minor features (unit tests):
19471 - We've done significant work to make the unit tests run faster.
19472 - Our link-handshake unit tests now check that when invalid
19473 handshakes fail, they fail with the error messages we expected.
19474 - Our unit testing code that captures log messages no longer
19475 prevents them from being written out if the user asked for them
19476 (by passing --debug or --info or or --notice --warn to the "test"
19477 binary). This change prevents us from missing unexpected log
19478 messages simply because we were looking for others. Related to
19480 - The unit tests now log all warning messages with the "BUG" flag.
19481 Previously, they only logged errors by default. This change will
19482 help us make our testing code more correct, and make sure that we
19483 only hit this code when we mean to. In the meantime, however,
19484 there will be more warnings in the unit test logs than before.
19485 This is preparatory work for ticket 19999.
19486 - The unit tests now treat any failure of a "tor_assert_nonfatal()"
19487 assertion as a test failure.
19489 o Minor bug fixes (circuits):
19490 - Use the CircuitBuildTimeout option whenever
19491 LearnCircuitBuildTimeout is disabled. Previously, we would respect
19492 the option when a user disabled it, but not when it was disabled
19493 because some other option was set. Fixes bug 20073; bugfix on
19494 0.2.4.12-alpha. Patch by teor.
19496 o Minor bugfixes (allocation):
19497 - Change how we allocate memory for large chunks on buffers, to
19498 avoid a (currently impossible) integer overflow, and to waste less
19499 space when allocating unusually large chunks. Fixes bug 20081;
19500 bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
19501 - Always include orconfig.h before including any other C headers.
19502 Sometimes, it includes macros that affect the behavior of the
19503 standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
19504 first version to use AC_USE_SYSTEM_EXTENSIONS).
19505 - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
19506 compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
19507 Patch from Gisle Vanem.
19508 - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
19509 They apparently require a set of annotations that we aren't
19510 currently using, and they create false positives in our pthreads
19511 wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
19513 o Minor bugfixes (directory authority):
19514 - Die with a more useful error when the operator forgets to place
19515 the authority_signing_key file into the keys directory. This
19516 avoids an uninformative assert & traceback about having an invalid
19517 key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
19518 - When allowing private addresses, mark Exits that only exit to
19519 private locations as such. Fixes bug 20064; bugfix
19522 o Minor bugfixes (documentation):
19523 - Document the default PathsNeededToBuildCircuits value that's used
19524 by clients when the directory authorities don't set
19525 min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
19526 in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
19527 - Fix manual for the User option: it takes a username, not a UID.
19528 Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
19531 o Minor bugfixes (hidden services):
19532 - Stop logging intro point details to the client log on certain
19533 error conditions. Fixed as part of bug 20012; bugfix on
19534 0.2.4.8-alpha. Patch by teor.
19536 o Minor bugfixes (IPv6, testing):
19537 - Check for IPv6 correctly on Linux when running test networks.
19538 Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
19540 o Minor bugfixes (Linux seccomp2 sandbox):
19541 - Add permission to run the sched_yield() and sigaltstack() system
19542 calls, in order to support versions of Tor compiled with asan or
19543 ubsan code that use these calls. Now "sandbox 1" and
19544 "--enable-expensive-hardening" should be compatible on more
19545 systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
19547 o Minor bugfixes (logging):
19548 - When logging a message from the BUG() macro, be explicit about
19549 what we were asserting. Previously we were confusing what we were
19550 asserting with what the bug was. Fixes bug 20093; bugfix
19552 - When we are unable to remove the bw_accounting file, do not warn
19553 if the reason we couldn't remove it was that it didn't exist.
19554 Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
19556 o Minor bugfixes (option parsing):
19557 - Count unix sockets when counting client listeners (SOCKS, Trans,
19558 NATD, and DNS). This has no user-visible behaviour changes: these
19559 options are set once, and never read. Required for correct
19560 behaviour in ticket 17178. Fixes bug 19677; bugfix on
19561 0.2.6.3-alpha. Patch by teor.
19563 o Minor bugfixes (options):
19564 - Check the consistency of UseEntryGuards and EntryNodes more
19565 reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
19567 - Stop changing the configured value of UseEntryGuards on
19568 authorities and Tor2web clients. Fixes bug 20074; bugfix on
19569 commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
19572 o Minor bugfixes (Tor2web):
19573 - Prevent Tor2web clients running hidden services, these services
19574 are not anonymous due to the one-hop client paths. Fixes bug
19575 19678. Patch by teor.
19577 o Minor bugfixes (unit tests):
19578 - Fix a shared-random unit test that was failing on big endian
19579 architectures due to internal representation of a integer copied
19580 to a buffer. The test is changed to take a full 32 bytes of data
19581 and use the output of a python script that make the COMMIT and
19582 REVEAL calculation according to the spec. Fixes bug 19977; bugfix
19584 - The tor_tls_server_info_callback unit test no longer crashes when
19585 debug-level logging is turned on. Fixes bug 20041; bugfix
19589 Changes in version 0.2.8.8 - 2016-09-23
19590 Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
19591 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
19592 who select public relays as their bridges.
19594 o Major bugfixes (crash):
19595 - Fix a complicated crash bug that could affect Tor clients
19596 configured to use bridges when replacing a networkstatus consensus
19597 in which one of their bridges was mentioned. OpenBSD users saw
19598 more crashes here, but all platforms were potentially affected.
19599 Fixes bug 20103; bugfix on 0.2.8.2-alpha.
19601 o Major bugfixes (relay, OOM handler):
19602 - Fix a timing-dependent assertion failure that could occur when we
19603 tried to flush from a circuit after having freed its cells because
19604 of an out-of-memory condition. Fixes bug 20203; bugfix on
19605 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
19608 o Minor feature (fallback directories):
19609 - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
19610 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
19611 2016. Closes ticket 20190; patch by teor.
19613 o Minor features (geoip):
19614 - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
19618 Changes in version 0.2.9.2-alpha - 2016-08-24
19619 Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
19620 several new features and bugfixes. It also includes an important
19621 authority update and an important bugfix from 0.2.8.7. Everyone who
19622 sets the ReachableAddresses option, and all bridges, are strongly
19623 encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
19625 o Directory authority changes (also in 0.2.8.7):
19626 - The "Tonga" bridge authority has been retired; the new bridge
19627 authority is "Bifroest". Closes tickets 19728 and 19690.
19629 o Major bugfixes (client, security, also in 0.2.8.7):
19630 - Only use the ReachableAddresses option to restrict the first hop
19631 in a path. In earlier versions of 0.2.8.x, it would apply to
19632 every hop in the path, with a possible degradation in anonymity
19633 for anyone using an uncommon ReachableAddress setting. Fixes bug
19634 19973; bugfix on 0.2.8.2-alpha.
19636 o Major features (user interface):
19637 - Tor now supports the ability to declare options deprecated, so
19638 that we can recommend that people stop using them. Previously,
19639 this was done in an ad-hoc way. Closes ticket 19820.
19641 o Major bugfixes (directory downloads):
19642 - Avoid resetting download status for consensuses hourly, since we
19643 already have another, smarter retry mechanism. Fixes bug 8625;
19644 bugfix on 0.2.0.9-alpha.
19646 o Minor features (config):
19647 - Warn users when descriptor and port addresses are inconsistent.
19648 Mitigates bug 13953; patch by teor.
19650 o Minor features (geoip):
19651 - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
19654 o Minor features (user interface):
19655 - There is a new --list-deprecated-options command-line option to
19656 list all of the deprecated options. Implemented as part of
19659 o Minor bugfixes (code style):
19660 - Fix an integer signedness conversion issue in the case conversion
19661 tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
19663 o Minor bugfixes (compilation):
19664 - Build correctly on versions of libevent2 without support for
19665 evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
19667 - Fix a compilation warning on GCC versions before 4.6. Our
19668 ENABLE_GCC_WARNING macro used the word "warning" as an argument,
19669 when it is also required as an argument to the compiler pragma.
19670 Fixes bug 19901; bugfix on 0.2.9.1-alpha.
19672 o Minor bugfixes (compilation, also in 0.2.8.7):
19673 - Remove an inappropriate "inline" in tortls.c that was causing
19674 warnings on older versions of GCC. Fixes bug 19903; bugfix
19677 o Minor bugfixes (fallback directories, also in 0.2.8.7):
19678 - Avoid logging a NULL string pointer when loading fallback
19679 directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
19680 and 0.2.8.1-alpha. Report and patch by "rubiate".
19682 o Minor bugfixes (logging):
19683 - Log a more accurate message when we fail to dump a microdescriptor.
19684 Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
19686 o Minor bugfixes (memory leak):
19687 - Fix a series of slow memory leaks related to parsing torrc files
19688 and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
19690 o Deprecated features:
19691 - A number of DNS-cache-related sub-options for client ports are now
19692 deprecated for security reasons, and may be removed in a future
19693 version of Tor. (We believe that client-side DNS caching is a bad
19694 idea for anonymity, and you should not turn it on.) The options
19695 are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
19696 UseIPv4Cache, and UseIPv6Cache.
19697 - A number of options are deprecated for security reasons, and may
19698 be removed in a future version of Tor. The options are:
19699 AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
19700 AllowSingleHopExits, ClientDNSRejectInternalAddresses,
19701 CloseHSClientCircuitsImmediatelyOnTimeout,
19702 CloseHSServiceRendCircuitsImmediatelyOnTimeout,
19703 ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
19704 UseNTorHandshake, and WarnUnsafeSocks.
19705 - The *ListenAddress options are now deprecated as unnecessary: the
19706 corresponding *Port options should be used instead. These options
19707 may someday be removed. The affected options are:
19708 ControlListenAddress, DNSListenAddress, DirListenAddress,
19709 NATDListenAddress, ORListenAddress, SocksListenAddress,
19710 and TransListenAddress.
19713 - Correct the IPv6 syntax in our documentation for the
19714 VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
19717 - We no longer include the (dead, deprecated) bufferevent code in
19718 Tor. Closes ticket 19450. Based on a patch from U+039b.
19721 Changes in version 0.2.8.7 - 2016-08-24
19722 Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
19723 option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
19724 who sets the ReachableAddresses option, and all bridges, are strongly
19725 encouraged to upgrade.
19727 o Directory authority changes:
19728 - The "Tonga" bridge authority has been retired; the new bridge
19729 authority is "Bifroest". Closes tickets 19728 and 19690.
19731 o Major bugfixes (client, security):
19732 - Only use the ReachableAddresses option to restrict the first hop
19733 in a path. In earlier versions of 0.2.8.x, it would apply to
19734 every hop in the path, with a possible degradation in anonymity
19735 for anyone using an uncommon ReachableAddress setting. Fixes bug
19736 19973; bugfix on 0.2.8.2-alpha.
19738 o Minor features (geoip):
19739 - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
19742 o Minor bugfixes (compilation):
19743 - Remove an inappropriate "inline" in tortls.c that was causing
19744 warnings on older versions of GCC. Fixes bug 19903; bugfix
19747 o Minor bugfixes (fallback directories):
19748 - Avoid logging a NULL string pointer when loading fallback
19749 directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
19750 and 0.2.8.1-alpha. Report and patch by "rubiate".
19753 Changes in version 0.2.9.1-alpha - 2016-08-08
19754 Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
19755 series. It improves our support for hardened builds and compiler
19756 warnings, deploys some critical infrastructure for improvements to
19757 hidden services, includes a new timing backend that we hope to use for
19758 better support for traffic padding, makes it easier for programmers to
19759 log unexpected events, and contains other small improvements to
19760 security, correctness, and performance.
19762 Below are the changes since 0.2.8.6.
19764 o New system requirements:
19765 - Tor now requires Libevent version 2.0.10-stable or later. Older
19766 versions of Libevent have less efficient backends for several
19767 platforms, and lack the DNS code that we use for our server-side
19768 DNS support. This implements ticket 19554.
19769 - Tor now requires zlib version 1.2 or later, for security,
19770 efficiency, and (eventually) gzip support. (Back when we started,
19771 zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
19772 released in 2003. We recommend the latest version.)
19774 o Major features (build, hardening):
19775 - Tor now builds with -ftrapv by default on compilers that support
19776 it. This option detects signed integer overflow (which C forbids),
19777 and turns it into a hard-failure. We do not apply this option to
19778 code that needs to run in constant time to avoid side-channels;
19779 instead, we use -fwrapv in that code. Closes ticket 17983.
19780 - When --enable-expensive-hardening is selected, stop applying the
19781 clang/gcc sanitizers to code that needs to run in constant time.
19782 Although we are aware of no introduced side-channels, we are not
19783 able to prove that there are none. Related to ticket 17983.
19785 o Major features (compilation):
19786 - Our big list of extra GCC warnings is now enabled by default when
19787 building with GCC (or with anything like Clang that claims to be
19788 GCC-compatible). To make all warnings into fatal compilation
19789 errors, pass --enable-fatal-warnings to configure. Closes
19791 - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
19792 turn on C and POSIX extensions. (Previously, we attempted to do
19793 this on an ad hoc basis.) Closes ticket 19139.
19795 o Major features (directory authorities, hidden services):
19796 - Directory authorities can now perform the shared randomness
19797 protocol specified by proposal 250. Using this protocol, directory
19798 authorities generate a global fresh random value every day. In the
19799 future, this value will be used by hidden services to select
19800 HSDirs. This release implements the directory authority feature;
19801 the hidden service side will be implemented in the future as part
19802 of proposal 224. Resolves ticket 16943; implements proposal 250.
19804 o Major features (downloading, random exponential backoff):
19805 - When we fail to download an object from a directory service, wait
19806 for an (exponentially increasing) randomized amount of time before
19807 retrying, rather than a fixed interval as we did before. This
19808 prevents a group of Tor instances from becoming too synchronized,
19809 or a single Tor instance from becoming too predictable, in its
19810 download schedule. Closes ticket 15942.
19812 o Major bugfixes (exit policies):
19813 - Avoid disclosing exit outbound bind addresses, configured port
19814 bind addresses, and local interface addresses in relay descriptors
19815 by default under ExitPolicyRejectPrivate. Instead, only reject
19816 these (otherwise unlisted) addresses if
19817 ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
19818 0.2.7.2-alpha. Patch by teor.
19820 o Major bugfixes (hidden service client):
19821 - Allow Tor clients with appropriate controllers to work with
19822 FetchHidServDescriptors set to 0. Previously, this option also
19823 disabled descriptor cache lookup, thus breaking hidden services
19824 entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
19826 o Minor features (build, hardening):
19827 - Detect and work around a libclang_rt problem that would prevent
19828 clang from finding __mulodi4() on some 32-bit platforms, and thus
19829 keep -ftrapv from linking on those systems. Closes ticket 19079.
19830 - When building on a system without runtime support for the runtime
19831 hardening options, try to log a useful warning at configuration
19832 time, rather than an incomprehensible warning at link time. If
19833 expensive hardening was requested, this warning becomes an error.
19834 Closes ticket 18895.
19836 o Minor features (code safety):
19837 - In our integer-parsing functions, ensure that maxiumum value we
19838 give is no smaller than the minimum value. Closes ticket 19063;
19841 o Minor features (controller):
19842 - Implement new GETINFO queries for all downloads that use
19843 download_status_t to schedule retries. This allows controllers to
19844 examine the schedule for pending downloads. Closes ticket 19323.
19845 - Allow controllers to configure basic client authorization on
19846 hidden services when they create them with the ADD_ONION control
19847 command. Implements ticket 15588. Patch by "special".
19848 - Fire a STATUS_SERVER controller event whenever the hibernation
19849 status changes between "awake"/"soft"/"hard". Closes ticket 18685.
19851 o Minor features (directory authority):
19852 - Directory authorities now only give the Guard flag to a relay if
19853 they are also giving it the Stable flag. This change allows us to
19854 simplify path selection for clients. It should have minimal effect
19855 in practice, since >99% of Guards already have the Stable flag.
19856 Implements ticket 18624.
19857 - Directory authorities now write their v3-status-votes file out to
19858 disk earlier in the consensus process, so we have a record of the
19859 votes even if we abort the consensus process. Resolves
19862 o Minor features (hidden service):
19863 - Stop being so strict about the payload length of "rendezvous1"
19864 cells. We used to be locked in to the "TAP" handshake length, and
19865 now we can handle better handshakes like "ntor". Resolves
19868 o Minor features (infrastructure, time):
19869 - Tor now uses the operating system's monotonic timers (where
19870 available) for internal fine-grained timing. Previously we would
19871 look at the system clock, and then attempt to compensate for the
19872 clock running backwards. Closes ticket 18908.
19873 - Tor now includes an improved timer backend, so that we can
19874 efficiently support tens or hundreds of thousands of concurrent
19875 timers, as will be needed for some of our planned anti-traffic-
19876 analysis work. This code is based on William Ahern's "timeout.c"
19877 project, which implements a "tickless hierarchical timing wheel".
19878 Closes ticket 18365.
19880 o Minor features (logging):
19881 - Provide a more useful warning message when configured with an
19882 invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
19883 - When dumping unparseable router descriptors, optionally store them
19884 in separate files, named by digest, up to a configurable size
19885 limit. You can change the size limit by setting the
19886 MaxUnparseableDescSizeToLog option, and disable this feature by
19887 setting that option to 0. Closes ticket 18322.
19888 - Add a set of macros to check nonfatal assertions, for internal
19889 use. Migrating more of our checks to these should help us avoid
19890 needless crash bugs. Closes ticket 18613.
19892 o Minor features (performance):
19893 - Change the "optimistic data" extension from "off by default" to
19894 "on by default". The default was ordinarily overridden by a
19895 consensus option, but when clients were bootstrapping for the
19896 first time, they would not have a consensus to get the option
19897 from. Changing this default saves a round-trip during startup.
19898 Closes ticket 18815.
19900 o Minor features (relay, usability):
19901 - When the directory authorities refuse a bad relay's descriptor,
19902 encourage the relay operator to contact us. Many relay operators
19903 won't notice this line in their logs, but it's a win if even a few
19904 learn why we don't like what their relay was doing. Resolves
19907 o Minor features (testing):
19908 - Let backtrace tests work correctly under AddressSanitizer. Fixes
19909 part of bug 18934; bugfix on 0.2.5.2-alpha.
19910 - Move the test-network.sh script to chutney, and modify tor's test-
19911 network.sh to call the (newer) chutney version when available.
19912 Resolves ticket 19116. Patch by teor.
19913 - Use the lcov convention for marking lines as unreachable, so that
19914 we don't count them when we're generating test coverage data.
19915 Update our coverage tools to understand this convention. Closes
19918 o Minor bugfixes (bootstrap):
19919 - Remember the directory we fetched the consensus or previous
19920 certificates from, and use it to fetch future authority
19921 certificates. This change improves bootstrapping performance.
19922 Fixes bug 18963; bugfix on 0.2.8.1-alpha.
19924 o Minor bugfixes (build):
19925 - The test-stem and test-network makefile targets now depend only on
19926 the tor binary that they are testing. Previously, they depended on
19927 "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
19928 patch from "cypherpunks".
19930 o Minor bugfixes (circuits):
19931 - Make sure extend_info_from_router() is only called on servers.
19932 Fixes bug 19639; bugfix on 0.2.8.1-alpha.
19934 o Minor bugfixes (compilation):
19935 - When building with Clang, use a full set of GCC warnings.
19936 (Previously, we included only a subset, because of the way we
19937 detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
19939 o Minor bugfixes (directory authority):
19940 - Authorities now sort the "package" lines in their votes, for ease
19941 of debugging. (They are already sorted in consensus documents.)
19942 Fixes bug 18840; bugfix on 0.2.6.3-alpha.
19943 - When parsing a detached signature, make sure we use the length of
19944 the digest algorithm instead of an hardcoded DIGEST256_LEN in
19945 order to avoid comparing bytes out-of-bounds with a smaller digest
19946 length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
19948 o Minor bugfixes (documentation):
19949 - Document the --passphrase-fd option in the tor manpage. Fixes bug
19950 19504; bugfix on 0.2.7.3-rc.
19951 - Fix the description of the --passphrase-fd option in the
19952 tor-gencert manpage. The option is used to pass the number of a
19953 file descriptor to read the passphrase from, not to read the file
19954 descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
19956 o Minor bugfixes (ephemeral hidden service):
19957 - When deleting an ephemeral hidden service, close its intro points
19958 even if they are not completely open. Fixes bug 18604; bugfix
19961 o Minor bugfixes (guard selection):
19962 - Use a single entry guard even if the NumEntryGuards consensus
19963 parameter is not provided. Fixes bug 17688; bugfix
19965 - Don't mark guards as unreachable if connection_connect() fails.
19966 That function fails for local reasons, so it shouldn't reveal
19967 anything about the status of the guard. Fixes bug 14334; bugfix
19970 o Minor bugfixes (hidden service client):
19971 - Increase the minimum number of internal circuits we preemptively
19972 build from 2 to 3, so a circuit is available when a client
19973 connects to another onion service. Fixes bug 13239; bugfix
19976 o Minor bugfixes (logging):
19977 - When logging a directory ownership mismatch, log the owning
19978 username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
19980 o Minor bugfixes (memory leaks):
19981 - Fix a small, uncommon memory leak that could occur when reading a
19982 truncated ed25519 key file. Fixes bug 18956; bugfix
19985 o Minor bugfixes (testing):
19986 - Allow clients to retry HSDirs much faster in test networks. Fixes
19987 bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
19988 - Disable ASAN's detection of segmentation faults while running
19989 test_bt.sh, so that we can make sure that our own backtrace
19990 generation code works. Fixes another aspect of bug 18934; bugfix
19991 on 0.2.5.2-alpha. Patch from "cypherpunks".
19992 - Fix the test-network-all target on out-of-tree builds by using the
19993 correct path to the test driver script. Fixes bug 19421; bugfix
19996 o Minor bugfixes (time):
19997 - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
19998 bugfix on all released tor versions.
19999 - When computing the difference between two times in milliseconds,
20000 we now round to the nearest millisecond correctly. Previously, we
20001 could sometimes round in the wrong direction. Fixes bug 19428;
20002 bugfix on 0.2.2.2-alpha.
20004 o Minor bugfixes (user interface):
20005 - Display a more accurate number of suppressed messages in the log
20006 rate-limiter. Previously, there was a potential integer overflow
20007 in the counter. Now, if the number of messages hits a maximum, the
20008 rate-limiter doesn't count any further. Fixes bug 19435; bugfix
20010 - Fix a typo in the passphrase prompt for the ed25519 identity key.
20011 Fixes bug 19503; bugfix on 0.2.7.2-alpha.
20013 o Code simplification and refactoring:
20014 - Remove redundant declarations of the MIN macro. Closes
20016 - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
20017 Closes ticket 18462; patch from "icanhasaccount".
20018 - Split the 600-line directory_handle_command_get function into
20019 separate functions for different URL types. Closes ticket 16698.
20022 - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
20023 ticket 19153. Patch from "U+039b".
20025 o Removed features:
20026 - Remove support for "GET /tor/bytes.txt" DirPort request, and
20027 "GETINFO dir-usage" controller request, which were only available
20028 via a compile-time option in Tor anyway. Feature was added in
20029 0.2.2.1-alpha. Resolves ticket 19035.
20030 - There is no longer a compile-time option to disable support for
20031 TransPort. (If you don't want TransPort; just don't use it.) Patch
20032 from "U+039b". Closes ticket 19449.
20035 - Run more workqueue tests as part of "make check". These had
20036 previously been implemented, but you needed to know special
20037 command-line options to enable them.
20038 - We now have unit tests for our code to reject zlib "compression
20039 bombs". (Fortunately, the code works fine.)
20042 Changes in version 0.2.8.6 - 2016-08-02
20044 Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
20046 The Tor 0.2.8 series improves client bootstrapping performance,
20047 completes the authority-side implementation of improved identity
20048 keys for relays, and includes numerous bugfixes and performance
20049 improvements throughout the program. This release continues to
20050 improve the coverage of Tor's test suite. For a full list of
20051 changes since Tor 0.2.7, see the ReleaseNotes file.
20053 Changes since 0.2.8.5-rc:
20055 o Minor features (geoip):
20056 - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
20059 o Minor bugfixes (compilation):
20060 - Fix a compilation warning in the unit tests on systems where char
20061 is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
20063 o Minor bugfixes (fallback directories):
20064 - Remove 1 fallback that was on the hardcoded list, then opted-out,
20065 leaving 89 of the 100 fallbacks originally introduced in Tor
20066 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
20068 o Minor bugfixes (Linux seccomp2 sandbox):
20069 - Allow more syscalls when running with "Sandbox 1" enabled:
20070 sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
20071 some systems, these are required for Tor to start. Fixes bug
20072 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
20073 - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
20074 so that get_interface_address6_via_udp_socket_hack() can work.
20075 Fixes bug 19660; bugfix on 0.2.5.1-alpha.
20078 Changes in version 0.2.8.5-rc - 2016-07-07
20079 Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
20080 series. If we find no new bugs or regressions here, the first stable
20081 0.2.8 release will be identical to it. It has a few small bugfixes
20082 against previous versions.
20084 o Directory authority changes:
20085 - Urras is no longer a directory authority. Closes ticket 19271.
20087 o Major bugfixes (heartbeat):
20088 - Fix a regression that would crash Tor when the periodic
20089 "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
20090 0.2.8.1-alpha. Reported by "kubaku".
20092 o Minor features (build):
20093 - Tor now again builds with the recent OpenSSL 1.1 development
20094 branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
20095 - When building manual pages, set the timezone to "UTC", so that the
20096 output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
20097 Patch from intrigeri.
20099 o Minor bugfixes (fallback directory selection):
20100 - Avoid errors during fallback selection if there are no eligible
20101 fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
20104 o Minor bugfixes (IPv6, microdescriptors):
20105 - Don't check node addresses when we only have a routerstatus. This
20106 allows IPv6-only clients to bootstrap by fetching microdescriptors
20107 from fallback directory mirrors. (The microdescriptor consensus
20108 has no IPv6 addresses in it.) Fixes bug 19608; bugfix
20111 o Minor bugfixes (logging):
20112 - Reduce pointlessly verbose log messages when directory servers
20113 can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
20114 0.2.8.1-alpha. Patch by teor.
20115 - When a fallback directory changes its fingerprint from the hard-
20116 coded fingerprint, log a less severe, more explanatory log
20117 message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
20119 o Minor bugfixes (Linux seccomp2 sandboxing):
20120 - Allow statistics to be written to disk when "Sandbox 1" is
20121 enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
20122 0.2.6.1-alpha respectively.
20124 o Minor bugfixes (user interface):
20125 - Remove a warning message "Service [scrubbed] not found after
20126 descriptor upload". This message appears when one uses HSPOST
20127 control command to upload a service descriptor. Since there is
20128 only a descriptor and no service, showing this message is
20129 pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
20131 o Fallback directory list:
20132 - Add a comment to the generated fallback directory list that
20133 explains how to comment out unsuitable fallbacks in a way that's
20134 compatible with the stem fallback parser.
20135 - Update fallback whitelist and blacklist based on relay operator
20136 emails. Blacklist unsuitable (non-working, over-volatile)
20137 fallbacks. Resolves ticket 19071. Patch by teor.
20138 - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
20139 originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
20140 ticket 19071; patch by teor.
20143 Changes in version 0.2.8.4-rc - 2016-06-15
20144 Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
20145 If we find no new bugs or regressions here, the first stable 0.2.8
20146 release will be identical to it. It has a few small bugfixes against
20149 o Major bugfixes (user interface):
20150 - Correctly give a warning in the cases where a relay is specified
20151 by nickname, and one such relay is found, but it is not officially
20152 Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
20154 o Minor features (build):
20155 - Tor now builds once again with the recent OpenSSL 1.1 development
20156 branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
20158 o Minor features (geoip):
20159 - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
20162 o Minor bugfixes (compilation):
20163 - Cause the unit tests to compile correctly on mingw64 versions that
20164 lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
20166 o Minor bugfixes (downloading):
20167 - Predict more correctly whether we'll be downloading over HTTP when
20168 we determine the maximum length of a URL. This should avoid a
20169 "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
20173 Changes in version 0.2.8.3-alpha - 2016-05-26
20174 Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
20175 the course of the 0.2.8 development cycle. It improves the behavior of
20176 directory clients, fixes several crash bugs, fixes a gap in compiler
20177 hardening, and allows the full integration test suite to run on
20180 o Major bugfixes (security, client, DNS proxy):
20181 - Stop a crash that could occur when a client running with DNSPort
20182 received a query with multiple address types, and the first
20183 address type was not supported. Found and fixed by Scott Dial.
20184 Fixes bug 18710; bugfix on 0.2.5.4-alpha.
20186 o Major bugfixes (security, compilation):
20187 - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
20188 is predefined. Previously, our use of -D_FORTIFY_SOURCE would
20189 cause a compiler warning, thereby making other checks fail, and
20190 needlessly disabling compiler-hardening support. Fixes one case of
20191 bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
20193 o Major bugfixes (security, directory authorities):
20194 - Fix a crash and out-of-bounds write during authority voting, when
20195 the list of relays includes duplicate ed25519 identity keys. Fixes
20196 bug 19032; bugfix on 0.2.8.2-alpha.
20198 o Major bugfixes (client, bootstrapping):
20199 - Check if bootstrap consensus downloads are still needed when the
20200 linked connection attaches. This prevents tor making unnecessary
20201 begindir-style connections, which are the only directory
20202 connections tor clients make since the fix for 18483 was merged.
20203 - Fix some edge cases where consensus download connections may not
20204 have been closed, even though they were not needed. Related to fix
20206 - Make relays retry consensus downloads the correct number of times,
20207 rather than the more aggressive client retry count. Fixes part of
20209 - Stop downloading consensuses when we have a consensus, even if we
20210 don't have all the certificates for it yet. Fixes bug 18809;
20211 bugfix on 0.2.8.1-alpha. Patches by arma and teor.
20213 o Major bugfixes (directory mirrors):
20214 - Decide whether to advertise begindir support in the the same way
20215 we decide whether to advertise our DirPort. Allowing these
20216 decisions to become out-of-sync led to surprising behavior like
20217 advertising begindir support when hibernation made us not
20218 advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
20221 o Major bugfixes (IPv6 bridges, client):
20222 - Actually use IPv6 addresses when selecting directory addresses for
20223 IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
20226 o Major bugfixes (key management):
20227 - If OpenSSL fails to generate an RSA key, do not retain a dangling
20228 pointer to the previous (uninitialized) key value. The impact here
20229 should be limited to a difficult-to-trigger crash, if OpenSSL is
20230 running an engine that makes key generation failures possible, or
20231 if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
20232 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
20235 o Major bugfixes (testing):
20236 - Fix a bug that would block 'make test-network-all' on systems where
20237 IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
20238 - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
20239 bugfix on 0.2.8.1-alpha.
20241 o Minor features (clients):
20242 - Make clients, onion services, and bridge relays always use an
20243 encrypted begindir connection for directory requests. Resolves
20244 ticket 18483. Patch by "teor".
20246 o Minor features (fallback directory mirrors):
20247 - Give each fallback the same weight for client selection; restrict
20248 fallbacks to one per operator; report fallback directory detail
20249 changes when rebuilding list; add new fallback directory mirrors
20250 to the whitelist; and many other minor simplifications and fixes.
20251 Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
20252 0.2.8.1-alpha; patch by "teor".
20253 - Replace the 21 fallbacks generated in January 2016 and included in
20254 Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
20255 2016. Closes task 17158; patch by "teor".
20257 o Minor features (geoip):
20258 - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
20261 o Minor bugfixes (assert, portability):
20262 - Fix an assertion failure in memarea.c on systems where "long" is
20263 shorter than the size of a pointer. Fixes bug 18716; bugfix
20266 o Minor bugfixes (bootstrap):
20267 - Consistently use the consensus download schedule for authority
20268 certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
20270 o Minor bugfixes (build):
20271 - Remove a pair of redundant AM_CONDITIONAL declarations from
20272 configure.ac. Fixes one final case of bug 17744; bugfix
20274 - Resolve warnings when building on systems that are concerned with
20275 signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
20277 - When libscrypt.h is found, but no libscrypt library can be linked,
20278 treat libscrypt as absent. Fixes bug 19161; bugfix
20281 o Minor bugfixes (client):
20282 - Turn all TestingClientBootstrap* into non-testing torrc options.
20283 This changes simply renames them by removing "Testing" in front of
20284 them and they do not require TestingTorNetwork to be enabled
20285 anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
20286 - Make directory node selection more reliable, mainly for IPv6-only
20287 clients and clients with few reachable addresses. Fixes bug 18929;
20288 bugfix on 0.2.8.1-alpha. Patch by "teor".
20290 o Minor bugfixes (controller, microdescriptors):
20291 - Make GETINFO dir/status-vote/current/consensus conform to the
20292 control specification by returning "551 Could not open cached
20293 consensus..." when not caching consensuses. Fixes bug 18920;
20294 bugfix on 0.2.2.6-alpha.
20296 o Minor bugfixes (crypto, portability):
20297 - The SHA3 and SHAKE routines now produce the correct output on Big
20298 Endian systems. No code calls either algorithm yet, so this is
20299 primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
20300 - Tor now builds again with the recent OpenSSL 1.1 development
20301 branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
20304 o Minor bugfixes (directories):
20305 - When fetching extrainfo documents, compare their SHA256 digests
20306 and Ed25519 signing key certificates with the routerinfo that led
20307 us to fetch them, rather than with the most recent routerinfo.
20308 Otherwise we generate many spurious warnings about mismatches.
20309 Fixes bug 17150; bugfix on 0.2.7.2-alpha.
20311 o Minor bugfixes (logging):
20312 - When we can't generate a signing key because OfflineMasterKey is
20313 set, do not imply that we should have been able to load it. Fixes
20314 bug 18133; bugfix on 0.2.7.2-alpha.
20315 - Stop periodic_event_dispatch() from blasting twelve lines per
20316 second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
20317 - When rejecting a misformed INTRODUCE2 cell, only log at
20318 PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
20320 o Minor bugfixes (pluggable transports):
20321 - Avoid reporting a spurious error when we decide that we don't need
20322 to terminate a pluggable transport because it has already exited.
20323 Fixes bug 18686; bugfix on 0.2.5.5-alpha.
20325 o Minor bugfixes (pointer arithmetic):
20326 - Fix a bug in memarea_alloc() that could have resulted in remote
20327 heap write access, if Tor had ever passed an unchecked size to
20328 memarea_alloc(). Fortunately, all the sizes we pass to
20329 memarea_alloc() are pre-checked to be less than 128 kilobytes.
20330 Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
20333 o Minor bugfixes (relays):
20334 - Consider more config options when relays decide whether to
20335 regenerate their descriptor. Fixes more of bug 12538; bugfix
20337 - Resolve some edge cases where we might launch an ORPort
20338 reachability check even when DisableNetwork is set. Noticed while
20339 fixing bug 18616; bugfix on 0.2.3.9-alpha.
20341 o Minor bugfixes (statistics):
20342 - We now include consensus downloads via IPv6 in our directory-
20343 request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
20345 o Minor bugfixes (testing):
20346 - Allow directories in small networks to bootstrap by skipping
20347 DirPort checks when the consensus has no exits. Fixes bug 19003;
20348 bugfix on 0.2.8.1-alpha. Patch by teor.
20349 - Fix a small memory leak that would occur when the
20350 TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
20351 bugfix on 0.2.5.2-alpha.
20353 o Minor bugfixes (time handling):
20354 - When correcting a corrupt 'struct tm' value, fill in the tm_wday
20355 field. Otherwise, our unit tests crash on Windows. Fixes bug
20356 18977; bugfix on 0.2.2.25-alpha.
20359 - Document the contents of the 'datadir/keys' subdirectory in the
20360 manual page. Closes ticket 17621.
20361 - Stop recommending use of nicknames to identify relays in our
20362 MapAddress documentation. Closes ticket 18312.
20365 Changes in version 0.2.8.2-alpha - 2016-03-28
20366 Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
20367 bugs in earlier versions of Tor, including some that prevented
20368 authorities using Tor 0.2.7.x from running correctly. IPv6 and
20369 directory support should also be much improved.
20371 o New system requirements:
20372 - Tor no longer supports versions of OpenSSL with a broken
20373 implementation of counter mode. (This bug was present in OpenSSL
20374 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
20375 longer runs with, these versions.
20376 - Tor no longer attempts to support platforms where the "time_t"
20377 type is unsigned. (To the best of our knowledge, only OpenVMS does
20378 this, and Tor has never actually built on OpenVMS.) Closes
20380 - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
20381 later (released in 2008 and 2009 respectively). If you are
20382 building Tor from the git repository instead of from the source
20383 distribution, and your tools are older than this, you will need to
20384 upgrade. Closes ticket 17732.
20386 o Major bugfixes (security, pointers):
20387 - Avoid a difficult-to-trigger heap corruption attack when extending
20388 a smartlist to contain over 16GB of pointers. Fixes bug 18162;
20389 bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
20390 Reported by Guido Vranken.
20392 o Major bugfixes (bridges, pluggable transports):
20393 - Modify the check for OR connections to private addresses. Allow
20394 bridges on private addresses, including pluggable transports that
20395 ignore the (potentially private) address in the bridge line. Fixes
20396 bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
20398 o Major bugfixes (compilation):
20399 - Repair hardened builds under the clang compiler. Previously, our
20400 use of _FORTIFY_SOURCE would conflict with clang's address
20401 sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
20403 o Major bugfixes (crash on shutdown):
20404 - Correctly handle detaching circuits from muxes when shutting down.
20405 Fixes bug 18116; bugfix on 0.2.8.1-alpha.
20406 - Fix an assert-on-exit bug related to counting memory usage in
20407 rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
20409 o Major bugfixes (crash on startup):
20410 - Fix a segfault during startup: If a Unix domain socket was
20411 configured as listener (such as a ControlSocket or a SocksPort
20412 "unix:" socket), and tor was started as root but not configured to
20413 switch to another user, tor would segfault while trying to string
20414 compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
20417 o Major bugfixes (dns proxy mode, crash):
20418 - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
20419 bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
20421 o Major bugfixes (relays, bridge clients):
20422 - Ensure relays always allow IPv4 OR and Dir connections. Ensure
20423 bridge clients use the address configured in the bridge line.
20424 Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
20427 o Major bugfixes (voting):
20428 - Actually enable support for authorities to match routers by their
20429 Ed25519 identities. Previously, the code had been written, but
20430 some debugging code that had accidentally been left in the
20431 codebase made it stay turned off. Fixes bug 17702; bugfix
20433 - When collating votes by Ed25519 identities, authorities now
20434 include a "NoEdConsensus" flag if the ed25519 value (or lack
20435 thereof) for a server does not reflect the majority consensus.
20436 Related to bug 17668; bugfix on 0.2.7.2-alpha.
20437 - When generating a vote with keypinning disabled, never include two
20438 entries for the same ed25519 identity. This bug was causing
20439 authorities to generate votes that they could not parse when a
20440 router violated key pinning by changing its RSA identity but
20441 keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
20442 18318. Bugfix on 0.2.7.2-alpha.
20444 o Minor features (security, win32):
20445 - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
20446 attack. Fixes bug 18123; bugfix on all tor versions. Patch
20449 o Minor features (bug-resistance):
20450 - Make Tor survive errors involving connections without a
20451 corresponding event object. Previously we'd fail with an
20452 assertion; now we produce a log message. Related to bug 16248.
20454 o Minor features (build):
20455 - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
20456 as having possible IPFW support. Closes ticket 18448. Patch from
20457 Steven Chamberlain.
20459 o Minor features (code hardening):
20460 - Use tor_snprintf() and tor_vsnprintf() even in external and low-
20461 level code, to harden against accidental failures to NUL-
20462 terminate. Part of ticket 17852. Patch from jsturgix. Found
20465 o Minor features (crypto):
20466 - Validate the hard-coded Diffie-Hellman parameters and ensure that
20467 p is a safe prime, and g is a suitable generator. Closes
20470 o Minor features (geoip):
20471 - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
20474 o Minor features (hidden service directory):
20475 - Streamline relay-side hsdir handling: when relays consider whether
20476 to accept an uploaded hidden service descriptor, they no longer
20477 check whether they are one of the relays in the network that is
20478 "supposed" to handle that descriptor. Implements ticket 18332.
20480 o Minor features (IPv6):
20481 - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
20482 to 1, tor prefers IPv6 directory addresses.
20483 - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
20484 avoids using IPv4 for client OR and directory connections.
20485 - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
20486 "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
20487 "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
20489 o Minor features (linux seccomp2 sandbox):
20490 - Reject attempts to change our Address with "Sandbox 1" enabled.
20491 Changing Address with Sandbox turned on would never actually work,
20492 but previously it would fail in strange and confusing ways. Found
20493 while fixing 18548.
20495 o Minor features (robustness):
20496 - Exit immediately with an error message if the code attempts to use
20497 Libevent without having initialized it. This should resolve some
20498 frequently-made mistakes in our unit tests. Closes ticket 18241.
20500 o Minor features (unix domain sockets):
20501 - Add a new per-socket option, RelaxDirModeCheck, to allow creating
20502 Unix domain sockets without checking the permissions on the parent
20503 directory. (Tor checks permissions by default because some
20504 operating systems only check permissions on the parent directory.
20505 However, some operating systems do look at permissions on the
20506 socket, and tor's default check is unneeded.) Closes ticket 18458.
20509 o Minor bugfixes (exit policies, security):
20510 - Refresh an exit relay's exit policy when interface addresses
20511 change. Previously, tor only refreshed the exit policy when the
20512 configured external address changed. Fixes bug 18208; bugfix on
20513 0.2.7.3-rc. Patch by teor.
20515 o Minor bugfixes (security, hidden services):
20516 - Prevent hidden services connecting to client-supplied rendezvous
20517 addresses that are reserved as internal or multicast. Fixes bug
20518 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
20520 o Minor bugfixes (build):
20521 - Do not link the unit tests against both the testing and non-
20522 testing versions of the static libraries. Fixes bug 18490; bugfix
20524 - Avoid spurious failures from configure files related to calling
20525 exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
20526 0.2.0.1-alpha. Patch from "cypherpunks".
20527 - Silence spurious clang-scan warnings in the ed25519_donna code by
20528 explicitly initializing some objects. Fixes bug 18384; bugfix on
20529 0.2.7.2-alpha. Patch by teor.
20531 o Minor bugfixes (client, bootstrap):
20532 - Count receipt of new microdescriptors as progress towards
20533 bootstrapping. Previously, with EntryNodes set, Tor might not
20534 successfully repopulate the guard set on bootstrapping. Fixes bug
20535 16825; bugfix on 0.2.3.1-alpha.
20537 o Minor bugfixes (code correctness):
20538 - Update to the latest version of Trunnel, which tries harder to
20539 avoid generating code that can invoke memcpy(p,NULL,0). Bug found
20540 by clang address sanitizer. Fixes bug 18373; bugfix
20543 o Minor bugfixes (configuration):
20544 - Fix a tiny memory leak when parsing a port configuration ending in
20545 ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
20547 o Minor bugfixes (containers):
20548 - If we somehow attempt to construct a heap with more than
20549 1073741822 elements, avoid an integer overflow when maintaining
20550 the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
20552 o Minor bugfixes (correctness):
20553 - Fix a bad memory handling bug that would occur if we had queued a
20554 cell on a channel's incoming queue. Fortunately, we can't actually
20555 queue a cell like that as our code is constructed today, but it's
20556 best to avoid this kind of error, even if there isn't any code
20557 that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
20559 o Minor bugfixes (directory):
20560 - When generating a URL for a directory server on an IPv6 address,
20561 wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
20562 on 0.2.3.9-alpha. Patch from Malek.
20564 o Minor bugfixes (fallback directory mirrors):
20565 - When requesting extrainfo descriptors from a trusted directory
20566 server, check whether it is an authority or a fallback directory
20567 which supports extrainfo descriptors. Fixes bug 18489; bugfix on
20568 0.2.4.7-alpha. Reported by atagar, patch by teor.
20570 o Minor bugfixes (hidden service, client):
20571 - Handle the case where the user makes several fast consecutive
20572 requests to the same .onion address. Previously, the first six
20573 requests would each trigger a descriptor fetch, each picking a
20574 directory (there are 6 overall) and the seventh one would fail
20575 because no directories were left, thereby triggering a close on
20576 all current directory connections asking for the hidden service.
20577 The solution here is to not close the connections if we have
20578 pending directory fetches. Fixes bug 15937; bugfix
20581 o Minor bugfixes (hidden service, control port):
20582 - Add the onion address to the HS_DESC event for the UPLOADED action
20583 both on success or failure. It was previously hardcoded with
20584 UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
20586 o Minor bugfixes (hidden service, directory):
20587 - Bridges now refuse "rendezvous2" (hidden service descriptor)
20588 publish attempts. Suggested by ticket 18332.
20590 o Minor bugfixes (linux seccomp2 sandbox):
20591 - Allow the setrlimit syscall, and the prlimit and prlimit64
20592 syscalls, which some libc implementations use under the hood.
20593 Fixes bug 15221; bugfix on 0.2.5.1-alpha.
20594 - Avoid a 10-second delay when starting as a client with "Sandbox 1"
20595 enabled and no DNS resolvers configured. This should help TAILS
20596 start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
20597 - Fix the sandbox's interoperability with unix domain sockets under
20598 setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
20600 o Minor bugfixes (logging):
20601 - When logging information about an unparsable networkstatus vote or
20602 consensus, do not say "vote" when we mean consensus. Fixes bug
20603 18368; bugfix on 0.2.0.8-alpha.
20604 - Scrub service name in "unrecognized service ID" log messages.
20605 Fixes bug 18600; bugfix on 0.2.4.11-alpha.
20606 - Downgrade logs and backtraces about IP versions to info-level.
20607 Only log backtraces once each time tor runs. Assists in diagnosing
20608 bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
20609 Christian, patch by teor.
20611 o Minor bugfixes (memory safety):
20612 - Avoid freeing an uninitialized pointer when opening a socket fails
20613 in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
20614 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
20616 - Correctly duplicate addresses in get_interface_address6_list().
20617 Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
20618 patch by "cypherpunks".
20619 - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
20621 - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
20622 18672; bugfix on 0.2.5.1-alpha.
20624 o Minor bugfixes (private directory):
20625 - Prevent a race condition when creating private directories. Fixes
20626 part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
20627 Patch from jsturgix. Found with Flawfinder.
20629 o Minor bugfixes (test networks, IPv6):
20630 - Allow internal IPv6 addresses in descriptors in test networks.
20631 Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
20634 o Minor bugfixes (testing):
20635 - We no longer disable assertions in the unit tests when coverage is
20636 enabled. Instead, we require you to say --disable-asserts-in-tests
20637 to the configure script if you need assertions disabled in the
20638 unit tests (for example, if you want to perform branch coverage).
20639 Fixes bug 18242; bugfix on 0.2.7.1-alpha.
20641 o Minor bugfixes (time parsing):
20642 - Avoid overflow in tor_timegm when parsing dates in and after 2038
20643 on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
20644 0.0.2pre14. Patch by teor.
20646 o Minor bugfixes (tor-gencert):
20647 - Correctly handle the case where an authority operator enters a
20648 passphrase but sends an EOF before sending a newline. Fixes bug
20649 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
20651 o Code simplification and refactoring:
20652 - Quote all the string interpolations in configure.ac -- even those
20653 which we are pretty sure can't contain spaces. Closes ticket
20654 17744. Patch from zerosion.
20655 - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
20656 inplace, so there's no need to have a separate implementation for
20657 the non-inplace code. Closes ticket 18258. Patch from Malek.
20658 - Simplify return types for some crypto functions that can't
20659 actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
20662 - Change build messages to refer to "Fedora" instead of "Fedora
20663 Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
20664 Patches from "icanhasaccount" and "cypherpunks".
20666 o Removed features:
20667 - We no longer maintain an internal freelist in memarea.c.
20668 Allocators should be good enough to make this code unnecessary,
20669 and it's doubtful that it ever had any performance benefit.
20672 - Fix several warnings from clang's address sanitizer produced in
20674 - Treat backtrace test failures as expected on FreeBSD until we
20675 solve bug 17808. Closes ticket 18204.
20678 Changes in version 0.2.8.1-alpha - 2016-02-04
20679 Tor 0.2.8.1-alpha is the first alpha release in its series. It
20680 includes numerous small features and bugfixes against previous Tor
20681 versions, and numerous small infrastructure improvements. The most
20682 notable features are a set of improvements to the directory subsystem.
20684 o Major features (security, Linux):
20685 - When Tor starts as root on Linux and is told to switch user ID, it
20686 can now retain the capability to bind to low ports. By default,
20687 Tor will do this only when it's switching user ID and some low
20688 ports have been configured. You can change this behavior with the
20689 new option KeepBindCapabilities. Closes ticket 8195.
20691 o Major features (directory system):
20692 - When bootstrapping multiple consensus downloads at a time, use the
20693 first one that starts downloading, and close the rest. This
20694 reduces failures when authorities or fallback directories are slow
20695 or down. Together with the code for feature 15775, this feature
20696 should reduces failures due to fallback churn. Implements ticket
20697 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
20698 "mikeperry" and "teor".
20699 - Include a trial list of 21 default fallback directories, generated
20700 in January 2016, based on an opt-in survey of suitable relays.
20701 Doing this should make clients bootstrap more quickly and reliably,
20702 and reduce the load on the directory authorities. Closes ticket
20703 15775. Patch by "teor".
20704 Candidates identified using an OnionOO script by "weasel", "teor",
20705 "gsathya", and "karsten".
20706 - Previously only relays that explicitly opened a directory port
20707 (DirPort) accepted directory requests from clients. Now all
20708 relays, with and without a DirPort, accept and serve tunneled
20709 directory requests that they receive through their ORPort. You can
20710 disable this behavior using the new DirCache option. Closes
20713 o Major key updates:
20714 - Update the V3 identity key for the dannenberg directory authority:
20715 it was changed on 18 November 2015. Closes task 17906. Patch
20718 o Minor features (security, clock):
20719 - Warn when the system clock appears to move back in time (when the
20720 state file was last written in the future). Tor doesn't know that
20721 consensuses have expired if the clock is in the past. Patch by
20722 "teor". Implements ticket 17188.
20724 o Minor features (security, exit policies):
20725 - ExitPolicyRejectPrivate now rejects more private addresses by
20726 default. Specifically, it now rejects the relay's outbound bind
20727 addresses (if configured), and the relay's configured port
20728 addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
20729 0.2.0.11-alpha. Patch by "teor".
20731 o Minor features (security, memory erasure):
20732 - Set the unused entries in a smartlist to NULL. This helped catch
20733 a (harmless) bug, and shouldn't affect performance too much.
20734 Implements ticket 17026.
20735 - Use SecureMemoryWipe() function to securely clean memory on
20736 Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
20737 Implements feature 17986.
20738 - Use explicit_bzero or memset_s when present. Previously, we'd use
20739 OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
20740 from <logan@hackers.mu> and <selven@hackers.mu>.
20741 - Make memwipe() do nothing when passed a NULL pointer or buffer of
20742 zero size. Check size argument to memwipe() for underflow. Fixes
20743 bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
20746 o Minor features (security, RNG):
20747 - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
20748 positively are not allowed to fail. Previously we depended on
20749 internal details of OpenSSL's behavior. Closes ticket 17686.
20750 - Never use the system entropy output directly for anything besides
20751 seeding the PRNG. When we want to generate important keys, instead
20752 of using system entropy directly, we now hash it with the PRNG
20753 stream. This may help resist certain attacks based on broken OS
20754 entropy implementations. Closes part of ticket 17694.
20755 - Use modern system calls (like getentropy() or getrandom()) to
20756 generate strong entropy on platforms that have them. Closes
20759 o Minor features (accounting):
20760 - Added two modes to the AccountingRule option: One for limiting
20761 only the number of bytes sent ("AccountingRule out"), and one for
20762 limiting only the number of bytes received ("AccountingRule in").
20763 Closes ticket 15989; patch from "unixninja92".
20765 o Minor features (build):
20766 - Since our build process now uses "make distcheck", we no longer
20767 force "make dist" to depend on "make check". Closes ticket 17893;
20768 patch from "cypherpunks."
20769 - Tor now builds successfully with the recent OpenSSL 1.1
20770 development branch, and with the latest LibreSSL. Closes tickets
20771 17549, 17921, and 17984.
20773 o Minor features (controller):
20774 - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
20775 tickets 16774 and 17817. Patch by George Tankersley.
20776 - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
20777 service descriptor from a service's local hidden service
20778 descriptor cache. Closes ticket 14846.
20779 - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
20780 controllers can examine the the reject rules added by
20781 ExitPolicyRejectPrivate. This makes it easier for stem to display
20784 o Minor features (crypto):
20785 - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
20787 - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
20788 - When allocating a digest state object, allocate no more space than
20789 we actually need. Previously, we would allocate as much space as
20790 the state for the largest algorithm would need. This change saves
20791 up to 672 bytes per circuit. Closes ticket 17796.
20792 - Improve performance when hashing non-multiple of 8 sized buffers,
20793 based on Andrew Moon's public domain SipHash-2-4 implementation.
20794 Fixes bug 17544; bugfix on 0.2.5.3-alpha.
20796 o Minor features (directory downloads):
20797 - Wait for busy authorities and fallback directories to become non-
20798 busy when bootstrapping. (A similar change was made in 6c443e987d
20799 for directory caches chosen from the consensus.) Closes ticket
20800 17864; patch by "teor".
20801 - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
20802 directory mirrors. The default is 1; set it to 0 to disable
20803 fallbacks. Implements ticket 17576. Patch by "teor".
20805 o Minor features (geoip):
20806 - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
20809 o Minor features (IPv6):
20810 - Add an argument 'ipv6=address:orport' to the DirAuthority and
20811 FallbackDir torrc options, to specify an IPv6 address for an
20812 authority or fallback directory. Add hard-coded ipv6 addresses for
20813 directory authorities that have them. Closes ticket 17327; patch
20814 from Nick Mathewson and "teor".
20815 - Add address policy assume_action support for IPv6 addresses.
20816 - Limit IPv6 mask bits to 128.
20817 - Warn when comparing against an AF_UNSPEC address in a policy, it's
20818 almost always a bug. Closes ticket 17863; patch by "teor".
20819 - Allow users to configure directory authorities and fallback
20820 directory servers with IPv6 addresses and ORPorts. Resolves
20822 - routerset_parse now accepts IPv6 literal addresses. Fixes bug
20823 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
20824 - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
20825 17638; bugfix on 0.0.2pre8. Patch by "teor".
20827 o Minor features (logging):
20828 - When logging to syslog, allow a tag to be added to the syslog
20829 identity (the string prepended to every log message). The tag can
20830 be configured with SyslogIdentityTag and defaults to none. Setting
20831 it to "foo" will cause logs to be tagged as "Tor-foo". Closes
20834 o Minor features (portability):
20835 - Use timingsafe_memcmp() where available. Closes ticket 17944;
20836 patch from <logan@hackers.mu>.
20838 o Minor features (relay, address discovery):
20839 - Add a family argument to get_interface_addresses_raw() and
20840 subfunctions to make network interface address interogation more
20841 efficient. Now Tor can specifically ask for IPv4, IPv6 or both
20842 types of interfaces from the operating system. Resolves
20844 - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
20845 fails to enumerate interface addresses using the platform-specific
20846 API, have it rely on the UDP socket fallback technique to try and
20847 find out what IP addresses (both IPv4 and IPv6) our machine has.
20848 Resolves ticket 17951.
20850 o Minor features (replay cache):
20851 - The replay cache now uses SHA256 instead of SHA1. Implements
20852 feature 8961. Patch by "teor", issue reported by "rransom".
20854 o Minor features (unix file permissions):
20855 - Defer creation of Unix sockets until after setuid. This avoids
20856 needing CAP_CHOWN and CAP_FOWNER when using systemd's
20857 CapabilityBoundingSet, or chown and fowner when using SELinux.
20858 Implements part of ticket 17562. Patch from Jamie Nguyen.
20859 - If any directory created by Tor is marked as group readable, the
20860 filesystem group is allowed to be either the default GID or the
20861 root user. Allowing root to read the DataDirectory prevents the
20862 need for CAP_READ_SEARCH when using systemd's
20863 CapabilityBoundingSet, or dac_read_search when using SELinux.
20864 Implements part of ticket 17562. Patch from Jamie Nguyen.
20865 - Introduce a new DataDirectoryGroupReadable option. If it is set to
20866 1, the DataDirectory will be made readable by the default GID.
20867 Implements part of ticket 17562. Patch from Jamie Nguyen.
20869 o Minor bugfixes (accounting):
20870 - The max bandwidth when using 'AccountRule sum' is now correctly
20871 logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
20872 from "unixninja92".
20874 o Minor bugfixes (code correctness):
20875 - When closing an entry connection, generate a warning if we should
20876 have sent an end cell for it but we haven't. Fixes bug 17876;
20877 bugfix on 0.2.3.2-alpha.
20878 - Assert that allocated memory held by the reputation code is freed
20879 according to its internal counters. Fixes bug 17753; bugfix
20881 - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
20884 o Minor bugfixes (compilation):
20885 - Mark all object files that include micro-revision.i as depending
20886 on it, so as to make parallel builds more reliable. Fixes bug
20887 17826; bugfix on 0.2.5.1-alpha.
20888 - Don't try to use the pthread_condattr_setclock() function unless
20889 it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
20890 17819; bugfix on 0.2.6.3-alpha.
20891 - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
20893 - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
20894 bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
20895 - Fix search for libevent libraries on OpenBSD (and other systems
20896 that install libevent 1 and libevent 2 in parallel). Fixes bug
20897 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
20898 - Isolate environment variables meant for tests from the rest of the
20899 build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
20900 - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
20902 - Remove config.log only from make distclean, not from make clean.
20903 Fixes bug 17924; bugfix on 0.2.4.1-alpha.
20905 o Minor bugfixes (crypto):
20906 - Check the return value of HMAC() and assert on failure. Fixes bug
20907 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
20909 o Minor bugfixes (fallback directories):
20910 - Mark fallbacks as "too busy" when they return a 503 response,
20911 rather than just marking authorities. Fixes bug 17572; bugfix on
20912 0.2.4.7-alpha. Patch by "teor".
20914 o Minor bugfixes (IPv6):
20915 - Update the limits in max_dl_per_request for IPv6 address length.
20916 Fixes bug 17573; bugfix on 0.2.1.5-alpha.
20918 o Minor bugfixes (linux seccomp2 sandbox):
20919 - Fix a crash when using offline master ed25519 keys with the Linux
20920 seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
20922 o Minor bugfixes (logging):
20923 - In log messages that include a function name, use __FUNCTION__
20924 instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
20925 with clang __PRETTY_FUNCTION__ has extra information we don't
20926 need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
20928 - Remove needless quotes from a log message about unparseable
20929 addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
20931 o Minor bugfixes (portability):
20932 - Remove an #endif from configure.ac so that we correctly detect the
20933 presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
20936 o Minor bugfixes (relays):
20937 - Check that both the ORPort and DirPort (if present) are reachable
20938 before publishing a relay descriptor. Otherwise, relays publish a
20939 descriptor with DirPort 0 when the DirPort reachability test takes
20940 longer than the ORPort reachability test. Fixes bug 18050; bugfix
20941 on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
20943 o Minor bugfixes (relays, hidden services):
20944 - Refuse connection requests to private OR addresses unless
20945 ExtendAllowPrivateAddresses is set. Previously, tor would connect,
20946 then refuse to send any cells to a private address. Fixes bugs
20947 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
20949 o Minor bugfixes (safe logging):
20950 - When logging a malformed hostname received through socks4, scrub
20951 it if SafeLogging says we should. Fixes bug 17419; bugfix
20954 o Minor bugfixes (statistics code):
20955 - Consistently check for overflow in round_*_to_next_multiple_of
20956 functions, and add unit tests with additional and maximal values.
20957 Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
20958 - Handle edge cases in the laplace functions: avoid division by
20959 zero, avoid taking the log of zero, and silence clang type
20960 conversion warnings using round and trunc. Add unit tests for edge
20961 cases with maximal values. Fixes part of bug 13192; bugfix
20964 o Minor bugfixes (testing):
20965 - The test for log_heartbeat was incorrectly failing in timezones
20966 with non-integer offsets. Instead of comparing the end of the time
20967 string against a constant, compare it to the output of
20968 format_local_iso_time when given the correct input. Fixes bug
20969 18039; bugfix on 0.2.5.4-alpha.
20970 - Make unit tests pass on IPv6-only systems, and systems without
20971 localhost addresses (like some FreeBSD jails). Fixes bug 17632;
20972 bugfix on 0.2.7.3-rc. Patch by "teor".
20973 - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
20975 - Check the full results of SHA256 and SHA512 digests in the unit
20976 tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
20978 o Code simplification and refactoring:
20979 - Move logging of redundant policy entries in
20980 policies_parse_exit_policy_internal into its own function. Closes
20981 ticket 17608; patch from "juce".
20982 - Extract the more complicated parts of circuit_mark_for_close()
20983 into a new function that we run periodically before circuits are
20984 freed. This change removes more than half of the functions
20985 currently in the "blob". Closes ticket 17218.
20986 - Clean up a little duplicated code in
20987 crypto_expand_key_material_TAP(). Closes ticket 17587; patch
20989 - Decouple the list of streams waiting to be attached to circuits
20990 from the overall connection list. This change makes it possible to
20991 attach streams quickly while simplifying Tor's callgraph and
20992 avoiding O(N) scans of the entire connection list. Closes
20994 - When a direct directory request fails immediately on launch,
20995 instead of relaunching that request from inside the code that
20996 launches it, instead mark the connection for teardown. This change
20997 simplifies Tor's callback and prevents the directory-request
20998 launching code from invoking itself recursively. Closes
21000 - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
21001 use them. Closes ticket 17926.
21004 - Add a description of the correct use of the '--keygen' command-
21005 line option. Closes ticket 17583; based on text by 's7r'.
21006 - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
21007 - Explain actual minima for BandwidthRate. Closes ticket 16382.
21008 - Fix a minor formatting typo in the manpage. Closes ticket 17791.
21009 - Mention torspec URL in the manpage and point the reader to it
21010 whenever we mention a document that belongs in torspce. Fixes
21013 o Removed features:
21014 - Remove client-side support for connecting to Tor relays running
21015 versions of Tor before 0.2.3.6-alpha. These relays didn't support
21016 the v3 TLS handshake protocol, and are no longer allowed on the
21017 Tor network. Implements the client side of ticket 11150. Based on
21018 patches by Tom van der Woerdt.
21021 - Add unit tests to check for common RNG failure modes, such as
21022 returning all zeroes, identical values, or incrementing values
21023 (OpenSSL's rand_predictable feature). Patch by "teor".
21024 - Log more information when the backtrace tests fail. Closes ticket
21025 17892. Patch from "cypherpunks."
21026 - Always test both ed25519 backends, so that we can be sure that our
21027 batch-open replacement code works. Part of ticket 16794.
21028 - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
21029 portion of ticket 16831.
21030 - More unit tests for compat_libevent.c, procmon.c, tortls.c,
21031 util_format.c, directory.c, and options_validate.c. Closes tickets
21032 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
21034 - Unit tests for directory_handle_command_get. Closes ticket 17004.
21035 Patch from Reinaldo de Souza Jr.
21038 Changes in version 0.2.7.6 - 2015-12-10
21039 Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
21040 well as a minor bug in hidden service reliability.
21042 o Major bugfixes (guard selection):
21043 - Actually look at the Guard flag when selecting a new directory
21044 guard. When we implemented the directory guard design, we
21045 accidentally started treating all relays as if they have the Guard
21046 flag during guard selection, leading to weaker anonymity and worse
21047 performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
21050 o Minor features (geoip):
21051 - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
21054 o Minor bugfixes (compilation):
21055 - When checking for net/pfvar.h, include netinet/in.h if possible.
21056 This fixes transparent proxy detection on OpenBSD. Fixes bug
21057 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
21058 - Fix a compilation warning with Clang 3.6: Do not check the
21059 presence of an address which can never be NULL. Fixes bug 17781.
21061 o Minor bugfixes (correctness):
21062 - When displaying an IPv6 exit policy, include the mask bits
21063 correctly even when the number is greater than 31. Fixes bug
21064 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
21065 - The wrong list was used when looking up expired intro points in a
21066 rend service object, causing what we think could be reachability
21067 issues for hidden services, and triggering a BUG log. Fixes bug
21068 16702; bugfix on 0.2.7.2-alpha.
21069 - Fix undefined behavior in the tor_cert_checksig function. Fixes
21070 bug 17722; bugfix on 0.2.7.2-alpha.
21073 Changes in version 0.2.7.5 - 2015-11-20
21074 The Tor 0.2.7 release series is dedicated to the memory of Tor user
21075 and privacy advocate Caspar Bowden (1961-2015). Caspar worked
21076 tirelessly to advocate human rights regardless of national borders,
21077 and oppose the encroachments of mass surveillance. He opposed national
21078 exceptionalism, he brought clarity to legal and policy debates, he
21079 understood and predicted the impact of mass surveillance on the world,
21080 and he laid the groundwork for resisting it. While serving on the Tor
21081 Project's board of directors, he brought us his uncompromising focus
21082 on technical excellence in the service of humankind. Caspar was an
21083 inimitable force for good and a wonderful friend. He was kind,
21084 humorous, generous, gallant, and believed we should protect one
21085 another without exception. We honor him here for his ideals, his
21086 efforts, and his accomplishments. Please honor his memory with works
21087 that would make him proud.
21089 Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
21091 The 0.2.7 series adds a more secure identity key type for relays,
21092 improves cryptography performance, resolves several longstanding
21093 hidden-service performance issues, improves controller support for
21094 hidden services, and includes small bugfixes and performance
21095 improvements throughout the program. This release series also includes
21096 more tests than before, and significant simplifications to which parts
21097 of Tor invoke which others.
21099 (This release contains no code changes since 0.2.7.4-rc.)
21102 Changes in version 0.2.7.4-rc - 2015-10-21
21103 Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
21104 fixes some important memory leaks, and a scary-looking (but mostly
21105 harmless in practice) invalid-read bug. It also has a few small
21106 bugfixes, notably fixes for compilation and portability on different
21107 platforms. If no further significant bounds are found, the next
21108 release will the the official stable release.
21110 o Major bugfixes (security, correctness):
21111 - Fix an error that could cause us to read 4 bytes before the
21112 beginning of an openssl string. This bug could be used to cause
21113 Tor to crash on systems with unusual malloc implementations, or
21114 systems with unusual hardening installed. Fixes bug 17404; bugfix
21117 o Major bugfixes (correctness):
21118 - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
21119 bug 17401; bugfix on 0.2.7.3-rc.
21121 o Major bugfixes (memory leaks):
21122 - Fix a memory leak in ed25519 batch signature checking. Fixes bug
21123 17398; bugfix on 0.2.6.1-alpha.
21124 - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
21125 17402; bugfix on 0.2.7.3-rc.
21126 - Fix a memory leak when reading an expired signing key from disk.
21127 Fixes bug 17403; bugfix on 0.2.7.2-rc.
21129 o Minor features (geoIP):
21130 - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
21133 o Minor bugfixes (compilation):
21134 - Repair compilation with the most recent (unreleased, alpha)
21135 vesions of OpenSSL 1.1. Fixes part of ticket 17237.
21136 - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
21137 17251; bugfix on 0.2.7.2-alpha.
21138 - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
21139 bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
21141 o Minor bugfixes (portability):
21142 - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
21143 part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
21146 o Minor bugfixes (sandbox):
21147 - Add the "hidserv-stats" filename to our sandbox filter for the
21148 HiddenServiceStatistics option to work properly. Fixes bug 17354;
21149 bugfix on 0.2.6.2-alpha. Patch from David Goulet.
21151 o Minor bugfixes (testing):
21152 - Add unit tests for get_interface_address* failure cases. Fixes bug
21153 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
21154 - Fix breakage when running 'make check' with BSD make. Fixes bug
21155 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
21156 - Make the get_ifaddrs_* unit tests more tolerant of different
21157 network configurations. (Don't assume every test box has an IPv4
21158 address, and don't assume every test box has a non-localhost
21159 address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
21160 - Skip backtrace tests when backtrace support is not compiled in.
21161 Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
21165 - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
21166 - Note that HiddenServicePorts can take a unix domain socket. Closes
21170 Changes in version 0.2.7.3-rc - 2015-09-25
21171 Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
21172 contains numerous usability fixes for Ed25519 keys, safeguards against
21173 several misconfiguration problems, significant simplifications to
21174 Tor's callgraph, and numerous bugfixes and small features.
21176 This is the most tested release of Tor to date. The unit tests cover
21177 39.40% of the code, and the integration tests (accessible with "make
21178 test-full-online", requiring stem and chutney and a network
21179 connection) raise the coverage to 64.49%.
21181 o Major features (security, hidden services):
21182 - Hidden services, if using the EntryNodes option, are required to
21183 use more than one EntryNode, in order to avoid a guard discovery
21184 attack. (This would only affect people who had configured hidden
21185 services and manually specified the EntryNodes option with a
21186 single entry-node. The impact was that it would be easy to
21187 remotely identify the guard node used by such a hidden service.
21188 See ticket for more information.) Fixes ticket 14917.
21190 o Major features (Ed25519 keys, keypinning):
21191 - The key-pinning option on directory authorities is now advisory-
21192 only by default. In a future version, or when the AuthDirPinKeys
21193 option is set, pins are enforced again. Disabling key-pinning
21194 seemed like a good idea so that we can survive the fallout of any
21195 usability problems associated with Ed25519 keys. Closes
21198 o Major features (Ed25519 performance):
21199 - Improve the speed of Ed25519 operations and Curve25519 keypair
21200 generation when built targeting 32 bit x86 platforms with SSE2
21201 available. Implements ticket 16535.
21202 - Improve the runtime speed of Ed25519 signature verification by
21203 using Ed25519-donna's batch verification support. Implements
21206 o Major features (performance testing):
21207 - The test-network.sh script now supports performance testing.
21208 Requires corresponding chutney performance testing changes. Patch
21209 by "teor". Closes ticket 14175.
21211 o Major features (relay, Ed25519):
21212 - Significant usability improvements for Ed25519 key management. Log
21213 messages are better, and the code can recover from far more
21214 failure conditions. Thanks to "s7r" for reporting and diagnosing
21216 - Add a new OfflineMasterKey option to tell Tor never to try loading
21217 or generating a secret Ed25519 identity key. You can use this in
21218 combination with tor --keygen to manage offline and/or encrypted
21219 Ed25519 keys. Implements ticket 16944.
21220 - Add a --newpass option to allow changing or removing the
21221 passphrase of an encrypted key with tor --keygen. Implements part
21223 - On receiving a HUP signal, check to see whether the Ed25519
21224 signing key has changed, and reload it if so. Closes ticket 16790.
21226 o Major bugfixes (relay, Ed25519):
21227 - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
21228 0.2.7.2-alpha. Reported by "s7r".
21229 - Improve handling of expired signing keys with offline master keys.
21230 Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
21232 o Minor features (client-side privacy):
21233 - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
21234 lifespan when IsolateSOCKSAuth and streams with SOCKS
21235 authentication are attached to the circuit. This allows
21236 applications like TorBrowser to manage circuit lifetime on their
21237 own. Implements feature 15482.
21238 - When logging malformed hostnames from SOCKS5 requests, respect
21239 SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
21241 o Minor features (compilation):
21242 - Give a warning as early as possible when trying to build with an
21243 unsupported OpenSSL version. Closes ticket 16901.
21244 - Fail during configure if we're trying to build against an OpenSSL
21245 built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
21246 which started requiring ECC.
21248 o Minor features (geoip):
21249 - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
21252 o Minor features (hidden services):
21253 - Relays need to have the Fast flag to get the HSDir flag. As this
21254 is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
21255 drop. This change should make some attacks against the hidden
21256 service directory system harder. Fixes ticket 15963.
21257 - Turn on hidden service statistics collection by setting the torrc
21258 option HiddenServiceStatistics to "1" by default. (This keeps
21259 track only of the fraction of traffic used by hidden services, and
21260 the total number of hidden services in existence.) Closes
21262 - Client now uses an introduction point failure cache to know when
21263 to fetch or keep a descriptor in their cache. Previously, failures
21264 were recorded implicitly, but not explicitly remembered. Closes
21267 o Minor features (testing, authorities, documentation):
21268 - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
21269 explicitly manage consensus flags in testing networks. Patch by
21270 "robgjansen", modified by "teor". Implements part of ticket 14882.
21272 o Minor bugfixes (security, exit policies):
21273 - ExitPolicyRejectPrivate now also rejects the relay's published
21274 IPv6 address (if any), and any publicly routable IPv4 or IPv6
21275 addresses on any local interfaces. ticket 17027. Patch by "teor".
21276 Fixes bug 17027; bugfix on 0.2.0.11-alpha.
21278 o Minor bug fixes (torrc exit policies):
21279 - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
21280 produce IPv6 wildcard addresses. Previously they would produce
21281 both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
21282 of bug 16069; bugfix on 0.2.4.7-alpha.
21283 - When parsing torrc ExitPolicies, we now warn for a number of cases
21284 where the user's intent is likely to differ from Tor's actual
21285 behavior. These include: using an IPv4 address with an accept6 or
21286 reject6 line; using "private" on an accept6 or reject6 line; and
21287 including any ExitPolicy lines after accept *:* or reject *:*.
21288 Related to ticket 16069.
21289 - When parsing torrc ExitPolicies, we now issue an info-level
21290 message when expanding an "accept/reject *" line to include both
21291 IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
21292 - In each instance above, usage advice is provided to avoid the
21293 message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
21294 16069; bugfix on 0.2.4.7-alpha.
21296 o Minor bugfixes (authority):
21297 - Don't assign "HSDir" to a router if it isn't Valid and Running.
21298 Fixes bug 16524; bugfix on 0.2.7.2-alpha.
21299 - Downgrade log messages about Ed25519 key issues if they are in old
21300 cached router descriptors. Fixes part of bug 16286; bugfix
21302 - When we find an Ed25519 key issue in a cached descriptor, stop
21303 saying the descriptor was just "uploaded". Fixes another part of
21304 bug 16286; bugfix on 0.2.7.2-alpha.
21306 o Minor bugfixes (control port):
21307 - Repair a warning and a spurious result when getting the maximum
21308 number of file descriptors from the controller. Fixes bug 16697;
21309 bugfix on 0.2.7.2-alpha.
21311 o Minor bugfixes (correctness):
21312 - When calling channel_free_list(), avoid calling smartlist_remove()
21313 while inside a FOREACH loop. This partially reverts commit
21314 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
21315 incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
21317 o Minor bugfixes (documentation):
21318 - Advise users on how to configure separate IPv4 and IPv6 exit
21319 policies in the manpage and sample torrcs. Related to ticket 16069.
21320 - Fix the usage message of tor-resolve(1) so that it no longer lists
21321 the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
21322 - Fix an error in the manual page and comments for
21323 TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
21324 required "ORPort connectivity". While this is true, it is in no
21325 way unique to the HSDir flag. Of all the flags, only HSDirs need a
21326 DirPort configured in order for the authorities to assign that
21327 particular flag. Patch by "teor". Fixed as part of 14882; bugfix
21330 o Minor bugfixes (Ed25519):
21331 - Fix a memory leak when reading router descriptors with expired
21332 Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
21334 o Minor bugfixes (linux seccomp2 sandbox):
21335 - Allow bridge authorities to run correctly under the seccomp2
21336 sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
21337 - Allow routers with ed25519 keys to run correctly under the
21338 seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
21340 o Minor bugfixes (open file limit):
21341 - Fix set_max_file_descriptors() to set by default the max open file
21342 limit to the current limit when setrlimit() fails. Fixes bug
21343 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
21345 o Minor bugfixes (portability):
21346 - Try harder to normalize the exit status of the Tor process to the
21347 standard-provided range. Fixes bug 16975; bugfix on every version
21349 - Check correctly for Windows socket errors in the workqueue
21350 backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
21351 - Fix the behavior of crypto_rand_time_range() when told to consider
21352 times before 1970. (These times were possible when running in a
21353 simulated network environment where time()'s output starts at
21354 zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
21355 - Restore correct operation of TLS client-cipher detection on
21356 OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
21358 o Minor bugfixes (relay):
21359 - Ensure that worker threads actually exit when a fatal error or
21360 shutdown is indicated. This fix doesn't currently affect the
21361 behavior of Tor, because Tor workers never indicates fatal error
21362 or shutdown except in the unit tests. Fixes bug 16868; bugfix
21364 - Unblock threads before releasing the work queue mutex to ensure
21365 predictable scheduling behavior. Fixes bug 16644; bugfix
21368 o Code simplification and refactoring:
21369 - Change the function that's called when we need to retry all
21370 downloads so that it only reschedules the downloads to happen
21371 immediately, rather than launching them all at once itself. This
21372 further simplifies Tor's callgraph.
21373 - Move some format-parsing functions out of crypto.c and
21374 crypto_curve25519.c into crypto_format.c and/or util_format.c.
21375 - Move the client-only parts of init_keys() into a separate
21376 function. Closes ticket 16763.
21377 - Simplify the microdesc_free() implementation so that it no longer
21378 appears (to code analysis tools) to potentially invoke a huge
21379 suite of other microdesc functions.
21380 - Simply the control graph further by deferring the inner body of
21381 directory_all_unreachable() into a callback. Closes ticket 16762.
21382 - Treat the loss of an owning controller as equivalent to a SIGTERM
21383 signal. This removes a tiny amount of duplicated code, and
21384 simplifies our callgraph. Closes ticket 16788.
21385 - When generating an event to send to the controller, we no longer
21386 put the event over the network immediately. Instead, we queue
21387 these events, and use a Libevent callback to deliver them. This
21388 change simplifies Tor's callgraph by reducing the number of
21389 functions from which all other Tor functions are reachable. Closes
21391 - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
21392 that try to scan or compile every file on Unix won't decide that
21394 - Remove the unused "nulterminate" argument from buf_pullup().
21397 - Recommend a 40 GB example AccountingMax in torrc.sample rather
21398 than a 4 GB max. Closes ticket 16742.
21399 - Include the TUNING document in our source tarball. It is referred
21400 to in the ChangeLog and an error message. Fixes bug 16929; bugfix
21404 - The internal pure-C tor-fw-helper tool is now removed from the Tor
21405 distribution, in favor of the pure-Go clone available from
21406 https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
21407 used by the C tor-fw-helper are not, in our opinion, very
21408 confidence- inspiring in their secure-programming techniques.
21409 Closes ticket 13338.
21410 - Remove the code that would try to aggressively flush controller
21411 connections while writing to them. This code was introduced in
21412 0.1.2.7-alpha, in order to keep output buffers from exceeding
21413 their limits. But there is no longer a maximum output buffer size,
21414 and flushing data in this way caused some undesirable recursions
21415 in our call graph. Closes ticket 16480.
21418 - Make "bridges+hs" the default test network. This tests almost all
21419 tor functionality during make test-network, while allowing tests
21420 to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
21421 test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
21422 (chutney). Patches by "teor".
21423 - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
21424 by-side in the same parent directory. Closes ticket 16903. Patch
21426 - Use environment variables rather than autoconf substitutions to
21427 send variables from the build system to the test scripts. This
21428 change should be easier to maintain, and cause 'make distcheck' to
21429 work better than before. Fixes bug 17148.
21430 - Add a new set of callgraph analysis scripts that use clang to
21431 produce a list of which Tor functions are reachable from which
21432 other Tor functions. We're planning to use these to help simplify
21433 our code structure by identifying illogical dependencies.
21434 - Add new 'test-full' and 'test-full-online' targets to run all
21435 tests, including integration tests with stem and chutney.
21436 - Make the test-workqueue test work on Windows by initializing the
21437 network before we begin.
21438 - New make target (make test-network-all) to run multiple applicable
21439 chutney test cases. Patch from Teor; closes 16953.
21440 - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
21441 functions in dns.c. Implements a portion of ticket 16831.
21442 - When building Tor with testing coverage enabled, run Chutney tests
21443 (if any) using the 'tor-cov' coverage binary.
21444 - When running test-network or test-stem, check for the absence of
21445 stem/chutney before doing any build operations.
21448 Changes in version 0.2.7.2-alpha - 2015-07-27
21449 This, the second alpha in the Tor 0.2.7 series, has a number of new
21450 features, including a way to manually pick the number of introduction
21451 points for hidden services, and the much stronger Ed25519 signing key
21452 algorithm for regular Tor relays (including support for encrypted
21453 offline identity keys in the new algorithm).
21455 Support for Ed25519 on relays is currently limited to signing router
21456 descriptors; later alphas in this series will extend Ed25519 key
21457 support to more parts of the Tor protocol.
21459 o Major features (Ed25519 identity keys, Proposal 220):
21460 - All relays now maintain a stronger identity key, using the Ed25519
21461 elliptic curve signature format. This master key is designed so
21462 that it can be kept offline. Relays also generate an online
21463 signing key, and a set of other Ed25519 keys and certificates.
21464 These are all automatically regenerated and rotated as needed.
21465 Implements part of ticket 12498.
21466 - Directory authorities now vote on Ed25519 identity keys along with
21467 RSA1024 keys. Implements part of ticket 12498.
21468 - Directory authorities track which Ed25519 identity keys have been
21469 used with which RSA1024 identity keys, and do not allow them to
21470 vary freely. Implements part of ticket 12498.
21471 - Microdescriptors now include Ed25519 identity keys. Implements
21472 part of ticket 12498.
21473 - Add support for offline encrypted Ed25519 master keys. To use this
21474 feature on your tor relay, run "tor --keygen" to make a new master
21475 key (or to make a new signing key if you already have a master
21476 key). Closes ticket 13642.
21478 o Major features (Hidden services):
21479 - Add the torrc option HiddenServiceNumIntroductionPoints, to
21480 specify a fixed number of introduction points. Its maximum value
21481 is 10 and default is 3. Using this option can increase a hidden
21482 service's reliability under load, at the cost of making it more
21483 visible that the hidden service is facing extra load. Closes
21485 - Remove the adaptive algorithm for choosing the number of
21486 introduction points, which used to change the number of
21487 introduction points (poorly) depending on the number of
21488 connections the HS sees. Closes ticket 4862.
21490 o Major features (onion key cross-certification):
21491 - Relay descriptors now include signatures of their own identity
21492 keys, made using the TAP and ntor onion keys. These signatures
21493 allow relays to prove ownership of their own onion keys. Because
21494 of this change, microdescriptors will no longer need to include
21495 RSA identity keys. Implements proposal 228; closes ticket 12499.
21497 o Major features (performance):
21498 - Improve the runtime speed of Ed25519 operations by using the
21499 public-domain Ed25519-donna by Andrew M. ("floodyberry").
21500 Implements ticket 16467.
21501 - Improve the runtime speed of the ntor handshake by using an
21502 optimized curve25519 basepoint scalarmult implementation from the
21503 public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
21504 ideas by Adam Langley. Implements ticket 9663.
21506 o Major bugfixes (client-side privacy, also in 0.2.6.9):
21507 - Properly separate out each SOCKSPort when applying stream
21508 isolation. The error occurred because each port's session group
21509 was being overwritten by a default value when the listener
21510 connection was initialized. Fixes bug 16247; bugfix on
21511 0.2.6.3-alpha. Patch by "jojelino".
21513 o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
21514 - Stop refusing to store updated hidden service descriptors on a
21515 client. This reverts commit 9407040c59218 (which indeed fixed bug
21516 14219, but introduced a major hidden service reachability
21517 regression detailed in bug 16381). This is a temporary fix since
21518 we can live with the minor issue in bug 14219 (it just results in
21519 some load on the network) but the regression of 16381 is too much
21520 of a setback. First-round fix for bug 16381; bugfix
21523 o Major bugfixes (hidden services):
21524 - When cannibalizing a circuit for an introduction point, always
21525 extend to the chosen exit node (creating a 4 hop circuit).
21526 Previously Tor would use the current circuit exit node, which
21527 changed the original choice of introduction point, and could cause
21528 the hidden service to skip excluded introduction points or
21529 reconnect to a skipped introduction point. Fixes bug 16260; bugfix
21532 o Major bugfixes (open file limit):
21533 - The open file limit wasn't checked before calling
21534 tor_accept_socket_nonblocking(), which would make Tor exceed the
21535 limit. Now, before opening a new socket, Tor validates the open
21536 file limit just before, and if the max has been reached, return an
21537 error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
21539 o Major bugfixes (stability, also in 0.2.6.10):
21540 - Stop crashing with an assertion failure when parsing certain kinds
21541 of malformed or truncated microdescriptors. Fixes bug 16400;
21542 bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
21543 by "cypherpunks_backup".
21544 - Stop random client-side assertion failures that could occur when
21545 connecting to a busy hidden service, or connecting to a hidden
21546 service while a NEWNYM is in progress. Fixes bug 16013; bugfix
21549 o Minor features (directory authorities, security, also in 0.2.6.9):
21550 - The HSDir flag given by authorities now requires the Stable flag.
21551 For the current network, this results in going from 2887 to 2806
21552 HSDirs. Also, it makes it harder for an attacker to launch a sybil
21553 attack by raising the effort for a relay to become Stable to
21554 require at the very least 7 days, while maintaining the 96 hours
21555 uptime requirement for HSDir. Implements ticket 8243.
21557 o Minor features (client):
21558 - Relax the validation of hostnames in SOCKS5 requests, allowing the
21559 character '_' to appear, in order to cope with domains observed in
21560 the wild that are serving non-RFC compliant records. Resolves
21562 - Relax the validation done to hostnames in SOCKS5 requests, and
21563 allow a single trailing '.' to cope with clients that pass FQDNs
21564 using that syntax to explicitly indicate that the domain name is
21565 fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
21566 - Add GroupWritable and WorldWritable options to unix-socket based
21567 SocksPort and ControlPort options. These options apply to a single
21568 socket, and override {Control,Socks}SocketsGroupWritable. Closes
21571 o Minor features (control protocol):
21572 - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
21573 the control protocol. Resolves ticket 15358.
21575 o Minor features (directory authorities):
21576 - Directory authorities no longer vote against the "Fast", "Stable",
21577 and "HSDir" flags just because they were going to vote against
21578 "Running": if the consensus turns out to be that the router was
21579 running, then the authority's vote should count. Patch from Peter
21580 Retzlaff; closes issue 8712.
21582 o Minor features (geoip, also in 0.2.6.10):
21583 - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
21584 - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
21586 o Minor features (hidden services):
21587 - Add the new options "HiddenServiceMaxStreams" and
21588 "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
21589 limit the maximum number of simultaneous streams per circuit, and
21590 optionally tear down the circuit when the limit is exceeded. Part
21593 o Minor features (portability):
21594 - Use C99 variadic macros when the compiler is not GCC. This avoids
21595 failing compilations on MSVC, and fixes a log-file-based race
21596 condition in our old workarounds. Original patch from Gisle Vanem.
21598 o Minor bugfixes (compilation, also in 0.2.6.9):
21599 - Build with --enable-systemd correctly when libsystemd is
21600 installed, but systemd is not. Fixes bug 16164; bugfix on
21601 0.2.6.3-alpha. Patch from Peter Palfrader.
21603 o Minor bugfixes (controller):
21604 - Add the descriptor ID in each HS_DESC control event. It was
21605 missing, but specified in control-spec.txt. Fixes bug 15881;
21606 bugfix on 0.2.5.2-alpha.
21608 o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
21609 - Check for failures from crypto_early_init, and refuse to continue.
21610 A previous typo meant that we could keep going with an
21611 uninitialized crypto library, and would have OpenSSL initialize
21612 its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
21613 when implementing ticket 4900. Patch by "teor".
21615 o Minor bugfixes (hidden services):
21616 - Fix a crash when reloading configuration while at least one
21617 configured and one ephemeral hidden service exists. Fixes bug
21618 16060; bugfix on 0.2.7.1-alpha.
21619 - Avoid crashing with a double-free bug when we create an ephemeral
21620 hidden service but adding it fails for some reason. Fixes bug
21621 16228; bugfix on 0.2.7.1-alpha.
21623 o Minor bugfixes (Linux seccomp2 sandbox):
21624 - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
21625 defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
21627 o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
21628 - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
21629 these when eventfd2() support is missing. Fixes bug 16363; bugfix
21630 on 0.2.6.3-alpha. Patch from "teor".
21632 o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
21633 - Fix sandboxing to work when running as a relay, by allowing the
21634 renaming of secret_id_key, and allowing the eventfd2 and futex
21635 syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
21637 - Allow systemd connections to work with the Linux seccomp2 sandbox
21638 code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
21641 o Minor bugfixes (relay):
21642 - Fix a rarely-encountered memory leak when failing to initialize
21643 the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
21644 from "cypherpunks".
21646 o Minor bugfixes (systemd):
21647 - Fix an accidental formatting error that broke the systemd
21648 configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
21649 - Tor's systemd unit file no longer contains extraneous spaces.
21650 These spaces would sometimes confuse tools like deb-systemd-
21651 helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
21653 o Minor bugfixes (tests):
21654 - Use the configured Python executable when running test-stem-full.
21655 Fixes bug 16470; bugfix on 0.2.7.1-alpha.
21657 o Minor bugfixes (tests, also in 0.2.6.9):
21658 - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
21659 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
21661 o Minor bugfixes (threads, comments):
21662 - Always initialize return value in compute_desc_id in rendcommon.c
21663 Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
21664 - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
21665 Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
21666 - Remove undefined directive-in-macro in test_util_writepid clang
21667 3.7 complains that using a preprocessor directive inside a macro
21668 invocation in test_util_writepid in test_util.c is undefined.
21669 Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
21671 o Code simplification and refactoring:
21672 - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
21673 to ensure they remain consistent and visible everywhere.
21674 - Remove some vestigial workarounds for the MSVC6 compiler. We
21675 haven't supported that in ages.
21676 - The link authentication code has been refactored for better
21677 testability and reliability. It now uses code generated with the
21678 "trunnel" binary encoding generator, to reduce the risk of bugs
21679 due to programmer error. Done as part of ticket 12498.
21682 - Include a specific and (hopefully) accurate documentation of the
21683 torrc file's meta-format in doc/torrc_format.txt. This is mainly
21684 of interest to people writing programs to parse or generate torrc
21685 files. This document is not a commitment to long-term
21686 compatibility; some aspects of the current format are a bit
21687 ridiculous. Closes ticket 2325.
21689 o Removed features:
21690 - Tor no longer supports copies of OpenSSL that are missing support
21691 for Elliptic Curve Cryptography. (We began using ECC when
21692 available in 0.2.4.8-alpha, for more safe and efficient key
21693 negotiation.) In particular, support for at least one of P256 or
21694 P224 is now required, with manual configuration needed if only
21695 P224 is available. Resolves ticket 16140.
21696 - Tor no longer supports versions of OpenSSL before 1.0. (If you are
21697 on an operating system that has not upgraded to OpenSSL 1.0 or
21698 later, and you compile Tor from source, you will need to install a
21699 more recent OpenSSL to link Tor against.) These versions of
21700 OpenSSL are still supported by the OpenSSL, but the numerous
21701 cryptographic improvements in later OpenSSL releases makes them a
21702 clear choice. Resolves ticket 16034.
21703 - Remove the HidServDirectoryV2 option. Now all relays offer to
21704 store hidden service descriptors. Related to 16543.
21705 - Remove the VoteOnHidServDirectoriesV2 option, since all
21706 authorities have long set it to 1. Closes ticket 16543.
21709 - Document use of coverity, clang static analyzer, and clang dynamic
21710 undefined behavior and address sanitizers in doc/HACKING. Include
21711 detailed usage instructions in the blacklist. Patch by "teor".
21712 Closes ticket 15817.
21713 - The link authentication protocol code now has extensive tests.
21714 - The relay descriptor signature testing code now has
21716 - The test_workqueue program now runs faster, and is enabled by
21717 default as a part of "make check".
21718 - Now that OpenSSL has its own scrypt implementation, add an unit
21719 test that checks for interoperability between libscrypt_scrypt()
21720 and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
21721 and rely on EVP_PBE_scrypt() whenever possible. Resolves
21725 Changes in version 0.2.6.10 - 2015-07-12
21726 Tor version 0.2.6.10 fixes some significant stability and hidden
21727 service client bugs, bulletproofs the cryptography init process, and
21728 fixes a bug when using the sandbox code with some older versions of
21729 Linux. Everyone running an older version, especially an older version
21730 of 0.2.6, should upgrade.
21732 o Major bugfixes (hidden service clients, stability):
21733 - Stop refusing to store updated hidden service descriptors on a
21734 client. This reverts commit 9407040c59218 (which indeed fixed bug
21735 14219, but introduced a major hidden service reachability
21736 regression detailed in bug 16381). This is a temporary fix since
21737 we can live with the minor issue in bug 14219 (it just results in
21738 some load on the network) but the regression of 16381 is too much
21739 of a setback. First-round fix for bug 16381; bugfix
21742 o Major bugfixes (stability):
21743 - Stop crashing with an assertion failure when parsing certain kinds
21744 of malformed or truncated microdescriptors. Fixes bug 16400;
21745 bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
21746 by "cypherpunks_backup".
21747 - Stop random client-side assertion failures that could occur when
21748 connecting to a busy hidden service, or connecting to a hidden
21749 service while a NEWNYM is in progress. Fixes bug 16013; bugfix
21752 o Minor features (geoip):
21753 - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
21754 - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
21756 o Minor bugfixes (crypto error-handling):
21757 - Check for failures from crypto_early_init, and refuse to continue.
21758 A previous typo meant that we could keep going with an
21759 uninitialized crypto library, and would have OpenSSL initialize
21760 its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
21761 when implementing ticket 4900. Patch by "teor".
21763 o Minor bugfixes (Linux seccomp2 sandbox):
21764 - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
21765 these when eventfd2() support is missing. Fixes bug 16363; bugfix
21766 on 0.2.6.3-alpha. Patch from "teor".
21769 Changes in version 0.2.6.9 - 2015-06-11
21770 Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
21771 requirements for receiving an HSDir flag, and addresses some other small
21772 bugs in the systemd and sandbox code. Clients using circuit isolation
21773 should upgrade; all directory authorities should upgrade.
21775 o Major bugfixes (client-side privacy):
21776 - Properly separate out each SOCKSPort when applying stream
21777 isolation. The error occurred because each port's session group was
21778 being overwritten by a default value when the listener connection
21779 was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
21782 o Minor feature (directory authorities, security):
21783 - The HSDir flag given by authorities now requires the Stable flag.
21784 For the current network, this results in going from 2887 to 2806
21785 HSDirs. Also, it makes it harder for an attacker to launch a sybil
21786 attack by raising the effort for a relay to become Stable which
21787 takes at the very least 7 days to do so and by keeping the 96
21788 hours uptime requirement for HSDir. Implements ticket 8243.
21790 o Minor bugfixes (compilation):
21791 - Build with --enable-systemd correctly when libsystemd is
21792 installed, but systemd is not. Fixes bug 16164; bugfix on
21793 0.2.6.3-alpha. Patch from Peter Palfrader.
21795 o Minor bugfixes (Linux seccomp2 sandbox):
21796 - Fix sandboxing to work when running as a relaymby renaming of
21797 secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
21798 bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
21799 - Allow systemd connections to work with the Linux seccomp2 sandbox
21800 code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
21803 o Minor bugfixes (tests):
21804 - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
21805 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
21808 Changes in version 0.2.6.8 - 2015-05-21
21809 Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
21810 fixes an authority-side bug in assigning the HSDir flag. All directory
21811 authorities should upgrade.
21813 o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
21814 - Revert commit that made directory authorities assign the HSDir
21815 flag to relays without a DirPort; this was bad because such relays
21816 can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
21819 o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
21820 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
21821 a client authorized hidden service. Fixes bug 15823; bugfix
21824 o Minor features (geoip):
21825 - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
21826 - Update geoip6 to the April 8 2015 Maxmind GeoLite2
21830 Changes in version 0.2.7.1-alpha - 2015-05-12
21831 Tor 0.2.7.1-alpha is the first alpha release in its series. It
21832 includes numerous small features and bugfixes against previous Tor
21833 versions, and numerous small infrastructure improvements. The most
21834 notable features are several new ways for controllers to interact with
21835 the hidden services subsystem.
21837 o New system requirements:
21838 - Tor no longer includes workarounds to support Libevent versions
21839 before 1.3e. Libevent 2.0 or later is recommended. Closes
21842 o Major features (controller):
21843 - Add the ADD_ONION and DEL_ONION commands that allow the creation
21844 and management of hidden services via the controller. Closes
21846 - New "GETINFO onions/current" and "GETINFO onions/detached"
21847 commands to get information about hidden services created via the
21848 controller. Part of ticket 6411.
21849 - New HSFETCH command to launch a request for a hidden service
21850 descriptor. Closes ticket 14847.
21851 - New HSPOST command to upload a hidden service descriptor. Closes
21852 ticket 3523. Patch by "DonnchaC".
21854 o Major bugfixes (hidden services):
21855 - Revert commit that made directory authorities assign the HSDir
21856 flag to relays without a DirPort; this was bad because such relays
21857 can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
21860 o Minor features (clock-jump tolerance):
21861 - Recover better when our clock jumps back many hours, like might
21862 happen for Tails or Whonix users who start with a very wrong
21863 hardware clock, use Tor to discover a more accurate time, and then
21864 fix their clock. Resolves part of ticket 8766.
21866 o Minor features (command-line interface):
21867 - Make --hash-password imply --hush to prevent unnecessary noise.
21868 Closes ticket 15542. Patch from "cypherpunks".
21869 - Print a warning whenever we find a relative file path being used
21870 as torrc option. Resolves issue 14018.
21872 o Minor features (controller):
21873 - Add DirAuthority lines for default directory authorities to the
21874 output of the "GETINFO config/defaults" command if not already
21875 present. Implements ticket 14840.
21876 - Controllers can now use "GETINFO hs/client/desc/id/..." to
21877 retrieve items from the client's hidden service descriptor cache.
21878 Closes ticket 14845.
21879 - Implement a new controller command "GETINFO status/fresh-relay-
21880 descs" to fetch a descriptor/extrainfo pair that was generated on
21881 demand just for the controller's use. Implements ticket 14784.
21883 o Minor features (DoS-resistance):
21884 - Make it harder for attackers to overload hidden services with
21885 introductions, by blocking multiple introduction requests on the
21886 same circuit. Resolves ticket 15515.
21888 o Minor features (geoip):
21889 - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
21890 - Update geoip6 to the April 8 2015 Maxmind GeoLite2
21893 o Minor features (HS popularity countermeasure):
21894 - To avoid leaking HS popularity, don't cycle the introduction point
21895 when we've handled a fixed number of INTRODUCE2 cells but instead
21896 cycle it when a random number of introductions is reached, thus
21897 making it more difficult for an attacker to find out the amount of
21898 clients that have used the introduction point for a specific HS.
21899 Closes ticket 15745.
21901 o Minor features (logging):
21902 - Include the Tor version in all LD_BUG log messages, since people
21903 tend to cut and paste those into the bugtracker. Implements
21906 o Minor features (pluggable transports):
21907 - When launching managed pluggable transports on Linux systems,
21908 attempt to have the kernel deliver a SIGTERM on tor exit if the
21909 pluggable transport process is still running. Resolves
21911 - When launching managed pluggable transports, setup a valid open
21912 stdin in the child process that can be used to detect if tor has
21913 terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
21914 can be used by implementations to detect this new behavior.
21915 Resolves ticket 15435.
21917 o Minor features (testing):
21918 - Add a test to verify that the compiler does not eliminate our
21919 memwipe() implementation. Closes ticket 15377.
21920 - Add make rule `check-changes` to verify the format of changes
21921 files. Closes ticket 15180.
21922 - Add unit tests for control_event_is_interesting(). Add a compile-
21923 time check that the number of events doesn't exceed the capacity
21924 of control_event_t.event_mask. Closes ticket 15431, checks for
21925 bugs similar to 13085. Patch by "teor".
21926 - Command-line argument tests moved to Stem. Resolves ticket 14806.
21927 - Integrate the ntor, backtrace, and zero-length keys tests into the
21928 automake test suite. Closes ticket 15344.
21929 - Remove assertions during builds to determine Tor's test coverage.
21930 We don't want to trigger these even in assertions, so including
21931 them artificially makes our branch coverage look worse than it is.
21932 This patch provides the new test-stem-full and coverage-html-full
21933 configure options. Implements ticket 15400.
21935 o Minor bugfixes (build):
21936 - Improve out-of-tree builds by making non-standard rules work and
21937 clean up additional files and directories. Fixes bug 15053; bugfix
21940 o Minor bugfixes (command-line interface):
21941 - When "--quiet" is provided along with "--validate-config", do not
21942 write anything to stdout on success. Fixes bug 14994; bugfix
21944 - When complaining about bad arguments to "--dump-config", use
21945 stderr, not stdout.
21947 o Minor bugfixes (configuration, unit tests):
21948 - Only add the default fallback directories when the DirAuthorities,
21949 AlternateDirAuthority, and FallbackDir directory config options
21950 are set to their defaults. The default fallback directory list is
21951 currently empty, this fix will only change tor's behavior when it
21952 has default fallback directories. Includes unit tests for
21953 consider_adding_dir_servers(). Fixes bug 15642; bugfix on
21954 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
21956 o Minor bugfixes (correctness):
21957 - For correctness, avoid modifying a constant string in
21958 handle_control_postdescriptor. Fixes bug 15546; bugfix
21960 - Remove side-effects from tor_assert() calls. This was harmless,
21961 because we never disable assertions, but it is bad style and
21962 unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
21965 o Minor bugfixes (hidden service):
21966 - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
21967 a client authorized hidden service. Fixes bug 15823; bugfix
21969 - Remove an extraneous newline character from the end of hidden
21970 service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
21972 o Minor bugfixes (interface):
21973 - Print usage information for --dump-config when it is used without
21974 an argument. Also, fix the error message to use different wording
21975 and add newline at the end. Fixes bug 15541; bugfix
21978 o Minor bugfixes (logs):
21979 - When building Tor under Clang, do not include an extra set of
21980 parentheses in log messages that include function names. Fixes bug
21981 15269; bugfix on every released version of Tor when compiled with
21982 recent enough Clang.
21984 o Minor bugfixes (network):
21985 - When attempting to use fallback technique for network interface
21986 lookup, disregard loopback and multicast addresses since they are
21987 unsuitable for public communications.
21989 o Minor bugfixes (statistics):
21990 - Disregard the ConnDirectionStatistics torrc options when Tor is
21991 not a relay since in that mode of operation no sensible data is
21992 being collected and because Tor might run into measurement hiccups
21993 when running as a client for some time, then becoming a relay.
21994 Fixes bug 15604; bugfix on 0.2.2.35.
21996 o Minor bugfixes (test networks):
21997 - When self-testing reachability, use ExtendAllowPrivateAddresses to
21998 determine if local/private addresses imply reachability. The
21999 previous fix used TestingTorNetwork, which implies
22000 ExtendAllowPrivateAddresses, but this excluded rare configurations
22001 where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
22002 not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
22003 issue discovered by CJ Ess.
22005 o Minor bugfixes (testing):
22006 - Check for matching value in server response in ntor_ref.py. Fixes
22007 bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
22009 - Set the severity correctly when testing
22010 get_interface_addresses_ifaddrs() and
22011 get_interface_addresses_win32(), so that the tests fail gracefully
22012 instead of triggering an assertion. Fixes bug 15759; bugfix on
22013 0.2.6.3-alpha. Reported by Nicolas Derive.
22015 o Code simplification and refactoring:
22016 - Move the hacky fallback code out of get_interface_address6() into
22017 separate function and get it covered with unit-tests. Resolves
22019 - Refactor hidden service client-side cache lookup to intelligently
22020 report its various failure cases, and disentangle failure cases
22021 involving a lack of introduction points. Closes ticket 14391.
22022 - Use our own Base64 encoder instead of OpenSSL's, to allow more
22023 control over the output. Part of ticket 15652.
22026 - Improve the descriptions of statistics-related torrc options in
22027 the manpage to describe rationale and possible uses cases. Fixes
22029 - Improve the layout and formatting of ./configure --help messages.
22030 Closes ticket 15024. Patch from "cypherpunks".
22031 - Standardize on the term "server descriptor" in the manual page.
22032 Previously, we had used "router descriptor", "server descriptor",
22033 and "relay descriptor" interchangeably. Part of ticket 14987.
22036 - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
22037 and always use the internal Base64 decoder. The internal decoder
22038 has been part of tor since 0.2.0.10-alpha, and no one should
22039 be using the OpenSSL one. Part of ticket 15652.
22040 - Remove the 'tor_strclear()' function; use memwipe() instead.
22041 Closes ticket 14922.
22043 o Removed features:
22044 - Remove the (seldom-used) DynamicDHGroups feature. For anti-
22045 fingerprinting we now recommend pluggable transports; for forward-
22046 secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
22047 - Remove the undocumented "--digests" command-line option. It
22048 complicated our build process, caused subtle build issues on
22049 multiple platforms, and is now redundant since we started
22050 including git version identifiers. Closes ticket 14742.
22051 - Tor no longer contains checks for ancient directory cache versions
22052 that didn't know about microdescriptors.
22053 - Tor no longer contains workarounds for stat files generated by
22054 super-old versions of Tor that didn't choose guards sensibly.
22057 Changes in version 0.2.4.27 - 2015-04-06
22058 Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
22059 could be used by an attacker to crash hidden services, or crash clients
22060 visiting hidden services. Hidden services should upgrade as soon as
22061 possible; clients should upgrade whenever packages become available.
22063 This release also backports a simple improvement to make hidden
22064 services a bit less vulnerable to denial-of-service attacks.
22066 o Major bugfixes (security, hidden service):
22067 - Fix an issue that would allow a malicious client to trigger an
22068 assertion failure and halt a hidden service. Fixes bug 15600;
22069 bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
22070 - Fix a bug that could cause a client to crash with an assertion
22071 failure when parsing a malformed hidden service descriptor. Fixes
22072 bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
22074 o Minor features (DoS-resistance, hidden service):
22075 - Introduction points no longer allow multiple INTRODUCE1 cells to
22076 arrive on the same circuit. This should make it more expensive for
22077 attackers to overwhelm hidden services with introductions.
22078 Resolves ticket 15515.
22081 Changes in version 0.2.5.12 - 2015-04-06
22082 Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
22083 could be used by an attacker to crash hidden services, or crash clients
22084 visiting hidden services. Hidden services should upgrade as soon as
22085 possible; clients should upgrade whenever packages become available.
22087 This release also backports a simple improvement to make hidden
22088 services a bit less vulnerable to denial-of-service attacks.
22090 o Major bugfixes (security, hidden service):
22091 - Fix an issue that would allow a malicious client to trigger an
22092 assertion failure and halt a hidden service. Fixes bug 15600;
22093 bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
22094 - Fix a bug that could cause a client to crash with an assertion
22095 failure when parsing a malformed hidden service descriptor. Fixes
22096 bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
22098 o Minor features (DoS-resistance, hidden service):
22099 - Introduction points no longer allow multiple INTRODUCE1 cells to
22100 arrive on the same circuit. This should make it more expensive for
22101 attackers to overwhelm hidden services with introductions.
22102 Resolves ticket 15515.
22105 Changes in version 0.2.6.7 - 2015-04-06
22106 Tor 0.2.6.7 fixes two security issues that could be used by an
22107 attacker to crash hidden services, or crash clients visiting hidden
22108 services. Hidden services should upgrade as soon as possible; clients
22109 should upgrade whenever packages become available.
22111 This release also contains two simple improvements to make hidden
22112 services a bit less vulnerable to denial-of-service attacks.
22114 o Major bugfixes (security, hidden service):
22115 - Fix an issue that would allow a malicious client to trigger an
22116 assertion failure and halt a hidden service. Fixes bug 15600;
22117 bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
22118 - Fix a bug that could cause a client to crash with an assertion
22119 failure when parsing a malformed hidden service descriptor. Fixes
22120 bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
22122 o Minor features (DoS-resistance, hidden service):
22123 - Introduction points no longer allow multiple INTRODUCE1 cells to
22124 arrive on the same circuit. This should make it more expensive for
22125 attackers to overwhelm hidden services with introductions.
22126 Resolves ticket 15515.
22127 - Decrease the amount of reattempts that a hidden service performs
22128 when its rendezvous circuits fail. This reduces the computational
22129 cost for running a hidden service under heavy load. Resolves
22133 Changes in version 0.2.6.6 - 2015-03-24
22134 Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
22136 It adds numerous safety, security, correctness, and performance
22137 improvements. Client programs can be configured to use more kinds of
22138 sockets, AutomapHosts works better, the multithreading backend is
22139 improved, cell transmission is refactored, test coverage is much
22140 higher, more denial-of-service attacks are handled, guard selection is
22141 improved to handle long-term guards better, pluggable transports
22142 should work a bit better, and some annoying hidden service performance
22143 bugs should be addressed.
22145 o Minor bugfixes (portability):
22146 - Use the correct datatype in the SipHash-2-4 function to prevent
22147 compilers from assuming any sort of alignment. Fixes bug 15436;
22148 bugfix on 0.2.5.3-alpha.
22150 Changes in version 0.2.6.5-rc - 2015-03-18
22151 Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
22152 the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
22154 o Major bugfixes (client):
22155 - Avoid crashing when making certain configuration option changes on
22156 clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
22159 o Major bugfixes (pluggable transports):
22160 - Initialize the extended OR Port authentication cookie before
22161 launching pluggable transports. This prevents a race condition
22162 that occurred when server-side pluggable transports would cache the
22163 authentication cookie before it has been (re)generated. Fixes bug
22164 15240; bugfix on 0.2.5.1-alpha.
22166 o Major bugfixes (portability):
22167 - Do not crash on startup when running on Solaris. Fixes a bug
22168 related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
22171 o Minor features (heartbeat):
22172 - On relays, report how many connections we negotiated using each
22173 version of the Tor link protocols. This information will let us
22174 know if removing support for very old versions of the Tor
22175 protocols is harming the network. Closes ticket 15212.
22177 o Code simplification and refactoring:
22178 - Refactor main loop to extract the 'loop' part. This makes it
22179 easier to run Tor under Shadow. Closes ticket 15176.
22182 Changes in version 0.2.5.11 - 2015-03-17
22183 Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
22185 It backports several bugfixes from the 0.2.6 branch, including a
22186 couple of medium-level security fixes for relays and exit nodes.
22187 It also updates the list of directory authorities.
22189 o Directory authority changes:
22190 - Remove turtles as a directory authority.
22191 - Add longclaw as a new (v3) directory authority. This implements
22192 ticket 13296. This keeps the directory authority count at 9.
22193 - The directory authority Faravahar has a new IP address. This
22194 closes ticket 14487.
22196 o Major bugfixes (crash, OSX, security):
22197 - Fix a remote denial-of-service opportunity caused by a bug in
22198 OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
22201 o Major bugfixes (relay, stability, possible security):
22202 - Fix a bug that could lead to a relay crashing with an assertion
22203 failure if a buffer of exactly the wrong layout was passed to
22204 buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
22205 0.2.0.10-alpha. Patch from 'cypherpunks'.
22206 - Do not assert if the 'data' pointer on a buffer is advanced to the
22207 very end of the buffer; log a BUG message instead. Only assert if
22208 it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
22210 o Major bugfixes (exit node stability):
22211 - Fix an assertion failure that could occur under high DNS load.
22212 Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
22213 diagnosed and fixed by "cypherpunks".
22215 o Major bugfixes (Linux seccomp2 sandbox):
22216 - Upon receiving sighup with the seccomp2 sandbox enabled, do not
22217 crash during attempts to call wait4. Fixes bug 15088; bugfix on
22218 0.2.5.1-alpha. Patch from "sanic".
22220 o Minor features (controller):
22221 - New "GETINFO bw-event-cache" to get information about recent
22222 bandwidth events. Closes ticket 14128. Useful for controllers to
22223 get recent bandwidth history after the fix for ticket 13988.
22225 o Minor features (geoip):
22226 - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
22227 - Update geoip6 to the March 3 2015 Maxmind GeoLite2
22230 o Minor bugfixes (client, automapping):
22231 - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
22232 no value follows the option. Fixes bug 14142; bugfix on
22233 0.2.4.7-alpha. Patch by "teor".
22234 - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
22235 14195; bugfix on 0.1.0.1-rc.
22237 o Minor bugfixes (compilation):
22238 - Build without warnings with the stock OpenSSL srtp.h header, which
22239 has a duplicate declaration of SSL_get_selected_srtp_profile().
22240 Fixes bug 14220; this is OpenSSL's bug, not ours.
22242 o Minor bugfixes (directory authority):
22243 - Allow directory authorities to fetch more data from one another if
22244 they find themselves missing lots of votes. Previously, they had
22245 been bumping against the 10 MB queued data limit. Fixes bug 14261;
22246 bugfix on 0.1.2.5-alpha.
22247 - Enlarge the buffer to read bwauth generated files to avoid an
22248 issue when parsing the file in dirserv_read_measured_bandwidths().
22249 Fixes bug 14125; bugfix on 0.2.2.1-alpha.
22251 o Minor bugfixes (statistics):
22252 - Increase period over which bandwidth observations are aggregated
22253 from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
22255 o Minor bugfixes (preventative security, C safety):
22256 - When reading a hexadecimal, base-32, or base-64 encoded value from
22257 a string, always overwrite the whole output buffer. This prevents
22258 some bugs where we would look at (but fortunately, not reveal)
22259 uninitialized memory on the stack. Fixes bug 14013; bugfix on all
22263 Changes in version 0.2.4.26 - 2015-03-17
22264 Tor 0.2.4.26 includes an updated list of directory authorities. It
22265 also backports a couple of stability and security bugfixes from 0.2.5
22268 o Directory authority changes:
22269 - Remove turtles as a directory authority.
22270 - Add longclaw as a new (v3) directory authority. This implements
22271 ticket 13296. This keeps the directory authority count at 9.
22272 - The directory authority Faravahar has a new IP address. This
22273 closes ticket 14487.
22275 o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
22276 - Fix an assertion failure that could occur under high DNS load.
22277 Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
22278 diagnosed and fixed by "cypherpunks".
22280 o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
22281 - Fix a bug that could lead to a relay crashing with an assertion
22282 failure if a buffer of exactly the wrong layout was passed to
22283 buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
22284 0.2.0.10-alpha. Patch from 'cypherpunks'.
22285 - Do not assert if the 'data' pointer on a buffer is advanced to the
22286 very end of the buffer; log a BUG message instead. Only assert if
22287 it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
22289 o Minor features (geoip):
22290 - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
22291 - Update geoip6 to the March 3 2015 Maxmind GeoLite2
22294 Changes in version 0.2.6.4-rc - 2015-03-09
22295 Tor 0.2.6.4-alpha fixes an issue in the directory code that an
22296 attacker might be able to use in order to crash certain Tor
22297 directories. It also resolves some minor issues left over from, or
22298 introduced in, Tor 0.2.6.3-alpha or earlier.
22300 o Major bugfixes (crash, OSX, security):
22301 - Fix a remote denial-of-service opportunity caused by a bug in
22302 OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
22305 o Major bugfixes (relay, stability, possible security):
22306 - Fix a bug that could lead to a relay crashing with an assertion
22307 failure if a buffer of exactly the wrong layout is passed to
22308 buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
22309 0.2.0.10-alpha. Patch from "cypherpunks".
22310 - Do not assert if the 'data' pointer on a buffer is advanced to the
22311 very end of the buffer; log a BUG message instead. Only assert if
22312 it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
22314 o Major bugfixes (FreeBSD IPFW transparent proxy):
22315 - Fix address detection with FreeBSD transparent proxies, when
22316 "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
22319 o Major bugfixes (Linux seccomp2 sandbox):
22320 - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
22321 seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
22323 - Allow AF_UNIX hidden services to be used with the seccomp2
22324 sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
22325 - Upon receiving sighup with the seccomp2 sandbox enabled, do not
22326 crash during attempts to call wait4. Fixes bug 15088; bugfix on
22327 0.2.5.1-alpha. Patch from "sanic".
22329 o Minor features (controller):
22330 - Messages about problems in the bootstrap process now include
22331 information about the server we were trying to connect to when we
22332 noticed the problem. Closes ticket 15006.
22334 o Minor features (geoip):
22335 - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
22336 - Update geoip6 to the March 3 2015 Maxmind GeoLite2
22339 o Minor features (logs):
22340 - Quiet some log messages in the heartbeat and at startup. Closes
22343 o Minor bugfixes (certificate handling):
22344 - If an authority operator accidentally makes a signing certificate
22345 with a future publication time, do not discard its real signing
22346 certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
22347 - Remove any old authority certificates that have been superseded
22348 for at least two days. Previously, we would keep superseded
22349 certificates until they expired, if they were published close in
22350 time to the certificate that superseded them. Fixes bug 11454;
22351 bugfix on 0.2.1.8-alpha.
22353 o Minor bugfixes (compilation):
22354 - Fix a compilation warning on s390. Fixes bug 14988; bugfix
22356 - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
22359 o Minor bugfixes (testing):
22360 - Fix endianness issues in unit test for resolve_my_address() to
22361 have it pass on big endian systems. Fixes bug 14980; bugfix on
22363 - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
22364 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
22365 - When running the new 'make test-stem' target, use the configured
22366 python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
22367 from "cypherpunks".
22368 - When running the zero-length-keys tests, do not use the default
22369 torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
22372 o Directory authority IP change:
22373 - The directory authority Faravahar has a new IP address. This
22374 closes ticket 14487.
22377 - Remove some lingering dead code that once supported mempools.
22378 Mempools were disabled by default in 0.2.5, and removed entirely
22379 in 0.2.6.3-alpha. Closes more of ticket 14848; patch
22383 Changes in version 0.2.6.3-alpha - 2015-02-19
22384 Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
22385 the 0.2.6.x series. It introduces support for more kinds of sockets,
22386 makes it harder to accidentally run an exit, improves our
22387 multithreading backend, incorporates several fixes for the
22388 AutomapHostsOnResolve option, and fixes numerous other bugs besides.
22390 If no major regressions or security holes are found in this version,
22391 the next version will be a release candidate.
22393 o Deprecated versions:
22394 - Tor relays older than 0.2.4.18-rc are no longer allowed to
22395 advertise themselves on the network. Closes ticket 13555.
22397 o Major features (security, unix domain sockets):
22398 - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
22399 applications can reach Tor without having to create AF_INET or
22400 AF_INET6 sockets, meaning they can completely disable their
22401 ability to make non-Tor network connections. To create a socket of
22402 this type, use "SocksPort unix:/path/to/socket". Implements
22404 - Support mapping hidden service virtual ports to AF_UNIX sockets.
22405 The syntax is "HiddenServicePort 80 unix:/path/to/socket".
22406 Implements ticket 11485.
22408 o Major features (changed defaults):
22409 - Prevent relay operators from unintentionally running exits: When a
22410 relay is configured as an exit node, we now warn the user unless
22411 the "ExitRelay" option is set to 1. We warn even more loudly if
22412 the relay is configured with the default exit policy, since this
22413 can indicate accidental misconfiguration. Setting "ExitRelay 0"
22414 stops Tor from running as an exit relay. Closes ticket 10067.
22416 o Major features (directory system):
22417 - When downloading server- or microdescriptors from a directory
22418 server, we no longer launch multiple simultaneous requests to the
22419 same server. This reduces load on the directory servers,
22420 especially when directory guards are in use. Closes ticket 9969.
22421 - When downloading server- or microdescriptors over a tunneled
22422 connection, do not limit the length of our requests to what the
22423 Squid proxy is willing to handle. Part of ticket 9969.
22424 - Authorities can now vote on the correct digests and latest
22425 versions for different software packages. This allows packages
22426 that include Tor to use the Tor authority system as a way to get
22427 notified of updates and their correct digests. Implements proposal
22428 227. Closes ticket 10395.
22430 o Major features (guards):
22431 - Introduce the Guardfraction feature to improves load balancing on
22432 guard nodes. Specifically, it aims to reduce the traffic gap that
22433 guard nodes experience when they first get the Guard flag. This is
22434 a required step if we want to increase the guard lifetime to 9
22435 months or greater. Closes ticket 9321.
22437 o Major features (performance):
22438 - Make the CPU worker implementation more efficient by avoiding the
22439 kernel and lengthening pipelines. The original implementation used
22440 sockets to transfer data from the main thread to the workers, and
22441 didn't allow any thread to be assigned more than a single piece of
22442 work at once. The new implementation avoids communications
22443 overhead by making requests in shared memory, avoiding kernel IO
22444 where possible, and keeping more requests in flight at once.
22445 Implements ticket 9682.
22447 o Major features (relay):
22448 - Raise the minimum acceptable configured bandwidth rate for bridges
22449 to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
22450 20 KiB/sec.) Closes ticket 13822.
22452 o Major bugfixes (exit node stability):
22453 - Fix an assertion failure that could occur under high DNS load.
22454 Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
22455 diagnosed and fixed by "cypherpunks".
22457 o Major bugfixes (mixed relay-client operation):
22458 - When running as a relay and client at the same time (not
22459 recommended), if we decide not to use a new guard because we want
22460 to retry older guards, only close the locally-originating circuits
22461 passing through that guard. Previously we would close all the
22462 circuits through that guard. Fixes bug 9819; bugfix on
22463 0.2.1.1-alpha. Reported by "skruffy".
22465 o Minor features (build):
22466 - New --disable-system-torrc compile-time option to prevent Tor from
22467 looking for the system-wide torrc or torrc-defaults files.
22468 Resolves ticket 13037.
22470 o Minor features (controller):
22471 - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
22472 events so controllers can observe circuit isolation inputs. Closes
22474 - ControlPort now supports the unix:/path/to/socket syntax as an
22475 alternative to the ControlSocket option, for consistency with
22476 SocksPort and HiddenServicePort. Closes ticket 14451.
22477 - New "GETINFO bw-event-cache" to get information about recent
22478 bandwidth events. Closes ticket 14128. Useful for controllers to
22479 get recent bandwidth history after the fix for ticket 13988.
22481 o Minor features (Denial of service resistance):
22482 - Count the total number of bytes used storing hidden service
22483 descriptors against the value of MaxMemInQueues. If we're low on
22484 memory, and more than 20% of our memory is used holding hidden
22485 service descriptors, free them until no more than 10% of our
22486 memory holds hidden service descriptors. Free the least recently
22487 fetched descriptors first. Resolves ticket 13806.
22488 - When we have recently been under memory pressure (over 3/4 of
22489 MaxMemInQueues is allocated), then allocate smaller zlib objects
22490 for small requests. Closes ticket 11791.
22492 o Minor features (geoip):
22493 - Update geoip and geoip6 files to the January 7 2015 Maxmind
22494 GeoLite2 Country database.
22496 o Minor features (guard nodes):
22497 - Reduce the time delay before saving guard status to disk from 10
22498 minutes to 30 seconds (or from one hour to 10 minutes if
22499 AvoidDiskWrites is set). Closes ticket 12485.
22501 o Minor features (hidden service):
22502 - Make Sybil attacks against hidden services harder by changing the
22503 minimum time required to get the HSDir flag from 25 hours up to 96
22504 hours. Addresses ticket 14149.
22505 - New option "HiddenServiceAllowUnknownPorts" to allow hidden
22506 services to disable the anti-scanning feature introduced in
22507 0.2.6.2-alpha. With this option not set, a connection to an
22508 unlisted port closes the circuit. With this option set, only a
22509 RELAY_DONE cell is sent. Closes ticket 14084.
22511 o Minor features (interface):
22512 - Implement "-f -" command-line option to read torrc configuration
22513 from standard input, if you don't want to store the torrc file in
22514 the file system. Implements feature 13865.
22516 o Minor features (logging):
22517 - Add a count of unique clients to the bridge heartbeat message.
22518 Resolves ticket 6852.
22519 - Suppress "router info incompatible with extra info" message when
22520 reading extrainfo documents from cache. (This message got loud
22521 around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
22523 - Elevate hidden service authorized-client message from DEBUG to
22524 INFO. Closes ticket 14015.
22526 o Minor features (stability):
22527 - Add assertions in our hash-table iteration code to check for
22528 corrupted values that could cause infinite loops. Closes
22531 o Minor features (systemd):
22532 - Various improvements and modernizations in systemd hardening
22533 support. Closes ticket 13805. Patch from Craig Andrews.
22535 o Minor features (testing networks):
22536 - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
22537 and the default on a testing network to 2 minutes. Drop the
22538 MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
22539 keep the default on a testing network at 30 seconds. This reduces
22540 HS bootstrap time to around 25 seconds. Also, change the default
22541 time in test-network.sh to match. Closes ticket 13401. Patch
22543 - Create TestingDirAuthVoteHSDir to correspond to
22544 TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
22545 HSDir flag for the listed relays regardless of uptime or ORPort
22546 connectivity. Respects the value of VoteOnHidServDirectoriesV2.
22547 Partial implementation for ticket 14067. Patch by "teor".
22549 o Minor features (tor2web mode):
22550 - Introduce the config option Tor2webRendezvousPoints, which allows
22551 clients in Tor2webMode to select a specific Rendezvous Point to be
22552 used in HS circuits. This might allow better performance for
22553 Tor2Web nodes. Implements ticket 12844.
22555 o Minor bugfixes (client DNS):
22556 - Report the correct cached DNS expiration times on SOCKS port or in
22557 DNS replies. Previously, we would report everything as "never
22558 expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
22559 - Avoid a small memory leak when we find a cached answer for a
22560 reverse DNS lookup in a client-side DNS cache. (Remember, client-
22561 side DNS caching is off by default, and is not recommended.) Fixes
22562 bug 14259; bugfix on 0.2.0.1-alpha.
22564 o Minor bugfixes (client, automapping):
22565 - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
22566 no value follows the option. Fixes bug 14142; bugfix on
22567 0.2.4.7-alpha. Patch by "teor".
22568 - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
22569 14195; bugfix on 0.1.0.1-rc.
22570 - Prevent changes to other options from removing the wildcard value
22571 "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
22573 - Allow MapAddress and AutomapHostsOnResolve to work together when
22574 an address is mapped into another address type (like .onion) that
22575 must be automapped at resolve time. Fixes bug 7555; bugfix
22578 o Minor bugfixes (client, bridges):
22579 - When we are using bridges and we had a network connectivity
22580 problem, only retry connecting to our currently configured
22581 bridges, not all bridges we know about and remember using. Fixes
22582 bug 14216; bugfix on 0.2.2.17-alpha.
22584 o Minor bugfixes (client, IPv6):
22585 - Reject socks requests to literal IPv6 addresses when IPv6Traffic
22586 flag is not set; and not because the NoIPv4Traffic flag was set.
22587 Previously we'd looked at the NoIPv4Traffic flag for both types of
22588 literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
22590 o Minor bugfixes (compilation):
22591 - The address of an array in the middle of a structure will always
22592 be non-NULL. clang recognises this and complains. Disable the
22593 tautologous and redundant check to silence this warning. Fixes bug
22594 14001; bugfix on 0.2.1.2-alpha.
22595 - Avoid warnings when building with systemd 209 or later. Fixes bug
22596 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
22597 - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
22598 Addresses ticket 14188.
22599 - Build without warnings with the stock OpenSSL srtp.h header, which
22600 has a duplicate declaration of SSL_get_selected_srtp_profile().
22601 Fixes bug 14220; this is OpenSSL's bug, not ours.
22602 - Do not compile any code related to Tor2Web mode when Tor2Web mode
22603 is not enabled at compile time. Previously, this code was included
22604 in a disabled state. See discussion on ticket 12844.
22605 - Remove the --disable-threads configure option again. It was
22606 accidentally partially reintroduced in 29ac883606d6d. Fixes bug
22607 14819; bugfix on 0.2.6.2-alpha.
22609 o Minor bugfixes (controller):
22610 - Report "down" in response to the "GETINFO entry-guards" command
22611 when relays are down with an unreachable_since value. Previously,
22612 we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
22613 - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
22614 14116; bugfix on 0.2.2.9-alpha.
22615 - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
22616 reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
22618 o Minor bugfixes (directory authority):
22619 - Allow directory authorities to fetch more data from one another if
22620 they find themselves missing lots of votes. Previously, they had
22621 been bumping against the 10 MB queued data limit. Fixes bug 14261;
22622 bugfix on 0.1.2.5-alpha.
22623 - Do not attempt to download extrainfo documents which we will be
22624 unable to validate with a matching server descriptor. Fixes bug
22625 13762; bugfix on 0.2.0.1-alpha.
22626 - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
22627 control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
22628 - Enlarge the buffer to read bwauth generated files to avoid an
22629 issue when parsing the file in dirserv_read_measured_bandwidths().
22630 Fixes bug 14125; bugfix on 0.2.2.1-alpha.
22632 o Minor bugfixes (file handling):
22633 - Stop failing when key files are zero-length. Instead, generate new
22634 keys, and overwrite the empty key files. Fixes bug 13111; bugfix
22635 on all versions of Tor. Patch by "teor".
22636 - Stop generating a fresh .old RSA onion key file when the .old file
22637 is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
22638 - Avoid overwriting .old key files with empty key files.
22639 - Skip loading zero-length extrainfo store, router store, stats,
22640 state, and key files.
22641 - Avoid crashing when trying to reload a torrc specified as a
22642 relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
22645 o Minor bugfixes (hidden services):
22646 - Close the introduction circuit when we have no more usable intro
22647 points, instead of waiting for it to time out. This also ensures
22648 that no follow-up HS descriptor fetch is triggered when the
22649 circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
22650 - When fetching a hidden service descriptor for a down service that
22651 was recently up, do not keep refetching until we try the same
22652 replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
22653 - Successfully launch Tor with a nonexistent hidden service
22654 directory. Our fix for bug 13942 didn't catch this case. Fixes bug
22655 14106; bugfix on 0.2.6.2-alpha.
22657 o Minor bugfixes (logging):
22658 - Avoid crashing when there are more log domains than entries in
22659 domain_list. Bugfix on 0.2.3.1-alpha.
22660 - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
22662 - Don't log messages to stdout twice when starting up. Fixes bug
22663 13993; bugfix on 0.2.6.1-alpha.
22665 o Minor bugfixes (parsing):
22666 - Stop accepting milliseconds (or other junk) at the end of
22667 descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
22668 - Support two-number and three-number version numbers correctly, in
22669 case we change the Tor versioning system in the future. Fixes bug
22670 13661; bugfix on 0.0.8pre1.
22672 o Minor bugfixes (path counting):
22673 - When deciding whether the consensus lists any exit nodes, count
22674 the number listed in the consensus, not the number we have
22675 descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
22676 - When deciding whether we have any exit nodes, only examine
22677 ExitNodes when the ExitNodes option is actually set. Fixes part of
22678 bug 14918; bugfix on 0.2.6.2-alpha.
22679 - Get rid of redundant and possibly scary warnings that we are
22680 missing directory information while we bootstrap. Fixes part of
22681 bug 14918; bugfix on 0.2.6.2-alpha.
22683 o Minor bugfixes (portability):
22684 - Fix the ioctl()-based network interface lookup code so that it
22685 will work on systems that have variable-length struct ifreq, for
22687 - Fix scheduler compilation on targets where char is unsigned. Fixes
22688 bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
22690 o Minor bugfixes (sandbox):
22691 - Allow glibc fatal errors to be sent to stderr before Tor exits.
22692 Previously, glibc would try to write them to /dev/tty, and the
22693 sandbox would trap the call and make Tor exit prematurely. Fixes
22694 bug 14759; bugfix on 0.2.5.1-alpha.
22696 o Minor bugfixes (shutdown):
22697 - When shutting down, always call event_del() on lingering read or
22698 write events before freeing them. Otherwise, we risk double-frees
22699 or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
22702 o Minor bugfixes (small memory leaks):
22703 - Avoid leaking memory when using IPv6 virtual address mappings.
22704 Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
22707 o Minor bugfixes (statistics):
22708 - Increase period over which bandwidth observations are aggregated
22709 from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
22711 o Minor bugfixes (systemd support):
22712 - Fix detection and operation of systemd watchdog. Fixes part of bug
22713 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
22714 - Run correctly under systemd with the RunAsDaemon option set. Fixes
22715 part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
22716 - Inform the systemd supervisor about more changes in the Tor
22717 process status. Implements part of ticket 14141. Patch from
22719 - Cause the "--disable-systemd" option to actually disable systemd
22720 support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
22723 o Minor bugfixes (TLS):
22724 - Check more thoroughly throughout the TLS code for possible
22725 unlogged TLS errors. Possible diagnostic or fix for bug 13319.
22727 o Minor bugfixes (transparent proxy):
22728 - Use getsockname, not getsockopt, to retrieve the address for a
22729 TPROXY-redirected connection. Fixes bug 13796; bugfix
22732 o Code simplification and refactoring:
22733 - Move fields related to isolating and configuring client ports into
22734 a shared structure. Previously, they were duplicated across
22735 port_cfg_t, listener_connection_t, and edge_connection_t. Failure
22736 to copy them correctly had been the cause of at least one bug in
22737 the past. Closes ticket 8546.
22738 - Refactor the get_interface_addresses_raw() doom-function into
22739 multiple smaller and simpler subfunctions. Cover the resulting
22740 subfunctions with unit-tests. Fixes a significant portion of
22742 - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
22743 only for version <= 0.2.2.24 which is now deprecated. Closes
22745 - Remove a test for a long-defunct broken version-one
22749 - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
22750 for writing the OpenBSD-specific tips. Resolves ticket 13702.
22751 - Make the tor-resolve documentation match its help string and its
22752 options. Resolves part of ticket 14325.
22753 - Log a more useful error message from tor-resolve when failing to
22754 look up a hidden service address. Resolves part of ticket 14325.
22756 o Downgraded warnings:
22757 - Don't warn when we've attempted to contact a relay using the wrong
22758 ntor onion key. Closes ticket 9635.
22760 o Removed features:
22761 - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
22762 longer silently accepted as an alias for "ExitNodes".
22763 - The --enable-mempool and --enable-buf-freelists options, which
22764 were originally created to work around bad malloc implementations,
22765 no longer exist. They were off-by-default in 0.2.5. Closes
22769 - Make the checkdir/perms test complete successfully even if the
22770 global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
22771 - Test that tor does not fail when key files are zero-length. Check
22772 that tor generates new keys, and overwrites the empty key files.
22773 - Test that tor generates new keys when keys are missing
22774 (existing behavior).
22775 - Test that tor does not overwrite key files that already contain
22776 data (existing behavior). Tests bug 13111. Patch by "teor".
22777 - New "make test-stem" target to run stem integration tests.
22778 Requires that the "STEM_SOURCE_DIR" environment variable be set.
22779 Closes ticket 14107.
22780 - Make the test_cmdline_args.py script work correctly on Windows.
22781 Patch from Gisle Vanem.
22782 - Move the slower unit tests into a new "./src/test/test-slow"
22783 binary that can be run independently of the other tests. Closes
22785 - Avoid undefined behavior when sampling huge values from the
22786 Laplace distribution. This made unittests fail on Raspberry Pi.
22787 Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
22790 Changes in version 0.2.6.2-alpha - 2014-12-31
22791 Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
22792 It introduces a major new backend for deciding when to send cells on
22793 channels, which should lead down the road to big performance
22794 increases. It contains security and statistics features for better
22795 work on hidden services, and numerous bugfixes.
22797 This release contains many new unit tests, along with major
22798 performance improvements for running testing networks using Chutney.
22799 Thanks to a series of patches contributed by "teor", testing networks
22800 should now bootstrap in seconds, rather than minutes.
22802 o Major features (relay, infrastructure):
22803 - Complete revision of the code that relays use to decide which cell
22804 to send next. Formerly, we selected the best circuit to write on
22805 each channel, but we didn't select among channels in any
22806 sophisticated way. Now, we choose the best circuits globally from
22807 among those whose channels are ready to deliver traffic.
22809 This patch implements a new inter-cmux comparison API, a global
22810 high/low watermark mechanism and a global scheduler loop for
22811 transmission prioritization across all channels as well as among
22812 circuits on one channel. This schedule is currently tuned to
22813 (tolerantly) avoid making changes in network performance, but it
22814 should form the basis for major circuit performance increases in
22815 the future. Code by Andrea; tuning by Rob Jansen; implements
22818 o Major features (hidden services):
22819 - Make HS port scanning more difficult by immediately closing the
22820 circuit when a user attempts to connect to a nonexistent port.
22821 Closes ticket 13667.
22822 - Add a HiddenServiceStatistics option that allows Tor relays to
22823 gather and publish statistics about the overall size and volume of
22824 hidden service usage. Specifically, when this option is turned on,
22825 an HSDir will publish an approximate number of hidden services
22826 that have published descriptors to it the past 24 hours. Also, if
22827 a relay has acted as a hidden service rendezvous point, it will
22828 publish the approximate amount of rendezvous cells it has relayed
22829 the past 24 hours. The statistics themselves are obfuscated so
22830 that the exact values cannot be derived. For more details see
22831 proposal 238, "Better hidden service stats from Tor relays". This
22832 feature is currently disabled by default. Implements feature 13192.
22834 o Major bugfixes (client, automap):
22835 - Repair automapping with IPv6 addresses. This automapping should
22836 have worked previously, but one piece of debugging code that we
22837 inserted to detect a regression actually caused the regression to
22838 manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
22839 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
22842 o Major bugfixes (hidden services):
22843 - When closing an introduction circuit that was opened in parallel
22844 with others, don't mark the introduction point as unreachable.
22845 Previously, the first successful connection to an introduction
22846 point would make the other introduction points get marked as
22847 having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
22849 o Directory authority changes:
22850 - Remove turtles as a directory authority.
22851 - Add longclaw as a new (v3) directory authority. This implements
22852 ticket 13296. This keeps the directory authority count at 9.
22854 o Major removed features:
22855 - Tor clients no longer support connecting to hidden services
22856 running on Tor 0.2.2.x and earlier; the Support022HiddenServices
22857 option has been removed. (There shouldn't be any hidden services
22858 running these versions on the network.) Closes ticket 7803.
22860 o Minor features (client):
22861 - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
22862 is enabled, reject requests with IP addresses as hostnames.
22863 Resolves ticket 13315.
22865 o Minor features (controller):
22866 - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
22867 write an unscheduled heartbeat message to the log. Implements
22870 o Minor features (geoip):
22871 - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
22874 o Minor features (hidden services):
22875 - When re-enabling the network, don't try to build introduction
22876 circuits until we have successfully built a circuit. This makes
22877 hidden services come up faster when the network is re-enabled.
22878 Patch from "akwizgran". Closes ticket 13447.
22879 - When we fail to retrieve a hidden service descriptor, send the
22880 controller an "HS_DESC FAILED" controller event. Implements
22882 - New HiddenServiceDirGroupReadable option to cause hidden service
22883 directories and hostname files to be created group-readable. Patch
22884 from "anon", David Stainton, and "meejah". Closes ticket 11291.
22886 o Minor features (systemd):
22887 - Where supported, when running with systemd, report successful
22888 startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
22889 - When running with systemd, support systemd watchdog messages. Part
22890 of ticket 11016. Patch by Michael Scherer.
22892 o Minor features (transparent proxy):
22893 - Update the transparent proxy option checks to allow for both ipfw
22894 and pf on OS X. Closes ticket 14002.
22895 - Use the correct option when using IPv6 with transparent proxy
22896 support on Linux. Resolves 13808. Patch by Francisco Blas
22899 o Minor bugfixes (preventative security, C safety):
22900 - When reading a hexadecimal, base-32, or base-64 encoded value from
22901 a string, always overwrite the whole output buffer. This prevents
22902 some bugs where we would look at (but fortunately, not reveal)
22903 uninitialized memory on the stack. Fixes bug 14013; bugfix on all
22905 - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
22906 just the part that's used. This makes it harder for data leak bugs
22907 to occur in the event of other programming failures. Resolves
22910 o Minor bugfixes (client, microdescriptors):
22911 - Use a full 256 bits of the SHA256 digest of a microdescriptor when
22912 computing which microdescriptors to download. This keeps us from
22913 erroneous download behavior if two microdescriptor digests ever
22914 have the same first 160 bits. Fixes part of bug 13399; bugfix
22916 - Reset a router's status if its microdescriptor digest changes,
22917 even if the first 160 bits remain the same. Fixes part of bug
22918 13399; bugfix on 0.2.3.1-alpha.
22920 o Minor bugfixes (compilation):
22921 - Silence clang warnings under --enable-expensive-hardening,
22922 including implicit truncation of 64 bit values to 32 bit, const
22923 char assignment to self, tautological compare, and additional
22924 parentheses around equality tests. Fixes bug 13577; bugfix
22926 - Fix a clang warning about checking whether an address in the
22927 middle of a structure is NULL. Fixes bug 14001; bugfix
22930 o Minor bugfixes (hidden services):
22931 - Correctly send a controller event when we find that a rendezvous
22932 circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
22933 - Pre-check directory permissions for new hidden-services to avoid
22934 at least one case of "Bug: Acting on config options left us in a
22935 broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
22936 - When adding a new hidden service (for example, via SETCONF), Tor
22937 no longer congratulates the user for running a relay. Fixes bug
22938 13941; bugfix on 0.2.6.1-alpha.
22939 - When fetching hidden service descriptors, we now check not only
22940 for whether we got the hidden service we had in mind, but also
22941 whether we got the particular descriptors we wanted. This prevents
22942 a class of inefficient but annoying DoS attacks by hidden service
22943 directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
22946 o Minor bugfixes (Linux seccomp2 sandbox):
22947 - Make transparent proxy support work along with the seccomp2
22948 sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
22949 by Francisco Blas Izquierdo Riera.
22950 - Fix a memory leak in tor-resolve when running with the sandbox
22951 enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
22953 o Minor bugfixes (logging):
22954 - Downgrade warnings about RSA signature failures to info log level.
22955 Emit a warning when an extra info document is found incompatible
22956 with a corresponding router descriptor. Fixes bug 9812; bugfix
22958 - Make connection_ap_handshake_attach_circuit() log the circuit ID
22959 correctly. Fixes bug 13701; bugfix on 0.0.6.
22961 o Minor bugfixes (misc):
22962 - Stop allowing invalid address patterns like "*/24" that contain
22963 both a wildcard address and a bit prefix length. This affects all
22964 our address-range parsing code. Fixes bug 7484; bugfix
22967 o Minor bugfixes (testing networks, fast startup):
22968 - Allow Tor to build circuits using a consensus with no exits. If
22969 the consensus has no exits (typical of a bootstrapping test
22970 network), allow Tor to build circuits once enough descriptors have
22971 been downloaded. This assists in bootstrapping a testing Tor
22972 network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
22974 - When V3AuthVotingInterval is low, give a lower If-Modified-Since
22975 header to directory servers. This allows us to obtain consensuses
22976 promptly when the consensus interval is very short. This assists
22977 in bootstrapping a testing Tor network. Fixes parts of bugs 13718
22978 and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
22979 - Stop assuming that private addresses are local when checking
22980 reachability in a TestingTorNetwork. Instead, when testing, assume
22981 all OR connections are remote. (This is necessary due to many test
22982 scenarios running all relays on localhost.) This assists in
22983 bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
22984 0.1.0.1-rc. Patch by "teor".
22985 - Avoid building exit circuits from a consensus with no exits. Now
22986 thanks to our fix for 13718, we accept a no-exit network as not
22987 wholly lost, but we need to remember not to try to build exit
22988 circuits on it. Closes ticket 13814; patch by "teor".
22989 - Stop requiring exits to have non-zero bandwithcapacity in a
22990 TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
22991 ignore exit bandwidthcapacity. This assists in bootstrapping a
22992 testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
22993 on 0.2.0.3-alpha. Patch by "teor".
22994 - Add "internal" to some bootstrap statuses when no exits are
22995 available. If the consensus does not contain Exits, Tor will only
22996 build internal circuits. In this case, relevant statuses will
22997 contain the word "internal" as indicated in the Tor control-
22998 spec.txt. When bootstrap completes, Tor will be ready to build
22999 internal circuits. If a future consensus contains Exits, exit
23000 circuits may become available. Fixes part of bug 13718; bugfix on
23001 0.2.4.10-alpha. Patch by "teor".
23002 - Decrease minimum consensus interval to 10 seconds when
23003 TestingTorNetwork is set, or 5 seconds for the first consensus.
23004 Fix assumptions throughout the code that assume larger intervals.
23005 Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
23007 - Avoid excluding guards from path building in minimal test
23008 networks, when we're in a test network and excluding guards would
23009 exclude all relays. This typically occurs in incredibly small tor
23010 networks, and those using "TestingAuthVoteGuard *". Fixes part of
23011 bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
23013 o Code simplification and refactoring:
23014 - Stop using can_complete_circuits as a global variable; access it
23015 with a function instead.
23016 - Avoid using operators directly as macro arguments: this lets us
23017 apply coccinelle transformations to our codebase more directly.
23018 Closes ticket 13172.
23019 - Combine the functions used to parse ClientTransportPlugin and
23020 ServerTransportPlugin into a single function. Closes ticket 6456.
23021 - Add inline functions and convenience macros for inspecting channel
23022 state. Refactor the code to use convenience macros instead of
23023 checking channel state directly. Fixes issue 7356.
23024 - Document all members of was_router_added_t and rename
23025 ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
23026 confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
23027 - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
23028 constant instead of hardcoded value. Fixes issue 13840.
23029 - Refactor our generic strmap and digestmap types into a single
23030 implementation, so that we can add a new digest256map
23034 - Document the bridge-authority-only 'networkstatus-bridges' file.
23035 Closes ticket 13713; patch from "tom".
23036 - Fix typo in PredictedPortsRelevanceTime option description in
23037 manpage. Resolves issue 13707.
23038 - Stop suggesting that users specify relays by nickname: it isn't a
23039 good idea. Also, properly cross-reference how to specify relays in
23040 all parts of manual documenting options that take a list of
23041 relays. Closes ticket 13381.
23042 - Clarify the HiddenServiceDir option description in manpage to make
23043 it clear that relative paths are taken with respect to the current
23044 working directory. Also clarify that this behavior is not
23045 guaranteed to remain indefinitely. Fixes issue 13913.
23048 - New tests for many parts of channel, relay, and circuitmux
23049 functionality. Code by Andrea; part of 9262.
23050 - New tests for parse_transport_line(). Part of ticket 6456.
23051 - In the unit tests, use chgrp() to change the group of the unit
23052 test temporary directory to the current user, so that the sticky
23053 bit doesn't interfere with tests that check directory groups.
23055 - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
23059 Changes in version 0.2.6.1-alpha - 2014-10-30
23060 Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
23061 includes numerous code cleanups and new tests, and fixes a large
23062 number of annoying bugs. Out-of-memory conditions are handled better
23063 than in 0.2.5, pluggable transports have improved proxy support, and
23064 clients now use optimistic data for contacting hidden services. Also,
23065 we are now more robust to changes in what we consider a parseable
23066 directory object, so that tightening restrictions does not have a risk
23067 of introducing infinite download loops.
23069 This is the first alpha release in a new series, so expect there to be
23070 bugs. Users who would rather test out a more stable branch should stay
23071 with 0.2.5.x for now.
23073 o New compiler and system requirements:
23074 - Tor 0.2.6.x requires that your compiler support more of the C99
23075 language standard than before. The 'configure' script now detects
23076 whether your compiler supports C99 mid-block declarations and
23077 designated initializers. If it does not, Tor will not compile.
23079 We may revisit this requirement if it turns out that a significant
23080 number of people need to build Tor with compilers that don't
23081 bother implementing a 15-year-old standard. Closes ticket 13233.
23082 - Tor no longer supports systems without threading support. When we
23083 began working on Tor, there were several systems that didn't have
23084 threads, or where the thread support wasn't able to run the
23085 threads of a single process on multiple CPUs. That no longer
23086 holds: every system where Tor needs to run well now has threading
23087 support. Resolves ticket 12439.
23089 o Removed platform support:
23090 - We no longer include special code to build on Windows CE; as far
23091 as we know, nobody has used Tor on Windows CE in a very long time.
23092 Closes ticket 11446.
23094 o Major features (bridges):
23095 - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
23096 transports if they are configured via the "TOR_PT_PROXY"
23097 environment variable. Implements proposal 232. Resolves
23100 o Major features (client performance, hidden services):
23101 - Allow clients to use optimistic data when connecting to a hidden
23102 service, which should remove a round-trip from hidden service
23103 initialization. See proposal 181 for details. Implements
23106 o Major features (directory system):
23107 - Upon receiving an unparseable directory object, if its digest
23108 matches what we expected, then don't try to download it again.
23109 Previously, when we got a descriptor we didn't like, we would keep
23110 trying to download it over and over. Closes ticket 11243.
23112 o Major features (sample torrc):
23113 - Add a new, infrequently-changed "torrc.minimal". This file is
23114 similar to torrc.sample, but it will change as infrequently as
23115 possible, for the benefit of users whose systems prompt them for
23116 intervention whenever a default configuration file is changed.
23117 Making this change allows us to update torrc.sample to be a more
23118 generally useful "sample torrc".
23120 o Major bugfixes (directory authorities):
23121 - Do not assign the HSDir flag to relays if they are not Valid, or
23122 currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
23124 o Major bugfixes (directory bandwidth performance):
23125 - Don't flush the zlib buffer aggressively when compressing
23126 directory information for clients. This should save about 7% of
23127 the bandwidth currently used for compressed descriptors and
23128 microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
23130 o Minor features (security, memory wiping):
23131 - Ensure we securely wipe keys from memory after
23132 crypto_digest_get_digest and init_curve25519_keypair_from_file
23133 have finished using them. Resolves ticket 13477.
23135 o Minor features (security, out-of-memory handling):
23136 - When handling an out-of-memory condition, allocate less memory for
23137 temporary data structures. Fixes issue 10115.
23138 - When handling an out-of-memory condition, consider more types of
23139 buffers, including those on directory connections, and zlib
23140 buffers. Resolves ticket 11792.
23143 - When identity keypair is generated for first time, log a
23144 congratulatory message that links to the new relay lifecycle
23145 document. Implements feature 10427.
23147 o Minor features (client):
23148 - Clients are now willing to send optimistic data (before they
23149 receive a 'connected' cell) to relays of any version. (Relays
23150 without support for optimistic data are no longer supported on the
23151 Tor network.) Resolves ticket 13153.
23153 o Minor features (directory authorities):
23154 - Don't list relays with a bandwidth estimate of 0 in the consensus.
23155 Implements a feature proposed during discussion of bug 13000.
23156 - In tor-gencert, report an error if the user provides the same
23157 argument more than once.
23158 - If a directory authority can't find a best consensus method in the
23159 votes that it holds, it now falls back to its favorite consensus
23160 method. Previously, it fell back to method 1. Neither of these is
23161 likely to get enough signatures, but "fall back to favorite"
23162 doesn't require us to maintain support an obsolete consensus
23163 method. Implements part of proposal 215.
23165 o Minor features (logging):
23166 - On Unix-like systems, you can now use named pipes as the target of
23167 the Log option, and other options that try to append to files.
23168 Closes ticket 12061. Patch from "carlo von lynX".
23169 - When opening a log file at startup, send it every log message that
23170 we generated between startup and opening it. Previously, log
23171 messages that were generated before opening the log file were only
23172 logged to stdout. Closes ticket 6938.
23173 - Add a TruncateLogFile option to overwrite logs instead of
23174 appending to them. Closes ticket 5583.
23176 o Minor features (portability, Solaris):
23177 - Threads are no longer disabled by default on Solaris; we believe
23178 that the versions of Solaris with broken threading support are all
23179 obsolete by now. Resolves ticket 9495.
23181 o Minor features (relay):
23182 - Re-check our address after we detect a changed IP address from
23183 getsockname(). This ensures that the controller command "GETINFO
23184 address" will report the correct value. Resolves ticket 11582.
23186 - A new AccountingRule option lets Relays set whether they'd like
23187 AccountingMax to be applied separately to inbound and outbound
23188 traffic, or applied to the sum of inbound and outbound traffic.
23189 Resolves ticket 961. Patch by "chobe".
23191 o Minor features (testing networks):
23192 - Add the TestingDirAuthVoteExit option, which lists nodes to assign
23193 the "Exit" flag regardless of their uptime, bandwidth, or exit
23194 policy. TestingTorNetwork must be set for this option to have any
23195 effect. Previously, authorities would take up to 35 minutes to
23196 give nodes the Exit flag in a test network. Partially implements
23199 o Minor features (validation):
23200 - Check all date/time values passed to tor_timegm and
23201 parse_rfc1123_time for validity, taking leap years into account.
23202 Improves HTTP header validation. Implemented with bug 13476.
23203 - In correct_tm(), limit the range of values returned by system
23204 localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
23205 This means we don't have to deal with negative or too large dates,
23206 even if a clock is wrong. Otherwise we might fail to read a file
23207 written by us which includes such a date. Fixes bug 13476.
23209 o Minor bugfixes (bridge clients):
23210 - When configured to use a bridge without an identity digest (not
23211 recommended), avoid launching an extra channel to it when
23212 bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
23214 o Minor bugfixes (bridges):
23215 - When DisableNetwork is set, do not launch pluggable transport
23216 plugins, and if any are running, terminate them. Fixes bug 13213;
23217 bugfix on 0.2.3.6-alpha.
23219 o Minor bugfixes (C correctness):
23220 - Fix several instances of possible integer overflow/underflow/NaN.
23221 Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
23223 - In circuit_build_times_calculate_timeout() in circuitstats.c,
23224 avoid dividing by zero in the pareto calculations. This traps
23225 under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
23227 - Fix an integer overflow in format_time_interval(). Fixes bug
23228 13393; bugfix on 0.2.0.10-alpha.
23229 - Set the correct day of year value when the system's localtime(_r)
23230 or gmtime(_r) functions fail to set struct tm. Not externally
23231 visible. Fixes bug 13476; bugfix on 0.0.2pre14.
23232 - Avoid unlikely signed integer overflow in tor_timegm on systems
23233 with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
23235 o Minor bugfixes (client):
23236 - Fix smartlist_choose_node_by_bandwidth() so that relays with the
23237 BadExit flag are not considered worthy candidates. Fixes bug
23238 13066; bugfix on 0.1.2.3-alpha.
23239 - Use the consensus schedule for downloading consensuses, and not
23240 the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
23241 - Handle unsupported or malformed SOCKS5 requests properly by
23242 responding with the appropriate error message before closing the
23243 connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
23245 o Minor bugfixes (client, torrc):
23246 - Stop modifying the value of our DirReqStatistics torrc option just
23247 because we're not a bridge or relay. This bug was causing Tor
23248 Browser users to write "DirReqStatistics 0" in their torrc files
23249 as if they had chosen to change the config. Fixes bug 4244; bugfix
23251 - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
23252 that our options have changed every time we SIGHUP. Fixes bug
23253 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
23255 o Minor bugfixes (controller):
23256 - Return an error when the second or later arguments of the
23257 "setevents" controller command are invalid events. Previously we
23258 would return success while silently skipping invalid events. Fixes
23259 bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
23261 o Minor bugfixes (directory system):
23262 - Always believe that v3 directory authorities serve extra-info
23263 documents, whether they advertise "caches-extra-info" or not.
23264 Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
23265 - When running as a v3 directory authority, advertise that you serve
23266 extra-info documents so that clients who want them can find them
23267 from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
23268 - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
23269 Previously, directories offering BRIDGE_DIRINFO and some other
23270 flag (i.e. microdescriptors or extrainfo) would be ignored when
23271 looking for bridges. Partially fixes bug 13163; bugfix
23274 o Minor bugfixes (networking):
23275 - Check for orconns and use connection_or_close_for_error() rather
23276 than connection_mark_for_close() directly in the getsockopt()
23277 failure case of connection_handle_write_impl(). Fixes bug 11302;
23278 bugfix on 0.2.4.4-alpha.
23280 o Minor bugfixes (relay):
23281 - When generating our family list, remove spaces from around the
23282 entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
23283 - If our previous bandwidth estimate was 0 bytes, allow publishing a
23284 new relay descriptor immediately. Fixes bug 13000; bugfix
23287 o Minor bugfixes (testing networks):
23288 - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
23289 testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
23290 - Stop using the default authorities in networks which provide both
23291 AlternateDirAuthority and AlternateBridgeAuthority. Partially
23292 fixes bug 13163; bugfix on 0.2.0.13-alpha.
23294 o Minor bugfixes (testing):
23295 - Stop spawn test failures due to a race condition between the
23296 SIGCHLD handler updating the process status, and the test reading
23297 it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
23299 o Minor bugfixes (testing, Windows):
23300 - Avoid passing an extra backslash when creating a temporary
23301 directory for running the unit tests on Windows. Fixes bug 12392;
23302 bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
23304 o Minor bugfixes (windows):
23305 - Remove code to special-case handling of NTE_BAD_KEYSET when
23306 acquiring windows CryptoAPI context. This error can't actually
23307 occur for the parameters we're providing. Fixes bug 10816; bugfix
23310 o Minor bugfixes (zlib):
23311 - Avoid truncating a zlib stream when trying to finalize it with an
23312 empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
23315 - Allow our configure script to build correctly with autoconf 2.62
23316 again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
23317 - Improve the error message from ./configure to make it clear that
23318 when asciidoc has not been found, the user will have to either add
23319 --disable-asciidoc argument or install asciidoc. Resolves
23322 o Code simplification and refactoring:
23323 - Change the entry_is_live() function to take named bitfield
23324 elements instead of an unnamed list of booleans. Closes
23326 - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
23327 Resolves ticket 12205.
23328 - Use calloc and reallocarray functions instead of multiply-
23329 then-malloc. This makes it less likely for us to fall victim to an
23330 integer overflow attack when allocating. Resolves ticket 12855.
23331 - Use the standard macro name SIZE_MAX, instead of our
23333 - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
23334 functions which take them as arguments. Replace 0 with NO_DIRINFO
23335 in a function call for clarity. Seeks to prevent future issues
23337 - Avoid 4 null pointer errors under clang static analysis by using
23338 tor_assert() to prove that the pointers aren't null. Fixes
23340 - Rework the API of policies_parse_exit_policy() to use a bitmask to
23341 represent parsing options, instead of a confusing mess of
23342 booleans. Resolves ticket 8197.
23343 - Introduce a helper function to parse ExitPolicy in
23344 or_options_t structure.
23347 - Add a doc/TUNING document with tips for handling large numbers of
23348 TCP connections when running busy Tor relay. Update the warning
23349 message to point to this file when running out of sockets
23350 operating system is allowing to use simultaneously. Resolves
23353 o Removed features:
23354 - We no longer remind the user about configuration options that have
23355 been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
23356 - Remove our old, non-weighted bandwidth-based node selection code.
23357 Previously, we used it as a fallback when we couldn't perform
23358 weighted bandwidth-based node selection. But that would only
23359 happen in the cases where we had no consensus, or when we had a
23360 consensus generated by buggy or ancient directory authorities. In
23361 either case, it's better to use the more modern, better maintained
23362 algorithm, with reasonable defaults for the weights. Closes
23364 - Remove the --disable-curve25519 configure option. Relays and
23365 clients now are required to support curve25519 and the
23367 - The old "StrictEntryNodes" and "StrictExitNodes" options, which
23368 used to be deprecated synonyms for "StrictNodes", are now marked
23369 obsolete. Resolves ticket 12226.
23370 - Clients don't understand the BadDirectory flag in the consensus
23371 anymore, and ignore it.
23374 - Refactor the function that chooses guard nodes so that it can more
23375 easily be tested; write some tests for it.
23376 - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
23377 bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
23378 - Create unit tests for format_time_interval(). With bug 13393.
23379 - Add unit tests for tor_timegm signed overflow, tor_timegm and
23380 parse_rfc1123_time validity checks, correct_tm year clamping. Unit
23381 tests (visible) fixes in bug 13476.
23382 - Add a "coverage-html" make target to generate HTML-visualized
23383 coverage results when building with --enable-coverage. (Requires
23384 lcov.) Patch from Kevin Murray.
23385 - Enable the backtrace handler (where supported) when running the
23387 - Revise all unit tests that used the legacy test_* macros to
23388 instead use the recommended tt_* macros. This patch was generated
23389 with coccinelle, to avoid manual errors. Closes ticket 13119.
23391 o Distribution (systemd):
23392 - systemd unit file: only allow tor to write to /var/lib/tor and
23393 /var/log/tor. The rest of the filesystem is accessible for reading
23394 only. Patch by intrigeri; resolves ticket 12751.
23395 - systemd unit file: ensure that the process and all its children
23396 can never gain new privileges. Patch by intrigeri; resolves
23398 - systemd unit file: set up /var/run/tor as writable for the Tor
23399 service. Patch by intrigeri; resolves ticket 13196.
23401 o Removed features (directory authorities):
23402 - Remove code that prevented authorities from listing Tor relays
23403 affected by CVE-2011-2769 as guards. These relays are already
23404 rejected altogether due to the minimum version requirement of
23405 0.2.3.16-alpha. Closes ticket 13152.
23406 - The "AuthDirRejectUnlisted" option no longer has any effect, as
23407 the fingerprints file (approved-routers) has been deprecated.
23408 - Directory authorities do not support being Naming dirauths anymore.
23409 The "NamingAuthoritativeDir" config option is now obsolete.
23410 - Directory authorities do not support giving out the BadDirectory
23412 - Directory authorities no longer advertise or support consensus
23413 methods 1 through 12 inclusive. These consensus methods were
23414 obsolete and/or insecure: maintaining the ability to support them
23415 served no good purpose. Implements part of proposal 215; closes
23418 o Testing (test-network.sh):
23419 - Stop using "echo -n", as some shells' built-in echo doesn't
23420 support "-n". Instead, use "/bin/echo -n". Partially fixes
23422 - Stop an apparent test-network hang when used with make -j2. Fixes
23424 - Add a --delay option to test-network.sh, which configures the
23425 delay before the chutney network tests for data transmission.
23426 Partially implements ticket 13161.
23429 Changes in version 0.2.5.10 - 2014-10-24
23430 Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
23432 It adds several new security features, including improved
23433 denial-of-service resistance for relays, new compiler hardening
23434 options, and a system-call sandbox for hardened installations on Linux
23435 (requires seccomp2). The controller protocol has several new features,
23436 resolving IPv6 addresses should work better than before, and relays
23437 should be a little more CPU-efficient. We've added support for more
23438 OpenBSD and FreeBSD transparent proxy types. We've improved the build
23439 system and testing infrastructure to allow unit testing of more parts
23440 of the Tor codebase. Finally, we've addressed several nagging pluggable
23441 transport usability issues, and included numerous other small bugfixes
23442 and features mentioned below.
23444 This release marks end-of-life for Tor 0.2.3.x; those Tor versions
23445 have accumulated many known flaws; everyone should upgrade.
23447 o Deprecated versions:
23448 - Tor 0.2.3.x has reached end-of-life; it has received no patches or
23449 attention for some while.
23452 Changes in version 0.2.5.9-rc - 2014-10-20
23453 Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
23454 series. It disables SSL3 in response to the recent "POODLE" attack
23455 (even though POODLE does not affect Tor). It also works around a crash
23456 bug caused by some operating systems' response to the "POODLE" attack
23457 (which does affect Tor). It also contains a few miscellaneous fixes.
23459 o Major security fixes:
23460 - Disable support for SSLv3. All versions of OpenSSL in use with Tor
23461 today support TLS 1.0 or later, so we can safely turn off support
23462 for this old (and insecure) protocol. Fixes bug 13426.
23464 o Major bugfixes (openssl bug workaround):
23465 - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
23466 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
23467 13471. This is a workaround for an OpenSSL bug.
23470 - Disable the sandbox name resolver cache when running tor-resolve:
23471 tor-resolve doesn't use the sandbox code, and turning it on was
23472 breaking attempts to do tor-resolve on a non-default server on
23473 Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
23475 o Compilation fixes:
23476 - Build and run correctly on systems like OpenBSD-current that have
23477 patched OpenSSL to remove get_cipher_by_char and/or its
23478 implementations. Fixes issue 13325.
23480 o Downgraded warnings:
23481 - Downgrade the severity of the 'unexpected sendme cell from client'
23482 from 'warn' to 'protocol warning'. Closes ticket 8093.
23485 Changes in version 0.2.4.25 - 2014-10-20
23486 Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
23487 (even though POODLE does not affect Tor). It also works around a crash
23488 bug caused by some operating systems' response to the "POODLE" attack
23489 (which does affect Tor).
23491 o Major security fixes (also in 0.2.5.9-rc):
23492 - Disable support for SSLv3. All versions of OpenSSL in use with Tor
23493 today support TLS 1.0 or later, so we can safely turn off support
23494 for this old (and insecure) protocol. Fixes bug 13426.
23496 o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
23497 - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
23498 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
23499 13471. This is a workaround for an OpenSSL bug.
23502 Changes in version 0.2.5.8-rc - 2014-09-22
23503 Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
23504 series. It fixes a bug that affects consistency and speed when
23505 connecting to hidden services, and it updates the location of one of
23506 the directory authorities.
23509 - Clients now send the correct address for their chosen rendezvous
23510 point when trying to access a hidden service. They used to send
23511 the wrong address, which would still work some of the time because
23512 they also sent the identity digest of the rendezvous point, and if
23513 the hidden service happened to try connecting to the rendezvous
23514 point from a relay that already had a connection open to it,
23515 the relay would reuse that connection. Now connections to hidden
23516 services should be more robust and faster. Also, this bug meant
23517 that clients were leaking to the hidden service whether they were
23518 on a little-endian (common) or big-endian (rare) system, which for
23519 some users might have reduced their anonymity. Fixes bug 13151;
23520 bugfix on 0.2.1.5-alpha.
23522 o Directory authority changes:
23523 - Change IP address for gabelmoo (v3 directory authority).
23526 Changes in version 0.2.4.24 - 2014-09-22
23527 Tor 0.2.4.24 fixes a bug that affects consistency and speed when
23528 connecting to hidden services, and it updates the location of one of
23529 the directory authorities.
23532 - Clients now send the correct address for their chosen rendezvous
23533 point when trying to access a hidden service. They used to send
23534 the wrong address, which would still work some of the time because
23535 they also sent the identity digest of the rendezvous point, and if
23536 the hidden service happened to try connecting to the rendezvous
23537 point from a relay that already had a connection open to it,
23538 the relay would reuse that connection. Now connections to hidden
23539 services should be more robust and faster. Also, this bug meant
23540 that clients were leaking to the hidden service whether they were
23541 on a little-endian (common) or big-endian (rare) system, which for
23542 some users might have reduced their anonymity. Fixes bug 13151;
23543 bugfix on 0.2.1.5-alpha.
23545 o Directory authority changes:
23546 - Change IP address for gabelmoo (v3 directory authority).
23548 o Minor features (geoip):
23549 - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
23553 Changes in version 0.2.5.7-rc - 2014-09-11
23554 Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
23555 release series, and some long-standing bugs related to ORPort reachability
23556 testing and failure to send CREATE cells. It is the first release
23557 candidate for the Tor 0.2.5.x series.
23559 o Major bugfixes (client, startup):
23560 - Start making circuits as soon as DisabledNetwork is turned off.
23561 When Tor started with DisabledNetwork set, it would correctly
23562 conclude that it shouldn't build circuits, but it would mistakenly
23563 cache this conclusion, and continue believing it even when
23564 DisableNetwork is set to 0. Fixes the bug introduced by the fix
23565 for bug 11200; bugfix on 0.2.5.4-alpha.
23566 - Resume expanding abbreviations for command-line options. The fix
23567 for bug 4647 accidentally removed our hack from bug 586 that
23568 rewrote HashedControlPassword to __HashedControlSessionPassword
23569 when it appears on the commandline (which allowed the user to set
23570 her own HashedControlPassword in the torrc file while the
23571 controller generates a fresh session password for each run). Fixes
23572 bug 12948; bugfix on 0.2.5.1-alpha.
23573 - Warn about attempts to run hidden services and relays in the same
23574 process: that's probably not a good idea. Closes ticket 12908.
23576 o Major bugfixes (relay):
23577 - Avoid queuing or sending destroy cells for circuit ID zero when we
23578 fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
23579 Found and fixed by "cypherpunks".
23580 - Fix ORPort reachability detection on relays running behind a
23581 proxy, by correctly updating the "local" mark on the controlling
23582 channel when changing the address of an or_connection_t after the
23583 handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
23585 o Minor features (bridge):
23586 - Add an ExtORPortCookieAuthFileGroupReadable option to make the
23587 cookie file for the ExtORPort g+r by default.
23589 o Minor features (geoip):
23590 - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
23593 o Minor bugfixes (logging):
23594 - Reduce the log severity of the "Pluggable transport proxy does not
23595 provide any needed transports and will not be launched." message,
23596 since Tor Browser includes several ClientTransportPlugin lines in
23597 its torrc-defaults file, leading every Tor Browser user who looks
23598 at her logs to see these notices and wonder if they're dangerous.
23599 Resolves bug 13124; bugfix on 0.2.5.3-alpha.
23600 - Downgrade "Unexpected onionskin length after decryption" warning
23601 to a protocol-warn, since there's nothing relay operators can do
23602 about a client that sends them a malformed create cell. Resolves
23603 bug 12996; bugfix on 0.0.6rc1.
23604 - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
23605 cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
23606 - When logging information about an EXTEND2 or EXTENDED2 cell, log
23607 their names correctly. Fixes part of bug 12700; bugfix
23609 - When logging information about a relay cell whose command we don't
23610 recognize, log its command as an integer. Fixes part of bug 12700;
23611 bugfix on 0.2.1.10-alpha.
23612 - Escape all strings from the directory connection before logging
23613 them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
23615 o Minor bugfixes (controller):
23616 - Restore the functionality of CookieAuthFileGroupReadable. Fixes
23617 bug 12864; bugfix on 0.2.5.1-alpha.
23618 - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
23619 controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
23622 o Minor bugfixes (compilation):
23623 - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
23624 bugfix on 0.2.5.5-alpha.
23625 - Make the nmake make files work again. Fixes bug 13081. Bugfix on
23626 0.2.5.1-alpha. Patch from "NewEraCracker".
23627 - In routerlist_assert_ok(), don't take the address of a
23628 routerinfo's cache_info member unless that routerinfo is non-NULL.
23629 Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
23630 - Fix a large number of false positive warnings from the clang
23631 analyzer static analysis tool. This should make real warnings
23632 easier for clang analyzer to find. Patch from "teor". Closes
23635 o Distribution (systemd):
23636 - Verify configuration file via ExecStartPre in the systemd unit
23637 file. Patch from intrigeri; resolves ticket 12730.
23638 - Explicitly disable RunAsDaemon in the systemd unit file. Our
23639 current systemd unit uses "Type = simple", so systemd does not
23640 expect tor to fork. If the user has "RunAsDaemon 1" in their
23641 torrc, then things won't work as expected. This is e.g. the case
23642 on Debian (and derivatives), since there we pass "--defaults-torrc
23643 /usr/share/tor/tor-service-defaults-torrc" (that contains
23644 "RunAsDaemon 1") by default. Patch by intrigeri; resolves
23648 - Adjust the URLs in the README to refer to the new locations of
23649 several documents on the website. Fixes bug 12830. Patch from
23651 - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
23655 Changes in version 0.2.5.6-alpha - 2014-07-28
23656 Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
23657 risk from guard rotation, and fixes a variety of other issues to get
23658 us closer to a release candidate.
23660 o Major features (also in 0.2.4.23):
23661 - Make the number of entry guards configurable via a new
23662 NumEntryGuards consensus parameter, and the number of directory
23663 guards configurable via a new NumDirectoryGuards consensus
23664 parameter. Implements ticket 12688.
23666 o Major bugfixes (also in 0.2.4.23):
23667 - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
23668 implementation that caused incorrect results on 32-bit
23669 implementations when certain malformed inputs were used along with
23670 a small class of private ntor keys. This bug does not currently
23671 appear to allow an attacker to learn private keys or impersonate a
23672 Tor server, but it could provide a means to distinguish 32-bit Tor
23673 implementations from 64-bit Tor implementations. Fixes bug 12694;
23674 bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
23678 - Perform circuit cleanup operations even when circuit
23679 construction operations are disabled (because the network is
23680 disabled, or because there isn't enough directory information).
23681 Previously, when we were not building predictive circuits, we
23682 were not closing expired circuits either. Fixes bug 8387; bugfix on
23683 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
23684 became more strict about when we have "enough directory information
23685 to build circuits".
23688 - Authorities now assign the Guard flag to the fastest 25% of the
23689 network (it used to be the fastest 50%). Also raise the consensus
23690 weight that guarantees the Guard flag from 250 to 2000. For the
23691 current network, this results in about 1100 guards, down from 2500.
23692 This step paves the way for moving the number of entry guards
23693 down to 1 (proposal 236) while still providing reasonable expected
23694 performance for most users. Implements ticket 12690.
23695 - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
23697 - Slightly enhance the diagnostic message for bug 12184.
23699 o Minor bugfixes (also in 0.2.4.23):
23700 - Warn and drop the circuit if we receive an inbound 'relay early'
23701 cell. Those used to be normal to receive on hidden service circuits
23702 due to bug 1038, but the buggy Tor versions are long gone from
23703 the network so we can afford to resume watching for them. Resolves
23704 the rest of bug 1038; bugfix on 0.2.1.19.
23705 - Correct a confusing error message when trying to extend a circuit
23706 via the control protocol but we don't know a descriptor or
23707 microdescriptor for one of the specified relays. Fixes bug 12718;
23708 bugfix on 0.2.3.1-alpha.
23711 - Fix compilation when building with bufferevents enabled. (This
23712 configuration is still not expected to work, however.)
23713 Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
23714 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
23716 - Compile correctly with builds and forks of OpenSSL (such as
23717 LibreSSL) that disable compression. Fixes bug 12602; bugfix on
23718 0.2.1.1-alpha. Patch from "dhill".
23721 Changes in version 0.2.4.23 - 2014-07-28
23722 Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
23723 guard rotation, and also backports several important fixes from the
23724 Tor 0.2.5 alpha release series.
23727 - Clients now look at the "usecreatefast" consensus parameter to
23728 decide whether to use CREATE_FAST or CREATE cells for the first hop
23729 of their circuit. This approach can improve security on connections
23730 where Tor's circuit handshake is stronger than the available TLS
23731 connection security levels, but the tradeoff is more computational
23732 load on guard relays. Implements proposal 221. Resolves ticket 9386.
23733 - Make the number of entry guards configurable via a new
23734 NumEntryGuards consensus parameter, and the number of directory
23735 guards configurable via a new NumDirectoryGuards consensus
23736 parameter. Implements ticket 12688.
23739 - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
23740 implementation that caused incorrect results on 32-bit
23741 implementations when certain malformed inputs were used along with
23742 a small class of private ntor keys. This bug does not currently
23743 appear to allow an attacker to learn private keys or impersonate a
23744 Tor server, but it could provide a means to distinguish 32-bit Tor
23745 implementations from 64-bit Tor implementations. Fixes bug 12694;
23746 bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
23750 - Warn and drop the circuit if we receive an inbound 'relay early'
23751 cell. Those used to be normal to receive on hidden service circuits
23752 due to bug 1038, but the buggy Tor versions are long gone from
23753 the network so we can afford to resume watching for them. Resolves
23754 the rest of bug 1038; bugfix on 0.2.1.19.
23755 - Correct a confusing error message when trying to extend a circuit
23756 via the control protocol but we don't know a descriptor or
23757 microdescriptor for one of the specified relays. Fixes bug 12718;
23758 bugfix on 0.2.3.1-alpha.
23759 - Avoid an illegal read from stack when initializing the TLS
23760 module using a version of OpenSSL without all of the ciphers
23761 used by the v2 link handshake. Fixes bug 12227; bugfix on
23762 0.2.4.8-alpha. Found by "starlight".
23765 - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
23769 Changes in version 0.2.5.5-alpha - 2014-06-18
23770 Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
23771 0.2.5.x release series, including a couple of DoS issues, some
23772 performance regressions, a large number of bugs affecting the Linux
23773 seccomp2 sandbox code, and various other bugfixes. It also adds
23774 diagnostic bugfixes for a few tricky issues that we're trying to
23777 o Major features (security, traffic analysis resistance):
23778 - Several major improvements to the algorithm used to decide when to
23779 close TLS connections. Previous versions of Tor closed connections
23780 at a fixed interval after the last time a non-padding cell was
23781 sent over the connection, regardless of the target of the
23782 connection. Now, we randomize the intervals by adding up to 50% of
23783 their base value, we measure the length of time since connection
23784 last had at least one circuit, and we allow connections to known
23785 ORs to remain open a little longer (15 minutes instead of 3
23786 minutes minimum). These changes should improve Tor's resistance
23787 against some kinds of traffic analysis, and lower some overhead
23788 from needlessly closed connections. Fixes ticket 6799.
23789 Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
23791 o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
23792 - Fix a memory leak that could occur if a microdescriptor parse
23793 fails during the tokenizing step. This bug could enable a memory
23794 exhaustion attack by directory servers. Fixes bug 11649; bugfix
23797 o Major bugfixes (security, directory authorities):
23798 - Directory authorities now include a digest of each relay's
23799 identity key as a part of its microdescriptor.
23801 This is a workaround for bug 11743 (reported by "cypherpunks"),
23802 where Tor clients do not support receiving multiple
23803 microdescriptors with the same SHA256 digest in the same
23804 consensus. When clients receive a consensus like this, they only
23805 use one of the relays. Without this fix, a hostile relay could
23806 selectively disable some client use of target relays by
23807 constructing a router descriptor with a different identity and the
23808 same microdescriptor parameters and getting the authorities to
23809 list it in a microdescriptor consensus. This fix prevents an
23810 attacker from causing a microdescriptor collision, because the
23811 router's identity is not forgeable.
23813 o Major bugfixes (relay):
23814 - Use a direct dirport connection when uploading non-anonymous
23815 descriptors to the directory authorities. Previously, relays would
23816 incorrectly use tunnel connections under a fairly wide variety of
23817 circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
23818 - When a circuit accidentally has the same circuit ID for its
23819 forward and reverse direction, correctly detect the direction of
23820 cells using that circuit. Previously, this bug made roughly one
23821 circuit in a million non-functional. Fixes bug 12195; this is a
23822 bugfix on every version of Tor.
23824 o Major bugfixes (client, pluggable transports):
23825 - When managing pluggable transports, use OS notification facilities
23826 to learn if they have crashed, and don't attempt to kill any
23827 process that has already exited. Fixes bug 8746; bugfix
23830 o Minor features (diagnostic):
23831 - When logging a warning because of bug 7164, additionally check the
23832 hash table for consistency (as proposed on ticket 11737). This may
23833 help diagnose bug 7164.
23834 - When we log a heartbeat, log how many one-hop circuits we have
23835 that are at least 30 minutes old, and log status information about
23836 a few of them. This is an attempt to track down bug 8387.
23837 - When encountering an unexpected CR while writing text to a file on
23838 Windows, log the name of the file. Should help diagnosing
23840 - Give more specific warnings when a client notices that an onion
23841 handshake has failed. Fixes ticket 9635.
23842 - Add significant new logging code to attempt to diagnose bug 12184,
23843 where relays seem to run out of available circuit IDs.
23844 - Improve the diagnostic log message for bug 8387 even further to
23845 try to improve our odds of figuring out why one-hop directory
23846 circuits sometimes do not get closed.
23848 o Minor features (security, memory management):
23849 - Memory allocation tricks (mempools and buffer freelists) are now
23850 disabled by default. You can turn them back on with
23851 --enable-mempools and --enable-buf-freelists respectively. We're
23852 disabling these features because malloc performance is good enough
23853 on most platforms, and a similar feature in OpenSSL exacerbated
23854 exploitation of the Heartbleed attack. Resolves ticket 11476.
23856 o Minor features (security):
23857 - Apply the secure SipHash-2-4 function to the hash table mapping
23858 circuit IDs and channels to circuits. We missed this one when we
23859 were converting all the other hash functions to use SipHash back
23860 in 0.2.5.3-alpha. Resolves ticket 11750.
23862 o Minor features (build):
23863 - The configure script has a --disable-seccomp option to turn off
23864 support for libseccomp on systems that have it, in case it (or
23865 Tor's use of it) is broken. Resolves ticket 11628.
23867 o Minor features (other):
23868 - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
23871 o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
23872 - When running a hidden service, do not allow TunneledDirConns 0;
23873 this will keep the hidden service from running, and also
23874 make it publish its descriptors directly over HTTP. Fixes bug 10849;
23875 bugfix on 0.2.1.1-alpha.
23877 o Minor bugfixes (performance):
23878 - Avoid a bug where every successful connection made us recompute
23879 the flag telling us whether we have sufficient information to
23880 build circuits. Previously, we would forget our cached value
23881 whenever we successfully opened a channel (or marked a router as
23882 running or not running for any other reason), regardless of
23883 whether we had previously believed the router to be running. This
23884 forced us to run an expensive update operation far too often.
23885 Fixes bug 12170; bugfix on 0.1.2.1-alpha.
23886 - Avoid using tor_memeq() for checking relay cell integrity. This
23887 removes a possible performance bottleneck. Fixes part of bug
23888 12169; bugfix on 0.2.1.31.
23890 o Minor bugfixes (compilation):
23891 - Fix compilation of test_status.c when building with MVSC. Bugfix
23892 on 0.2.5.4-alpha. Patch from Gisle Vanem.
23893 - Resolve GCC complaints on OpenBSD about discarding constness in
23894 TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
23895 on 0.1.1.23. Patch from Dana Koch.
23896 - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
23897 treatment of long and time_t as comparable types. Fixes part of
23898 bug 11633. Patch from Dana Koch.
23899 - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
23900 11623; bugfix on 0.2.5.3-alpha.
23901 - When deciding whether to build the 64-bit curve25519
23902 implementation, detect platforms where we can compile 128-bit
23903 arithmetic but cannot link it. Fixes bug 11729; bugfix on
23904 0.2.4.8-alpha. Patch from "conradev".
23905 - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
23906 bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
23907 - Fix compilation with dmalloc. Fixes bug 11605; bugfix
23910 o Minor bugfixes (Directory server):
23911 - When sending a compressed set of descriptors or microdescriptors,
23912 make sure to finalize the zlib stream. Previously, we would write
23913 all the compressed data, but if the last descriptor we wanted to
23914 send was missing or too old, we would not mark the stream as
23915 finished. This caused problems for decompression tools. Fixes bug
23916 11648; bugfix on 0.1.1.23.
23918 o Minor bugfixes (Linux seccomp sandbox):
23919 - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
23920 11622; bugfix on 0.2.5.1-alpha.
23921 - Avoid crashing when re-opening listener ports with the seccomp
23922 sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
23923 - Avoid crashing with the seccomp sandbox enabled along with
23924 ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
23925 - When we receive a SIGHUP with the sandbox enabled, correctly
23926 support rotating our log files. Fixes bug 12032; bugfix
23928 - Avoid crash when running with sandboxing enabled and
23929 DirReqStatistics not disabled. Fixes bug 12035; bugfix
23931 - Fix a "BUG" warning when trying to write bridge-stats files with
23932 the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
23934 - Prevent the sandbox from crashing on startup when run with the
23935 --enable-expensive-hardening configuration option. Fixes bug
23936 11477; bugfix on 0.2.5.4-alpha.
23937 - When running with DirPortFrontPage and sandboxing both enabled,
23938 reload the DirPortFrontPage correctly when restarting. Fixes bug
23939 12028; bugfix on 0.2.5.1-alpha.
23940 - Don't try to enable the sandbox when using the Tor binary to check
23941 its configuration, hash a passphrase, or so on. Doing so was
23942 crashing on startup for some users. Fixes bug 11609; bugfix
23944 - Avoid warnings when running with sandboxing and node statistics
23945 enabled at the same time. Fixes part of 12064; bugfix on
23946 0.2.5.1-alpha. Patch from Michael Wolf.
23947 - Avoid warnings when running with sandboxing enabled at the same
23948 time as cookie authentication, hidden services, or directory
23949 authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
23950 - Do not allow options that require calls to exec to be enabled
23951 alongside the seccomp2 sandbox: they will inevitably crash. Fixes
23952 bug 12043; bugfix on 0.2.5.1-alpha.
23953 - Handle failures in getpwnam()/getpwuid() when running with the
23954 User option set and the Linux syscall sandbox enabled. Fixes bug
23955 11946; bugfix on 0.2.5.1-alpha.
23956 - Refactor the getaddrinfo workaround that the seccomp sandbox uses
23957 to avoid calling getaddrinfo() after installing the sandbox
23958 filters. Previously, it preloaded a cache with the IPv4 address
23959 for our hostname, and nothing else. Now, it loads the cache with
23960 every address that it used to initialize the Tor process. Fixes
23961 bug 11970; bugfix on 0.2.5.1-alpha.
23963 o Minor bugfixes (pluggable transports):
23964 - Enable the ExtORPortCookieAuthFile option, to allow changing the
23965 default location of the authentication token for the extended OR
23966 Port as used by sever-side pluggable transports. We had
23967 implemented this option before, but the code to make it settable
23968 had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
23969 - Avoid another 60-second delay when starting Tor in a pluggable-
23970 transport-using configuration when we already have cached
23971 descriptors for our bridges. Fixes bug 11965; bugfix
23974 o Minor bugfixes (client):
23975 - Avoid "Tried to open a socket with DisableNetwork set" warnings
23976 when starting a client with bridges configured and DisableNetwork
23977 set. (Tor launcher starts Tor with DisableNetwork set the first
23978 time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
23980 o Minor bugfixes (testing):
23981 - The Python parts of the test scripts now work on Python 3 as well
23982 as Python 2, so systems where '/usr/bin/python' is Python 3 will
23983 no longer have the tests break. Fixes bug 11608; bugfix
23985 - When looking for versions of python that we could run the tests
23986 with, check for "python2.7" and "python3.3"; previously we were
23987 only looking for "python", "python2", and "python3". Patch from
23988 Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
23989 - Fix all valgrind warnings produced by the unit tests. There were
23990 over a thousand memory leak warnings previously, mostly produced
23991 by forgetting to free things in the unit test code. Fixes bug
23992 11618, bugfixes on many versions of Tor.
23994 o Minor bugfixes (tor-fw-helper):
23995 - Give a correct log message when tor-fw-helper fails to launch.
23996 (Previously, we would say something like "tor-fw-helper sent us a
23997 string we could not parse".) Fixes bug 9781; bugfix
24000 o Minor bugfixes (relay, threading):
24001 - Check return code on spawn_func() in cpuworker code, so that we
24002 don't think we've spawned a nonworking cpuworker and write junk to
24003 it forever. Fix related to bug 4345; bugfix on all released Tor
24004 versions. Found by "skruffy".
24005 - Use a pthread_attr to make sure that spawn_func() cannot return an
24006 error while at the same time launching a thread. Fix related to
24007 bug 4345; bugfix on all released Tor versions. Reported
24010 o Minor bugfixes (relay, oom prevention):
24011 - Correctly detect the total available system memory. We tried to do
24012 this in 0.2.5.4-alpha, but the code was set up to always return an
24013 error value, even on success. Fixes bug 11805; bugfix
24016 o Minor bugfixes (relay, other):
24017 - We now drop CREATE cells for already-existent circuit IDs and for
24018 zero-valued circuit IDs, regardless of other factors that might
24019 otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
24021 - Avoid an illegal read from stack when initializing the TLS module
24022 using a version of OpenSSL without all of the ciphers used by the
24023 v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
24025 - When rejecting DATA cells for stream_id zero, still count them
24026 against the circuit's deliver window so that we don't fail to send
24027 a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
24029 o Minor bugfixes (logging):
24030 - Fix a misformatted log message about delayed directory fetches.
24031 Fixes bug 11654; bugfix on 0.2.5.3-alpha.
24032 - Squelch a spurious LD_BUG message "No origin circuit for
24033 successful SOCKS stream" in certain hidden service failure cases;
24037 - Include a tor.service file in contrib/dist for use with systemd.
24038 Some distributions will be able to use this file unmodified;
24039 others will need to tweak it, or write their own. Patch from Jamie
24040 Nguyen; resolves ticket 8368.
24043 - Clean up several option names in the manpage to match their real
24044 names, add the missing documentation for a couple of testing and
24045 directory authority options, remove the documentation for a
24046 V2-directory fetching option that no longer exists. Resolves
24048 - Correct the documentation so that it lists the correct directory
24049 for the stats files. (They are in a subdirectory called "stats",
24051 - In the manpage, move more authority-only options into the
24052 directory authority section so that operators of regular directory
24053 caches don't get confused.
24056 - The contrib directory has been sorted and tidied. Before, it was
24057 an unsorted dumping ground for useful and not-so-useful things.
24058 Now, it is divided based on functionality, and the items which
24059 seemed to be nonfunctional or useless have been removed. Resolves
24060 ticket 8966; based on patches from "rl1987".
24063 - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
24064 and MTBF calculations, but that nobody was using. Fixes ticket 11742.
24065 - The TunnelDirConns and PreferTunnelledDirConns options no longer
24066 exist; tunneled directory connections have been available since
24067 0.1.2.5-alpha, and turning them off is not a good idea. This is a
24068 brute-force fix for 10849, where "TunnelDirConns 0" would break
24072 Changes in version 0.2.4.22 - 2014-05-16
24073 Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
24074 alpha release series. These include blocking all authority signing
24075 keys that may have been affected by the OpenSSL "heartbleed" bug,
24076 choosing a far more secure set of TLS ciphersuites by default, closing
24077 a couple of memory leaks that could be used to run a target relay out
24078 of RAM, and several others.
24080 o Major features (security, backport from 0.2.5.4-alpha):
24081 - Block authority signing keys that were used on authorities
24082 vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
24083 don't have any evidence that these keys _were_ compromised; we're
24084 doing this to be prudent.) Resolves ticket 11464.
24086 o Major bugfixes (security, OOM):
24087 - Fix a memory leak that could occur if a microdescriptor parse
24088 fails during the tokenizing step. This bug could enable a memory
24089 exhaustion attack by directory servers. Fixes bug 11649; bugfix
24092 o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
24093 - The relay ciphersuite list is now generated automatically based on
24094 uniform criteria, and includes all OpenSSL ciphersuites with
24095 acceptable strength and forward secrecy. Previously, we had left
24096 some perfectly fine ciphersuites unsupported due to omission or
24097 typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
24098 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
24099 - Relays now trust themselves to have a better view than clients of
24100 which TLS ciphersuites are better than others. (Thanks to bug
24101 11513, the relay list is now well-considered, whereas the client
24102 list has been chosen mainly for anti-fingerprinting purposes.)
24103 Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
24104 CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
24105 AES128. Resolves ticket 11528.
24106 - Clients now try to advertise the same list of ciphersuites as
24107 Firefox 28. This change enables selection of (fast) GCM
24108 ciphersuites, disables some strange old ciphers, and stops
24109 advertising the ECDH (not to be confused with ECDHE) ciphersuites.
24110 Resolves ticket 11438.
24112 o Minor bugfixes (configuration, security):
24113 - When running a hidden service, do not allow TunneledDirConns 0:
24114 trying to set that option together with a hidden service would
24115 otherwise prevent the hidden service from running, and also make
24116 it publish its descriptors directly over HTTP. Fixes bug 10849;
24117 bugfix on 0.2.1.1-alpha.
24119 o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
24120 - Avoid sending a garbage value to the controller when a circuit is
24121 cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
24123 o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
24124 - Stop leaking memory when we successfully resolve a PTR record.
24125 Fixes bug 11437; bugfix on 0.2.4.7-alpha.
24127 o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
24128 - Avoid 60-second delays in the bootstrapping process when Tor is
24129 launching for a second time while using bridges. Fixes bug 9229;
24130 bugfix on 0.2.0.3-alpha.
24132 o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
24133 - Give the correct URL in the warning message when trying to run a
24134 relay on an ancient version of Windows. Fixes bug 9393.
24136 o Minor bugfixes (compilation):
24137 - Fix a compilation error when compiling with --disable-curve25519.
24138 Fixes bug 9700; bugfix on 0.2.4.17-rc.
24141 - Downgrade the warning severity for the the "md was still
24142 referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
24143 for trying to diagnose this bug, and the current warning in
24144 earlier versions of tor achieves nothing useful. Addresses warning
24147 o Minor features (log verbosity, backport from 0.2.5.4-alpha):
24148 - When we run out of usable circuit IDs on a channel, log only one
24149 warning for the whole channel, and describe how many circuits
24150 there were on the channel. Fixes part of ticket 11553.
24152 o Minor features (security, backport from 0.2.5.4-alpha):
24153 - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
24154 leave the default at 8GBytes), to better support Raspberry Pi
24155 users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
24157 o Documentation (backport from 0.2.5.4-alpha):
24158 - Correctly document that we search for a system torrc file before
24159 looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
24163 Changes in version 0.2.5.4-alpha - 2014-04-25
24164 Tor 0.2.5.4-alpha includes several security and performance
24165 improvements for clients and relays, including blacklisting authority
24166 signing keys that were used while susceptible to the OpenSSL
24167 "heartbleed" bug, fixing two expensive functions on busy relays,
24168 improved TLS ciphersuite preference lists, support for run-time
24169 hardening on compilers that support AddressSanitizer, and more work on
24170 the Linux sandbox code.
24172 There are also several usability fixes for clients (especially clients
24173 that use bridges), two new TransPort protocols supported (one on
24174 OpenBSD, one on FreeBSD), and various other bugfixes.
24176 This release marks end-of-life for Tor 0.2.2.x; those Tor versions
24177 have accumulated many known flaws; everyone should upgrade.
24179 o Major features (security):
24180 - If you don't specify MaxMemInQueues yourself, Tor now tries to
24181 pick a good value based on your total system memory. Previously,
24182 the default was always 8 GB. You can still override the default by
24183 setting MaxMemInQueues yourself. Resolves ticket 11396.
24184 - Block authority signing keys that were used on authorities
24185 vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
24186 don't have any evidence that these keys _were_ compromised; we're
24187 doing this to be prudent.) Resolves ticket 11464.
24189 o Major features (relay performance):
24190 - Speed up server-side lookups of rendezvous and introduction point
24191 circuits by using hashtables instead of linear searches. These
24192 functions previously accounted between 3 and 7% of CPU usage on
24193 some busy relays. Resolves ticket 9841.
24194 - Avoid wasting CPU when extending a circuit over a channel that is
24195 nearly out of circuit IDs. Previously, we would do a linear scan
24196 over possible circuit IDs before finding one or deciding that we
24197 had exhausted our possibilities. Now, we try at most 64 random
24198 circuit IDs before deciding that we probably won't succeed. Fixes
24199 a possible root cause of ticket 11553.
24201 o Major features (seccomp2 sandbox, Linux only):
24202 - The seccomp2 sandbox can now run a test network for multiple hours
24203 without crashing. The sandbox is still experimental, and more bugs
24204 will probably turn up. To try it, enable "Sandbox 1" on a Linux
24205 host. Resolves ticket 11351.
24206 - Strengthen sandbox code: the sandbox can now test the arguments
24207 for rename(), and blocks _sysctl() entirely. Resolves another part
24209 - When the sandbox blocks a system call, it now tries to log a stack
24210 trace before exiting. Resolves ticket 11465.
24212 o Major bugfixes (TLS cipher selection):
24213 - The relay ciphersuite list is now generated automatically based on
24214 uniform criteria, and includes all OpenSSL ciphersuites with
24215 acceptable strength and forward secrecy. Previously, we had left
24216 some perfectly fine ciphersuites unsupported due to omission or
24217 typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
24218 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
24219 - Relays now trust themselves to have a better view than clients of
24220 which TLS ciphersuites are better than others. (Thanks to bug
24221 11513, the relay list is now well-considered, whereas the client
24222 list has been chosen mainly for anti-fingerprinting purposes.)
24223 Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
24224 CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
24225 AES128. Resolves ticket 11528.
24226 - Clients now try to advertise the same list of ciphersuites as
24227 Firefox 28. This change enables selection of (fast) GCM
24228 ciphersuites, disables some strange old ciphers, and stops
24229 advertising the ECDH (not to be confused with ECDHE) ciphersuites.
24230 Resolves ticket 11438.
24232 o Major bugfixes (bridge client):
24233 - Avoid 60-second delays in the bootstrapping process when Tor is
24234 launching for a second time while using bridges. Fixes bug 9229;
24235 bugfix on 0.2.0.3-alpha.
24237 o Minor features (transparent proxy, *BSD):
24238 - Support FreeBSD's ipfw firewall interface for TransPort ports on
24239 FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
24240 10267; patch from "yurivict".
24241 - Support OpenBSD's divert-to rules with the pf firewall for
24242 transparent proxy ports. To enable it, set "TransProxyType
24243 pf-divert". This allows Tor to run a TransPort transparent proxy
24244 port on OpenBSD 4.4 or later without root privileges. See the
24245 pf.conf(5) manual page for information on configuring pf to use
24246 divert-to rules. Closes ticket 10896; patch from Dana Koch.
24248 o Minor features (security):
24249 - New --enable-expensive-hardening option to enable security
24250 hardening options that consume nontrivial amounts of CPU and
24251 memory. Right now, this includes AddressSanitizer and UbSan, which
24252 are supported in newer versions of GCC and Clang. Closes ticket
24255 o Minor features (log verbosity):
24256 - Demote the message that we give when a flushing connection times
24257 out for too long from NOTICE to INFO. It was usually meaningless.
24258 Resolves ticket 5286.
24259 - Don't log so many notice-level bootstrapping messages at startup
24260 about downloading descriptors. Previously, we'd log a notice
24261 whenever we learned about more routers. Now, we only log a notice
24262 at every 5% of progress. Fixes bug 9963.
24263 - Warn less verbosely when receiving a malformed
24264 ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
24265 - When we run out of usable circuit IDs on a channel, log only one
24266 warning for the whole channel, and describe how many circuits
24267 there were on the channel. Fixes part of ticket 11553.
24269 o Minor features (relay):
24270 - If a circuit timed out for at least 3 minutes, check if we have a
24271 new external IP address, and publish a new descriptor with the new
24272 IP address if it changed. Resolves ticket 2454.
24274 o Minor features (controller):
24275 - Make the entire exit policy available from the control port via
24276 GETINFO exit-policy/*. Implements enhancement 7952. Patch from
24278 - Because of the fix for ticket 11396, the real limit for memory
24279 usage may no longer match the configured MaxMemInQueues value. The
24280 real limit is now exposed via GETINFO limits/max-mem-in-queues.
24282 o Minor features (bridge client):
24283 - Report a more useful failure message when we can't connect to a
24284 bridge because we don't have the right pluggable transport
24285 configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
24287 o Minor features (diagnostic):
24288 - Add more log messages to diagnose bug 7164, which causes
24289 intermittent "microdesc_free() called but md was still referenced"
24290 warnings. We now include more information, to figure out why we
24291 might be cleaning a microdescriptor for being too old if it's
24292 still referenced by a live node_t object.
24294 o Minor bugfixes (client, DNSPort):
24295 - When using DNSPort, try to respond to AAAA requests with AAAA
24296 answers. Previously, we hadn't looked at the request type when
24297 deciding which answer type to prefer. Fixes bug 10468; bugfix on
24299 - When receiving a DNS query for an unsupported record type, reply
24300 with no answer rather than with a NOTIMPL error. This behavior
24301 isn't correct either, but it will break fewer client programs, we
24302 hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
24305 o Minor bugfixes (exit relay):
24306 - Stop leaking memory when we successfully resolve a PTR record.
24307 Fixes bug 11437; bugfix on 0.2.4.7-alpha.
24309 o Minor bugfixes (bridge client):
24310 - Stop accepting bridge lines containing hostnames. Doing so would
24311 cause clients to perform DNS requests on the hostnames, which was
24312 not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
24313 - Avoid a 60-second delay in the bootstrapping process when a Tor
24314 client with pluggable transports re-reads its configuration at
24315 just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
24317 o Minor bugfixes (client, logging during bootstrap):
24318 - Warn only once if we start logging in an unsafe way. Previously,
24319 we complain as many times as we had problems. Fixes bug 9870;
24320 bugfix on 0.2.5.1-alpha.
24321 - Only report the first fatal bootstrap error on a given OR
24322 connection. This stops us from telling the controller bogus error
24323 messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
24324 - Be more helpful when trying to run sandboxed on Linux without
24325 libseccomp. Instead of saying "Sandbox is not implemented on this
24326 platform", we now explain that we need to be built with
24327 libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
24328 - Avoid generating spurious warnings when starting with
24329 DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
24332 o Minor bugfixes (closing OR connections):
24333 - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
24334 check if it's an or_connection_t and correctly call
24335 connection_or_close_for_error() rather than
24336 connection_mark_for_close() directly. Fixes bug 11304; bugfix on
24338 - When closing all connections on setting DisableNetwork to 1, use
24339 connection_or_close_normally() rather than closing OR connections
24340 out from under the channel layer. Fixes bug 11306; bugfix on
24343 o Minor bugfixes (controller):
24344 - Avoid sending a garbage value to the controller when a circuit is
24345 cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
24347 o Minor bugfixes (tor-fw-helper):
24348 - Allow tor-fw-helper to build again by adding src/ext to its
24349 CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
24351 o Minor bugfixes (bridges):
24352 - Avoid potential crashes or bad behavior when launching a
24353 server-side managed proxy with ORPort or ExtORPort temporarily
24354 disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
24356 o Minor bugfixes (platform-specific):
24357 - Fix compilation on Solaris, which does not have <endian.h>. Fixes
24358 bug 11426; bugfix on 0.2.5.3-alpha.
24359 - When dumping a malformed directory object to disk, save it in
24360 binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
24362 - Don't report failures from make_socket_reuseable() on incoming
24363 sockets on OSX: this can happen when incoming connections close
24364 early. Fixes bug 10081.
24366 o Minor bugfixes (trivial memory leaks):
24367 - Fix a small memory leak when signing a directory object. Fixes bug
24368 11275; bugfix on 0.2.4.13-alpha.
24369 - Free placeholder entries in our circuit table at exit; fixes a
24370 harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
24371 - Don't re-initialize a second set of OpenSSL mutexes when starting
24372 up. Previously, we'd make one set of mutexes, and then immediately
24373 replace them with another. Fixes bug 11726; bugfix on
24375 - Resolve some memory leaks found by coverity in the unit tests, on
24376 exit in tor-gencert, and on a failure to compute digests for our
24377 own keys when generating a v3 networkstatus vote. These leaks
24378 should never have affected anyone in practice.
24380 o Minor bugfixes (hidden service):
24381 - Only retry attempts to connect to a chosen rendezvous point 8
24382 times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
24384 o Minor bugfixes (misc code correctness):
24385 - Fix various instances of undefined behavior in channeltls.c,
24386 tor_memmem(), and eventdns.c that would cause us to construct
24387 pointers to memory outside an allocated object. (These invalid
24388 pointers were not accessed, but C does not even allow them to
24389 exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
24390 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
24391 - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
24392 fix some miscellaneous errors in our tests and codebase. Fixes bug
24393 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
24394 - Always check return values for unlink, munmap, UnmapViewOfFile;
24395 check strftime return values more often. In some cases all we can
24396 do is report a warning, but this may help prevent deeper bugs from
24397 going unnoticed. Closes ticket 8787; bugfixes on many, many tor
24399 - Fix numerous warnings from the clang "scan-build" static analyzer.
24400 Some of these are programming style issues; some of them are false
24401 positives that indicated awkward code; some are undefined behavior
24402 cases related to constructing (but not using) invalid pointers;
24403 some are assumptions about API behavior; some are (harmlessly)
24404 logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
24405 correct; and one or two are genuine bugs that weren't reachable
24406 from the rest of the program. Fixes bug 8793; bugfixes on many,
24410 - Build the torify.1 manpage again. Previously, we were only trying
24411 to build it when also building tor-fw-helper. That's why we didn't
24412 notice that we'd broken the ability to build it. Fixes bug 11321;
24413 bugfix on 0.2.5.1-alpha.
24414 - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
24415 11061; bugfix on 0.2.4.7-alpha.
24416 - Correctly document that we search for a system torrc file before
24417 looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
24419 - Resolve warnings from Doxygen.
24421 o Code simplifications and refactoring:
24422 - Remove is_internal_IP() function. Resolves ticket 4645.
24423 - Remove unused function circuit_dump_by_chan from circuitlist.c.
24424 Closes issue 9107; patch from "marek".
24425 - Change our use of the ENUM_BF macro to avoid declarations that
24428 o Deprecated versions:
24429 - Tor 0.2.2.x has reached end-of-life; it has received no patches or
24430 attention for some while. Directory authorities no longer accept
24431 descriptors from relays running any version of Tor prior to Tor
24432 0.2.3.16-alpha. Resolves ticket 11149.
24435 - New macros in test.h to simplify writing mock-functions for unit
24436 tests. Part of ticket 11507. Patch from Dana Koch.
24437 - Complete tests for the status.c module. Resolves ticket 11507.
24438 Patch from Dana Koch.
24441 - Remove all code for the long unused v1 directory protocol.
24442 Resolves ticket 11070.
24445 Changes in version 0.2.5.3-alpha - 2014-03-22
24446 Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
24447 two new anti-DoS features for Tor relays, resolves a bug that kept
24448 SOCKS5 support for IPv6 from working, fixes several annoying usability
24449 issues for bridge users, and removes more old code for unused
24452 The Tor 0.2.5.x release series is now in patch-freeze: no feature
24453 patches not already written will be considered for inclusion in 0.2.5.x.
24455 o Major features (relay security, DoS-resistance):
24456 - When deciding whether we have run out of memory and we need to
24457 close circuits, also consider memory allocated in buffers for
24458 streams attached to each circuit.
24460 This change, which extends an anti-DoS feature introduced in
24461 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
24462 better resist more memory-based DoS attacks than before. Since the
24463 MaxMemInCellQueues option now applies to all queues, it is renamed
24464 to MaxMemInQueues. This feature fixes bug 10169.
24465 - Avoid hash-flooding denial-of-service attacks by using the secure
24466 SipHash-2-4 hash function for our hashtables. Without this
24467 feature, an attacker could degrade performance of a targeted
24468 client or server by flooding their data structures with a large
24469 number of entries to be stored at the same hash table position,
24470 thereby slowing down the Tor instance. With this feature, hash
24471 table positions are derived from a randomized cryptographic key,
24472 and an attacker cannot predict which entries will collide. Closes
24474 - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
24475 the default at 8GBytes), to better support Raspberry Pi users. Fixes
24476 bug 9686; bugfix on 0.2.4.14-alpha.
24478 o Minor features (bridges, pluggable transports):
24479 - Bridges now write the SHA1 digest of their identity key
24480 fingerprint (that is, a hash of a hash of their public key) to
24481 notice-level logs, and to a new hashed-fingerprint file. This
24482 information will help bridge operators look up their bridge in
24483 Globe and similar tools. Resolves ticket 10884.
24484 - Improve the message that Tor displays when running as a bridge
24485 using pluggable transports without an Extended ORPort listener.
24486 Also, log the message in the log file too. Resolves ticket 11043.
24488 o Minor features (other):
24489 - Add a new option, PredictedPortsRelevanceTime, to control how long
24490 after having received a request to connect to a given port Tor
24491 will try to keep circuits ready in anticipation of future requests
24492 for that port. Patch from "unixninja92"; implements ticket 9176.
24493 - Generate a warning if any ports are listed in the SocksPolicy,
24494 DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
24495 AuthDirBadExit options. (These options only support address
24496 ranges.) Fixes part of ticket 11108.
24497 - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
24500 o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
24501 - Build without warnings under clang 3.4. (We have some macros that
24502 define static functions only some of which will get used later in
24503 the module. Starting with clang 3.4, these give a warning unless the
24504 unused attribute is set on them.) Resolves ticket 10904.
24505 - Fix build warnings about missing "a2x" comment when building the
24506 manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
24507 Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
24509 o Minor bugfixes (client):
24510 - Improve the log message when we can't connect to a hidden service
24511 because all of the hidden service directory nodes hosting its
24512 descriptor are excluded. Improves on our fix for bug 10722, which
24513 was a bugfix on 0.2.0.10-alpha.
24514 - Raise a control port warning when we fail to connect to all of
24515 our bridges. Previously, we didn't inform the controller, and
24516 the bootstrap process would stall. Fixes bug 11069; bugfix on
24518 - Exit immediately when a process-owning controller exits.
24519 Previously, tor relays would wait for a little while after their
24520 controller exited, as if they had gotten an INT signal -- but this
24521 was problematic, since there was no feedback for the user. To do a
24522 clean shutdown, controllers should send an INT signal and give Tor
24523 a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
24524 - Stop attempting to connect to bridges before our pluggable
24525 transports are configured (harmless but resulted in some erroneous
24526 log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
24527 - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
24528 generating incorrect SOCKS5 responses, and confusing client
24529 applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
24531 o Minor bugfixes (relays and bridges):
24532 - Avoid crashing on a malformed resolv.conf file when running a
24533 relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
24534 - Non-exit relays no longer launch mock DNS requests to check for
24535 DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
24536 non-exit relays stopped servicing DNS requests. Fixes bug 965;
24537 bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
24538 - Bridges now report complete directory request statistics. Related
24539 to bug 5824; bugfix on 0.2.2.1-alpha.
24540 - Bridges now never collect statistics that were designed for
24541 relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
24542 - Stop giving annoying warning messages when we decide not to launch
24543 a pluggable transport proxy that we don't need (because there are
24544 no bridges configured to use it). Resolves ticket 5018; bugfix
24546 - Give the correct URL in the warning message when trying to run a
24547 relay on an ancient version of Windows. Fixes bug 9393.
24549 o Minor bugfixes (backtrace support):
24550 - Support automatic backtraces on more platforms by using the
24551 "-fasynchronous-unwind-tables" compiler option. This option is
24552 needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
24553 is on by default and table generation is not. This doesn't yet
24554 add Windows support; only Linux, OSX, and some BSDs are affected.
24555 Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
24556 - Avoid strange behavior if two threads hit failed assertions at the
24557 same time and both try to log backtraces at once. (Previously, if
24558 this had happened, both threads would have stored their intermediate
24559 results in the same buffer, and generated junk outputs.) Reported by
24560 "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
24561 - Fix a compiler warning in format_number_sigsafe(). Bugfix on
24562 0.2.5.2-alpha; patch from Nick Hopper.
24564 o Minor bugfixes (unit tests):
24565 - Fix a small bug in the unit tests that might have made the tests
24566 call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
24567 bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
24570 - Remove all remaining code related to version-0 hidden service
24571 descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
24572 the rest of bug 10841.
24575 - Document in the manpage that "KBytes" may also be written as
24576 "kilobytes" or "KB", that "Kbits" may also be written as
24577 "kilobits", and so forth. Closes ticket 9222.
24578 - Document that the ClientOnly config option overrides ORPort.
24579 Our old explanation made ClientOnly sound as though it did
24580 nothing at all. Resolves bug 9059.
24581 - Explain that SocksPolicy, DirPolicy, and similar options don't
24582 take port arguments. Fixes the other part of ticket 11108.
24583 - Fix a comment about the rend_server_descriptor_t.protocols field
24584 to more accurately describe its range. Also, make that field
24585 unsigned, to more accurately reflect its usage. Fixes bug 9099;
24586 bugfix on 0.2.1.5-alpha.
24587 - Fix the manpage's description of HiddenServiceAuthorizeClient:
24588 the maximum client name length is 16, not 19. Fixes bug 11118;
24589 bugfix on 0.2.1.6-alpha.
24591 o Code simplifications and refactoring:
24592 - Get rid of router->address, since in all cases it was just the
24593 string representation of router->addr. Resolves ticket 5528.
24595 o Test infrastructure:
24596 - Update to the latest version of tinytest.
24597 - Improve the tinytest implementation of string operation tests so
24598 that comparisons with NULL strings no longer crash the tests; they
24599 now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
24602 Changes in version 0.2.4.21 - 2014-02-28
24603 Tor 0.2.4.21 further improves security against potential adversaries who
24604 find breaking 1024-bit crypto doable, and backports several stability
24605 and robustness patches from the 0.2.5 branch.
24607 o Major features (client security):
24608 - When we choose a path for a 3-hop circuit, make sure it contains
24609 at least one relay that supports the NTor circuit extension
24610 handshake. Otherwise, there is a chance that we're building
24611 a circuit that's worth attacking by an adversary who finds
24612 breaking 1024-bit crypto doable, and that chance changes the game
24613 theory. Implements ticket 9777.
24616 - Do not treat streams that fail with reason
24617 END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
24618 since it could also indicate an ENETUNREACH connection error. Fixes
24619 part of bug 10777; bugfix on 0.2.4.8-alpha.
24621 o Code simplification and refactoring:
24622 - Remove data structures which were introduced to implement the
24623 CellStatistics option: they are now redundant with the new timestamp
24624 field in the regular packed_cell_t data structure, which we did
24625 in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
24628 - Always clear OpenSSL bignums before freeing them -- even bignums
24629 that don't contain secrets. Resolves ticket 10793. Patch by
24631 - Build without warnings under clang 3.4. (We have some macros that
24632 define static functions only some of which will get used later in
24633 the module. Starting with clang 3.4, these give a warning unless the
24634 unused attribute is set on them.) Resolves ticket 10904.
24635 - Update geoip and geoip6 files to the February 7 2014 Maxmind
24636 GeoLite2 Country database.
24639 - Set the listen() backlog limit to the largest actually supported
24640 on the system, not to the value in a header file. Fixes bug 9716;
24641 bugfix on every released Tor.
24642 - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
24643 exit node as a NOROUTE error, not an INTERNAL error, since they
24644 can apparently happen when trying to connect to the wrong sort
24645 of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
24646 - Fix build warnings about missing "a2x" comment when building the
24647 manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
24648 Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
24649 - Avoid a segfault on SIGUSR1, where we had freed a connection but did
24650 not entirely remove it from the connection lists. Fixes bug 9602;
24651 bugfix on 0.2.4.4-alpha.
24652 - Fix a segmentation fault in our benchmark code when running with
24653 Fedora's OpenSSL package, or any other OpenSSL that provides
24654 ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
24655 - Turn "circuit handshake stats since last time" log messages into a
24656 heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
24658 o Documentation fixes:
24659 - Document that all but one DirPort entry must have the NoAdvertise
24660 flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
24663 Changes in version 0.2.5.2-alpha - 2014-02-13
24664 Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
24665 like the "poor random number generation" fix and the "building too many
24666 circuits" fix. It also further improves security against potential
24667 adversaries who find breaking 1024-bit crypto doable, and launches
24668 pluggable transports on demand (which gets us closer to integrating
24669 pluggable transport support by default -- not to be confused with Tor
24670 bundles enabling pluggable transports and bridges by default).
24672 o Major features (client security):
24673 - When we choose a path for a 3-hop circuit, make sure it contains
24674 at least one relay that supports the NTor circuit extension
24675 handshake. Otherwise, there is a chance that we're building
24676 a circuit that's worth attacking by an adversary who finds
24677 breaking 1024-bit crypto doable, and that chance changes the game
24678 theory. Implements ticket 9777.
24679 - Clients now look at the "usecreatefast" consensus parameter to
24680 decide whether to use CREATE_FAST or CREATE cells for the first hop
24681 of their circuit. This approach can improve security on connections
24682 where Tor's circuit handshake is stronger than the available TLS
24683 connection security levels, but the tradeoff is more computational
24684 load on guard relays. Implements proposal 221. Resolves ticket 9386.
24686 o Major features (bridges):
24687 - Don't launch pluggable transport proxies if we don't have any
24688 bridges configured that would use them. Now we can list many
24689 pluggable transports, and Tor will dynamically start one when it
24690 hears a bridge address that needs it. Resolves ticket 5018.
24691 - The bridge directory authority now assigns status flags (Stable,
24692 Guard, etc) to bridges based on thresholds calculated over all
24693 Running bridges. Now bridgedb can finally make use of its features
24694 to e.g. include at least one Stable bridge in its answers. Fixes
24697 o Major features (other):
24698 - Extend ORCONN controller event to include an "ID" parameter,
24699 and add four new controller event types CONN_BW, CIRC_BW,
24700 CELL_STATS, and TB_EMPTY that show connection and circuit usage.
24701 The new events are emitted in private Tor networks only, with the
24702 goal of being able to better track performance and load during
24703 full-network simulations. Implements proposal 218 and ticket 7359.
24704 - On some platforms (currently: recent OSX versions, glibc-based
24705 platforms that support the ELF format, and a few other
24706 Unix-like operating systems), Tor can now dump stack traces
24707 when a crash occurs or an assertion fails. By default, traces
24708 are dumped to stderr (if possible) and to any logs that are
24709 reporting errors. Implements ticket 9299.
24712 - Avoid a segfault on SIGUSR1, where we had freed a connection but did
24713 not entirely remove it from the connection lists. Fixes bug 9602;
24714 bugfix on 0.2.4.4-alpha.
24715 - Do not treat streams that fail with reason
24716 END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
24717 since it could also indicate an ENETUNREACH connection error. Fixes
24718 part of bug 10777; bugfix on 0.2.4.8-alpha.
24720 o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
24721 - Do not allow OpenSSL engines to replace the PRNG, even when
24722 HardwareAccel is set. The only default builtin PRNG engine uses
24723 the Intel RDRAND instruction to replace the entire PRNG, and
24724 ignores all attempts to seed it with more entropy. That's
24725 cryptographically stupid: the right response to a new alleged
24726 entropy source is never to discard all previously used entropy
24727 sources. Fixes bug 10402; works around behavior introduced in
24728 OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
24730 - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
24731 address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
24732 - Avoid launching spurious extra circuits when a stream is pending.
24733 This fixes a bug where any circuit that _wasn't_ unusable for new
24734 streams would be treated as if it were, causing extra circuits to
24735 be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
24737 o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24738 - No longer stop reading or writing on cpuworker connections when
24739 our rate limiting buckets go empty. Now we should handle circuit
24740 handshake requests more promptly. Resolves bug 9731.
24741 - Stop trying to bootstrap all our directory information from
24742 only our first guard. Discovered while fixing bug 9946; bugfix
24745 o Minor features (bridges, pluggable transports):
24746 - Add threshold cutoffs to the networkstatus document created by
24747 the Bridge Authority. Fixes bug 1117.
24748 - On Windows, spawn background processes using the CREATE_NO_WINDOW
24749 flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
24750 doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
24751 Vidalia set this option for us.) Implements ticket 10297.
24753 o Minor features (security):
24754 - Always clear OpenSSL bignums before freeing them -- even bignums
24755 that don't contain secrets. Resolves ticket 10793. Patch by
24758 o Minor features (config options and command line):
24759 - Add an --allow-missing-torrc commandline option that tells Tor to
24760 run even if the configuration file specified by -f is not available.
24761 Implements ticket 10060.
24762 - Add support for the TPROXY transparent proxying facility on Linux.
24763 See documentation for the new TransProxyType option for more
24764 details. Implementation by "thomo". Closes ticket 10582.
24766 o Minor features (controller):
24767 - Add a new "HS_DESC" controller event that reports activities
24768 related to hidden service descriptors. Resolves ticket 8510.
24769 - New "DROPGUARDS" controller command to forget all current entry
24770 guards. Not recommended for ordinary use, since replacing guards
24771 too frequently makes several attacks easier. Resolves ticket 9934;
24774 o Minor features (build):
24775 - Assume that a user using ./configure --host wants to cross-compile,
24776 and give an error if we cannot find a properly named
24777 tool-chain. Add a --disable-tool-name-check option to proceed
24778 nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
24779 - If we run ./configure and the compiler recognizes -fstack-protector
24780 but the linker rejects it, warn the user about a potentially missing
24781 libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
24783 o Minor features (testing):
24784 - If Python is installed, "make check" now runs extra tests beyond
24785 the unit test scripts.
24786 - When bootstrapping a test network, sometimes very few relays get
24787 the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
24788 specify a set of relays which should be voted Guard regardless of
24789 their uptime or bandwidth. Addresses ticket 9206.
24791 o Minor features (log messages):
24792 - When ServerTransportPlugin is set on a bridge, Tor can write more
24793 useful statistics about bridge use in its extrainfo descriptors,
24794 but only if the Extended ORPort ("ExtORPort") is set too. Add a
24795 log message to inform the user in this case. Resolves ticket 9651.
24796 - When receiving a new controller connection, log the origin address.
24797 Resolves ticket 9698; patch from "sigpipe".
24798 - When logging OpenSSL engine status at startup, log the status of
24799 more engines. Fixes ticket 10043; patch from Joshua Datko.
24800 - Turn "circuit handshake stats since last time" log messages into a
24801 heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
24803 o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24804 - Improve the circuit queue out-of-memory handler. Previously, when
24805 we ran low on memory, we'd close whichever circuits had the most
24806 queued cells. Now, we close those that have the *oldest* queued
24807 cells, on the theory that those are most responsible for us
24808 running low on memory. Based on analysis from a forthcoming paper
24809 by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
24810 - Generate bootstrapping status update events correctly when fetching
24811 microdescriptors. Fixes bug 9927.
24812 - Update to the October 2 2013 Maxmind GeoLite Country database.
24814 o Minor bugfixes (clients):
24815 - When closing a channel that has already been open, do not close
24816 pending circuits that were waiting to connect to the same relay.
24817 Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
24820 o Minor bugfixes (relays):
24821 - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
24822 exit node as a NOROUTE error, not an INTERNAL error, since they
24823 can apparently happen when trying to connect to the wrong sort
24824 of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
24826 o Minor bugfixes (bridges):
24827 - Fix a bug where the first connection works to a bridge that uses a
24828 pluggable transport with client-side parameters, but we don't send
24829 the client-side parameters on subsequent connections. (We don't
24830 use any pluggable transports with client-side parameters yet,
24831 but ScrambleSuit will soon become the first one.) Fixes bug 9162;
24832 bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
24834 o Minor bugfixes (node selection):
24835 - If ExcludeNodes is set, consider non-excluded hidden service
24836 directory servers before excluded ones. Do not consider excluded
24837 hidden service directory servers at all if StrictNodes is
24838 set. (Previously, we would sometimes decide to connect to those
24839 servers, and then realize before we initiated a connection that
24840 we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
24841 Reported by "mr-4".
24842 - If we set the ExitNodes option but it doesn't include any nodes
24843 that have the Exit flag, we would choose not to bootstrap. Now we
24844 bootstrap so long as ExitNodes includes nodes which can exit to
24845 some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
24847 o Minor bugfixes (controller and command-line):
24848 - If changing a config option via "setconf" fails in a recoverable
24849 way, we used to nonetheless write our new control ports to the
24850 file described by the "ControlPortWriteToFile" option. Now we only
24851 write out that file if we successfully switch to the new config
24852 option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
24853 - When a command-line option such as --version or --help that
24854 ordinarily implies --hush appears on the command line along with
24855 --quiet, then actually obey --quiet. Previously, we obeyed --quiet
24856 only if it appeared later on the command line. Fixes bug 9578;
24857 bugfix on 0.2.5.1-alpha.
24859 o Minor bugfixes (code correctness):
24860 - Previously we used two temporary files when writing descriptors to
24861 disk; now we only use one. Fixes bug 1376.
24862 - Remove an erroneous (but impossible and thus harmless) pointer
24863 comparison that would have allowed compilers to skip a bounds
24864 check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
24865 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
24866 - Fix an always-true assertion in pluggable transports code so it
24867 actually checks what it was trying to check. Fixes bug 10046;
24868 bugfix on 0.2.3.9-alpha. Found by "dcb".
24870 o Minor bugfixes (protocol correctness):
24871 - When receiving a VERSIONS cell with an odd number of bytes, close
24872 the connection immediately since the cell is malformed. Fixes bug
24873 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
24876 o Minor bugfixes (build):
24877 - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
24878 turned off (that is, without support for v2 link handshakes). Fixes
24879 bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
24880 - Fix compilation warnings and startup issues when running with
24881 "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
24883 - Fix compilation on Solaris 9, which didn't like us having an
24884 identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
24886 o Minor bugfixes (testing):
24887 - Fix a segmentation fault in our benchmark code when running with
24888 Fedora's OpenSSL package, or any other OpenSSL that provides
24889 ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
24891 o Minor bugfixes (log messages):
24892 - Fix a bug where clients using bridges would report themselves
24893 as 50% bootstrapped even without a live consensus document.
24894 Fixes bug 9922; bugfix on 0.2.1.1-alpha.
24895 - Suppress a warning where, if there's only one directory authority
24896 in the network, we would complain that votes and signatures cannot
24897 be uploaded to other directory authorities. Fixes bug 10842;
24898 bugfix on 0.2.2.26-beta.
24899 - Report bootstrapping progress correctly when we're downloading
24900 microdescriptors. We had updated our "do we have enough microdescs
24901 to begin building circuits?" logic most recently in 0.2.4.10-alpha
24902 (see bug 5956), but we left the bootstrap status event logic at
24903 "how far through getting 1/4 of them are we?" Fixes bug 9958;
24904 bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
24906 o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
24907 - Avoid a crash bug when starting with a corrupted microdescriptor
24908 cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
24909 - If we fail to dump a previously cached microdescriptor to disk, avoid
24910 freeing duplicate data later on. Fixes bug 10423; bugfix on
24911 0.2.4.13-alpha. Spotted by "bobnomnom".
24913 o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24914 - Correctly log long IPv6 exit policies, instead of truncating them
24915 or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
24916 - Our default TLS ecdhe groups were backwards: we meant to be using
24917 P224 for relays (for performance win) and P256 for bridges (since
24918 it is more common in the wild). Instead we had it backwards. After
24919 reconsideration, we decided that the default should be P256 on all
24920 hosts, since its security is probably better, and since P224 is
24921 reportedly used quite little in the wild. Found by "skruffy" on
24922 IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
24923 - Free directory authority certificate download statuses on exit
24924 rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
24926 o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24927 - If the guard we choose first doesn't answer, we would try the
24928 second guard, but once we connected to the second guard we would
24929 abandon it and retry the first one, slowing down bootstrapping.
24930 The fix is to treat all our initially chosen guards as acceptable
24931 to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
24932 - Fix an assertion failure that would occur when disabling the
24933 ORPort setting on a running Tor process while accounting was
24934 enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
24935 - When examining the list of network interfaces to find our address,
24936 do not consider non-running or disabled network interfaces. Fixes
24937 bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
24938 - Avoid an off-by-one error when checking buffer boundaries when
24939 formatting the exit status of a pluggable transport helper.
24940 This is probably not an exploitable bug, but better safe than
24941 sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
24944 o Removed code and features:
24945 - Clients now reject any directory authority certificates lacking
24946 a dir-key-crosscert element. These have been included since
24947 0.2.1.9-alpha, so there's no real reason for them to be optional
24948 any longer. Completes proposal 157. Resolves ticket 10162.
24949 - Remove all code that existed to support the v2 directory system,
24950 since there are no longer any v2 directory authorities. Resolves
24952 - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
24953 options, which were used for designating authorities as "Hidden
24954 service authorities". There has been no use of hidden service
24955 authorities since 0.2.2.1-alpha, when we stopped uploading or
24956 downloading v0 hidden service descriptors. Fixes bug 10881; also
24957 part of a fix for bug 10841.
24959 o Code simplification and refactoring:
24960 - Remove some old fallback code designed to keep Tor clients working
24961 in a network with only two working relays. Elsewhere in the code we
24962 have long since stopped supporting such networks, so there wasn't
24963 much point in keeping it around. Addresses ticket 9926.
24964 - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
24965 bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
24966 - Remove data structures which were introduced to implement the
24967 CellStatistics option: they are now redundant with the addition
24968 of a timestamp to the regular packed_cell_t data structure, which
24969 we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
24972 o Documentation (man page) fixes:
24973 - Update manpage to describe some of the files you can expect to
24974 find in Tor's DataDirectory. Addresses ticket 9839.
24975 - Document that all but one DirPort entry must have the NoAdvertise
24976 flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
24978 o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
24979 - Clarify the usage and risks of setting the ContactInfo torrc line
24980 for your relay or bridge. Resolves ticket 9854.
24981 - Add anchors to the manpage so we can link to the html version of
24982 the documentation for specific options. Resolves ticket 9866.
24983 - Replace remaining references to DirServer in man page and
24984 log entries. Resolves ticket 10124.
24987 - Make the "tor-gencert" tool used by directory authority operators
24988 create 2048-bit signing keys by default (rather than 1024-bit, since
24989 1024-bit is uncomfortably small these days). Addresses ticket 10324.
24992 Changes in version 0.2.4.20 - 2013-12-22
24993 Tor 0.2.4.20 fixes potentially poor random number generation for users
24994 who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
24995 torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
24996 and 4) have no state file in their DataDirectory (as would happen on
24997 first start). Users who generated relay or hidden service identity
24998 keys in such a situation should discard them and generate new ones.
25000 This release also fixes a logic error that caused Tor clients to build
25001 many more preemptive circuits than they actually need.
25004 - Do not allow OpenSSL engines to replace the PRNG, even when
25005 HardwareAccel is set. The only default builtin PRNG engine uses
25006 the Intel RDRAND instruction to replace the entire PRNG, and
25007 ignores all attempts to seed it with more entropy. That's
25008 cryptographically stupid: the right response to a new alleged
25009 entropy source is never to discard all previously used entropy
25010 sources. Fixes bug 10402; works around behavior introduced in
25011 OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
25013 - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
25014 address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
25015 - Avoid launching spurious extra circuits when a stream is pending.
25016 This fixes a bug where any circuit that _wasn't_ unusable for new
25017 streams would be treated as if it were, causing extra circuits to
25018 be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
25021 - Avoid a crash bug when starting with a corrupted microdescriptor
25022 cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
25023 - If we fail to dump a previously cached microdescriptor to disk, avoid
25024 freeing duplicate data later on. Fixes bug 10423; bugfix on
25025 0.2.4.13-alpha. Spotted by "bobnomnom".
25028 Changes in version 0.2.4.19 - 2013-12-11
25029 The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
25030 (1986-2013). Aaron worked on diverse projects including helping to guide
25031 Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
25032 transparency to the U.S government's PACER documents, and contributing
25033 design and development for Tor and Tor2Web. Aaron was one of the latest
25034 martyrs in our collective fight for civil liberties and human rights,
25035 and his death is all the more painful because he was one of us.
25037 Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
25038 a new circuit handshake and link encryption that use ECC to provide
25039 better security and efficiency; makes relays better manage circuit
25040 creation requests; uses "directory guards" to reduce client enumeration
25041 risks; makes bridges collect and report statistics about the pluggable
25042 transports they support; cleans up and improves our geoip database;
25043 gets much closer to IPv6 support for clients, bridges, and relays; makes
25044 directory authorities use measured bandwidths rather than advertised
25045 ones when computing flags and thresholds; disables client-side DNS
25046 caching to reduce tracking risks; and fixes a big bug in bridge
25047 reachability testing. This release introduces two new design
25048 abstractions in the code: a new "channel" abstraction between circuits
25049 and or_connections to allow for implementing alternate relay-to-relay
25050 transports, and a new "circuitmux" abstraction storing the queue of
25051 circuits for a channel. The release also includes many stability,
25052 security, and privacy fixes.
25055 Changes in version 0.2.4.18-rc - 2013-11-16
25056 Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
25057 series. It takes a variety of fixes from the 0.2.5.x branch to improve
25058 stability, performance, and better handling of edge cases.
25061 - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
25062 Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
25063 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
25064 renegotiation from working with TLS 1.1 or 1.2, so we had disabled
25065 them to solve bug 6033.)
25068 - No longer stop reading or writing on cpuworker connections when
25069 our rate limiting buckets go empty. Now we should handle circuit
25070 handshake requests more promptly. Resolves bug 9731.
25071 - If we are unable to save a microdescriptor to the journal, do not
25072 drop it from memory and then reattempt downloading it. Fixes bug
25073 9645; bugfix on 0.2.2.6-alpha.
25074 - Stop trying to bootstrap all our directory information from
25075 only our first guard. Discovered while fixing bug 9946; bugfix
25077 - The new channel code sometimes lost track of in-progress circuits,
25078 causing long-running clients to stop building new circuits. The
25079 fix is to always call circuit_n_chan_done(chan, 0) from
25080 channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
25082 o Minor bugfixes (on 0.2.4.x):
25083 - Correctly log long IPv6 exit policies, instead of truncating them
25084 or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
25085 - Our default TLS ecdhe groups were backwards: we meant to be using
25086 P224 for relays (for performance win) and P256 for bridges (since
25087 it is more common in the wild). Instead we had it backwards. After
25088 reconsideration, we decided that the default should be P256 on all
25089 hosts, since its security is probably better, and since P224 is
25090 reportedly used quite little in the wild. Found by "skruffy" on
25091 IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
25092 - Free directory authority certificate download statuses on exit
25093 rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
25095 o Minor bugfixes (on 0.2.3.x and earlier):
25096 - If the guard we choose first doesn't answer, we would try the
25097 second guard, but once we connected to the second guard we would
25098 abandon it and retry the first one, slowing down bootstrapping.
25099 The fix is to treat all our initially chosen guards as acceptable
25100 to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
25101 - Fix an assertion failure that would occur when disabling the
25102 ORPort setting on a running Tor process while accounting was
25103 enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
25104 - When examining the list of network interfaces to find our address,
25105 do not consider non-running or disabled network interfaces. Fixes
25106 bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
25107 - Avoid an off-by-one error when checking buffer boundaries when
25108 formatting the exit status of a pluggable transport helper.
25109 This is probably not an exploitable bug, but better safe than
25110 sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
25113 o Minor features (protecting client timestamps):
25114 - Clients no longer send timestamps in their NETINFO cells. These were
25115 not used for anything, and they provided one small way for clients
25116 to be distinguished from each other as they moved from network to
25117 network or behind NAT. Implements part of proposal 222.
25118 - Clients now round timestamps in INTRODUCE cells down to the nearest
25119 10 minutes. If a new Support022HiddenServices option is set to 0, or
25120 if it's set to "auto" and the feature is disabled in the consensus,
25121 the timestamp is sent as 0 instead. Implements part of proposal 222.
25122 - Stop sending timestamps in AUTHENTICATE cells. This is not such
25123 a big deal from a security point of view, but it achieves no actual
25124 good purpose, and isn't needed. Implements part of proposal 222.
25125 - Reduce down accuracy of timestamps in hidden service descriptors.
25126 Implements part of proposal 222.
25128 o Minor features (other):
25129 - Improve the circuit queue out-of-memory handler. Previously, when
25130 we ran low on memory, we'd close whichever circuits had the most
25131 queued cells. Now, we close those that have the *oldest* queued
25132 cells, on the theory that those are most responsible for us
25133 running low on memory. Based on analysis from a forthcoming paper
25134 by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
25135 - Generate bootstrapping status update events correctly when fetching
25136 microdescriptors. Fixes bug 9927.
25137 - Update to the October 2 2013 Maxmind GeoLite Country database.
25139 o Documentation fixes:
25140 - Clarify the usage and risks of setting the ContactInfo torrc line
25141 for your relay or bridge. Resolves ticket 9854.
25142 - Add anchors to the manpage so we can link to the html version of
25143 the documentation for specific options. Resolves ticket 9866.
25144 - Replace remaining references to DirServer in man page and
25145 log entries. Resolves ticket 10124.
25148 Changes in version 0.2.5.1-alpha - 2013-10-02
25149 Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
25150 on Linux, allows bridges that offer pluggable transports to report usage
25151 statistics, fixes many issues to make testing easier, and provides
25152 a pile of minor features and bugfixes that have been waiting for a
25153 release of the new branch.
25155 This is the first alpha release in a new series, so expect there to
25156 be bugs. Users who would rather test out a more stable branch should
25157 stay with 0.2.4.x for now.
25159 o Major features (security):
25160 - Use the seccomp2 syscall filtering facility on Linux to limit
25161 which system calls Tor can invoke. This is an experimental,
25162 Linux-only feature to provide defense-in-depth against unknown
25163 attacks. To try turning it on, set "Sandbox 1" in your torrc
25164 file. Please be ready to report bugs. We hope to add support
25165 for better sandboxing in the future, including more fine-grained
25166 filters, better division of responsibility, and support for more
25167 platforms. This work has been done by Cristian-Matei Toader for
25168 Google Summer of Code.
25169 - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
25170 Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
25171 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
25172 renegotiation from working with TLS 1.1 or 1.2, so we had disabled
25173 them to solve bug 6033.)
25175 o Major features (other):
25176 - Add support for passing arguments to managed pluggable transport
25177 proxies. Implements ticket 3594.
25178 - Bridges now track GeoIP information and the number of their users
25179 even when pluggable transports are in use, and report usage
25180 statistics in their extra-info descriptors. Resolves tickets 4773
25182 - Make testing Tor networks bootstrap better: lower directory fetch
25183 retry schedules and maximum interval without directory requests,
25184 and raise maximum download tries. Implements ticket 6752.
25185 - Add make target 'test-network' to run tests on a Chutney network.
25186 Implements ticket 8530.
25187 - The ntor handshake is now on-by-default, no matter what the
25188 directory authorities recommend. Implements ticket 8561.
25191 - Instead of writing destroy cells directly to outgoing connection
25192 buffers, queue them and intersperse them with other outgoing cells.
25193 This can prevent a set of resource starvation conditions where too
25194 many pending destroy cells prevent data cells from actually getting
25195 delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
25196 bugfix on 0.2.0.1-alpha.
25197 - If we are unable to save a microdescriptor to the journal, do not
25198 drop it from memory and then reattempt downloading it. Fixes bug
25199 9645; bugfix on 0.2.2.6-alpha.
25200 - The new channel code sometimes lost track of in-progress circuits,
25201 causing long-running clients to stop building new circuits. The
25202 fix is to always call circuit_n_chan_done(chan, 0) from
25203 channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
25206 - Tor now builds each source file in two modes: a mode that avoids
25207 exposing identifiers needlessly, and another mode that exposes
25208 more identifiers for testing. This lets the compiler do better at
25209 optimizing the production code, while enabling us to take more
25210 radical measures to let the unit tests test things.
25211 - The production builds no longer include functions used only in
25212 the unit tests; all functions exposed from a module only for
25213 unit-testing are now static in production builds.
25214 - Add an --enable-coverage configuration option to make the unit
25215 tests (and a new src/or/tor-cov target) to build with gcov test
25219 - We now have rudimentary function mocking support that our unit
25220 tests can use to test functions in isolation. Function mocking
25221 lets the tests temporarily replace a function's dependencies with
25222 stub functions, so that the tests can check the function without
25223 invoking the other functions it calls.
25224 - Add more unit tests for the <circid,channel>->circuit map, and
25225 the destroy-cell-tracking code to fix bug 7912.
25226 - Unit tests for failing cases of the TAP onion handshake.
25227 - More unit tests for address-manipulation functions.
25229 o Minor features (protecting client timestamps):
25230 - Clients no longer send timestamps in their NETINFO cells. These were
25231 not used for anything, and they provided one small way for clients
25232 to be distinguished from each other as they moved from network to
25233 network or behind NAT. Implements part of proposal 222.
25234 - Clients now round timestamps in INTRODUCE cells down to the nearest
25235 10 minutes. If a new Support022HiddenServices option is set to 0, or
25236 if it's set to "auto" and the feature is disabled in the consensus,
25237 the timestamp is sent as 0 instead. Implements part of proposal 222.
25238 - Stop sending timestamps in AUTHENTICATE cells. This is not such
25239 a big deal from a security point of view, but it achieves no actual
25240 good purpose, and isn't needed. Implements part of proposal 222.
25241 - Reduce down accuracy of timestamps in hidden service descriptors.
25242 Implements part of proposal 222.
25244 o Minor features (config options):
25245 - Config (torrc) lines now handle fingerprints which are missing
25246 their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
25247 - Support a --dump-config option to print some or all of the
25248 configured options. Mainly useful for debugging the command-line
25249 option parsing code. Helps resolve ticket 4647.
25250 - Raise awareness of safer logging: notify user of potentially
25251 unsafe config options, like logging more verbosely than severity
25252 "notice" or setting SafeLogging to 0. Resolves ticket 5584.
25253 - Add a new configuration option TestingV3AuthVotingStartOffset
25254 that bootstraps a network faster by changing the timing for
25255 consensus votes. Addresses ticket 8532.
25256 - Add a new torrc option "ServerTransportOptions" that allows
25257 bridge operators to pass configuration parameters to their
25258 pluggable transports. Resolves ticket 8929.
25259 - The config (torrc) file now accepts bandwidth and space limits in
25260 bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
25261 you can now say "16 kilobits", and so on.) Resolves ticket 9214.
25264 o Minor features (build):
25265 - Add support for `--library-versions` flag. Implements ticket 6384.
25266 - Return the "unexpected sendme" warnings to a warn severity, but make
25267 them rate limited, to help diagnose ticket 8093.
25268 - Detect a missing asciidoc, and warn the user about it, during
25269 configure rather than at build time. Fixes issue 6506. Patch from
25272 o Minor features (other):
25273 - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
25274 sockets in a single system call. Implements ticket 5129.
25275 - Log current accounting state (bytes sent and received + remaining
25276 time for the current accounting period) in the relay's heartbeat
25277 message. Implements ticket 5526; patch from Peter Retzlaff.
25278 - Implement the TRANSPORT_LAUNCHED control port event that
25279 notifies controllers about new launched pluggable
25280 transports. Resolves ticket 5609.
25281 - If we're using the pure-C 32-bit curve25519_donna implementation
25282 of curve25519, build it with the -fomit-frame-pointer option to
25283 make it go faster on register-starved hosts. This improves our
25284 handshake performance by about 6% on i386 hosts without nacl.
25285 Closes ticket 8109.
25286 - Update to the September 4 2013 Maxmind GeoLite Country database.
25289 - Set the listen() backlog limit to the largest actually supported
25290 on the system, not to the value in a header file. Fixes bug 9716;
25291 bugfix on every released Tor.
25292 - No longer accept malformed http headers when parsing urls from
25293 headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
25294 bugfix on 0.0.6pre1.
25295 - In munge_extrainfo_into_routerinfo(), check the return value of
25296 memchr(). This would have been a serious issue if we ever passed
25297 it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
25299 - On the chance that somebody manages to build Tor on a
25300 platform where time_t is unsigned, correct the way that
25301 microdesc_add_to_cache() handles negative time arguments.
25302 Fixes bug 8042; bugfix on 0.2.3.1-alpha.
25303 - Reject relative control socket paths and emit a warning. Previously,
25304 single-component control socket paths would be rejected, but Tor
25305 would not log why it could not validate the config. Fixes bug 9258;
25306 bugfix on 0.2.3.16-alpha.
25308 o Minor bugfixes (command line):
25309 - Use a single command-line parser for parsing torrc options on the
25310 command line and for finding special command-line options to avoid
25311 inconsistent behavior for torrc option arguments that have the same
25312 names as command-line options. Fixes bugs 4647 and 9578; bugfix on
25314 - No longer allow 'tor --hash-password' with no arguments. Fixes bug
25315 9573; bugfix on 0.0.9pre5.
25317 o Minor fixes (build, auxiliary programs):
25318 - Stop preprocessing the "torify" script with autoconf, since
25319 it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
25321 - The tor-fw-helper program now follows the standard convention and
25322 exits with status code "0" on success. Fixes bug 9030; bugfix on
25323 0.2.3.1-alpha. Patch by Arlo Breault.
25324 - Corrected ./configure advice for what openssl dev package you should
25325 install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
25327 o Minor code improvements:
25328 - Remove constants and tests for PKCS1 padding; it's insecure and
25329 shouldn't be used for anything new. Fixes bug 8792; patch
25331 - Remove instances of strcpy() from the unit tests. They weren't
25332 hurting anything, since they were only in the unit tests, but it's
25333 embarrassing to have strcpy() in the code at all, and some analysis
25334 tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
25335 0.2.3.8-alpha. Patch from Arlo Breault.
25337 o Removed features:
25338 - Remove migration code from when we renamed the "cached-routers"
25339 file to "cached-descriptors" back in 0.2.0.8-alpha. This
25340 incidentally resolves ticket 6502 by cleaning up the related code
25341 a bit. Patch from Akshay Hebbar.
25343 o Code simplification and refactoring:
25344 - Extract the common duplicated code for creating a subdirectory
25345 of the data directory and writing to a file in it. Fixes ticket
25346 4282; patch from Peter Retzlaff.
25347 - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
25348 buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
25349 i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
25350 - Add a set of accessor functions for the circuit timeout data
25351 structure. Fixes ticket 6153; patch from "piet".
25352 - Clean up exit paths from connection_listener_new(). Closes ticket
25353 8789. Patch from Arlo Breault.
25354 - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
25355 and drop our own custom pkey_eq() implementation. Fixes bug 9043.
25356 - Use a doubly-linked list to implement the global circuit list.
25357 Resolves ticket 9108. Patch from Marek Majkowski.
25358 - Remove contrib/id_to_fp.c since it wasn't used anywhere.
25361 Changes in version 0.2.4.17-rc - 2013-09-05
25362 Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
25363 series. It adds an emergency step to help us tolerate the massive
25364 influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
25365 circuit-level handshakes now effectively jump the queue compared to
25366 the 0.2.3 clients using "TAP" handshakes. This release also fixes a
25367 big bug hindering bridge reachability tests.
25370 - Relays now process the new "NTor" circuit-level handshake requests
25371 with higher priority than the old "TAP" circuit-level handshake
25372 requests. We still process some TAP requests to not totally starve
25373 0.2.3 clients when NTor becomes popular. A new consensus parameter
25374 "NumNTorsPerTAP" lets us tune the balance later if we need to.
25375 Implements ticket 9574.
25378 - If the circuit build timeout logic is disabled (via the consensus,
25379 or because we are an authority), then don't build testing circuits.
25380 Fixes bug 9657; bugfix on 0.2.2.14-alpha.
25381 - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
25382 previously they did not, which prevented them from receiving
25383 successful connections from relays for self-test or bandwidth
25384 testing. Also, when a relay is extending a circuit to a bridge,
25385 it needs to send a NETINFO cell, even when the bridge hasn't sent
25386 an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
25387 - If the time to download the next old-style networkstatus is in
25388 the future, do not decline to consider whether to download the
25389 next microdescriptor networkstatus. Fixes bug 9564; bugfix on
25393 - Avoid double-closing the listener socket in our socketpair()
25394 replacement (used on Windows) in the case where the addresses on
25395 our opened sockets don't match what we expected. Fixes bug 9400;
25396 bugfix on 0.0.2pre7. Found by Coverity.
25398 o Minor fixes (config options):
25399 - Avoid overflows when the user sets MaxCircuitDirtiness to a
25400 ridiculously high value, by imposing a (ridiculously high) 30-day
25401 maximum on MaxCircuitDirtiness.
25402 - Fix the documentation of HeartbeatPeriod to say that the heartbeat
25403 message is logged at notice, not at info.
25404 - Warn and fail if a server is configured not to advertise any
25405 ORPorts at all. (We need *something* to put in our descriptor,
25406 or we just won't work.)
25409 - Track how many "TAP" and "NTor" circuit handshake requests we get,
25410 and how many we complete, and log it every hour to help relay
25411 operators follow trends in network load. Addresses ticket 9658.
25412 - Update to the August 7 2013 Maxmind GeoLite Country database.
25415 Changes in version 0.2.4.16-rc - 2013-08-10
25416 Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
25417 series. It fixes several crash bugs in the 0.2.4 branch.
25420 - Fix a bug in the voting algorithm that could yield incorrect results
25421 when a non-naming authority declared too many flags. Fixes bug 9200;
25422 bugfix on 0.2.0.3-alpha.
25423 - Fix an uninitialized read that could in some cases lead to a remote
25424 crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
25425 Anybody running a hidden service on the experimental 0.2.4.x
25426 branch should upgrade. (This is, so far as we know, unrelated to
25428 - Avoid an assertion failure when processing DNS replies without the
25429 answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
25430 - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
25431 0.2.4.15-rc. Found by stem integration tests.
25434 - Fix an invalid memory read that occurred when a pluggable
25435 transport proxy failed its configuration protocol.
25436 Fixes bug 9288; bugfix on 0.2.4.1-alpha.
25437 - When evaluating whether to use a connection that we haven't
25438 decided is canonical using a recent link protocol version,
25439 decide that it's canonical only if it used address _does_
25440 match the desired address. Fixes bug 9309; bugfix on
25441 0.2.4.4-alpha. Reported by skruffy.
25442 - Make the default behavior of NumDirectoryGuards be to track
25443 NumEntryGuards. Now a user who changes only NumEntryGuards will get
25444 the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
25445 - Fix a spurious compilation warning with some older versions of
25446 GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
25449 - Update to the July 3 2013 Maxmind GeoLite Country database.
25452 Changes in version 0.2.4.15-rc - 2013-07-01
25453 Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
25454 series. It fixes a few smaller bugs, but generally appears stable.
25455 Please test it and let us know whether it is!
25458 - When receiving a new configuration file via the control port's
25459 LOADCONF command, do not treat the defaults file as absent.
25460 Fixes bug 9122; bugfix on 0.2.3.9-alpha.
25463 - Issue a warning when running with the bufferevents backend enabled.
25464 It's still not stable, and people should know that they're likely
25465 to hit unexpected problems. Closes ticket 9147.
25468 Changes in version 0.2.4.14-alpha - 2013-06-18
25469 Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
25470 present in 0.2.4.13-alpha.
25473 - When we have too much memory queued in circuits (according to a new
25474 MaxMemInCellQueues option), close the circuits consuming the most
25475 memory. This prevents us from running out of memory as a relay if
25476 circuits fill up faster than they can be drained. Fixes bug 9063;
25477 bugfix on the 54th commit of Tor. This bug is a further fix beyond
25478 bug 6252, whose fix was merged into 0.2.3.21-rc.
25480 This change also fixes an earlier approach taken in 0.2.4.13-alpha,
25481 where we tried to solve this issue simply by imposing an upper limit
25482 on the number of queued cells for a single circuit. That approach
25483 proved to be problematic, since there are ways to provoke clients to
25484 send a number of cells in excess of any such reasonable limit. Fixes
25485 bug 9072; bugfix on 0.2.4.13-alpha.
25487 - Limit hidden service descriptors to at most ten introduction
25488 points, to slow one kind of guard enumeration. Fixes bug 9002;
25489 bugfix on 0.1.1.11-alpha.
25492 Changes in version 0.2.4.13-alpha - 2013-06-14
25493 Tor 0.2.4.13-alpha fixes a variety of potential remote crash
25494 vulnerabilities, makes socks5 username/password circuit isolation
25495 actually actually work (this time for sure!), and cleans up a bunch
25496 of other issues in preparation for a release candidate.
25498 o Major bugfixes (robustness):
25499 - Close any circuit that has too many cells queued on it. Fixes
25500 bug 9063; bugfix on the 54th commit of Tor. This bug is a further
25501 fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
25502 - Prevent the get_freelists() function from running off the end of
25503 the list of freelists if it somehow gets an unrecognized
25504 allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
25506 - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
25507 when an exit connection with optimistic data succeeds immediately
25508 rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
25510 - Fix a directory authority crash bug when building a consensus
25511 using an older consensus as its basis. Fixes bug 8833. Bugfix
25515 - Avoid a memory leak where we would leak a consensus body when we
25516 find that a consensus which we couldn't previously verify due to
25517 missing certificates is now verifiable. Fixes bug 8719; bugfix
25519 - We used to always request authority certificates by identity digest,
25520 meaning we'd get the newest one even when we wanted one with a
25521 different signing key. Then we would complain about being given
25522 a certificate we already had, and never get the one we really
25523 wanted. Now we use the "fp-sk/" resource as well as the "fp/"
25524 resource to request the one we want. Fixes bug 5595; bugfix on
25526 - Follow the socks5 protocol when offering username/password
25527 authentication. The fix for bug 8117 exposed this bug, and it
25528 turns out real-world applications like Pidgin do care. Bugfix on
25529 0.2.3.2-alpha; fixes bug 8879.
25530 - Prevent failures on Windows Vista and later when rebuilding the
25531 microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
25532 bugfix on 0.2.4.12-alpha.
25535 - Fix an impossible buffer overrun in the AES unit tests. Fixes
25536 bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
25537 - If for some reason we fail to write a microdescriptor while
25538 rebuilding the cache, do not let the annotations from that
25539 microdescriptor linger in the cache file, and do not let the
25540 microdescriptor stay recorded as present in its old location.
25541 Fixes bug 9047; bugfix on 0.2.2.6-alpha.
25542 - Fix a memory leak that would occur whenever a configuration
25543 option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
25544 - Paste the description for PathBias parameters from the man
25545 page into or.h, so the code documents them too. Fixes bug 7982;
25546 bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
25547 - Relays now treat a changed IPv6 ORPort as sufficient reason to
25548 publish an updated descriptor. Fixes bug 6026; bugfix on
25550 - When launching a resolve request on behalf of an AF_UNIX control
25551 socket, omit the address field of the new entry connection, used in
25552 subsequent controller events, rather than letting tor_dup_addr()
25553 set it to "<unknown address type>". Fixes bug 8639; bugfix on
25556 o Minor bugfixes (log messages):
25557 - Fix a scaling issue in the path bias accounting code that
25558 resulted in "Bug:" log messages from either
25559 pathbias_scale_close_rates() or pathbias_count_build_success().
25560 This represents a bugfix on a previous bugfix: the original fix
25561 attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
25563 - Give a less useless error message when the user asks for an IPv4
25564 address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
25568 - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
25569 to tolerate bug 8093 for now.
25570 - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
25571 in directory authority votes to describe whether they have enough
25572 measured bandwidths to ignore advertised (relay descriptor)
25573 bandwidth claims. Resolves ticket 8711.
25574 - Update to the June 5 2013 Maxmind GeoLite Country database.
25576 o Removed documentation:
25577 - Remove some of the older contents of doc/ as obsolete; move others
25578 to torspec.git. Fixes bug 8965.
25580 o Code simplification and refactoring:
25581 - Avoid using character buffers when constructing most directory
25582 objects: this approach was unwieldy and error-prone. Instead,
25583 build smartlists of strings, and concatenate them when done.
25586 Changes in version 0.2.4.12-alpha - 2013-04-18
25587 Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
25588 process for lengthening the guard rotation period, makes directory
25589 authority opinions in the consensus a bit less gameable, makes socks5
25590 username/password circuit isolation actually work, and fixes a wide
25591 variety of other issues.
25594 - Raise the default time that a client keeps an entry guard from
25595 "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
25596 2012 paper. (We would make it even longer, but we need better client
25597 load balancing first.) Also, make the guard lifetime controllable
25598 via a new GuardLifetime torrc option and a GuardLifetime consensus
25599 parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
25600 - Directory authorities now prefer using measured bandwidths to
25601 advertised ones when computing flags and thresholds. Resolves
25603 - Directory authorities that have more than a threshold number
25604 of relays with measured bandwidths now treat relays with unmeasured
25605 bandwidths as having bandwidth 0. Resolves ticket 8435.
25607 o Major bugfixes (assert / resource use):
25608 - Avoid a bug where our response to TLS renegotiation under certain
25609 network conditions could lead to a busy-loop, with 100% CPU
25610 consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
25611 - Avoid an assertion when we discover that we'd like to write a cell
25612 onto a closing connection: just discard the cell. Fixes another
25613 case of bug 7350; bugfix on 0.2.4.4-alpha.
25615 o Major bugfixes (client-side privacy):
25616 - When we mark a circuit as unusable for new circuits, have it
25617 continue to be unusable for new circuits even if MaxCircuitDirtiness
25618 is increased too much at the wrong time, or the system clock jumps
25619 backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
25620 - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
25621 which have resolved to internal addresses") is set, apply that
25622 rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
25623 - When an exit relay rejects a stream with reason "exit policy", but
25624 we only know an exit policy summary (e.g. from the microdesc
25625 consensus) for it, do not mark the relay as useless for all exiting.
25626 Instead, mark just the circuit as unsuitable for that particular
25627 address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
25628 - Allow applications to get proper stream isolation with
25629 IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
25630 username/password authentication also offer "no authentication". Tor
25631 had previously preferred "no authentication", so the applications
25632 never actually sent Tor their auth details. Now Tor selects
25633 username/password authentication if it's offered. You can disable
25634 this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
25635 bug 8117; bugfix on 0.2.3.3-alpha.
25637 o Major bugfixes (other):
25638 - When unable to find any working directory nodes to use as a
25639 directory guard, give up rather than adding the same non-working
25640 nodes to the directory guard list over and over. Fixes bug 8231;
25641 bugfix on 0.2.4.8-alpha.
25644 - Reject as invalid most directory objects containing a NUL.
25645 Belt-and-suspender fix for bug 8037.
25646 - In our testsuite, create temporary directories with a bit more
25647 entropy in their name to make name collisions less likely. Fixes
25649 - Add CACHED keyword to ADDRMAP events in the control protocol
25650 to indicate whether a DNS result will be cached or not. Resolves
25652 - Update to the April 3 2013 Maxmind GeoLite Country database.
25654 o Minor features (build):
25655 - Detect and reject attempts to build Tor with threading support
25656 when OpenSSL has been compiled without threading support.
25658 - Clarify that when autoconf is checking for nacl, it is checking
25659 specifically for nacl with a fast curve25519 implementation.
25661 - Warn if building on a platform with an unsigned time_t: there
25662 are too many places where Tor currently assumes that time_t can
25663 hold negative values. We'd like to fix them all, but probably
25666 o Minor bugfixes (build):
25667 - Fix some bugs in tor-fw-helper-natpmp when trying to build and
25668 run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
25669 Fixes bug 7280; bugfix on 0.2.3.1-alpha.
25670 - Add the old src/or/micro-revision.i filename to CLEANFILES.
25671 On the off chance that somebody has one, it will go away as soon
25672 as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
25673 - Build Tor correctly on 32-bit platforms where the compiler can build
25674 but not run code using the "uint128_t" construction. Fixes bug 8587;
25675 bugfix on 0.2.4.8-alpha.
25676 - Fix compilation warning with some versions of clang that would
25677 prefer the -Wswitch-enum compiler flag to warn about switch
25678 statements with missing enum values, even if those switch
25679 statements have a "default:" statement. Fixes bug 8598; bugfix
25682 o Minor bugfixes (protocol):
25683 - Fix the handling of a TRUNCATE cell when it arrives while the
25684 circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
25685 - Fix a misframing issue when reading the version numbers in a
25686 VERSIONS cell. Previously we would recognize [00 01 00 02] as
25687 'version 1, version 2, and version 0x100', when it should have
25688 only included versions 1 and 2. Fixes bug 8059; bugfix on
25689 0.2.0.10-alpha. Reported pseudonymously.
25690 - Make the format and order of STREAM events for DNS lookups
25691 consistent among the various ways to launch DNS lookups. Fixes
25692 bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
25693 - Correct our check for which versions of Tor support the EXTEND2
25694 cell. We had been willing to send it to Tor 0.2.4.7-alpha and
25695 later, when support was really added in version 0.2.4.8-alpha.
25696 Fixes bug 8464; bugfix on 0.2.4.8-alpha.
25698 o Minor bugfixes (other):
25699 - Correctly store microdescriptors and extrainfo descriptors with
25700 an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
25701 Bug reported by "cypherpunks".
25702 - Increase the width of the field used to remember a connection's
25703 link protocol version to two bytes. Harmless for now, since the
25704 only currently recognized versions are one byte long. Reported
25705 pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
25706 - If the state file's path bias counts are invalid (presumably from a
25707 buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
25708 additional checks and log messages to the scaling of Path Bias
25709 counts, in case there still are remaining issues with scaling.
25710 Should help resolve bug 8235.
25711 - Eliminate several instances where we use "Nickname=ID" to refer to
25712 nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
25713 "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
25714 on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
25716 o Minor bugfixes (syscalls):
25717 - Always check the return values of functions fcntl() and
25718 setsockopt(). We don't believe these are ever actually failing in
25719 practice, but better safe than sorry. Also, checking these return
25720 values should please analysis tools like Coverity. Patch from
25721 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
25722 - Use direct writes rather than stdio when building microdescriptor
25723 caches, in an attempt to mitigate bug 8031, or at least make it
25726 o Minor bugfixes (config):
25727 - When rejecting a configuration because we were unable to parse a
25728 quoted string, log an actual error message. Fixes bug 7950; bugfix
25730 - Behave correctly when the user disables LearnCircuitBuildTimeout
25731 but doesn't tell us what they would like the timeout to be. Fixes
25732 bug 6304; bugfix on 0.2.2.14-alpha.
25733 - When autodetecting the number of CPUs, use the number of available
25734 CPUs in preference to the number of configured CPUs. Inform the
25735 user if this reduces the number of available CPUs. Fixes bug 8002;
25736 bugfix on 0.2.3.1-alpha.
25737 - Make it an error when you set EntryNodes but disable UseGuardNodes,
25738 since it will (surprisingly to some users) ignore EntryNodes. Fixes
25739 bug 8180; bugfix on 0.2.3.11-alpha.
25740 - Allow TestingTorNetworks to override the 4096-byte minimum for
25741 the Fast threshold. Otherwise they can't bootstrap until they've
25742 observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
25743 - Fix some logic errors when the user manually overrides the
25744 PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
25747 o Minor bugfixes (log messages to help diagnose bugs):
25748 - If we fail to free a microdescriptor because of bug 7164, log
25749 the filename and line number from which we tried to free it.
25750 - Add another diagnostic to the heartbeat message: track and log
25751 overhead that TLS is adding to the data we write. If this is
25752 high, we are sending too little data to SSL_write at a time.
25753 Diagnostic for bug 7707.
25754 - Add more detail to a log message about relaxed timeouts, to help
25756 - Warn more aggressively when flushing microdescriptors to a
25757 microdescriptor cache fails, in an attempt to mitigate bug 8031,
25758 or at least make it more diagnosable.
25759 - Improve debugging output to help track down bug 8185 ("Bug:
25760 outgoing relay cell has n_chan==NULL. Dropping.")
25761 - Log the purpose of a path-bias testing circuit correctly.
25762 Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
25764 o Minor bugfixes (0.2.4.x log messages that were too noisy):
25765 - Don't attempt to relax the timeout of already opened 1-hop circuits.
25766 They might never timeout. This should eliminate some/all cases of
25767 the relaxed timeout log message.
25768 - Use circuit creation time for network liveness evaluation. This
25769 should eliminate warning log messages about liveness caused
25770 by changes in timeout evaluation. Fixes bug 6572; bugfix on
25772 - Reduce a path bias length check from notice to info. The message
25773 is triggered when creating controller circuits. Fixes bug 8196;
25774 bugfix on 0.2.4.8-alpha.
25775 - Fix a path state issue that triggered a notice during relay startup.
25776 Fixes bug 8320; bugfix on 0.2.4.10-alpha.
25777 - Reduce occurrences of warns about circuit purpose in
25778 connection_ap_expire_building(). Fixes bug 8477; bugfix on
25781 o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
25782 - If we encounter a write failure on a SOCKS connection before we
25783 finish our SOCKS handshake, don't warn that we closed the
25784 connection before we could send a SOCKS reply. Fixes bug 8427;
25785 bugfix on 0.1.0.1-rc.
25786 - Correctly recognize that [::1] is a loopback address. Fixes
25787 bug 8377; bugfix on 0.2.1.3-alpha.
25788 - Fix a directory authority warn caused when we have a large amount
25789 of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
25790 - Don't log inappropriate heartbeat messages when hibernating: a
25791 hibernating node is _expected_ to drop out of the consensus,
25792 decide it isn't bootstrapped, and so forth. Fixes bug 7302;
25793 bugfix on 0.2.3.1-alpha.
25794 - Don't complain about bootstrapping problems while hibernating.
25795 These complaints reflect a general code problem, but not one
25796 with any problematic effects (no connections are actually
25797 opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
25799 o Documentation fixes:
25800 - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
25801 names match. Fixes bug 7768.
25802 - Make the torify manpage no longer refer to tsocks; torify hasn't
25803 supported tsocks since 0.2.3.14-alpha.
25804 - Make the tor manpage no longer reference tsocks.
25805 - Fix the GeoIPExcludeUnknown documentation to refer to
25806 ExcludeExitNodes rather than the currently nonexistent
25807 ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
25810 - The tor-tsocks.conf is no longer distributed or installed. We
25811 recommend that tsocks users use torsocks instead. Resolves
25815 Changes in version 0.2.4.11-alpha - 2013-03-11
25816 Tor 0.2.4.11-alpha makes relay measurement by directory authorities
25817 more robust, makes hidden service authentication work again, and
25818 resolves a DPI fingerprint for Tor's SSL transport.
25820 o Major features (directory authorities):
25821 - Directory authorities now support a new consensus method (17)
25822 where they cap the published bandwidth of servers for which
25823 insufficient bandwidth measurements exist. Fixes part of bug 2286.
25824 - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
25825 serve any v2 directory information. Now we can test disabling the
25826 old deprecated v2 directory format, and see whether doing so has
25827 any effect on network load. Begins to fix bug 6783.
25828 - Directory authorities now include inside each vote a statement of
25829 the performance thresholds they used when assigning flags.
25830 Implements ticket 8151.
25832 o Major bugfixes (directory authorities):
25833 - Stop marking every relay as having been down for one hour every
25834 time we restart a directory authority. These artificial downtimes
25835 were messing with our Stable and Guard flag calculations. Fixes
25836 bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
25838 o Major bugfixes (hidden services):
25839 - Allow hidden service authentication to succeed again. When we
25840 refactored the hidden service introduction code back
25841 in 0.2.4.1-alpha, we didn't update the code that checks
25842 whether authentication information is present, causing all
25843 authentication checks to return "false". Fix for bug 8207; bugfix
25844 on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
25846 o Minor features (relays, bridges):
25847 - Make bridge relays check once a minute for whether their IP
25848 address has changed, rather than only every 15 minutes. Resolves
25849 bugs 1913 and 1992.
25850 - Refactor resolve_my_address() so it returns the method by which we
25851 decided our public IP address (explicitly configured, resolved from
25852 explicit hostname, guessed from interfaces, learned by gethostname).
25853 Now we can provide more helpful log messages when a relay guesses
25854 its IP address incorrectly (e.g. due to unexpected lines in
25855 /etc/hosts). Resolves ticket 2267.
25856 - Teach bridge-using clients to avoid 0.2.2 bridges when making
25857 microdescriptor-related dir requests, and only fall back to normal
25858 descriptors if none of their bridges can handle microdescriptors
25859 (as opposed to the fix in ticket 4013, which caused them to fall
25860 back to normal descriptors if *any* of their bridges preferred
25861 them). Resolves ticket 4994.
25862 - Randomize the lifetime of our SSL link certificate, so censors can't
25863 use the static value for filtering Tor flows. Resolves ticket 8443;
25864 related to ticket 4014 which was included in 0.2.2.33.
25865 - Support a new version of the link protocol that allows 4-byte circuit
25866 IDs. Previously, circuit IDs were limited to 2 bytes, which presented
25867 a possible resource exhaustion issue. Closes ticket 7351; implements
25870 o Minor features (portability):
25871 - Tweak the curve25519-donna*.c implementations to tolerate systems
25872 that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
25873 - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
25874 the signs of types during autoconf. This is better than our old
25875 approach, which didn't work when cross-compiling.
25876 - Detect the sign of enum values, rather than assuming that MSC is the
25877 only compiler where enum types are all signed. Fixes bug 7727;
25878 bugfix on 0.2.4.10-alpha.
25880 o Minor features (other):
25881 - Say "KBytes" rather than "KB" in the man page (for various values
25882 of K), to further reduce confusion about whether Tor counts in
25883 units of memory or fractions of units of memory. Resolves ticket 7054.
25884 - Clear the high bit on curve25519 public keys before passing them to
25885 our backend, in case we ever wind up using a backend that doesn't do
25886 so itself. If we used such a backend, and *didn't* clear the high bit,
25887 we could wind up in a situation where users with such backends would
25888 be distinguishable from users without. Fixes bug 8121; bugfix on
25890 - Update to the March 6 2013 Maxmind GeoLite Country database.
25892 o Minor bugfixes (clients):
25893 - When we receive a RELAY_END cell with the reason DONE, or with no
25894 reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
25895 status as "connection refused". Previously we reported these cases
25896 as success but then immediately closed the connection. Fixes bug
25897 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
25898 - Downgrade an assertion in connection_ap_expire_beginning to an
25899 LD_BUG message. The fix for bug 8024 should prevent this message
25900 from displaying, but just in case, a warn that we can diagnose
25901 is better than more assert crashes. Fixes bug 8065; bugfix on
25903 - Lower path use bias thresholds to .80 for notice and .60 for warn.
25904 Also make the rate limiting flags for the path use bias log messages
25905 independent from the original path bias flags. Fixes bug 8161;
25906 bugfix on 0.2.4.10-alpha.
25908 o Minor bugfixes (relays):
25909 - Stop trying to resolve our hostname so often (e.g. every time we
25910 think about doing a directory fetch). Now we reuse the cached
25911 answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
25912 and 2410 (bugfix on 0.1.2.2-alpha).
25913 - Stop sending a stray "(null)" in some cases for the server status
25914 "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
25916 - When choosing which stream on a formerly stalled circuit to wake
25917 first, make better use of the platform's weak RNG. Previously,
25918 we had been using the % ("modulo") operator to try to generate a
25919 1/N chance of picking each stream, but this behaves badly with
25920 many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
25922 - Use our own weak RNG when we need a weak RNG. Windows's rand() and
25923 Irix's random() only return 15 bits; Solaris's random() returns more
25924 bits but its RAND_MAX says it only returns 15, and so on. Motivated
25925 by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
25927 o Minor bugfixes (directory authorities):
25928 - Directory authorities now use less space when formatting identical
25929 microdescriptor lines in directory votes. Fixes bug 8158; bugfix
25932 o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
25933 - Avoid leaking memory if we fail to compute a consensus signature
25934 or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
25935 - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
25937 - Fix a memory leak during safe-cookie controller authentication.
25938 Bugfix on 0.2.3.13-alpha.
25939 - Avoid memory leak of IPv6 policy content if we fail to format it into
25940 a router descriptor. Bugfix on 0.2.4.7-alpha.
25942 o Minor bugfixes (other code correctness issues):
25943 - Avoid a crash if we fail to generate an extrainfo descriptor.
25944 Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
25945 this is CID 718634.
25946 - When detecting the largest possible file descriptor (in order to
25947 close all file descriptors when launching a new program), actually
25948 use _SC_OPEN_MAX. The old code for doing this was very, very broken.
25949 Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
25951 - Fix a copy-and-paste error when adding a missing A1 to a routerset
25952 because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
25953 Bugfix on 0.2.4.10-alpha.
25954 - Fix an impossible-to-trigger integer overflow when estimating how
25955 long our onionskin queue would take. (This overflow would require us
25956 to accept 4 million onionskins before processing 100 of them.) Fixes
25957 bug 8210; bugfix on 0.2.4.10-alpha.
25959 o Code simplification and refactoring:
25960 - Add a wrapper function for the common "log a message with a
25964 Changes in version 0.2.4.10-alpha - 2013-02-04
25965 Tor 0.2.4.10-alpha adds defenses at the directory authority level from
25966 certain attacks that flood the network with relays; changes the queue
25967 for circuit create requests from a sized-based limit to a time-based
25968 limit; resumes building with MSVC on Windows; and fixes a wide variety
25971 o Major bugfixes (directory authority):
25972 - When computing directory thresholds, ignore any rejected-as-sybil
25973 nodes during the computation so that they can't influence Fast,
25974 Guard, etc. (We should have done this for proposal 109.) Fixes
25976 - When marking a node as a likely sybil, reset its uptime metrics
25977 to zero, so that it cannot time towards getting marked as Guard,
25978 Stable, or HSDir. (We should have done this for proposal 109.) Fixes
25982 - When a TLS write is partially successful but incomplete, remember
25983 that the flushed part has been flushed, and notice that bytes were
25984 actually written. Reported and fixed pseudonymously. Fixes bug
25985 7708; bugfix on Tor 0.1.0.5-rc.
25986 - Reject bogus create and relay cells with 0 circuit ID or 0 stream
25987 ID: these could be used to create unexpected streams and circuits
25988 which would count as "present" to some parts of Tor but "absent"
25989 to others, leading to zombie circuits and streams or to a bandwidth
25990 denial-of-service. Fixes bug 7889; bugfix on every released version
25991 of Tor. Reported by "oftc_must_be_destroyed".
25992 - Rename all macros in our local copy of queue.h to begin with "TOR_".
25993 This change seems the only good way to permanently prevent conflicts
25994 with queue.h on various operating systems. Fixes bug 8107; bugfix
25997 o Major features (relay):
25998 - Instead of limiting the number of queued onionskins (aka circuit
25999 create requests) to a fixed, hard-to-configure number, we limit
26000 the size of the queue based on how many we expect to be able to
26001 process in a given amount of time. We estimate the time it will
26002 take to process an onionskin based on average processing time
26003 of previous onionskins. Closes ticket 7291. You'll never have to
26004 configure MaxOnionsPending again.
26006 o Major features (portability):
26007 - Resume building correctly with MSVC and Makefile.nmake. This patch
26008 resolves numerous bugs and fixes reported by ultramage, including
26009 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
26010 - Make the ntor and curve25519 code build correctly with MSVC.
26011 Fix on 0.2.4.8-alpha.
26014 - When directory authorities are computing thresholds for flags,
26015 never let the threshold for the Fast flag fall below 4096
26016 bytes. Also, do not consider nodes with extremely low bandwidths
26017 when deciding thresholds for various directory flags. This change
26018 should raise our threshold for Fast relays, possibly in turn
26019 improving overall network performance; see ticket 1854. Resolves
26021 - The Tor client now ignores sub-domain components of a .onion
26022 address. This change makes HTTP "virtual" hosting
26023 possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
26024 http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
26025 hosted on the same hidden service. Implements proposal 204.
26026 - We compute the overhead from passing onionskins back and forth to
26027 cpuworkers, and report it when dumping statistics in response to
26028 SIGUSR1. Supports ticket 7291.
26030 o Minor features (path selection):
26031 - When deciding whether we have enough descriptors to build circuits,
26032 instead of looking at raw relay counts, look at which fraction
26033 of (bandwidth-weighted) paths we're able to build. This approach
26034 keeps clients from building circuits if their paths are likely to
26035 stand out statistically. The default fraction of paths needed is
26036 taken from the consensus directory; you can override it with the
26037 new PathsNeededToBuildCircuits option. Fixes ticket 5956.
26038 - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
26039 and we have GeoIP information, also exclude all nodes with unknown
26040 countries "??" and "A1". This behavior is controlled by the
26041 new GeoIPExcludeUnknown option: you can make such nodes always
26042 excluded with "GeoIPExcludeUnknown 1", and disable the feature
26043 with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
26044 gets you the default behavior. Implements feature 7706.
26045 - Path Use Bias: Perform separate accounting for successful circuit
26046 use. Keep separate statistics on stream attempt rates versus stream
26047 success rates for each guard. Provide configurable thresholds to
26048 determine when to emit log messages or disable use of guards that
26049 fail too many stream attempts. Resolves ticket 7802.
26051 o Minor features (log messages):
26052 - When learning a fingerprint for a bridge, log its corresponding
26053 transport type. Implements ticket 7896.
26054 - Improve the log message when "Bug/attack: unexpected sendme cell
26055 from client" occurs, to help us track bug 8093.
26058 - Remove a couple of extraneous semicolons that were upsetting the
26059 cparser library. Patch by Christian Grothoff. Fixes bug 7115;
26060 bugfix on 0.2.2.1-alpha.
26061 - Remove a source of rounding error during path bias count scaling;
26062 don't count cannibalized circuits as used for path bias until we
26063 actually try to use them; and fix a circuit_package_relay_cell()
26064 warning message about n_chan==NULL. Fixes bug 7802.
26065 - Detect nacl when its headers are in a nacl/ subdirectory. Also,
26066 actually link against nacl when we're configured to use it. Fixes
26067 bug 7972; bugfix on 0.2.4.8-alpha.
26068 - Compile correctly with the --disable-curve25519 option. Fixes
26069 bug 8153; bugfix on 0.2.4.8-alpha.
26071 o Build improvements:
26072 - Do not report status verbosely from autogen.sh unless the -v flag
26073 is specified. Fixes issue 4664. Patch from Onizuka.
26074 - Replace all calls to snprintf() outside of src/ext with
26075 tor_snprintf(). Also remove the #define to replace snprintf with
26076 _snprintf on Windows; they have different semantics, and all of
26077 our callers should be using tor_snprintf() anyway. Fixes bug 7304.
26078 - Try to detect if we are ever building on a platform where
26079 memset(...,0,...) does not set the value of a double to 0.0. Such
26080 platforms are permitted by the C standard, though in practice
26081 they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
26082 currently support them, but it's better to detect them and fail
26083 than to perform erroneously.
26085 o Removed features:
26086 - Stop exporting estimates of v2 and v3 directory traffic shares
26087 in extrainfo documents. They were unneeded and sometimes inaccurate.
26088 Also stop exporting any v2 directory request statistics. Resolves
26090 - Drop support for detecting and warning about versions of Libevent
26091 before 1.3e. Nothing reasonable ships with them any longer;
26092 warning the user about them shouldn't be needed. Resolves ticket
26095 o Code simplifications and refactoring:
26096 - Rename "isin" functions to "contains", for grammar. Resolves
26098 - Rename Tor's logging function log() to tor_log(), to avoid conflicts
26099 with the natural logarithm function from the system libm. Resolves
26103 Changes in version 0.2.4.9-alpha - 2013-01-15
26104 Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
26105 work more robustly.
26108 - Fix backward compatibility logic when receiving an embedded ntor
26109 handshake tunneled in a CREATE cell. This clears up the "Bug:
26110 couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
26114 Changes in version 0.2.4.8-alpha - 2013-01-14
26115 Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
26116 risks, adds a new stronger and faster circuit handshake, and offers
26117 stronger and faster link encryption when both sides support it.
26120 - Preliminary support for directory guards (proposal 207): when
26121 possible, clients now use their entry guards for non-anonymous
26122 directory requests. This can help prevent client enumeration. Note
26123 that this behavior only works when we have a usable consensus
26124 directory, and when options about what to download are more or less
26125 standard. In the future we should re-bootstrap from our guards,
26126 rather than re-bootstrapping from the preconfigured list of
26127 directory sources that ships with Tor. Resolves ticket 6526.
26128 - Tor relays and clients now support a better CREATE/EXTEND cell
26129 format, allowing the sender to specify multiple address, identity,
26130 and handshake types. Implements Robert Ransom's proposal 200;
26131 closes ticket 7199.
26133 o Major features (new circuit handshake):
26134 - Tor now supports a new circuit extension handshake designed by Ian
26135 Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
26136 circuit extension handshake, later called "TAP", was a bit slow
26137 (especially on the relay side), had a fragile security proof, and
26138 used weaker keys than we'd now prefer. The new circuit handshake
26139 uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
26140 function, making it significantly more secure than the older
26141 handshake, and significantly faster. Tor can use one of two built-in
26142 pure-C curve25519-donna implementations by Adam Langley, or it
26143 can link against the "nacl" library for a tuned version if present.
26145 The built-in version is very fast for 64-bit systems when building
26146 with GCC. The built-in 32-bit version is still faster than the
26147 old TAP protocol, but using libnacl is better on most such hosts.
26149 Clients don't currently use this protocol by default, since
26150 comparatively few clients support it so far. To try it, set
26151 UseNTorHandshake to 1.
26153 Implements proposal 216; closes ticket 7202.
26155 o Major features (better link encryption):
26156 - Relays can now enable the ECDHE TLS ciphersuites when available
26157 and appropriate. These ciphersuites let us negotiate forward-secure
26158 TLS secret keys more safely and more efficiently than with our
26159 previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
26160 public relays prefer the (faster) P224 group, and bridges prefer
26161 the (more common) P256 group; you can override this with the
26164 Enabling these ciphers was a little tricky, since for a long time,
26165 clients had been claiming to support them without actually doing
26166 so, in order to foil fingerprinting. But with the client-side
26167 implementation of proposal 198 in 0.2.3.17-beta, clients can now
26168 match the ciphers from recent Firefox versions *and* list the
26169 ciphers they actually mean, so relays can believe such clients
26170 when they advertise ECDHE support in their TLS ClientHello messages.
26172 This feature requires clients running 0.2.3.17-beta or later,
26173 and requires both sides to be running OpenSSL 1.0.0 or later
26174 with ECC support. OpenSSL 1.0.1, with the compile-time option
26175 "enable-ec_nistp_64_gcc_128", is highly recommended.
26177 Implements the relay side of proposal 198; closes ticket 7200.
26180 - Avoid crashing when, as a relay without IPv6-exit support, a
26181 client insists on getting an IPv6 address or nothing. Fixes bug
26182 7814; bugfix on 0.2.4.7-alpha.
26185 - Improve circuit build timeout handling for hidden services.
26186 In particular: adjust build timeouts more accurately depending
26187 upon the number of hop-RTTs that a particular circuit type
26188 undergoes. Additionally, launch intro circuits in parallel
26189 if they timeout, and take the first one to reply as valid.
26190 - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
26191 separate error codes; or at least, don't break for that reason.
26192 Fixes bug 7935. Reported by "oftc_must_be_destroyed".
26193 - Update to the January 2 2013 Maxmind GeoLite Country database.
26195 o Minor features (testing):
26196 - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
26197 (P-256) Diffie-Hellman handshakes to src/or/bench.
26198 - Add benchmark functions to test onion handshake performance.
26200 o Minor features (path bias detection):
26201 - Alter the Path Bias log messages to be more descriptive in terms
26202 of reporting timeouts and other statistics.
26203 - Create three levels of Path Bias log messages, as opposed to just
26204 two. These are configurable via consensus as well as via the torrc
26205 options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
26206 The default values are 0.70, 0.50, and 0.30 respectively.
26207 - Separate the log message levels from the decision to drop guards,
26208 which also is available via torrc option PathBiasDropGuards.
26209 PathBiasDropGuards still defaults to 0 (off).
26210 - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
26211 in combination with PathBiasExtremeRate.
26212 - Increase the default values for PathBiasScaleThreshold and
26213 PathBiasCircThreshold from (200, 20) to (300, 150).
26214 - Add in circuit usage accounting to path bias. If we try to use a
26215 built circuit but fail for any reason, it counts as path bias.
26216 Certain classes of circuits where the adversary gets to pick your
26217 destination node are exempt from this accounting. Usage accounting
26218 can be specifically disabled via consensus parameter or torrc.
26219 - Convert all internal path bias state to double-precision floating
26220 point, to avoid roundoff error and other issues.
26221 - Only record path bias information for circuits that have completed
26222 *two* hops. Assuming end-to-end tagging is the attack vector, this
26223 makes us more resilient to ambient circuit failure without any
26224 detection capability loss.
26226 o Minor bugfixes (log messages):
26227 - Rate-limit the "No circuits are opened. Relaxed timeout for a
26228 circuit with channel state open..." message to once per hour to
26229 keep it from filling the notice logs. Mitigates bug 7799 but does
26230 not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
26231 - Avoid spurious warnings when configuring multiple client ports of
26232 which only some are nonlocal. Previously, we had claimed that some
26233 were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
26236 o Code simplifications and refactoring:
26237 - Get rid of a couple of harmless clang warnings, where we compared
26238 enums to ints. These warnings are newly introduced in clang 3.2.
26239 - Split the onion.c file into separate modules for the onion queue
26240 and the different handshakes it supports.
26241 - Remove the marshalling/unmarshalling code for sending requests to
26242 cpuworkers over a socket, and instead just send structs. The
26243 recipient will always be the same Tor binary as the sender, so
26244 any encoding is overkill.
26247 Changes in version 0.2.4.7-alpha - 2012-12-24
26248 Tor 0.2.4.7-alpha introduces a new approach to providing fallback
26249 directory mirrors for more robust bootstrapping; fixes more issues where
26250 clients with changing network conditions refuse to make any circuits;
26251 adds initial support for exiting to IPv6 addresses; resumes being able
26252 to update our GeoIP database, and includes the geoip6 file this time;
26253 turns off the client-side DNS cache by default due to privacy risks;
26254 and fixes a variety of other issues.
26256 o Major features (client resilience):
26257 - Add a new "FallbackDir" torrc option to use when we can't use
26258 a directory mirror from the consensus (either because we lack a
26259 consensus, or because they're all down). Currently, all authorities
26260 are fallbacks by default, and there are no other default fallbacks,
26261 but that will change. This option will allow us to give clients a
26262 longer list of servers to try to get a consensus from when first
26263 connecting to the Tor network, and thereby reduce load on the
26264 directory authorities. Implements proposal 206, "Preconfigured
26265 directory sources for bootstrapping". We also removed the old
26266 "FallbackNetworkstatus" option, since we never got it working well
26267 enough to use it. Closes bug 572.
26268 - If we have no circuits open, use a relaxed timeout (the
26269 95-percentile cutoff) until a circuit succeeds. This heuristic
26270 should allow Tor to succeed at building circuits even when the
26271 network connection drastically changes. Should help with bug 3443.
26273 o Major features (IPv6):
26274 - Relays can now exit to IPv6 addresses: make sure that you have IPv6
26275 connectivity, then set the IPv6Exit flag to 1. Also make sure your
26276 exit policy reads as you would like: the address * applies to all
26277 address families, whereas *4 is IPv4 address only, and *6 is IPv6
26278 addresses only. On the client side, you'll need to wait until the
26279 authorities have upgraded, wait for enough exits to support IPv6,
26280 apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
26281 ticket 5547, implements proposal 117 as revised in proposal 208.
26283 We DO NOT recommend that clients with actual anonymity needs start
26284 using IPv6 over Tor yet, since not enough exits support it yet.
26286 o Major features (geoip database):
26287 - Maxmind began labelling Tor relays as being in country "A1",
26288 which breaks by-country node selection inside Tor. Now we use a
26289 script to replace "A1" ("Anonymous Proxy") entries in our geoip
26290 file with real country codes. This script fixes about 90% of "A1"
26291 entries automatically and uses manual country code assignments to
26292 fix the remaining 10%. See src/config/README.geoip for details.
26293 Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
26294 Country database, as modified above.
26296 o Major bugfixes (client-side DNS):
26297 - Turn off the client-side DNS cache by default. Updating and using
26298 the DNS cache is now configurable on a per-client-port
26299 level. SOCKSPort, DNSPort, etc lines may now contain
26300 {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
26301 cache these types of DNS answers when we receive them from an
26302 exit node in response to an application request on this port, and
26303 {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
26304 cached DNS answers of these types, we shouldn't use them. It's
26305 potentially risky to use cached DNS answers at the client, since
26306 doing so can indicate to one exit what answers we've gotten
26307 for DNS lookups in the past. With IPv6, this becomes especially
26308 problematic. Using cached DNS answers for requests on the same
26309 circuit would present less linkability risk, since all traffic
26310 on a circuit is already linkable, but it would also provide
26311 little performance benefit: the exit node caches DNS replies
26312 too. Implements a simplified version of Proposal 205. Implements
26315 o Major bugfixes (other):
26316 - Alter circuit build timeout measurement to start at the point
26317 where we begin the CREATE/CREATE_FAST step (as opposed to circuit
26318 initialization). This should make our timeout measurements more
26319 uniform. Previously, we were sometimes including ORconn setup time
26320 in our circuit build time measurements. Should resolve bug 3443.
26321 - Fix an assertion that could trigger in hibernate_go_dormant() when
26322 closing an or_connection_t: call channel_mark_for_close() rather
26323 than connection_mark_for_close(). Fixes bug 7267. Bugfix on
26325 - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
26326 7655; bugfix on 0.2.4.6-alpha.
26329 - Add a new torrc option "ServerTransportListenAddr" to let bridge
26330 operators select the address where their pluggable transports will
26331 listen for connections. Resolves ticket 7013.
26332 - Allow an optional $ before the node identity digest in the
26333 controller command GETINFO ns/id/<identity>, for consistency with
26334 md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
26335 - Log packaged cell fullness as part of the heartbeat message.
26336 Diagnosis to try to determine the extent of bug 7743.
26338 o Minor features (IPv6):
26339 - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
26340 prefer to hand out virtual IPv6 addresses, since there are more of
26341 them and we can't run out. To override this behavior and make IPv4
26342 addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
26343 or DNSPort you're using for resolving. Implements ticket 7571.
26344 - AutomapHostsOnResolve responses are now randomized, to avoid
26345 annoying situations where Tor is restarted and applications
26346 connect to the wrong addresses.
26347 - Never try more than 1000 times to pick a new virtual address when
26348 AutomapHostsOnResolve is set. That's good enough so long as we
26349 aren't close to handing out our entire virtual address space;
26350 if you're getting there, it's best to switch to IPv6 virtual
26354 - The ADDRMAP command can no longer generate an ill-formed error
26355 code on a failed MAPADDRESS. It now says "internal" rather than
26356 an English sentence fragment with spaces in the middle. Bugfix on
26357 Tor 0.2.0.19-alpha.
26358 - Fix log messages and comments to avoid saying "GMT" when we mean
26359 "UTC". Fixes bug 6113.
26360 - Compile on win64 using mingw64. Fixes bug 7260; patches from
26362 - Fix a crash when debugging unit tests on Windows: deallocate a
26363 shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
26364 bugfix on 0.2.2.17-alpha. Reported by "ultramage".
26367 - The DirServer option is now DirAuthority, for consistency with
26368 current naming patterns. You can still use the old DirServer form.
26370 o Code simplification and refactoring:
26371 - Move the client-side address-map/virtual-address/DNS-cache code
26372 out of connection_edge.c into a new addressmap.c module.
26373 - Remove unused code for parsing v1 directories and "running routers"
26374 documents. Fixes bug 6887.
26377 Changes in version 0.2.3.25 - 2012-11-19
26378 The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
26379 Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
26380 Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
26381 programmer, and friend. Unstinting in his dedication to the cause of
26382 freedom, he inspired and helped many of us as we began our work on
26383 anonymity, and inspires us still. Please honor his memory by writing
26384 software to protect people's freedoms, and by helping others to do so.
26386 Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
26387 significantly reduced directory overhead (via microdescriptors),
26388 enormous crypto performance improvements for fast relays on new
26389 enough hardware, a new v3 TLS handshake protocol that can better
26390 resist fingerprinting, support for protocol obfuscation plugins (aka
26391 pluggable transports), better scalability for hidden services, IPv6
26392 support for bridges, performance improvements like allowing clients
26393 to skip the first round-trip on the circuit ("optimistic data") and
26394 refilling token buckets more often, a new "stream isolation" design
26395 to isolate different applications on different circuits, and many
26396 stability, security, and privacy fixes.
26399 - Tor tries to wipe potentially sensitive data after using it, so
26400 that if some subsequent security failure exposes Tor's memory,
26401 the damage will be limited. But we had a bug where the compiler
26402 was eliminating these wipe operations when it decided that the
26403 memory was no longer visible to a (correctly running) program,
26404 hence defeating our attempt at defense in depth. We fix that
26405 by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
26406 is unlikely to optimize away. Future versions of Tor may use
26407 a less ridiculously heavy approach for this. Fixes bug 7352.
26408 Reported in an article by Andrey Karpov.
26411 - Fix a harmless bug when opting against publishing a relay descriptor
26412 because DisableNetwork is set. Fixes bug 7464; bugfix on
26416 Changes in version 0.2.4.6-alpha - 2012-11-13
26417 Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
26418 makes our defense-in-depth memory wiping more reliable, and begins to
26419 count IPv6 addresses in bridge statistics,
26422 - Fix an assertion failure that could occur when closing a connection
26423 with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
26425 - Tor tries to wipe potentially sensitive data after using it, so
26426 that if some subsequent security failure exposes Tor's memory,
26427 the damage will be limited. But we had a bug where the compiler
26428 was eliminating these wipe operations when it decided that the
26429 memory was no longer visible to a (correctly running) program,
26430 hence defeating our attempt at defense in depth. We fix that
26431 by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
26432 is unlikely to optimize away. Future versions of Tor may use
26433 a less ridiculously heavy approach for this. Fixes bug 7352.
26434 Reported in an article by Andrey Karpov.
26437 - Add GeoIP database for IPv6 addresses. The new config option
26439 - Bridge statistics now count bridge clients connecting over IPv6:
26440 bridge statistics files now list "bridge-ip-versions" and
26441 extra-info documents list "geoip6-db-digest". The control protocol
26442 "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
26443 implementation by "shkoo", addressing ticket 5055.
26446 - Warn when we are binding low ports when hibernation is enabled;
26447 previously we had warned when we were _advertising_ low ports with
26448 hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
26449 - Fix a harmless bug when opting against publishing a relay descriptor
26450 because DisableNetwork is set. Fixes bug 7464; bugfix on
26452 - Add warning message when a managed proxy dies during configuration.
26453 Fixes bug 7195; bugfix on 0.2.4.2-alpha.
26454 - Fix a linking error when building tor-fw-helper without miniupnp.
26455 Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
26456 - Check for closing an or_connection_t without going through correct
26457 channel functions; emit a warning and then call
26458 connection_or_close_for_error() so we don't assert as in bugs 7212
26460 - Compile correctly on compilers without C99 designated initializer
26461 support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
26462 - Avoid a possible assert that can occur when channel_send_destroy() is
26463 called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
26464 or CHANNEL_STATE_ERROR when the Tor process is resumed after being
26465 blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
26466 - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
26467 Fixes bug 7422; bugfix on 0.2.4.4-alpha.
26469 o Code simplification and refactoring:
26470 - Start using OpenBSD's implementation of queue.h, so that we don't
26471 need to hand-roll our own pointer and list structures whenever we
26472 need them. (We can't rely on a sys/queue.h, since some operating
26473 systems don't have them, and the ones that do have them don't all
26474 present the same extensions.)
26477 Changes in version 0.2.4.5-alpha - 2012-10-25
26478 Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
26479 two important security vulnerabilities that could lead to remotely
26480 triggerable relay crashes, fix a major bug that was preventing clients
26481 from choosing suitable exit nodes, and refactor some of our code.
26483 o Major bugfixes (security, also in 0.2.3.24-rc):
26484 - Fix a group of remotely triggerable assertion failures related to
26485 incorrect link protocol negotiation. Found, diagnosed, and fixed
26486 by "some guy from France". Fix for CVE-2012-2250; bugfix on
26488 - Fix a denial of service attack by which any directory authority
26489 could crash all the others, or by which a single v2 directory
26490 authority could crash everybody downloading v2 directory
26491 information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
26493 o Major bugfixes (also in 0.2.3.24-rc):
26494 - When parsing exit policy summaries from microdescriptors, we had
26495 previously been ignoring the last character in each one, so that
26496 "accept 80,443,8080" would be treated by clients as indicating
26497 a node that allows access to ports 80, 443, and 808. That would
26498 lead to clients attempting connections that could never work,
26499 and ignoring exit nodes that would support their connections. Now
26500 clients parse these exit policy summaries correctly. Fixes bug 7192;
26501 bugfix on 0.2.3.1-alpha.
26503 o Minor bugfixes (also in 0.2.3.24-rc):
26504 - Clients now consider the ClientRejectInternalAddresses config option
26505 when using a microdescriptor consensus stanza to decide whether
26506 an exit relay would allow exiting to an internal address. Fixes
26507 bug 7190; bugfix on 0.2.3.1-alpha.
26510 - Only disable TLS session ticket support when running as a TLS
26511 server. Now clients will blend better with regular Firefox
26512 connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
26514 o Code simplification and refactoring:
26515 - Start using OpenBSD's implementation of queue.h (originally by
26517 - Move the entry node code from circuitbuild.c to its own file.
26518 - Move the circuit build timeout tracking code from circuitbuild.c
26522 Changes in version 0.2.3.24-rc - 2012-10-25
26523 Tor 0.2.3.24-rc fixes two important security vulnerabilities that
26524 could lead to remotely triggerable relay crashes, and fixes
26525 a major bug that was preventing clients from choosing suitable exit
26528 o Major bugfixes (security):
26529 - Fix a group of remotely triggerable assertion failures related to
26530 incorrect link protocol negotiation. Found, diagnosed, and fixed
26531 by "some guy from France". Fix for CVE-2012-2250; bugfix on
26533 - Fix a denial of service attack by which any directory authority
26534 could crash all the others, or by which a single v2 directory
26535 authority could crash everybody downloading v2 directory
26536 information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
26539 - When parsing exit policy summaries from microdescriptors, we had
26540 previously been ignoring the last character in each one, so that
26541 "accept 80,443,8080" would be treated by clients as indicating
26542 a node that allows access to ports 80, 443, and 808. That would
26543 lead to clients attempting connections that could never work,
26544 and ignoring exit nodes that would support their connections. Now
26545 clients parse these exit policy summaries correctly. Fixes bug 7192;
26546 bugfix on 0.2.3.1-alpha.
26549 - Clients now consider the ClientRejectInternalAddresses config option
26550 when using a microdescriptor consensus stanza to decide whether
26551 an exit relay would allow exiting to an internal address. Fixes
26552 bug 7190; bugfix on 0.2.3.1-alpha.
26555 Changes in version 0.2.4.4-alpha - 2012-10-20
26556 Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
26557 vulnerability introduced by a change in OpenSSL, fixes a remotely
26558 triggerable assert, and adds new channel_t and circuitmux_t abstractions
26559 that will make it easier to test new connection transport and cell
26560 scheduling algorithms.
26562 o New directory authorities (also in 0.2.3.23-rc):
26563 - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
26564 authority. Closes ticket 5749.
26566 o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
26567 - Disable TLS session tickets. OpenSSL's implementation was giving
26568 our TLS session keys the lifetime of our TLS context objects, when
26569 perfect forward secrecy would want us to discard anything that
26570 could decrypt a link connection as soon as the link connection
26571 was closed. Fixes bug 7139; bugfix on all versions of Tor linked
26572 against OpenSSL 1.0.0 or later. Found by Florent Daignière.
26573 - Discard extraneous renegotiation attempts once the V3 link
26574 protocol has been initiated. Failure to do so left us open to
26575 a remotely triggerable assertion failure. Fixes CVE-2012-2249;
26576 bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
26578 o Internal abstraction features:
26579 - Introduce new channel_t abstraction between circuits and
26580 or_connection_t to allow for implementing alternate OR-to-OR
26581 transports. A channel_t is an abstract object which can either be a
26582 cell-bearing channel, which is responsible for authenticating and
26583 handshaking with the remote OR and transmitting cells to and from
26584 it, or a listening channel, which spawns new cell-bearing channels
26585 at the request of remote ORs. Implements part of ticket 6465.
26586 - Also new is the channel_tls_t subclass of channel_t, adapting it
26587 to the existing or_connection_t code. The V2/V3 protocol handshaking
26588 code which formerly resided in command.c has been moved below the
26589 channel_t abstraction layer and may be found in channeltls.c now.
26590 Implements the rest of ticket 6465.
26591 - Introduce new circuitmux_t storing the queue of circuits for
26592 a channel; this encapsulates and abstracts the queue logic and
26593 circuit selection policy, and allows the latter to be overridden
26594 easily by switching out a policy object. The existing EWMA behavior
26595 is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
26597 o Required libraries:
26598 - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
26599 strongly recommended.
26602 - Warn users who run hidden services on a Tor client with
26603 UseEntryGuards disabled that their hidden services will be
26604 vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
26605 attack which motivated Tor to support entry guards in the first
26606 place). Resolves ticket 6889.
26607 - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
26608 dhill. Resolves ticket 6982.
26609 - Option OutboundBindAddress can be specified multiple times and
26610 accepts IPv6 addresses. Resolves ticket 6876.
26612 o Minor bugfixes (also in 0.2.3.23-rc):
26613 - Don't serve or accept v2 hidden service descriptors over a
26614 relay's DirPort. It's never correct to do so, and disabling it
26615 might make it more annoying to exploit any bugs that turn up in the
26616 descriptor-parsing code. Fixes bug 7149.
26617 - Fix two cases in src/or/transports.c where we were calling
26618 fmt_addr() twice in a parameter list. Bug found by David
26619 Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
26620 - Fix memory leaks whenever we logged any message about the "path
26621 bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
26622 - When relays refuse a "create" cell because their queue of pending
26623 create cells is too big (typically because their cpu can't keep up
26624 with the arrival rate), send back reason "resource limit" rather
26625 than reason "internal", so network measurement scripts can get a
26626 more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
26629 - Command-line option "--version" implies "--quiet". Fixes bug 6997.
26630 - Free some more still-in-use memory at exit, to make hunting for
26631 memory leaks easier. Resolves bug 7029.
26632 - When a Tor client gets a "truncated" relay cell, the first byte of
26633 its payload specifies why the circuit was truncated. We were
26634 ignoring this 'reason' byte when tearing down the circuit, resulting
26635 in the controller not being told why the circuit closed. Now we
26636 pass the reason from the truncated cell to the controller. Bugfix
26637 on 0.1.2.3-alpha; fixes bug 7039.
26638 - Downgrade "Failed to hand off onionskin" messages to "debug"
26639 severity, since they're typically redundant with the "Your computer
26640 is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
26641 - Make clients running with IPv6 bridges connect over IPv6 again,
26642 even without setting new config options ClientUseIPv6 and
26643 ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
26644 - Use square brackets around IPv6 addresses in numerous places
26645 that needed them, including log messages, HTTPS CONNECT proxy
26646 requests, TransportProxy statefile entries, and pluggable transport
26647 extra-info lines. Fixes bug 7011; patch by David Fifield.
26649 o Code refactoring and cleanup:
26650 - Source files taken from other packages now reside in src/ext;
26651 previously they were scattered around the rest of Tor.
26652 - Avoid use of reserved identifiers in our C code. The C standard
26653 doesn't like us declaring anything that starts with an
26654 underscore, so let's knock it off before we get in trouble. Fix
26655 for bug 1031; bugfix on the first Tor commit.
26658 Changes in version 0.2.3.23-rc - 2012-10-20
26659 Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
26660 vulnerability introduced by a change in OpenSSL, and fixes a variety
26661 of smaller bugs in preparation for the release.
26663 o New directory authorities:
26664 - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
26665 authority. Closes ticket 5749.
26667 o Major bugfixes (security/privacy):
26668 - Disable TLS session tickets. OpenSSL's implementation was giving
26669 our TLS session keys the lifetime of our TLS context objects, when
26670 perfect forward secrecy would want us to discard anything that
26671 could decrypt a link connection as soon as the link connection
26672 was closed. Fixes bug 7139; bugfix on all versions of Tor linked
26673 against OpenSSL 1.0.0 or later. Found by Florent Daignière.
26674 - Discard extraneous renegotiation attempts once the V3 link
26675 protocol has been initiated. Failure to do so left us open to
26676 a remotely triggerable assertion failure. Fixes CVE-2012-2249;
26677 bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
26680 - Fix a possible crash bug when checking for deactivated circuits
26681 in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
26682 bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
26684 o Minor bugfixes (on 0.2.3.x):
26685 - Fix two cases in src/or/transports.c where we were calling
26686 fmt_addr() twice in a parameter list. Bug found by David
26687 Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
26688 - Convert an assert in the pathbias code to a log message. The assert
26689 appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
26690 bugfix on 0.2.3.17-beta.
26691 - Fix memory leaks whenever we logged any message about the "path
26692 bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
26694 o Minor bugfixes (on 0.2.2.x and earlier):
26695 - Don't serve or accept v2 hidden service descriptors over a relay's
26696 DirPort. It's never correct to do so, and disabling it might
26697 make it more annoying to exploit any bugs that turn up in the
26698 descriptor-parsing code. Fixes bug 7149.
26699 - When relays refuse a "create" cell because their queue of pending
26700 create cells is too big (typically because their cpu can't keep up
26701 with the arrival rate), send back reason "resource limit" rather
26702 than reason "internal", so network measurement scripts can get a
26703 more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
26704 - Correct file sizes when reading binary files on Cygwin, to avoid
26705 a bug where Tor would fail to read its state file. Fixes bug 6844;
26706 bugfix on 0.1.2.7-alpha.
26707 - Avoid undefined behavior when parsing the list of supported
26708 rendezvous/introduction protocols in a hidden service descriptor.
26709 Previously, Tor would have confused (as-yet-unused) protocol version
26710 numbers greater than 32 with lower ones on many platforms. Fixes
26711 bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
26713 o Documentation fixes:
26714 - Clarify that hidden services are TCP only. Fixes bug 6024.
26717 Changes in version 0.2.4.3-alpha - 2012-09-22
26718 Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
26719 assertion, resumes letting relays test reachability of their DirPort,
26720 and cleans up a bunch of smaller bugs.
26723 - Fix an assertion failure in tor_timegm() that could be triggered
26724 by a badly formatted directory object. Bug found by fuzzing with
26725 Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
26728 - Fix a possible crash bug when checking for deactivated circuits
26729 in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
26730 bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
26731 - Allow routers to detect that their own DirPorts are running. When
26732 we removed support for versions_supports_begindir, we also
26733 accidentally removed the mechanism we used to self-test our
26734 DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
26735 bugfix on 0.2.4.2-alpha.
26737 o Security features:
26738 - Switch to a completely time-invariant approach for picking nodes
26739 weighted by bandwidth. Our old approach would run through the
26740 part of the loop after it had made its choice slightly slower
26741 than it ran through the part of the loop before it had made its
26742 choice. Addresses ticket 6538.
26743 - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
26744 by tor2web clients allows hidden services to identify tor2web
26745 clients through their repeated selection of the same rendezvous
26746 and introduction point circuit endpoints (their guards). Resolves
26750 - Enable Tor to read configuration, state, and key information from
26751 a FIFO. Previously Tor would only read from files with a positive
26752 stat.st_size. Code from meejah; fixes bug 6044.
26755 - Correct file sizes when reading binary files on Cygwin, to avoid
26756 a bug where Tor would fail to read its state file. Fixes bug 6844;
26757 bugfix on 0.1.2.7-alpha.
26758 - Correctly handle votes with more than 31 flags. Fixes bug 6853;
26759 bugfix on 0.2.0.3-alpha.
26760 - When complaining about a client port on a public address, log
26761 which address we're complaining about. Fixes bug 4020; bugfix on
26762 0.2.3.3-alpha. Patch by Tom Fitzhenry.
26763 - Convert an assert in the pathbias code to a log message. The assert
26764 appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
26765 bugfix on 0.2.3.17-beta.
26766 - Our new buildsystem was overzealous about rebuilding manpages: it
26767 would rebuild them all whenever any one of them changed. Now our
26768 dependency checking should be correct. Fixes bug 6843; bugfix on
26770 - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
26771 is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
26772 - Correct log printout about which address family is preferred
26773 when connecting to a bridge with both an IPv4 and IPv6 OR port.
26774 Fixes bug 6884; bugfix on 0.2.4.1-alpha.
26776 o Minor bugfixes (code cleanliness):
26777 - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
26778 with large values. This situation was untriggered, but nevertheless
26779 incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
26780 - Reject consensus votes with more than 64 known-flags. We aren't even
26781 close to that limit yet, and our code doesn't handle it correctly.
26782 Fixes bug 6833; bugfix on 0.2.0.1-alpha.
26783 - Avoid undefined behavior when parsing the list of supported
26784 rendezvous/introduction protocols in a hidden service descriptor.
26785 Previously, Tor would have confused (as-yet-unused) protocol version
26786 numbers greater than 32 with lower ones on many platforms. Fixes
26787 bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
26788 - Fix handling of rendezvous client authorization types over 8.
26789 Fixes bug 6861; bugfix on 0.2.1.5-alpha.
26790 - Fix building with older versions of GCC (2.95, for one) that don't
26791 like preprocessor directives inside macro arguments. Found by
26792 grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
26793 - Switch weighted node selection rule from using a list of doubles
26794 to using a list of int64_t. This change should make the process
26795 slightly easier to debug and maintain. Needed to finish ticket 6538.
26797 o Code simplification and refactoring:
26798 - Move the generic "config" code into a new file, and have "config.c"
26799 hold only torrc- and state-related code. Resolves ticket 6823.
26800 - Move the core of our "choose a weighted element at random" logic
26801 into its own function, and give it unit tests. Now the logic is
26802 testable, and a little less fragile too.
26803 - Removed the testing_since field of node_t, which hasn't been used
26804 for anything since 0.2.0.9-alpha.
26806 o Documentation fixes:
26807 - Clarify that hidden services are TCP only. Fixes bug 6024.
26808 - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
26812 Changes in version 0.2.3.22-rc - 2012-09-11
26813 Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
26817 - Fix an assertion failure in tor_timegm() that could be triggered
26818 by a badly formatted directory object. Bug found by fuzzing with
26819 Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
26822 - Avoid segfault when starting up having run with an extremely old
26823 version of Tor and parsing its state file. Fixes bug 6801; bugfix
26827 Changes in version 0.2.2.39 - 2012-09-11
26828 Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
26832 - Fix an assertion failure in tor_timegm() that could be triggered
26833 by a badly formatted directory object. Bug found by fuzzing with
26834 Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
26835 - Do not crash when comparing an address with port value 0 to an
26836 address policy. This bug could have been used to cause a remote
26837 assertion failure by or against directory authorities, or to
26838 allow some applications to crash clients. Fixes bug 6690; bugfix
26842 Changes in version 0.2.4.2-alpha - 2012-09-10
26843 Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
26844 raises the default rate limiting even more, and makes the bootstrapping
26845 log messages less noisy.
26848 - Automatically forward the TCP ports of pluggable transport
26849 proxies using tor-fw-helper if PortForwarding is enabled. Implements
26853 - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
26854 to 1GB/1GB. The previous defaults were intended to be "basically
26855 infinite", but it turns out they're now limiting our 100mbit+
26856 relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
26857 last time we raised it).
26860 - Detect when we're running with a version of OpenSSL other than the
26861 one we compiled with. This has occasionally given people hard-to-
26863 - Log fewer lines at level "notice" about our OpenSSL and Libevent
26864 versions and capabilities when everything is going right. Resolves
26865 part of ticket 6736.
26866 - Directory authorities no long accept descriptors for any version of
26867 Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
26868 These versions are insecure, unsupported, or both. Implements
26872 - Rename the (internal-use-only) UsingTestingNetworkDefaults option
26873 to start with a triple-underscore so the controller won't touch it.
26874 Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
26875 - Avoid segfault when starting up having run with an extremely old
26876 version of Tor and parsing its state file. Fixes bug 6801; bugfix
26878 - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
26879 so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
26880 - Don't follow the NULL pointer if microdescriptor generation fails.
26881 (This does not appear to be triggerable, but it's best to be safe.)
26882 Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
26883 - Fix mis-declared dependencies on src/common/crypto.c and
26884 src/or/tor_main.c that could break out-of-tree builds under some
26885 circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
26886 - Avoid a warning when building common_sha1.i out of tree. Fixes bug
26887 6778; bugfix on 0.2.4.1-alpha.
26888 - Fix a harmless (in this case) build warning for implicitly
26889 converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
26891 o Removed features:
26892 - Now that all versions before 0.2.2.x are disallowed, we no longer
26893 need to work around their missing features. Thus we can remove a
26894 bunch of compatibility code.
26896 o Code refactoring:
26897 - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
26898 TCP ports to forward. In the past it only accepted two ports:
26899 the ORPort and the DirPort.
26902 Changes in version 0.2.4.1-alpha - 2012-09-05
26903 Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
26904 bridgedb; lets relays use IPv6 addresses and directory authorities
26905 advertise them; and switches to a cleaner build interface.
26907 This is the first alpha release in a new series, so expect there to
26908 be bugs. Users who would rather test out a more stable branch should
26909 stay with 0.2.3.x for now.
26911 o Major features (bridges):
26912 - Bridges now report the pluggable transports they support to the
26913 bridge authority, so it can pass the supported transports on to
26914 bridgedb and/or eventually do reachability testing. Implements
26917 o Major features (IPv6):
26918 - Bridge authorities now accept IPv6 bridge addresses and include
26919 them in network status documents. Implements ticket 5534.
26920 - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
26921 IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
26922 to happen. Implements ticket 5535.
26923 - All kind of relays, not just bridges, can now advertise an IPv6
26924 OR port. Implements ticket 6362.
26925 - Directory authorities vote on IPv6 OR ports using the new consensus
26926 method 14. Implements ticket 6363.
26928 o Major features (build):
26929 - Switch to a nonrecursive Makefile structure. Now instead of each
26930 Makefile.am invoking other Makefile.am's, there is a master
26931 Makefile.am that includes the others. This change makes our build
26932 process slightly more maintainable, and improves parallelism for
26933 building with make -j. Original patch by Stewart Smith; various
26934 fixes by Jim Meyering.
26935 - Where available, we now use automake's "silent" make rules by
26936 default, so that warnings are easier to spot. You can get the old
26937 behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
26939 o Minor features (code security and spec conformance):
26940 - Clear keys and key-derived material left on the stack in
26941 rendservice.c and rendclient.c. Check return value of
26942 crypto_pk_write_private_key_to_string() in rend_service_load_keys().
26943 These fixes should make us more forward-secure against cold-boot
26944 attacks and the like. Fixes bug 2385.
26945 - Reject EXTEND cells sent to nonexistent streams. According to the
26946 spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
26947 we were only checking for stream IDs that were currently in use.
26948 Found while hunting for more instances of bug 6271. Bugfix on
26949 0.0.2pre8, which introduced incremental circuit construction.
26951 o Minor features (streamlining);
26952 - No longer include the "opt" prefix when generating routerinfos
26953 or v2 directories: it has been needless since Tor 0.1.2. Closes
26955 - Remove some now-needless code that tried to aggressively flush
26956 OR connections as data was added to them. Since 0.2.0.1-alpha, our
26957 cell queue logic has saved us from the failure mode that this code
26958 was supposed to prevent. Removing this code will limit the number
26959 of baroque control flow paths through Tor's network logic. Reported
26960 pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
26962 o Minor features (controller):
26963 - Add a "GETINFO signal/names" control port command. Implements
26965 - Provide default values for all options via "GETINFO config/defaults".
26966 Implements ticket 4971.
26968 o Minor features (IPv6):
26969 - New config option "AuthDirHasIPv6Connectivity 1" that directory
26970 authorities should set if they have IPv6 connectivity and want to
26971 do reachability tests for IPv6 relays. Implements feature 5974.
26972 - A relay with an IPv6 OR port now sends that address in NETINFO
26973 cells (in addition to its other address). Implements ticket 6364.
26975 o Minor features (log messages):
26976 - Omit the first heartbeat log message, because it never has anything
26977 useful to say, and it clutters up the bootstrapping messages.
26978 Resolves ticket 6758.
26979 - Don't log about reloading the microdescriptor cache at startup. Our
26980 bootstrap warnings are supposed to tell the user when there's a
26981 problem, and our bootstrap notices say when there isn't. Resolves
26982 ticket 6759; bugfix on 0.2.2.6-alpha.
26983 - Don't log "I learned some more directory information" when we're
26984 reading cached directory information. Reserve it for when new
26985 directory information arrives in response to a fetch. Resolves
26987 - Prevent rounding error in path bias counts when scaling
26988 them down, and use the correct scale factor default. Also demote
26989 some path bias related log messages down a level and make others
26990 less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
26991 - We no longer warn so much when generating manpages from their
26994 o Code simplifications and refactoring:
26995 - Enhance our internal sscanf replacement so that we can eliminate
26996 the last remaining uses of the system sscanf. (Though those uses
26997 of sscanf were safe, sscanf itself is generally error prone, so
26998 we want to eliminate when we can.) Fixes ticket 4195 and Coverity
27000 - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
27001 - Move last_reachable and testing_since from routerinfo_t to node_t.
27002 Implements ticket 5529.
27003 - Add replaycache_t structure, functions and unit tests, then refactor
27004 rend_service_introduce() to be more clear to read, improve, debug,
27005 and test. Resolves bug 6177.
27006 - Finally remove support for malloc_good_size and malloc_usable_size.
27007 We had hoped that these functions would let us eke a little more
27008 memory out of our malloc implementation. Unfortunately, the only
27009 implementations that provided these functions are also ones that
27010 are already efficient about not overallocation: they never got us
27011 more than 7 or so bytes per allocation. Removing them saves us a
27012 little code complexity and a nontrivial amount of build complexity.
27014 o New requirements:
27015 - Tor maintainers now require Automake version 1.9 or later to build
27016 Tor from the Git repository. (Automake is not required when building
27017 from a source distribution.)
27020 Changes in version 0.2.3.21-rc - 2012-09-05
27021 Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
27022 series. It fixes a trio of potential security bugs, fixes a bug where
27023 we were leaving some of the fast relays out of the microdescriptor
27024 consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
27025 and cleans up other smaller issues.
27027 o Major bugfixes (security):
27028 - Tear down the circuit if we get an unexpected SENDME cell. Clients
27029 could use this trick to make their circuits receive cells faster
27030 than our flow control would have allowed, or to gum up the network,
27031 or possibly to do targeted memory denial-of-service attacks on
27032 entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
27033 from July 2002, before the release of Tor 0.0.0. We had committed
27034 this patch previously, but we had to revert it because of bug 6271.
27035 Now that 6271 is fixed, this patch appears to work.
27036 - Reject any attempt to extend to an internal address. Without
27037 this fix, a router could be used to probe addresses on an internal
27038 network to see whether they were accepting connections. Fixes bug
27039 6710; bugfix on 0.0.8pre1.
27040 - Do not crash when comparing an address with port value 0 to an
27041 address policy. This bug could have been used to cause a remote
27042 assertion failure by or against directory authorities, or to
27043 allow some applications to crash clients. Fixes bug 6690; bugfix
27047 - Remove the upper bound on microdescriptor length. We were hitting
27048 the limit for routers with complex exit policies or family
27049 declarations, causing clients to not use them. Fixes the first
27050 piece of bug 6404; fix on 0.2.2.6-alpha.
27051 - Detect "ORPort 0" as meaning, uniformly, that we're not running
27052 as a relay. Previously, some of our code would treat the presence
27053 of any ORPort line as meaning that we should act like a relay,
27054 even though our new listener code would correctly not open any
27055 ORPorts for ORPort 0. Similar bugs in other Port options are also
27056 fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
27059 - Avoid a pair of double-free and use-after-mark bugs that can
27060 occur with certain timings in canceled and re-received DNS
27061 requests. Fixes bug 6472; bugfix on 0.0.7rc1.
27062 - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
27063 Fixes bug 6379. Bugfix on 0.2.0.20-rc.
27064 - Allow one-hop directory fetching circuits the full "circuit build
27065 timeout" period, rather than just half of it, before failing them
27066 and marking the relay down. This fix should help reduce cases where
27067 clients declare relays (or worse, bridges) unreachable because
27068 the TLS handshake takes a few seconds to complete. Fixes bug 6743;
27069 bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
27071 - Authorities no longer include any router in their microdescriptor
27072 consensuses for which they couldn't generate or agree on a
27073 microdescriptor. Fixes the second piece of bug 6404; fix on
27075 - Detect and reject attempts to specify both "FooPort" and
27076 "FooPort 0" in the same configuration domain. (It's still okay
27077 to have a FooPort in your configuration file, and use "FooPort 0"
27078 on the command line to disable it.) Fixes the second half of bug
27079 6507; bugfix on 0.2.3.3-alpha.
27080 - Make wildcarded addresses (that is, ones beginning with "*.") work
27081 when provided via the controller's MapAddress command. Previously,
27082 they were accepted, but we never actually noticed that they were
27083 wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
27084 - Avoid crashing on a malformed state file where EntryGuardPathBias
27085 precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
27086 - Add a (probably redundant) memory clear between iterations of
27087 the router status voting loop, to prevent future coding errors
27088 where data might leak between iterations of the loop. Resolves
27091 o Minor bugfixes (log messages):
27092 - Downgrade "set buildtimeout to low value" messages to "info"
27093 severity; they were never an actual problem, there was never
27094 anything reasonable to do about them, and they tended to spam logs
27095 from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
27096 - Downgrade path-bias warning messages to "info". We'll try to get
27097 them working better in 0.2.4. Add internal circuit construction
27098 state to protect against the noisy warn message "Unexpectedly high
27099 circuit_successes". Also add some additional rate-limited notice
27100 messages to help determine the root cause of the warn. Fixes bug
27101 6475. Bugfix against 0.2.3.17-beta.
27102 - Move log message when unable to find a microdesc in a routerstatus
27103 entry to parse time. Previously we'd spam this warning every time
27104 we tried to figure out which microdescriptors to download. Fixes
27105 the third piece of bug 6404; fix on 0.2.3.18-rc.
27108 - Consider new, removed or changed IPv6 OR ports a non-cosmetic
27109 change when the authority is deciding whether to accept a newly
27110 uploaded descriptor. Implements ticket 6423.
27111 - Add missing documentation for consensus and microdesc files.
27112 Resolves ticket 6732.
27115 Changes in version 0.2.2.38 - 2012-08-12
27116 Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
27117 attack that could in theory leak path information.
27120 - Avoid an uninitialized memory read when reading a vote or consensus
27121 document that has an unrecognized flavor name. This read could
27122 lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
27123 - Try to leak less information about what relays a client is
27124 choosing to a side-channel attacker. Previously, a Tor client would
27125 stop iterating through the list of available relays as soon as it
27126 had chosen one, thus finishing a little earlier when it picked
27127 a router earlier in the list. If an attacker can recover this
27128 timing information (nontrivial but not proven to be impossible),
27129 they could learn some coarse-grained information about which relays
27130 a client was picking (middle nodes in particular are likelier to
27131 be affected than exits). The timing attack might be mitigated by
27132 other factors (see bug 6537 for some discussion), but it's best
27133 not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
27136 Changes in version 0.2.3.20-rc - 2012-08-05
27137 Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
27138 series. It fixes a pair of code security bugs and a potential anonymity
27139 issue, updates our RPM spec files, and cleans up other smaller issues.
27142 - Avoid read-from-freed-memory and double-free bugs that could occur
27143 when a DNS request fails while launching it. Fixes bug 6480;
27144 bugfix on 0.2.0.1-alpha.
27145 - Avoid an uninitialized memory read when reading a vote or consensus
27146 document that has an unrecognized flavor name. This read could
27147 lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
27148 - Try to leak less information about what relays a client is
27149 choosing to a side-channel attacker. Previously, a Tor client would
27150 stop iterating through the list of available relays as soon as it
27151 had chosen one, thus finishing a little earlier when it picked
27152 a router earlier in the list. If an attacker can recover this
27153 timing information (nontrivial but not proven to be impossible),
27154 they could learn some coarse-grained information about which relays
27155 a client was picking (middle nodes in particular are likelier to
27156 be affected than exits). The timing attack might be mitigated by
27157 other factors (see bug 6537 for some discussion), but it's best
27158 not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
27161 - Try to make the warning when giving an obsolete SOCKSListenAddress
27162 a little more useful.
27163 - Terminate active server managed proxies if Tor stops being a
27164 relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
27165 - Provide a better error message about possible OSX Asciidoc failure
27166 reasons. Fixes bug 6436.
27167 - Warn when Tor is configured to use accounting in a way that can
27168 link a hidden service to some other hidden service or public
27169 address. Resolves ticket 6490.
27172 - Check return value of fputs() when writing authority certificate
27173 file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
27174 - Ignore ServerTransportPlugin lines when Tor is not configured as
27175 a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
27176 - When disabling guards for having too high a proportion of failed
27177 circuits, make sure to look at each guard. Fixes bug 6397; bugfix
27181 - Update our default RPM spec files to work with mock and rpmbuild
27182 on RHEL/Fedora. They have an updated set of dependencies and
27183 conflicts, a fix for an ancient typo when creating the "_tor"
27184 user, and better instructions. Thanks to Ondrej Mikle for the
27185 patch series. Fixes bug 6043.
27188 - Make it possible to set the TestingTorNetwork configuration
27189 option using AlternateDirAuthority and AlternateBridgeAuthority
27190 as an alternative to setting DirServer. Addresses ticket 6377.
27193 - Clarify the documentation for the Alternate*Authority options.
27195 - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
27197 o Code simplification and refactoring:
27198 - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
27199 10 lines. Also, don't nest them. Doing so in the past has
27200 led to hard-to-debug code. The new style is to use the
27201 SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
27204 Changes in version 0.2.3.19-rc - 2012-07-06
27205 Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
27206 series. It fixes the compile on Windows, reverts to a GeoIP database
27207 that isn't as broken, and fixes a flow control bug that has been around
27208 since the beginning of Tor.
27211 - Fix a bug handling SENDME cells on nonexistent streams that could
27212 result in bizarre window values. Report and patch contributed
27213 pseudonymously. Fixes part of bug 6271. This bug was introduced
27214 before the first Tor release, in svn commit r152.
27215 - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
27216 June 2012 database, Maxmind marked many Tor relays as country "A1",
27217 which will cause risky behavior for clients that set EntryNodes
27218 or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
27219 - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
27220 on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
27223 - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
27224 bugfix on 0.2.1.10-alpha.
27227 Changes in version 0.2.3.18-rc - 2012-06-28
27228 Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
27229 series. It fixes a few smaller bugs, but generally appears stable.
27230 Please test it and let us know whether it is!
27233 - Allow wildcarded mapaddress targets to be specified on the
27234 controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
27235 - Make our linker option detection code more robust against linkers
27236 such as on FreeBSD 8, where a bad combination of options completes
27237 successfully but makes an unrunnable binary. Fixes bug 6173;
27238 bugfix on 0.2.3.17-beta.
27240 o Minor bugfixes (on 0.2.2.x and earlier):
27241 - Avoid a false positive in the util/threads unit test by increasing
27242 the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
27243 - Replace "Sending publish request" log messages with "Launching
27244 upload", so that they no longer confusingly imply that we're
27245 sending something to a directory we might not even be connected
27246 to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
27247 - Make sure to set *socket_error in all error cases in
27248 connection_connect(), so it can't produce a warning about
27249 errno being zero from errno_to_orconn_end_reason(). Bugfix on
27250 0.2.1.1-alpha; resolves ticket 6028.
27251 - Downgrade "Got a certificate, but we already have it" log messages
27252 from warning to info, except when we're a dirauth. Fixes bug 5238;
27253 bugfix on 0.2.1.7-alpha.
27254 - When checking for requested signatures on the latest consensus
27255 before serving it to a client, make sure to check the right
27256 consensus flavor. Bugfix on 0.2.2.6-alpha.
27257 - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
27258 Fixes bug 5932; bugfix on 0.2.2.7-alpha.
27260 o Minor bugfixes (on 0.2.3.x):
27261 - Make format_helper_exit_status() avoid unnecessary space padding
27262 and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
27264 - Downgrade a message about cleaning the microdescriptor cache to
27265 "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
27266 - Log a BUG message at severity INFO if we have a networkstatus with
27267 a missing entry for some microdescriptor. Continues on a patch
27269 - Improve the log message when a managed proxy fails to launch. Fixes
27270 bug 5099; bugfix on 0.2.3.6-alpha.
27271 - Don't do DNS lookups when parsing corrupted managed proxy protocol
27272 messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
27273 - When formatting wildcarded address mappings for the controller,
27274 be sure to include "*." as appropriate. Partially fixes bug 6244;
27275 bugfix on 0.2.3.9-alpha.
27276 - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
27277 Bugfix on 0.2.3.13-alpha.
27278 - Stop logging messages about running with circuit timeout learning
27279 enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
27280 - Disable a spurious warning about reading on a marked and flushing
27281 connection. We shouldn't be doing that, but apparently we
27282 sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
27283 - Fix a bug that stopped AllowDotExit from working on addresses
27284 that had an entry in the DNS cache. Fixes bug 6211; bugfix on
27287 o Code simplification, refactoring, unit tests:
27288 - Move tor_gettimeofday_cached() into compat_libevent.c, and use
27289 Libevent's notion of cached time when possible.
27290 - Remove duplicate code for invoking getrlimit() from control.c.
27291 - Add a unit test for the environment_variable_names_equal function.
27294 - Document the --defaults-torrc option, and the new (in 0.2.3)
27295 semantics for overriding, extending, and clearing lists of
27296 options. Closes bug 4748.
27299 Changes in version 0.2.3.17-beta - 2012-06-15
27300 Tor 0.2.3.17-beta enables compiler and linker hardening by default,
27301 gets our TLS handshake back on track for being able to blend in with
27302 Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
27303 with Vidalia, and otherwise continues to get us closer to a release
27307 - Enable gcc and ld hardening by default. Resolves ticket 5210.
27308 - Update TLS cipher list to match Firefox 8 and later. Resolves
27310 - Implement the client side of proposal 198: remove support for
27311 clients falsely claiming to support standard ciphersuites that
27312 they can actually provide. As of modern OpenSSL versions, it's not
27313 necessary to fake any standard ciphersuite, and doing so prevents
27314 us from using better ciphersuites in the future, since servers
27315 can't know whether an advertised ciphersuite is really supported or
27316 not. Some hosts -- notably, ones with very old versions of OpenSSL
27317 or where OpenSSL has been built with ECC disabled -- will stand
27318 out because of this change; TBB users should not be affected.
27321 - Change the default value for DynamicDHGroups (introduced in
27322 0.2.3.9-alpha) to 0. This feature can make Tor relays less
27323 identifiable by their use of the mod_ssl DH group, but at
27324 the cost of some usability (#4721) and bridge tracing (#6087)
27325 regressions. Resolves ticket 5598.
27326 - Send a CRLF at the end of each STATUS_* control protocol event. This
27327 bug tickled a bug in Vidalia which would make it freeze. Fixes
27328 bug 6094; bugfix on 0.2.3.16-alpha.
27331 - Disable writing on marked-for-close connections when they are
27332 blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
27333 bug 5263; bugfix on 0.0.2pre13, where we first added a special
27334 case for flushing marked connections.
27335 - Detect SSL handshake even when the initial attempt to write the
27336 server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
27337 - Change the AllowDotExit rules so they should actually work.
27338 We now enforce AllowDotExit only immediately after receiving an
27339 address via SOCKS or DNSPort: other sources are free to provide
27340 .exit addresses after the resolution occurs. Fixes bug 3940;
27341 bugfix on 0.2.2.1-alpha.
27342 - Fix a (harmless) integer overflow in cell statistics reported by
27343 some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
27344 - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
27345 right places and never depends on the consensus parameters or
27346 computes adaptive timeouts when it is disabled. Fixes bug 5049;
27347 bugfix on 0.2.2.14-alpha.
27348 - When building Tor on Windows with -DUNICODE (not default), ensure
27349 that error messages, filenames, and DNS server names are always
27350 NUL-terminated when we convert them to a single-byte encoding.
27351 Fixes bug 5909; bugfix on 0.2.2.16-alpha.
27352 - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
27353 Fixes bug 6097; bugfix on 0.2.2.16-alpha.
27354 - Fix an edge case where TestingTorNetwork is set but the authorities
27355 and relays all have an uptime of zero, where the private Tor network
27356 could briefly lack support for hidden services. Fixes bug 3886;
27357 bugfix on 0.2.2.18-alpha.
27358 - Correct the manpage's descriptions for the default values of
27359 DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
27361 - Fix the documentation for the --hush and --quiet command line
27362 options, which changed their behavior back in 0.2.3.3-alpha.
27363 - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
27367 - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
27368 more information to it, so that we can track it down in case it
27369 returns again. Mitigates bug 5235.
27370 - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
27371 options_validate(); warn if LearnCircuitBuildTimeout is disabled and
27372 CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
27373 - Warn the user when HTTPProxy, but no other proxy type, is
27374 configured. This can cause surprising behavior: it doesn't send
27375 all of Tor's traffic over the HTTPProxy -- it sends unencrypted
27376 directory traffic only. Resolves ticket 4663.
27377 - Issue a notice if a guard completes less than 40% of your circuits.
27378 Threshold is configurable by torrc option PathBiasNoticeRate and
27379 consensus parameter pb_noticepct. There is additional, off-by-
27380 default code to disable guards which fail too many circuits.
27381 Addresses ticket 5458.
27382 - Update to the June 6 2012 Maxmind GeoLite Country database.
27384 o Code simplifications and refactoring:
27385 - Remove validate_pluggable_transports_config(): its warning
27386 message is now handled by connection_or_connect().
27389 Changes in version 0.2.2.37 - 2012-06-06
27390 Tor 0.2.2.37 introduces a workaround for a critical renegotiation
27391 bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
27395 - Work around a bug in OpenSSL that broke renegotiation with TLS
27396 1.1 and TLS 1.2. Without this workaround, all attempts to speak
27397 the v2 Tor connection protocol when both sides were using OpenSSL
27398 1.0.1 would fail. Resolves ticket 6033.
27399 - When waiting for a client to renegotiate, don't allow it to add
27400 any bytes to the input buffer. This fixes a potential DoS issue.
27401 Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
27402 - Fix an edge case where if we fetch or publish a hidden service
27403 descriptor, we might build a 4-hop circuit and then use that circuit
27404 for exiting afterwards -- even if the new last hop doesn't obey our
27405 ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
27408 - Fix a build warning with Clang 3.1 related to our use of vasprintf.
27409 Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
27412 - Tell GCC and Clang to check for any errors in format strings passed
27413 to the tor_v*(print|scan)f functions.
27416 Changes in version 0.2.3.16-alpha - 2012-06-05
27417 Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
27418 bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
27419 currently). It also fixes a variety of smaller bugs and other cleanups
27420 that get us closer to a release candidate.
27422 o Major bugfixes (general):
27423 - Work around a bug in OpenSSL that broke renegotiation with TLS
27424 1.1 and TLS 1.2. Without this workaround, all attempts to speak
27425 the v2 Tor connection protocol when both sides were using OpenSSL
27426 1.0.1 would fail. Resolves ticket 6033.
27427 - When waiting for a client to renegotiate, don't allow it to add
27428 any bytes to the input buffer. This fixes a potential DoS issue.
27429 Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
27430 - Pass correct OR address to managed proxies (like obfsproxy),
27431 even when ORListenAddress is used. Fixes bug 4865; bugfix on
27433 - The advertised platform of a router now includes only its operating
27434 system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
27435 service pack level (for Windows) or its CPU architecture (for Unix).
27436 We also no longer include the "git-XYZ" tag in the version. Resolves
27439 o Major bugfixes (clients):
27440 - If we are unable to find any exit that supports our predicted ports,
27441 stop calling them predicted, so that we don't loop and build
27442 hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
27443 which introduced predicted ports.
27444 - Fix an edge case where if we fetch or publish a hidden service
27445 descriptor, we might build a 4-hop circuit and then use that circuit
27446 for exiting afterwards -- even if the new last hop doesn't obey our
27447 ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
27448 - Check at each new consensus whether our entry guards were picked
27449 long enough ago that we should rotate them. Previously, we only
27450 did this check at startup, which could lead to us holding a guard
27451 indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
27452 - When fetching a bridge descriptor from a bridge authority,
27453 always do so anonymously, whether we have been able to open
27454 circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
27455 This behavior makes it *safer* to use UpdateBridgesFromAuthority,
27456 but we'll need to wait for bug 6010 before it's actually usable.
27458 o Major bugfixes (directory authorities):
27459 - When computing weight parameters, behave more robustly in the
27460 presence of a bad bwweightscale value. Previously, the authorities
27461 would crash if they agreed on a sufficiently broken weight_scale
27462 value: now, they use a reasonable default and carry on. Partial
27463 fix for 5786; bugfix on 0.2.2.17-alpha.
27464 - Check more thoroughly to prevent a rogue authority from
27465 double-voting on any consensus directory parameter. Previously,
27466 authorities would crash in this case if the total number of
27467 votes for any parameter exceeded the number of active voters,
27468 but would let it pass otherwise. Partial fix for bug 5786; bugfix
27472 - Rate-limit log messages when asked to connect anonymously to
27473 a private address. When these hit, they tended to hit fast and
27474 often. Also, don't bother trying to connect to addresses that we
27475 are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
27476 reply makes us think we have been lied to, even when the address the
27477 client tried to connect to was "localhost." Resolves ticket 2822.
27478 - Allow packagers to insert an extra string in server descriptor
27479 platform lines by setting the preprocessor variable TOR_BUILD_TAG.
27480 Resolves the rest of ticket 2988.
27481 - Raise the threshold of server descriptors needed (75%) and exit
27482 server descriptors needed (50%) before we will declare ourselves
27483 bootstrapped. This will make clients start building circuits a
27484 little later, but makes the initially constructed circuits less
27485 skewed and less in conflict with further directory fetches. Fixes
27487 - Close any connection that sends unrecognized junk before the
27488 handshake. Solves an issue noted in bug 4369.
27489 - Improve log messages about managed transports. Resolves ticket 5070.
27490 - Tag a bridge's descriptor as "never to be sent unencrypted".
27491 This shouldn't matter, since bridges don't open non-anonymous
27492 connections to the bridge authority and don't allow unencrypted
27493 directory connections from clients, but we might as well make
27494 sure. Closes bug 5139.
27495 - Expose our view of whether we have gone dormant to the controller,
27496 via a new "GETINFO dormant" value. Torbutton and other controllers
27497 can use this to avoid doing periodic requests through Tor while
27498 it's dormant (bug 4718). Fixes bug 5954.
27499 - Tell GCC and Clang to check for any errors in format strings passed
27500 to the tor_v*(print|scan)f functions.
27501 - Update to the May 1 2012 Maxmind GeoLite Country database.
27503 o Minor bugfixes (already included in 0.2.2.36):
27504 - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
27505 Fixes bug 5346; bugfix on 0.0.8pre3.
27506 - Correct parsing of certain date types in parse_http_time().
27507 Without this patch, If-Modified-Since would behave
27508 incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
27509 Esteban Manchado Velázques.
27510 - Make our number-parsing functions always treat too-large values
27511 as an error, even when those values exceed the width of the
27512 underlying type. Previously, if the caller provided these
27513 functions with minima or maxima set to the extreme values of the
27514 underlying integer type, these functions would return those
27515 values on overflow rather than treating overflow as an error.
27516 Fixes part of bug 5786; bugfix on 0.0.9.
27517 - If we hit the error case where routerlist_insert() replaces an
27518 existing (old) server descriptor, make sure to remove that
27519 server descriptor from the old_routers list. Fix related to bug
27520 1776. Bugfix on 0.2.2.18-alpha.
27521 - Clarify the behavior of MaxCircuitDirtiness with hidden service
27522 circuits. Fixes issue 5259.
27524 o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
27525 - Prevent a null-pointer dereference when receiving a data cell
27526 for a nonexistent stream when the circuit in question has an
27527 empty deliver window. We don't believe this is triggerable,
27528 since we don't currently allow deliver windows to become empty,
27529 but the logic is tricky enough that it's better to make the code
27530 robust. Fixes bug 5541; bugfix on 0.0.2pre14.
27531 - Fix a memory leak when trying to launch a DNS request when the
27532 network is disabled or the nameservers are unconfigurable. Fixes
27533 bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
27534 nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
27535 - Don't hold a Windows file handle open for every file mapping;
27536 the file mapping handle is sufficient. Fixes bug 5951; bugfix on
27538 - Avoid O(n^2) performance characteristics when parsing a large
27539 extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
27540 - Format more doubles with %f, not %lf. Patch from grarpamp to make
27541 Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
27543 - Make our replacement implementation of strtok_r() compatible with
27544 the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
27545 bugfix on 0.2.2.1-alpha.
27546 - Fix a NULL-pointer dereference on a badly formed
27547 SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
27548 bugfix on 0.2.2.9-alpha.
27549 - Fix a build warning with Clang 3.1 related to our use of vasprintf.
27550 Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
27551 - Defensively refactor rend_mid_rendezvous() so that protocol
27552 violations and length checks happen in the beginning. Fixes
27554 - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
27555 that IPv6 stuff will compile on MSVC, and compilation issues
27556 will be easier to track down. Fixes bug 5861.
27558 o Minor bugfixes (correctness, on 0.2.2.x and earlier):
27559 - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
27560 resource exhaustion, so that clients can adjust their load to
27561 try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
27562 started using END_STREAM_REASON_RESOURCELIMIT.
27563 - Don't check for whether the address we're using for outbound
27564 connections has changed until after the outbound connection has
27565 completed. On Windows, getsockname() doesn't succeed until the
27566 connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
27567 - If the configuration tries to set MyFamily on a bridge, refuse to
27568 do so, and warn about the security implications. Fixes bug 4657;
27569 bugfix on 0.2.0.3-alpha.
27570 - If the client fails to set a reasonable set of ciphersuites
27571 during its v2 handshake renegotiation, allow the renegotiation to
27572 continue nevertheless (i.e. send all the required certificates).
27573 Fixes bug 4591; bugfix on 0.2.0.20-rc.
27574 - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
27575 option is set to 0 (which Vidalia version 0.2.16 now does when
27576 a SAVECONF attempt fails), perform other actions that SIGHUP
27577 usually causes (like reopening the logs). Fixes bug 5095; bugfix
27579 - If we fail to write a microdescriptor to the disk cache, do not
27580 continue replacing the old microdescriptor file. Fixes bug 2954;
27581 bugfix on 0.2.2.6-alpha.
27582 - Exit nodes don't need to fetch certificates for authorities that
27583 they don't recognize; only directory authorities, bridges,
27584 and caches need to do that. Fixes part of bug 2297; bugfix on
27586 - Correctly handle checking the permissions on the parent
27587 directory of a control socket in the root directory. Bug found
27588 by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
27590 - When told to add a bridge with the same digest as a preexisting
27591 bridge but a different addr:port, change the addr:port as
27592 requested. Previously we would not notice the change. Fixes half
27593 of bug 5603; fix on 0.2.2.26-beta.
27594 - End AUTHCHALLENGE error messages (in the control protocol) with
27595 a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
27597 o Minor bugfixes (on 0.2.3.x):
27598 - Turn an assertion (that the number of handshakes received as a
27599 server is not < 1) into a warning. Fixes bug 4873; bugfix on
27601 - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
27602 we had reversed them when the answer was cached.) Fixes bug
27603 5723; bugfix on 0.2.3.1-alpha.
27604 - Work correctly on Linux systems with accept4 support advertised in
27605 their headers, but without accept4 support in the kernel. Fix
27606 by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
27607 - When told to add a bridge with the same addr:port as a preexisting
27608 bridge but a different transport, change the transport as
27609 requested. Previously we would not notice the change. Fixes half
27610 of bug 5603; fix on 0.2.3.2-alpha.
27611 - Avoid a "double-reply" warning when replying to a SOCKS request
27612 with a parse error. Patch from Fabian Keil. Fixes bug 4108;
27613 bugfix on 0.2.3.4-alpha.
27614 - Fix a bug where a bridge authority crashes if it has seen no
27615 directory requests when it's time to write statistics to disk.
27616 Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
27618 - Don't try to open non-control listeners when DisableNetwork is set.
27619 Previously, we'd open all listeners, then immediately close them.
27620 Fixes bug 5604; bugfix on 0.2.3.9-alpha.
27621 - Don't abort the managed proxy protocol if the managed proxy
27622 sends us an unrecognized line; ignore it instead. Fixes bug
27623 5910; bugfix on 0.2.3.9-alpha.
27624 - Fix a compile warning in crypto.c when compiling with clang 3.1.
27625 Fixes bug 5969, bugfix on 0.2.3.9-alpha.
27626 - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
27627 Fixes bug 5355; bugfix on 0.2.3.11-alpha.
27628 - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
27629 unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
27630 - Resolve numerous small warnings and build issues with MSVC. Resolves
27633 o Documentation fixes:
27634 - Improve the manual's documentation for the NT Service command-line
27635 options. Addresses ticket 3964.
27636 - Clarify SessionGroup documentation slightly; resolves ticket 5437.
27637 - Document the changes to the ORPort and DirPort options, and the
27638 fact that {OR/Dir}ListenAddress is now unnecessary (and
27639 therefore deprecated). Resolves ticket 5597.
27642 - Remove the torrc.bridge file: we don't use it for anything, and
27643 it had become badly desynchronized from torrc.sample. Resolves
27647 Changes in version 0.2.2.36 - 2012-05-24
27648 Tor 0.2.2.36 updates the addresses for two of the eight directory
27649 authorities, fixes some potential anonymity and security issues,
27650 and fixes several crash bugs.
27652 Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
27653 known flaws, and nobody should be using them. You should upgrade. If
27654 you're using a Linux or BSD and its packages are obsolete, stop using
27655 those packages and upgrade anyway.
27657 o Directory authority changes:
27658 - Change IP address for maatuska (v3 directory authority).
27659 - Change IP address for ides (v3 directory authority), and rename
27663 - When building or running with any version of OpenSSL earlier
27664 than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
27665 versions have a bug (CVE-2011-4576) in which their block cipher
27666 padding includes uninitialized data, potentially leaking sensitive
27667 information to any peer with whom they make a SSLv3 connection. Tor
27668 does not use SSL v3 by default, but a hostile client or server
27669 could force an SSLv3 connection in order to gain information that
27670 they shouldn't have been able to get. The best solution here is to
27671 upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
27672 or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
27673 to make sure that the bug can't happen.
27674 - Never use a bridge or a controller-supplied node as an exit, even
27675 if its exit policy allows it. Found by wanoskarnet. Fixes bug
27676 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
27677 and 0.2.0.3-alpha (for bridge-purpose descriptors).
27678 - Only build circuits if we have a sufficient threshold of the total
27679 descriptors that are marked in the consensus with the "Exit"
27680 flag. This mitigates an attack proposed by wanoskarnet, in which
27681 all of a client's bridges collude to restrict the exit nodes that
27682 the client knows about. Fixes bug 5343.
27683 - Provide controllers with a safer way to implement the cookie
27684 authentication mechanism. With the old method, if another locally
27685 running program could convince a controller that it was the Tor
27686 process, then that program could trick the controller into telling
27687 it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
27688 authentication method uses a challenge-response approach to prevent
27689 this attack. Fixes bug 5185; implements proposal 193.
27692 - Avoid logging uninitialized data when unable to decode a hidden
27693 service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
27694 - Avoid a client-side assertion failure when receiving an INTRODUCE2
27695 cell on a general purpose circuit. Fixes bug 5644; bugfix on
27697 - Fix builds when the path to sed, openssl, or sha1sum contains
27698 spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
27700 - Correct our replacements for the timeradd() and timersub() functions
27701 on platforms that lack them (for example, Windows). The timersub()
27702 function is used when expiring circuits, while timeradd() is
27703 currently unused. Bug report and patch by Vektor. Fixes bug 4778;
27704 bugfix on 0.2.2.24-alpha.
27705 - Fix the SOCKET_OK test that we use to tell when socket
27706 creation fails so that it works on Win64. Fixes part of bug 4533;
27707 bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
27710 - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
27711 Fixes bug 5346; bugfix on 0.0.8pre3.
27712 - Make our number-parsing functions always treat too-large values
27713 as an error, even when those values exceed the width of the
27714 underlying type. Previously, if the caller provided these
27715 functions with minima or maxima set to the extreme values of the
27716 underlying integer type, these functions would return those
27717 values on overflow rather than treating overflow as an error.
27718 Fixes part of bug 5786; bugfix on 0.0.9.
27719 - Older Linux kernels erroneously respond to strange nmap behavior
27720 by having accept() return successfully with a zero-length
27721 socket. When this happens, just close the connection. Previously,
27722 we would try harder to learn the remote address: but there was
27723 no such remote address to learn, and our method for trying to
27724 learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
27725 on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
27726 - Correct parsing of certain date types in parse_http_time().
27727 Without this patch, If-Modified-Since would behave
27728 incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
27729 Esteban Manchado Velázques.
27730 - Change the BridgePassword feature (part of the "bridge community"
27731 design, which is not yet implemented) to use a time-independent
27732 comparison. The old behavior might have allowed an adversary
27733 to use timing to guess the BridgePassword value. Fixes bug 5543;
27734 bugfix on 0.2.0.14-alpha.
27735 - Detect and reject certain misformed escape sequences in
27736 configuration values. Previously, these values would cause us
27737 to crash if received in a torrc file or over an authenticated
27738 control port. Bug found by Esteban Manchado Velázquez, and
27739 independently by Robert Connolly from Matta Consulting who further
27740 noted that it allows a post-authentication heap overflow. Patch
27741 by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
27742 bugfix on 0.2.0.16-alpha.
27743 - Fix a compile warning when using the --enable-openbsd-malloc
27744 configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
27745 - During configure, detect when we're building with clang version
27746 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
27747 CFLAGS. clang doesn't support them yet.
27748 - When sending an HTTP/1.1 proxy request, include a Host header.
27749 Fixes bug 5593; bugfix on 0.2.2.1-alpha.
27750 - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
27751 command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
27752 - If we hit the error case where routerlist_insert() replaces an
27753 existing (old) server descriptor, make sure to remove that
27754 server descriptor from the old_routers list. Fix related to bug
27755 1776. Bugfix on 0.2.2.18-alpha.
27757 o Minor bugfixes (documentation and log messages):
27758 - Fix a typo in a log message in rend_service_rendezvous_has_opened().
27759 Fixes bug 4856; bugfix on Tor 0.0.6.
27760 - Update "ClientOnly" man page entry to explain that there isn't
27761 really any point to messing with it. Resolves ticket 5005.
27762 - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
27763 directory authority option (introduced in Tor 0.2.2.34).
27764 - Downgrade the "We're missing a certificate" message from notice
27765 to info: people kept mistaking it for a real problem, whereas it
27766 is seldom the problem even when we are failing to bootstrap. Fixes
27767 bug 5067; bugfix on 0.2.0.10-alpha.
27768 - Correctly spell "connect" in a log message on failure to create a
27769 controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
27770 - Clarify the behavior of MaxCircuitDirtiness with hidden service
27771 circuits. Fixes issue 5259.
27774 - Directory authorities now reject versions of Tor older than
27775 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
27776 inclusive. These versions accounted for only a small fraction of
27777 the Tor network, and have numerous known security issues. Resolves
27779 - Update to the May 1 2012 Maxmind GeoLite Country database.
27782 - When sending or relaying a RELAY_EARLY cell, we used to convert
27783 it to a RELAY cell if the connection was using the v1 link
27784 protocol. This was a workaround for older versions of Tor, which
27785 didn't handle RELAY_EARLY cells properly. Now that all supported
27786 versions can handle RELAY_EARLY cells, and now that we're enforcing
27787 the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
27788 remove this workaround. Addresses bug 4786.
27791 Changes in version 0.2.3.15-alpha - 2012-04-30
27792 Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
27793 the development branch build on Windows again.
27795 o Minor bugfixes (on 0.2.2.x and earlier):
27796 - Make sure that there are no unhandled pending TLS errors before
27797 reading from a TLS stream. We had checks in 0.1.0.3-rc, but
27798 lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
27799 Bugfix on 0.1.0.5-rc; fixes bug 4528.
27800 - Fix an assert that directory authorities could trigger on sighup
27801 during some configuration state transitions. We now don't treat
27802 it as a fatal error when the new descriptor we just generated in
27803 init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
27804 - After we pick a directory mirror, we would refuse to use it if
27805 it's in our ExcludeExitNodes list, resulting in mysterious failures
27806 to bootstrap for people who just wanted to avoid exiting from
27807 certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
27808 - When building with --enable-static-tor on OpenBSD, do not
27809 erroneously attempt to link -lrt. Fixes bug 5103.
27811 o Minor bugfixes (on 0.2.3.x):
27812 - When Tor is built with kernel headers from a recent (last few
27813 years) Linux kernel, do not fail to run on older (pre-2.6.28
27814 Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
27815 - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
27816 and 0.2.3.12-alpha.
27817 - Fix compilation with miniupnpc version 1.6; patch from
27818 Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
27819 - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
27820 on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
27821 - Fix compilation on platforms without unistd.h, or where environ
27822 is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
27825 - Directory authorities are now a little more lenient at accepting
27826 older router descriptors, or newer router descriptors that don't
27827 make big changes. This should help ameliorate past and future
27828 issues where routers think they have uploaded valid descriptors,
27829 but the authorities don't think so. Fix for ticket 2479.
27830 - Make the code that clients use to detect an address change be
27831 IPv6-aware, so that it won't fill clients' logs with error
27832 messages when trying to get the IPv4 address of an IPv6
27833 connection. Implements ticket 5537.
27835 o Removed features:
27836 - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
27837 authorities needed to use it for a while to keep the network working
27838 as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
27839 that was six months ago. As of now, it should no longer be needed
27843 Changes in version 0.2.3.14-alpha - 2012-04-23
27844 Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
27845 candidate. It also dramatically speeds up AES: fast relays should
27846 consider switching to the newer OpenSSL library.
27848 o Directory authority changes:
27849 - Change IP address for ides (v3 directory authority), and rename
27853 - Avoid logging uninitialized data when unable to decode a hidden
27854 service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
27855 - Avoid a client-side assertion failure when receiving an INTRODUCE2
27856 cell on a general purpose circuit. Fixes bug 5644; bugfix on
27858 - If authorities are unable to get a v2 consensus document from other
27859 directory authorities, they no longer fall back to fetching
27860 them from regular directory caches. Fixes bug 5635; bugfix on
27861 0.2.2.26-beta, where routers stopped downloading v2 consensus
27862 documents entirely.
27863 - When we start a Tor client with a normal consensus already cached,
27864 be willing to download a microdescriptor consensus. Fixes bug 4011;
27865 fix on 0.2.3.1-alpha.
27867 o Major features (performance):
27868 - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
27869 instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
27870 vectorized AES implementations as appropriate. These can be much,
27871 much faster than other AES implementations.
27873 o Minor bugfixes (0.2.2.x and earlier):
27874 - Don't launch more than 10 service-side introduction-point circuits
27875 for a hidden service in five minutes. Previously, we would consider
27876 launching more introduction-point circuits if at least one second
27877 had passed without any introduction-point circuits failing. Fixes
27878 bug 4607; bugfix on 0.0.7pre1.
27879 - Change the BridgePassword feature (part of the "bridge community"
27880 design, which is not yet implemented) to use a time-independent
27881 comparison. The old behavior might have allowed an adversary
27882 to use timing to guess the BridgePassword value. Fixes bug 5543;
27883 bugfix on 0.2.0.14-alpha.
27884 - Enforce correct return behavior of tor_vsscanf() when the '%%'
27885 pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
27886 - When sending an HTTP/1.1 proxy request, include a Host header.
27887 Fixes bug 5593; bugfix on 0.2.2.1-alpha.
27888 - Don't log that we have "decided to publish new relay descriptor"
27889 unless we are actually publishing a descriptor. Fixes bug 3942;
27890 bugfix on 0.2.2.28-beta.
27892 o Minor bugfixes (0.2.3.x):
27893 - Fix a bug where a bridge authority crashes (on a failed assert)
27894 if it has seen no directory requests when it's time to write
27895 statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
27896 - Fix bug stomping on ORPort option NoListen and ignoring option
27897 NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
27898 - In the testsuite, provide a large enough buffer in the tor_sscanf
27899 unit test. Otherwise we'd overrun that buffer and crash during
27900 the unit tests. Found by weasel. Fixes bug 5449; bugfix on
27902 - Make sure we create the keys directory if it doesn't exist and we're
27903 about to store the dynamic Diffie-Hellman parameters. Fixes bug
27904 5572; bugfix on 0.2.3.13-alpha.
27905 - Fix a small memory leak when trying to decode incorrect base16
27906 authenticator during SAFECOOKIE authentication. Found by
27907 Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
27910 - Add more information to a log statement that might help track down
27911 bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
27912 non-IP address" messages (or any Bug messages, for that matter!),
27913 please let us know about it.
27914 - Relays now understand an IPv6 address when they get one from a
27915 directory server. Resolves ticket 4875.
27916 - Resolve IPv6 addresses in bridge and entry statistics to country
27917 code "??" which means we at least count them. Resolves ticket 5053;
27918 improves on 0.2.3.9-alpha.
27919 - Update to the April 3 2012 Maxmind GeoLite Country database.
27920 - Begin a doc/state-contents.txt file to explain the contents of
27921 the Tor state file. Fixes bug 2987.
27923 o Default torrc changes:
27924 - Stop listing "socksport 9050" in torrc.sample. We open a socks
27925 port on 9050 by default anyway, so this should not change anything
27927 - Stop mentioning the deprecated *ListenAddress options in
27928 torrc.sample. Fixes bug 5438.
27929 - Document unit of bandwidth related options in sample torrc.
27932 o Removed features:
27933 - The "torify" script no longer supports the "tsocks" socksifier
27934 tool, since tsocks doesn't support DNS and UDP right for Tor.
27935 Everyone should be using torsocks instead. Fixes bugs 3530 and
27936 5180. Based on a patch by "ugh".
27938 o Code refactoring:
27939 - Change the symmetric cipher interface so that creating and
27940 initializing a stream cipher are no longer separate functions.
27941 - Remove all internal support for unpadded RSA. We never used it, and
27942 it would be a bad idea to start.
27945 Changes in version 0.2.3.13-alpha - 2012-03-26
27946 Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
27947 in managed pluggable transports, as well as providing other cleanups
27948 that get us closer to a release candidate.
27950 o Directory authority changes:
27951 - Change IP address for maatuska (v3 directory authority).
27954 - Provide controllers with a safer way to implement the cookie
27955 authentication mechanism. With the old method, if another locally
27956 running program could convince a controller that it was the Tor
27957 process, then that program could trick the controller into telling
27958 it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
27959 authentication method uses a challenge-response approach to prevent
27960 this attack. Fixes bug 5185, implements proposal 193.
27961 - Never use a bridge or a controller-supplied node as an exit, even
27962 if its exit policy allows it. Found by wanoskarnet. Fixes bug
27963 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
27964 and 0.2.0.3-alpha (for bridge-purpose descriptors).
27965 - Only build circuits if we have a sufficient threshold of the total
27966 descriptors that are marked in the consensus with the "Exit"
27967 flag. This mitigates an attack proposed by wanoskarnet, in which
27968 all of a client's bridges collude to restrict the exit nodes that
27969 the client knows about. Fixes bug 5343.
27971 o Major bugfixes (on Tor 0.2.3.x):
27972 - Avoid an assert when managed proxies like obfsproxy are configured,
27973 and we receive HUP signals or setconf attempts too rapidly. This
27974 situation happens most commonly when Vidalia tries to attach to
27975 Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
27976 bugfix on 0.2.3.6-alpha.
27977 - Fix a relay-side pluggable transports bug where managed proxies were
27978 unreachable from the Internet, because Tor asked them to bind on
27979 localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
27980 - Stop discarding command-line arguments when TestingTorNetwork
27981 is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
27982 0.2.3.9-alpha, where task 4552 added support for two layers of
27984 - Resume allowing the unit tests to run in gdb. This was accidentally
27985 made impossible when the DisableDebuggerAttachment option was
27986 introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
27987 - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
27988 0.2.3.11-alpha. Reported by Anthony G. Basile.
27990 o Minor bugfixes (on 0.2.2.x and earlier):
27991 - Ensure we don't cannibalize circuits that are longer than three hops
27992 already, so we don't end up making circuits with 5 or more
27993 hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
27994 0.1.0.1-rc which introduced cannibalization.
27995 - Detect and reject certain misformed escape sequences in
27996 configuration values. Previously, these values would cause us
27997 to crash if received in a torrc file or over an authenticated
27998 control port. Bug found by Esteban Manchado Velázquez, and
27999 independently by Robert Connolly from Matta Consulting who further
28000 noted that it allows a post-authentication heap overflow. Patch
28001 by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
28002 bugfix on 0.2.0.16-alpha.
28003 - Fix a compile warning when using the --enable-openbsd-malloc
28004 configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
28005 - Directory caches no longer refuse to clean out descriptors because
28006 of missing v2 networkstatus documents, unless they're configured
28007 to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
28008 0.2.2.26-beta. Patch by Daniel Bryg.
28009 - Update to the latest version of the tinytest unit testing framework.
28010 This includes a couple of bugfixes that can be relevant for
28011 running forked unit tests on Windows, and removes all reserved
28014 o Minor bugfixes (on 0.2.3.x):
28015 - On a failed pipe() call, don't leak file descriptors. Fixes bug
28016 4296; bugfix on 0.2.3.1-alpha.
28017 - Spec conformance: on a v3 handshake, do not send a NETINFO cell
28018 until after we have received a CERTS cell. Fixes bug 4361; bugfix
28019 on 0.2.3.6-alpha. Patch by "frosty".
28020 - When binding to an IPv6 address, set the IPV6_V6ONLY socket
28021 option, so that the IP stack doesn't decide to use it for IPv4
28022 too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
28023 - Ensure that variables set in Tor's environment cannot override
28024 environment variables that Tor passes to a managed
28025 pluggable-transport proxy. Previously, Tor would pass every
28026 variable in its environment to managed proxies along with the new
28027 ones, in such a way that on many operating systems, the inherited
28028 environment variables would override those which Tor tried to
28029 explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
28030 bugfix on 0.2.3.9-alpha for Windows.
28033 - A wide variety of new unit tests by Esteban Manchado Velázquez.
28034 - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
28035 - Update to the March 6 2012 Maxmind GeoLite Country database.
28038 Changes in version 0.2.3.12-alpha - 2012-02-13
28039 Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
28040 to use bridges that run Tor 0.2.2.x, and resolves several big bugs
28041 when Tor is configured to use a pluggable transport like obfsproxy.
28044 - Fix builds when the path to sed, openssl, or sha1sum contains
28045 spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
28047 - Set the SO_REUSEADDR socket option before we call bind() on outgoing
28048 connections. This change should allow busy exit relays to stop
28049 running out of available sockets as quickly. Fixes bug 4950;
28050 bugfix on 0.2.2.26-beta.
28051 - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
28052 would ask the bridge for microdescriptors, which are only supported
28053 in 0.2.3.x, and then fail to bootstrap when it didn't get the
28054 answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
28055 - Properly set up obfsproxy's environment when in managed mode. The
28056 Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
28057 and when you run your Tor as a daemon, there's no HOME. Fixes bugs
28058 5076 and 5082; bugfix on 0.2.3.6-alpha.
28061 - Use the dead_strip option when building Tor on OS X. This reduces
28062 binary size by almost 19% when linking openssl and libevent
28063 statically, which we do for Tor Browser Bundle.
28064 - Fix broken URLs in the sample torrc file, and tell readers about
28065 the OutboundBindAddress, ExitPolicyRejectPrivate, and
28066 PublishServerDescriptor options. Addresses bug 4652.
28067 - Update to the February 7 2012 Maxmind GeoLite Country database.
28070 - Downgrade the "We're missing a certificate" message from notice
28071 to info: people kept mistaking it for a real problem, whereas it
28072 is seldom the problem even when we are failing to bootstrap. Fixes
28073 bug 5067; bugfix on 0.2.0.10-alpha.
28074 - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
28075 managed pluggable transport server proxy's environment.
28076 Previously, we would put it there, even though Tor doesn't
28077 implement an 'extended server port' yet, and even though Tor
28078 almost certainly isn't listening at that address. For now, we set
28079 it to an empty string to avoid crashing older obfsproxies. Bugfix
28081 - Log the heartbeat message every HeartbeatPeriod seconds, not every
28082 HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
28083 0.2.3.1-alpha. Bug reported by Scott Bennett.
28084 - Calculate absolute paths correctly on Windows. Fixes bug 4973;
28085 bugfix on 0.2.3.11-alpha.
28086 - Update "ClientOnly" man page entry to explain that there isn't
28087 really any point to messing with it. Resolves ticket 5005.
28088 - Use the correct CVE number for CVE-2011-4576 in our comments and
28089 log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
28092 o Code simplifications and refactoring:
28093 - Use the _WIN32 macro throughout our code to detect Windows.
28094 (Previously we had used the obsolete 'WIN32' and the idiosyncratic
28098 Changes in version 0.2.3.11-alpha - 2012-01-22
28099 Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
28100 the last step of the plan to limit maximum circuit length, includes
28101 a wide variety of hidden service performance and correctness fixes,
28102 works around an OpenSSL security flaw if your distro is too stubborn
28103 to upgrade, and fixes a bunch of smaller issues.
28106 - Now that Tor 0.2.0.x is completely deprecated, enable the final
28107 part of "Proposal 110: Avoiding infinite length circuits" by
28108 refusing all circuit-extend requests that do not use a relay_early
28109 cell. This change helps Tor resist a class of denial-of-service
28110 attacks by limiting the maximum circuit length.
28111 - Adjust the number of introduction points that a hidden service
28112 will try to maintain based on how long its introduction points
28113 remain in use and how many introductions they handle. Fixes
28115 - Try to use system facilities for enumerating local interface
28116 addresses, before falling back to our old approach (which was
28117 binding a UDP socket, and calling getsockname() on it). That
28118 approach was scaring OS X users whose draconian firewall
28119 software warned about binding to UDP sockets, regardless of
28120 whether packets were sent. Now we try to use getifaddrs(),
28121 SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
28122 system supports. Resolves ticket 1827.
28124 o Major security workaround:
28125 - When building or running with any version of OpenSSL earlier
28126 than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
28127 versions have a bug (CVE-2011-4576) in which their block cipher
28128 padding includes uninitialized data, potentially leaking sensitive
28129 information to any peer with whom they make a SSLv3 connection. Tor
28130 does not use SSL v3 by default, but a hostile client or server
28131 could force an SSLv3 connection in order to gain information that
28132 they shouldn't have been able to get. The best solution here is to
28133 upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
28134 or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
28135 to make sure that the bug can't happen.
28138 - Fix the SOCKET_OK test that we use to tell when socket
28139 creation fails so that it works on Win64. Fixes part of bug 4533;
28140 bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
28141 - Correct our replacements for the timeradd() and timersub() functions
28142 on platforms that lack them (for example, Windows). The timersub()
28143 function is used when expiring circuits, while timeradd() is
28144 currently unused. Bug report and patch by Vektor. Fixes bug 4778;
28145 bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
28146 - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
28147 that was fixed in OpenSSL 1.0.0a. We test for the counter mode
28148 bug at runtime, not compile time, because some distributions hack
28149 their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
28150 on 0.2.3.9-alpha. Found by Pascal.
28152 o Minor features (controller):
28153 - Use absolute path names when reporting the torrc filename in the
28154 control protocol, so a controller can more easily find the torrc
28155 file. Resolves bug 1101.
28156 - Extend the control protocol to report flags that control a circuit's
28157 path selection in CIRC events and in replies to 'GETINFO
28158 circuit-status'. Implements part of ticket 2411.
28159 - Extend the control protocol to report the hidden service address
28160 and current state of a hidden-service-related circuit in CIRC
28161 events and in replies to 'GETINFO circuit-status'. Implements part
28163 - When reporting the path to the cookie file to the controller,
28164 give an absolute path. Resolves ticket 4881.
28165 - Allow controllers to request an event notification whenever a
28166 circuit is cannibalized or its purpose is changed. Implements
28167 part of ticket 3457.
28168 - Include the creation time of a circuit in CIRC and CIRC2
28169 control-port events and the list produced by the 'GETINFO
28170 circuit-status' control-port command.
28172 o Minor features (directory authorities):
28173 - Directory authorities now reject versions of Tor older than
28174 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
28175 inclusive. These versions accounted for only a small fraction of
28176 the Tor network, and have numerous known security issues. Resolves
28178 - Authority operators can now vote for all relays in a given
28179 set of countries to be BadDir/BadExit/Invalid/Rejected.
28180 - Provide two consensus parameters (FastFlagMinThreshold and
28181 FastFlagMaxThreshold) to control the range of allowable bandwidths
28182 for the Fast directory flag. These allow authorities to run
28183 experiments on appropriate requirements for being a "Fast" node.
28184 The AuthDirFastGuarantee config value still applies. Implements
28186 - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
28187 directory authority option (introduced in Tor 0.2.2.34).
28189 o Minor features (other):
28190 - Don't disable the DirPort when we cannot exceed our AccountingMax
28191 limit during this interval because the effective bandwidthrate is
28192 low enough. This is useful in a situation where AccountMax is only
28193 used as an additional safeguard or to provide statistics.
28194 - Prepend an informative header to generated dynamic_dh_params files.
28195 - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
28196 EntryNodes will have no effect. Resolves issue 2571.
28197 - Log more useful messages when we fail to disable debugger
28199 - Log which authority we're missing votes from when we go to fetch
28200 them from the other auths.
28201 - Log (at debug level) whenever a circuit's purpose is changed.
28202 - Add missing documentation for the MaxClientCircuitsPending,
28203 UseMicrodescriptors, UserspaceIOCPBuffers, and
28204 _UseFilteringSSLBufferevents options, all introduced during
28205 the 0.2.3.x series.
28206 - Update to the January 3 2012 Maxmind GeoLite Country database.
28208 o Minor bugfixes (hidden services):
28209 - Don't close hidden service client circuits which have almost
28210 finished connecting to their destination when they reach
28211 the normal circuit-build timeout. Previously, we would close
28212 introduction circuits which are waiting for an acknowledgement
28213 from the introduction point, and rendezvous circuits which have
28214 been specified in an INTRODUCE1 cell sent to a hidden service,
28215 after the normal CBT. Now, we mark them as 'timed out', and launch
28216 another rendezvous attempt in parallel. This behavior change can
28217 be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
28218 option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
28219 - Don't close hidden-service-side rendezvous circuits when they
28220 reach the normal circuit-build timeout. This behavior change can
28221 be disabled using the new
28222 CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
28223 remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
28224 - Make sure we never mark the wrong rendezvous circuit as having
28225 had its introduction cell acknowledged by the introduction-point
28226 relay. Previously, when we received an INTRODUCE_ACK cell on a
28227 client-side hidden-service introduction circuit, we might have
28228 marked a rendezvous circuit other than the one we specified in
28229 the INTRODUCE1 cell as INTRO_ACKED, which would have produced
28230 a warning message and interfered with the hidden service
28231 connection-establishment process. Fixes bug 4759; bugfix on
28232 0.2.3.3-alpha, when we added the stream-isolation feature which
28233 might cause Tor to open multiple rendezvous circuits for the same
28235 - Don't trigger an assertion failure when we mark a new client-side
28236 hidden-service introduction circuit for close during the process
28237 of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
28240 o Minor bugfixes (log messages):
28241 - Correctly spell "connect" in a log message on failure to create a
28242 controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
28244 - Fix a typo in a log message in rend_service_rendezvous_has_opened().
28245 Fixes bug 4856; bugfix on Tor 0.0.6.
28246 - Fix the log message describing how we work around discovering
28247 that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
28248 4837; bugfix on 0.2.2.9-alpha.
28249 - When logging about a disallowed .exit name, do not also call it
28250 an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
28252 o Minor bugfixes (build fixes):
28253 - During configure, detect when we're building with clang version
28254 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
28255 CFLAGS. clang doesn't support them yet.
28256 - During configure, search for library containing cos function as
28257 libm lives in libcore on some platforms (BeOS/Haiku). Linking
28258 against libm was hard-coded before. Fixes the first part of bug
28259 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
28261 - Detect attempts to build Tor on (as yet hypothetical) versions
28262 of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
28263 fix for bug 4533. Bugfix on 0.2.2.28-beta.
28264 - Preprocessor directives should not be put inside the arguments
28265 of a macro. This would break compilation with GCC releases prior
28266 to version 3.3. We would never recommend such an old GCC version,
28267 but it is apparently required for binary compatibility on some
28268 platforms (namely, certain builds of Haiku). Fixes the other part
28269 of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
28272 o Minor bugfixes (other):
28273 - Older Linux kernels erroneously respond to strange nmap behavior
28274 by having accept() return successfully with a zero-length
28275 socket. When this happens, just close the connection. Previously,
28276 we would try harder to learn the remote address: but there was
28277 no such remote address to learn, and our method for trying to
28278 learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
28279 on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
28280 - Fix null-pointer access that could occur if TLS allocation failed.
28281 Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
28282 erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
28283 accidentally been reverted.
28284 - Fix our implementation of crypto_random_hostname() so it can't
28285 overflow on ridiculously large inputs. (No Tor version has ever
28286 provided this kind of bad inputs, but let's be correct in depth.)
28287 Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
28288 - Find more places in the code that should have been testing for
28289 invalid sockets using the SOCKET_OK macro. Required for a fix
28290 for bug 4533. Bugfix on 0.2.2.28-beta.
28291 - Fix an assertion failure when, while running with bufferevents, a
28292 connection finishes connecting after it is marked for close, but
28293 before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
28294 - test_util_spawn_background_ok() hardcoded the expected value
28295 for ENOENT to 2. This isn't portable as error numbers are
28296 platform specific, and particularly the hurd has ENOENT at
28297 0x40000002. Construct expected string at runtime, using the correct
28298 value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
28299 - Reject attempts to disable DisableDebuggerAttachment while Tor is
28300 running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
28301 - Use an appropriate-width type for sockets in tor-fw-helper on
28302 win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
28305 - When sending or relaying a RELAY_EARLY cell, we used to convert
28306 it to a RELAY cell if the connection was using the v1 link
28307 protocol. This was a workaround for older versions of Tor, which
28308 didn't handle RELAY_EARLY cells properly. Now that all supported
28309 versions can handle RELAY_EARLY cells, and now that we're enforcing
28310 the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
28311 remove this workaround. Addresses bug 4786.
28313 o Code simplifications and refactoring:
28314 - Use OpenSSL's built-in SSL_state_string_long() instead of our
28315 own homebrewed ssl_state_to_string() replacement. Patch from
28316 Emile Snyder. Fixes bug 4653.
28317 - Use macros to indicate OpenSSL versions, so we don't need to worry
28318 about accidental hexadecimal bit shifts.
28319 - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
28321 - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
28322 - Use the smartlist_add_asprintf() alias more consistently.
28323 - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
28324 invalid value, rather than just -1.
28325 - Rename a handful of old identifiers, mostly related to crypto
28326 structures and crypto functions. By convention, our "create an
28327 object" functions are called "type_new()", our "free an object"
28328 functions are called "type_free()", and our types indicate that
28329 they are types only with a final "_t". But a handful of older
28330 types and functions broke these rules, with function names like
28331 "type_create" or "subsystem_op_type", or with type names like
28335 Changes in version 0.2.3.10-alpha - 2011-12-16
28336 Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
28337 Tor's buffers code. Absolutely everybody should upgrade.
28339 The bug relied on an incorrect calculation when making data continuous
28340 in one of our IO buffers, if the first chunk of the buffer was
28341 misaligned by just the wrong amount. The miscalculation would allow an
28342 attacker to overflow a piece of heap-allocated memory. To mount this
28343 attack, the attacker would need to either open a SOCKS connection to
28344 Tor's SocksPort (usually restricted to localhost), or target a Tor
28345 instance configured to make its connections through a SOCKS proxy
28346 (which Tor does not do by default).
28348 Good security practice requires that all heap-overflow bugs should be
28349 presumed to be exploitable until proven otherwise, so we are treating
28350 this as a potential code execution attack. Please upgrade immediately!
28351 This bug does not affect bufferevents-based builds of Tor. Special
28352 thanks to "Vektor" for reporting this issue to us!
28354 This release also contains a few minor bugfixes for issues discovered
28358 - Fix a heap overflow bug that could occur when trying to pull
28359 data into the first chunk of a buffer, when that chunk had
28360 already had some data drained from it. Fixes CVE-2011-2778;
28361 bugfix on 0.2.0.16-alpha. Reported by "Vektor".
28364 - If we can't attach streams to a rendezvous circuit when we
28365 finish connecting to a hidden service, clear the rendezvous
28366 circuit's stream-isolation state and try to attach streams
28367 again. Previously, we cleared rendezvous circuits' isolation
28368 state either too early (if they were freshly built) or not at all
28369 (if they had been built earlier and were cannibalized). Bugfix on
28370 0.2.3.3-alpha; fixes bug 4655.
28371 - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
28372 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
28373 - Fix an assertion failure when a relay with accounting enabled
28374 starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
28377 - Update to the December 6 2011 Maxmind GeoLite Country database.
28380 Changes in version 0.2.2.35 - 2011-12-16
28381 Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
28382 buffers code. Absolutely everybody should upgrade.
28384 The bug relied on an incorrect calculation when making data continuous
28385 in one of our IO buffers, if the first chunk of the buffer was
28386 misaligned by just the wrong amount. The miscalculation would allow an
28387 attacker to overflow a piece of heap-allocated memory. To mount this
28388 attack, the attacker would need to either open a SOCKS connection to
28389 Tor's SocksPort (usually restricted to localhost), or target a Tor
28390 instance configured to make its connections through a SOCKS proxy
28391 (which Tor does not do by default).
28393 Good security practice requires that all heap-overflow bugs should be
28394 presumed to be exploitable until proven otherwise, so we are treating
28395 this as a potential code execution attack. Please upgrade immediately!
28396 This bug does not affect bufferevents-based builds of Tor. Special
28397 thanks to "Vektor" for reporting this issue to us!
28399 Tor 0.2.2.35 also fixes several bugs in previous versions, including
28400 crash bugs for unusual configurations, and a long-term bug that
28401 would prevent Tor from starting on Windows machines with draconian
28404 With this release, we remind everyone that 0.2.0.x has reached its
28405 formal end-of-life. Those Tor versions have many known flaws, and
28406 nobody should be using them. You should upgrade -- ideally to the
28407 0.2.2.x series. If you're using a Linux or BSD and its packages are
28408 obsolete, stop using those packages and upgrade anyway.
28410 The Tor 0.2.1.x series is also approaching its end-of-life: it will no
28411 longer receive support after some time in early 2012.
28414 - Fix a heap overflow bug that could occur when trying to pull
28415 data into the first chunk of a buffer, when that chunk had
28416 already had some data drained from it. Fixes CVE-2011-2778;
28417 bugfix on 0.2.0.16-alpha. Reported by "Vektor".
28418 - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
28419 that it doesn't attempt to allocate a socketpair. This could cause
28420 some problems on Windows systems with overzealous firewalls. Fix for
28421 bug 4457; workaround for Libevent versions 2.0.1-alpha through
28423 - If we mark an OR connection for close based on a cell we process,
28424 don't process any further cells on it. We already avoid further
28425 reads on marked-for-close connections, but now we also discard the
28426 cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
28427 which was the first version where we might mark a connection for
28428 close based on processing a cell on it.
28429 - Correctly sanity-check that we don't underflow on a memory
28430 allocation (and then assert) for hidden service introduction
28431 point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
28432 bugfix on 0.2.1.5-alpha.
28433 - Fix a memory leak when we check whether a hidden service
28434 descriptor has any usable introduction points left. Fixes bug
28435 4424. Bugfix on 0.2.2.25-alpha.
28436 - Don't crash when we're running as a relay and don't have a GeoIP
28437 file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
28438 we've had in the 0.2.3.x branch already.
28439 - When running as a client, do not print a misleading (and plain
28440 wrong) log message that we're collecting "directory request"
28441 statistics: clients don't collect statistics. Also don't create a
28442 useless (because empty) stats file in the stats/ directory. Fixes
28443 bug 4353; bugfix on 0.2.2.34.
28446 - Detect failure to initialize Libevent. This fix provides better
28447 detection for future instances of bug 4457.
28448 - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
28449 function. This was eating up hideously large amounts of time on some
28450 busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
28451 - Resolve an integer overflow bug in smartlist_ensure_capacity().
28452 Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
28454 - Don't warn about unused log_mutex in log.c when building with
28455 --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
28456 0.1.0.6-rc which introduced --disable-threads.
28457 - When configuring, starting, or stopping an NT service, stop
28458 immediately after the service configuration attempt has succeeded
28459 or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
28460 - When sending a NETINFO cell, include the original address
28461 received for the other side, not its canonical address. Found
28462 by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
28463 - Fix a typo in a hibernation-related log message. Fixes bug 4331;
28464 bugfix on 0.2.2.23-alpha; found by "tmpname0901".
28465 - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
28466 occurred when a client tried to fetch a descriptor for a bridge
28467 in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
28468 - Backport fixes for a pair of compilation warnings on Windows.
28469 Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
28470 - If we had ever tried to call tor_addr_to_str on an address of
28471 unknown type, we would have done a strdup on an uninitialized
28472 buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
28473 Reported by "troll_un".
28474 - Correctly detect and handle transient lookup failures from
28475 tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
28476 Reported by "troll_un".
28477 - Fix null-pointer access that could occur if TLS allocation failed.
28478 Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
28479 - Use tor_socket_t type for listener argument to accept(). Fixes bug
28480 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
28483 - Add two new config options for directory authorities:
28484 AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
28485 Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
28486 that is always sufficient to satisfy the bandwidth requirement for
28487 the Guard flag. Now it will be easier for researchers to simulate
28488 Tor networks with different values. Resolves ticket 4484.
28489 - When Tor ignores a hidden service specified in its configuration,
28490 include the hidden service's directory in the warning message.
28491 Previously, we would only tell the user that some hidden service
28492 was ignored. Bugfix on 0.0.6; fixes bug 4426.
28493 - Update to the December 6 2011 Maxmind GeoLite Country database.
28495 o Packaging changes:
28496 - Make it easier to automate expert package builds on Windows,
28497 by removing an absolute path from makensis.exe command.
28500 Changes in version 0.2.1.32 - 2011-12-16
28501 Tor 0.2.1.32 backports important security and privacy fixes for
28502 oldstable. This release is intended only for package maintainers and
28503 others who cannot use the 0.2.2 stable series. All others should be
28504 using Tor 0.2.2.x or newer.
28506 The Tor 0.2.1.x series will reach formal end-of-life some time in
28507 early 2012; we will stop releasing patches for it then.
28509 o Major bugfixes (also included in 0.2.2.x):
28510 - Correctly sanity-check that we don't underflow on a memory
28511 allocation (and then assert) for hidden service introduction
28512 point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
28513 bugfix on 0.2.1.5-alpha.
28514 - Fix a heap overflow bug that could occur when trying to pull
28515 data into the first chunk of a buffer, when that chunk had
28516 already had some data drained from it. Fixes CVE-2011-2778;
28517 bugfix on 0.2.0.16-alpha. Reported by "Vektor".
28520 - Update to the December 6 2011 Maxmind GeoLite Country database.
28523 Changes in version 0.2.3.9-alpha - 2011-12-08
28524 Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
28525 a "DisableNetwork" security feature that bundles can use to avoid
28526 touching the network until bridges are configured, moves forward on
28527 the pluggable transport design, fixes a flaw in the hidden service
28528 design that unnecessarily prevented clients with wrong clocks from
28529 reaching hidden services, and fixes a wide variety of other issues.
28532 - Clients can now connect to private bridges over IPv6. Bridges
28533 still need at least one IPv4 address in order to connect to
28534 other relays. Note that we don't yet handle the case where the
28535 user has two bridge lines for the same bridge (one IPv4, one
28536 IPv6). Implements parts of proposal 186.
28537 - New "DisableNetwork" config option to prevent Tor from launching any
28538 connections or accepting any connections except on a control port.
28539 Bundles and controllers can set this option before letting Tor talk
28540 to the rest of the network, for example to prevent any connections
28541 to a non-bridge address. Packages like Orbot can also use this
28542 option to instruct Tor to save power when the network is off.
28543 - Clients and bridges can now be configured to use a separate
28544 "transport" proxy. This approach makes the censorship arms race
28545 easier by allowing bridges to use protocol obfuscation plugins. It
28546 implements the "managed proxy" part of proposal 180 (ticket 3472).
28547 - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
28548 implementation. It makes AES_CTR about 7% faster than our old one
28549 (which was about 10% faster than the one OpenSSL used to provide).
28550 Resolves ticket 4526.
28551 - Add a "tor2web mode" for clients that want to connect to hidden
28552 services non-anonymously (and possibly more quickly). As a safety
28553 measure to try to keep users from turning this on without knowing
28554 what they are doing, tor2web mode must be explicitly enabled at
28555 compile time, and a copy of Tor compiled to run in tor2web mode
28556 cannot be used as a normal Tor client. Implements feature 2553.
28557 - Add experimental support for running on Windows with IOCP and no
28558 kernel-space socket buffers. This feature is controlled by a new
28559 "UserspaceIOCPBuffers" config option (off by default), which has
28560 no effect unless Tor has been built with support for bufferevents,
28561 is running on Windows, and has enabled IOCP. This may, in the long
28562 run, help solve or mitigate bug 98.
28563 - Use a more secure consensus parameter voting algorithm. Now at
28564 least three directory authorities or a majority of them must
28565 vote on a given parameter before it will be included in the
28566 consensus. Implements proposal 178.
28569 - Hidden services now ignore the timestamps on INTRODUCE2 cells.
28570 They used to check that the timestamp was within 30 minutes
28571 of their system clock, so they could cap the size of their
28572 replay-detection cache, but that approach unnecessarily refused
28573 service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
28574 the v3 intro-point protocol (the first one which sent a timestamp
28575 field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
28576 - Only use the EVP interface when AES acceleration is enabled,
28577 to avoid a 5-7% performance regression. Resolves issue 4525;
28578 bugfix on 0.2.3.8-alpha.
28580 o Privacy/anonymity features (bridge detection):
28581 - Make bridge SSL certificates a bit more stealthy by using random
28582 serial numbers, in the same fashion as OpenSSL when generating
28583 self-signed certificates. Implements ticket 4584.
28584 - Introduce a new config option "DynamicDHGroups", enabled by
28585 default, which provides each bridge with a unique prime DH modulus
28586 to be used during SSL handshakes. This option attempts to help
28587 against censors who might use the Apache DH modulus as a static
28588 identifier for bridges. Addresses ticket 4548.
28590 o Minor features (new/different config options):
28591 - New configuration option "DisableDebuggerAttachment" (on by default)
28592 to prevent basic debugging attachment attempts by other processes.
28593 Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
28594 - Allow MapAddress directives to specify matches against super-domains,
28595 as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
28596 Implements issue 933.
28597 - Slightly change behavior of "list" options (that is, config
28598 options that can appear more than once) when they appear both in
28599 torrc and on the command line. Previously, the command-line options
28600 would be appended to the ones from torrc. Now, the command-line
28601 options override the torrc options entirely. This new behavior
28602 allows the user to override list options (like exit policies and
28603 ports to listen on) from the command line, rather than simply
28604 appending to the list.
28605 - You can get the old (appending) command-line behavior for "list"
28606 options by prefixing the option name with a "+".
28607 - You can remove all the values for a "list" option from the command
28608 line without adding any new ones by prefixing the option name
28610 - Add experimental support for a "defaults" torrc file to be parsed
28611 before the regular torrc. Torrc options override the defaults file's
28612 options in the same way that the command line overrides the torrc.
28613 The SAVECONF controller command saves only those options which
28614 differ between the current configuration and the defaults file. HUP
28615 reloads both files. (Note: This is an experimental feature; its
28616 behavior will probably be refined in future 0.2.3.x-alpha versions
28617 to better meet packagers' needs.) Implements task 4552.
28620 - Try to make the introductory warning message that Tor prints on
28621 startup more useful for actually finding help and information.
28622 Resolves ticket 2474.
28623 - Running "make version" now displays the version of Tor that
28624 we're about to build. Idea from katmagic; resolves issue 4400.
28625 - Expire old or over-used hidden service introduction points.
28626 Required by fix for bug 3460.
28627 - Move the replay-detection cache for the RSA-encrypted parts of
28628 INTRODUCE2 cells to the introduction point data structures.
28629 Previously, we would use one replay-detection cache per hidden
28630 service. Required by fix for bug 3460.
28631 - Reduce the lifetime of elements of hidden services' Diffie-Hellman
28632 public key replay-detection cache from 60 minutes to 5 minutes. This
28633 replay-detection cache is now used only to detect multiple
28634 INTRODUCE2 cells specifying the same rendezvous point, so we can
28635 avoid launching multiple simultaneous attempts to connect to it.
28637 o Minor bugfixes (on Tor 0.2.2.x and earlier):
28638 - Resolve an integer overflow bug in smartlist_ensure_capacity().
28639 Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
28641 - Fix a minor formatting issue in one of tor-gencert's error messages.
28643 - Prevent a false positive from the check-spaces script, by disabling
28644 the "whitespace between function name and (" check for functions
28646 - Fix a log message suggesting that people contact a non-existent
28647 email address. Fixes bug 3448.
28648 - Fix null-pointer access that could occur if TLS allocation failed.
28649 Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
28650 - Report a real bootstrap problem to the controller on router
28651 identity mismatch. Previously we just said "foo", which probably
28652 made a lot of sense at the time. Fixes bug 4169; bugfix on
28654 - If we had ever tried to call tor_addr_to_str() on an address of
28655 unknown type, we would have done a strdup() on an uninitialized
28656 buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
28657 Reported by "troll_un".
28658 - Correctly detect and handle transient lookup failures from
28659 tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
28660 Reported by "troll_un".
28661 - Use tor_socket_t type for listener argument to accept(). Fixes bug
28662 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
28663 - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
28664 bug 4532; found by "troll_un".
28666 o Minor bugfixes (on Tor 0.2.3.x):
28667 - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
28669 - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
28670 circuit for use as a hidden service client's rendezvous point.
28671 Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
28672 with help from wanoskarnet.
28673 - Restore behavior of overriding SocksPort, ORPort, and similar
28674 options from the command line. Bugfix on 0.2.3.3-alpha.
28677 - Properly handle the case where the build-tree is not the same
28678 as the source tree when generating src/common/common_sha1.i,
28679 src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
28680 bugfix on 0.2.0.1-alpha.
28682 o Code simplifications, cleanups, and refactorings:
28683 - Remove the pure attribute from all functions that used it
28684 previously. In many cases we assigned it incorrectly, because the
28685 functions might assert or call impure functions, and we don't have
28686 evidence that keeping the pure attribute is worthwhile. Implements
28687 changes suggested in ticket 4421.
28688 - Remove some dead code spotted by coverity. Fixes cid 432.
28689 Bugfix on 0.2.3.1-alpha, closes bug 4637.
28692 Changes in version 0.2.3.8-alpha - 2011-11-22
28693 Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
28694 socketpair-related bug that has been bothering Windows users. It adds
28695 support to serve microdescriptors to controllers, so Vidalia's network
28696 map can resume listing relays (once Vidalia implements its side),
28697 and adds better support for hardware AES acceleration. Finally, it
28698 starts the process of adjusting the bandwidth cutoff for getting the
28699 "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
28700 that tiny relays harm performance more than they help network capacity.
28703 - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
28704 that it doesn't attempt to allocate a socketpair. This could cause
28705 some problems on Windows systems with overzealous firewalls. Fix for
28706 bug 4457; workaround for Libevent versions 2.0.1-alpha through
28708 - Correctly sanity-check that we don't underflow on a memory
28709 allocation (and then assert) for hidden service introduction
28710 point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
28711 bugfix on 0.2.1.5-alpha.
28712 - Remove the artificially low cutoff of 20KB to guarantee the Fast
28713 flag. In the past few years the average relay speed has picked
28714 up, and while the "top 7/8 of the network get the Fast flag" and
28715 "all relays with 20KB or more of capacity get the Fast flag" rules
28716 used to have the same result, now the top 7/8 of the network has
28717 a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
28718 - Fix a rare assertion failure when checking whether a v0 hidden
28719 service descriptor has any usable introduction points left, and
28720 we don't have enough information to build a circuit to the first
28721 intro point named in the descriptor. The HS client code in
28722 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
28723 trigger on (and crash) v0 HS authorities. Fixes bug 4411.
28724 Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
28725 - Make bridge authorities not crash when they are asked for their own
28726 descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
28727 - When running as a client, do not print a misleading (and plain
28728 wrong) log message that we're collecting "directory request"
28729 statistics: clients don't collect statistics. Also don't create a
28730 useless (because empty) stats file in the stats/ directory. Fixes
28731 bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
28734 - Allow Tor controllers like Vidalia to obtain the microdescriptor
28735 for a relay by identity digest or nickname. Previously,
28736 microdescriptors were only available by their own digests, so a
28737 controller would have to ask for and parse the whole microdescriptor
28738 consensus in order to look up a single relay's microdesc. Fixes
28739 bug 3832; bugfix on 0.2.3.1-alpha.
28740 - Use OpenSSL's EVP interface for AES encryption, so that all AES
28741 operations can use hardware acceleration (if present). Resolves
28744 o Minor bugfixes (on 0.2.2.x and earlier):
28745 - Detect failure to initialize Libevent. This fix provides better
28746 detection for future instances of bug 4457.
28747 - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
28748 function. This was eating up hideously large amounts of time on some
28749 busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
28750 - Don't warn about unused log_mutex in log.c when building with
28751 --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
28752 0.1.0.6-rc which introduced --disable-threads.
28753 - Allow manual 'authenticate' commands to the controller interface
28754 from netcat (nc) as well as telnet. We were rejecting them because
28755 they didn't come with the expected whitespace at the end of the
28756 command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
28757 - Fix some (not actually triggerable) buffer size checks in usage of
28758 tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
28760 - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
28761 bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
28762 - When configuring, starting, or stopping an NT service, stop
28763 immediately after the service configuration attempt has succeeded
28764 or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
28765 - When sending a NETINFO cell, include the original address
28766 received for the other side, not its canonical address. Found
28767 by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
28768 - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
28769 can pick them up when the tests aren't disabled. Bugfix on
28770 0.2.2.4-alpha which introduced tinytest.
28771 - Fix a memory leak when we check whether a hidden service
28772 descriptor has any usable introduction points left. Fixes bug
28773 4424. Bugfix on 0.2.2.25-alpha.
28774 - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
28775 occurred when a client tried to fetch a descriptor for a bridge
28776 in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
28778 o Minor bugfixes (on 0.2.3.x):
28779 - Make util unit tests build correctly with MSVC. Bugfix on
28780 0.2.3.3-alpha. Patch by Gisle Vanem.
28781 - Successfully detect AUTH_CHALLENGE cells with no recognized
28782 authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
28783 Found by frosty_un.
28784 - If a relay receives an AUTH_CHALLENGE cell it can't answer,
28785 it should still send a NETINFO cell to allow the connection to
28786 become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
28788 - Log less loudly when we get an invalid authentication certificate
28789 from a source other than a directory authority: it's not unusual
28790 to see invalid certs because of clock skew. Fixes bug 4370; bugfix
28792 - Tolerate servers with more clock skew in their authentication
28793 certificates than previously. Fixes bug 4371; bugfix on
28795 - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
28796 on 0.2.3.4-alpha and 0.2.3.6-alpha.
28799 - Add two new config options for directory authorities:
28800 AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
28801 Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
28802 that is always sufficient to satisfy the bandwidth requirement for
28803 the Guard flag. Now it will be easier for researchers to simulate
28804 Tor networks with different values. Resolves ticket 4484.
28805 - When Tor ignores a hidden service specified in its configuration,
28806 include the hidden service's directory in the warning message.
28807 Previously, we would only tell the user that some hidden service
28808 was ignored. Bugfix on 0.0.6; fixes bug 4426.
28809 - When we fail to initialize Libevent, retry with IOCP disabled so we
28810 don't need to turn on multi-threading support in Libevent, which in
28811 turn requires a working socketpair(). This is a workaround for bug
28812 4457, which affects Libevent versions from 2.0.1-alpha through
28814 - Detect when we try to build on a platform that doesn't define
28815 AF_UNSPEC to 0. We don't work there, so refuse to compile.
28816 - Update to the November 1 2011 Maxmind GeoLite Country database.
28818 o Packaging changes:
28819 - Make it easier to automate expert package builds on Windows,
28820 by removing an absolute path from makensis.exe command.
28822 o Code simplifications and refactoring:
28823 - Remove some redundant #include directives throughout the code.
28824 Patch from Andrea Gelmini.
28825 - Unconditionally use OpenSSL's AES implementation instead of our
28826 old built-in one. OpenSSL's AES has been better for a while, and
28827 relatively few servers should still be on any version of OpenSSL
28828 that doesn't have good optimized assembly AES.
28829 - Use the name "CERTS" consistently to refer to the new cell type;
28830 we were calling it CERT in some places and CERTS in others.
28833 - Numerous new unit tests for functions in util.c and address.c by
28835 - The long-disabled benchmark tests are now split into their own
28836 ./src/test/bench binary.
28837 - The benchmark tests can now use more accurate timers than
28838 gettimeofday() when such timers are available.
28841 Changes in version 0.2.3.7-alpha - 2011-10-30
28842 Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
28843 the new v3 handshake. It also resolves yet another bridge address
28847 - If we mark an OR connection for close based on a cell we process,
28848 don't process any further cells on it. We already avoid further
28849 reads on marked-for-close connections, but now we also discard the
28850 cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
28851 which was the first version where we might mark a connection for
28852 close based on processing a cell on it.
28853 - Fix a double-free bug that would occur when we received an invalid
28854 certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
28855 bugfix on 0.2.3.6-alpha.
28856 - Bridges no longer include their address in NETINFO cells on outgoing
28857 OR connections, to allow them to blend in better with clients.
28858 Removes another avenue for enumerating bridges. Reported by
28859 "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
28860 cells were introduced.
28863 - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
28864 bugfix on 0.2.2.23-alpha; found by "tmpname0901".
28867 Changes in version 0.2.3.6-alpha - 2011-10-26
28868 Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
28869 anonymity vulnerability where an attacker can deanonymize Tor
28870 users. Everybody should upgrade.
28872 This release also features support for a new v3 connection handshake
28873 protocol, and fixes to make hidden service connections more robust.
28876 - Implement a new handshake protocol (v3) for authenticating Tors to
28877 each other over TLS. It should be more resistant to fingerprinting
28878 than previous protocols, and should require less TLS hacking for
28879 future Tor implementations. Implements proposal 176.
28880 - Allow variable-length padding cells to disguise the length of
28881 Tor's TLS records. Implements part of proposal 184.
28883 o Privacy/anonymity fixes (clients):
28884 - Clients and bridges no longer send TLS certificate chains on
28885 outgoing OR connections. Previously, each client or bridge would
28886 use the same cert chain for all outgoing OR connections until
28887 its IP address changes, which allowed any relay that the client
28888 or bridge contacted to determine which entry guards it is using.
28889 Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
28890 - If a relay receives a CREATE_FAST cell on a TLS connection, it
28891 no longer considers that connection as suitable for satisfying a
28892 circuit EXTEND request. Now relays can protect clients from the
28893 CVE-2011-2768 issue even if the clients haven't upgraded yet.
28894 - Directory authorities no longer assign the Guard flag to relays
28895 that haven't upgraded to the above "refuse EXTEND requests
28896 to client connections" fix. Now directory authorities can
28897 protect clients from the CVE-2011-2768 issue even if neither
28898 the clients nor the relays have upgraded yet. There's a new
28899 "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
28900 to let us transition smoothly, else tomorrow there would be no
28903 o Major bugfixes (hidden services):
28904 - Improve hidden service robustness: when an attempt to connect to
28905 a hidden service ends, be willing to refetch its hidden service
28906 descriptors from each of the HSDir relays responsible for them
28907 immediately. Previously, we would not consider refetching the
28908 service's descriptors from each HSDir for 15 minutes after the last
28909 fetch, which was inconvenient if the hidden service was not running
28910 during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
28911 - When one of a hidden service's introduction points appears to be
28912 unreachable, stop trying it. Previously, we would keep trying
28913 to build circuits to the introduction point until we lost the
28914 descriptor, usually because the user gave up and restarted Tor.
28915 Partly fixes bug 3825.
28916 - Don't launch a useless circuit after failing to use one of a
28917 hidden service's introduction points. Previously, we would
28918 launch a new introduction circuit, but not set the hidden service
28919 which that circuit was intended to connect to, so it would never
28920 actually be used. A different piece of code would then create a
28921 new introduction circuit correctly. Bug reported by katmagic and
28922 found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
28924 o Major bugfixes (other):
28925 - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
28926 that they initiated. Relays could distinguish incoming bridge
28927 connections from client connections, creating another avenue for
28928 enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
28929 Found by "frosty_un".
28930 - Don't update the AccountingSoftLimitHitAt state file entry whenever
28931 tor gets started. This prevents a wrong average bandwidth
28932 estimate, which would cause relays to always start a new accounting
28933 interval at the earliest possible moment. Fixes bug 2003; bugfix
28934 on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
28935 immensely in tracking this bug down.
28936 - Fix a crash bug when changing node restrictions while a DNS lookup
28937 is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
28940 o Minor bugfixes (on 0.2.2.x and earlier):
28941 - When a hidden service turns an extra service-side introduction
28942 circuit into a general-purpose circuit, free the rend_data and
28943 intro_key fields first, so we won't leak memory if the circuit
28944 is cannibalized for use as another service-side introduction
28945 circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
28946 - Rephrase the log message emitted if the TestSocks check is
28947 successful. Patch from Fabian Keil; fixes bug 4094.
28948 - Bridges now skip DNS self-tests, to act a little more stealthily.
28949 Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
28950 bridges. Patch by "warms0x".
28951 - Remove a confusing dollar sign from the example fingerprint in the
28952 man page, and also make the example fingerprint a valid one. Fixes
28953 bug 4309; bugfix on 0.2.1.3-alpha.
28954 - Fix internal bug-checking logic that was supposed to catch
28955 failures in digest generation so that it will fail more robustly
28956 if we ask for a nonexistent algorithm. Found by Coverity Scan.
28957 Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
28958 - Report any failure in init_keys() calls launched because our
28959 IP address has changed. Spotted by Coverity Scan. Bugfix on
28960 0.1.1.4-alpha; fixes CID 484.
28962 o Minor bugfixes (on 0.2.3.x):
28963 - Fix a bug in configure.in that kept it from building a configure
28964 script with autoconf versions earlier than 2.61. Fixes bug 2430;
28965 bugfix on 0.2.3.1-alpha.
28966 - Don't warn users that they are exposing a client port to the
28967 Internet if they have specified an RFC1918 address. Previously,
28968 we would warn if the user had specified any non-loopback
28969 address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
28970 - Fix memory leaks in the failing cases of the new SocksPort and
28971 ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
28972 fixes coverity CIDs 485, 486, and 487.
28975 - When a hidden service's introduction point times out, consider
28976 trying it again during the next attempt to connect to the
28977 HS. Previously, we would not try it again unless a newly fetched
28978 descriptor contained it. Required by fixes for bugs 1297 and 3825.
28979 - The next version of Windows will be called Windows 8, and it has
28980 a major version of 6, minor version of 2. Correctly identify that
28981 version instead of calling it "Very recent version". Resolves
28982 ticket 4153; reported by funkstar.
28983 - The Bridge Authority now writes statistics on how many bridge
28984 descriptors it gave out in total, and how many unique descriptors
28985 it gave out. It also lists how often the most and least commonly
28986 fetched descriptors were given out, as well as the median and
28987 25th/75th percentile. Implements tickets 4200 and 4294.
28988 - Update to the October 4 2011 Maxmind GeoLite Country database.
28990 o Code simplifications and refactoring:
28991 - Remove some old code to remember statistics about which descriptors
28992 we've served as a directory mirror. The feature wasn't used and
28993 is outdated now that microdescriptors are around.
28994 - Rename Tor functions that turn strings into addresses, so that
28995 "parse" indicates that no hostname resolution occurs, and
28996 "lookup" indicates that hostname resolution may occur. This
28997 should help prevent mistakes in the future. Fixes bug 3512.
29000 Changes in version 0.2.2.34 - 2011-10-26
29001 Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
29002 can deanonymize Tor users. Everybody should upgrade.
29004 The attack relies on four components: 1) Clients reuse their TLS cert
29005 when talking to different relays, so relays can recognize a user by
29006 the identity key in her cert. 2) An attacker who knows the client's
29007 identity key can probe each guard relay to see if that identity key
29008 is connected to that guard relay right now. 3) A variety of active
29009 attacks in the literature (starting from "Low-Cost Traffic Analysis
29010 of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
29011 discover the guard relays that a Tor user visiting the website is using.
29012 4) Clients typically pick three guards at random, so the set of guards
29013 for a given user could well be a unique fingerprint for her. This
29014 release fixes components #1 and #2, which is enough to block the attack;
29015 the other two remain as open research problems. Special thanks to
29016 "frosty_un" for reporting the issue to us!
29018 Clients should upgrade so they are no longer recognizable by the TLS
29019 certs they present. Relays should upgrade so they no longer allow a
29020 remote attacker to probe them to test whether unpatched clients are
29021 currently connected to them.
29023 This release also fixes several vulnerabilities that allow an attacker
29024 to enumerate bridge relays. Some bridge enumeration attacks still
29025 remain; see for example proposal 188.
29027 o Privacy/anonymity fixes (clients):
29028 - Clients and bridges no longer send TLS certificate chains on
29029 outgoing OR connections. Previously, each client or bridge would
29030 use the same cert chain for all outgoing OR connections until
29031 its IP address changes, which allowed any relay that the client
29032 or bridge contacted to determine which entry guards it is using.
29033 Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
29034 - If a relay receives a CREATE_FAST cell on a TLS connection, it
29035 no longer considers that connection as suitable for satisfying a
29036 circuit EXTEND request. Now relays can protect clients from the
29037 CVE-2011-2768 issue even if the clients haven't upgraded yet.
29038 - Directory authorities no longer assign the Guard flag to relays
29039 that haven't upgraded to the above "refuse EXTEND requests
29040 to client connections" fix. Now directory authorities can
29041 protect clients from the CVE-2011-2768 issue even if neither
29042 the clients nor the relays have upgraded yet. There's a new
29043 "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
29044 to let us transition smoothly, else tomorrow there would be no
29047 o Privacy/anonymity fixes (bridge enumeration):
29048 - Bridge relays now do their directory fetches inside Tor TLS
29049 connections, like all the other clients do, rather than connecting
29050 directly to the DirPort like public relays do. Removes another
29051 avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
29052 - Bridges relays now build circuits for themselves in a more similar
29053 way to how clients build them. Removes another avenue for
29054 enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
29055 when bridges were introduced.
29056 - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
29057 that they initiated. Relays could distinguish incoming bridge
29058 connections from client connections, creating another avenue for
29059 enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
29060 Found by "frosty_un".
29063 - Fix a crash bug when changing node restrictions while a DNS lookup
29064 is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
29066 - Don't launch a useless circuit after failing to use one of a
29067 hidden service's introduction points. Previously, we would
29068 launch a new introduction circuit, but not set the hidden service
29069 which that circuit was intended to connect to, so it would never
29070 actually be used. A different piece of code would then create a
29071 new introduction circuit correctly. Bug reported by katmagic and
29072 found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
29075 - Change an integer overflow check in the OpenBSD_Malloc code so
29076 that GCC is less likely to eliminate it as impossible. Patch
29077 from Mansour Moufid. Fixes bug 4059.
29078 - When a hidden service turns an extra service-side introduction
29079 circuit into a general-purpose circuit, free the rend_data and
29080 intro_key fields first, so we won't leak memory if the circuit
29081 is cannibalized for use as another service-side introduction
29082 circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
29083 - Bridges now skip DNS self-tests, to act a little more stealthily.
29084 Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
29085 bridges. Patch by "warms0x".
29086 - Fix internal bug-checking logic that was supposed to catch
29087 failures in digest generation so that it will fail more robustly
29088 if we ask for a nonexistent algorithm. Found by Coverity Scan.
29089 Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
29090 - Report any failure in init_keys() calls launched because our
29091 IP address has changed. Spotted by Coverity Scan. Bugfix on
29092 0.1.1.4-alpha; fixes CID 484.
29094 o Minor bugfixes (log messages and documentation):
29095 - Remove a confusing dollar sign from the example fingerprint in the
29096 man page, and also make the example fingerprint a valid one. Fixes
29097 bug 4309; bugfix on 0.2.1.3-alpha.
29098 - The next version of Windows will be called Windows 8, and it has
29099 a major version of 6, minor version of 2. Correctly identify that
29100 version instead of calling it "Very recent version". Resolves
29101 ticket 4153; reported by funkstar.
29102 - Downgrade log messages about circuit timeout calibration from
29103 "notice" to "info": they don't require or suggest any human
29104 intervention. Patch from Tom Lowenthal. Fixes bug 4063;
29105 bugfix on 0.2.2.14-alpha.
29108 - Turn on directory request statistics by default and include them in
29109 extra-info descriptors. Don't break if we have no GeoIP database.
29110 Backported from 0.2.3.1-alpha; implements ticket 3951.
29111 - Update to the October 4 2011 Maxmind GeoLite Country database.
29114 Changes in version 0.2.1.31 - 2011-10-26
29115 Tor 0.2.1.31 backports important security and privacy fixes for
29116 oldstable. This release is intended only for package maintainers and
29117 others who cannot use the 0.2.2 stable series. All others should be
29118 using Tor 0.2.2.x or newer.
29120 o Security fixes (also included in 0.2.2.x):
29121 - Replace all potentially sensitive memory comparison operations
29122 with versions whose runtime does not depend on the data being
29123 compared. This will help resist a class of attacks where an
29124 adversary can use variations in timing information to learn
29125 sensitive data. Fix for one case of bug 3122. (Safe memcmp
29126 implementation by Robert Ransom based partially on code by DJB.)
29127 - Fix an assert in parsing router descriptors containing IPv6
29128 addresses. This one took down the directory authorities when
29129 somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
29131 o Privacy/anonymity fixes (also included in 0.2.2.x):
29132 - Clients and bridges no longer send TLS certificate chains on
29133 outgoing OR connections. Previously, each client or bridge would
29134 use the same cert chain for all outgoing OR connections until
29135 its IP address changes, which allowed any relay that the client
29136 or bridge contacted to determine which entry guards it is using.
29137 Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
29138 - If a relay receives a CREATE_FAST cell on a TLS connection, it
29139 no longer considers that connection as suitable for satisfying a
29140 circuit EXTEND request. Now relays can protect clients from the
29141 CVE-2011-2768 issue even if the clients haven't upgraded yet.
29142 - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
29143 that they initiated. Relays could distinguish incoming bridge
29144 connections from client connections, creating another avenue for
29145 enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
29146 Found by "frosty_un".
29147 - When receiving a hidden service descriptor, check that it is for
29148 the hidden service we wanted. Previously, Tor would store any
29149 hidden service descriptors that a directory gave it, whether it
29150 wanted them or not. This wouldn't have let an attacker impersonate
29151 a hidden service, but it did let directories pre-seed a client
29152 with descriptors that it didn't want. Bugfix on 0.0.6.
29153 - Avoid linkability based on cached hidden service descriptors: forget
29154 all hidden service descriptors cached as a client when processing a
29155 SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
29156 - Make the bridge directory authority refuse to answer directory
29157 requests for "all" descriptors. It used to include bridge
29158 descriptors in its answer, which was a major information leak.
29159 Found by "piebeer". Bugfix on 0.2.0.3-alpha.
29160 - Don't attach new streams to old rendezvous circuits after SIGNAL
29161 NEWNYM. Previously, we would keep using an existing rendezvous
29162 circuit if it remained open (i.e. if it were kept open by a
29163 long-lived stream, or if a new stream were attached to it before
29164 Tor could notice that it was old and no longer in use). Bugfix on
29165 0.1.1.15-rc; fixes bug 3375.
29167 o Minor bugfixes (also included in 0.2.2.x):
29168 - When we restart our relay, we might get a successful connection
29169 from the outside before we've started our reachability tests,
29170 triggering a warning: "ORPort found reachable, but I have no
29171 routerinfo yet. Failing to inform controller of success." This
29172 bug was harmless unless Tor is running under a controller
29173 like Vidalia, in which case the controller would never get a
29174 REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
29176 - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
29177 enabled. Fixes bug 1526.
29178 - Remove undocumented option "-F" from tor-resolve: it hasn't done
29179 anything since 0.2.1.16-rc.
29180 - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
29181 None of the cases where we did this before were wrong, but by making
29182 this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
29183 - Fix a rare crash bug that could occur when a client was configured
29184 with a large number of bridges. Fixes bug 2629; bugfix on
29185 0.2.1.2-alpha. Bugfix by trac user "shitlei".
29186 - Correct the warning displayed when a rendezvous descriptor exceeds
29187 the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
29189 - Fix an uncommon assertion failure when running with DNSPort under
29190 heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
29191 - When warning about missing zlib development packages during compile,
29192 give the correct package names. Bugfix on 0.2.0.1-alpha.
29193 - Require that introduction point keys and onion keys have public
29194 exponent 65537. Bugfix on 0.2.0.10-alpha.
29195 - Do not crash when our configuration file becomes unreadable, for
29196 example due to a permissions change, between when we start up
29197 and when a controller calls SAVECONF. Fixes bug 3135; bugfix
29199 - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
29201 - Always NUL-terminate the sun_path field of a sockaddr_un before
29202 passing it to the kernel. (Not a security issue: kernels are
29203 smart enough to reject bad sockaddr_uns.) Found by Coverity;
29204 CID #428. Bugfix on Tor 0.2.0.3-alpha.
29205 - Don't stack-allocate the list of supplementary GIDs when we're
29206 about to log them. Stack-allocating NGROUPS_MAX gid_t elements
29207 could take up to 256K, which is way too much stack. Found by
29208 Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
29210 o Minor bugfixes (only in 0.2.1.x):
29211 - Resume using micro-version numbers in 0.2.1.x: our Debian packages
29212 rely on them. Bugfix on 0.2.1.30.
29213 - Use git revisions instead of svn revisions when generating our
29214 micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
29216 o Minor features (also included in 0.2.2.x):
29217 - Adjust the expiration time on our SSL session certificates to
29218 better match SSL certs seen in the wild. Resolves ticket 4014.
29219 - Allow nameservers with IPv6 address. Resolves bug 2574.
29220 - Update to the October 4 2011 Maxmind GeoLite Country database.
29223 Changes in version 0.2.3.5-alpha - 2011-09-28
29224 Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
29225 bridge relays; fixes an assertion error that many users started hitting
29226 today; and adds the ability to refill token buckets more often than
29227 once per second, allowing significant performance improvements.
29230 - Bridge relays now do their directory fetches inside Tor TLS
29231 connections, like all the other clients do, rather than connecting
29232 directly to the DirPort like public relays do. Removes another
29233 avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
29234 - Bridges relays now build circuits for themselves in a more similar
29235 way to how clients build them. Removes another avenue for
29236 enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
29237 when bridges were introduced.
29240 - Fix an "Assertion md->held_by_node == 1 failed" error that could
29241 occur when the same microdescriptor was referenced by two node_t
29242 objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
29244 o Major features (networking):
29245 - Add a new TokenBucketRefillInterval option to refill token buckets
29246 more frequently than once per second. This should improve network
29247 performance, alleviate queueing problems, and make traffic less
29248 bursty. Implements proposal 183; closes ticket 3630. Design by
29249 Florian Tschorsch and Björn Scheuermann; implementation by
29253 - Change an integer overflow check in the OpenBSD_Malloc code so
29254 that GCC is less likely to eliminate it as impossible. Patch
29255 from Mansour Moufid. Fixes bug 4059.
29257 o Minor bugfixes (usability):
29258 - Downgrade log messages about circuit timeout calibration from
29259 "notice" to "info": they don't require or suggest any human
29260 intervention. Patch from Tom Lowenthal. Fixes bug 4063;
29261 bugfix on 0.2.2.14-alpha.
29263 o Minor features (diagnostics):
29264 - When the system call to create a listener socket fails, log the
29265 error message explaining why. This may help diagnose bug 4027.
29268 Changes in version 0.2.3.4-alpha - 2011-09-13
29269 Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
29270 tweak to Tor's TLS handshake that makes relays and bridges that run
29271 this new version reachable from Iran again. It also fixes a few new
29272 bugs in 0.2.3.x, and teaches relays to recognize when they're not
29273 listed in the network consensus and republish.
29275 o Major bugfixes (also part of 0.2.2.33):
29276 - Avoid an assertion failure when reloading a configuration with
29277 TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
29278 3923; bugfix on 0.2.2.25-alpha.
29280 o Minor features (security, also part of 0.2.2.33):
29281 - Check for replays of the public-key encrypted portion of an
29282 INTRODUCE1 cell, in addition to the current check for replays of
29283 the g^x value. This prevents a possible class of active attacks
29284 by an attacker who controls both an introduction point and a
29285 rendezvous point, and who uses the malleability of AES-CTR to
29286 alter the encrypted g^x portion of the INTRODUCE1 cell. We think
29287 that these attacks are infeasible (requiring the attacker to send
29288 on the order of zettabytes of altered cells in a short interval),
29289 but we'd rather block them off in case there are any classes of
29290 this attack that we missed. Reported by Willem Pinckaers.
29292 o Minor features (also part of 0.2.2.33):
29293 - Adjust the expiration time on our SSL session certificates to
29294 better match SSL certs seen in the wild. Resolves ticket 4014.
29295 - Change the default required uptime for a relay to be accepted as
29296 a HSDir (hidden service directory) from 24 hours to 25 hours.
29297 Improves on 0.2.0.10-alpha; resolves ticket 2649.
29298 - Add a VoteOnHidServDirectoriesV2 config option to allow directory
29299 authorities to abstain from voting on assignment of the HSDir
29300 consensus flag. Related to bug 2649.
29301 - Update to the September 6 2011 Maxmind GeoLite Country database.
29303 o Minor bugfixes (also part of 0.2.2.33):
29304 - Demote the 'replay detected' log message emitted when a hidden
29305 service receives the same Diffie-Hellman public key in two different
29306 INTRODUCE2 cells to info level. A normal Tor client can cause that
29307 log message during its normal operation. Bugfix on 0.2.1.6-alpha;
29308 fixes part of bug 2442.
29309 - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
29310 level. There is nothing that a hidden service's operator can do
29311 to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
29313 - Clarify a log message specifying the characters permitted in
29314 HiddenServiceAuthorizeClient client names. Previously, the log
29315 message said that "[A-Za-z0-9+-_]" were permitted; that could have
29316 given the impression that every ASCII character between "+" and "_"
29317 was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
29319 o Build fixes (also part of 0.2.2.33):
29320 - Clean up some code issues that prevented Tor from building on older
29321 BSDs. Fixes bug 3894; reported by "grarpamp".
29322 - Search for a platform-specific version of "ar" when cross-compiling.
29323 Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
29326 - Fix a bug where the SocksPort option (for example) would get
29327 ignored and replaced by the default if a SocksListenAddress
29328 option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
29332 - Relays now try regenerating and uploading their descriptor more
29333 frequently if they are not listed in the consensus, or if the
29334 version of their descriptor listed in the consensus is too
29335 old. This fix should prevent situations where a server declines
29336 to re-publish itself because it has done so too recently, even
29337 though the authorities decided not to list its recent-enough
29338 descriptor. Fix for bug 3327.
29341 - Relays now include a reason for regenerating their descriptors
29342 in an HTTP header when uploading to the authorities. This will
29343 make it easier to debug descriptor-upload issues in the future.
29344 - When starting as root and then changing our UID via the User
29345 control option, and we have a ControlSocket configured, make sure
29346 that the ControlSocket is owned by the same account that Tor will
29347 run under. Implements ticket 3421; fix by Jérémy Bobbio.
29350 - Abort if tor_vasprintf fails in connection_printf_to_buf (a
29351 utility function used in the control-port code). This shouldn't
29352 ever happen unless Tor is completely out of memory, but if it did
29353 happen and Tor somehow recovered from it, Tor could have sent a log
29354 message to a control port in the middle of a reply to a controller
29355 command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
29356 - Make 'FetchUselessDescriptors' cause all descriptor types and
29357 all consensus types (including microdescriptors) to get fetched.
29358 Fixes bug 3851; bugfix on 0.2.3.1-alpha.
29360 o Code refactoring:
29361 - Make a new "entry connection" struct as an internal subtype of "edge
29362 connection", to simplify the code and make exit connections smaller.
29365 Changes in version 0.2.2.33 - 2011-09-13
29366 Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
29367 TLS handshake that makes relays and bridges that run this new version
29368 reachable from Iran again.
29371 - Avoid an assertion failure when reloading a configuration with
29372 TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
29373 3923; bugfix on 0.2.2.25-alpha.
29375 o Minor features (security):
29376 - Check for replays of the public-key encrypted portion of an
29377 INTRODUCE1 cell, in addition to the current check for replays of
29378 the g^x value. This prevents a possible class of active attacks
29379 by an attacker who controls both an introduction point and a
29380 rendezvous point, and who uses the malleability of AES-CTR to
29381 alter the encrypted g^x portion of the INTRODUCE1 cell. We think
29382 that these attacks are infeasible (requiring the attacker to send
29383 on the order of zettabytes of altered cells in a short interval),
29384 but we'd rather block them off in case there are any classes of
29385 this attack that we missed. Reported by Willem Pinckaers.
29388 - Adjust the expiration time on our SSL session certificates to
29389 better match SSL certs seen in the wild. Resolves ticket 4014.
29390 - Change the default required uptime for a relay to be accepted as
29391 a HSDir (hidden service directory) from 24 hours to 25 hours.
29392 Improves on 0.2.0.10-alpha; resolves ticket 2649.
29393 - Add a VoteOnHidServDirectoriesV2 config option to allow directory
29394 authorities to abstain from voting on assignment of the HSDir
29395 consensus flag. Related to bug 2649.
29396 - Update to the September 6 2011 Maxmind GeoLite Country database.
29398 o Minor bugfixes (documentation and log messages):
29399 - Correct the man page to explain that HashedControlPassword and
29400 CookieAuthentication can both be set, in which case either method
29401 is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
29402 when we decided to allow these config options to both be set. Issue
29403 raised by bug 3898.
29404 - Demote the 'replay detected' log message emitted when a hidden
29405 service receives the same Diffie-Hellman public key in two different
29406 INTRODUCE2 cells to info level. A normal Tor client can cause that
29407 log message during its normal operation. Bugfix on 0.2.1.6-alpha;
29408 fixes part of bug 2442.
29409 - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
29410 level. There is nothing that a hidden service's operator can do
29411 to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
29413 - Clarify a log message specifying the characters permitted in
29414 HiddenServiceAuthorizeClient client names. Previously, the log
29415 message said that "[A-Za-z0-9+-_]" were permitted; that could have
29416 given the impression that every ASCII character between "+" and "_"
29417 was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
29420 - Provide a substitute implementation of lround() for MSVC, which
29421 apparently lacks it. Patch from Gisle Vanem.
29422 - Clean up some code issues that prevented Tor from building on older
29423 BSDs. Fixes bug 3894; reported by "grarpamp".
29424 - Search for a platform-specific version of "ar" when cross-compiling.
29425 Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
29428 Changes in version 0.2.3.3-alpha - 2011-09-01
29429 Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
29430 security, and provides client-side support for the microdescriptor
29431 and optimistic data features introduced earlier in the 0.2.3.x
29432 series. It also includes numerous critical bugfixes in the (optional)
29433 bufferevent-based networking backend.
29435 o Major features (stream isolation):
29436 - You can now configure Tor so that streams from different
29437 applications are isolated on different circuits, to prevent an
29438 attacker who sees your streams as they leave an exit node from
29439 linking your sessions to one another. To do this, choose some way
29440 to distinguish the applications: have them connect to different
29441 SocksPorts, or have one of them use SOCKS4 while the other uses
29442 SOCKS5, or have them pass different authentication strings to the
29443 SOCKS proxy. Then, use the new SocksPort syntax to configure the
29444 degree of isolation you need. This implements Proposal 171.
29445 - There's a new syntax for specifying multiple client ports (such as
29446 SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
29447 multiple *Port entries with full addr:port syntax on each.
29448 The old *ListenAddress format is still supported, but you can't
29449 mix it with the new *Port syntax.
29451 o Major features (other):
29452 - Enable microdescriptor fetching by default for clients. This allows
29453 clients to download a much smaller amount of directory information.
29454 To disable it (and go back to the old-style consensus and
29455 descriptors), set "UseMicrodescriptors 0" in your torrc file.
29456 - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
29457 "PortForwarding" config option), now supports Windows.
29458 - When using an exit relay running 0.2.3.x, clients can now
29459 "optimistically" send data before the exit relay reports that
29460 the stream has opened. This saves a round trip when starting
29461 connections where the client speaks first (such as web browsing).
29462 This behavior is controlled by a consensus parameter (currently
29463 disabled). To turn it on or off manually, use the "OptimisticData"
29464 torrc option. Implements proposal 181; code by Ian Goldberg.
29466 o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
29467 - When using IOCP on Windows, we need to enable Libevent windows
29469 - The IOCP backend now works even when the user has not specified
29470 the (internal, debugging-only) _UseFilteringSSLBufferevents option.
29471 Fixes part of bug 3752.
29472 - Correctly record the bytes we've read and written when using
29473 bufferevents, so that we can include them in our bandwidth history
29474 and advertised bandwidth. Fixes bug 3803.
29475 - Apply rate-limiting only at the bottom of a chain of filtering
29476 bufferevents. This prevents us from filling up internal read
29477 buffers and violating rate-limits when filtering bufferevents
29478 are enabled. Fixes part of bug 3804.
29479 - Add high-watermarks to the output buffers for filtered
29480 bufferevents. This prevents us from filling up internal write
29481 buffers and wasting CPU cycles when filtering bufferevents are
29482 enabled. Fixes part of bug 3804.
29483 - Correctly notice when data has been written from a bufferevent
29484 without flushing it completely. Fixes bug 3805.
29485 - Fix a bug where server-side tunneled bufferevent-based directory
29486 streams would get closed prematurely. Fixes bug 3814.
29487 - Fix a use-after-free error with per-connection rate-limiting
29488 buckets. Fixes bug 3888.
29490 o Major bugfixes (also part of 0.2.2.31-rc):
29491 - If we're configured to write our ControlPorts to disk, only write
29492 them after switching UID and creating the data directory. This way,
29493 we don't fail when starting up with a nonexistent DataDirectory
29494 and a ControlPortWriteToFile setting based on that directory. Fixes
29495 bug 3747; bugfix on Tor 0.2.2.26-beta.
29498 - Added a new CONF_CHANGED event so that controllers can be notified
29499 of any configuration changes made by other controllers, or by the
29500 user. Implements ticket 1692.
29501 - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
29502 leak when using bufferevents, and lets Libevent worry about how to
29503 best copy data out of a buffer.
29504 - Replace files in stats/ rather than appending to them. Now that we
29505 include statistics in extra-info descriptors, it makes no sense to
29506 keep old statistics forever. Implements ticket 2930.
29508 o Minor features (build compatibility):
29509 - Limited, experimental support for building with nmake and MSVC.
29510 - Provide a substitute implementation of lround() for MSVC, which
29511 apparently lacks it. Patch from Gisle Vanem.
29513 o Minor features (also part of 0.2.2.31-rc):
29514 - Update to the August 2 2011 Maxmind GeoLite Country database.
29516 o Minor bugfixes (on 0.2.3.x-alpha):
29517 - Fix a spurious warning when parsing SOCKS requests with
29518 bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
29519 - Get rid of a harmless warning that could happen on relays running
29520 with bufferevents. The warning was caused by someone doing an http
29521 request to a relay's orport. Also don't warn for a few related
29522 non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
29524 o Minor bugfixes (on 2.2.x and earlier):
29525 - Correct the man page to explain that HashedControlPassword and
29526 CookieAuthentication can both be set, in which case either method
29527 is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
29528 when we decided to allow these config options to both be set. Issue
29529 raised by bug 3898.
29530 - The "--quiet" and "--hush" options now apply not only to Tor's
29531 behavior before logs are configured, but also to Tor's behavior in
29532 the absence of configured logs. Fixes bug 3550; bugfix on
29535 o Minor bugfixes (also part of 0.2.2.31-rc):
29536 - Write several files in text mode, on OSes that distinguish text
29537 mode from binary mode (namely, Windows). These files are:
29538 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
29539 that collect those statistics; 'client_keys' and 'hostname' for
29540 hidden services that use authentication; and (in the tor-gencert
29541 utility) newly generated identity and signing keys. Previously,
29542 we wouldn't specify text mode or binary mode, leading to an
29543 assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
29544 the DirRecordUsageByCountry option which would have triggered
29545 the assertion failure was added), although this assertion failure
29546 would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
29547 - Selectively disable deprecation warnings on OS X because Lion
29548 started deprecating the shipped copy of openssl. Fixes bug 3643.
29549 - Remove an extra pair of quotation marks around the error
29550 message in control-port STATUS_GENERAL BUG events. Bugfix on
29551 0.1.2.6-alpha; fixes bug 3732.
29552 - When unable to format an address as a string, report its value
29553 as "???" rather than reusing the last formatted address. Bugfix
29556 o Code simplifications and refactoring:
29557 - Rewrite the listener-selection logic so that parsing which ports
29558 we want to listen on is now separate from binding to the ports
29562 - Building Tor with bufferevent support now requires Libevent
29563 2.0.13-stable or later. Previous versions of Libevent had bugs in
29564 SSL-related bufferevents and related issues that would make Tor
29565 work badly with bufferevents. Requiring 2.0.13-stable also allows
29566 Tor with bufferevents to take advantage of Libevent APIs
29567 introduced after 2.0.8-rc.
29570 Changes in version 0.2.2.32 - 2011-08-27
29571 The Tor 0.2.2 release series is dedicated to the memory of Andreas
29572 Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
29573 a founder of the PETS community, a leader in our field, a mentor,
29574 and a friend. He left us with these words: "I had the possibility
29575 to contribute to this world that is not as it should be. I hope I
29576 could help in some areas to make the world a better place, and that
29577 I could also encourage other people to be engaged in improving the
29578 world. Please, stay engaged. This world needs you, your love, your
29579 initiative -- now I cannot be part of that anymore."
29581 Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
29582 ready. More than two years in the making, this release features improved
29583 client performance and hidden service reliability, better compatibility
29584 for Android, correct behavior for bridges that listen on more than
29585 one address, more extensible and flexible directory object handling,
29586 better reporting of network statistics, improved code security, and
29587 many many other features and bugfixes.
29590 Changes in version 0.2.2.31-rc - 2011-08-17
29591 Tor 0.2.2.31-rc is the second and hopefully final release candidate
29592 for the Tor 0.2.2.x series.
29595 - Remove an extra pair of quotation marks around the error
29596 message in control-port STATUS_GENERAL BUG events. Bugfix on
29597 0.1.2.6-alpha; fixes bug 3732.
29598 - If we're configured to write our ControlPorts to disk, only write
29599 them after switching UID and creating the data directory. This way,
29600 we don't fail when starting up with a nonexistent DataDirectory
29601 and a ControlPortWriteToFile setting based on that directory. Fixes
29602 bug 3747; bugfix on Tor 0.2.2.26-beta.
29605 - Update to the August 2 2011 Maxmind GeoLite Country database.
29608 - Allow GETINFO fingerprint to return a fingerprint even when
29609 we have not yet built a router descriptor. Fixes bug 3577;
29610 bugfix on 0.2.0.1-alpha.
29611 - Write several files in text mode, on OSes that distinguish text
29612 mode from binary mode (namely, Windows). These files are:
29613 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
29614 that collect those statistics; 'client_keys' and 'hostname' for
29615 hidden services that use authentication; and (in the tor-gencert
29616 utility) newly generated identity and signing keys. Previously,
29617 we wouldn't specify text mode or binary mode, leading to an
29618 assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
29619 the DirRecordUsageByCountry option which would have triggered
29620 the assertion failure was added), although this assertion failure
29621 would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
29622 - Selectively disable deprecation warnings on OS X because Lion
29623 started deprecating the shipped copy of openssl. Fixes bug 3643.
29624 - When unable to format an address as a string, report its value
29625 as "???" rather than reusing the last formatted address. Bugfix
29629 Changes in version 0.2.3.2-alpha - 2011-07-18
29630 Tor 0.2.3.2-alpha introduces two new experimental features:
29631 microdescriptors and pluggable transports. It also continues cleaning
29632 up a variety of recently introduced features.
29635 - Clients can now use microdescriptors instead of regular descriptors
29636 to build circuits. Microdescriptors are authority-generated
29637 summaries of regular descriptors' contents, designed to change
29638 very rarely (see proposal 158 for details). This feature is
29639 designed to save bandwidth, especially for clients on slow internet
29640 connections. It's off by default for now, since nearly no caches
29641 support it, but it will be on-by-default for clients in a future
29642 version. You can use the UseMicrodescriptors option to turn it on.
29643 - Tor clients using bridges can now be configured to use a separate
29644 'transport' proxy for each bridge. This approach helps to resist
29645 censorship by allowing bridges to use protocol obfuscation
29646 plugins. It implements part of proposal 180. Implements ticket 2841.
29647 - While we're trying to bootstrap, record how many TLS connections
29648 fail in each state, and report which states saw the most failures
29649 in response to any bootstrap failures. This feature may speed up
29650 diagnosis of censorship events. Implements ticket 3116.
29652 o Major bugfixes (on 0.2.3.1-alpha):
29653 - When configuring a large set of nodes in EntryNodes (as with
29654 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
29655 random subset to be guards, and choose them in random
29656 order. Fixes bug 2798.
29657 - Tor could crash when remembering a consensus in a non-used consensus
29658 flavor without having a current consensus set. Fixes bug 3361.
29659 - Comparing an unknown address to a microdescriptor's shortened exit
29660 policy would always give a "rejected" result. Fixes bug 3599.
29661 - Using microdescriptors as a client no longer prevents Tor from
29662 uploading and downloading hidden service descriptors. Fixes
29666 - Allow nameservers with IPv6 address. Resolves bug 2574.
29667 - Accept attempts to include a password authenticator in the
29668 handshake, as supported by SOCKS5. This handles SOCKS clients that
29669 don't know how to omit a password when authenticating. Resolves
29671 - When configuring a large set of nodes in EntryNodes, and there are
29672 enough of them listed as Guard so that we don't need to consider
29673 the non-guard entries, prefer the ones listed with the Guard flag.
29674 - Check for and recover from inconsistency in the microdescriptor
29675 cache. This will make it harder for us to accidentally free a
29676 microdescriptor without removing it from the appropriate data
29677 structures. Fixes issue 3135; issue noted by "wanoskarnet".
29678 - Log SSL state transitions at log level DEBUG, log domain
29679 HANDSHAKE. This can be useful for debugging censorship events.
29680 Implements ticket 3264.
29681 - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
29682 implements ticket 3439.
29684 o Minor bugfixes (on 0.2.3.1-alpha):
29685 - Do not free all general-purpose regular descriptors just
29686 because microdescriptor use is enabled. Fixes bug 3113.
29687 - Correctly link libevent_openssl when --enable-static-libevent
29688 is passed to configure. Fixes bug 3118.
29689 - Bridges should not complain during their heartbeat log messages that
29690 they are unlisted in the consensus: that's more or less the point
29691 of being a bridge. Fixes bug 3183.
29692 - Report a SIGNAL event to controllers when acting on a delayed
29693 SIGNAL NEWNYM command. Previously, we would report a SIGNAL
29694 event to the controller if we acted on a SIGNAL NEWNYM command
29695 immediately, and otherwise not report a SIGNAL event for the
29696 command at all. Fixes bug 3349.
29697 - Fix a crash when handling the SIGNAL controller command or
29698 reporting ERR-level status events with bufferevents enabled. Found
29699 by Robert Ransom. Fixes bug 3367.
29700 - Always ship the tor-fw-helper manpage in our release tarballs.
29701 Fixes bug 3389. Reported by Stephen Walker.
29702 - Fix a class of double-mark-for-close bugs when bufferevents
29703 are enabled. Fixes bug 3403.
29704 - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
29705 - Add SIGNAL to the list returned by the 'GETINFO events/names'
29706 control-port command. Fixes part of bug 3465.
29707 - Prevent using negative indices during unit test runs when read_all()
29708 fails. Spotted by coverity.
29709 - Fix a rare memory leak when checking the nodelist without it being
29710 present. Found by coverity.
29711 - Only try to download a microdescriptor-flavored consensus from
29712 a directory cache that provides them.
29714 o Minor bugfixes (on 0.2.2.x and earlier):
29715 - Assert that hidden-service-related operations are not performed
29716 using single-hop circuits. Previously, Tor would assert that
29717 client-side streams are not attached to single-hop circuits,
29718 but not that other sensitive operations on the client and service
29719 side are not performed using single-hop circuits. Fixes bug 3332;
29721 - Don't publish a new relay descriptor when we reload our onion key,
29722 unless the onion key has actually changed. Fixes bug 3263 and
29723 resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
29724 - Allow GETINFO fingerprint to return a fingerprint even when
29725 we have not yet built a router descriptor. Fixes bug 3577;
29726 bugfix on 0.2.0.1-alpha.
29727 - Make 'tor --digests' list hashes of all Tor source files. Bugfix
29728 on 0.2.2.4-alpha; fixes bug 3427.
29730 o Code simplification and refactoring:
29731 - Use tor_sscanf() in place of scanf() in more places through the
29732 code. This makes us a little more locale-independent, and
29733 should help shut up code-analysis tools that can't tell
29734 a safe sscanf string from a dangerous one.
29735 - Use tt_assert(), not tor_assert(), for checking for test failures.
29736 This makes the unit tests more able to go on in the event that
29738 - Split connection_about_to_close() into separate functions for each
29742 - On Windows, we now define the _WIN32_WINNT macros only if they
29743 are not already defined. This lets the person building Tor decide,
29744 if they want, to require a later version of Windows.
29747 Changes in version 0.2.2.30-rc - 2011-07-07
29748 Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
29749 series. It fixes a few smaller bugs, but generally appears stable.
29750 Please test it and let us know whether it is!
29753 - Send a SUCCEEDED stream event to the controller when a reverse
29754 resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
29755 discovered by katmagic.
29756 - Always NUL-terminate the sun_path field of a sockaddr_un before
29757 passing it to the kernel. (Not a security issue: kernels are
29758 smart enough to reject bad sockaddr_uns.) Found by Coverity;
29759 CID #428. Bugfix on Tor 0.2.0.3-alpha.
29760 - Don't stack-allocate the list of supplementary GIDs when we're
29761 about to log them. Stack-allocating NGROUPS_MAX gid_t elements
29762 could take up to 256K, which is way too much stack. Found by
29763 Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
29764 - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
29765 events/names' control-port command. Bugfix on 0.2.2.9-alpha;
29766 fixes part of bug 3465.
29767 - Fix a memory leak when receiving a descriptor for a hidden
29768 service we didn't ask for. Found by Coverity; CID #30. Bugfix
29772 - Update to the July 1 2011 Maxmind GeoLite Country database.
29775 Changes in version 0.2.2.29-beta - 2011-06-20
29776 Tor 0.2.2.29-beta reverts an accidental behavior change for users who
29777 have bridge lines in their torrc but don't want to use them; gets
29778 us closer to having the control socket feature working on Debian;
29779 and fixes a variety of smaller bugs.
29782 - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
29783 When we changed the default behavior to "use bridges if any
29784 are listed in the torrc", we surprised users who had bridges
29785 in their torrc files but who didn't actually want to use them.
29786 Partial resolution for bug 3354.
29789 - Don't attach new streams to old rendezvous circuits after SIGNAL
29790 NEWNYM. Previously, we would keep using an existing rendezvous
29791 circuit if it remained open (i.e. if it were kept open by a
29792 long-lived stream, or if a new stream were attached to it before
29793 Tor could notice that it was old and no longer in use). Bugfix on
29794 0.1.1.15-rc; fixes bug 3375.
29797 - Fix a bug when using ControlSocketsGroupWritable with User. The
29798 directory's group would be checked against the current group, not
29799 the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
29800 bugfix on 0.2.2.26-beta.
29801 - Make connection_printf_to_buf()'s behavior sane. Its callers
29802 expect it to emit a CRLF iff the format string ends with CRLF;
29803 it actually emitted a CRLF iff (a) the format string ended with
29804 CRLF or (b) the resulting string was over 1023 characters long or
29805 (c) the format string did not end with CRLF *and* the resulting
29806 string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
29807 fixes part of bug 3407.
29808 - Make send_control_event_impl()'s behavior sane. Its callers
29809 expect it to always emit a CRLF at the end of the string; it
29810 might have emitted extra control characters as well. Bugfix on
29811 0.1.1.9-alpha; fixes another part of bug 3407.
29812 - Make crypto_rand_int() check the value of its input correctly.
29813 Previously, it accepted values up to UINT_MAX, but could return a
29814 negative number if given a value above INT_MAX+1. Found by George
29815 Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
29816 - Avoid a segfault when reading a malformed circuit build state
29817 with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
29819 - When asked about a DNS record type we don't support via a
29820 client DNSPort, reply with NOTIMPL rather than an empty
29821 reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
29822 - Fix a rare memory leak during stats writing. Found by coverity.
29825 - Update to the June 1 2011 Maxmind GeoLite Country database.
29827 o Code simplifications and refactoring:
29828 - Remove some dead code as indicated by coverity.
29829 - Remove a few dead assignments during router parsing. Found by
29831 - Add some forgotten return value checks during unit tests. Found
29833 - Don't use 1-bit wide signed bit fields. Found by coverity.
29836 Changes in version 0.2.2.28-beta - 2011-06-04
29837 Tor 0.2.2.28-beta makes great progress towards a new stable release: we
29838 fixed a big bug in whether relays stay in the consensus consistently,
29839 we moved closer to handling bridges and hidden services correctly,
29840 and we started the process of better handling the dreaded "my Vidalia
29841 died, and now my Tor demands a password when I try to reconnect to it"
29845 - Don't decide to make a new descriptor when receiving a HUP signal.
29846 This bug has caused a lot of 0.2.2.x relays to disappear from the
29847 consensus periodically. Fixes the most common case of triggering
29848 bug 1810; bugfix on 0.2.2.7-alpha.
29849 - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
29850 - Don't try to build descriptors if "ORPort auto" is set and we
29851 don't know our actual ORPort yet. Fix for bug 3216; bugfix on
29853 - Resolve a crash that occurred when setting BridgeRelay to 1 with
29854 accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
29855 - Apply circuit timeouts to opened hidden-service-related circuits
29856 based on the correct start time. Previously, we would apply the
29857 circuit build timeout based on time since the circuit's creation;
29858 it was supposed to be applied based on time since the circuit
29859 entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
29860 - Use the same circuit timeout for client-side introduction
29861 circuits as for other four-hop circuits, rather than the timeout
29862 for single-hop directory-fetch circuits; the shorter timeout may
29863 have been appropriate with the static circuit build timeout in
29864 0.2.1.x and earlier, but caused many hidden service access attempts
29865 to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
29866 on 0.2.2.2-alpha; fixes another part of bug 1297.
29867 - In ticket 2511 we fixed a case where you could use an unconfigured
29868 bridge if you had configured it as a bridge the last time you ran
29869 Tor. Now fix another edge case: if you had configured it as a bridge
29870 but then switched to a different bridge via the controller, you
29871 would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
29875 - Add an __OwningControllerProcess configuration option and a
29876 TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
29877 that when it exits, Tor will shut down. Implements feature 3049.
29878 - If "UseBridges 1" is set and no bridges are configured, Tor will
29879 now refuse to build any circuits until some bridges are set.
29880 If "UseBridges auto" is set, Tor will use bridges if they are
29881 configured and we are not running as a server, but otherwise will
29882 make circuits as usual. The new default is "auto". Patch by anonym,
29883 so the Tails LiveCD can stop automatically revealing you as a Tor
29887 - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
29888 - Remove a trailing asterisk from "exit-policy/default" in the
29889 output of the control port command "GETINFO info/names". Bugfix
29891 - Use a wide type to hold sockets when built for 64-bit Windows builds.
29893 - Warn when the user configures two HiddenServiceDir lines that point
29894 to the same directory. Bugfix on 0.0.6 (the version introducing
29895 HiddenServiceDir); fixes bug 3289.
29896 - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
29897 part of bug 2748; bugfix on 0.2.0.10-alpha.
29898 - Log malformed requests for rendezvous descriptors as protocol
29899 warnings, not warnings. Also, use a more informative log message
29900 in case someone sees it at log level warning without prior
29901 info-level messages. Fixes the other part of bug 2748; bugfix
29903 - Clear the table recording the time of the last request for each
29904 hidden service descriptor from each HS directory on SIGNAL NEWNYM.
29905 Previously, we would clear our HS descriptor cache on SIGNAL
29906 NEWNYM, but if we had previously retrieved a descriptor (or tried
29907 to) from every directory responsible for it, we would refuse to
29908 fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
29910 - Fix a log message that said "bits" while displaying a value in
29911 bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
29913 - When checking for 1024-bit keys, check for 1024 bits, not 128
29914 bytes. This allows Tor to correctly discard keys of length 1017
29915 through 1023. Bugfix on 0.0.9pre5.
29918 - Relays now log the reason for publishing a new relay descriptor,
29919 so we have a better chance of hunting down instances of bug 1810.
29920 Resolves ticket 3252.
29921 - Revise most log messages that refer to nodes by nickname to
29922 instead use the "$key=nickname at address" format. This should be
29923 more useful, especially since nicknames are less and less likely
29924 to be unique. Resolves ticket 3045.
29925 - Log (at info level) when purging pieces of hidden-service-client
29926 state because of SIGNAL NEWNYM.
29929 - Remove undocumented option "-F" from tor-resolve: it hasn't done
29930 anything since 0.2.1.16-rc.
29933 Changes in version 0.2.2.27-beta - 2011-05-18
29934 Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
29935 release, and also adds a few more general bugfixes.
29938 - Fix a crash bug when changing bridges in a running Tor process.
29939 Fixes bug 3213; bugfix on 0.2.2.26-beta.
29940 - When the controller configures a new bridge, don't wait 10 to 60
29941 seconds before trying to fetch its descriptor. Bugfix on
29942 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
29945 - Require that onion keys have exponent 65537 in microdescriptors too.
29946 Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
29947 - Tor used to limit HttpProxyAuthenticator values to 48 characters.
29948 Changed the limit to 512 characters by removing base64 newlines.
29949 Fixes bug 2752. Fix by Michael Yakubovich.
29950 - When a client starts or stops using bridges, never use a circuit
29951 that was built before the configuration change. This behavior could
29952 put at risk a user who uses bridges to ensure that her traffic
29953 only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
29957 Changes in version 0.2.2.26-beta - 2011-05-17
29958 Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
29959 also introduces a new "socksport auto" approach that should make it
29960 easier to run multiple Tors on the same system, and does a lot of
29961 cleanup to get us closer to a release candidate.
29963 o Security/privacy fixes:
29964 - Replace all potentially sensitive memory comparison operations
29965 with versions whose runtime does not depend on the data being
29966 compared. This will help resist a class of attacks where an
29967 adversary can use variations in timing information to learn
29968 sensitive data. Fix for one case of bug 3122. (Safe memcmp
29969 implementation by Robert Ransom based partially on code by DJB.)
29970 - When receiving a hidden service descriptor, check that it is for
29971 the hidden service we wanted. Previously, Tor would store any
29972 hidden service descriptors that a directory gave it, whether it
29973 wanted them or not. This wouldn't have let an attacker impersonate
29974 a hidden service, but it did let directories pre-seed a client
29975 with descriptors that it didn't want. Bugfix on 0.0.6.
29976 - On SIGHUP, do not clear out all TrackHostExits mappings, client
29977 DNS cache entries, and virtual address mappings: that's what
29978 NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
29981 - The options SocksPort, ControlPort, and so on now all accept a
29982 value "auto" that opens a socket on an OS-selected port. A
29983 new ControlPortWriteToFile option tells Tor to write its
29984 actual control port or ports to a chosen file. If the option
29985 ControlPortFileGroupReadable is set, the file is created as
29986 group-readable. Now users can run two Tor clients on the same
29987 system without needing to manually mess with parameters. Resolves
29988 part of ticket 3076.
29989 - Set SO_REUSEADDR on all sockets, not just listeners. This should
29990 help busy exit nodes avoid running out of useable ports just
29991 because all the ports have been used in the near past. Resolves
29995 - New "GETINFO net/listeners/(type)" controller command to return
29996 a list of addresses and ports that are bound for listeners for a
29997 given connection type. This is useful when the user has configured
29998 "SocksPort auto" and the controller needs to know which port got
29999 chosen. Resolves another part of ticket 3076.
30000 - Add a new ControlSocketsGroupWritable configuration option: when
30001 it is turned on, ControlSockets are group-writeable by the default
30002 group of the current user. Patch by Jérémy Bobbio; implements
30004 - Tor now refuses to create a ControlSocket in a directory that is
30005 world-readable (or group-readable if ControlSocketsGroupWritable
30006 is 0). This is necessary because some operating systems do not
30007 enforce permissions on an AF_UNIX sockets. Permissions on the
30008 directory holding the socket, however, seems to work everywhere.
30009 - Rate-limit a warning about failures to download v2 networkstatus
30010 documents. Resolves part of bug 1352.
30011 - Backport code from 0.2.3.x that allows directory authorities to
30012 clean their microdescriptor caches. Needed to resolve bug 2230.
30013 - When an HTTPS proxy reports "403 Forbidden", we now explain
30014 what it means rather than calling it an unexpected status code.
30015 Closes bug 2503. Patch from Michael Yakubovich.
30016 - Update to the May 1 2011 Maxmind GeoLite Country database.
30019 - Authorities now clean their microdesc cache periodically and when
30020 reading from disk initially, not only when adding new descriptors.
30021 This prevents a bug where we could lose microdescriptors. Bugfix
30022 on 0.2.2.6-alpha. Fixes bug 2230.
30023 - Do not crash when our configuration file becomes unreadable, for
30024 example due to a permissions change, between when we start up
30025 and when a controller calls SAVECONF. Fixes bug 3135; bugfix
30027 - Avoid a bug that would keep us from replacing a microdescriptor
30028 cache on Windows. (We would try to replace the file while still
30029 holding it open. That's fine on Unix, but Windows doesn't let us
30030 do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
30031 - Add missing explanations for the authority-related torrc options
30032 RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
30033 man page. Resolves issue 2379.
30034 - As an authority, do not upload our own vote or signature set to
30035 ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
30036 it would get flagged as a duplicate. Resolves bug 3026.
30037 - Accept hidden service descriptors if we think we might be a hidden
30038 service directory, regardless of what our consensus says. This
30039 helps robustness, since clients and hidden services can sometimes
30040 have a more up-to-date view of the network consensus than we do,
30041 and if they think that the directory authorities list us a HSDir,
30042 we might actually be one. Related to bug 2732; bugfix on
30044 - When a controller changes TrackHostExits, remove mappings for
30045 hosts that should no longer have their exits tracked. Bugfix on
30047 - When a controller changes VirtualAddrNetwork, remove any mappings
30048 for hosts that were automapped to the old network. Bugfix on
30050 - When a controller changes one of the AutomapHosts* options, remove
30051 any mappings for hosts that should no longer be automapped. Bugfix
30053 - Do not reset the bridge descriptor download status every time we
30054 re-parse our configuration or get a configuration change. Fixes
30055 bug 3019; bugfix on 0.2.0.3-alpha.
30057 o Minor bugfixes (code cleanup):
30058 - When loading the microdesc journal, remember its current size.
30059 In 0.2.2, this helps prevent the microdesc journal from growing
30060 without limit on authorities (who are the only ones to use it in
30061 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
30062 Fix posted by "cypherpunks."
30063 - The microdesc journal is supposed to get rebuilt only if it is
30064 at least _half_ the length of the store, not _twice_ the length
30065 of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
30066 - Fix a potential null-pointer dereference while computing a
30067 consensus. Bugfix on 0.2.0.3-alpha, found with the help of
30069 - Avoid a possible null-pointer dereference when rebuilding the mdesc
30070 cache without actually having any descriptors to cache. Bugfix on
30071 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
30072 - If we fail to compute the identity digest of a v3 legacy keypair,
30073 warn, and don't use a buffer-full of junk instead. Bugfix on
30074 0.2.1.1-alpha; fixes bug 3106.
30075 - Resolve an untriggerable issue in smartlist_string_num_isin(),
30076 where if the function had ever in the future been used to check
30077 for the presence of a too-large number, it would have given an
30078 incorrect result. (Fortunately, we only used it for 16-bit
30079 values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
30080 - Require that introduction point keys and onion handshake keys
30081 have a public exponent of 65537. Starts to fix bug 3207; bugfix
30084 o Removed features:
30085 - Caches no longer download and serve v2 networkstatus documents
30086 unless FetchV2Networkstatus flag is set: these documents haven't
30087 haven't been used by clients or relays since 0.2.0.x. Resolves
30091 Changes in version 0.2.3.1-alpha - 2011-05-05
30092 Tor 0.2.3.1-alpha adds some new experimental features, including support
30093 for an improved network IO backend, IOCP networking on Windows,
30094 microdescriptor caching, "fast-start" support for streams, and automatic
30095 home router configuration. There are also numerous internal improvements
30096 to try to make the code easier for developers to work with.
30098 This is the first alpha release in a new series, so expect there to be
30099 bugs. Users who would rather test out a more stable branch should
30100 stay with 0.2.2.x for now.
30103 - Tor can now optionally build with the "bufferevents" buffered IO
30104 backend provided by Libevent 2. To use this feature, make sure you
30105 have the latest possible version of Libevent, and pass the
30106 --enable-bufferevents flag to configure when building Tor from
30107 source. This feature will make our networking code more flexible,
30108 let us stack layers on each other, and let us use more efficient
30109 zero-copy transports where available.
30110 - As an experimental feature, Tor can use IOCP for networking on Windows.
30111 Once this code is tuned and optimized, it promises much better
30112 performance than the select-based backend we've used in the past. To
30113 try this feature, you must build Tor with Libevent 2, configure Tor
30114 with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
30115 your torrc. There are known bugs here: only try this if you can help
30116 debug it as it breaks.
30117 - The EntryNodes option can now include country codes like {de} or IP
30118 addresses or network masks. Previously we had disallowed these options
30119 because we didn't have an efficient way to keep the list up to
30120 date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
30121 - Exit nodes now accept and queue data on not-yet-connected streams.
30122 Previously, the client wasn't allowed to send data until the stream was
30123 connected, which slowed down all connections. This change will enable
30124 clients to perform a "fast-start" on streams and send data without
30125 having to wait for a confirmation that the stream has opened. (Patch
30126 from Ian Goldberg; implements the server side of Proposal 174.)
30127 - Tor now has initial support for automatic port mapping on the many
30128 home routers that support NAT-PMP or UPnP. (Not yet supported on
30129 Windows). To build the support code, you'll need to have libnatpnp
30130 library and/or the libminiupnpc library, and you'll need to enable the
30131 feature specifically by passing "--enable-upnp" and/or
30132 "--enable-natpnp" to configure. To turn it on, use the new
30133 PortForwarding option.
30134 - Caches now download, cache, and serve multiple "flavors" of the
30135 consensus, including a flavor that describes microdescriptors.
30136 - Caches now download, cache, and serve microdescriptors -- small
30137 summaries of router descriptors that are authenticated by all of the
30138 directory authorities. Once enough caches are running this code,
30139 clients will be able to save significant amounts of directory bandwidth
30140 by downloading microdescriptors instead of router descriptors.
30143 - Make logging resolution configurable with a new LogTimeGranularity
30144 option, and change the default from 1 millisecond to 1 second.
30145 Implements enhancement 1668.
30146 - We log which torrc file we're using on startup. Implements ticket
30148 - Ordinarily, Tor does not count traffic from private addresses (like
30149 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
30150 There is now a new option, CountPrivateBandwidth, to disable this
30151 behavior. Patch from Daniel Cagara.
30152 - New --enable-static-tor configure option for building Tor as
30153 statically as possible. Idea, general hackery and thoughts from
30154 Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
30156 - If you set the NumCPUs option to 0, Tor will now try to detect how
30157 many CPUs you have. This is the new default behavior.
30158 - Turn on directory request statistics by default and include them in
30159 extra-info descriptors. Don't break if we have no GeoIP database.
30160 - Relays that set "ConnDirectionStatistics 1" write statistics on the
30161 bidirectional use of connections to disk every 24 hours.
30162 - Add a GeoIP file digest to the extra-info descriptor. Implements
30164 - The NodeFamily option -- which let you declare that you want to
30165 consider nodes to be part of a family whether they list themselves
30166 that way or not -- now allows IP address ranges and country codes.
30167 - Add a new 'Heartbeat' log message type to periodically log a message
30168 describing Tor's status at level Notice. This feature is meant for
30169 operators who log at notice, and want to make sure that their Tor
30170 server is still working. Implementation by George Kadianakis.
30172 o Minor bugfixes (on 0.2.2.25-alpha):
30173 - When loading the microdesc journal, remember its current size.
30174 In 0.2.2, this helps prevent the microdesc journal from growing
30175 without limit on authorities (who are the only ones to use it in
30176 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
30177 Fix posted by "cypherpunks."
30178 - The microdesc journal is supposed to get rebuilt only if it is
30179 at least _half_ the length of the store, not _twice_ the length
30180 of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
30181 - If as an authority we fail to compute the identity digest of a v3
30182 legacy keypair, warn, and don't use a buffer-full of junk instead.
30183 Bugfix on 0.2.1.1-alpha; fixes bug 3106.
30184 - Authorities now clean their microdesc cache periodically and when
30185 reading from disk initially, not only when adding new descriptors.
30186 This prevents a bug where we could lose microdescriptors. Bugfix
30189 o Minor features (controller):
30190 - Add a new SIGNAL event to the controller interface so that
30191 controllers can be notified when Tor handles a signal. Resolves
30192 issue 1955. Patch by John Brooks.
30193 - Add a new GETINFO option to get total bytes read and written. Patch
30194 from pipe, revised by atagar. Resolves ticket 2345.
30195 - Implement some GETINFO controller fields to provide information about
30196 the Tor process's pid, euid, username, and resource limits.
30199 - Our build system requires automake 1.6 or later to create the
30200 Makefile.in files. Previously, you could have used 1.4.
30201 This only affects developers and people building Tor from git;
30202 people who build Tor from the source distribution without changing
30203 the Makefile.am files should be fine.
30204 - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
30205 so on. This is more robust against some of the failure modes
30206 associated with running the autotools pieces on their own.
30208 o Minor packaging issues:
30209 - On OpenSUSE, create the /var/run/tor directory on startup if it is not
30210 already created. Patch from Andreas Stieger. Fixes bug 2573.
30212 o Code simplifications and refactoring:
30213 - A major revision to our internal node-selecting and listing logic.
30214 Tor already had at least two major ways to look at the question of
30215 "which Tor servers do we know about": a list of router descriptors,
30216 and a list of entries in the current consensus. With
30217 microdescriptors, we're adding a third. Having so many systems
30218 without an abstraction layer over them was hurting the codebase.
30219 Now, we have a new "node_t" abstraction that presents a consistent
30220 interface to a client's view of a Tor node, and holds (nearly) all
30221 of the mutable state formerly in routerinfo_t and routerstatus_t.
30222 - The helper programs tor-gencert, tor-resolve, and tor-checkkey
30223 no longer link against Libevent: they never used it, but
30224 our library structure used to force them to link it.
30226 o Removed features:
30227 - Remove some old code to work around even older versions of Tor that
30228 used forked processes to handle DNS requests. Such versions of Tor
30229 are no longer in use as servers.
30231 o Documentation fixes:
30232 - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
30233 - Add missing documentation for the authority-related torrc options
30234 RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
30238 Changes in version 0.2.2.25-alpha - 2011-04-29
30239 Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
30240 robust, routers no longer overreport their bandwidth, Win7 should crash
30241 a little less, and NEWNYM (as used by Vidalia's "new identity" button)
30242 now prevents hidden service-related activity from being linkable. It
30243 provides more information to Vidalia so you can see if your bridge is
30244 working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
30245 StrictNodes configuration options to make them more reliable, more
30246 understandable, and more regularly applied. If you use those options,
30247 please see the revised documentation for them in the manual page.
30250 - Relays were publishing grossly inflated bandwidth values because
30251 they were writing their state files wrong--now they write the
30252 correct value. Also, resume reading bandwidth history from the
30253 state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
30254 - Improve hidden service robustness: When we find that we have
30255 extended a hidden service's introduction circuit to a relay not
30256 listed as an introduction point in the HS descriptor we currently
30257 have, retry with an introduction point from the current
30258 descriptor. Previously we would just give up. Fixes bugs 1024 and
30259 1930; bugfix on 0.2.0.10-alpha.
30260 - Clients now stop trying to use an exit node associated with a given
30261 destination by TrackHostExits if they fail to reach that exit node.
30262 Fixes bug 2999. Bugfix on 0.2.0.20-rc.
30263 - Fix crash bug on platforms where gmtime and localtime can return
30264 NULL. Windows 7 users were running into this one. Fixes part of bug
30265 2077. Bugfix on all versions of Tor. Found by boboper.
30267 o Security and stability fixes:
30268 - Don't double-free a parsable, but invalid, microdescriptor, even if
30269 it is followed in the blob we're parsing by an unparsable
30270 microdescriptor. Fixes an issue reported in a comment on bug 2954.
30271 Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
30272 - If the Nickname configuration option isn't given, Tor would pick a
30273 nickname based on the local hostname as the nickname for a relay.
30274 Because nicknames are not very important in today's Tor and the
30275 "Unnamed" nickname has been implemented, this is now problematic
30276 behavior: It leaks information about the hostname without being
30277 useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
30278 introduced the Unnamed nickname. Reported by tagnaq.
30279 - Fix an uncommon assertion failure when running with DNSPort under
30280 heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
30281 - Avoid linkability based on cached hidden service descriptors: forget
30282 all hidden service descriptors cached as a client when processing a
30283 SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
30286 - Export GeoIP information on bridge usage to controllers even if we
30287 have not yet been running for 24 hours. Now Vidalia bridge operators
30288 can get more accurate and immediate feedback about their
30289 contributions to the network.
30291 o Major features and bugfixes (node selection):
30292 - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
30293 ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
30294 options. Previously, we had been ambiguous in describing what
30295 counted as an "exit" node, and what operations exactly "StrictNodes
30296 0" would permit. This created confusion when people saw nodes built
30297 through unexpected circuits, and made it hard to tell real bugs from
30298 surprises. Now the intended behavior is:
30299 . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
30300 a node that delivers user traffic outside the Tor network.
30301 . "Entry", in the context of EntryNodes, means a node used as the
30302 first hop of a multihop circuit. It doesn't include direct
30303 connections to directory servers.
30304 . "ExcludeNodes" applies to all nodes.
30305 . "StrictNodes" changes the behavior of ExcludeNodes only. When
30306 StrictNodes is set, Tor should avoid all nodes listed in
30307 ExcludeNodes, even when it will make user requests fail. When
30308 StrictNodes is *not* set, then Tor should follow ExcludeNodes
30309 whenever it can, except when it must use an excluded node to
30310 perform self-tests, connect to a hidden service, provide a
30311 hidden service, fulfill a .exit request, upload directory
30312 information, or fetch directory information.
30313 Collectively, the changes to implement the behavior fix bug 1090.
30314 - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
30315 a node is listed in both, it's treated as excluded.
30316 - ExcludeNodes now applies to directory nodes -- as a preference if
30317 StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
30318 Don't exclude all the directory authorities and set StrictNodes to 1
30319 unless you really want your Tor to break.
30320 - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
30321 - ExcludeExitNodes now overrides .exit requests.
30322 - We don't use bridges listed in ExcludeNodes.
30323 - When StrictNodes is 1:
30324 . We now apply ExcludeNodes to hidden service introduction points
30325 and to rendezvous points selected by hidden service users. This
30326 can make your hidden service less reliable: use it with caution!
30327 . If we have used ExcludeNodes on ourself, do not try relay
30328 reachability self-tests.
30329 . If we have excluded all the directory authorities, we will not
30330 even try to upload our descriptor if we're a relay.
30331 . Do not honor .exit requests to an excluded node.
30332 - Remove a misfeature that caused us to ignore the Fast/Stable flags
30333 when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
30334 - When the set of permitted nodes changes, we now remove any mappings
30335 introduced via TrackExitHosts to now-excluded nodes. Bugfix on
30337 - We never cannibalize a circuit that had excluded nodes on it, even
30338 if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
30339 - Revert a change where we would be laxer about attaching streams to
30340 circuits than when building the circuits. This was meant to prevent
30341 a set of bugs where streams were never attachable, but our improved
30342 code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
30343 - Keep track of how many times we launch a new circuit to handle a
30344 given stream. Too many launches could indicate an inconsistency
30345 between our "launch a circuit to handle this stream" logic and our
30346 "attach this stream to one of the available circuits" logic.
30347 - Improve log messages related to excluded nodes.
30350 - Fix a spurious warning when moving from a short month to a long
30351 month on relays with month-based BandwidthAccounting. Bugfix on
30352 0.2.2.17-alpha; fixes bug 3020.
30353 - When a client finds that an origin circuit has run out of 16-bit
30354 stream IDs, we now mark it as unusable for new streams. Previously,
30355 we would try to close the entire circuit. Bugfix on 0.0.6.
30356 - Add a forgotten cast that caused a compile warning on OS X 10.6.
30357 Bugfix on 0.2.2.24-alpha.
30358 - Be more careful about reporting the correct error from a failed
30359 connect() system call. Under some circumstances, it was possible to
30360 look at an incorrect value for errno when sending the end reason.
30361 Bugfix on 0.1.0.1-rc.
30362 - Correctly handle an "impossible" overflow cases in connection byte
30363 counting, where we write or read more than 4GB on an edge connection
30364 in a single second. Bugfix on 0.1.2.8-beta.
30365 - Correct the warning displayed when a rendezvous descriptor exceeds
30366 the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
30368 - Clients and hidden services now use HSDir-flagged relays for hidden
30369 service descriptor downloads and uploads even if the relays have no
30370 DirPort set and the client has disabled TunnelDirConns. This will
30371 eventually allow us to give the HSDir flag to relays with no
30372 DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
30373 - Downgrade "no current certificates known for authority" message from
30374 Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
30375 - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
30376 2917. Bugfix on 0.1.1.1-alpha.
30377 - Only limit the lengths of single HS descriptors, even when multiple
30378 HS descriptors are published to an HSDir relay in a single POST
30379 operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
30380 - Write the current time into the LastWritten line in our state file,
30381 rather than the time from the previous write attempt. Also, stop
30382 trying to use a time of -1 in our log statements. Fixes bug 3039;
30383 bugfix on 0.2.2.14-alpha.
30384 - Be more consistent in our treatment of file system paths. "~" should
30385 get expanded to the user's home directory in the Log config option.
30386 Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
30387 feature for the -f and --DataDirectory options.
30390 - Make sure every relay writes a state file at least every 12 hours.
30391 Previously, a relay could go for weeks without writing its state
30392 file, and on a crash could lose its bandwidth history, capacity
30393 estimates, client country statistics, and so on. Addresses bug 3012.
30394 - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
30395 Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
30396 clients are already deprecated because of security bugs.
30397 - Don't allow v0 hidden service authorities to act as clients.
30398 Required by fix for bug 3000.
30399 - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
30400 by fix for bug 3000.
30401 - Ensure that no empty [dirreq-](read|write)-history lines are added
30402 to an extrainfo document. Implements ticket 2497.
30404 o Code simplification and refactoring:
30405 - Remove workaround code to handle directory responses from servers
30406 that had bug 539 (they would send HTTP status 503 responses _and_
30407 send a body too). Since only server versions before
30408 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
30409 keep the workaround in place.
30410 - Remove the old 'fuzzy time' logic. It was supposed to be used for
30411 handling calculations where we have a known amount of clock skew and
30412 an allowed amount of unknown skew. But we only used it in three
30413 places, and we never adjusted the known/unknown skew values. This is
30414 still something we might want to do someday, but if we do, we'll
30415 want to do it differently.
30416 - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
30417 None of the cases where we did this before were wrong, but by making
30418 this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
30419 - Use GetTempDir to find the proper temporary directory location on
30420 Windows when generating temporary files for the unit tests. Patch by
30424 Changes in version 0.2.2.24-alpha - 2011-04-08
30425 Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
30426 prevented Tor clients from effectively using "multihomed" bridges,
30427 that is, bridges that listen on multiple ports or IP addresses so users
30428 can continue to use some of their addresses even if others get blocked.
30431 - Fix a bug where bridge users who configure the non-canonical
30432 address of a bridge automatically switch to its canonical
30433 address. If a bridge listens at more than one address, it should be
30434 able to advertise those addresses independently and any non-blocked
30435 addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
30437 - If you configured Tor to use bridge A, and then quit and
30438 configured Tor to use bridge B instead, it would happily continue
30439 to use bridge A if it's still reachable. While this behavior is
30440 a feature if your goal is connectivity, in some scenarios it's a
30441 dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
30442 - Directory authorities now use data collected from their own
30443 uptime observations when choosing whether to assign the HSDir flag
30444 to relays, instead of trusting the uptime value the relay reports in
30445 its descriptor. This change helps prevent an attack where a small
30446 set of nodes with frequently-changing identity keys can blackhole
30447 a hidden service. (Only authorities need upgrade; others will be
30448 fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
30451 - When we restart our relay, we might get a successful connection
30452 from the outside before we've started our reachability tests,
30453 triggering a warning: "ORPort found reachable, but I have no
30454 routerinfo yet. Failing to inform controller of success." This
30455 bug was harmless unless Tor is running under a controller
30456 like Vidalia, in which case the controller would never get a
30457 REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
30459 - Make directory authorities more accurate at recording when
30460 relays that have failed several reachability tests became
30461 unreachable, so we can provide more accuracy at assigning Stable,
30462 Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
30463 - Fix an issue that prevented static linking of libevent on
30464 some platforms (notably Linux). Fixes bug 2698; bugfix on
30465 versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
30466 the --with-static-libevent configure option).
30467 - We now ask the other side of a stream (the client or the exit)
30468 for more data on that stream when the amount of queued data on
30469 that stream dips low enough. Previously, we wouldn't ask the
30470 other side for more data until either it sent us more data (which
30471 it wasn't supposed to do if it had exhausted its window!) or we
30472 had completely flushed all our queued data. This flow control fix
30473 should improve throughput. Fixes bug 2756; bugfix on the earliest
30474 released versions of Tor (svn commit r152).
30475 - Avoid a double-mark-for-free warning when failing to attach a
30476 transparent proxy connection. (We thought we had fixed this in
30477 0.2.2.23-alpha, but it turns out our fix was checking the wrong
30478 connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
30479 bug) and 0.2.2.23-alpha (the incorrect fix).
30480 - When warning about missing zlib development packages during compile,
30481 give the correct package names. Bugfix on 0.2.0.1-alpha.
30484 - Directory authorities now log the source of a rejected POSTed v3
30485 networkstatus vote.
30486 - Make compilation with clang possible when using
30487 --enable-gcc-warnings by removing two warning options that clang
30488 hasn't implemented yet and by fixing a few warnings. Implements
30490 - When expiring circuits, use microsecond timers rather than
30491 one-second timers. This can avoid an unpleasant situation where a
30492 circuit is launched near the end of one second and expired right
30493 near the beginning of the next, and prevent fluctuations in circuit
30495 - Use computed circuit-build timeouts to decide when to launch
30496 parallel introduction circuits for hidden services. (Previously,
30497 we would retry after 15 seconds.)
30498 - Update to the April 1 2011 Maxmind GeoLite Country database.
30501 - Create the /var/run/tor directory on startup on OpenSUSE if it is
30502 not already created. Patch from Andreas Stieger. Fixes bug 2573.
30504 o Documentation changes:
30505 - Modernize the doxygen configuration file slightly. Fixes bug 2707.
30506 - Resolve all doxygen warnings except those for missing documentation.
30508 - Add doxygen documentation for more functions, fields, and types.
30511 Changes in version 0.2.2.23-alpha - 2011-03-08
30512 Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
30513 they restart they don't lose their bandwidth capacity estimate. This
30514 release also fixes a diverse set of user-facing bugs, ranging from
30515 relays overrunning their rate limiting to clients falsely warning about
30516 clock skew to bridge descriptor leaks by our bridge directory authority.
30519 - Stop sending a CLOCK_SKEW controller status event whenever
30520 we fetch directory information from a relay that has a wrong clock.
30521 Instead, only inform the controller when it's a trusted authority
30522 that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
30523 the rest of bug 1074.
30524 - Fix an assert in parsing router descriptors containing IPv6
30525 addresses. This one took down the directory authorities when
30526 somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
30527 - Make the bridge directory authority refuse to answer directory
30528 requests for "all" descriptors. It used to include bridge
30529 descriptors in its answer, which was a major information leak.
30530 Found by "piebeer". Bugfix on 0.2.0.3-alpha.
30531 - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
30532 Tor would ignore their RelayBandwidthBurst setting,
30533 potentially using more bandwidth than expected. Bugfix on
30534 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
30535 - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
30536 hidserv" in her torrc. The 'hidserv' argument never controlled
30537 publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
30540 - Relays now save observed peak bandwidth throughput rates to their
30541 state file (along with total usage, which was already saved)
30542 so that they can determine their correct estimated bandwidth on
30543 restart. Resolves bug 1863, where Tor relays would reset their
30544 estimated bandwidth to 0 after restarting.
30545 - Directory authorities now take changes in router IP address and
30546 ORPort into account when determining router stability. Previously,
30547 if a router changed its IP or ORPort, the authorities would not
30548 treat it as having any downtime for the purposes of stability
30549 calculation, whereas clients would experience downtime since the
30550 change could take a while to propagate to them. Resolves issue 1035.
30551 - Enable Address Space Layout Randomization (ASLR) and Data Execution
30552 Prevention (DEP) by default on Windows to make it harder for
30553 attackers to exploit vulnerabilities. Patch from John Brooks.
30555 o Minor bugfixes (on 0.2.1.x and earlier):
30556 - Fix a rare crash bug that could occur when a client was configured
30557 with a large number of bridges. Fixes bug 2629; bugfix on
30558 0.2.1.2-alpha. Bugfix by trac user "shitlei".
30559 - Avoid a double mark-for-free warning when failing to attach a
30560 transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
30562 - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
30563 found by "cypherpunks". This bug was introduced before the first
30564 Tor release, in svn commit r110.
30565 - Country codes aren't supported in EntryNodes until 0.2.3.x, so
30566 don't mention them in the manpage. Fixes bug 2450; issue
30567 spotted by keb and G-Lo.
30568 - Fix a bug in bandwidth history state parsing that could have been
30569 triggered if a future version of Tor ever changed the timing
30570 granularity at which bandwidth history is measured. Bugfix on
30571 Tor 0.1.1.11-alpha.
30572 - When a relay decides that its DNS is too broken for it to serve
30573 as an exit server, it advertised itself as a non-exit, but
30574 continued to act as an exit. This could create accidental
30575 partitioning opportunities for users. Instead, if a relay is
30576 going to advertise reject *:* as its exit policy, it should
30577 really act with exit policy "reject *:*". Fixes bug 2366.
30578 Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
30579 - In the special case where you configure a public exit relay as your
30580 bridge, Tor would be willing to use that exit relay as the last
30581 hop in your circuit as well. Now we fail that circuit instead.
30582 Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
30583 - Fix a bug with our locking implementation on Windows that couldn't
30584 correctly detect when a file was already locked. Fixes bug 2504,
30585 bugfix on 0.2.1.6-alpha.
30586 - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
30587 Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
30589 - Set target port in get_interface_address6() correctly. Bugfix
30590 on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
30591 - Directory authorities are now more robust to hops back in time
30592 when calculating router stability. Previously, if a run of uptime
30593 or downtime appeared to be negative, the calculation could give
30594 incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
30596 - Fix an assert that got triggered when using the TestingTorNetwork
30597 configuration option and then issuing a GETINFO config-text control
30598 command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
30600 o Minor bugfixes (on 0.2.2.x):
30601 - Clients should not weight BadExit nodes as Exits in their node
30602 selection. Similarly, directory authorities should not count BadExit
30603 bandwidth as Exit bandwidth when computing bandwidth-weights.
30604 Bugfix on 0.2.2.10-alpha; fixes bug 2203.
30605 - Correctly clear our dir_read/dir_write history when there is an
30606 error parsing any bw history value from the state file. Bugfix on
30607 Tor 0.2.2.15-alpha.
30608 - Resolve a bug in verifying signatures of directory objects
30609 with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
30610 Fixes bug 2409. Found by "piebeer".
30611 - Bridge authorities no longer crash on SIGHUP when they try to
30612 publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
30616 - Log less aggressively about circuit timeout changes, and improve
30617 some other circuit timeout messages. Resolves bug 2004.
30618 - Log a little more clearly about the times at which we're no longer
30619 accepting new connections. Resolves bug 2181.
30620 - Reject attempts at the client side to open connections to private
30621 IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
30622 a randomly chosen exit node. Attempts to do so are always
30623 ill-defined, generally prevented by exit policies, and usually
30624 in error. This will also help to detect loops in transparent
30625 proxy configurations. You can disable this feature by setting
30626 "ClientRejectInternalAddresses 0" in your torrc.
30627 - Always treat failure to allocate an RSA key as an unrecoverable
30629 - Update to the March 1 2011 Maxmind GeoLite Country database.
30631 o Minor features (log subsystem):
30632 - Add documentation for configuring logging at different severities in
30633 different log domains. We've had this feature since 0.2.1.1-alpha,
30634 but for some reason it never made it into the manpage. Fixes
30636 - Make it simpler to specify "All log domains except for A and B".
30637 Previously you needed to say "[*,~A,~B]". Now you can just say
30639 - Add a "LogMessageDomains 1" option to include the domains of log
30640 messages along with the messages. Without this, there's no way
30641 to use log domains without reading the source or doing a lot
30644 o Packaging changes:
30645 - Stop shipping the Tor specs files and development proposal documents
30646 in the tarball. They are now in a separate git repository at
30647 git://git.torproject.org/torspec.git
30650 Changes in version 0.2.1.30 - 2011-02-23
30651 Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
30652 change is a slight tweak to Tor's TLS handshake that makes relays
30653 and bridges that run this new version reachable from Iran again.
30654 We don't expect this tweak will win the arms race long-term, but it
30655 buys us time until we roll out a better solution.
30658 - Stop sending a CLOCK_SKEW controller status event whenever
30659 we fetch directory information from a relay that has a wrong clock.
30660 Instead, only inform the controller when it's a trusted authority
30661 that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
30662 the rest of bug 1074.
30663 - Fix a bounds-checking error that could allow an attacker to
30664 remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
30665 Found by "piebeer".
30666 - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
30667 Tor would ignore their RelayBandwidthBurst setting,
30668 potentially using more bandwidth than expected. Bugfix on
30669 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
30670 - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
30671 hidserv" in her torrc. The 'hidserv' argument never controlled
30672 publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
30675 - Adjust our TLS Diffie-Hellman parameters to match those used by
30677 - Update to the February 1 2011 Maxmind GeoLite Country database.
30680 - Check for and reject overly long directory certificates and
30681 directory tokens before they have a chance to hit any assertions.
30682 Bugfix on 0.2.1.28. Found by "doorss".
30683 - Bring the logic that gathers routerinfos and assesses the
30684 acceptability of circuits into line. This prevents a Tor OP from
30685 getting locked in a cycle of choosing its local OR as an exit for a
30686 path (due to a .exit request) and then rejecting the circuit because
30687 its OR is not listed yet. It also prevents Tor clients from using an
30688 OR running in the same instance as an exit (due to a .exit request)
30689 if the OR does not meet the same requirements expected of an OR
30690 running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
30692 o Packaging changes:
30693 - Stop shipping the Tor specs files and development proposal documents
30694 in the tarball. They are now in a separate git repository at
30695 git://git.torproject.org/torspec.git
30696 - Do not include Git version tags as though they are SVN tags when
30697 generating a tarball from inside a repository that has switched
30698 between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
30701 Changes in version 0.2.2.22-alpha - 2011-01-25
30702 Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
30703 main other change is a slight tweak to Tor's TLS handshake that makes
30704 relays and bridges that run this new version reachable from Iran again.
30705 We don't expect this tweak will win the arms race long-term, but it
30706 will buy us a bit more time until we roll out a better solution.
30709 - Fix a bounds-checking error that could allow an attacker to
30710 remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
30711 Found by "piebeer".
30712 - Don't assert when changing from bridge to relay or vice versa
30713 via the controller. The assert happened because we didn't properly
30714 initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
30715 bug 2433. Reported by bastik.
30718 - Adjust our TLS Diffie-Hellman parameters to match those used by
30720 - Provide a log message stating which geoip file we're parsing
30721 instead of just stating that we're parsing the geoip file.
30722 Implements ticket 2432.
30725 - Check for and reject overly long directory certificates and
30726 directory tokens before they have a chance to hit any assertions.
30727 Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
30730 Changes in version 0.2.2.21-alpha - 2011-01-15
30731 Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
30732 continues our recent code security audit work. The main fix resolves
30733 a remote heap overflow vulnerability that can allow remote code
30734 execution (CVE-2011-0427). Other fixes address a variety of assert
30735 and crash bugs, most of which we think are hard to exploit remotely.
30737 o Major bugfixes (security), also included in 0.2.1.29:
30738 - Fix a heap overflow bug where an adversary could cause heap
30739 corruption. This bug probably allows remote code execution
30740 attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
30742 - Prevent a denial-of-service attack by disallowing any
30743 zlib-compressed data whose compression factor is implausibly
30744 high. Fixes part of bug 2324; reported by "doorss".
30745 - Zero out a few more keys in memory before freeing them. Fixes
30746 bug 2384 and part of bug 2385. These key instances found by
30747 "cypherpunks", based on Andrew Case's report about being able
30748 to find sensitive data in Tor's memory space if you have enough
30749 permissions. Bugfix on 0.0.2pre9.
30751 o Major bugfixes (crashes), also included in 0.2.1.29:
30752 - Prevent calls to Libevent from inside Libevent log handlers.
30753 This had potential to cause a nasty set of crashes, especially
30754 if running Libevent with debug logging enabled, and running
30755 Tor with a controller watching for low-severity log messages.
30756 Bugfix on 0.1.0.2-rc. Fixes bug 2190.
30757 - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
30758 underflow errors there too. Fixes the other part of bug 2324.
30759 - Fix a bug where we would assert if we ever had a
30760 cached-descriptors.new file (or another file read directly into
30761 memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
30762 on 0.2.1.25. Found by doorss.
30763 - Fix some potential asserts and parsing issues with grossly
30764 malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
30767 o Minor bugfixes (other), also included in 0.2.1.29:
30768 - Fix a bug with handling misformed replies to reverse DNS lookup
30769 requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
30770 bug reported by doorss.
30771 - Fix compilation on mingw when a pthreads compatibility library
30772 has been installed. (We don't want to use it, so we shouldn't
30773 be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
30774 - Fix a bug where we would declare that we had run out of virtual
30775 addresses when the address space was only half-exhausted. Bugfix
30777 - Correctly handle the case where AutomapHostsOnResolve is set but
30778 no virtual addresses are available. Fixes bug 2328; bugfix on
30779 0.1.2.1-alpha. Bug found by doorss.
30780 - Correctly handle wrapping around when we run out of virtual
30781 address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
30783 o Minor features, also included in 0.2.1.29:
30784 - Update to the January 1 2011 Maxmind GeoLite Country database.
30785 - Introduce output size checks on all of our decryption functions.
30787 o Build changes, also included in 0.2.1.29:
30788 - Tor does not build packages correctly with Automake 1.6 and earlier;
30789 added a check to Makefile.am to make sure that we're building with
30790 Automake 1.7 or later.
30791 - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
30792 because we built it with a too-old version of automake. Thus that
30793 release broke ./configure --enable-openbsd-malloc, which is popular
30794 among really fast exit relays on Linux.
30796 o Major bugfixes, new in 0.2.2.21-alpha:
30797 - Prevent crash/heap corruption when the cbtnummodes consensus
30798 parameter is set to 0 or large values. Fixes bug 2317; bugfix
30801 o Major features, new in 0.2.2.21-alpha:
30802 - Introduce minimum/maximum values that clients will believe
30803 from the consensus. Now we'll have a better chance to avoid crashes
30804 or worse when a consensus param has a weird value.
30806 o Minor features, new in 0.2.2.21-alpha:
30807 - Make sure to disable DirPort if running as a bridge. DirPorts aren't
30808 used on bridges, and it makes bridge scanning somewhat easier.
30809 - If writing the state file to disk fails, wait up to an hour before
30810 retrying again, rather than trying again each second. Fixes bug
30811 2346; bugfix on Tor 0.1.1.3-alpha.
30812 - Make Libevent log messages get delivered to controllers later,
30813 and not from inside the Libevent log handler. This prevents unsafe
30814 reentrant Libevent calls while still letting the log messages
30816 - Detect platforms that brokenly use a signed size_t, and refuse to
30817 build there. Found and analyzed by doorss and rransom.
30818 - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
30821 o Minor bugfixes, new in 0.2.2.21-alpha:
30822 - Handle SOCKS messages longer than 128 bytes long correctly, rather
30823 than waiting forever for them to finish. Fixes bug 2330; bugfix
30824 on 0.2.0.16-alpha. Found by doorss.
30825 - Add assertions to check for overflow in arguments to
30826 base32_encode() and base32_decode(); fix a signed-unsigned
30827 comparison there too. These bugs are not actually reachable in Tor,
30828 but it's good to prevent future errors too. Found by doorss.
30829 - Correctly detect failures to create DNS requests when using Libevent
30830 versions before v2. (Before Libevent 2, we used our own evdns
30831 implementation. Its return values for Libevent's evdns_resolve_*()
30832 functions are not consistent with those from Libevent.) Fixes bug
30833 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
30835 o Documentation, new in 0.2.2.21-alpha:
30836 - Document the default socks host and port (127.0.0.1:9050) for
30840 Changes in version 0.2.1.29 - 2011-01-15
30841 Tor 0.2.1.29 continues our recent code security audit work. The main
30842 fix resolves a remote heap overflow vulnerability that can allow remote
30843 code execution. Other fixes address a variety of assert and crash bugs,
30844 most of which we think are hard to exploit remotely.
30846 o Major bugfixes (security):
30847 - Fix a heap overflow bug where an adversary could cause heap
30848 corruption. This bug probably allows remote code execution
30849 attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
30851 - Prevent a denial-of-service attack by disallowing any
30852 zlib-compressed data whose compression factor is implausibly
30853 high. Fixes part of bug 2324; reported by "doorss".
30854 - Zero out a few more keys in memory before freeing them. Fixes
30855 bug 2384 and part of bug 2385. These key instances found by
30856 "cypherpunks", based on Andrew Case's report about being able
30857 to find sensitive data in Tor's memory space if you have enough
30858 permissions. Bugfix on 0.0.2pre9.
30860 o Major bugfixes (crashes):
30861 - Prevent calls to Libevent from inside Libevent log handlers.
30862 This had potential to cause a nasty set of crashes, especially
30863 if running Libevent with debug logging enabled, and running
30864 Tor with a controller watching for low-severity log messages.
30865 Bugfix on 0.1.0.2-rc. Fixes bug 2190.
30866 - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
30867 underflow errors there too. Fixes the other part of bug 2324.
30868 - Fix a bug where we would assert if we ever had a
30869 cached-descriptors.new file (or another file read directly into
30870 memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
30871 on 0.2.1.25. Found by doorss.
30872 - Fix some potential asserts and parsing issues with grossly
30873 malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
30876 o Minor bugfixes (other):
30877 - Fix a bug with handling misformed replies to reverse DNS lookup
30878 requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
30879 bug reported by doorss.
30880 - Fix compilation on mingw when a pthreads compatibility library
30881 has been installed. (We don't want to use it, so we shouldn't
30882 be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
30883 - Fix a bug where we would declare that we had run out of virtual
30884 addresses when the address space was only half-exhausted. Bugfix
30886 - Correctly handle the case where AutomapHostsOnResolve is set but
30887 no virtual addresses are available. Fixes bug 2328; bugfix on
30888 0.1.2.1-alpha. Bug found by doorss.
30889 - Correctly handle wrapping around to when we run out of virtual
30890 address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
30891 - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
30892 because we built it with a too-old version of automake. Thus that
30893 release broke ./configure --enable-openbsd-malloc, which is popular
30894 among really fast exit relays on Linux.
30897 - Update to the January 1 2011 Maxmind GeoLite Country database.
30898 - Introduce output size checks on all of our decryption functions.
30901 - Tor does not build packages correctly with Automake 1.6 and earlier;
30902 added a check to Makefile.am to make sure that we're building with
30903 Automake 1.7 or later.
30906 Changes in version 0.2.2.20-alpha - 2010-12-17
30907 Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
30908 exploitable bugs. We also fix a variety of other significant bugs,
30909 change the IP address for one of our directory authorities, and update
30910 the minimum version that Tor relays must run to join the network.
30913 - Fix a remotely exploitable bug that could be used to crash instances
30914 of Tor remotely by overflowing on the heap. Remote-code execution
30915 hasn't been confirmed, but can't be ruled out. Everyone should
30916 upgrade. Bugfix on the 0.1.1 series and later.
30917 - Fix a bug that could break accounting on 64-bit systems with large
30918 time_t values, making them hibernate for impossibly long intervals.
30919 Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
30920 - Fix a logic error in directory_fetches_from_authorities() that
30921 would cause all _non_-exits refusing single-hop-like circuits
30922 to fetch from authorities, when we wanted to have _exits_ fetch
30923 from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
30925 - Fix a stream fairness bug that would cause newer streams on a given
30926 circuit to get preference when reading bytes from the origin or
30927 destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
30928 introduced before the first Tor release, in svn revision r152.
30930 o Directory authority changes:
30931 - Change IP address and ports for gabelmoo (v3 directory authority).
30934 - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
30935 Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
30936 - Fix an off-by-one error in calculating some controller command
30937 argument lengths. Fortunately, this mistake is harmless since
30938 the controller code does redundant NUL termination too. Found by
30939 boboper. Bugfix on 0.1.1.1-alpha.
30940 - Do not dereference NULL if a bridge fails to build its
30941 extra-info descriptor. Found by an anonymous commenter on
30942 Trac. Bugfix on 0.2.2.19-alpha.
30945 - Update to the December 1 2010 Maxmind GeoLite Country database.
30946 - Directory authorities now reject relays running any versions of
30947 Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
30948 known bugs that keep RELAY_EARLY cells from working on rendezvous
30949 circuits. Followup to fix for bug 2081.
30950 - Directory authorities now reject relays running any version of Tor
30951 older than 0.2.0.26-rc. That version is the earliest that fetches
30952 current directory information correctly. Fixes bug 2156.
30953 - Report only the top 10 ports in exit-port stats in order not to
30954 exceed the maximum extra-info descriptor length of 50 KB. Implements
30958 Changes in version 0.2.1.28 - 2010-12-17
30959 Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
30960 exploitable bugs. We also took this opportunity to change the IP address
30961 for one of our directory authorities, and to update the geoip database
30965 - Fix a remotely exploitable bug that could be used to crash instances
30966 of Tor remotely by overflowing on the heap. Remote-code execution
30967 hasn't been confirmed, but can't be ruled out. Everyone should
30968 upgrade. Bugfix on the 0.1.1 series and later.
30970 o Directory authority changes:
30971 - Change IP address and ports for gabelmoo (v3 directory authority).
30974 - Update to the December 1 2010 Maxmind GeoLite Country database.
30977 Changes in version 0.2.1.27 - 2010-11-23
30978 Yet another OpenSSL security patch broke its compatibility with Tor:
30979 Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
30980 also took this opportunity to fix several crash bugs, integrate a new
30981 directory authority, and update the bundled GeoIP database.
30984 - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
30985 No longer set the tlsext_host_name extension on server SSL objects;
30986 but continue to set it on client SSL objects. Our goal in setting
30987 it was to imitate a browser, not a vhosting server. Fixes bug 2204;
30988 bugfix on 0.2.1.1-alpha.
30989 - Do not log messages to the controller while shrinking buffer
30990 freelists. Doing so would sometimes make the controller connection
30991 try to allocate a buffer chunk, which would mess up the internals
30992 of the freelist and cause an assertion failure. Fixes bug 1125;
30993 fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
30994 - Learn our external IP address when we're a relay or bridge, even if
30995 we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
30996 where we introduced bridge relays that don't need to publish to
30997 be useful. Fixes bug 2050.
30998 - Do even more to reject (and not just ignore) annotations on
30999 router descriptors received anywhere but from the cache. Previously
31000 we would ignore such annotations at first, but cache them to disk
31001 anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
31002 - When you're using bridges and your network goes away and your
31003 bridges get marked as down, recover when you attempt a new socks
31004 connection (if the network is back), rather than waiting up to an
31005 hour to try fetching new descriptors for your bridges. Bugfix on
31006 0.2.0.3-alpha; fixes bug 1981.
31009 - Move to the November 2010 Maxmind GeoLite country db (rather
31010 than the June 2009 ip-to-country GeoIP db) for our statistics that
31011 count how many users relays are seeing from each country. Now we'll
31012 have more accurate data, especially for many African countries.
31014 o New directory authorities:
31015 - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
31019 - Fix an assertion failure that could occur in directory caches or
31020 bridge users when using a very short voting interval on a testing
31021 network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
31023 - Enforce multiplicity rules when parsing annotations. Bugfix on
31024 0.2.0.8-alpha. Found by piebeer.
31025 - Allow handshaking OR connections to take a full KeepalivePeriod
31026 seconds to handshake. Previously, we would close them after
31027 IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
31028 were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
31030 - When building with --enable-gcc-warnings on OpenBSD, disable
31031 warnings in system headers. This makes --enable-gcc-warnings
31032 pass on OpenBSD 4.8.
31035 - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
31036 and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
31037 stream ending reason for this case: END_STREAM_REASON_NOROUTE.
31038 Servers can start sending this code when enough clients recognize
31039 it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
31040 - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
31041 Patch from mingw-san.
31044 - Remove the old debian/ directory from the main Tor distribution.
31045 The official Tor-for-debian git repository lives at the URL
31046 https://git.torproject.org/debian/tor.git
31047 - Stop shipping the old doc/website/ directory in the tarball. We
31048 changed the website format in late 2010, and what we shipped in
31049 0.2.1.26 really wasn't that useful anyway.
31052 Changes in version 0.2.2.19-alpha - 2010-11-22
31053 Yet another OpenSSL security patch broke its compatibility with Tor:
31054 Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
31057 - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
31058 No longer set the tlsext_host_name extension on server SSL objects;
31059 but continue to set it on client SSL objects. Our goal in setting
31060 it was to imitate a browser, not a vhosting server. Fixes bug 2204;
31061 bugfix on 0.2.1.1-alpha.
31064 - Try harder not to exceed the maximum length of 50 KB when writing
31065 statistics to extra-info descriptors. This bug was triggered by very
31066 fast relays reporting exit-port, entry, and dirreq statistics.
31067 Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
31068 - Publish a router descriptor even if generating an extra-info
31069 descriptor fails. Previously we would not publish a router
31070 descriptor without an extra-info descriptor; this can cause fast
31071 exit relays collecting exit-port statistics to drop from the
31072 consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
31075 Changes in version 0.2.2.18-alpha - 2010-11-16
31076 Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
31077 us lately, makes unpublished bridge relays able to detect their IP
31078 address, and fixes a wide variety of other bugs to get us much closer
31079 to a stable release.
31082 - Do even more to reject (and not just ignore) annotations on
31083 router descriptors received anywhere but from the cache. Previously
31084 we would ignore such annotations at first, but cache them to disk
31085 anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
31086 - Do not log messages to the controller while shrinking buffer
31087 freelists. Doing so would sometimes make the controller connection
31088 try to allocate a buffer chunk, which would mess up the internals
31089 of the freelist and cause an assertion failure. Fixes bug 1125;
31090 fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
31091 - Learn our external IP address when we're a relay or bridge, even if
31092 we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
31093 where we introduced bridge relays that don't need to publish to
31094 be useful. Fixes bug 2050.
31095 - Maintain separate TLS contexts and certificates for incoming and
31096 outgoing connections in bridge relays. Previously we would use the
31097 same TLS contexts and certs for incoming and outgoing connections.
31098 Bugfix on 0.2.0.3-alpha; addresses bug 988.
31099 - Maintain separate identity keys for incoming and outgoing TLS
31100 contexts in bridge relays. Previously we would use the same
31101 identity keys for incoming and outgoing TLS contexts. Bugfix on
31102 0.2.0.3-alpha; addresses the other half of bug 988.
31103 - Avoid an assertion failure when we as an authority receive a
31104 duplicate upload of a router descriptor that we already have,
31105 but which we previously considered an obsolete descriptor.
31106 Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
31107 - Avoid a crash bug triggered by looking at a dangling pointer while
31108 setting the network status consensus. Found by Robert Ransom.
31109 Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
31110 - Fix a logic error where servers that _didn't_ act as exits would
31111 try to keep their server lists more aggressively up to date than
31112 exits, when it was supposed to be the other way around. Bugfix
31115 o Minor bugfixes (on Tor 0.2.1.x and earlier):
31116 - When we're trying to guess whether we know our IP address as
31117 a relay, we would log various ways that we failed to guess
31118 our address, but never log that we ended up guessing it
31119 successfully. Now add a log line to help confused and anxious
31120 relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
31121 - Bring the logic that gathers routerinfos and assesses the
31122 acceptability of circuits into line. This prevents a Tor OP from
31123 getting locked in a cycle of choosing its local OR as an exit for a
31124 path (due to a .exit request) and then rejecting the circuit because
31125 its OR is not listed yet. It also prevents Tor clients from using an
31126 OR running in the same instance as an exit (due to a .exit request)
31127 if the OR does not meet the same requirements expected of an OR
31128 running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
31129 - Correctly describe errors that occur when generating a TLS object.
31130 Previously we would attribute them to a failure while generating a
31131 TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
31133 - Enforce multiplicity rules when parsing annotations. Bugfix on
31134 0.2.0.8-alpha. Found by piebeer.
31135 - Fix warnings that newer versions of autoconf produced during
31136 ./autogen.sh. These warnings appear to be harmless in our case,
31137 but they were extremely verbose. Fixes bug 2020.
31139 o Minor bugfixes (on Tor 0.2.2.x):
31140 - Enable protection of small arrays whenever we build with gcc
31141 hardening features, not only when also building with warnings
31142 enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
31145 - Make hidden services work better in private Tor networks by not
31146 requiring any uptime to join the hidden service descriptor
31147 DHT. Implements ticket 2088.
31148 - Rate-limit the "your application is giving Tor only an IP address"
31149 warning. Addresses bug 2000; bugfix on 0.0.8pre2.
31150 - When AllowSingleHopExits is set, print a warning to explain to the
31151 relay operator why most clients are avoiding her relay.
31152 - Update to the November 1 2010 Maxmind GeoLite Country database.
31154 o Code simplifications and refactoring:
31155 - When we fixed bug 1038 we had to put in a restriction not to send
31156 RELAY_EARLY cells on rend circuits. This was necessary as long
31157 as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
31158 active. Now remove this obsolete check. Resolves bug 2081.
31159 - Some options used different conventions for uppercasing of acronyms
31160 when comparing manpage and source. Fix those in favor of the
31161 manpage, as it makes sense to capitalize acronyms.
31162 - Remove the torrc.complete file. It hasn't been kept up to date
31163 and users will have better luck checking out the manpage.
31164 - Remove the obsolete "NoPublish" option; it has been flagged
31165 as obsolete and has produced a warning since 0.1.1.18-rc.
31166 - Remove everything related to building the expert bundle for OS X.
31167 It has confused many users, doesn't work right on OS X 10.6,
31168 and is hard to get rid of once installed. Resolves bug 1274.
31171 Changes in version 0.2.2.17-alpha - 2010-09-30
31172 Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
31173 to use one-hop circuits (which can put the exit relays at higher risk,
31174 plus unbalance the network); fixes a big bug in bandwidth accounting
31175 for relays that want to limit their monthly bandwidth use; fixes a
31176 big pile of bugs in how clients tolerate temporary network failure;
31177 and makes our adaptive circuit build timeout feature (which improves
31178 client performance if your network is fast while not breaking things
31179 if your network is slow) better handle bad networks.
31182 - Exit relays now try harder to block exit attempts from unknown
31183 relays, to make it harder for people to use them as one-hop proxies
31184 a la tortunnel. Controlled by the refuseunknownexits consensus
31185 parameter (currently enabled), or you can override it on your
31186 relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
31188 o Major bugfixes (0.2.1.x and earlier):
31189 - Fix a bug in bandwidth accounting that could make us use twice
31190 the intended bandwidth when our interval start changes due to
31191 daylight saving time. Now we tolerate skew in stored vs computed
31192 interval starts: if the start of the period changes by no more than
31193 50% of the period's duration, we remember bytes that we transferred
31194 in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
31195 - Always search the Windows system directory for system DLLs, and
31196 nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
31197 - When you're using bridges and your network goes away and your
31198 bridges get marked as down, recover when you attempt a new socks
31199 connection (if the network is back), rather than waiting up to an
31200 hour to try fetching new descriptors for your bridges. Bugfix on
31201 0.2.0.3-alpha; fixes bug 1981.
31203 o Major bugfixes (on 0.2.2.x):
31204 - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
31206 - Fix a segfault that could happen when operating a bridge relay with
31207 no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
31208 - The consensus bandwidth-weights (used by clients to choose fast
31209 relays) entered an unexpected edge case in September where
31210 Exits were much scarcer than Guards, resulting in bad weight
31211 recommendations. Now we compute them using new constraints that
31212 should succeed in all cases. Also alter directory authorities to
31213 not include the bandwidth-weights line if they fail to produce
31214 valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
31215 - When weighting bridges during path selection, we used to trust
31216 the bandwidths they provided in their descriptor, only capping them
31217 at 10MB/s. This turned out to be problematic for two reasons:
31218 Bridges could claim to handle a lot more traffic then they
31219 actually would, thus making more clients pick them and have a
31220 pretty effective DoS attack. The other issue is that new bridges
31221 that might not have a good estimate for their bw capacity yet
31222 would not get used at all unless no other bridges are available
31223 to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
31225 o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
31226 - Ignore cannibalized circuits when recording circuit build times.
31227 This should provide for a minor performance improvement for hidden
31228 service users using 0.2.2.14-alpha, and should remove two spurious
31229 notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
31230 - Simplify the logic that causes us to decide if the network is
31231 unavailable for purposes of recording circuit build times. If we
31232 receive no cells whatsoever for the entire duration of a circuit's
31233 full measured lifetime, the network is probably down. Also ignore
31234 one-hop directory fetching circuit timeouts when calculating our
31235 circuit build times. These changes should hopefully reduce the
31236 cases where we see ridiculous circuit build timeouts for people
31237 with spotty wireless connections. Fixes part of bug 1772; bugfix
31239 - Prevent the circuit build timeout from becoming larger than
31240 the maximum build time we have ever seen. Also, prevent the time
31241 period for measurement circuits from becoming larger than twice that
31242 value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
31245 - When we run out of directory information such that we can't build
31246 circuits, but then get enough that we can build circuits, log when
31247 we actually construct a circuit, so the user has a better chance of
31248 knowing what's going on. Fixes bug 1362.
31249 - Be more generous with how much bandwidth we'd use up (with
31250 accounting enabled) before entering "soft hibernation". Previously,
31251 we'd refuse new connections and circuits once we'd used up 95% of
31252 our allotment. Now, we use up 95% of our allotment, AND make sure
31253 that we have no more than 500MB (or 3 hours of expected traffic,
31254 whichever is lower) remaining before we enter soft hibernation.
31255 - If we've configured EntryNodes and our network goes away and/or all
31256 our entrynodes get marked down, optimistically retry them all when
31257 a new socks application request appears. Fixes bug 1882.
31258 - Add some more defensive programming for architectures that can't
31259 handle unaligned integer accesses. We don't know of any actual bugs
31260 right now, but that's the best time to fix them. Fixes bug 1943.
31261 - Support line continuations in the torrc config file. If a line
31262 ends with a single backslash character, the newline is ignored, and
31263 the configuration value is treated as continuing on the next line.
31266 o Minor bugfixes (on 0.2.1.x and earlier):
31267 - For bandwidth accounting, calculate our expected bandwidth rate
31268 based on the time during which we were active and not in
31269 soft-hibernation during the last interval. Previously, we were
31270 also considering the time spent in soft-hibernation. If this
31271 was a long time, we would wind up underestimating our bandwidth
31272 by a lot, and skewing our wakeup time towards the start of the
31273 accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
31275 o Minor bugfixes (on 0.2.2.x):
31276 - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
31277 which were disabled by the circuit build timeout changes in
31278 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
31279 - Make sure we don't warn about missing bandwidth weights when
31280 choosing bridges or other relays not in the consensus. Bugfix on
31281 0.2.2.10-alpha; fixes bug 1805.
31282 - In our logs, do not double-report signatures from unrecognized
31283 authorities both as "from unknown authority" and "not
31284 present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
31287 Changes in version 0.2.2.16-alpha - 2010-09-17
31288 Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
31289 evident at exit relays), and also continues to resolve all the little
31290 bugs that have been filling up trac lately.
31292 o Major bugfixes (stream-level fairness):
31293 - When receiving a circuit-level SENDME for a blocked circuit, try
31294 to package cells fairly from all the streams that had previously
31295 been blocked on that circuit. Previously, we had started with the
31296 oldest stream, and allowed each stream to potentially exhaust
31297 the circuit's package window. This gave older streams on any
31298 given circuit priority over newer ones. Fixes bug 1937. Detected
31299 originally by Camilo Viecco. This bug was introduced before the
31300 first Tor release, in svn commit r152: it is the new winner of
31301 the longest-lived bug prize.
31302 - When the exit relay got a circuit-level sendme cell, it started
31303 reading on the exit streams, even if had 500 cells queued in the
31304 circuit queue already, so the circuit queue just grew and grew in
31305 some cases. We fix this by not re-enabling reading on receipt of a
31306 sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
31307 on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
31309 - Newly created streams were allowed to read cells onto circuits,
31310 even if the circuit's cell queue was blocked and waiting to drain.
31311 This created potential unfairness, as older streams would be
31312 blocked, but newer streams would gladly fill the queue completely.
31313 We add code to detect this situation and prevent any stream from
31314 getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
31318 - Update to the September 1 2010 Maxmind GeoLite Country database.
31319 - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
31320 not. This would lead to a cookie that is still not group readable.
31321 Closes bug 1843. Suggested by katmagic.
31322 - When logging a rate-limited warning, we now mention how many messages
31323 got suppressed since the last warning.
31324 - Add new "perconnbwrate" and "perconnbwburst" consensus params to
31325 do individual connection-level rate limiting of clients. The torrc
31326 config options with the same names trump the consensus params, if
31327 both are present. Replaces the old "bwconnrate" and "bwconnburst"
31328 consensus params which were broken from 0.2.2.7-alpha through
31329 0.2.2.14-alpha. Closes bug 1947.
31330 - When a router changes IP address or port, authorities now launch
31331 a new reachability test for it. Implements ticket 1899.
31332 - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
31333 2 no signature, 4 required" messages about consensus signatures
31334 easier to read, and make sure they get logged at the same severity
31335 as the messages explaining which keys are which. Fixes bug 1290.
31336 - Don't warn when we have a consensus that we can't verify because
31337 of missing certificates, unless those certificates are ones
31338 that we have been trying and failing to download. Fixes bug 1145.
31339 - If you configure your bridge with a known identity fingerprint,
31340 and the bridge authority is unreachable (as it is in at least
31341 one country now), fall back to directly requesting the descriptor
31342 from the bridge. Finishes the feature started in 0.2.0.10-alpha;
31344 - When building with --enable-gcc-warnings on OpenBSD, disable
31345 warnings in system headers. This makes --enable-gcc-warnings
31346 pass on OpenBSD 4.8.
31348 o Minor bugfixes (on 0.2.1.x and earlier):
31349 - Authorities will now attempt to download consensuses if their
31350 own efforts to make a live consensus have failed. This change
31351 means authorities that restart will fetch a valid consensus, and
31352 it means authorities that didn't agree with the current consensus
31353 will still fetch and serve it if it has enough signatures. Bugfix
31354 on 0.2.0.9-alpha; fixes bug 1300.
31355 - Ensure DNS requests launched by "RESOLVE" commands from the
31356 controller respect the __LeaveStreamsUnattached setconf options. The
31357 same goes for requests launched via DNSPort or transparent
31358 proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
31359 - Allow handshaking OR connections to take a full KeepalivePeriod
31360 seconds to handshake. Previously, we would close them after
31361 IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
31362 were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
31364 - Rate-limit "Failed to hand off onionskin" warnings.
31365 - Never relay a cell for a circuit we have already destroyed.
31366 Between marking a circuit as closeable and finally closing it,
31367 it may have been possible for a few queued cells to get relayed,
31368 even though they would have been immediately dropped by the next
31369 OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
31370 - Never queue a cell for a circuit that's already been marked
31372 - Never vote for a server as "Running" if we have a descriptor for
31373 it claiming to be hibernating, and that descriptor was published
31374 more recently than our last contact with the server. Bugfix on
31375 0.2.0.3-alpha; fixes bug 911.
31376 - Squash a compile warning on OpenBSD. Reported by Tas; fixes
31379 o Minor bugfixes (on 0.2.2.x):
31380 - Fix a regression introduced in 0.2.2.7-alpha that marked relays
31381 down if a directory fetch fails and you've configured either
31382 bridges or EntryNodes. The intent was to mark the relay as down
31383 _unless_ you're using bridges or EntryNodes, since if you are
31384 then you could quickly run out of entry points.
31385 - Fix the Windows directory-listing code. A bug introduced in
31386 0.2.2.14-alpha could make Windows directory servers forget to load
31387 some of their cached v2 networkstatus files.
31388 - Really allow clients to use relays as bridges. Fixes bug 1776;
31389 bugfix on 0.2.2.15-alpha.
31390 - Demote a warn to info that happens when the CellStatistics option
31391 was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
31392 Reported by Moritz Bartl.
31393 - On Windows, build correctly either with or without Unicode support.
31394 This is necessary so that Tor can support fringe platforms like
31395 Windows 98 (which has no Unicode), or Windows CE (which has no
31396 non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
31399 - Add a unit test for cross-platform directory-listing code.
31402 Changes in version 0.2.2.15-alpha - 2010-08-18
31403 Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
31404 fixes a variety of other bugs that were preventing performance
31405 experiments from moving forward, fixes several bothersome memory leaks,
31406 and generally closes a lot of smaller bugs that have been filling up
31410 - Stop assigning the HSDir flag to relays that disable their
31411 DirPort (and thus will refuse to answer directory requests). This
31412 fix should dramatically improve the reachability of hidden services:
31413 hidden services and hidden service clients pick six HSDir relays
31414 to store and retrieve the hidden service descriptor, and currently
31415 about half of the HSDir relays will refuse to work. Bugfix on
31416 0.2.0.10-alpha; fixes part of bug 1693.
31417 - The PerConnBWRate and Burst config options, along with the
31418 bwconnrate and bwconnburst consensus params, initialized each conn's
31419 token bucket values only when the connection is established. Now we
31420 update them if the config options change, and update them every time
31421 we get a new consensus. Otherwise we can encounter an ugly edge
31422 case where we initialize an OR conn to client-level bandwidth,
31423 but then later the relay joins the consensus and we leave it
31424 throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
31425 - Fix a regression that caused Tor to rebind its ports if it receives
31426 SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
31429 - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
31430 should give us approximately 40-50% more Guard-flagged nodes,
31431 improving the anonymity the Tor network can provide and also
31432 decreasing the dropoff in throughput that relays experience when
31433 they first get the Guard flag.
31434 - Allow enabling or disabling the *Statistics config options while
31438 - Update to the August 1 2010 Maxmind GeoLite Country database.
31439 - Have the controller interface give a more useful message than
31440 "Internal Error" in response to failed GETINFO requests.
31441 - Warn when the same option is provided more than once in a torrc
31442 file, on the command line, or in a single SETCONF statement, and
31443 the option is one that only accepts a single line. Closes bug 1384.
31444 - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
31445 Patch from mingw-san.
31446 - Add support for the country code "{??}" in torrc options like
31447 ExcludeNodes, to indicate all routers of unknown country. Closes
31449 - Relays report the number of bytes spent on answering directory
31450 requests in extra-info descriptors similar to {read,write}-history.
31451 Implements enhancement 1790.
31453 o Minor bugfixes (on 0.2.1.x and earlier):
31454 - Complain if PublishServerDescriptor is given multiple arguments that
31455 include 0 or 1. This configuration will be rejected in the future.
31456 Bugfix on 0.2.0.1-alpha; closes bug 1107.
31457 - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
31458 Bugfix on 0.2.0.13-alpha; closes bug 928.
31459 - Change "Application request when we're believed to be offline."
31460 notice to "Application request when we haven't used client
31461 functionality lately.", to clarify that it's not an error. Bugfix
31462 on 0.0.9.3; fixes bug 1222.
31463 - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
31464 would return "551 Internal error" rather than "552 Unrecognized key
31465 ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
31466 - Users can't configure a regular relay to be their bridge. It didn't
31467 work because when Tor fetched the bridge descriptor, it found
31468 that it already had it, and didn't realize that the purpose of the
31469 descriptor had changed. Now we replace routers with a purpose other
31470 than bridge with bridge descriptors when fetching them. Bugfix on
31471 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
31472 refetch the descriptor with router purpose 'general', disabling
31474 - Fix a rare bug in rend_fn unit tests: we would fail a test when
31475 a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
31476 on 0.2.0.10-alpha; fixes bug 1808.
31477 - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
31478 and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
31479 stream ending reason for this case: END_STREAM_REASON_NOROUTE.
31480 Servers can start sending this code when enough clients recognize
31481 it. Also update the spec to reflect this new reason. Bugfix on
31482 0.1.0.1-rc; fixes part of bug 1793.
31483 - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
31484 when we switch from being a public relay to a bridge. Otherwise
31485 there will still be clients that see the relay in their consensus,
31486 and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
31488 - Instead of giving an assertion failure on an internal mismatch
31489 on estimated freelist size, just log a BUG warning and try later.
31490 Mitigates but does not fix bug 1125.
31491 - Fix an assertion failure that could occur in caches or bridge users
31492 when using a very short voting interval on a testing network.
31493 Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
31495 o Minor bugfixes (on 0.2.2.x):
31496 - Alter directory authorities to always consider Exit-flagged nodes
31497 as potential Guard nodes in their votes. The actual decision to
31498 use Exits as Guards is done in the consensus bandwidth weights.
31499 Fixes bug 1294; bugfix on 0.2.2.10-alpha.
31500 - When the controller is reporting the purpose of circuits that
31501 didn't finish building before the circuit build timeout, it was
31502 printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
31503 - Our libevent version parsing code couldn't handle versions like
31504 1.4.14b-stable and incorrectly warned the user about using an
31505 old and broken version of libevent. Treat 1.4.14b-stable like
31506 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
31508 - Don't use substitution references like $(VAR:MOD) when
31509 $(asciidoc_files) is empty -- make(1) on NetBSD transforms
31510 '$(:x)' to 'x' rather than the empty string. This bites us in
31511 doc/ when configured with --disable-asciidoc. Bugfix on
31512 0.2.2.9-alpha; fixes bug 1773.
31513 - Remove a spurious hidden service server-side log notice about
31514 "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
31516 - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
31518 - Correctly report written bytes on linked connections. Found while
31519 implementing 1790. Bugfix on 0.2.2.4-alpha.
31520 - Fix three memory leaks: one in circuit_build_times_parse_state(),
31521 one in dirvote_add_signatures_to_pending_consensus(), and one every
31522 time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
31523 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
31525 o Code simplifications and refactoring:
31526 - Take a first step towards making or.h smaller by splitting out
31527 function definitions for all source files in src/or/. Leave
31528 structures and defines in or.h for now.
31529 - Remove a bunch of unused function declarations as well as a block of
31530 #if 0'd code from the unit tests. Closes bug 1824.
31531 - New unit tests for exit-port history statistics; refactored exit
31532 statistics code to be more easily tested.
31533 - Remove the old debian/ directory from the main Tor distribution.
31534 The official Tor-for-debian git repository lives at the URL
31535 https://git.torproject.org/debian/tor.git
31538 Changes in version 0.2.2.14-alpha - 2010-07-12
31539 Tor 0.2.2.14-alpha greatly improves client-side handling of
31540 circuit build timeouts, which are used to estimate speed and improve
31541 performance. We also move to a much better GeoIP database, port Tor to
31542 Windows CE, introduce new compile flags that improve code security,
31543 add an eighth v3 directory authority, and address a lot of more
31547 - Tor directory authorities no longer crash when started with a
31548 cached-microdesc-consensus file in their data directory. Bugfix
31549 on 0.2.2.6-alpha; fixes bug 1532.
31550 - Treat an unset $HOME like an empty $HOME rather than triggering an
31551 assert. Bugfix on 0.0.8pre1; fixes bug 1522.
31552 - Ignore negative and large circuit build timeout values that can
31553 happen during a suspend or hibernate. These values caused various
31554 asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
31555 - Alter calculation of Pareto distribution parameter 'Xm' for
31556 Circuit Build Timeout learning to use the weighted average of the
31557 top N=3 modes (because we have three entry guards). Considering
31558 multiple modes should improve the timeout calculation in some cases,
31559 and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
31561 - Alter calculation of Pareto distribution parameter 'Alpha' to use a
31562 right censored distribution model. This approach improves over the
31563 synthetic timeout generation approach that was producing insanely
31564 high timeout values. Now we calculate build timeouts using truncated
31565 times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
31566 - Do not close circuits that are under construction when they reach
31567 the circuit build timeout. Instead, leave them building (but do not
31568 use them) for up until the time corresponding to the 95th percentile
31569 on the Pareto CDF or 60 seconds, whichever is greater. This is done
31570 to provide better data for the new Pareto model. This percentile
31571 can be controlled by the consensus.
31574 - Move to the June 2010 Maxmind GeoLite country db (rather than the
31575 June 2009 ip-to-country GeoIP db) for our statistics that count
31576 how many users relays are seeing from each country. Now we have
31577 more accurate data for many African countries.
31578 - Port Tor to build and run correctly on Windows CE systems, using
31579 the wcecompat library. Contributed by Valerio Lupi.
31580 - New "--enable-gcc-hardening" ./configure flag (off by default)
31581 to turn on gcc compile time hardening options. It ensures
31582 that signed ints have defined behavior (-fwrapv), enables
31583 -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
31584 with canaries (-fstack-protector-all), turns on ASLR protection if
31585 supported by the kernel (-fPIE, -pie), and adds additional security
31586 related warnings. Verified to work on Mac OS X and Debian Lenny.
31587 - New "--enable-linker-hardening" ./configure flag (off by default)
31588 to turn on ELF specific hardening features (relro, now). This does
31589 not work with Mac OS X or any other non-ELF binary format.
31591 o New directory authorities:
31592 - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
31596 - New config option "WarnUnsafeSocks 0" disables the warning that
31597 occurs whenever Tor receives a socks handshake using a version of
31598 the socks protocol that can only provide an IP address (rather
31599 than a hostname). Setups that do DNS locally over Tor are fine,
31600 and we shouldn't spam the logs in that case.
31601 - Convert the HACKING file to asciidoc, and add a few new sections
31602 to it, explaining how we use Git, how we make changelogs, and
31603 what should go in a patch.
31604 - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
31605 event, to give information on the current rate of circuit timeouts
31606 over our stored history.
31607 - Add ability to disable circuit build time learning via consensus
31608 parameter and via a LearnCircuitBuildTimeout config option. Also
31609 automatically disable circuit build time calculation if we are
31610 either a AuthoritativeDirectory, or if we fail to write our state
31611 file. Fixes bug 1296.
31612 - More gracefully handle corrupt state files, removing asserts
31613 in favor of saving a backup and resetting state.
31614 - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
31618 - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
31620 - When a2x fails, mention that the user could disable manpages instead
31621 of trying to fix their asciidoc installation.
31622 - Where available, use Libevent 2.0's periodic timers so that our
31623 once-per-second cleanup code gets called even more closely to
31624 once per second than it would otherwise. Fixes bug 943.
31625 - If you run a bridge that listens on multiple IP addresses, and
31626 some user configures a bridge address that uses a different IP
31627 address than your bridge writes in its router descriptor, and the
31628 user doesn't specify an identity key, their Tor would discard the
31629 descriptor because "it isn't one of our configured bridges", and
31630 fail to bootstrap. Now believe the descriptor and bootstrap anyway.
31631 Bugfix on 0.2.0.3-alpha.
31632 - If OpenSSL fails to make a duplicate of a private or public key, log
31633 an error message and try to exit cleanly. May help with debugging
31634 if bug 1209 ever remanifests.
31635 - Save a couple bytes in memory allocation every time we escape
31636 certain characters in a string. Patch from Florian Zumbiehl.
31637 - Make it explicit that we don't cannibalize one-hop circuits. This
31638 happens in the wild, but doesn't turn out to be a problem because
31639 we fortunately don't use those circuits. Many thanks to outofwords
31640 for the initial analysis and to swissknife who confirmed that
31641 two-hop circuits are actually created.
31642 - Make directory mirrors report non-zero dirreq-v[23]-shares again.
31643 Fixes bug 1564; bugfix on 0.2.2.9-alpha.
31644 - Eliminate a case where a circuit build time warning was displayed
31645 after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
31648 Changes in version 0.2.1.26 - 2010-05-02
31649 Tor 0.2.1.26 addresses the recent connection and memory overload
31650 problems we've been seeing on relays, especially relays with their
31651 DirPort open. If your relay has been crashing, or you turned it off
31652 because it used too many resources, give this release a try.
31654 This release also fixes yet another instance of broken OpenSSL libraries
31655 that was causing some relays to drop out of the consensus.
31658 - Teach relays to defend themselves from connection overload. Relays
31659 now close idle circuits early if it looks like they were intended
31660 for directory fetches. Relays are also more aggressive about closing
31661 TLS connections that have no circuits on them. Such circuits are
31662 unlikely to be re-used, and tens of thousands of them were piling
31663 up at the fast relays, causing the relays to run out of sockets
31664 and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
31665 their directory fetches over TLS).
31666 - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
31667 that claim to be earlier than 0.9.8m, but which have in reality
31668 backported huge swaths of 0.9.8m or 0.9.8n renegotiation
31669 behavior. Possible fix for some cases of bug 1346.
31670 - Directory mirrors were fetching relay descriptors only from v2
31671 directory authorities, rather than v3 authorities like they should.
31672 Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
31673 to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
31676 - Finally get rid of the deprecated and now harmful notion of "clique
31677 mode", where directory authorities maintain TLS connections to
31681 - In the util/threads test, no longer free the test_mutex before all
31682 worker threads have finished. Bugfix on 0.2.1.6-alpha.
31683 - The master thread could starve the worker threads quite badly on
31684 certain systems, causing them to run only partially in the allowed
31685 window. This resulted in test failures. Now the master thread sleeps
31686 occasionally for a few microseconds while the two worker-threads
31687 compete for the mutex. Bugfix on 0.2.0.1-alpha.
31690 Changes in version 0.2.2.13-alpha - 2010-04-24
31691 Tor 0.2.2.13-alpha addresses the recent connection and memory overload
31692 problems we've been seeing on relays, especially relays with their
31693 DirPort open. If your relay has been crashing, or you turned it off
31694 because it used too many resources, give this release a try.
31697 - Teach relays to defend themselves from connection overload. Relays
31698 now close idle circuits early if it looks like they were intended
31699 for directory fetches. Relays are also more aggressive about closing
31700 TLS connections that have no circuits on them. Such circuits are
31701 unlikely to be re-used, and tens of thousands of them were piling
31702 up at the fast relays, causing the relays to run out of sockets
31703 and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
31704 their directory fetches over TLS).
31707 - Finally get rid of the deprecated and now harmful notion of "clique
31708 mode", where directory authorities maintain TLS connections to
31710 - Directory authorities now do an immediate reachability check as soon
31711 as they hear about a new relay. This change should slightly reduce
31712 the time between setting up a relay and getting listed as running
31713 in the consensus. It should also improve the time between setting
31714 up a bridge and seeing use by bridge users.
31715 - Directory authorities no longer launch a TLS connection to every
31716 relay as they startup. Now that we have 2k+ descriptors cached,
31717 the resulting network hiccup is becoming a burden. Besides,
31718 authorities already avoid voting about Running for the first half
31719 hour of their uptime.
31722 Changes in version 0.2.2.12-alpha - 2010-04-20
31723 Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
31724 handle and vote on descriptors. It was causing relays to drop out of
31728 - Many relays have been falling out of the consensus lately because
31729 not enough authorities know about their descriptor for them to get
31730 a majority of votes. When we deprecated the v2 directory protocol,
31731 we got rid of the only way that v3 authorities can hear from each
31732 other about other descriptors. Now authorities examine every v3
31733 vote for new descriptors, and fetch them from that authority. Bugfix
31735 - Fix two typos in tor_vasprintf() that broke the compile on Windows,
31736 and a warning in or.h related to bandwidth_weight_rule_t that
31737 prevented clean compile on OS X. Fixes bug 1363; bugfix on
31739 - Fix a segfault on relays when DirReqStatistics is enabled
31740 and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
31744 - Demote a confusing TLS warning that relay operators might get when
31745 someone tries to talk to their OrPort. It is neither the operator's
31746 fault nor can they do anything about it. Fixes bug 1364; bugfix
31750 Changes in version 0.2.2.11-alpha - 2010-04-15
31751 Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
31752 libraries that was causing some relays to drop out of the consensus.
31755 - Directory mirrors were fetching relay descriptors only from v2
31756 directory authorities, rather than v3 authorities like they should.
31757 Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
31758 to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
31759 - Fix a parsing error that made every possible value of
31760 CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
31761 on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
31762 CircuitPriorityHalflifeMsec, so authorities can tell newer relays
31763 about the option without breaking older ones.
31764 - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
31765 that claim to be earlier than 0.9.8m, but which have in reality
31766 backported huge swaths of 0.9.8m or 0.9.8n renegotiation
31767 behavior. Possible fix for some cases of bug 1346.
31770 - Experiment with a more aggressive approach to preventing clients
31771 from making one-hop exit streams. Exit relays who want to try it
31772 out can set "RefuseUnknownExits 1" in their torrc, and then look
31773 for "Attempt by %s to open a stream" log messages. Let us know
31775 - Add support for statically linking zlib by specifying
31776 --enable-static-zlib, to go with our support for statically linking
31777 openssl and libevent. Resolves bug 1358.
31780 - Fix a segfault that happens whenever a Tor client that is using
31781 libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
31783 - When we cleaned up the contrib/tor-exit-notice.html file, we left
31784 out the first line. Fixes bug 1295.
31785 - When building the manpage from a tarball, we required asciidoc, but
31786 the asciidoc -> roff/html conversion was already done for the
31787 tarball. Make 'make' complain only when we need asciidoc (either
31788 because we're compiling directly from git, or because we altered
31789 the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
31790 - When none of the directory authorities vote on any params, Tor
31791 segfaulted when trying to make the consensus from the votes. We
31792 didn't trigger the bug in practice, because authorities do include
31793 params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
31796 - In the util/threads test, no longer free the test_mutex before all
31797 worker threads have finished. Bugfix on 0.2.1.6-alpha.
31798 - The master thread could starve the worker threads quite badly on
31799 certain systems, causing them to run only partially in the allowed
31800 window. This resulted in test failures. Now the master thread sleeps
31801 occasionally for a few microseconds while the two worker-threads
31802 compete for the mutex. Bugfix on 0.2.0.1-alpha.
31805 Changes in version 0.2.2.10-alpha - 2010-03-07
31806 Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
31807 could prevent relays from guessing their IP address correctly. It also
31808 starts the groundwork for another client-side performance boost, since
31809 currently we're not making efficient use of relays that have both the
31810 Guard flag and the Exit flag.
31813 - Fix a regression from our patch for bug 1244 that caused relays
31814 to guess their IP address incorrectly if they didn't set Address
31815 in their torrc and/or their address fails to resolve. Bugfix on
31816 0.2.2.9-alpha; fixes bug 1269.
31818 o Major features (performance):
31819 - Directory authorities now compute consensus weightings that instruct
31820 clients how to weight relays flagged as Guard, Exit, Guard+Exit,
31821 and no flag. Clients that use these weightings will distribute
31822 network load more evenly across these different relay types. The
31823 weightings are in the consensus so we can change them globally in
31824 the future. Extra thanks to "outofwords" for finding some nasty
31825 security bugs in the first implementation of this feature.
31827 o Minor features (performance):
31828 - Always perform router selections using weighted relay bandwidth,
31829 even if we don't need a high capacity circuit at the time. Non-fast
31830 circuits now only differ from fast ones in that they can use relays
31831 not marked with the Fast flag. This "feature" could turn out to
31832 be a horrible bug; we should investigate more before it goes into
31836 - Allow disabling building of the manpages. Skipping the manpage
31837 speeds up the build considerably.
31839 o Minor bugfixes (on 0.2.2.x):
31840 - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
31841 Bugfix on 0.2.2.9-alpha.
31842 - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
31843 config option. Bugfix on 0.2.2.7-alpha.
31844 - Ship the asciidoc-helper file in the tarball, so that people can
31845 build from source if they want to, and touching the .1.txt files
31846 doesn't break the build. Bugfix on 0.2.2.9-alpha.
31848 o Minor bugfixes (on 0.2.1.x or earlier):
31849 - Fix a dereference-then-NULL-check sequence when publishing
31850 descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
31852 - Fix another dereference-then-NULL-check sequence. Bugfix on
31853 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
31854 - Make sure we treat potentially not NUL-terminated strings correctly.
31855 Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
31857 o Code simplifications and refactoring:
31858 - Fix some urls in the exit notice file and make it XHTML1.1 strict
31859 compliant. Based on a patch from Christian Kujau.
31860 - Don't use sed in asciidoc-helper anymore.
31861 - Make the build process fail if asciidoc cannot be found and
31862 building with asciidoc isn't disabled.
31865 Changes in version 0.2.2.9-alpha - 2010-02-22
31866 Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
31867 location of a directory authority, and cleans up a bunch of small bugs.
31869 o Directory authority changes:
31870 - Change IP address for dannenberg (v3 directory authority), and
31871 remove moria2 (obsolete v1, v2 directory authority and v0 hidden
31872 service directory authority) from the list.
31875 - Make Tor work again on the latest OS X: when deciding whether to
31876 use strange flags to turn TLS renegotiation on, detect the OpenSSL
31877 version at run-time, not compile time. We need to do this because
31878 Apple doesn't update its dev-tools headers when it updates its
31879 libraries in a security patch.
31880 - Fix a potential buffer overflow in lookup_last_hid_serv_request()
31881 that could happen on 32-bit platforms with 64-bit time_t. Also fix
31882 a memory leak when requesting a hidden service descriptor we've
31883 requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
31885 - Authorities could be tricked into giving out the Exit flag to relays
31886 that didn't allow exiting to any ports. This bug could screw
31887 with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
31888 1238. Bug discovered by Martin Kowalczyk.
31889 - When freeing a session key, zero it out completely. We only zeroed
31890 the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
31891 patched by ekir. Fixes bug 1254.
31894 - Fix static compilation by listing the openssl libraries in the right
31895 order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
31896 - Resume handling .exit hostnames in a special way: originally we
31897 stripped the .exit part and used the requested exit relay. In
31898 0.2.2.1-alpha we stopped treating them in any special way, meaning
31899 if you use a .exit address then Tor will pass it on to the exit
31900 relay. Now we reject the .exit stream outright, since that behavior
31901 might be more expected by the user. Found and diagnosed by Scott
31902 Bennett and Downie on or-talk.
31903 - Don't spam the controller with events when we have no file
31904 descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
31905 for log messages was already solved from bug 748.)
31906 - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
31908 - Make the DNSPort option work with libevent 2.x. Don't alter the
31909 behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
31910 - Emit a GUARD DROPPED controller event for a case we missed.
31911 - Make more fields in the controller protocol case-insensitive, since
31912 control-spec.txt said they were.
31913 - Refactor resolve_my_address() to not use gethostbyname() anymore.
31914 Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
31915 - Fix a spec conformance issue: the network-status-version token
31916 must be the first token in a v3 consensus or vote. Discovered by
31917 parakeep. Bugfix on 0.2.0.3-alpha.
31919 o Code simplifications and refactoring:
31920 - Generate our manpage and HTML documentation using Asciidoc. This
31921 change should make it easier to maintain the documentation, and
31922 produce nicer HTML.
31923 - Remove the --enable-iphone option. According to reports from Marco
31924 Bonetti, Tor builds fine without any special tweaking on recent
31925 iPhone SDK versions.
31926 - Removed some unnecessary files from the source distribution. The
31927 AUTHORS file has now been merged into the people page on the
31928 website. The roadmaps and design doc can now be found in the
31929 projects directory in svn.
31930 - Enabled various circuit build timeout constants to be controlled
31931 by consensus parameters. Also set better defaults for these
31932 parameters based on experimentation on broadband and simulated
31933 high latency links.
31936 - The 'EXTENDCIRCUIT' control port command can now be used with
31937 a circ id of 0 and no path. This feature will cause Tor to build
31938 a new 'fast' general purpose circuit using its own path selection
31940 - Added a BUILDTIMEOUT_SET controller event to describe changes
31941 to the circuit build timeout.
31942 - Future-proof the controller protocol a bit by ignoring keyword
31943 arguments we do not recognize.
31944 - Expand homedirs passed to tor-checkkey. This should silence a
31945 coverity complaint about passing a user-supplied string into
31946 open() without checking it.
31949 Changes in version 0.2.1.25 - 2010-03-16
31950 Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
31951 prevent relays from guessing their IP address correctly. It also fixes
31952 several minor potential security bugs.
31955 - Fix a regression from our patch for bug 1244 that caused relays
31956 to guess their IP address incorrectly if they didn't set Address
31957 in their torrc and/or their address fails to resolve. Bugfix on
31958 0.2.1.23; fixes bug 1269.
31959 - When freeing a session key, zero it out completely. We only zeroed
31960 the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
31961 patched by ekir. Fixes bug 1254.
31964 - Fix a dereference-then-NULL-check sequence when publishing
31965 descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
31967 - Fix another dereference-then-NULL-check sequence. Bugfix on
31968 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
31969 - Make sure we treat potentially not NUL-terminated strings correctly.
31970 Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
31974 Changes in version 0.2.1.24 - 2010-02-21
31975 Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
31979 - Work correctly out-of-the-box with even more vendor-patched versions
31980 of OpenSSL. In particular, make it so Debian and OS X don't need
31981 customized patches to run/build.
31984 Changes in version 0.2.1.23 - 2010-02-13
31985 Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
31986 again on the latest OS X, and updates the location of a directory
31989 o Major bugfixes (performance):
31990 - We were selecting our guards uniformly at random, and then weighting
31991 which of our guards we'd use uniformly at random. This imbalance
31992 meant that Tor clients were severely limited on throughput (and
31993 probably latency too) by the first hop in their circuit. Now we
31994 select guards weighted by currently advertised bandwidth. We also
31995 automatically discard guards picked using the old algorithm. Fixes
31996 bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
31999 - Make Tor work again on the latest OS X: when deciding whether to
32000 use strange flags to turn TLS renegotiation on, detect the OpenSSL
32001 version at run-time, not compile time. We need to do this because
32002 Apple doesn't update its dev-tools headers when it updates its
32003 libraries in a security patch.
32004 - Fix a potential buffer overflow in lookup_last_hid_serv_request()
32005 that could happen on 32-bit platforms with 64-bit time_t. Also fix
32006 a memory leak when requesting a hidden service descriptor we've
32007 requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
32010 o Directory authority changes:
32011 - Change IP address for dannenberg (v3 directory authority), and
32012 remove moria2 (obsolete v1, v2 directory authority and v0 hidden
32013 service directory authority) from the list.
32016 - Refactor resolve_my_address() to not use gethostbyname() anymore.
32017 Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
32020 - Avoid a mad rush at the beginning of each month when each client
32021 rotates half of its guards. Instead we spread the rotation out
32022 throughout the month, but we still avoid leaving a precise timestamp
32023 in the state file about when we first picked the guard. Improves
32024 over the behavior introduced in 0.1.2.17.
32027 Changes in version 0.2.2.8-alpha - 2010-01-26
32028 Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
32029 causing bridge relays to disappear. If you're running a bridge,
32033 - Fix a memory corruption bug on bridges that occurred during the
32034 inclusion of stats data in extra-info descriptors. Also fix the
32035 interface for geoip_get_bridge_stats* to prevent similar bugs in
32036 the future. Diagnosis by Tas, patch by Karsten and Sebastian.
32037 Fixes bug 1208; bugfix on 0.2.2.7-alpha.
32040 - Ignore OutboundBindAddress when connecting to localhost.
32041 Connections to localhost need to come _from_ localhost, or else
32042 local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
32046 Changes in version 0.2.2.7-alpha - 2010-01-19
32047 Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
32048 as laying the groundwork for further relay-side performance fixes. It
32049 also starts cleaning up client behavior with respect to the EntryNodes,
32050 ExitNodes, and StrictNodes config options.
32052 This release also rotates two directory authority keys, due to a
32053 security breach of some of the Torproject servers.
32055 o Directory authority changes:
32056 - Rotate keys (both v3 identity and relay identity) for moria1
32059 o Major features (performance):
32060 - We were selecting our guards uniformly at random, and then weighting
32061 which of our guards we'd use uniformly at random. This imbalance
32062 meant that Tor clients were severely limited on throughput (and
32063 probably latency too) by the first hop in their circuit. Now we
32064 select guards weighted by currently advertised bandwidth. We also
32065 automatically discard guards picked using the old algorithm. Fixes
32066 bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
32067 - When choosing which cells to relay first, relays can now favor
32068 circuits that have been quiet recently, to provide lower latency
32069 for low-volume circuits. By default, relays enable or disable this
32070 feature based on a setting in the consensus. You can override
32071 this default by using the new "CircuitPriorityHalflife" config
32072 option. Design and code by Ian Goldberg, Can Tang, and Chris
32074 - Add separate per-conn write limiting to go with the per-conn read
32075 limiting. We added a global write limit in Tor 0.1.2.5-alpha,
32076 but never per-conn write limits.
32077 - New consensus params "bwconnrate" and "bwconnburst" to let us
32078 rate-limit client connections as they enter the network. It's
32079 controlled in the consensus so we can turn it on and off for
32080 experiments. It's starting out off. Based on proposal 163.
32082 o Major features (relay selection options):
32083 - Switch to a StrictNodes config option, rather than the previous
32084 "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
32085 "StrictExcludeNodes" option.
32086 - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
32087 change during a config reload, mark and discard all our origin
32088 circuits. This fix should address edge cases where we change the
32089 config options and but then choose a circuit that we created before
32091 - If EntryNodes or ExitNodes are set, be more willing to use an
32092 unsuitable (e.g. slow or unstable) circuit. The user asked for it,
32094 - Make EntryNodes config option much more aggressive even when
32095 StrictNodes is not set. Before it would prepend your requested
32096 entrynodes to your list of guard nodes, but feel free to use others
32097 after that. Now it chooses only from your EntryNodes if any of
32098 those are available, and only falls back to others if a) they're
32099 all down and b) StrictNodes is not set.
32100 - Now we refresh your entry guards from EntryNodes at each consensus
32101 fetch -- rather than just at startup and then they slowly rot as
32102 the network changes.
32105 - Stop bridge directory authorities from answering dbg-stability.txt
32106 directory queries, which would let people fetch a list of all
32107 bridge identities they track. Bugfix on 0.2.1.6-alpha.
32110 - Log a notice when we get a new control connection. Now it's easier
32111 for security-conscious users to recognize when a local application
32112 is knocking on their controller door. Suggested by bug 1196.
32113 - New config option "CircuitStreamTimeout" to override our internal
32114 timeout schedule for how many seconds until we detach a stream from
32115 a circuit and try a new circuit. If your network is particularly
32116 slow, you might want to set this to a number like 60.
32117 - New controller command "getinfo config-text". It returns the
32118 contents that Tor would write if you send it a SAVECONF command,
32119 so the controller can write the file to disk itself.
32120 - New options for SafeLogging to allow scrubbing only log messages
32121 generated while acting as a relay.
32122 - Ship the bridges spec file in the tarball too.
32123 - Avoid a mad rush at the beginning of each month when each client
32124 rotates half of its guards. Instead we spread the rotation out
32125 throughout the month, but we still avoid leaving a precise timestamp
32126 in the state file about when we first picked the guard. Improves
32127 over the behavior introduced in 0.1.2.17.
32129 o Minor bugfixes (compiling):
32130 - Fix compilation on OS X 10.3, which has a stub mlockall() but
32131 hides it. Bugfix on 0.2.2.6-alpha.
32132 - Fix compilation on Solaris by removing support for the
32133 DisableAllSwap config option. Solaris doesn't have an rlimit for
32134 mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
32137 o Minor bugfixes (crashes):
32138 - Do not segfault when writing buffer stats when we haven't observed
32139 a single circuit to report about. Found by Fabian Lanze. Bugfix on
32141 - If we're in the pathological case where there's no exit bandwidth
32142 but there is non-exit bandwidth, or no guard bandwidth but there
32143 is non-guard bandwidth, don't crash during path selection. Bugfix
32145 - Fix an impossible-to-actually-trigger buffer overflow in relay
32146 descriptor generation. Bugfix on 0.1.0.15.
32148 o Minor bugfixes (privacy):
32149 - Fix an instance where a Tor directory mirror might accidentally
32150 log the IP address of a misbehaving Tor client. Bugfix on
32152 - Don't list Windows capabilities in relay descriptors. We never made
32153 use of them, and maybe it's a bad idea to publish them. Bugfix
32156 o Minor bugfixes (other):
32157 - Resolve an edge case in path weighting that could make us misweight
32158 our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
32159 - Fix statistics on client numbers by country as seen by bridges that
32160 were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
32161 intervals instead of variable 12-to-48-hour intervals.
32162 - After we free an internal connection structure, overwrite it
32163 with a different memory value than we use for overwriting a freed
32164 internal circuit structure. Should help with debugging. Suggested
32166 - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
32169 o Removed features:
32170 - Remove the HSAuthorityRecordStats option that version 0 hidden
32171 service authorities could have used to track statistics of overall
32172 hidden service usage.
32175 Changes in version 0.2.1.22 - 2010-01-19
32176 Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
32177 authorities -- it would tell you its whole history of bridge descriptors
32178 if you make the right directory request. This stable update also
32179 rotates two of the seven v3 directory authority keys and locations.
32181 o Directory authority changes:
32182 - Rotate keys (both v3 identity and relay identity) for moria1
32186 - Stop bridge directory authorities from answering dbg-stability.txt
32187 directory queries, which would let people fetch a list of all
32188 bridge identities they track. Bugfix on 0.2.1.6-alpha.
32191 Changes in version 0.2.1.21 - 2009-12-21
32192 Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
32193 library. If you use Tor on Linux / Unix and you're getting SSL
32194 renegotiation errors, upgrading should help. We also recommend an
32195 upgrade if you're an exit relay.
32198 - Work around a security feature in OpenSSL 0.9.8l that prevents our
32199 handshake from working unless we explicitly tell OpenSSL that we
32200 are using SSL renegotiation safely. We are, of course, but OpenSSL
32201 0.9.8l won't work unless we say we are.
32202 - Avoid crashing if the client is trying to upload many bytes and the
32203 circuit gets torn down at the same time, or if the flip side
32204 happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
32207 - Do not refuse to learn about authority certs and v2 networkstatus
32208 documents that are older than the latest consensus. This bug might
32209 have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
32210 Spotted and fixed by xmux.
32211 - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
32212 trigger platform-specific option misparsing case found by Coverity
32214 - Fix a compilation warning on Fedora 12 by removing an impossible-to-
32215 trigger assert. Fixes bug 1173.
32218 Changes in version 0.2.2.6-alpha - 2009-11-19
32219 Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
32220 support for the new lower-footprint "microdescriptor" directory design,
32221 future-proofing our consensus format against new hash functions or
32222 other changes, and an Android port. It also makes Tor compatible with
32223 the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
32226 - Directory authorities can now create, vote on, and serve multiple
32227 parallel formats of directory data as part of their voting process.
32228 Partially implements Proposal 162: "Publish the consensus in
32230 - Directory authorities can now agree on and publish small summaries
32231 of router information that clients can use in place of regular
32232 server descriptors. This transition will eventually allow clients
32233 to use far less bandwidth for downloading information about the
32234 network. Begins the implementation of Proposal 158: "Clients
32235 download consensus + microdescriptors".
32236 - The directory voting system is now extensible to use multiple hash
32237 algorithms for signatures and resource selection. Newer formats
32238 are signed with SHA256, with a possibility for moving to a better
32239 hash algorithm in the future.
32240 - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
32241 current and future memory pages via mlockall(). On supported
32242 platforms (modern Linux and probably BSD but not Windows or OS X),
32243 this should effectively disable any and all attempts to page out
32244 memory. This option requires that you start your Tor as root --
32245 if you use DisableAllSwap, please consider using the User option
32246 to properly reduce the privileges of your Tor.
32247 - Numerous changes, bugfixes, and workarounds from Nathan Freitas
32248 to help Tor build correctly for Android phones.
32251 - Work around a security feature in OpenSSL 0.9.8l that prevents our
32252 handshake from working unless we explicitly tell OpenSSL that we
32253 are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
32254 won't work unless we say we are.
32257 - Fix a crash bug when trying to initialize the evdns module in
32258 Libevent 2. Bugfix on 0.2.1.16-rc.
32259 - Stop logging at severity 'warn' when some other Tor client tries
32260 to establish a circuit with us using weak DH keys. It's a protocol
32261 violation, but that doesn't mean ordinary users need to hear about
32262 it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
32263 - Do not refuse to learn about authority certs and v2 networkstatus
32264 documents that are older than the latest consensus. This bug might
32265 have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
32266 Spotted and fixed by xmux.
32267 - Fix numerous small code-flaws found by Coverity Scan Rung 3.
32268 - If all authorities restart at once right before a consensus vote,
32269 nobody will vote about "Running", and clients will get a consensus
32270 with no usable relays. Instead, authorities refuse to build a
32271 consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
32272 - If your relay can't keep up with the number of incoming create
32273 cells, it would log one warning per failure into your logs. Limit
32274 warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
32275 - Bridges now use "reject *:*" as their default exit policy. Bugfix
32276 on 0.2.0.3-alpha; fixes bug 1113.
32277 - Fix a memory leak on directory authorities during voting that was
32278 introduced in 0.2.2.1-alpha. Found via valgrind.
32281 Changes in version 0.2.1.20 - 2009-10-15
32282 Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
32283 services at once, prepares for more performance improvements, and
32284 fixes a bunch of smaller bugs.
32286 The Windows and OS X bundles also include a more recent Vidalia,
32287 and switch from Privoxy to Polipo.
32289 The OS X installers are now drag and drop. It's best to un-install
32290 Tor/Vidalia and then install this new bundle, rather than upgrade. If
32291 you want to upgrade, you'll need to update the paths for Tor and Polipo
32292 in the Vidalia Settings window.
32295 - Send circuit or stream sendme cells when our window has decreased
32296 by 100 cells, not when it has decreased by 101 cells. Bug uncovered
32297 by Karsten when testing the "reduce circuit window" performance
32298 patch. Bugfix on the 54th commit on Tor -- from July 2002,
32299 before the release of Tor 0.0.0. This is the new winner of the
32301 - Fix a remotely triggerable memory leak when a consensus document
32302 contains more than one signature from the same voter. Bugfix on
32304 - Avoid segfault in rare cases when finishing an introduction circuit
32305 as a client and finding out that we don't have an introduction key
32306 for it. Fixes bug 1073. Reported by Aaron Swartz.
32309 - Tor now reads the "circwindow" parameter out of the consensus,
32310 and uses that value for its circuit package window rather than the
32311 default of 1000 cells. Begins the implementation of proposal 168.
32313 o New directory authorities:
32314 - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
32316 - Move moria1 and tonga to alternate IP addresses.
32319 - Fix a signed/unsigned compile warning in 0.2.1.19.
32320 - Fix possible segmentation fault on directory authorities. Bugfix on
32322 - Fix an extremely rare infinite recursion bug that could occur if
32323 we tried to log a message after shutting down the log subsystem.
32324 Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
32325 - Fix an obscure bug where hidden services on 64-bit big-endian
32326 systems might mis-read the timestamp in v3 introduce cells, and
32327 refuse to connect back to the client. Discovered by "rotor".
32328 Bugfix on 0.2.1.6-alpha.
32329 - We were triggering a CLOCK_SKEW controller status event whenever
32330 we connect via the v2 connection protocol to any relay that has
32331 a wrong clock. Instead, we should only inform the controller when
32332 it's a trusted authority that claims our clock is wrong. Bugfix
32333 on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
32334 - We were telling the controller about CHECKING_REACHABILITY and
32335 REACHABILITY_FAILED status events whenever we launch a testing
32336 circuit or notice that one has failed. Instead, only tell the
32337 controller when we want to inform the user of overall success or
32338 overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
32340 - Don't warn when we're using a circuit that ends with a node
32341 excluded in ExcludeExitNodes, but the circuit is not used to access
32342 the outside world. This should help fix bug 1090. Bugfix on
32344 - Work around a small memory leak in some versions of OpenSSL that
32345 stopped the memory used by the hostname TLS extension from being
32349 - Add a "getinfo status/accepted-server-descriptor" controller
32350 command, which is the recommended way for controllers to learn
32351 whether our server descriptor has been successfully received by at
32352 least on directory authority. Un-recommend good-server-descriptor
32353 getinfo and status events until we have a better design for them.
32356 Changes in version 0.2.2.5-alpha - 2009-10-11
32357 Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
32360 - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
32362 o Directory authorities:
32363 - Temporarily (just for this release) move dizum to an alternate
32367 Changes in version 0.2.2.4-alpha - 2009-10-10
32368 Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
32369 introduces a new unit test framework, shifts directry authority
32370 addresses around to reduce the impact from recent blocking events,
32371 and fixes a few smaller bugs.
32374 - Fix several more asserts in the circuit_build_times code, for
32375 example one that causes Tor to fail to start once we have
32376 accumulated 5000 build times in the state file. Bugfixes on
32377 0.2.2.2-alpha; fixes bug 1108.
32379 o New directory authorities:
32380 - Move moria1 and Tonga to alternate IP addresses.
32383 - Log SSL state transitions at debug level during handshake, and
32384 include SSL states in error messages. This may help debug future
32385 SSL handshake issues.
32386 - Add a new "Handshake" log domain for activities that happen
32387 during the TLS handshake.
32388 - Revert to the "June 3 2009" ip-to-country file. The September one
32389 seems to have removed most US IP addresses.
32390 - Directory authorities now reject Tor relays with versions less than
32391 0.1.2.14. This step cuts out four relays from the current network,
32392 none of which are very big.
32395 - Fix a couple of smaller issues with gathering statistics. Bugfixes
32397 - Fix two memory leaks in the error case of
32398 circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
32399 - Don't count one-hop circuits when we're estimating how long it
32400 takes circuits to build on average. Otherwise we'll set our circuit
32401 build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
32402 - Directory authorities no longer change their opinion of, or vote on,
32403 whether a router is Running, unless they have themselves been
32404 online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
32407 o Code simplifications and refactoring:
32408 - Revise our unit tests to use the "tinytest" framework, so we
32409 can run tests in their own processes, have smarter setup/teardown
32410 code, and so on. The unit test code has moved to its own
32411 subdirectory, and has been split into multiple modules.
32414 Changes in version 0.2.2.3-alpha - 2009-09-23
32415 Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
32418 - Fix an overzealous assert in our new circuit build timeout code.
32419 Bugfix on 0.2.2.2-alpha; fixes bug 1103.
32422 - If the networkstatus consensus tells us that we should use a
32423 negative circuit package window, ignore it. Otherwise we'll
32424 believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
32427 Changes in version 0.2.2.2-alpha - 2009-09-21
32428 Tor 0.2.2.2-alpha introduces our latest performance improvement for
32429 clients: Tor tracks the average time it takes to build a circuit, and
32430 avoids using circuits that take too long to build. For fast connections,
32431 this feature can cut your expected latency in half. For slow or flaky
32432 connections, it could ruin your Tor experience. Let us know if it does!
32435 - Tor now tracks how long it takes to build client-side circuits
32436 over time, and adapts its timeout to local network performance.
32437 Since a circuit that takes a long time to build will also provide
32438 bad performance, we get significant latency improvements by
32439 discarding the slowest 20% of circuits. Specifically, Tor creates
32440 circuits more aggressively than usual until it has enough data
32441 points for a good timeout estimate. Implements proposal 151.
32442 We are especially looking for reports (good and bad) from users with
32443 both EDGE and broadband connections that can move from broadband
32444 to EDGE and find out if the build-time data in the .tor/state gets
32445 reset without loss of Tor usability. You should also see a notice
32446 log message telling you that Tor has reset its timeout.
32447 - Directory authorities can now vote on arbitrary integer values as
32448 part of the consensus process. This is designed to help set
32449 network-wide parameters. Implements proposal 167.
32450 - Tor now reads the "circwindow" parameter out of the consensus,
32451 and uses that value for its circuit package window rather than the
32452 default of 1000 cells. Begins the implementation of proposal 168.
32455 - Fix a remotely triggerable memory leak when a consensus document
32456 contains more than one signature from the same voter. Bugfix on
32460 - Fix an extremely rare infinite recursion bug that could occur if
32461 we tried to log a message after shutting down the log subsystem.
32462 Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
32463 - Fix parsing for memory or time units given without a space between
32464 the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
32465 - A networkstatus vote must contain exactly one signature. Spec
32466 conformance issue. Bugfix on 0.2.0.3-alpha.
32467 - Fix an obscure bug where hidden services on 64-bit big-endian
32468 systems might mis-read the timestamp in v3 introduce cells, and
32469 refuse to connect back to the client. Discovered by "rotor".
32470 Bugfix on 0.2.1.6-alpha.
32471 - We were triggering a CLOCK_SKEW controller status event whenever
32472 we connect via the v2 connection protocol to any relay that has
32473 a wrong clock. Instead, we should only inform the controller when
32474 it's a trusted authority that claims our clock is wrong. Bugfix
32475 on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
32476 - We were telling the controller about CHECKING_REACHABILITY and
32477 REACHABILITY_FAILED status events whenever we launch a testing
32478 circuit or notice that one has failed. Instead, only tell the
32479 controller when we want to inform the user of overall success or
32480 overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
32482 - Don't warn when we're using a circuit that ends with a node
32483 excluded in ExcludeExitNodes, but the circuit is not used to access
32484 the outside world. This should help fix bug 1090, but more problems
32485 remain. Bugfix on 0.2.1.6-alpha.
32486 - Work around a small memory leak in some versions of OpenSSL that
32487 stopped the memory used by the hostname TLS extension from being
32489 - Make our 'torify' script more portable; if we have only one of
32490 'torsocks' or 'tsocks' installed, don't complain to the user;
32491 and explain our warning about tsocks better.
32494 - Add a "getinfo status/accepted-server-descriptor" controller
32495 command, which is the recommended way for controllers to learn
32496 whether our server descriptor has been successfully received by at
32497 least on directory authority. Un-recommend good-server-descriptor
32498 getinfo and status events until we have a better design for them.
32499 - Update to the "September 4 2009" ip-to-country file.
32502 Changes in version 0.2.2.1-alpha - 2009-08-26
32503 Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
32504 Tor clients to bootstrap on networks where only port 80 is reachable,
32505 makes it more straightforward to support hardware crypto accelerators,
32506 and starts the groundwork for gathering stats safely at relays.
32509 - Start the process of disabling ".exit" address notation, since it
32510 can be used for a variety of esoteric application-level attacks
32511 on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
32514 o New directory authorities:
32515 - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
32519 - New AccelName and AccelDir options add support for dynamic OpenSSL
32520 hardware crypto acceleration engines.
32521 - Tor now supports tunneling all of its outgoing connections over
32522 a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
32523 configuration options. Code by Christopher Davis.
32526 - Send circuit or stream sendme cells when our window has decreased
32527 by 100 cells, not when it has decreased by 101 cells. Bug uncovered
32528 by Karsten when testing the "reduce circuit window" performance
32529 patch. Bugfix on the 54th commit on Tor -- from July 2002,
32530 before the release of Tor 0.0.0. This is the new winner of the
32533 o New options for gathering stats safely:
32534 - Directory mirrors that set "DirReqStatistics 1" write statistics
32535 about directory requests to disk every 24 hours. As compared to the
32536 --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
32537 1) stats are written to disk exactly every 24 hours; 2) estimated
32538 shares of v2 and v3 requests are determined as mean values, not at
32539 the end of a measurement period; 3) unresolved requests are listed
32540 with country code '??'; 4) directories also measure download times.
32541 - Exit nodes that set "ExitPortStatistics 1" write statistics on the
32542 number of exit streams and transferred bytes per port to disk every
32544 - Relays that set "CellStatistics 1" write statistics on how long
32545 cells spend in their circuit queues to disk every 24 hours.
32546 - Entry nodes that set "EntryStatistics 1" write statistics on the
32547 rough number and origins of connecting clients to disk every 24
32549 - Relays that write any of the above statistics to disk and set
32550 "ExtraInfoStatistics 1" include the past 24 hours of statistics in
32551 their extra-info documents.
32554 - New --digests command-line switch to output the digests of the
32555 source files Tor was built with.
32556 - The "torify" script now uses torsocks where available.
32557 - The memarea code now uses a sentinel value at the end of each area
32558 to make sure nothing writes beyond the end of an area. This might
32559 help debug some conceivable causes of bug 930.
32560 - Time and memory units in the configuration file can now be set to
32561 fractional units. For example, "2.5 GB" is now a valid value for
32563 - Certain Tor clients (such as those behind check.torproject.org) may
32564 want to fetch the consensus in an extra early manner. To enable this
32565 a user may now set FetchDirInfoExtraEarly to 1. This also depends on
32566 setting FetchDirInfoEarly to 1. Previous behavior will stay the same
32567 as only certain clients who must have this information sooner should
32569 - Instead of adding the svn revision to the Tor version string, report
32570 the git commit (when we're building from a git checkout).
32573 - If any of the v3 certs we download are unparseable, we should
32574 actually notice the failure so we don't retry indefinitely. Bugfix
32575 on 0.2.0.x; reported by "rotator".
32576 - If the cached cert file is unparseable, warn but don't exit.
32577 - Fix possible segmentation fault on directory authorities. Bugfix on
32579 - When Tor fails to parse a descriptor of any kind, dump it to disk.
32580 Might help diagnosing bug 1051.
32582 o Deprecated and removed features:
32583 - The controller no longer accepts the old obsolete "addr-mappings/"
32584 or "unregistered-servers-" GETINFO values.
32585 - Hidden services no longer publish version 0 descriptors, and clients
32586 do not request or use version 0 descriptors. However, the old hidden
32587 service authorities still accept and serve version 0 descriptors
32588 when contacted by older hidden services/clients.
32589 - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
32590 always on; using them is necessary for correct forward-compatible
32592 - Remove support for .noconnect style addresses. Nobody was using
32593 them, and they provided another avenue for detecting Tor users
32594 via application-level web tricks.
32596 o Packaging changes:
32597 - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
32598 installer bundles. See
32599 https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
32600 for details of what's new in Vidalia 0.2.3.
32601 - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
32602 - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
32603 configuration file, rather than the old Privoxy.
32604 - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
32605 x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
32606 - OS X Tor Expert Bundle: Tor is compiled as x86-only for
32607 better compatibility with OS X 10.6, aka Snow Leopard.
32608 - OS X Vidalia Bundle: The multi-package installer is now replaced
32609 by a simple drag and drop to the /Applications folder. This change
32610 occurred with the upgrade to Vidalia 0.2.3.
32613 Changes in version 0.2.1.19 - 2009-07-28
32614 Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
32615 services on Tor 0.2.1.3-alpha through 0.2.1.18.
32618 - Make accessing hidden services on 0.2.1.x work right again.
32619 Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
32620 part of patch provided by "optimist".
32623 - When a relay/bridge is writing out its identity key fingerprint to
32624 the "fingerprint" file and to its logs, write it without spaces. Now
32625 it will look like the fingerprints in our bridges documentation,
32626 and confuse fewer users.
32629 - Relays no longer publish a new server descriptor if they change
32630 their MaxAdvertisedBandwidth config option but it doesn't end up
32631 changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
32632 fixes bug 1026. Patch from Sebastian.
32633 - Avoid leaking memory every time we get a create cell but we have
32634 so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
32635 fixes bug 1034. Reported by BarkerJr.
32638 Changes in version 0.2.1.18 - 2009-07-24
32639 Tor 0.2.1.18 lays the foundations for performance improvements,
32640 adds status events to help users diagnose bootstrap problems, adds
32641 optional authentication/authorization for hidden services, fixes a
32642 variety of potential anonymity problems, and includes a huge pile of
32643 other features and bug fixes.
32646 - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
32649 Changes in version 0.2.1.17-rc - 2009-07-07
32650 Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
32651 candidate for the 0.2.1.x series. It lays the groundwork for further
32652 client performance improvements, and also fixes a big bug with directory
32653 authorities that were causing them to assign Guard and Stable flags
32656 The Windows bundles also finally include the geoip database that we
32657 thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
32658 should actually install Torbutton rather than giving you a cryptic
32659 failure message (oops).
32662 - Clients now use the bandwidth values in the consensus, rather than
32663 the bandwidth values in each relay descriptor. This approach opens
32664 the door to more accurate bandwidth estimates once the directory
32665 authorities start doing active measurements. Implements more of
32669 - When Tor clients restart after 1-5 days, they discard all their
32670 cached descriptors as too old, but they still use the cached
32671 consensus document. This approach is good for robustness, but
32672 bad for performance: since they don't know any bandwidths, they
32673 end up choosing at random rather than weighting their choice by
32674 speed. Fixed by the above feature of putting bandwidths in the
32675 consensus. Bugfix on 0.2.0.x.
32676 - Directory authorities were neglecting to mark relays down in their
32677 internal histories if the relays fall off the routerlist without
32678 ever being found unreachable. So there were relays in the histories
32679 that haven't been seen for eight months, and are listed as being
32680 up for eight months. This wreaked havoc on the "median wfu"
32681 and "median mtbf" calculations, in turn making Guard and Stable
32682 flags very wrong, hurting network performance. Fixes bugs 696 and
32683 969. Bugfix on 0.2.0.6-alpha.
32686 - Serve the DirPortFrontPage page even when we have been approaching
32687 our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
32688 - The control port would close the connection before flushing long
32689 replies, such as the network consensus, if a QUIT command was issued
32690 before the reply had completed. Now, the control port flushes all
32691 pending replies before closing the connection. Also fixed a spurious
32692 warning when a QUIT command is issued after a malformed or rejected
32693 AUTHENTICATE command, but before the connection was closed. Patch
32694 by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
32695 - When we can't find an intro key for a v2 hidden service descriptor,
32696 fall back to the v0 hidden service descriptor and log a bug message.
32697 Workaround for bug 1024.
32698 - Fix a log message that did not respect the SafeLogging option.
32702 - If we're a relay and we change our IP address, be more verbose
32703 about the reason that made us change. Should help track down
32704 further bugs for relays on dynamic IP addresses.
32707 Changes in version 0.2.0.35 - 2009-06-24
32709 - Avoid crashing in the presence of certain malformed descriptors.
32710 Found by lark, and by automated fuzzing.
32711 - Fix an edge case where a malicious exit relay could convince a
32712 controller that the client's DNS question resolves to an internal IP
32713 address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
32716 - Finally fix the bug where dynamic-IP relays disappear when their
32717 IP address changes: directory mirrors were mistakenly telling
32718 them their old address if they asked via begin_dir, so they
32719 never got an accurate answer about their new address, so they
32720 just vanished after a day. For belt-and-suspenders, relays that
32721 don't set Address in their config now avoid using begin_dir for
32722 all direct connections. Should fix bugs 827, 883, and 900.
32723 - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
32724 that would occur on some exit nodes when DNS failures and timeouts
32725 occurred in certain patterns. Fix for bug 957.
32728 - When starting with a cache over a few days old, do not leak
32729 memory for the obsolete router descriptors in it. Bugfix on
32730 0.2.0.33; fixes bug 672.
32731 - Hidden service clients didn't use a cached service descriptor that
32732 was older than 15 minutes, but wouldn't fetch a new one either,
32733 because there was already one in the cache. Now, fetch a v2
32734 descriptor unless the same descriptor was added to the cache within
32735 the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
32738 Changes in version 0.2.1.16-rc - 2009-06-20
32739 Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
32740 a bunch of minor bugs.
32743 - Fix an edge case where a malicious exit relay could convince a
32744 controller that the client's DNS question resolves to an internal IP
32745 address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
32747 o Major performance improvements (on 0.2.0.x):
32748 - Disable and refactor some debugging checks that forced a linear scan
32749 over the whole server-side DNS cache. These accounted for over 50%
32750 of CPU time on a relatively busy exit node's gprof profile. Found
32752 - Disable some debugging checks that appeared in exit node profile
32756 - Update to the "June 3 2009" ip-to-country file.
32757 - Do not have tor-resolve automatically refuse all .onion addresses;
32758 if AutomapHostsOnResolve is set in your torrc, this will work fine.
32760 o Minor bugfixes (on 0.2.0.x):
32761 - Log correct error messages for DNS-related network errors on
32763 - Fix a race condition that could cause crashes or memory corruption
32764 when running as a server with a controller listening for log
32766 - Avoid crashing when we have a policy specified in a DirPolicy or
32767 SocksPolicy or ReachableAddresses option with ports set on it,
32768 and we re-load the policy. May fix bug 996.
32769 - Hidden service clients didn't use a cached service descriptor that
32770 was older than 15 minutes, but wouldn't fetch a new one either,
32771 because there was already one in the cache. Now, fetch a v2
32772 descriptor unless the same descriptor was added to the cache within
32773 the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
32775 o Minor bugfixes (on 0.2.1.x):
32776 - Don't warn users about low port and hibernation mix when they
32777 provide a *ListenAddress directive to fix that. Bugfix on
32779 - When switching back and forth between bridge mode, do not start
32780 gathering GeoIP data until two hours have passed.
32781 - Do not complain that the user has requested an excluded node as
32782 an exit when the node is not really an exit. This could happen
32783 because the circuit was for testing, or an introduction point.
32787 Changes in version 0.2.1.15-rc - 2009-05-25
32788 Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
32789 series. It fixes a major bug on fast exit relays, as well as a variety
32790 of more minor bugs.
32792 o Major bugfixes (on 0.2.0.x):
32793 - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
32794 that would occur on some exit nodes when DNS failures and timeouts
32795 occurred in certain patterns. Fix for bug 957.
32797 o Minor bugfixes (on 0.2.0.x):
32798 - Actually return -1 in the error case for read_bandwidth_usage().
32799 Harmless bug, since we currently don't care about the return value
32800 anywhere. Bugfix on 0.2.0.9-alpha.
32801 - Provide a more useful log message if bug 977 (related to buffer
32802 freelists) ever reappears, and do not crash right away.
32803 - Fix an assertion failure on 64-bit platforms when we allocated
32804 memory right up to the end of a memarea, then realigned the memory
32805 one step beyond the end. Fixes a possible cause of bug 930.
32806 - Protect the count of open sockets with a mutex, so we can't
32807 corrupt it when two threads are closing or opening sockets at once.
32808 Fix for bug 939. Bugfix on 0.2.0.1-alpha.
32809 - Don't allow a bridge to publish its router descriptor to a
32810 non-bridge directory authority. Fixes part of bug 932.
32811 - When we change to or from being a bridge, reset our counts of
32812 client usage by country. Fixes bug 932.
32813 - Fix a bug that made stream bandwidth get misreported to the
32815 - Stop using malloc_usable_size() to use more area than we had
32816 actually allocated: it was safe, but made valgrind really unhappy.
32817 - Fix a memory leak when v3 directory authorities load their keys
32818 and cert from disk. Bugfix on 0.2.0.1-alpha.
32820 o Minor bugfixes (on 0.2.1.x):
32821 - Fix use of freed memory when deciding to mark a non-addable
32822 descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
32825 Changes in version 0.2.1.14-rc - 2009-04-12
32826 Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
32827 series. It begins fixing some major performance problems, and also
32828 finally addresses the bug that was causing relays on dynamic IP
32829 addresses to fall out of the directory.
32832 - Clients replace entry guards that were chosen more than a few months
32833 ago. This change should significantly improve client performance,
32834 especially once more people upgrade, since relays that have been
32835 a guard for a long time are currently overloaded.
32837 o Major bugfixes (on 0.2.0):
32838 - Finally fix the bug where dynamic-IP relays disappear when their
32839 IP address changes: directory mirrors were mistakenly telling
32840 them their old address if they asked via begin_dir, so they
32841 never got an accurate answer about their new address, so they
32842 just vanished after a day. For belt-and-suspenders, relays that
32843 don't set Address in their config now avoid using begin_dir for
32844 all direct connections. Should fix bugs 827, 883, and 900.
32845 - Relays were falling out of the networkstatus consensus for
32846 part of a day if they changed their local config but the
32847 authorities discarded their new descriptor as "not sufficiently
32848 different". Now directory authorities accept a descriptor as changed
32849 if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
32850 patch by Sebastian.
32851 - Avoid crashing in the presence of certain malformed descriptors.
32852 Found by lark, and by automated fuzzing.
32855 - When generating circuit events with verbose nicknames for
32856 controllers, try harder to look up nicknames for routers on a
32857 circuit. (Previously, we would look in the router descriptors we had
32858 for nicknames, but not in the consensus.) Partial fix for bug 941.
32859 - If the bridge config line doesn't specify a port, assume 443.
32860 This makes bridge lines a bit smaller and easier for users to
32862 - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
32863 bytes (aka 20KB/s), to match our documentation. Also update
32864 directory authorities so they always assign the Fast flag to relays
32865 with 20KB/s of capacity. Now people running relays won't suddenly
32866 find themselves not seeing any use, if the network gets faster
32868 - Update to the "April 3 2009" ip-to-country file.
32871 - Avoid trying to print raw memory to the logs when we decide to
32872 give up on downloading a given relay descriptor. Bugfix on
32874 - In tor-resolve, when the Tor client to use is specified by
32875 <hostname>:<port>, actually use the specified port rather than
32876 defaulting to 9050. Bugfix on 0.2.1.6-alpha.
32877 - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
32878 - When starting with a cache over a few days old, do not leak
32879 memory for the obsolete router descriptors in it. Bugfix on
32881 - Avoid double-free on list of successfully uploaded hidden
32882 service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
32883 - Change memarea_strndup() implementation to work even when
32884 duplicating a string at the end of a page. This bug was
32885 harmless for now, but could have meant crashes later. Fix by
32886 lark. Bugfix on 0.2.1.1-alpha.
32887 - Limit uploaded directory documents to be 16M rather than 500K.
32888 The directory authorities were refusing v3 consensus votes from
32889 other authorities, since the votes are now 504K. Fixes bug 959;
32890 bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
32891 - Directory authorities should never send a 503 "busy" response to
32892 requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
32896 Changes in version 0.2.1.13-alpha - 2009-03-09
32897 Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
32898 cleanups. We're finally getting close to a release candidate.
32901 - Correctly update the list of which countries we exclude as
32902 exits, when the GeoIP file is loaded or reloaded. Diagnosed by
32903 lark. Bugfix on 0.2.1.6-alpha.
32905 o Minor bugfixes (on 0.2.0.x and earlier):
32906 - Automatically detect MacOSX versions earlier than 10.4.0, and
32907 disable kqueue from inside Tor when running with these versions.
32908 We previously did this from the startup script, but that was no
32909 help to people who didn't use the startup script. Resolves bug 863.
32910 - When we had picked an exit node for a connection, but marked it as
32911 "optional", and it turned out we had no onion key for the exit,
32912 stop wanting that exit and try again. This situation may not
32913 be possible now, but will probably become feasible with proposal
32914 158. Spotted by rovv. Fixes another case of bug 752.
32915 - Clients no longer cache certificates for authorities they do not
32916 recognize. Bugfix on 0.2.0.9-alpha.
32917 - When we can't transmit a DNS request due to a network error, retry
32918 it after a while, and eventually transmit a failing response to
32919 the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
32920 - If the controller claimed responsibility for a stream, but that
32921 stream never finished making its connection, it would live
32922 forever in circuit_wait state. Now we close it after SocksTimeout
32923 seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
32924 - Drop begin cells to a hidden service if they come from the middle
32925 of a circuit. Patch from lark.
32926 - When we erroneously receive two EXTEND cells for the same circuit
32927 ID on the same connection, drop the second. Patch from lark.
32928 - Fix a crash that occurs on exit nodes when a nameserver request
32929 timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
32930 been suppressing the bug since 0.1.2.10-alpha. Partial fix for
32932 - Do not assume that a stack-allocated character array will be
32933 64-bit aligned on platforms that demand that uint64_t access is
32934 aligned. Possible fix for bug 604.
32935 - Parse dates and IPv4 addresses in a locale- and libc-independent
32936 manner, to avoid platform-dependent behavior on malformed input.
32937 - Build correctly when configured to build outside the main source
32938 path. Patch from Michael Gold.
32939 - We were already rejecting relay begin cells with destination port
32940 of 0. Now also reject extend cells with destination port or address
32941 of 0. Suggested by lark.
32943 o Minor bugfixes (on 0.2.1.x):
32944 - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
32945 cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
32946 - If we're an exit node, scrub the IP address to which we are exiting
32947 in the logs. Bugfix on 0.2.1.8-alpha.
32950 - On Linux, use the prctl call to re-enable core dumps when the user
32952 - New controller event NEWCONSENSUS that lists the networkstatus
32953 lines for every recommended relay. Now controllers like Torflow
32954 can keep up-to-date on which relays they should be using.
32955 - Update to the "February 26 2009" ip-to-country file.
32958 Changes in version 0.2.0.34 - 2009-02-08
32959 Tor 0.2.0.34 features several more security-related fixes. You should
32960 upgrade, especially if you run an exit relay (remote crash) or a
32961 directory authority (remote infinite loop), or you're on an older
32962 (pre-XP) or not-recently-patched Windows (remote exploit).
32964 This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
32965 have many known flaws, and nobody should be using them. You should
32966 upgrade. If you're using a Linux or BSD and its packages are obsolete,
32967 stop using those packages and upgrade anyway.
32970 - Fix an infinite-loop bug on handling corrupt votes under certain
32971 circumstances. Bugfix on 0.2.0.8-alpha.
32972 - Fix a temporary DoS vulnerability that could be performed by
32973 a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
32974 - Avoid a potential crash on exit nodes when processing malformed
32975 input. Remote DoS opportunity. Bugfix on 0.2.0.33.
32976 - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
32977 Spec conformance issue. Bugfix on Tor 0.0.2pre27.
32980 - Fix compilation on systems where time_t is a 64-bit integer.
32981 Patch from Matthias Drochner.
32982 - Don't consider expiring already-closed client connections. Fixes
32983 bug 893. Bugfix on 0.0.2pre20.
32986 Changes in version 0.2.1.12-alpha - 2009-02-08
32987 Tor 0.2.1.12-alpha features several more security-related fixes. You
32988 should upgrade, especially if you run an exit relay (remote crash) or
32989 a directory authority (remote infinite loop), or you're on an older
32990 (pre-XP) or not-recently-patched Windows (remote exploit). It also
32991 includes a big pile of minor bugfixes and cleanups.
32994 - Fix an infinite-loop bug on handling corrupt votes under certain
32995 circumstances. Bugfix on 0.2.0.8-alpha.
32996 - Fix a temporary DoS vulnerability that could be performed by
32997 a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
32998 - Avoid a potential crash on exit nodes when processing malformed
32999 input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
33002 - Let controllers actually ask for the "clients_seen" event for
33003 getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
33004 reported by Matt Edman.
33005 - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
33007 - Fix a bug in address parsing that was preventing bridges or hidden
33008 service targets from being at IPv6 addresses.
33009 - Solve a bug that kept hardware crypto acceleration from getting
33010 enabled when accounting was turned on. Fixes bug 907. Bugfix on
33012 - Remove a bash-ism from configure.in to build properly on non-Linux
33013 platforms. Bugfix on 0.2.1.1-alpha.
33014 - Fix code so authorities _actually_ send back X-Descriptor-Not-New
33015 headers. Bugfix on 0.2.0.10-alpha.
33016 - Don't consider expiring already-closed client connections. Fixes
33017 bug 893. Bugfix on 0.0.2pre20.
33018 - Fix another interesting corner-case of bug 891 spotted by rovv:
33019 Previously, if two hosts had different amounts of clock drift, and
33020 one of them created a new connection with just the wrong timing,
33021 the other might decide to deprecate the new connection erroneously.
33022 Bugfix on 0.1.1.13-alpha.
33023 - Resolve a very rare crash bug that could occur when the user forced
33024 a nameserver reconfiguration during the middle of a nameserver
33025 probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
33026 - Support changing value of ServerDNSRandomizeCase during SIGHUP.
33027 Bugfix on 0.2.1.7-alpha.
33028 - If we're using bridges and our network goes away, be more willing
33029 to forgive our bridges and try again when we get an application
33030 request. Bugfix on 0.2.0.x.
33033 - Support platforms where time_t is 64 bits long. (Congratulations,
33034 NetBSD!) Patch from Matthias Drochner.
33035 - Add a 'getinfo status/clients-seen' controller command, in case
33036 controllers want to hear clients_seen events but connect late.
33039 - Disable GCC's strict alias optimization by default, to avoid the
33040 likelihood of its introducing subtle bugs whenever our code violates
33041 the letter of C99's alias rules.
33044 Changes in version 0.2.0.33 - 2009-01-21
33045 Tor 0.2.0.33 fixes a variety of bugs that were making relays less
33046 useful to users. It also finally fixes a bug where a relay or client
33047 that's been off for many days would take a long time to bootstrap.
33049 This update also fixes an important security-related bug reported by
33050 Ilja van Sprundel. You should upgrade. (We'll send out more details
33051 about the bug once people have had some time to upgrade.)
33054 - Fix a heap-corruption bug that may be remotely triggerable on
33055 some platforms. Reported by Ilja van Sprundel.
33058 - When a stream at an exit relay is in state "resolving" or
33059 "connecting" and it receives an "end" relay cell, the exit relay
33060 would silently ignore the end cell and not close the stream. If
33061 the client never closes the circuit, then the exit relay never
33062 closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
33063 reported by "wood".
33064 - When sending CREATED cells back for a given circuit, use a 64-bit
33065 connection ID to find the right connection, rather than an addr:port
33066 combination. Now that we can have multiple OR connections between
33067 the same ORs, it is no longer possible to use addr:port to uniquely
33068 identify a connection.
33069 - Bridge relays that had DirPort set to 0 would stop fetching
33070 descriptors shortly after startup, and then briefly resume
33071 after a new bandwidth test and/or after publishing a new bridge
33072 descriptor. Bridge users that try to bootstrap from them would
33073 get a recent networkstatus but would get descriptors from up to
33074 18 hours earlier, meaning most of the descriptors were obsolete
33075 already. Reported by Tas; bugfix on 0.2.0.13-alpha.
33076 - Prevent bridge relays from serving their 'extrainfo' document
33077 to anybody who asks, now that extrainfo docs include potentially
33078 sensitive aggregated client geoip summaries. Bugfix on
33080 - If the cached networkstatus consensus is more than five days old,
33081 discard it rather than trying to use it. In theory it could be
33082 useful because it lists alternate directory mirrors, but in practice
33083 it just means we spend many minutes trying directory mirrors that
33084 are long gone from the network. Also discard router descriptors as
33085 we load them if they are more than five days old, since the onion
33086 key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
33089 - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
33090 could make gcc generate non-functional binary search code. Bugfix
33092 - Build correctly on platforms without socklen_t.
33093 - Compile without warnings on solaris.
33094 - Avoid potential crash on internal error during signature collection.
33095 Fixes bug 864. Patch from rovv.
33096 - Correct handling of possible malformed authority signing key
33097 certificates with internal signature types. Fixes bug 880.
33098 Bugfix on 0.2.0.3-alpha.
33099 - Fix a hard-to-trigger resource leak when logging credential status.
33101 - When we can't initialize DNS because the network is down, do not
33102 automatically stop Tor from starting. Instead, we retry failed
33103 dns_init() every 10 minutes, and change the exit policy to reject
33104 *:* until one succeeds. Fixes bug 691.
33105 - Use 64 bits instead of 32 bits for connection identifiers used with
33106 the controller protocol, to greatly reduce risk of identifier reuse.
33107 - When we're choosing an exit node for a circuit, and we have
33108 no pending streams, choose a good general exit rather than one that
33109 supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
33110 - Fix another case of assuming, when a specific exit is requested,
33111 that we know more than the user about what hosts it allows.
33112 Fixes one case of bug 752. Patch from rovv.
33113 - Clip the MaxCircuitDirtiness config option to a minimum of 10
33114 seconds. Warn the user if lower values are given in the
33115 configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
33116 - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
33117 user if lower values are given in the configuration. Bugfix on
33118 0.1.1.17-rc. Patch by Sebastian.
33119 - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
33120 the cache because we already had a v0 descriptor with the same ID.
33121 Bugfix on 0.2.0.18-alpha.
33122 - Fix a race condition when freeing keys shared between main thread
33123 and CPU workers that could result in a memory leak. Bugfix on
33124 0.1.0.1-rc. Fixes bug 889.
33125 - Send a valid END cell back when a client tries to connect to a
33126 nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
33127 840. Patch from rovv.
33128 - Check which hops rendezvous stream cells are associated with to
33129 prevent possible guess-the-streamid injection attacks from
33130 intermediate hops. Fixes another case of bug 446. Based on patch
33132 - If a broken client asks a non-exit router to connect somewhere,
33133 do not even do the DNS lookup before rejecting the connection.
33134 Fixes another case of bug 619. Patch from rovv.
33135 - When a relay gets a create cell it can't decrypt (e.g. because it's
33136 using the wrong onion key), we were dropping it and letting the
33137 client time out. Now actually answer with a destroy cell. Fixes
33138 bug 904. Bugfix on 0.0.2pre8.
33140 o Minor bugfixes (hidden services):
33141 - Do not throw away existing introduction points on SIGHUP. Bugfix on
33142 0.0.6pre1. Patch by Karsten. Fixes bug 874.
33145 - Report the case where all signatures in a detached set are rejected
33146 differently than the case where there is an error handling the
33148 - When we realize that another process has modified our cached
33149 descriptors, print out a more useful error message rather than
33150 triggering an assertion. Fixes bug 885. Patch from Karsten.
33151 - Implement the 0x20 hack to better resist DNS poisoning: set the
33152 case on outgoing DNS requests randomly, and reject responses that do
33153 not match the case correctly. This logic can be disabled with the
33154 ServerDNSRandomizeCase setting, if you are using one of the 0.3%
33155 of servers that do not reliably preserve case in replies. See
33156 "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
33158 - Check DNS replies for more matching fields to better resist DNS
33160 - Never use OpenSSL compression: it wastes RAM and CPU trying to
33161 compress cells, which are basically all encrypted, compressed, or
33165 Changes in version 0.2.1.11-alpha - 2009-01-20
33166 Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
33167 week it will take a long time to bootstrap again" bug. It also fixes
33168 an important security-related bug reported by Ilja van Sprundel. You
33169 should upgrade. (We'll send out more details about the bug once people
33170 have had some time to upgrade.)
33173 - Fix a heap-corruption bug that may be remotely triggerable on
33174 some platforms. Reported by Ilja van Sprundel.
33177 - Discard router descriptors as we load them if they are more than
33178 five days old. Otherwise if Tor is off for a long time and then
33179 starts with cached descriptors, it will try to use the onion
33180 keys in those obsolete descriptors when building circuits. Bugfix
33181 on 0.2.0.x. Fixes bug 887.
33184 - Try to make sure that the version of Libevent we're running with
33185 is binary-compatible with the one we built with. May address bug
33187 - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
33188 for bug 905. Bugfix on 0.2.1.7-alpha.
33189 - Add a new --enable-local-appdata configuration switch to change
33190 the default location of the datadir on win32 from APPDATA to
33191 LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
33192 entirely. Patch from coderman.
33195 - Make outbound DNS packets respect the OutboundBindAddress setting.
33196 Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
33197 - When our circuit fails at the first hop (e.g. we get a destroy
33198 cell back), avoid using that OR connection anymore, and also
33199 tell all the one-hop directory requests waiting for it that they
33200 should fail. Bugfix on 0.2.1.3-alpha.
33201 - In the torify(1) manpage, mention that tsocks will leak your
33205 Changes in version 0.2.1.10-alpha - 2009-01-06
33206 Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
33207 would make the bridge relay not so useful if it had DirPort set to 0,
33208 and one that could let an attacker learn a little bit of information
33209 about the bridge's users), and a bug that would cause your Tor relay
33210 to ignore a circuit create request it can't decrypt (rather than reply
33211 with an error). It also fixes a wide variety of other bugs.
33214 - If the cached networkstatus consensus is more than five days old,
33215 discard it rather than trying to use it. In theory it could
33216 be useful because it lists alternate directory mirrors, but in
33217 practice it just means we spend many minutes trying directory
33218 mirrors that are long gone from the network. Helps bug 887 a bit;
33220 - Bridge relays that had DirPort set to 0 would stop fetching
33221 descriptors shortly after startup, and then briefly resume
33222 after a new bandwidth test and/or after publishing a new bridge
33223 descriptor. Bridge users that try to bootstrap from them would
33224 get a recent networkstatus but would get descriptors from up to
33225 18 hours earlier, meaning most of the descriptors were obsolete
33226 already. Reported by Tas; bugfix on 0.2.0.13-alpha.
33227 - Prevent bridge relays from serving their 'extrainfo' document
33228 to anybody who asks, now that extrainfo docs include potentially
33229 sensitive aggregated client geoip summaries. Bugfix on
33233 - New controller event "clients_seen" to report a geoip-based summary
33234 of which countries we've seen clients from recently. Now controllers
33235 like Vidalia can show bridge operators that they're actually making
33237 - Build correctly against versions of OpenSSL 0.9.8 or later built
33238 without support for deprecated functions.
33239 - Update to the "December 19 2008" ip-to-country file.
33241 o Minor bugfixes (on 0.2.0.x):
33242 - Authorities now vote for the Stable flag for any router whose
33243 weighted MTBF is at least 5 days, regardless of the mean MTBF.
33244 - Do not remove routers as too old if we do not have any consensus
33245 document. Bugfix on 0.2.0.7-alpha.
33246 - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
33247 Spec conformance issue. Bugfix on Tor 0.0.2pre27.
33248 - When an exit relay resolves a stream address to a local IP address,
33249 do not just keep retrying that same exit relay over and
33250 over. Instead, just close the stream. Addresses bug 872. Bugfix
33251 on 0.2.0.32. Patch from rovv.
33252 - If a hidden service sends us an END cell, do not consider
33253 retrying the connection; just close it. Patch from rovv.
33254 - When we made bridge authorities stop serving bridge descriptors over
33255 unencrypted links, we also broke DirPort reachability testing for
33256 bridges. So bridges with a non-zero DirPort were printing spurious
33257 warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
33258 - When a relay gets a create cell it can't decrypt (e.g. because it's
33259 using the wrong onion key), we were dropping it and letting the
33260 client time out. Now actually answer with a destroy cell. Fixes
33261 bug 904. Bugfix on 0.0.2pre8.
33262 - Squeeze 2-5% out of client performance (according to oprofile) by
33263 improving the implementation of some policy-manipulation functions.
33265 o Minor bugfixes (on 0.2.1.x):
33266 - Make get_interface_address() function work properly again; stop
33267 guessing the wrong parts of our address as our address.
33268 - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
33269 send on that circuit. Otherwise we might violate the proposal-110
33270 limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
33272 - When we're sending non-EXTEND cells to the first hop in a circuit,
33273 for example to use an encrypted directory connection, we don't need
33274 to use RELAY_EARLY cells: the first hop knows what kind of cell
33275 it is, and nobody else can even see the cell type. Conserving
33276 RELAY_EARLY cells makes it easier to cannibalize circuits like
33278 - Stop logging nameserver addresses in reverse order.
33279 - If we are retrying a directory download slowly over and over, do
33280 not automatically give up after the 254th failure. Bugfix on
33282 - Resume reporting accurate "stream end" reasons to the local control
33283 port. They were lost in the changes for Proposal 148. Bugfix on
33286 o Deprecated and removed features:
33287 - The old "tor --version --version" command, which would print out
33288 the subversion "Id" of most of the source files, is now removed. It
33289 turned out to be less useful than we'd expected, and harder to
33292 o Code simplifications and refactoring:
33293 - Change our header file guard macros to be less likely to conflict
33294 with system headers. Adam Langley noticed that we were conflicting
33295 with log.h on Android.
33296 - Tool-assisted documentation cleanup. Nearly every function or
33297 static variable in Tor should have its own documentation now.
33300 Changes in version 0.2.1.9-alpha - 2008-12-25
33301 Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
33303 o New directory authorities:
33304 - gabelmoo (the authority run by Karsten Loesing) now has a new
33308 - Never use a connection with a mismatched address to extend a
33309 circuit, unless that connection is canonical. A canonical
33310 connection is one whose address is authenticated by the router's
33311 identity key, either in a NETINFO cell or in a router descriptor.
33312 - Avoid a possible memory corruption bug when receiving hidden service
33313 descriptors. Bugfix on 0.2.1.6-alpha.
33316 - Fix a logic error that would automatically reject all but the first
33317 configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
33318 part of bug 813/868. Bug spotted by coderman.
33319 - When a stream at an exit relay is in state "resolving" or
33320 "connecting" and it receives an "end" relay cell, the exit relay
33321 would silently ignore the end cell and not close the stream. If
33322 the client never closes the circuit, then the exit relay never
33323 closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
33324 reported by "wood".
33325 - When we can't initialize DNS because the network is down, do not
33326 automatically stop Tor from starting. Instead, retry failed
33327 dns_init() every 10 minutes, and change the exit policy to reject
33328 *:* until one succeeds. Fixes bug 691.
33331 - Give a better error message when an overzealous init script says
33332 "sudo -u username tor --user username". Makes Bug 882 easier for
33334 - When a directory authority gives us a new guess for our IP address,
33335 log which authority we used. Hopefully this will help us debug
33336 the recent complaints about bad IP address guesses.
33337 - Detect svn revision properly when we're using git-svn.
33338 - Try not to open more than one descriptor-downloading connection
33339 to an authority at once. This should reduce load on directory
33340 authorities. Fixes bug 366.
33341 - Add cross-certification to newly generated certificates, so that
33342 a signing key is enough information to look up a certificate.
33343 Partial implementation of proposal 157.
33344 - Start serving certificates by <identity digest, signing key digest>
33345 pairs. Partial implementation of proposal 157.
33346 - Clients now never report any stream end reason except 'MISC'.
33347 Implements proposal 148.
33348 - On platforms with a maximum syslog string length, truncate syslog
33349 messages to that length ourselves, rather than relying on the
33350 system to do it for us.
33351 - Optimize out calls to time(NULL) that occur for every IO operation,
33352 or for every cell. On systems where time() is a slow syscall,
33353 this fix will be slightly helpful.
33354 - Exit servers can now answer resolve requests for ip6.arpa addresses.
33355 - When we download a descriptor that we then immediately (as
33356 a directory authority) reject, do not retry downloading it right
33357 away. Should save some bandwidth on authorities. Fix for bug
33358 888. Patch by Sebastian Hahn.
33359 - When a download gets us zero good descriptors, do not notify
33360 Tor that new directory information has arrived.
33361 - Avoid some nasty corner cases in the logic for marking connections
33362 as too old or obsolete or noncanonical for circuits. Partial
33365 o Minor features (controller):
33366 - New CONSENSUS_ARRIVED event to note when a new consensus has
33367 been fetched and validated.
33368 - When we realize that another process has modified our cached
33369 descriptors file, print out a more useful error message rather
33370 than triggering an assertion. Fixes bug 885. Patch from Karsten.
33371 - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
33372 controllers to prevent SIGHUP from reloading the
33373 configuration. Fixes bug 856.
33376 - Resume using the correct "REASON=" stream when telling the
33377 controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
33378 - When a canonical connection appears later in our internal list
33379 than a noncanonical one for a given OR ID, always use the
33380 canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
33382 - Clip the MaxCircuitDirtiness config option to a minimum of 10
33383 seconds. Warn the user if lower values are given in the
33384 configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
33385 - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
33386 user if lower values are given in the configuration. Bugfix on
33387 0.1.1.17-rc. Patch by Sebastian.
33388 - Fix a race condition when freeing keys shared between main thread
33389 and CPU workers that could result in a memory leak. Bugfix on
33390 0.1.0.1-rc. Fixes bug 889.
33392 o Minor bugfixes (hidden services):
33393 - Do not throw away existing introduction points on SIGHUP (bugfix on
33394 0.0.6pre1); also, do not stall hidden services because we're
33395 throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
33396 by John Brooks. Patch by Karsten. Fixes bug 874.
33397 - Fix a memory leak when we decline to add a v2 rendezvous
33398 descriptor to the cache because we already had a v0 descriptor
33399 with the same ID. Bugfix on 0.2.0.18-alpha.
33401 o Deprecated and removed features:
33402 - RedirectExits has been removed. It was deprecated since
33404 - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
33405 has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
33406 - Cell pools are now always enabled; --disable-cell-pools is ignored.
33408 o Code simplifications and refactoring:
33409 - Rename the confusing or_is_obsolete field to the more appropriate
33410 is_bad_for_new_circs, and move it to or_connection_t where it
33412 - Move edge-only flags from connection_t to edge_connection_t: not
33413 only is this better coding, but on machines of plausible alignment,
33414 it should save 4-8 bytes per connection_t. "Every little bit helps."
33415 - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
33416 for consistency; keep old option working for backward compatibility.
33417 - Simplify the code for finding connections to use for a circuit.
33420 Changes in version 0.2.1.8-alpha - 2008-12-08
33421 Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
33422 builds better on unusual platforms like Solaris and old OS X, and
33423 fixes a variety of other issues.
33426 - New DirPortFrontPage option that takes an html file and publishes
33427 it as "/" on the DirPort. Now relay operators can provide a
33428 disclaimer without needing to set up a separate webserver. There's
33429 a sample disclaimer in contrib/tor-exit-notice.html.
33432 - When the client is choosing entry guards, now it selects at most
33433 one guard from a given relay family. Otherwise we could end up with
33434 all of our entry points into the network run by the same operator.
33435 Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
33438 - Fix a DOS opportunity during the voting signature collection process
33439 at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
33440 - Fix a possible segfault when establishing an exit connection. Bugfix
33444 - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
33446 - Made Tor a little less aggressive about deleting expired
33447 certificates. Partial fix for bug 854.
33448 - Stop doing unaligned memory access that generated bus errors on
33449 sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
33450 - Fix a crash bug when changing EntryNodes from the controller. Bugfix
33451 on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
33452 - Make USR2 log-level switch take effect immediately. Bugfix on
33454 - If one win32 nameserver fails to get added, continue adding the
33455 rest, and don't automatically fail.
33456 - Use fcntl() for locking when flock() is not available. Should fix
33457 compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
33458 - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
33459 could make gcc generate non-functional binary search code. Bugfix
33461 - Build correctly on platforms without socklen_t.
33462 - Avoid potential crash on internal error during signature collection.
33463 Fixes bug 864. Patch from rovv.
33464 - Do not use C's stdio library for writing to log files. This will
33465 improve logging performance by a minute amount, and will stop
33466 leaking fds when our disk is full. Fixes bug 861.
33467 - Stop erroneous use of O_APPEND in cases where we did not in fact
33468 want to re-seek to the end of a file before every last write().
33469 - Correct handling of possible malformed authority signing key
33470 certificates with internal signature types. Fixes bug 880. Bugfix
33472 - Fix a hard-to-trigger resource leak when logging credential status.
33476 - Directory mirrors no longer fetch the v1 directory or
33477 running-routers files. They are obsolete, and nobody asks for them
33478 anymore. This is the first step to making v1 authorities obsolete.
33480 o Minor features (controller):
33481 - Return circuit purposes in response to GETINFO circuit-status. Fixes
33485 Changes in version 0.2.0.32 - 2008-11-20
33486 Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
33487 packages (and maybe other packages) noticed by Theo de Raadt, fixes
33488 a smaller security flaw that might allow an attacker to access local
33489 services, further improves hidden service performance, and fixes a
33490 variety of other issues.
33493 - The "User" and "Group" config options did not clear the
33494 supplementary group entries for the Tor process. The "User" option
33495 is now more robust, and we now set the groups to the specified
33496 user's primary group. The "Group" option is now ignored. For more
33497 detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
33498 in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
33499 and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
33500 - The "ClientDNSRejectInternalAddresses" config option wasn't being
33501 consistently obeyed: if an exit relay refuses a stream because its
33502 exit policy doesn't allow it, we would remember what IP address
33503 the relay said the destination address resolves to, even if it's
33504 an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
33507 - Fix a DOS opportunity during the voting signature collection process
33508 at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
33510 o Major bugfixes (hidden services):
33511 - When fetching v0 and v2 rendezvous service descriptors in parallel,
33512 we were failing the whole hidden service request when the v0
33513 descriptor fetch fails, even if the v2 fetch is still pending and
33514 might succeed. Similarly, if the last v2 fetch fails, we were
33515 failing the whole hidden service request even if a v0 fetch is
33516 still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
33517 - When extending a circuit to a hidden service directory to upload a
33518 rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
33519 requests failed, because the router descriptor has not been
33520 downloaded yet. In these cases, do not attempt to upload the
33521 rendezvous descriptor, but wait until the router descriptor is
33522 downloaded and retry. Likewise, do not attempt to fetch a rendezvous
33523 descriptor from a hidden service directory for which the router
33524 descriptor has not yet been downloaded. Fixes bug 767. Bugfix
33528 - Fix several infrequent memory leaks spotted by Coverity.
33529 - When testing for libevent functions, set the LDFLAGS variable
33530 correctly. Found by Riastradh.
33531 - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
33532 bootstrapping with tunneled directory connections. Bugfix on
33533 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
33534 - When asked to connect to A.B.exit:80, if we don't know the IP for A
33535 and we know that server B rejects most-but-not all connections to
33536 port 80, we would previously reject the connection. Now, we assume
33537 the user knows what they were asking for. Fixes bug 752. Bugfix
33538 on 0.0.9rc5. Diagnosed by BarkerJr.
33539 - If we overrun our per-second write limits a little, count this as
33540 having used up our write allocation for the second, and choke
33541 outgoing directory writes. Previously, we had only counted this when
33542 we had met our limits precisely. Fixes bug 824. Patch from by rovv.
33543 Bugfix on 0.2.0.x (??).
33544 - Remove the old v2 directory authority 'lefkada' from the default
33545 list. It has been gone for many months.
33546 - Stop doing unaligned memory access that generated bus errors on
33547 sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
33548 - Make USR2 log-level switch take effect immediately. Bugfix on
33551 o Minor bugfixes (controller):
33552 - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
33553 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
33556 Changes in version 0.2.1.7-alpha - 2008-11-08
33557 Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
33558 packages (and maybe other packages) noticed by Theo de Raadt, fixes
33559 a smaller security flaw that might allow an attacker to access local
33560 services, adds better defense against DNS poisoning attacks on exit
33561 relays, further improves hidden service performance, and fixes a
33562 variety of other issues.
33565 - The "ClientDNSRejectInternalAddresses" config option wasn't being
33566 consistently obeyed: if an exit relay refuses a stream because its
33567 exit policy doesn't allow it, we would remember what IP address
33568 the relay said the destination address resolves to, even if it's
33569 an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
33570 - The "User" and "Group" config options did not clear the
33571 supplementary group entries for the Tor process. The "User" option
33572 is now more robust, and we now set the groups to the specified
33573 user's primary group. The "Group" option is now ignored. For more
33574 detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
33575 in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
33576 and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
33577 - Do not use or believe expired v3 authority certificates. Patch
33578 from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
33581 - Now NodeFamily and MyFamily config options allow spaces in
33582 identity fingerprints, so it's easier to paste them in.
33583 Suggested by Lucky Green.
33584 - Implement the 0x20 hack to better resist DNS poisoning: set the
33585 case on outgoing DNS requests randomly, and reject responses that do
33586 not match the case correctly. This logic can be disabled with the
33587 ServerDNSRandomizeCase setting, if you are using one of the 0.3%
33588 of servers that do not reliably preserve case in replies. See
33589 "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
33591 - Preserve case in replies to DNSPort requests in order to support
33592 the 0x20 hack for resisting DNS poisoning attacks.
33594 o Hidden service performance improvements:
33595 - When the client launches an introduction circuit, retry with a
33596 new circuit after 30 seconds rather than 60 seconds.
33597 - Launch a second client-side introduction circuit in parallel
33598 after a delay of 15 seconds (based on work by Christian Wilms).
33599 - Hidden services start out building five intro circuits rather
33600 than three, and when the first three finish they publish a service
33601 descriptor using those. Now we publish our service descriptor much
33602 faster after restart.
33605 - Minor fix in the warning messages when you're having problems
33606 bootstrapping; also, be more forgiving of bootstrap problems when
33607 we're still making incremental progress on a given bootstrap phase.
33608 - When we're choosing an exit node for a circuit, and we have
33609 no pending streams, choose a good general exit rather than one that
33610 supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
33611 - Send a valid END cell back when a client tries to connect to a
33612 nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
33613 840. Patch from rovv.
33614 - If a broken client asks a non-exit router to connect somewhere,
33615 do not even do the DNS lookup before rejecting the connection.
33616 Fixes another case of bug 619. Patch from rovv.
33617 - Fix another case of assuming, when a specific exit is requested,
33618 that we know more than the user about what hosts it allows.
33619 Fixes another case of bug 752. Patch from rovv.
33620 - Check which hops rendezvous stream cells are associated with to
33621 prevent possible guess-the-streamid injection attacks from
33622 intermediate hops. Fixes another case of bug 446. Based on patch
33624 - Avoid using a negative right-shift when comparing 32-bit
33625 addresses. Possible fix for bug 845 and bug 811.
33626 - Make the assert_circuit_ok() function work correctly on circuits that
33627 have already been marked for close.
33628 - Fix read-off-the-end-of-string error in unit tests when decoding
33629 introduction points.
33630 - Fix uninitialized size field for memory area allocation: may improve
33631 memory performance during directory parsing.
33632 - Treat duplicate certificate fetches as failures, so that we do
33633 not try to re-fetch an expired certificate over and over and over.
33634 - Do not say we're fetching a certificate when we'll in fact skip it
33635 because of a pending download.
33638 Changes in version 0.2.1.6-alpha - 2008-09-30
33639 Tor 0.2.1.6-alpha further improves performance and robustness of
33640 hidden services, starts work on supporting per-country relay selection,
33641 and fixes a variety of smaller issues.
33644 - Implement proposal 121: make it possible to build hidden services
33645 that only certain clients are allowed to connect to. This is
33646 enforced at several points, so that unauthorized clients are unable
33647 to send INTRODUCE cells to the service, or even (depending on the
33648 type of authentication) to learn introduction points. This feature
33649 raises the bar for certain kinds of active attacks against hidden
33650 services. Code by Karsten Loesing.
33651 - Relays now store and serve v2 hidden service descriptors by default,
33652 i.e., the new default value for HidServDirectoryV2 is 1. This is
33653 the last step in proposal 114, which aims to make hidden service
33654 lookups more reliable.
33655 - Start work to allow node restrictions to include country codes. The
33656 syntax to exclude nodes in a country with country code XX is
33657 "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
33658 refinement to decide what config options should take priority if
33659 you ask to both use a particular node and exclude it.
33660 - Allow ExitNodes list to include IP ranges and country codes, just
33661 like the Exclude*Nodes lists. Patch from Robert Hogan.
33664 - Fix a bug when parsing ports in tor_addr_port_parse() that caused
33665 Tor to fail to start if you had it configured to use a bridge
33666 relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
33667 - When extending a circuit to a hidden service directory to upload a
33668 rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
33669 requests failed, because the router descriptor had not been
33670 downloaded yet. In these cases, we now wait until the router
33671 descriptor is downloaded, and then retry. Likewise, clients
33672 now skip over a hidden service directory if they don't yet have
33673 its router descriptor, rather than futilely requesting it and
33674 putting mysterious complaints in the logs. Fixes bug 767. Bugfix
33676 - When fetching v0 and v2 rendezvous service descriptors in parallel,
33677 we were failing the whole hidden service request when the v0
33678 descriptor fetch fails, even if the v2 fetch is still pending and
33679 might succeed. Similarly, if the last v2 fetch fails, we were
33680 failing the whole hidden service request even if a v0 fetch is
33681 still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
33682 - DNS replies need to have names matching their requests, but
33683 these names should be in the questions section, not necessarily
33684 in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
33687 - Update to the "September 1 2008" ip-to-country file.
33688 - Allow ports 465 and 587 in the default exit policy again. We had
33689 rejected them in 0.1.0.15, because back in 2005 they were commonly
33690 misconfigured and ended up as spam targets. We hear they are better
33691 locked down these days.
33692 - Use a lockfile to make sure that two Tor processes are not
33693 simultaneously running with the same datadir.
33694 - Serve the latest v3 networkstatus consensus via the control
33695 port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
33696 - Better logging about stability/reliability calculations on directory
33698 - Drop the requirement to have an open dir port for storing and
33699 serving v2 hidden service descriptors.
33700 - Directory authorities now serve a /tor/dbg-stability.txt URL to
33701 help debug WFU and MTBF calculations.
33702 - Implement most of Proposal 152: allow specialized servers to permit
33703 single-hop circuits, and clients to use those servers to build
33704 single-hop circuits when using a specialized controller. Patch
33705 from Josh Albrecht. Resolves feature request 768.
33706 - Add a -p option to tor-resolve for specifying the SOCKS port: some
33707 people find host:port too confusing.
33708 - Make TrackHostExit mappings expire a while after their last use, not
33709 after their creation. Patch from Robert Hogan.
33710 - Provide circuit purposes along with circuit events to the controller.
33713 - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
33715 - Fixed some memory leaks -- some quite frequent, some almost
33716 impossible to trigger -- based on results from Coverity.
33717 - When testing for libevent functions, set the LDFLAGS variable
33718 correctly. Found by Riastradh.
33719 - Fix an assertion bug in parsing policy-related options; possible fix
33721 - Catch and report a few more bootstrapping failure cases when Tor
33722 fails to establish a TCP connection. Cleanup on 0.2.1.x.
33723 - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
33724 bootstrapping with tunneled directory connections. Bugfix on
33725 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
33726 - When asked to connect to A.B.exit:80, if we don't know the IP for A
33727 and we know that server B rejects most-but-not all connections to
33728 port 80, we would previously reject the connection. Now, we assume
33729 the user knows what they were asking for. Fixes bug 752. Bugfix
33730 on 0.0.9rc5. Diagnosed by BarkerJr.
33731 - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
33732 service directories if they have no advertised dir port. Bugfix
33734 - If we overrun our per-second write limits a little, count this as
33735 having used up our write allocation for the second, and choke
33736 outgoing directory writes. Previously, we had only counted this when
33737 we had met our limits precisely. Fixes bug 824. Patch by rovv.
33738 Bugfix on 0.2.0.x (??).
33739 - Avoid a "0 divided by 0" calculation when calculating router uptime
33740 at directory authorities. Bugfix on 0.2.0.8-alpha.
33741 - Make DNS resolved controller events into "CLOSED", not
33742 "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
33744 - Fix a bug where an unreachable relay would establish enough
33745 reachability testing circuits to do a bandwidth test -- if
33746 we already have a connection to the middle hop of the testing
33747 circuit, then it could establish the last hop by using the existing
33748 connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
33749 circuits no longer use entry guards in 0.2.1.3-alpha.
33750 - If we have correct permissions on $datadir, we complain to stdout
33751 and fail to start. But dangerous permissions on
33752 $datadir/cached-status/ would cause us to open a log and complain
33753 there. Now complain to stdout and fail to start in both cases. Fixes
33754 bug 820, reported by seeess.
33755 - Remove the old v2 directory authority 'lefkada' from the default
33756 list. It has been gone for many months.
33758 o Code simplifications and refactoring:
33759 - Revise the connection_new functions so that a more typesafe variant
33760 exists. This will work better with Coverity, and let us find any
33761 actual mistakes we're making here.
33762 - Refactor unit testing logic so that dmalloc can be used sensibly
33763 with unit tests to check for memory leaks.
33764 - Move all hidden-service related fields from connection and circuit
33765 structure to substructures: this way they won't eat so much memory.
33768 Changes in version 0.2.0.31 - 2008-09-03
33769 Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
33770 a big bug we're seeing where in rare cases traffic from one Tor stream
33771 gets mixed into another stream, and fixes a variety of smaller issues.
33774 - Make sure that two circuits can never exist on the same connection
33775 with the same circuit ID, even if one is marked for close. This
33776 is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
33777 - Relays now reject risky extend cells: if the extend cell includes
33778 a digest of all zeroes, or asks to extend back to the relay that
33779 sent the extend cell, tear down the circuit. Ideas suggested
33781 - If not enough of our entry guards are available so we add a new
33782 one, we might use the new one even if it overlapped with the
33783 current circuit's exit relay (or its family). Anonymity bugfix
33784 pointed out by rovv.
33787 - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
33788 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
33789 - Correctly detect the presence of the linux/netfilter_ipv4.h header
33790 when building against recent kernels. Bugfix on 0.1.2.1-alpha.
33791 - Pick size of default geoip filename string correctly on windows.
33792 Fixes bug 806. Bugfix on 0.2.0.30.
33793 - Make the autoconf script accept the obsolete --with-ssl-dir
33794 option as an alias for the actually-working --with-openssl-dir
33795 option. Fix the help documentation to recommend --with-openssl-dir.
33796 Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
33797 - When using the TransPort option on OpenBSD, and using the User
33798 option to change UID and drop privileges, make sure to open
33799 /dev/pf before dropping privileges. Fixes bug 782. Patch from
33800 Christopher Davis. Bugfix on 0.1.2.1-alpha.
33801 - Try to attach connections immediately upon receiving a RENDEZVOUS2
33802 or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
33803 on the client side when connecting to a hidden service. Bugfix
33804 on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
33805 - When closing an application-side connection because its circuit is
33806 getting torn down, generate the stream event correctly. Bugfix on
33807 0.1.2.x. Anonymous patch.
33810 Changes in version 0.2.1.5-alpha - 2008-08-31
33811 Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
33812 in a lot of the infrastructure for adding authorization to hidden
33813 services, lays the groundwork for having clients read their load
33814 balancing information out of the networkstatus consensus rather than
33815 the individual router descriptors, addresses two potential anonymity
33816 issues, and fixes a variety of smaller issues.
33819 - Convert many internal address representations to optionally hold
33821 - Generate and accept IPv6 addresses in many protocol elements.
33822 - Make resolver code handle nameservers located at ipv6 addresses.
33823 - Begin implementation of proposal 121 ("Client authorization for
33824 hidden services"): configure hidden services with client
33825 authorization, publish descriptors for them, and configure
33826 authorization data for hidden services at clients. The next
33827 step is to actually access hidden services that perform client
33829 - More progress toward proposal 141: Network status consensus
33830 documents and votes now contain bandwidth information for each
33831 router and a summary of that router's exit policy. Eventually this
33832 will be used by clients so that they do not have to download every
33833 known descriptor before building circuits.
33835 o Major bugfixes (on 0.2.0.x and before):
33836 - When sending CREATED cells back for a given circuit, use a 64-bit
33837 connection ID to find the right connection, rather than an addr:port
33838 combination. Now that we can have multiple OR connections between
33839 the same ORs, it is no longer possible to use addr:port to uniquely
33840 identify a connection.
33841 - Relays now reject risky extend cells: if the extend cell includes
33842 a digest of all zeroes, or asks to extend back to the relay that
33843 sent the extend cell, tear down the circuit. Ideas suggested
33845 - If not enough of our entry guards are available so we add a new
33846 one, we might use the new one even if it overlapped with the
33847 current circuit's exit relay (or its family). Anonymity bugfix
33848 pointed out by rovv.
33851 - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
33852 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
33853 - When using the TransPort option on OpenBSD, and using the User
33854 option to change UID and drop privileges, make sure to open /dev/pf
33855 before dropping privileges. Fixes bug 782. Patch from Christopher
33856 Davis. Bugfix on 0.1.2.1-alpha.
33857 - Correctly detect the presence of the linux/netfilter_ipv4.h header
33858 when building against recent kernels. Bugfix on 0.1.2.1-alpha.
33859 - Add a missing safe_str() call for a debug log message.
33860 - Use 64 bits instead of 32 bits for connection identifiers used with
33861 the controller protocol, to greatly reduce risk of identifier reuse.
33862 - Make the autoconf script accept the obsolete --with-ssl-dir
33863 option as an alias for the actually-working --with-openssl-dir
33864 option. Fix the help documentation to recommend --with-openssl-dir.
33865 Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
33868 - Rate-limit too-many-sockets messages: when they happen, they happen
33869 a lot. Resolves bug 748.
33870 - Resist DNS poisoning a little better by making sure that names in
33871 answer sections match.
33872 - Print the SOCKS5 error message string as well as the error code
33873 when a tor-resolve request fails. Patch from Jacob.
33876 Changes in version 0.2.1.4-alpha - 2008-08-04
33877 Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
33880 - The address part of exit policies was not correctly written
33881 to router descriptors. This generated router descriptors that failed
33882 their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
33884 - Tor triggered a false assert when extending a circuit to a relay
33885 but we already have a connection open to that relay. Noticed by
33886 phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
33889 - Fix a hidden service logging bug: in some edge cases, the router
33890 descriptor of a previously picked introduction point becomes
33891 obsolete and we need to give up on it rather than continually
33892 complaining that it has become obsolete. Observed by xiando. Bugfix
33895 o Removed features:
33896 - Take out the TestVia config option, since it was a workaround for
33897 a bug that was fixed in Tor 0.1.1.21.
33900 Changes in version 0.2.1.3-alpha - 2008-08-03
33901 Tor 0.2.1.3-alpha implements most of the pieces to prevent
33902 infinite-length circuit attacks (see proposal 110); fixes a bug that
33903 might cause exit relays to corrupt streams they send back; allows
33904 address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
33905 ExcludeExitNodes config options; and fixes a big pile of bugs.
33907 o Bootstrapping bugfixes (on 0.2.1.x-alpha):
33908 - Send a bootstrap problem "warn" event on the first problem if the
33909 reason is NO_ROUTE (that is, our network is down).
33912 - Implement most of proposal 110: The first K cells to be sent
33913 along a circuit are marked as special "early" cells; only K "early"
33914 cells will be allowed. Once this code is universal, we can block
33915 certain kinds of DOS attack by requiring that EXTEND commands must
33916 be sent using an "early" cell.
33919 - Try to attach connections immediately upon receiving a RENDEZVOUS2
33920 or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
33921 on the client side when connecting to a hidden service. Bugfix
33922 on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
33923 - Ensure that two circuits can never exist on the same connection
33924 with the same circuit ID, even if one is marked for close. This
33925 is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
33928 - When relays do their initial bandwidth measurement, don't limit
33929 to just our entry guards for the test circuits. Otherwise we tend
33930 to have multiple test circuits going through a single entry guard,
33931 which makes our bandwidth test less accurate. Fixes part of bug 654;
33932 patch contributed by Josh Albrecht.
33933 - Add an ExcludeExitNodes option so users can list a set of nodes
33934 that should be be excluded from the exit node position, but
33935 allowed elsewhere. Implements proposal 151.
33936 - Allow address patterns (e.g., 255.128.0.0/16) to appear in
33937 ExcludeNodes and ExcludeExitNodes lists.
33938 - Change the implementation of ExcludeNodes and ExcludeExitNodes to
33939 be more efficient. Formerly it was quadratic in the number of
33940 servers; now it should be linear. Fixes bug 509.
33941 - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
33942 and n_conn_id_digest fields into a separate structure that's
33943 only needed when the circuit has not yet attached to an n_conn.
33946 - Change the contrib/tor.logrotate script so it makes the new
33947 logs as "_tor:_tor" rather than the default, which is generally
33948 "root:wheel". Fixes bug 676, reported by Serge Koksharov.
33949 - Stop using __attribute__((nonnull)) with GCC: it can give us useful
33950 warnings (occasionally), but it can also cause the compiler to
33951 eliminate error-checking code. Suggested by Peter Gutmann.
33952 - When a hidden service is giving up on an introduction point candidate
33953 that was not included in the last published rendezvous descriptor,
33954 don't reschedule publication of the next descriptor. Fixes bug 763.
33956 - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
33957 HiddenServiceExcludeNodes as obsolete: they never worked properly,
33958 and nobody claims to be using them. Fixes bug 754. Bugfix on
33959 0.1.0.1-rc. Patch from Christian Wilms.
33960 - Fix a small alignment and memory-wasting bug on buffer chunks.
33963 o Minor bugfixes (controller):
33964 - When closing an application-side connection because its circuit
33965 is getting torn down, generate the stream event correctly.
33966 Bugfix on 0.1.2.x. Anonymous patch.
33968 o Removed features:
33969 - Remove all backward-compatibility code to support relays running
33970 versions of Tor so old that they no longer work at all on the
33974 Changes in version 0.2.0.30 - 2008-07-15
33976 - Stop using __attribute__((nonnull)) with GCC: it can give us useful
33977 warnings (occasionally), but it can also cause the compiler to
33978 eliminate error-checking code. Suggested by Peter Gutmann.
33981 Changes in version 0.2.0.29-rc - 2008-07-08
33982 Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
33983 hidden-service performance bugs, and fixes a bunch of smaller bugs.
33986 - If you have more than one bridge but don't know their keys,
33987 you would only launch a request for the descriptor of the first one
33988 on your list. (Tor considered launching requests for the others, but
33989 found that it already had a connection on the way for $0000...0000
33990 so it didn't open another.) Bugfix on 0.2.0.x.
33991 - If you have more than one bridge but don't know their keys, and the
33992 connection to one of the bridges failed, you would cancel all
33993 pending bridge connections. (After all, they all have the same
33994 digest.) Bugfix on 0.2.0.x.
33995 - When a hidden service was trying to establish an introduction point,
33996 and Tor had built circuits preemptively for such purposes, we
33997 were ignoring all the preemptive circuits and launching a new one
33998 instead. Bugfix on 0.2.0.14-alpha.
33999 - When a hidden service was trying to establish an introduction point,
34000 and Tor *did* manage to reuse one of the preemptively built
34001 circuits, it didn't correctly remember which one it used,
34002 so it asked for another one soon after, until there were no
34003 more preemptive circuits, at which point it launched one from
34004 scratch. Bugfix on 0.0.9.x.
34005 - Make directory servers include the X-Your-Address-Is: http header in
34006 their responses even for begin_dir conns. Now clients who only
34007 ever use begin_dir connections still have a way to learn their IP
34008 address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
34011 - Fix a macro/CPP interaction that was confusing some compilers:
34012 some GCCs don't like #if/#endif pairs inside macro arguments.
34014 - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
34015 Fixes bug 704; fix from Steven Murdoch.
34016 - When opening /dev/null in finish_daemonize(), do not pass the
34017 O_CREAT flag. Fortify was complaining, and correctly so. Fixes
34018 bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
34019 - Correctly detect transparent proxy support on Linux hosts that
34020 require in.h to be included before netfilter_ipv4.h. Patch
34022 - Disallow session resumption attempts during the renegotiation
34023 stage of the v2 handshake protocol. Clients should never be trying
34024 session resumption at this point, but apparently some did, in
34025 ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
34026 found by Geoff Goodell.
34029 Changes in version 0.2.1.2-alpha - 2008-06-20
34030 Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
34031 make it easier to set up your own private Tor network; fixes several
34032 big bugs with using more than one bridge relay; fixes a big bug with
34033 offering hidden services quickly after Tor starts; and uses a better
34034 API for reporting potential bootstrapping problems to the controller.
34037 - New TestingTorNetwork config option to allow adjustment of
34038 previously constant values that, while reasonable, could slow
34039 bootstrapping. Implements proposal 135. Patch from Karsten.
34042 - If you have more than one bridge but don't know their digests,
34043 you would only learn a request for the descriptor of the first one
34044 on your list. (Tor considered launching requests for the others, but
34045 found that it already had a connection on the way for $0000...0000
34046 so it didn't open another.) Bugfix on 0.2.0.x.
34047 - If you have more than one bridge but don't know their digests,
34048 and the connection to one of the bridges failed, you would cancel
34049 all pending bridge connections. (After all, they all have the
34050 same digest.) Bugfix on 0.2.0.x.
34051 - When establishing a hidden service, introduction points that
34052 originate from cannibalized circuits are completely ignored and not
34053 included in rendezvous service descriptors. This might be another
34054 reason for delay in making a hidden service available. Bugfix
34055 from long ago (0.0.9.x?)
34058 - Allow OpenSSL to use dynamic locks if it wants.
34059 - When building a consensus, do not include routers that are down.
34060 This will cut down 30% to 40% on consensus size. Implements
34062 - In directory authorities' approved-routers files, allow
34063 fingerprints with or without space.
34064 - Add a "GETINFO /status/bootstrap-phase" controller option, so the
34065 controller can query our current bootstrap state in case it attaches
34066 partway through and wants to catch up.
34067 - Send an initial "Starting" bootstrap status event, so we have a
34068 state to start out in.
34071 - Asking for a conditional consensus at .../consensus/<fingerprints>
34072 would crash a dirserver if it did not already have a
34073 consensus. Bugfix on 0.2.1.1-alpha.
34074 - Clean up some macro/CPP interactions: some GCC versions don't like
34075 #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
34078 o Bootstrapping bugfixes (on 0.2.1.1-alpha):
34079 - Directory authorities shouldn't complain about bootstrapping
34080 problems just because they do a lot of reachability testing and
34081 some of the connection attempts fail.
34082 - Start sending "count" and "recommendation" key/value pairs in
34083 bootstrap problem status events, so the controller can hear about
34084 problems even before Tor decides they're worth reporting for sure.
34085 - If you're using bridges, generate "bootstrap problem" warnings
34086 as soon as you run out of working bridges, rather than waiting
34087 for ten failures -- which will never happen if you have less than
34089 - If we close our OR connection because there's been a circuit
34090 pending on it for too long, we were telling our bootstrap status
34091 events "REASON=NONE". Now tell them "REASON=TIMEOUT".
34094 Changes in version 0.2.1.1-alpha - 2008-06-13
34095 Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
34096 were making the Tor process bloat especially on Linux; makes our TLS
34097 handshake blend in better; sends "bootstrap phase" status events to
34098 the controller, so it can keep the user informed of progress (and
34099 problems) fetching directory information and establishing circuits;
34100 and adds a variety of smaller features.
34103 - More work on making our TLS handshake blend in: modify the list
34104 of ciphers advertised by OpenSSL in client mode to even more
34105 closely resemble a common web browser. We cheat a little so that
34106 we can advertise ciphers that the locally installed OpenSSL doesn't
34108 - Start sending "bootstrap phase" status events to the controller,
34109 so it can keep the user informed of progress fetching directory
34110 information and establishing circuits. Also inform the controller
34111 if we think we're stuck at a particular bootstrap phase. Implements
34113 - Resume using OpenSSL's RAND_poll() for better (and more portable)
34114 cross-platform entropy collection again. We used to use it, then
34115 stopped using it because of a bug that could crash systems that
34116 called RAND_poll when they had a lot of fds open. It looks like the
34117 bug got fixed in late 2006. Our new behavior is to call RAND_poll()
34118 at startup, and to call RAND_poll() when we reseed later only if
34119 we have a non-buggy OpenSSL version.
34122 - When we choose to abandon a new entry guard because we think our
34123 older ones might be better, close any circuits pending on that
34124 new entry guard connection. This fix should make us recover much
34125 faster when our network is down and then comes back. Bugfix on
34126 0.1.2.8-beta; found by lodger.
34128 o Memory fixes and improvements:
34129 - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
34130 to avoid unused RAM in buffer chunks and memory pools.
34131 - Speed up parsing and cut down on memory fragmentation by using
34132 stack-style allocations for parsing directory objects. Previously,
34133 this accounted for over 40% of allocations from within Tor's code
34134 on a typical directory cache.
34135 - Use a Bloom filter rather than a digest-based set to track which
34136 descriptors we need to keep around when we're cleaning out old
34137 router descriptors. This speeds up the computation significantly,
34138 and may reduce fragmentation.
34139 - Reduce the default smartlist size from 32 to 16; it turns out that
34140 most smartlists hold around 8-12 elements tops.
34141 - Make dumpstats() log the fullness and size of openssl-internal
34143 - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
34144 patch to their OpenSSL, turn it on to save memory on servers. This
34145 patch will (with any luck) get included in a mainline distribution
34147 - Never use OpenSSL compression: it wastes RAM and CPU trying to
34148 compress cells, which are basically all encrypted, compressed,
34152 - Stop reloading the router list from disk for no reason when we
34153 run out of reachable directory mirrors. Once upon a time reloading
34154 it would set the 'is_running' flag back to 1 for them. It hasn't
34155 done that for a long time.
34156 - In very rare situations new hidden service descriptors were
34157 published earlier than 30 seconds after the last change to the
34158 service. (We currently think that a hidden service descriptor
34159 that's been stable for 30 seconds is worth publishing.)
34162 - Allow separate log levels to be configured for different logging
34163 domains. For example, this allows one to log all notices, warnings,
34164 or errors, plus all memory management messages of level debug or
34165 higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
34166 - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
34167 and stop using a warning that had become unfixably verbose under
34169 - New --hush command-line option similar to --quiet. While --quiet
34170 disables all logging to the console on startup, --hush limits the
34171 output to messages of warning and error severity.
34172 - Servers support a new URL scheme for consensus downloads that
34173 allows the client to specify which authorities are trusted.
34174 The server then only sends the consensus if the client will trust
34175 it. Otherwise a 404 error is sent back. Clients use this
34176 new scheme when the server supports it (meaning it's running
34177 0.2.1.1-alpha or later). Implements proposal 134.
34178 - New configure/torrc options (--enable-geoip-stats,
34179 DirRecordUsageByCountry) to record how many IPs we've served
34180 directory info to in each country code, how many status documents
34181 total we've sent to each country code, and what share of the total
34182 directory requests we should expect to see.
34183 - Use the TLS1 hostname extension to more closely resemble browser
34185 - Lots of new unit tests.
34186 - Add a macro to implement the common pattern of iterating through
34187 two parallel lists in lockstep.
34190 Changes in version 0.2.0.28-rc - 2008-06-13
34191 Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
34192 performance bug, and fixes a bunch of smaller bugs.
34195 - Fix a bug where, when we were choosing the 'end stream reason' to
34196 put in our relay end cell that we send to the exit relay, Tor
34197 clients on Windows were sometimes sending the wrong 'reason'. The
34198 anonymity problem is that exit relays may be able to guess whether
34199 the client is running Windows, thus helping partition the anonymity
34200 set. Down the road we should stop sending reasons to exit relays,
34201 or otherwise prevent future versions of this bug.
34204 - While setting up a hidden service, some valid introduction circuits
34205 were overlooked and abandoned. This might be the reason for
34206 the long delay in making a hidden service available. Bugfix on
34210 - Update to the "June 9 2008" ip-to-country file.
34211 - Run 'make test' as part of 'make dist', so we stop releasing so
34212 many development snapshots that fail their unit tests.
34215 - When we're checking if we have enough dir info for each relay
34216 to begin establishing circuits, make sure that we actually have
34217 the descriptor listed in the consensus, not just any descriptor.
34219 - Bridge relays no longer print "xx=0" in their extrainfo document
34220 for every single country code in the geoip db. Bugfix on
34222 - Only warn when we fail to load the geoip file if we were planning to
34223 include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
34224 - If we change our MaxAdvertisedBandwidth and then reload torrc,
34225 Tor won't realize it should publish a new relay descriptor. Fixes
34226 bug 688, reported by mfr. Bugfix on 0.1.2.x.
34227 - When we haven't had any application requests lately, don't bother
34228 logging that we have expired a bunch of descriptors. Bugfix
34230 - Make relay cells written on a connection count as non-padding when
34231 tracking how long a connection has been in use. Bugfix on
34232 0.2.0.1-alpha. Spotted by lodger.
34233 - Fix unit tests in 0.2.0.27-rc.
34234 - Fix compile on Windows.
34237 Changes in version 0.2.0.27-rc - 2008-06-03
34238 Tor 0.2.0.27-rc adds a few features we left out of the earlier
34239 release candidates. In particular, we now include an IP-to-country
34240 GeoIP database, so controllers can easily look up what country a
34241 given relay is in, and so bridge relays can give us some sanitized
34242 summaries about which countries are making use of bridges. (See proposal
34243 126-geoip-fetching.txt for details.)
34246 - Include an IP-to-country GeoIP file in the tarball, so bridge
34247 relays can report sanitized summaries of the usage they're seeing.
34250 - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
34251 Robert Hogan. Fixes the first part of bug 681.
34252 - Make bridge authorities never serve extrainfo docs.
34253 - Add support to detect Libevent versions in the 1.4.x series
34255 - Fix build on gcc 4.3 with --enable-gcc-warnings set.
34256 - Include a new contrib/tor-exit-notice.html file that exit relay
34257 operators can put on their website to help reduce abuse queries.
34260 - When tunneling an encrypted directory connection, and its first
34261 circuit fails, do not leave it unattached and ask the controller
34262 to deal. Fixes the second part of bug 681.
34263 - Make bridge authorities correctly expire old extrainfo documents
34267 Changes in version 0.2.0.26-rc - 2008-05-13
34268 Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
34269 in Debian's OpenSSL packages. All users running any 0.2.0.x version
34270 should upgrade, whether they're running Debian or not.
34272 o Major security fixes:
34273 - Use new V3 directory authority keys on the tor26, gabelmoo, and
34274 moria1 V3 directory authorities. The old keys were generated with
34275 a vulnerable version of Debian's OpenSSL package, and must be
34276 considered compromised. Other authorities' keys were not generated
34277 with an affected version of OpenSSL.
34280 - List authority signatures as "unrecognized" based on DirServer
34281 lines, not on cert cache. Bugfix on 0.2.0.x.
34284 - Add a new V3AuthUseLegacyKey option to make it easier for
34285 authorities to change their identity keys if they have to.
34288 Changes in version 0.2.0.25-rc - 2008-04-23
34289 Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
34292 - Remember to initialize threading before initializing logging.
34293 Otherwise, many BSD-family implementations will crash hard on
34294 startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
34297 - Authorities correctly free policies on bad servers on
34298 exit. Fixes bug 672. Bugfix on 0.2.0.x.
34301 Changes in version 0.2.0.24-rc - 2008-04-22
34302 Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
34303 v3 directory authority, makes relays with dynamic IP addresses and no
34304 DirPort notice more quickly when their IP address changes, fixes a few
34305 rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
34307 o New directory authorities:
34308 - Take lefkada out of the list of v3 directory authorities, since
34309 it has been down for months.
34310 - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
34314 - Detect address changes more quickly on non-directory mirror
34315 relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
34317 o Minor features (security):
34318 - Reject requests for reverse-dns lookup of names that are in
34319 a private address space. Patch from lodger.
34320 - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
34323 o Minor bugfixes (crashes):
34324 - Avoid a rare assert that can trigger when Tor doesn't have much
34325 directory information yet and it tries to fetch a v2 hidden
34326 service descriptor. Fixes bug 651, reported by nwf.
34327 - Initialize log mutex before initializing dmalloc. Otherwise,
34328 running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
34329 - Use recursive pthread mutexes in order to avoid deadlock when
34330 logging debug-level messages to a controller. Bug spotted by nwf,
34331 bugfix on 0.2.0.16-alpha.
34333 o Minor bugfixes (resource management):
34334 - Keep address policies from leaking memory: start their refcount
34335 at 1, not 2. Bugfix on 0.2.0.16-alpha.
34336 - Free authority certificates on exit, so they don't look like memory
34337 leaks. Bugfix on 0.2.0.19-alpha.
34338 - Free static hashtables for policy maps and for TLS connections on
34339 shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
34340 - Avoid allocating extra space when computing consensuses on 64-bit
34341 platforms. Bug spotted by aakova.
34343 o Minor bugfixes (misc):
34344 - Do not read the configuration file when we've only been told to
34345 generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
34346 based on patch from Sebastian Hahn.
34347 - Exit relays that are used as a client can now reach themselves
34348 using the .exit notation, rather than just launching an infinite
34349 pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
34350 - When attempting to open a logfile fails, tell us why.
34351 - Fix a dumb bug that was preventing us from knowing that we should
34352 preemptively build circuits to handle expected directory requests.
34353 Fixes bug 660. Bugfix on 0.1.2.x.
34354 - Warn less verbosely about clock skew from netinfo cells from
34355 untrusted sources. Fixes bug 663.
34356 - Make controller stream events for DNS requests more consistent,
34357 by adding "new stream" events for DNS requests, and removing
34358 spurious "stream closed" events" for cached reverse resolves.
34359 Patch from mwenge. Fixes bug 646.
34360 - Correctly notify one-hop connections when a circuit build has
34361 failed. Possible fix for bug 669. Found by lodger.
34364 Changes in version 0.2.0.23-rc - 2008-03-24
34365 Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
34366 makes bootstrapping faster if the first directory mirror you contact
34367 is down. The bundles also include the new Vidalia 0.1.2 release.
34370 - When a tunneled directory request is made to a directory server
34371 that's down, notice after 30 seconds rather than 120 seconds. Also,
34372 fail any begindir streams that are pending on it, so they can
34373 retry elsewhere. This was causing multi-minute delays on bootstrap.
34376 Changes in version 0.2.0.22-rc - 2008-03-18
34377 Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
34378 enables encrypted directory connections by default for non-relays, fixes
34379 some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
34380 other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
34383 - Enable encrypted directory connections by default for non-relays,
34384 so censor tools that block Tor directory connections based on their
34385 plaintext patterns will no longer work. This means Tor works in
34386 certain censored countries by default again.
34389 - Make sure servers always request certificates from clients during
34390 TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
34391 - Do not enter a CPU-eating loop when a connection is closed in
34392 the middle of client-side TLS renegotiation. Fixes bug 622. Bug
34393 diagnosed by lodger; bugfix on 0.2.0.20-rc.
34394 - Fix assertion failure that could occur when a blocked circuit
34395 became unblocked, and it had pending client DNS requests. Bugfix
34396 on 0.2.0.1-alpha. Fixes bug 632.
34398 o Minor bugfixes (on 0.1.2.x):
34399 - Generate "STATUS_SERVER" events rather than misspelled
34400 "STATUS_SEVER" events. Caught by mwenge.
34401 - When counting the number of bytes written on a TLS connection,
34402 look at the BIO actually used for writing to the network, not
34403 at the BIO used (sometimes) to buffer data for the network.
34404 Looking at different BIOs could result in write counts on the
34405 order of ULONG_MAX. Fixes bug 614.
34406 - On Windows, correctly detect errors when listing the contents of
34407 a directory. Fix from lodger.
34409 o Minor bugfixes (on 0.2.0.x):
34410 - Downgrade "sslv3 alert handshake failure" message to INFO.
34411 - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
34412 left BandwidthRate and BandwidthBurst at the default, we would be
34413 silently limited by those defaults. Now raise them to match the
34414 RelayBandwidth* values.
34415 - Fix the SVK version detection logic to work correctly on a branch.
34416 - Make --enable-openbsd-malloc work correctly on Linux with alpha
34417 CPUs. Fixes bug 625.
34418 - Logging functions now check that the passed severity is sane.
34419 - Use proper log levels in the testsuite call of
34420 get_interface_address6().
34421 - When using a nonstandard malloc, do not use the platform values for
34422 HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
34423 - Make the openbsd malloc code use 8k pages on alpha CPUs and
34425 - Detect mismatched page sizes when using --enable-openbsd-malloc.
34426 - Avoid double-marked-for-close warning when certain kinds of invalid
34427 .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
34428 for bug 617. Bugfix on 0.2.0.1-alpha.
34429 - Make sure that the "NULL-means-reject *:*" convention is followed by
34430 all the policy manipulation functions, avoiding some possible crash
34431 bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
34432 - Fix the implementation of ClientDNSRejectInternalAddresses so that it
34433 actually works, and doesn't warn about every single reverse lookup.
34434 Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
34437 - Only log guard node status when guard node status has changed.
34438 - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
34439 make "INFO" 75% less verbose.
34442 Changes in version 0.2.0.21-rc - 2008-03-02
34443 Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
34444 makes Tor work well with Vidalia again, fixes a rare assert bug,
34445 and fixes a pair of more minor bugs. The bundles also include Vidalia
34446 0.1.0 and Torbutton 1.1.16.
34449 - The control port should declare that it requires password auth
34450 when HashedControlSessionPassword is set too. Patch from Matt Edman;
34451 bugfix on 0.2.0.20-rc. Fixes bug 615.
34452 - Downgrade assert in connection_buckets_decrement() to a log message.
34453 This may help us solve bug 614, and in any case will make its
34454 symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
34455 - We were sometimes miscounting the number of bytes read from the
34456 network, causing our rate limiting to not be followed exactly.
34457 Bugfix on 0.2.0.16-alpha. Reported by lodger.
34460 - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
34461 OpenSSL versions should have been working fine. Diagnosis and patch
34462 from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
34463 Bugfix on 0.2.0.20-rc.
34466 Changes in version 0.2.0.20-rc - 2008-02-24
34467 Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
34468 makes more progress towards normalizing Tor's TLS handshake, makes
34469 hidden services work better again, helps relays bootstrap if they don't
34470 know their IP address, adds optional support for linking in openbsd's
34471 allocator or tcmalloc, allows really fast relays to scale past 15000
34472 sockets, and fixes a bunch of minor bugs reported by Veracode.
34475 - Enable the revised TLS handshake based on the one designed by
34476 Steven Murdoch in proposal 124, as revised in proposal 130. It
34477 includes version negotiation for OR connections as described in
34478 proposal 105. The new handshake is meant to be harder for censors
34479 to fingerprint, and it adds the ability to detect certain kinds of
34480 man-in-the-middle traffic analysis attacks. The version negotiation
34481 feature will allow us to improve Tor's link protocol more safely
34483 - Choose which bridge to use proportional to its advertised bandwidth,
34484 rather than uniformly at random. This should speed up Tor for
34485 bridge users. Also do this for people who set StrictEntryNodes.
34486 - When a TrackHostExits-chosen exit fails too many times in a row,
34487 stop using it. Bugfix on 0.1.2.x; fixes bug 437.
34490 - Resolved problems with (re-)fetching hidden service descriptors.
34491 Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
34492 and 0.2.0.19-alpha.
34493 - If we only ever used Tor for hidden service lookups or posts, we
34494 would stop building circuits and start refusing connections after
34495 24 hours, since we falsely believed that Tor was dormant. Reported
34496 by nwf; bugfix on 0.1.2.x.
34497 - Servers that don't know their own IP address should go to the
34498 authorities for their first directory fetch, even if their DirPort
34499 is off or if they don't know they're reachable yet. This will help
34500 them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
34501 - When counting the number of open sockets, count not only the number
34502 of sockets we have received from the socket() call, but also
34503 the number we've gotten from accept() and socketpair(). This bug
34504 made us fail to count all sockets that we were using for incoming
34505 connections. Bugfix on 0.2.0.x.
34506 - Fix code used to find strings within buffers, when those strings
34507 are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
34508 - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
34509 - Add a new __HashedControlSessionPassword option for controllers
34510 to use for one-off session password hashes that shouldn't get
34511 saved to disk by SAVECONF --- Vidalia users were accumulating a
34512 pile of HashedControlPassword lines in their torrc files, one for
34513 each time they had restarted Tor and then clicked Save. Make Tor
34514 automatically convert "HashedControlPassword" to this new option but
34515 only when it's given on the command line. Partial fix for bug 586.
34517 o Minor features (performance):
34518 - Tune parameters for cell pool allocation to minimize amount of
34520 - Add OpenBSD malloc code from phk as an optional malloc
34521 replacement on Linux: some glibc libraries do very poorly
34522 with Tor's memory allocation patterns. Pass
34523 --enable-openbsd-malloc to get the replacement malloc code.
34524 - Add a --with-tcmalloc option to the configure script to link
34525 against tcmalloc (if present). Does not yet search for
34526 non-system include paths.
34527 - Stop imposing an arbitrary maximum on the number of file descriptors
34528 used for busy servers. Bug reported by Olaf Selke; patch from
34531 o Minor features (other):
34532 - When SafeLogging is disabled, log addresses along with all TLS
34534 - When building with --enable-gcc-warnings, check for whether Apple's
34535 warning "-Wshorten-64-to-32" is available.
34536 - Add a --passphrase-fd argument to the tor-gencert command for
34539 o Minor bugfixes (memory leaks and code problems):
34540 - We were leaking a file descriptor if Tor started with a zero-length
34541 cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
34542 - Detect size overflow in zlib code. Reported by Justin Ferguson and
34544 - We were comparing the raw BridgePassword entry with a base64'ed
34545 version of it, when handling a "/tor/networkstatus-bridges"
34546 directory request. Now compare correctly. Noticed by Veracode.
34547 - Recover from bad tracked-since value in MTBF-history file.
34548 Should fix bug 537.
34549 - Alter the code that tries to recover from unhandled write
34550 errors, to not try to flush onto a socket that's given us
34551 unhandled errors. Bugfix on 0.1.2.x.
34552 - Make Unix controlsockets work correctly on OpenBSD. Patch from
34553 tup. Bugfix on 0.2.0.3-alpha.
34555 o Minor bugfixes (other):
34556 - If we have an extra-info document for our server, always make
34557 it available on the control port, even if we haven't gotten
34558 a copy of it from an authority yet. Patch from mwenge.
34559 - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
34560 - Directory mirrors no longer include a guess at the client's IP
34561 address if the connection appears to be coming from the same /24
34562 network; it was producing too many wrong guesses.
34563 - Make the new hidden service code respect the SafeLogging setting.
34564 Bugfix on 0.2.0.x. Patch from Karsten.
34565 - When starting as an authority, do not overwrite all certificates
34566 cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
34567 - If we're trying to flush the last bytes on a connection (for
34568 example, when answering a directory request), reset the
34569 time-to-give-up timeout every time we manage to write something
34570 on the socket. Bugfix on 0.1.2.x.
34571 - Change the behavior of "getinfo status/good-server-descriptor"
34572 so it doesn't return failure when any authority disappears.
34573 - Even though the man page said that "TrackHostExits ." should
34574 work, nobody had ever implemented it. Bugfix on 0.1.0.x.
34575 - Report TLS "zero return" case as a "clean close" and "IO error"
34576 as a "close". Stop calling closes "unexpected closes": existing
34577 Tors don't use SSL_close(), so having a connection close without
34578 the TLS shutdown handshake is hardly unexpected.
34579 - Send NAMESERVER_STATUS messages for a single failed nameserver
34582 o Code simplifications and refactoring:
34583 - Remove the tor_strpartition function: its logic was confused,
34584 and it was only used for one thing that could be implemented far
34588 Changes in version 0.2.0.19-alpha - 2008-02-09
34589 Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
34590 handshake, makes path selection for relays more secure and IP address
34591 guessing more robust, and generally fixes a lot of bugs in preparation
34592 for calling the 0.2.0 branch stable.
34595 - Do not include recognizeable strings in the commonname part of
34596 Tor's x509 certificates.
34599 - If we're a relay, avoid picking ourselves as an introduction point,
34600 a rendezvous point, or as the final hop for internal circuits. Bug
34601 reported by taranis and lodger. Bugfix on 0.1.2.x.
34602 - Patch from "Andrew S. Lists" to catch when we contact a directory
34603 mirror at IP address X and he says we look like we're coming from
34604 IP address X. Bugfix on 0.1.2.x.
34606 o Minor features (security):
34607 - Be more paranoid about overwriting sensitive memory on free(),
34608 as a defensive programming tactic to ensure forward secrecy.
34610 o Minor features (directory authority):
34611 - Actually validate the options passed to AuthDirReject,
34612 AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
34613 - Reject router descriptors with out-of-range bandwidthcapacity or
34614 bandwidthburst values.
34616 o Minor features (controller):
34617 - Reject controller commands over 1MB in length. This keeps rogue
34618 processes from running us out of memory.
34620 o Minor features (misc):
34621 - Give more descriptive well-formedness errors for out-of-range
34622 hidden service descriptor/protocol versions.
34623 - Make memory debugging information describe more about history
34624 of cell allocation, so we can help reduce our memory use.
34626 o Deprecated features (controller):
34627 - The status/version/num-versioning and status/version/num-concurring
34628 GETINFO options are no longer useful in the v3 directory protocol:
34629 treat them as deprecated, and warn when they're used.
34632 - When our consensus networkstatus has been expired for a while, stop
34633 being willing to build circuits using it. Fixes bug 401. Bugfix
34635 - Directory caches now fetch certificates from all authorities
34636 listed in a networkstatus consensus, even when they do not
34637 recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
34638 - When connecting to a bridge without specifying its key, insert
34639 the connection into the identity-to-connection map as soon as
34640 a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
34641 - Detect versions of OS X where malloc_good_size() is present in the
34642 library but never actually declared. Resolves bug 587. Bugfix
34644 - Stop incorrectly truncating zlib responses to directory authority
34645 signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
34646 - Stop recommending that every server operator send mail to tor-ops.
34647 Resolves bug 597. Bugfix on 0.1.2.x.
34648 - Don't trigger an assert if we start a directory authority with a
34649 private IP address (like 127.0.0.1).
34650 - Avoid possible failures when generating a directory with routers
34651 with over-long versions strings, or too many flags set. Bugfix
34653 - If an attempt to launch a DNS resolve request over the control
34654 port fails because we have overrun the limit on the number of
34655 connections, tell the controller that the request has failed.
34656 - Avoid using too little bandwidth when our clock skips a few
34657 seconds. Bugfix on 0.1.2.x.
34658 - Fix shell error when warning about missing packages in configure
34659 script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
34660 - Do not become confused when receiving a spurious VERSIONS-like
34661 cell from a confused v1 client. Bugfix on 0.2.0.x.
34662 - Re-fetch v2 (as well as v0) rendezvous descriptors when all
34663 introduction points for a hidden service have failed. Patch from
34664 Karsten Loesing. Bugfix on 0.2.0.x.
34666 o Code simplifications and refactoring:
34667 - Remove some needless generality from cpuworker code, for improved
34669 - Stop overloading the circuit_t.onionskin field for both "onionskin
34670 from a CREATE cell that we are waiting for a cpuworker to be
34671 assigned" and "onionskin from an EXTEND cell that we are going to
34672 send to an OR as soon as we are connected". Might help with bug 600.
34673 - Add an in-place version of aes_crypt() so that we can avoid doing a
34674 needless memcpy() call on each cell payload.
34677 Changes in version 0.2.0.18-alpha - 2008-01-25
34678 Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
34679 fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
34680 that can warn or reject connections to ports generally associated with
34681 vulnerable-plaintext protocols.
34683 o New directory authorities:
34684 - Set up dannenberg (run by CCC) as the sixth v3 directory
34688 - Fix a major memory leak when attempting to use the v2 TLS
34689 handshake code. Bugfix on 0.2.0.x; fixes bug 589.
34690 - We accidentally enabled the under-development v2 TLS handshake
34691 code, which was causing log entries like "TLS error while
34692 renegotiating handshake". Disable it again. Resolves bug 590.
34693 - We were computing the wrong Content-Length: header for directory
34694 responses that need to be compressed on the fly, causing clients
34695 asking for those items to always fail. Bugfix on 0.2.0.x; partially
34699 - Avoid going directly to the directory authorities even if you're a
34700 relay, if you haven't found yourself reachable yet or if you've
34701 decided not to advertise your dirport yet. Addresses bug 556.
34702 - If we've gone 12 hours since our last bandwidth check, and we
34703 estimate we have less than 50KB bandwidth capacity but we could
34704 handle more, do another bandwidth test.
34705 - New config options WarnPlaintextPorts and RejectPlaintextPorts so
34706 Tor can warn and/or refuse connections to ports commonly used with
34707 vulnerable-plaintext protocols. Currently we warn on ports 23,
34708 109, 110, and 143, but we don't reject any.
34711 - When we setconf ClientOnly to 1, close any current OR and Dir
34712 listeners. Reported by mwenge.
34713 - When we get a consensus that's been signed by more people than
34714 we expect, don't log about it; it's not a big deal. Reported
34718 - Don't answer "/tor/networkstatus-bridges" directory requests if
34719 the request isn't encrypted.
34720 - Make "ClientOnly 1" config option disable directory ports too.
34721 - Patches from Karsten Loesing to make v2 hidden services more
34722 robust: work even when there aren't enough HSDir relays available;
34723 retry when a v2 rend desc fetch fails; but don't retry if we
34724 already have a usable v0 rend desc.
34727 Changes in version 0.2.0.17-alpha - 2008-01-17
34728 Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
34731 - Make the tor-gencert man page get included correctly in the tarball.
34734 Changes in version 0.2.0.16-alpha - 2008-01-17
34735 Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
34736 Loesing, and generally cleans up a lot of features and minor bugs.
34738 o New directory authorities:
34739 - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
34742 o Major performance improvements:
34743 - Switch our old ring buffer implementation for one more like that
34744 used by free Unix kernels. The wasted space in a buffer with 1mb
34745 of data will now be more like 8k than 1mb. The new implementation
34746 also avoids realloc();realloc(); patterns that can contribute to
34747 memory fragmentation.
34750 - Configuration files now accept C-style strings as values. This
34751 helps encode characters not allowed in the current configuration
34752 file format, such as newline or #. Addresses bug 557.
34753 - Although we fixed bug 539 (where servers would send HTTP status 503
34754 responses _and_ send a body too), there are still servers out
34755 there that haven't upgraded. Therefore, make clients parse such
34756 bodies when they receive them.
34757 - When we're not serving v2 directory information, there is no reason
34758 to actually keep any around. Remove the obsolete files and directory
34759 on startup if they are very old and we aren't going to serve them.
34761 o Minor performance improvements:
34762 - Reference-count and share copies of address policy entries; only 5%
34763 of them were actually distinct.
34764 - Never walk through the list of logs if we know that no log is
34765 interested in a given message.
34768 - When an authority has not signed a consensus, do not try to
34769 download a nonexistent "certificate with key 00000000". Bugfix
34770 on 0.2.0.x. Fixes bug 569.
34771 - Fix a rare assert error when we're closing one of our threads:
34772 use a mutex to protect the list of logs, so we never write to the
34773 list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
34774 bug 575, which is kind of the revenge of bug 222.
34775 - Patch from Karsten Loesing to complain less at both the client
34776 and the relay when a relay used to have the HSDir flag but doesn't
34777 anymore, and we try to upload a hidden service descriptor.
34778 - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
34780 - Do not try to download missing certificates until we have tried
34781 to check our fallback consensus. Fixes bug 583.
34782 - Make bridges round reported GeoIP stats info up to the nearest
34783 estimate, not down. Now we can distinguish between "0 people from
34784 this country" and "1 person from this country".
34785 - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
34786 - Avoid possible segfault if key generation fails in
34787 crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
34788 - Avoid segfault in the case where a badly behaved v2 versioning
34789 directory sends a signed networkstatus with missing client-versions.
34791 - Avoid segfaults on certain complex invocations of
34792 router_get_by_hexdigest(). Bugfix on 0.1.2.
34793 - Correct bad index on array access in parse_http_time(). Bugfix
34795 - Fix possible bug in vote generation when server versions are present
34796 but client versions are not.
34797 - Fix rare bug on REDIRECTSTREAM control command when called with no
34798 port set: it could erroneously report an error when none had
34800 - Avoid bogus crash-prone, leak-prone tor_realloc when we're
34801 compressing large objects and find ourselves with more than 4k
34802 left over. Bugfix on 0.2.0.
34803 - Fix a small memory leak when setting up a hidden service.
34804 - Fix a few memory leaks that could in theory happen under bizarre
34806 - Fix an assert if we post a general-purpose descriptor via the
34807 control port but that descriptor isn't mentioned in our current
34808 network consensus. Bug reported by Jon McLachlan; bugfix on
34811 o Minor features (controller):
34812 - Get NS events working again. Patch from tup.
34813 - The GETCONF command now escapes and quotes configuration values
34814 that don't otherwise fit into the torrc file.
34815 - The SETCONF command now handles quoted values correctly.
34817 o Minor features (directory authorities):
34818 - New configuration options to override default maximum number of
34819 servers allowed on a single IP address. This is important for
34820 running a test network on a single host.
34821 - Actually implement the -s option to tor-gencert.
34822 - Add a manual page for tor-gencert.
34824 o Minor features (bridges):
34825 - Bridge authorities no longer serve bridge descriptors over
34826 unencrypted connections.
34828 o Minor features (other):
34829 - Add hidden services and DNSPorts to the list of things that make
34830 Tor accept that it has running ports. Change starting Tor with no
34831 ports from a fatal error to a warning; we might change it back if
34832 this turns out to confuse anybody. Fixes bug 579.
34835 Changes in version 0.1.2.19 - 2008-01-17
34836 Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
34837 exit policy a little bit more conservative so it's safer to run an
34838 exit relay on a home system, and fixes a variety of smaller issues.
34841 - Exit policies now reject connections that are addressed to a
34842 relay's public (external) IP address too, unless
34843 ExitPolicyRejectPrivate is turned off. We do this because too
34844 many relays are running nearby to services that trust them based
34845 on network address.
34848 - When the clock jumps forward a lot, do not allow the bandwidth
34849 buckets to become negative. Fixes bug 544.
34850 - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
34851 on every successful resolve. Reported by Mike Perry.
34852 - Purge old entries from the "rephist" database and the hidden
34853 service descriptor database even when DirPort is zero.
34854 - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
34855 requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
34856 crashing or mis-answering these requests.
34857 - When we decide to send a 503 response to a request for servers, do
34858 not then also send the server descriptors: this defeats the whole
34859 purpose. Fixes bug 539.
34862 - Changing the ExitPolicyRejectPrivate setting should cause us to
34863 rebuild our server descriptor.
34864 - Fix handling of hex nicknames when answering controller requests for
34865 networkstatus by name, or when deciding whether to warn about
34866 unknown routers in a config option. (Patch from mwenge.)
34867 - Fix a couple of hard-to-trigger autoconf problems that could result
34868 in really weird results on platforms whose sys/types.h files define
34869 nonstandard integer types.
34870 - Don't try to create the datadir when running --verify-config or
34871 --hash-password. Resolves bug 540.
34872 - If we were having problems getting a particular descriptor from the
34873 directory caches, and then we learned about a new descriptor for
34874 that router, we weren't resetting our failure count. Reported
34876 - Although we fixed bug 539 (where servers would send HTTP status 503
34877 responses _and_ send a body too), there are still servers out there
34878 that haven't upgraded. Therefore, make clients parse such bodies
34879 when they receive them.
34880 - Run correctly on systems where rlim_t is larger than unsigned long.
34881 This includes some 64-bit systems.
34882 - Run correctly on platforms (like some versions of OS X 10.5) where
34883 the real limit for number of open files is OPEN_FILES, not rlim_max
34884 from getrlimit(RLIMIT_NOFILES).
34885 - Avoid a spurious free on base64 failure.
34886 - Avoid segfaults on certain complex invocations of
34887 router_get_by_hexdigest().
34888 - Fix rare bug on REDIRECTSTREAM control command when called with no
34889 port set: it could erroneously report an error when none had
34893 Changes in version 0.2.0.15-alpha - 2007-12-25
34894 Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
34895 features added in 0.2.0.13-alpha.
34898 - Fix several remotely triggerable asserts based on DirPort requests
34899 for a v2 or v3 networkstatus object before we were prepared. This
34900 was particularly bad for 0.2.0.13 and later bridge relays, who
34901 would never have a v2 networkstatus and would thus always crash
34902 when used. Bugfixes on 0.2.0.x.
34903 - Estimate the v3 networkstatus size more accurately, rather than
34904 estimating it at zero bytes and giving it artificially high priority
34905 compared to other directory requests. Bugfix on 0.2.0.x.
34908 - Fix configure.in logic for cross-compilation.
34909 - When we load a bridge descriptor from the cache, and it was
34910 previously unreachable, mark it as retriable so we won't just
34911 ignore it. Also, try fetching a new copy immediately. Bugfixes
34913 - The bridge GeoIP stats were counting other relays, for example
34914 self-reachability and authority-reachability tests.
34917 - Support compilation to target iPhone; patch from cjacker huang.
34918 To build for iPhone, pass the --enable-iphone option to configure.
34921 Changes in version 0.2.0.14-alpha - 2007-12-23
34923 - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
34924 without a datadirectory from a previous Tor install. Reported
34926 - Fix a crash when we fetch a descriptor that turns out to be
34927 unexpected (it used to be in our networkstatus when we started
34928 fetching it, but it isn't in our current networkstatus), and we
34929 aren't using bridges. Bugfix on 0.2.0.x.
34930 - Fix a crash when accessing hidden services: it would work the first
34931 time you use a given introduction point for your service, but
34932 on subsequent requests we'd be using garbage memory. Fixed by
34933 Karsten Loesing. Bugfix on 0.2.0.13-alpha.
34934 - Fix a crash when we load a bridge descriptor from disk but we don't
34935 currently have a Bridge line for it in our torrc. Bugfix on
34939 - If bridge authorities set BridgePassword, they will serve a
34940 snapshot of known bridge routerstatuses from their DirPort to
34941 anybody who knows that password. Unset by default.
34944 - Make the unit tests build again.
34945 - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
34946 - Make PublishServerDescriptor default to 1, so the default doesn't
34947 have to change as we invent new directory protocol versions.
34948 - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
34949 be included unless sys/time.h is already included. Fixes
34950 bug 553. Bugfix on 0.2.0.x.
34951 - If we receive a general-purpose descriptor and then receive an
34952 identical bridge-purpose descriptor soon after, don't discard
34953 the next one as a duplicate.
34956 - If BridgeRelay is set to 1, then the default for
34957 PublishServerDescriptor is now "bridge" rather than "v2,v3".
34958 - If the user sets RelayBandwidthRate but doesn't set
34959 RelayBandwidthBurst, then make them equal rather than erroring out.
34962 Changes in version 0.2.0.13-alpha - 2007-12-21
34963 Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
34964 Goodell, fixes many more bugs, and adds a lot of infrastructure for
34967 o New directory authorities:
34968 - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
34972 - Only update guard status (usable / not usable) once we have
34973 enough directory information. This was causing us to always pick
34974 two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
34975 causing us to discard all our guards on startup if we hadn't been
34976 running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
34977 - Purge old entries from the "rephist" database and the hidden
34978 service descriptor databases even when DirPort is zero. Bugfix
34980 - We were ignoring our RelayBandwidthRate for the first 30 seconds
34981 after opening a circuit -- even a relayed circuit. Bugfix on
34983 - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
34984 requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
34985 crashing or mis-answering these types of requests.
34986 - Relays were publishing their server descriptor to v1 and v2
34987 directory authorities, but they didn't try publishing to v3-only
34988 authorities. Fix this; and also stop publishing to v1 authorities.
34990 - When we were reading router descriptors from cache, we were ignoring
34991 the annotations -- so for example we were reading in bridge-purpose
34992 descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
34993 - When we decided to send a 503 response to a request for servers, we
34994 were then also sending the server descriptors: this defeats the
34995 whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
34998 - Bridge relays now behave like clients with respect to time
34999 intervals for downloading new consensus documents -- otherwise they
35000 stand out. Bridge users now wait until the end of the interval,
35001 so their bridge relay will be sure to have a new consensus document.
35002 - Three new config options (AlternateDirAuthority,
35003 AlternateBridgeAuthority, and AlternateHSAuthority) that let the
35004 user selectively replace the default directory authorities by type,
35005 rather than the all-or-nothing replacement that DirServer offers.
35006 - Tor can now be configured to read a GeoIP file from disk in one
35007 of two formats. This can be used by controllers to map IP addresses
35008 to countries. Eventually, it may support exit-by-country.
35009 - When possible, bridge relays remember which countries users
35010 are coming from, and report aggregate information in their
35011 extra-info documents, so that the bridge authorities can learn
35012 where Tor is blocked.
35013 - Bridge directory authorities now do reachability testing on the
35014 bridges they know. They provide router status summaries to the
35015 controller via "getinfo ns/purpose/bridge", and also dump summaries
35016 to a file periodically.
35017 - Stop fetching directory info so aggressively if your DirPort is
35018 on but your ORPort is off; stop fetching v2 dir info entirely.
35019 You can override these choices with the new FetchDirInfoEarly
35023 - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
35024 consensus documents when there are too many relays at a single
35025 IP address. Now clear it in v2 network status documents too, and
35026 also clear it in routerinfo_t when the relay is no longer listed
35027 in the relevant networkstatus document.
35028 - Don't crash if we get an unexpected value for the
35029 PublishServerDescriptor config option. Reported by Matt Edman;
35030 bugfix on 0.2.0.9-alpha.
35031 - Our new v2 hidden service descriptor format allows descriptors
35032 that have no introduction points. But Tor crashed when we tried
35033 to build a descriptor with no intro points (and it would have
35034 crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
35035 by Karsten Loesing.
35036 - Fix building with dmalloc 5.5.2 with glibc.
35037 - Reject uploaded descriptors and extrainfo documents if they're
35038 huge. Otherwise we'll cache them all over the network and it'll
35039 clog everything up. Reported by Aljosha Judmayer.
35040 - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
35041 via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
35042 - When the DANGEROUS_VERSION controller status event told us we're
35043 running an obsolete version, it used the string "OLD" to describe
35044 it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
35045 "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
35046 - If we can't expand our list of entry guards (e.g. because we're
35047 using bridges or we have StrictEntryNodes set), don't mark relays
35048 down when they fail a directory request. Otherwise we're too quick
35049 to mark all our entry points down. Bugfix on 0.1.2.x.
35050 - Fix handling of hex nicknames when answering controller requests for
35051 networkstatus by name, or when deciding whether to warn about unknown
35052 routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
35053 - Fix a couple of hard-to-trigger autoconf problems that could result
35054 in really weird results on platforms whose sys/types.h files define
35055 nonstandard integer types. Bugfix on 0.1.2.x.
35056 - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
35057 - Don't crash on name lookup when we have no current consensus. Fixes
35058 bug 538; bugfix on 0.2.0.x.
35059 - Only Tors that want to mirror the v2 directory info should
35060 create the "cached-status" directory in their datadir. (All Tors
35061 used to create it.) Bugfix on 0.2.0.9-alpha.
35062 - Directory authorities should only automatically download Extra Info
35063 documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
35066 - On the USR1 signal, when dmalloc is in use, log the top 10 memory
35067 consumers. (We already do this on HUP.)
35068 - Authorities and caches fetch the v2 networkstatus documents
35069 less often, now that v3 is encouraged.
35070 - Add a new config option BridgeRelay that specifies you want to
35071 be a bridge relay. Right now the only difference is that it makes
35072 you answer begin_dir requests, and it makes you cache dir info,
35073 even if your DirPort isn't on.
35074 - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
35075 ask about source, timestamp of arrival, purpose, etc. We need
35076 something like this to help Vidalia not do GeoIP lookups on bridge
35078 - Allow multiple HashedControlPassword config lines, to support
35079 multiple controller passwords.
35080 - Authorities now decide whether they're authoritative for a given
35081 router based on the router's purpose.
35082 - New config options AuthDirBadDir and AuthDirListBadDirs for
35083 authorities to mark certain relays as "bad directories" in the
35084 networkstatus documents. Also supports the "!baddir" directive in
35085 the approved-routers file.
35088 Changes in version 0.2.0.12-alpha - 2007-11-16
35089 This twelfth development snapshot fixes some more build problems as
35090 well as a few minor bugs.
35093 - Make it build on OpenBSD again. Patch from tup.
35094 - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
35095 package-building for Red Hat, OS X, etc.
35097 o Minor bugfixes (on 0.1.2.x):
35098 - Changing the ExitPolicyRejectPrivate setting should cause us to
35099 rebuild our server descriptor.
35101 o Minor bugfixes (on 0.2.0.x):
35102 - When we're lacking a consensus, don't try to perform rendezvous
35103 operations. Reported by Karsten Loesing.
35104 - Fix a small memory leak whenever we decide against using a
35105 newly picked entry guard. Reported by Mike Perry.
35106 - When authorities detected more than two relays running on the same
35107 IP address, they were clearing all the status flags but forgetting
35108 to clear the "hsdir" flag. So clients were being told that a
35109 given relay was the right choice for a v2 hsdir lookup, yet they
35110 never had its descriptor because it was marked as 'not running'
35112 - If we're trying to fetch a bridge descriptor and there's no way
35113 the bridge authority could help us (for example, we don't know
35114 a digest, or there is no bridge authority), don't be so eager to
35115 fall back to asking the bridge authority.
35116 - If we're using bridges or have strictentrynodes set, and our
35117 chosen exit is in the same family as all our bridges/entry guards,
35118 then be flexible about families.
35121 - When we negotiate a v2 link-layer connection (not yet implemented),
35122 accept RELAY_EARLY cells and turn them into RELAY cells if we've
35123 negotiated a v1 connection for their next step. Initial code for
35127 Changes in version 0.2.0.11-alpha - 2007-11-12
35128 This eleventh development snapshot fixes some build problems with
35129 the previous snapshot. It also includes a more secure-by-default exit
35130 policy for relays, fixes an enormous memory leak for exit relays, and
35131 fixes another bug where servers were falling out of the directory list.
35134 - Exit policies now reject connections that are addressed to a
35135 relay's public (external) IP address too, unless
35136 ExitPolicyRejectPrivate is turned off. We do this because too
35137 many relays are running nearby to services that trust them based
35138 on network address. Bugfix on 0.1.2.x.
35141 - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
35142 on every successful resolve. Reported by Mike Perry; bugfix
35144 - On authorities, never downgrade to old router descriptors simply
35145 because they're listed in the consensus. This created a catch-22
35146 where we wouldn't list a new descriptor because there was an
35147 old one in the consensus, and we couldn't get the new one in the
35148 consensus because we wouldn't list it. Possible fix for bug 548.
35149 Also, this might cause bug 543 to appear on authorities; if so,
35150 we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
35152 o Packaging fixes on 0.2.0.10-alpha:
35153 - We were including instructions about what to do with the
35154 src/config/fallback-consensus file, but we weren't actually
35155 including it in the tarball. Disable all of that for now.
35158 - Allow people to say PreferTunnelledDirConns rather than
35159 PreferTunneledDirConns, for those alternate-spellers out there.
35162 - Don't reevaluate all the information from our consensus document
35163 just because we've downloaded a v2 networkstatus that we intend
35164 to cache. Fixes bug 545; bugfix on 0.2.0.x.
35167 Changes in version 0.2.0.10-alpha - 2007-11-10
35168 This tenth development snapshot adds a third v3 directory authority
35169 run by Mike Perry, adds most of Karsten Loesing's new hidden service
35170 descriptor format, fixes a bad crash bug and new bridge bugs introduced
35171 in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
35172 fixes some minor memory leaks in previous 0.2.0.x snapshots, and
35173 addresses many more minor issues.
35175 o New directory authorities:
35176 - Set up ides (run by Mike Perry) as the third v3 directory authority.
35179 - Allow tunnelled directory connections to ask for an encrypted
35180 "begin_dir" connection or an anonymized "uses a full Tor circuit"
35181 connection independently. Now we can make anonymized begin_dir
35182 connections for (e.g.) more secure hidden service posting and
35184 - More progress on proposal 114: code from Karsten Loesing to
35185 implement new hidden service descriptor format.
35186 - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
35187 accommodate the growing number of servers that use the default
35188 and are reaching it.
35189 - Directory authorities use a new formula for selecting which nodes
35190 to advertise as Guards: they must be in the top 7/8 in terms of
35191 how long we have known about them, and above the median of those
35192 nodes in terms of weighted fractional uptime.
35193 - Make "not enough dir info yet" warnings describe *why* Tor feels
35194 it doesn't have enough directory info yet.
35197 - Stop servers from crashing if they set a Family option (or
35198 maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
35200 - Make bridge users work again -- the move to v3 directories in
35201 0.2.0.9-alpha had introduced a number of bugs that made bridges
35202 no longer work for clients.
35203 - When the clock jumps forward a lot, do not allow the bandwidth
35204 buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
35206 o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
35207 - When the consensus lists a router descriptor that we previously were
35208 mirroring, but that we considered non-canonical, reload the
35209 descriptor as canonical. This fixes bug 543 where Tor servers
35210 would start complaining after a few days that they don't have
35211 enough directory information to build a circuit.
35212 - Consider replacing the current consensus when certificates arrive
35213 that make the pending consensus valid. Previously, we were only
35214 considering replacement when the new certs _didn't_ help.
35215 - Fix an assert error on startup if we didn't already have the
35216 consensus and certs cached in our datadirectory: we were caching
35217 the consensus in consensus_waiting_for_certs but then free'ing it
35219 - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
35220 Request) if we need more v3 certs but we've already got pending
35221 requests for all of them.
35222 - Correctly back off from failing certificate downloads. Fixes
35224 - Authorities don't vote on the Running flag if they have been running
35225 for less than 30 minutes themselves. Fixes bug 547, where a newly
35226 started authority would vote that everyone was down.
35228 o New requirements:
35229 - Drop support for OpenSSL version 0.9.6. Just about nobody was using
35230 it, it had no AES, and it hasn't seen any security patches since
35234 - Clients now hold circuitless TLS connections open for 1.5 times
35235 MaxCircuitDirtiness (15 minutes), since it is likely that they'll
35236 rebuild a new circuit over them within that timeframe. Previously,
35237 they held them open only for KeepalivePeriod (5 minutes).
35238 - Use "If-Modified-Since" to avoid retrieving consensus
35239 networkstatuses that we already have.
35240 - When we have no consensus, check FallbackNetworkstatusFile (defaults
35241 to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
35242 we start knowing some directory caches.
35243 - When we receive a consensus from the future, warn about skew.
35244 - Improve skew reporting: try to give the user a better log message
35245 about how skewed they are, and how much this matters.
35246 - When we have a certificate for an authority, believe that
35247 certificate's claims about the authority's IP address.
35248 - New --quiet command-line option to suppress the default console log.
35249 Good in combination with --hash-password.
35250 - Authorities send back an X-Descriptor-Not-New header in response to
35251 an accepted-but-discarded descriptor upload. Partially implements
35253 - Make the log message for "tls error. breaking." more useful.
35254 - Better log messages about certificate downloads, to attempt to
35255 track down the second incarnation of bug 546.
35257 o Minor features (bridges):
35258 - If bridge users set UpdateBridgesFromAuthority, but the digest
35259 they ask for is a 404 from the bridge authority, they now fall
35260 back to trying the bridge directly.
35261 - Bridges now use begin_dir to publish their server descriptor to
35262 the bridge authority, even when they haven't set TunnelDirConns.
35264 o Minor features (controller):
35265 - When reporting clock skew, and we know that the clock is _at least
35266 as skewed_ as some value, but we don't know the actual value,
35267 report the value as a "minimum skew."
35270 - Update linux-tor-prio.sh script to allow QoS based on the uid of
35271 the Tor process. Patch from Marco Bonetti with tweaks from Mike
35275 - Refuse to start if both ORPort and UseBridges are set. Bugfix
35276 on 0.2.0.x, suggested by Matt Edman.
35277 - Don't stop fetching descriptors when FetchUselessDescriptors is
35278 set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
35279 reported by tup and ioerror.
35280 - Better log message on vote from unknown authority.
35281 - Don't log "Launching 0 request for 0 router" message.
35283 o Minor bugfixes (memory leaks):
35284 - Stop leaking memory every time we parse a v3 certificate. Bugfix
35286 - Stop leaking memory every time we load a v3 certificate. Bugfix
35287 on 0.2.0.1-alpha. Fixes bug 536.
35288 - Stop leaking a cached networkstatus on exit. Bugfix on
35290 - Stop leaking voter information every time we free a consensus.
35291 Bugfix on 0.2.0.3-alpha.
35292 - Stop leaking signed data every time we check a voter signature.
35293 Bugfix on 0.2.0.3-alpha.
35294 - Stop leaking a signature every time we fail to parse a consensus or
35295 a vote. Bugfix on 0.2.0.3-alpha.
35296 - Stop leaking v2_download_status_map on shutdown. Bugfix on
35298 - Stop leaking conn->nickname every time we make a connection to a
35299 Tor relay without knowing its expected identity digest (e.g. when
35300 using bridges). Bugfix on 0.2.0.3-alpha.
35302 - Minor bugfixes (portability):
35303 - Run correctly on platforms where rlim_t is larger than unsigned
35304 long, and/or where the real limit for number of open files is
35305 OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
35306 particular, these may be needed for OS X 10.5.
35309 Changes in version 0.1.2.18 - 2007-10-28
35310 Tor 0.1.2.18 fixes many problems including crash bugs, problems with
35311 hidden service introduction that were causing huge delays, and a big
35312 bug that was causing some servers to disappear from the network status
35313 lists for a few hours each day.
35315 o Major bugfixes (crashes):
35316 - If a connection is shut down abruptly because of something that
35317 happened inside connection_flushed_some(), do not call
35318 connection_finished_flushing(). Should fix bug 451:
35319 "connection_stop_writing: Assertion conn->write_event failed"
35320 Bugfix on 0.1.2.7-alpha.
35321 - Fix possible segfaults in functions called from
35322 rend_process_relay_cell().
35324 o Major bugfixes (hidden services):
35325 - Hidden services were choosing introduction points uniquely by
35326 hexdigest, but when constructing the hidden service descriptor
35327 they merely wrote the (potentially ambiguous) nickname.
35328 - Clients now use the v2 intro format for hidden service
35329 connections: they specify their chosen rendezvous point by identity
35330 digest rather than by (potentially ambiguous) nickname. These
35331 changes could speed up hidden service connections dramatically.
35333 o Major bugfixes (other):
35334 - Stop publishing a new server descriptor just because we get a
35335 HUP signal. This led (in a roundabout way) to some servers getting
35336 dropped from the networkstatus lists for a few hours each day.
35337 - When looking for a circuit to cannibalize, consider family as well
35338 as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
35339 circuit cannibalization).
35340 - When a router wasn't listed in a new networkstatus, we were leaving
35341 the flags for that router alone -- meaning it remained Named,
35342 Running, etc -- even though absence from the networkstatus means
35343 that it shouldn't be considered to exist at all anymore. Now we
35344 clear all the flags for routers that fall out of the networkstatus
35345 consensus. Fixes bug 529.
35348 - Don't try to access (or alter) the state file when running
35349 --list-fingerprint or --verify-config or --hash-password. Resolves
35351 - When generating information telling us how to extend to a given
35352 router, do not try to include the nickname if it is
35353 absent. Resolves bug 467.
35354 - Fix a user-triggerable segfault in expand_filename(). (There isn't
35355 a way to trigger this remotely.)
35356 - When sending a status event to the controller telling it that an
35357 OR address is reachable, set the port correctly. (Previously we
35358 were reporting the dir port.)
35359 - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
35360 command. Bugfix on 0.1.2.17.
35361 - When loading bandwidth history, do not believe any information in
35362 the future. Fixes bug 434.
35363 - When loading entry guard information, do not believe any information
35365 - When we have our clock set far in the future and generate an
35366 onion key, then re-set our clock to be correct, we should not stop
35367 the onion key from getting rotated.
35368 - On some platforms, accept() can return a broken address. Detect
35369 this more quietly, and deal accordingly. Fixes bug 483.
35370 - It's not actually an error to find a non-pending entry in the DNS
35371 cache when canceling a pending resolve. Don't log unless stuff
35372 is fishy. Resolves bug 463.
35373 - Don't reset trusted dir server list when we set a configuration
35374 option. Patch from Robert Hogan.
35375 - Don't try to create the datadir when running --verify-config or
35376 --hash-password. Resolves bug 540.
35379 Changes in version 0.2.0.9-alpha - 2007-10-24
35380 This ninth development snapshot switches clients to the new v3 directory
35381 system; allows servers to be listed in the network status even when they
35382 have the same nickname as a registered server; and fixes many other
35383 bugs including a big one that was causing some servers to disappear
35384 from the network status lists for a few hours each day.
35386 o Major features (directory system):
35387 - Clients now download v3 consensus networkstatus documents instead
35388 of v2 networkstatus documents. Clients and caches now base their
35389 opinions about routers on these consensus documents. Clients only
35390 download router descriptors listed in the consensus.
35391 - Authorities now list servers who have the same nickname as
35392 a different named server, but list them with a new flag,
35393 "Unnamed". Now we can list servers that happen to pick the same
35394 nickname as a server that registered two years ago and then
35395 disappeared. Partially implements proposal 122.
35396 - If the consensus lists a router as "Unnamed", the name is assigned
35397 to a different router: do not identify the router by that name.
35398 Partially implements proposal 122.
35399 - Authorities can now come to a consensus on which method to use to
35400 compute the consensus. This gives us forward compatibility.
35403 - Stop publishing a new server descriptor just because we HUP or
35404 when we find our DirPort to be reachable but won't actually publish
35405 it. New descriptors without any real changes are dropped by the
35406 authorities, and can screw up our "publish every 18 hours" schedule.
35408 - When a router wasn't listed in a new networkstatus, we were leaving
35409 the flags for that router alone -- meaning it remained Named,
35410 Running, etc -- even though absence from the networkstatus means
35411 that it shouldn't be considered to exist at all anymore. Now we
35412 clear all the flags for routers that fall out of the networkstatus
35413 consensus. Fixes bug 529; bugfix on 0.1.2.x.
35414 - Fix awful behavior in DownloadExtraInfo option where we'd fetch
35415 extrainfo documents and then discard them immediately for not
35416 matching the latest router. Bugfix on 0.2.0.1-alpha.
35418 o Minor features (v3 directory protocol):
35419 - Allow tor-gencert to generate a new certificate without replacing
35421 - Allow certificates to include an address.
35422 - When we change our directory-cache settings, reschedule all voting
35423 and download operations.
35424 - Reattempt certificate downloads immediately on failure, as long as
35425 we haven't failed a threshold number of times yet.
35426 - Delay retrying consensus downloads while we're downloading
35427 certificates to verify the one we just got. Also, count getting a
35428 consensus that we already have (or one that isn't valid) as a failure,
35429 and count failing to get the certificates after 20 minutes as a
35431 - Build circuits and download descriptors even if our consensus is a
35432 little expired. (This feature will go away once authorities are
35435 o Minor features (router descriptor cache):
35436 - If we find a cached-routers file that's been sitting around for more
35437 than 28 days unmodified, then most likely it's a leftover from
35438 when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
35440 - When we (as a cache) download a descriptor because it was listed
35441 in a consensus, remember when the consensus was supposed to expire,
35442 and don't expire the descriptor until then.
35444 o Minor features (performance):
35445 - Call routerlist_remove_old_routers() much less often. This should
35446 speed startup, especially on directory caches.
35447 - Don't try to launch new descriptor downloads quite so often when we
35448 already have enough directory information to build circuits.
35449 - Base64 decoding was actually showing up on our profile when parsing
35450 the initial descriptor file; switch to an in-process all-at-once
35451 implementation that's about 3.5x times faster than calling out to
35454 o Minor features (compilation):
35455 - Detect non-ASCII platforms (if any still exist) and refuse to
35456 build there: some of our code assumes that 'A' is 65 and so on.
35458 o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
35459 - Make the "next period" votes into "current period" votes immediately
35460 after publishing the consensus; avoid a heisenbug that made them
35461 stick around indefinitely.
35462 - When we discard a vote as a duplicate, do not report this as
35464 - Treat missing v3 keys or certificates as an error when running as a
35465 v3 directory authority.
35466 - When we're configured to be a v3 authority, but we're only listed
35467 as a non-v3 authority in our DirServer line for ourself, correct
35469 - If an authority doesn't have a qualified hostname, just put
35470 its address in the vote. This fixes the problem where we referred to
35471 "moria on moria:9031."
35472 - Distinguish between detached signatures for the wrong period, and
35473 detached signatures for a divergent vote.
35474 - Fix a small memory leak when computing a consensus.
35475 - When there's no consensus, we were forming a vote every 30
35476 minutes, but writing the "valid-after" line in our vote based
35477 on our configured V3AuthVotingInterval: so unless the intervals
35478 matched up, we immediately rejected our own vote because it didn't
35479 start at the voting interval that caused us to construct a vote.
35481 o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
35482 - Delete unverified-consensus when the real consensus is set.
35483 - Consider retrying a consensus networkstatus fetch immediately
35484 after one fails: don't wait 60 seconds to notice.
35485 - When fetching a consensus as a cache, wait until a newer consensus
35486 should exist before trying to replace the current one.
35487 - Use a more forgiving schedule for retrying failed consensus
35488 downloads than for other types.
35490 o Minor bugfixes (other directory issues):
35491 - Correct the implementation of "download votes by digest." Bugfix on
35493 - Authorities no longer send back "400 you're unreachable please fix
35494 it" errors to Tor servers that aren't online all the time. We're
35495 supposed to tolerate these servers now. Bugfix on 0.1.2.x.
35497 o Minor bugfixes (controller):
35498 - Don't reset trusted dir server list when we set a configuration
35499 option. Patch from Robert Hogan; bugfix on 0.1.2.x.
35500 - Respond to INT and TERM SIGNAL commands before we execute the
35501 signal, in case the signal shuts us down. We had a patch in
35502 0.1.2.1-alpha that tried to do this by queueing the response on
35503 the connection's buffer before shutting down, but that really
35504 isn't the same thing at all. Bug located by Matt Edman.
35506 o Minor bugfixes (misc):
35507 - Correctly check for bad options to the "PublishServerDescriptor"
35508 config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
35509 - Stop leaking memory on failing case of base32_decode, and make
35510 it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
35511 - Don't try to download extrainfo documents when we're trying to
35512 fetch enough directory info to build a circuit: having enough
35513 info should get priority. Bugfix on 0.2.0.x.
35514 - Don't complain that "your server has not managed to confirm that its
35515 ports are reachable" if we haven't been able to build any circuits
35516 yet. Bug found by spending four hours without a v3 consensus. Bugfix
35518 - Detect the reason for failing to mmap a descriptor file we just
35519 wrote, and give a more useful log message. Fixes bug 533. Bugfix
35522 o Code simplifications and refactoring:
35523 - Remove support for the old bw_accounting file: we've been storing
35524 bandwidth accounting information in the state file since
35525 0.1.2.5-alpha. This may result in bandwidth accounting errors
35526 if you try to upgrade from 0.1.1.x or earlier, or if you try to
35527 downgrade to 0.1.1.x or earlier.
35528 - New convenience code to locate a file within the DataDirectory.
35529 - Move non-authority functionality out of dirvote.c.
35530 - Refactor the arguments for router_pick_{directory_|trusteddir}server
35531 so that they all take the same named flags.
35534 - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
35535 Unix users an easy way to script their Tor process (e.g. by
35536 adjusting bandwidth based on the time of the day).
35539 Changes in version 0.2.0.8-alpha - 2007-10-12
35540 This eighth development snapshot fixes a crash bug that's been bothering
35541 us since February 2007, lets bridge authorities store a list of bridge
35542 descriptors they've seen, gets v3 directory voting closer to working,
35543 starts caching v3 directory consensus documents on directory mirrors,
35544 and fixes a variety of smaller issues including some minor memory leaks.
35546 o Major features (router descriptor cache):
35547 - Store routers in a file called cached-descriptors instead of in
35548 cached-routers. Initialize cached-descriptors from cached-routers
35549 if the old format is around. The new format allows us to store
35550 annotations along with descriptors.
35551 - Use annotations to record the time we received each descriptor, its
35552 source, and its purpose.
35553 - Disable the SETROUTERPURPOSE controller command: it is now
35555 - Controllers should now specify cache=no or cache=yes when using
35556 the +POSTDESCRIPTOR command.
35557 - Bridge authorities now write bridge descriptors to disk, meaning
35558 we can export them to other programs and begin distributing them
35561 o Major features (directory authorities):
35562 - When a v3 authority is missing votes or signatures, it now tries
35564 - Directory authorities track weighted fractional uptime as well as
35565 weighted mean-time-between failures. WFU is suitable for deciding
35566 whether a node is "usually up", while MTBF is suitable for deciding
35567 whether a node is "likely to stay up." We need both, because
35568 "usually up" is a good requirement for guards, while "likely to
35569 stay up" is a good requirement for long-lived connections.
35571 o Major features (v3 directory system):
35572 - Caches now download v3 network status documents as needed,
35573 and download the descriptors listed in them.
35574 - All hosts now attempt to download and keep fresh v3 authority
35575 certificates, and re-attempt after failures.
35576 - More internal-consistency checks for vote parsing.
35578 o Major bugfixes (crashes):
35579 - If a connection is shut down abruptly because of something that
35580 happened inside connection_flushed_some(), do not call
35581 connection_finished_flushing(). Should fix bug 451. Bugfix on
35584 o Major bugfixes (performance):
35585 - Fix really bad O(n^2) performance when parsing a long list of
35586 routers: Instead of searching the entire list for an "extra-info "
35587 string which usually wasn't there, once for every routerinfo
35588 we read, just scan lines forward until we find one we like.
35590 - When we add data to a write buffer in response to the data on that
35591 write buffer getting low because of a flush, do not consider the
35592 newly added data as a candidate for immediate flushing, but rather
35593 make it wait until the next round of writing. Otherwise, we flush
35594 and refill recursively, and a single greedy TLS connection can
35595 eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
35597 o Minor features (v3 authority system):
35598 - Add more ways for tools to download the votes that lead to the
35600 - Send a 503 when low on bandwidth and a vote, consensus, or
35601 certificate is requested.
35602 - If-modified-since is now implemented properly for all kinds of
35603 certificate requests.
35605 o Minor bugfixes (network statuses):
35606 - Tweak the implementation of proposal 109 slightly: allow at most
35607 two Tor servers on the same IP address, except if it's the location
35608 of a directory authority, in which case allow five. Bugfix on
35611 o Minor bugfixes (controller):
35612 - When sending a status event to the controller telling it that an
35613 OR address is reachable, set the port correctly. (Previously we
35614 were reporting the dir port.) Bugfix on 0.1.2.x.
35616 o Minor bugfixes (v3 directory system):
35617 - Fix logic to look up a cert by its signing key digest. Bugfix on
35619 - Only change the reply to a vote to "OK" if it's not already
35620 set. This gets rid of annoying "400 OK" log messages, which may
35621 have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
35622 - When we get a valid consensus, recompute the voting schedule.
35623 - Base the valid-after time of a vote on the consensus voting
35624 schedule, not on our preferred schedule.
35625 - Make the return values and messages from signature uploads and
35626 downloads more sensible.
35627 - Fix a memory leak when serving votes and consensus documents, and
35628 another when serving certificates.
35630 o Minor bugfixes (performance):
35631 - Use a slightly simpler string hashing algorithm (copying Python's
35632 instead of Java's) and optimize our digest hashing algorithm to take
35633 advantage of 64-bit platforms and to remove some possibly-costly
35635 - Fix a minor memory leak whenever we parse guards from our state
35636 file. Bugfix on 0.2.0.7-alpha.
35637 - Fix a minor memory leak whenever we write out a file. Bugfix on
35639 - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
35640 command. Bugfix on 0.2.0.5-alpha.
35642 o Minor bugfixes (portability):
35643 - On some platforms, accept() can return a broken address. Detect
35644 this more quietly, and deal accordingly. Fixes bug 483.
35645 - Stop calling tor_strlower() on uninitialized memory in some cases.
35646 Bugfix in 0.2.0.7-alpha.
35648 o Minor bugfixes (usability):
35649 - Treat some 403 responses from directory servers as INFO rather than
35650 WARN-severity events.
35651 - It's not actually an error to find a non-pending entry in the DNS
35652 cache when canceling a pending resolve. Don't log unless stuff is
35653 fishy. Resolves bug 463.
35655 o Minor bugfixes (anonymity):
35656 - Never report that we've used more bandwidth than we're willing to
35657 relay: it leaks how much non-relay traffic we're using. Resolves
35659 - When looking for a circuit to cannibalize, consider family as well
35660 as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
35661 circuit cannibalization).
35663 o Code simplifications and refactoring:
35664 - Make a bunch of functions static. Remove some dead code.
35665 - Pull out about a third of the really big routerlist.c; put it in a
35666 new module, networkstatus.c.
35667 - Merge the extra fields in local_routerstatus_t back into
35668 routerstatus_t: we used to need one routerstatus_t for each
35669 authority's opinion, plus a local_routerstatus_t for the locally
35670 computed consensus opinion. To save space, we put the locally
35671 modified fields into local_routerstatus_t, and only the common
35672 stuff into routerstatus_t. But once v3 directories are in use,
35673 clients and caches will no longer need to hold authority opinions;
35674 thus, the rationale for keeping the types separate is now gone.
35675 - Make the code used to reschedule and reattempt downloads more
35677 - Turn all 'Are we a directory server/mirror?' logic into a call to
35679 - Remove the code to generate the oldest (v1) directory format.
35680 The code has been disabled since 0.2.0.5-alpha.
35683 Changes in version 0.2.0.7-alpha - 2007-09-21
35684 This seventh development snapshot makes bridges work again, makes bridge
35685 authorities work for the first time, fixes two huge performance flaws
35686 in hidden services, and fixes a variety of minor issues.
35688 o New directory authorities:
35689 - Set up moria1 and tor26 as the first v3 directory authorities. See
35690 doc/spec/dir-spec.txt for details on the new directory design.
35692 o Major bugfixes (crashes):
35693 - Fix possible segfaults in functions called from
35694 rend_process_relay_cell(). Bugfix on 0.1.2.x.
35696 o Major bugfixes (bridges):
35697 - Fix a bug that made servers send a "404 Not found" in response to
35698 attempts to fetch their server descriptor. This caused Tor servers
35699 to take many minutes to establish reachability for their DirPort,
35700 and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
35701 - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
35702 users configure that and specify a bridge with an identity
35703 fingerprint, now they will lookup the bridge descriptor at the
35704 default bridge authority via a one-hop tunnel, but once circuits
35705 are established they will switch to a three-hop tunnel for later
35706 connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
35708 o Major bugfixes (hidden services):
35709 - Hidden services were choosing introduction points uniquely by
35710 hexdigest, but when constructing the hidden service descriptor
35711 they merely wrote the (potentially ambiguous) nickname.
35712 - Clients now use the v2 intro format for hidden service
35713 connections: they specify their chosen rendezvous point by identity
35714 digest rather than by (potentially ambiguous) nickname. Both
35715 are bugfixes on 0.1.2.x, and they could speed up hidden service
35716 connections dramatically. Thanks to Karsten Loesing.
35718 o Minor features (security):
35719 - As a client, do not believe any server that tells us that an
35720 address maps to an internal address space.
35721 - Make it possible to enable HashedControlPassword and
35722 CookieAuthentication at the same time.
35724 o Minor features (guard nodes):
35725 - Tag every guard node in our state file with the version that
35726 we believe added it, or with our own version if we add it. This way,
35727 if a user temporarily runs an old version of Tor and then switches
35728 back to a new one, she doesn't automatically lose her guards.
35730 o Minor features (speed):
35731 - When implementing AES counter mode, update only the portions of the
35732 counter buffer that need to change, and don't keep separate
35733 network-order and host-order counters when they are the same (i.e.,
35734 on big-endian hosts.)
35736 o Minor features (controller):
35737 - Accept LF instead of CRLF on controller, since some software has a
35738 hard time generating real Internet newlines.
35739 - Add GETINFO values for the server status events
35740 "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
35743 o Removed features:
35744 - Routers no longer include bandwidth-history lines in their
35745 descriptors; this information is already available in extra-info
35746 documents, and including it in router descriptors took up 60%
35747 (!) of compressed router descriptor downloads. Completes
35748 implementation of proposal 104.
35749 - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
35750 and TorControl.py, as they use the old v0 controller protocol,
35751 and are obsoleted by TorFlow anyway.
35752 - Drop support for v1 rendezvous descriptors, since we never used
35753 them anyway, and the code has probably rotted by now. Based on
35754 patch from Karsten Loesing.
35755 - On OSX, stop warning the user that kqueue support in libevent is
35756 "experimental", since it seems to have worked fine for ages.
35759 - When generating information telling us how to extend to a given
35760 router, do not try to include the nickname if it is absent. Fixes
35761 bug 467. Bugfix on 0.2.0.3-alpha.
35762 - Fix a user-triggerable (but not remotely-triggerable) segfault
35763 in expand_filename(). Bugfix on 0.1.2.x.
35764 - Fix a memory leak when freeing incomplete requests from DNSPort.
35765 Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
35766 - Don't try to access (or alter) the state file when running
35767 --list-fingerprint or --verify-config or --hash-password. (Resolves
35768 bug 499.) Bugfix on 0.1.2.x.
35769 - Servers used to decline to publish their DirPort if their
35770 BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
35771 were below a threshold. Now they only look at BandwidthRate and
35772 RelayBandwidthRate. Bugfix on 0.1.2.x.
35773 - Remove an optimization in the AES counter-mode code that assumed
35774 that the counter never exceeded 2^68. When the counter can be set
35775 arbitrarily as an IV (as it is by Karsten's new hidden services
35776 code), this assumption no longer holds. Bugfix on 0.1.2.x.
35777 - Resume listing "AUTHORITY" flag for authorities in network status.
35778 Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
35780 o Code simplifications and refactoring:
35781 - Revamp file-writing logic so we don't need to have the entire
35782 contents of a file in memory at once before we write to disk. Tor,
35784 - Turn "descriptor store" into a full-fledged type.
35785 - Move all NT services code into a separate source file.
35786 - Unify all code that computes medians, percentile elements, etc.
35787 - Get rid of a needless malloc when parsing address policies.
35790 Changes in version 0.1.2.17 - 2007-08-30
35791 Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
35792 X bundles. Vidalia 0.0.14 makes authentication required for the
35793 ControlPort in the default configuration, which addresses important
35794 security risks. Everybody who uses Vidalia (or another controller)
35797 In addition, this Tor update fixes major load balancing problems with
35798 path selection, which should speed things up a lot once many people
35801 o Major bugfixes (security):
35802 - We removed support for the old (v0) control protocol. It has been
35803 deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
35804 become more of a headache than it's worth.
35806 o Major bugfixes (load balancing):
35807 - When choosing nodes for non-guard positions, weight guards
35808 proportionally less, since they already have enough load. Patch
35810 - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
35811 will allow fast Tor servers to get more attention.
35812 - When we're upgrading from an old Tor version, forget our current
35813 guards and pick new ones according to the new weightings. These
35814 three load balancing patches could raise effective network capacity
35815 by a factor of four. Thanks to Mike Perry for measurements.
35817 o Major bugfixes (stream expiration):
35818 - Expire not-yet-successful application streams in all cases if
35819 they've been around longer than SocksTimeout. Right now there are
35820 some cases where the stream will live forever, demanding a new
35821 circuit every 15 seconds. Fixes bug 454; reported by lodger.
35823 o Minor features (controller):
35824 - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
35825 is valid before any authentication has been received. It tells
35826 a controller what kind of authentication is expected, and what
35827 protocol is spoken. Implements proposal 119.
35829 o Minor bugfixes (performance):
35830 - Save on most routerlist_assert_ok() calls in routerlist.c, thus
35831 greatly speeding up loading cached-routers from disk on startup.
35832 - Disable sentinel-based debugging for buffer code: we squashed all
35833 the bugs that this was supposed to detect a long time ago, and now
35834 its only effect is to change our buffer sizes from nice powers of
35835 two (which platform mallocs tend to like) to values slightly over
35836 powers of two (which make some platform mallocs sad).
35838 o Minor bugfixes (misc):
35839 - If exit bandwidth ever exceeds one third of total bandwidth, then
35840 use the correct formula to weight exit nodes when choosing paths.
35841 Based on patch from Mike Perry.
35842 - Choose perfectly fairly among routers when choosing by bandwidth and
35843 weighting by fraction of bandwidth provided by exits. Previously, we
35844 would choose with only approximate fairness, and correct ourselves
35845 if we ran off the end of the list.
35846 - If we require CookieAuthentication but we fail to write the
35847 cookie file, we would warn but not exit, and end up in a state
35848 where no controller could authenticate. Now we exit.
35849 - If we require CookieAuthentication, stop generating a new cookie
35850 every time we change any piece of our config.
35851 - Refuse to start with certain directory authority keys, and
35852 encourage people using them to stop.
35853 - Terminate multi-line control events properly. Original patch
35855 - Fix a minor memory leak when we fail to find enough suitable
35856 servers to choose a circuit.
35857 - Stop leaking part of the descriptor when we run into a particularly
35858 unparseable piece of it.
35861 Changes in version 0.2.0.6-alpha - 2007-08-26
35862 This sixth development snapshot features a new Vidalia version in the
35863 Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
35864 the ControlPort in the default configuration, which addresses important
35867 In addition, this snapshot fixes major load balancing problems
35868 with path selection, which should speed things up a lot once many
35869 people have upgraded. The directory authorities also use a new
35870 mean-time-between-failure approach to tracking which servers are stable,
35871 rather than just looking at the most recent uptime.
35873 o New directory authorities:
35874 - Set up Tonga as the default bridge directory authority.
35877 - Directory authorities now track servers by weighted
35878 mean-times-between-failures. When we have 4 or more days of data,
35879 use measured MTBF rather than declared uptime to decide whether
35880 to call a router Stable. Implements proposal 108.
35882 o Major bugfixes (load balancing):
35883 - When choosing nodes for non-guard positions, weight guards
35884 proportionally less, since they already have enough load. Patch
35886 - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
35887 will allow fast Tor servers to get more attention.
35888 - When we're upgrading from an old Tor version, forget our current
35889 guards and pick new ones according to the new weightings. These
35890 three load balancing patches could raise effective network capacity
35891 by a factor of four. Thanks to Mike Perry for measurements.
35893 o Major bugfixes (descriptor parsing):
35894 - Handle unexpected whitespace better in malformed descriptors. Bug
35895 found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
35898 - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
35899 GETINFO for Torstat to use until it can switch to using extrainfos.
35900 - Optionally (if built with -DEXPORTMALLINFO) export the output
35901 of mallinfo via http, as tor/mallinfo.txt. Only accessible
35905 - Do not intermix bridge routers with controller-added
35906 routers. (Bugfix on 0.2.0.x)
35907 - Do not fail with an assert when accept() returns an unexpected
35908 address family. Addresses but does not wholly fix bug 483. (Bugfix
35910 - Let directory authorities startup even when they can't generate
35911 a descriptor immediately, e.g. because they don't know their
35913 - Stop putting the authentication cookie in a file called "0"
35914 in your working directory if you don't specify anything for the
35915 new CookieAuthFile option. Reported by Matt Edman.
35916 - Make it possible to read the PROTOCOLINFO response in a way that
35917 conforms to our control-spec. Reported by Matt Edman.
35918 - Fix a minor memory leak when we fail to find enough suitable
35919 servers to choose a circuit. Bugfix on 0.1.2.x.
35920 - Stop leaking part of the descriptor when we run into a particularly
35921 unparseable piece of it. Bugfix on 0.1.2.x.
35922 - Unmap the extrainfo cache file on exit.
35925 Changes in version 0.2.0.5-alpha - 2007-08-19
35926 This fifth development snapshot fixes compilation on Windows again;
35927 fixes an obnoxious client-side bug that slowed things down and put
35928 extra load on the network; gets us closer to using the v3 directory
35929 voting scheme; makes it easier for Tor controllers to use cookie-based
35930 authentication; and fixes a variety of other bugs.
35932 o Removed features:
35933 - Version 1 directories are no longer generated in full. Instead,
35934 authorities generate and serve "stub" v1 directories that list
35935 no servers. This will stop Tor versions 0.1.0.x and earlier from
35936 working, but (for security reasons) nobody should be running those
35939 o Major bugfixes (compilation, 0.2.0.x):
35940 - Try to fix Win32 compilation again: improve checking for IPv6 types.
35941 - Try to fix MSVC compilation: build correctly on platforms that do
35942 not define s6_addr16 or s6_addr32.
35943 - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
35946 o Major bugfixes (stream expiration):
35947 - Expire not-yet-successful application streams in all cases if
35948 they've been around longer than SocksTimeout. Right now there are
35949 some cases where the stream will live forever, demanding a new
35950 circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
35951 reported by lodger.
35953 o Minor features (directory servers):
35954 - When somebody requests a list of statuses or servers, and we have
35955 none of those, return a 404 rather than an empty 200.
35957 o Minor features (directory voting):
35958 - Store v3 consensus status consensuses on disk, and reload them
35961 o Minor features (security):
35962 - Warn about unsafe ControlPort configurations.
35963 - Refuse to start with certain directory authority keys, and
35964 encourage people using them to stop.
35966 o Minor features (controller):
35967 - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
35968 is valid before any authentication has been received. It tells
35969 a controller what kind of authentication is expected, and what
35970 protocol is spoken. Implements proposal 119.
35971 - New config option CookieAuthFile to choose a new location for the
35972 cookie authentication file, and config option
35973 CookieAuthFileGroupReadable to make it group-readable.
35975 o Minor features (unit testing):
35976 - Add command-line arguments to unit-test executable so that we can
35977 invoke any chosen test from the command line rather than having
35978 to run the whole test suite at once; and so that we can turn on
35979 logging for the unit tests.
35981 o Minor bugfixes (on 0.1.2.x):
35982 - If we require CookieAuthentication but we fail to write the
35983 cookie file, we would warn but not exit, and end up in a state
35984 where no controller could authenticate. Now we exit.
35985 - If we require CookieAuthentication, stop generating a new cookie
35986 every time we change any piece of our config.
35987 - When loading bandwidth history, do not believe any information in
35988 the future. Fixes bug 434.
35989 - When loading entry guard information, do not believe any information
35991 - When we have our clock set far in the future and generate an
35992 onion key, then re-set our clock to be correct, we should not stop
35993 the onion key from getting rotated.
35994 - Clean up torrc sample config file.
35995 - Do not automatically run configure from autogen.sh. This
35996 non-standard behavior tended to annoy people who have built other
35999 o Minor bugfixes (on 0.2.0.x):
36000 - Fix a bug with AutomapHostsOnResolve that would always cause
36001 the second request to fail. Bug reported by Kate. Bugfix on
36003 - Fix a bug in ADDRMAP controller replies that would sometimes
36004 try to print a NULL. Patch from tup.
36005 - Read v3 directory authority keys from the right location.
36006 - Numerous bugfixes to directory voting code.
36009 Changes in version 0.1.2.16 - 2007-08-01
36010 Tor 0.1.2.16 fixes a critical security vulnerability that allows a
36011 remote attacker in certain situations to rewrite the user's torrc
36012 configuration file. This can completely compromise anonymity of users
36013 in most configurations, including those running the Vidalia bundles,
36014 TorK, etc. Or worse.
36016 o Major security fixes:
36017 - Close immediately after missing authentication on control port;
36018 do not allow multiple authentication attempts.
36021 Changes in version 0.2.0.4-alpha - 2007-08-01
36022 This fourth development snapshot fixes a critical security vulnerability
36023 for most users, specifically those running Vidalia, TorK, etc. Everybody
36024 should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
36026 o Major security fixes:
36027 - Close immediately after missing authentication on control port;
36028 do not allow multiple authentication attempts.
36030 o Major bugfixes (compilation):
36031 - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
36034 o Minor features (performance):
36035 - Be even more aggressive about releasing RAM from small
36036 empty buffers. Thanks to our free-list code, this shouldn't be too
36037 performance-intensive.
36038 - Disable sentinel-based debugging for buffer code: we squashed all
36039 the bugs that this was supposed to detect a long time ago, and
36040 now its only effect is to change our buffer sizes from nice
36041 powers of two (which platform mallocs tend to like) to values
36042 slightly over powers of two (which make some platform mallocs sad).
36043 - Log malloc statistics from mallinfo() on platforms where it
36047 Changes in version 0.2.0.3-alpha - 2007-07-29
36048 This third development snapshot introduces new experimental
36049 blocking-resistance features and a preliminary version of the v3
36050 directory voting design, and includes many other smaller features
36054 - The first pieces of our "bridge" design for blocking-resistance
36055 are implemented. People can run bridge directory authorities;
36056 people can run bridges; and people can configure their Tor clients
36057 with a set of bridges to use as the first hop into the Tor network.
36058 See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
36060 - Create listener connections before we setuid to the configured
36061 User and Group. Now non-Windows users can choose port values
36062 under 1024, start Tor as root, and have Tor bind those ports
36063 before it changes to another UID. (Windows users could already
36065 - Added a new ConstrainedSockets config option to set SO_SNDBUF and
36066 SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
36067 on "vserver" accounts. (Patch from coderman.)
36068 - Be even more aggressive about separating local traffic from relayed
36069 traffic when RelayBandwidthRate is set. (Refines proposal 111.)
36071 o Major features (experimental):
36072 - First cut of code for "v3 dir voting": directory authorities will
36073 vote on a common network status document rather than each publishing
36074 their own opinion. This code needs more testing and more corner-case
36075 handling before it's ready for use.
36078 - Directory authorities now call routers Fast if their bandwidth is
36079 at least 100KB/s, and consider their bandwidth adequate to be a
36080 Guard if it is at least 250KB/s, no matter the medians. This fix
36081 complements proposal 107. [Bugfix on 0.1.2.x]
36082 - Directory authorities now never mark more than 3 servers per IP as
36083 Valid and Running. (Implements proposal 109, by Kevin Bauer and
36085 - Minor change to organizationName and commonName generation
36086 procedures in TLS certificates during Tor handshakes, to invalidate
36087 some earlier censorware approaches. This is not a long-term
36088 solution, but applying it will give us a bit of time to look into
36089 the epidemiology of countermeasures as they spread.
36091 o Major bugfixes (directory):
36092 - Rewrite directory tokenization code to never run off the end of
36093 a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
36095 o Minor features (controller):
36096 - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
36097 match requests to applications. (Patch from Robert Hogan.)
36098 - Report address and port correctly on connections to DNSPort. (Patch
36099 from Robert Hogan.)
36100 - Add a RESOLVE command to launch hostname lookups. (Original patch
36101 from Robert Hogan.)
36102 - Add GETINFO status/enough-dir-info to let controllers tell whether
36103 Tor has downloaded sufficient directory information. (Patch
36105 - You can now use the ControlSocket option to tell Tor to listen for
36106 controller connections on Unix domain sockets on systems that
36107 support them. (Patch from Peter Palfrader.)
36108 - STREAM NEW events are generated for DNSPort requests and for
36109 tunneled directory connections. (Patch from Robert Hogan.)
36110 - New "GETINFO address-mappings/*" command to get address mappings
36111 with expiry information. "addr-mappings/*" is now deprecated.
36114 o Minor features (misc):
36115 - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
36117 - The tor-gencert tool for v3 directory authorities now creates all
36118 files as readable to the file creator only, and write-protects
36119 the authority identity key.
36120 - When dumping memory usage, list bytes used in buffer memory
36122 - When running with dmalloc, dump more stats on hup and on exit.
36123 - Directory authorities now fail quickly and (relatively) harmlessly
36124 if they generate a network status document that is somehow
36127 o Traffic load balancing improvements:
36128 - If exit bandwidth ever exceeds one third of total bandwidth, then
36129 use the correct formula to weight exit nodes when choosing paths.
36130 (Based on patch from Mike Perry.)
36131 - Choose perfectly fairly among routers when choosing by bandwidth and
36132 weighting by fraction of bandwidth provided by exits. Previously, we
36133 would choose with only approximate fairness, and correct ourselves
36134 if we ran off the end of the list. [Bugfix on 0.1.2.x]
36136 o Performance improvements:
36137 - Be more aggressive with freeing buffer RAM or putting it on the
36139 - Use Critical Sections rather than Mutexes for synchronizing threads
36140 on win32; Mutexes are heavier-weight, and designed for synchronizing
36143 o Deprecated and removed features:
36144 - RedirectExits is now deprecated.
36145 - Stop allowing address masks that do not correspond to bit prefixes.
36146 We have warned about these for a really long time; now it's time
36147 to reject them. (Patch from croup.)
36149 o Minor bugfixes (directory):
36150 - Fix another crash bug related to extra-info caching. (Bug found by
36151 Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
36152 - Directories no longer return a "304 not modified" when they don't
36153 have the networkstatus the client asked for. Also fix a memory
36154 leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
36155 - We had accidentally labelled 0.1.2.x directory servers as not
36156 suitable for begin_dir requests, and had labelled no directory
36157 servers as suitable for uploading extra-info documents. [Bugfix
36160 o Minor bugfixes (dns):
36161 - Fix a crash when DNSPort is set more than once. (Patch from Robert
36162 Hogan.) [Bugfix on 0.2.0.2-alpha]
36163 - Add DNSPort connections to the global connection list, so that we
36164 can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
36166 - Fix a dangling reference that could lead to a crash when DNSPort is
36167 changed or closed (Patch from Robert Hogan.) [Bugfix on
36170 o Minor bugfixes (controller):
36171 - Provide DNS expiry times in GMT, not in local time. For backward
36172 compatibility, ADDRMAP events only provide GMT expiry in an extended
36173 field. "GETINFO address-mappings" always does the right thing.
36174 - Use CRLF line endings properly in NS events.
36175 - Terminate multi-line control events properly. (Original patch
36176 from tup.) [Bugfix on 0.1.2.x-alpha]
36177 - Do not include spaces in SOURCE_ADDR fields in STREAM
36178 events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
36181 Changes in version 0.1.2.15 - 2007-07-17
36182 Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
36183 problems, fixes compilation on BSD, and fixes a variety of other
36184 bugs. Everybody should upgrade.
36186 o Major bugfixes (compilation):
36187 - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
36189 o Major bugfixes (crashes):
36190 - Try even harder not to dereference the first character after
36191 an mmap(). Reported by lodger.
36192 - Fix a crash bug in directory authorities when we re-number the
36193 routerlist while inserting a new router.
36194 - When the cached-routers file is an even multiple of the page size,
36195 don't run off the end and crash. (Fixes bug 455; based on idea
36197 - Fix eventdns.c behavior on Solaris: It is critical to include
36198 orconfig.h _before_ sys/types.h, so that we can get the expected
36199 definition of _FILE_OFFSET_BITS.
36201 o Major bugfixes (security):
36202 - Fix a possible buffer overrun when using BSD natd support. Bug
36204 - When sending destroy cells from a circuit's origin, don't include
36205 the reason for tearing down the circuit. The spec says we didn't,
36206 and now we actually don't. Reported by lodger.
36207 - Keep streamids from different exits on a circuit separate. This
36208 bug may have allowed other routers on a given circuit to inject
36209 cells into streams. Reported by lodger; fixes bug 446.
36210 - If there's a never-before-connected-to guard node in our list,
36211 never choose any guards past it. This way we don't expand our
36212 guard list unless we need to.
36214 o Minor bugfixes (guard nodes):
36215 - Weight guard selection by bandwidth, so that low-bandwidth nodes
36216 don't get overused as guards.
36218 o Minor bugfixes (directory):
36219 - Correctly count the number of authorities that recommend each
36220 version. Previously, we were under-counting by 1.
36221 - Fix a potential crash bug when we load many server descriptors at
36222 once and some of them make others of them obsolete. Fixes bug 458.
36224 o Minor bugfixes (hidden services):
36225 - Stop tearing down the whole circuit when the user asks for a
36226 connection to a port that the hidden service didn't configure.
36229 o Minor bugfixes (misc):
36230 - On Windows, we were preventing other processes from reading
36231 cached-routers while Tor was running. Reported by janbar.
36232 - Fix a possible (but very unlikely) bug in picking routers by
36233 bandwidth. Add a log message to confirm that it is in fact
36234 unlikely. Patch from lodger.
36235 - Backport a couple of memory leak fixes.
36236 - Backport miscellaneous cosmetic bugfixes.
36239 Changes in version 0.2.0.2-alpha - 2007-06-02
36240 o Major bugfixes on 0.2.0.1-alpha:
36241 - Fix an assertion failure related to servers without extra-info digests.
36242 Resolves bugs 441 and 442.
36244 o Minor features (directory):
36245 - Support "If-Modified-Since" when answering HTTP requests for
36246 directories, running-routers documents, and network-status documents.
36247 (There's no need to support it for router descriptors, since those
36248 are downloaded by descriptor digest.)
36250 o Minor build issues:
36251 - Clear up some MIPSPro compiler warnings.
36252 - When building from a tarball on a machine that happens to have SVK
36253 installed, report the micro-revision as whatever version existed
36254 in the tarball, not as "x".
36257 Changes in version 0.2.0.1-alpha - 2007-06-01
36258 This early development snapshot provides new features for people running
36259 Tor as both a client and a server (check out the new RelayBandwidth
36260 config options); lets Tor run as a DNS proxy; and generally moves us
36261 forward on a lot of fronts.
36263 o Major features, server usability:
36264 - New config options RelayBandwidthRate and RelayBandwidthBurst:
36265 a separate set of token buckets for relayed traffic. Right now
36266 relayed traffic is defined as answers to directory requests, and
36267 OR connections that don't have any local circuits on them.
36269 o Major features, client usability:
36270 - A client-side DNS proxy feature to replace the need for
36271 dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
36272 for DNS requests on port 9999, use the Tor network to resolve them
36273 anonymously, and send the reply back like a regular DNS server.
36274 The code still only implements a subset of DNS.
36275 - Make PreferTunneledDirConns and TunnelDirConns work even when
36276 we have no cached directory info. This means Tor clients can now
36277 do all of their connections protected by TLS.
36279 o Major features, performance and efficiency:
36280 - Directory authorities accept and serve "extra info" documents for
36281 routers. These documents contain fields from router descriptors
36282 that aren't usually needed, and that use a lot of excess
36283 bandwidth. Once these fields are removed from router descriptors,
36284 the bandwidth savings should be about 60%. [Partially implements
36286 - Servers upload extra-info documents to any authority that accepts
36287 them. Authorities (and caches that have been configured to download
36288 extra-info documents) download them as needed. [Partially implements
36290 - Change the way that Tor buffers data that it is waiting to write.
36291 Instead of queueing data cells in an enormous ring buffer for each
36292 client->OR or OR->OR connection, we now queue cells on a separate
36293 queue for each circuit. This lets us use less slack memory, and
36294 will eventually let us be smarter about prioritizing different kinds
36296 - Use memory pools to allocate cells with better speed and memory
36297 efficiency, especially on platforms where malloc() is inefficient.
36298 - Stop reading on edge connections when their corresponding circuit
36299 buffers are full; start again as the circuits empty out.
36301 o Major features, other:
36302 - Add an HSAuthorityRecordStats option that hidden service authorities
36303 can use to track statistics of overall hidden service usage without
36304 logging information that would be very useful to an attacker.
36305 - Start work implementing multi-level keys for directory authorities:
36306 Add a standalone tool to generate key certificates. (Proposal 103.)
36309 - Directory authorities now call routers Stable if they have an
36310 uptime of at least 30 days, even if that's not the median uptime
36311 in the network. Implements proposal 107, suggested by Kevin Bauer
36314 o Minor fixes (resource management):
36315 - Count the number of open sockets separately from the number
36316 of active connection_t objects. This will let us avoid underusing
36317 our allocated connection limit.
36318 - We no longer use socket pairs to link an edge connection to an
36319 anonymous directory connection or a DirPort test connection.
36320 Instead, we track the link internally and transfer the data
36321 in-process. This saves two sockets per "linked" connection (at the
36322 client and at the server), and avoids the nasty Windows socketpair()
36324 - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
36325 for every single inactive connection_t. Free items from the
36326 4k/16k-buffer free lists when they haven't been used for a while.
36328 o Minor features (build):
36329 - Make autoconf search for libevent, openssl, and zlib consistently.
36330 - Update deprecated macros in configure.in.
36331 - When warning about missing headers, tell the user to let us
36332 know if the compile succeeds anyway, so we can downgrade the
36334 - Include the current subversion revision as part of the version
36335 string: either fetch it directly if we're in an SVN checkout, do
36336 some magic to guess it if we're in an SVK checkout, or use
36337 the last-detected version if we're building from a .tar.gz.
36338 Use this version consistently in log messages.
36340 o Minor features (logging):
36341 - Always prepend "Bug: " to any log message about a bug.
36342 - Put a platform string (e.g. "Linux i686") in the startup log
36343 message, so when people paste just their logs, we know if it's
36344 OpenBSD or Windows or what.
36345 - When logging memory usage, break down memory used in buffers by
36348 o Minor features (directory system):
36349 - New config option V2AuthoritativeDirectory that all directory
36350 authorities should set. This will let future authorities choose
36351 not to serve V2 directory information.
36352 - Directory authorities allow multiple router descriptors and/or extra
36353 info documents to be uploaded in a single go. This will make
36354 implementing proposal 104 simpler.
36356 o Minor features (controller):
36357 - Add a new config option __DisablePredictedCircuits designed for
36358 use by the controller, when we don't want Tor to build any circuits
36360 - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
36361 so we can exit from the middle of the circuit.
36362 - Implement "getinfo status/circuit-established".
36363 - Implement "getinfo status/version/..." so a controller can tell
36364 whether the current version is recommended, and whether any versions
36365 are good, and how many authorities agree. (Patch from shibz.)
36367 o Minor features (hidden services):
36368 - Allow multiple HiddenServicePort directives with the same virtual
36369 port; when they occur, the user is sent round-robin to one
36370 of the target ports chosen at random. Partially fixes bug 393 by
36371 adding limited ad-hoc round-robining.
36373 o Minor features (other):
36375 - Add a new AutomapHostsOnResolve option: when it is enabled, any
36376 resolve request for hosts matching a given pattern causes Tor to
36377 generate an internal virtual address mapping for that host. This
36378 allows DNSPort to work sensibly with hidden service users. By
36379 default, .exit and .onion addresses are remapped; the list of
36380 patterns can be reconfigured with AutomapHostsSuffixes.
36381 - Add an "-F" option to tor-resolve to force a resolve for a .onion
36382 address. Thanks to the AutomapHostsOnResolve option, this is no
36383 longer a completely silly thing to do.
36384 - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
36385 now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
36386 - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
36387 minus 1 byte: the actual maximum declared bandwidth.
36389 o Removed features:
36390 - Removed support for the old binary "version 0" controller protocol.
36391 This has been deprecated since 0.1.1, and warnings have been issued
36392 since 0.1.2. When we encounter a v0 control message, we now send
36393 back an error and close the connection.
36394 - Remove the old "dns worker" server DNS code: it hasn't been default
36395 since 0.1.2.2-alpha, and all the servers seem to be using the new
36398 o Minor bugfixes (portability):
36399 - Even though Windows is equally happy with / and \ as path separators,
36400 try to use \ consistently on Windows and / consistently on Unix: it
36401 makes the log messages nicer.
36402 - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
36403 - Read resolv.conf files correctly on platforms where read() returns
36404 partial results on small file reads.
36406 o Minor bugfixes (directory):
36407 - Correctly enforce that elements of directory objects do not appear
36408 more often than they are allowed to appear.
36409 - When we are reporting the DirServer line we just parsed, we were
36410 logging the second stanza of the key fingerprint, not the first.
36412 o Minor bugfixes (logging):
36413 - When we hit an EOF on a log (probably because we're shutting down),
36414 don't try to remove the log from the list: just mark it as
36415 unusable. (Bulletproofs against bug 222.)
36417 o Minor bugfixes (other):
36418 - In the exitlist script, only consider the most recently published
36419 server descriptor for each server. Also, when the user requests
36420 a list of servers that _reject_ connections to a given address,
36421 explicitly exclude the IPs that also have servers that accept
36422 connections to that address. (Resolves bug 405.)
36423 - Stop allowing hibernating servers to be "stable" or "fast".
36424 - On Windows, we were preventing other processes from reading
36425 cached-routers while Tor was running. (Reported by janbar)
36426 - Make the NodeFamilies config option work. (Reported by
36427 lodger -- it has never actually worked, even though we added it
36429 - Check return values from pthread_mutex functions.
36430 - Don't save non-general-purpose router descriptors to the disk cache,
36431 because we have no way of remembering what their purpose was when
36433 - Add even more asserts to hunt down bug 417.
36434 - Build without verbose warnings even on (not-yet-released) gcc 4.2.
36435 - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
36436 Add a log message to confirm that it is in fact unlikely.
36438 o Minor bugfixes (controller):
36439 - Make 'getinfo fingerprint' return a 551 error if we're not a
36440 server, so we match what the control spec claims we do. Reported
36442 - Fix a typo in an error message when extendcircuit fails that
36443 caused us to not follow the \r\n-based delimiter protocol. Reported
36446 o Code simplifications and refactoring:
36447 - Stop passing around circuit_t and crypt_path_t pointers that are
36448 implicit in other procedure arguments.
36449 - Drop the old code to choke directory connections when the
36450 corresponding OR connections got full: thanks to the cell queue
36451 feature, OR conns don't get full any more.
36452 - Make dns_resolve() handle attaching connections to circuits
36453 properly, so the caller doesn't have to.
36454 - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
36455 - Keep the connection array as a dynamic smartlist_t, rather than as
36456 a fixed-sized array. This is important, as the number of connections
36457 is becoming increasingly decoupled from the number of sockets.
36460 Changes in version 0.1.2.14 - 2007-05-25
36461 Tor 0.1.2.14 changes the addresses of two directory authorities (this
36462 change especially affects those who serve or use hidden services),
36463 and fixes several other crash- and security-related bugs.
36465 o Directory authority changes:
36466 - Two directory authorities (moria1 and moria2) just moved to new
36467 IP addresses. This change will particularly affect those who serve
36468 or use hidden services.
36470 o Major bugfixes (crashes):
36471 - If a directory server runs out of space in the connection table
36472 as it's processing a begin_dir request, it will free the exit stream
36473 but leave it attached to the circuit, leading to unpredictable
36474 behavior. (Reported by seeess, fixes bug 425.)
36475 - Fix a bug in dirserv_remove_invalid() that would cause authorities
36476 to corrupt memory under some really unlikely scenarios.
36477 - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
36478 - Avoid segfaults when reading from mmaped descriptor file. (Reported
36481 o Major bugfixes (security):
36482 - When choosing an entry guard for a circuit, avoid using guards
36483 that are in the same family as the chosen exit -- not just guards
36484 that are exactly the chosen exit. (Reported by lodger.)
36486 o Major bugfixes (resource management):
36487 - If a directory authority is down, skip it when deciding where to get
36488 networkstatus objects or descriptors. Otherwise we keep asking
36489 every 10 seconds forever. Fixes bug 384.
36490 - Count it as a failure if we fetch a valid network-status but we
36491 don't want to keep it. Otherwise we'll keep fetching it and keep
36492 not wanting to keep it. Fixes part of bug 422.
36493 - If all of our dirservers have given us bad or no networkstatuses
36494 lately, then stop hammering them once per minute even when we
36495 think they're failed. Fixes another part of bug 422.
36498 - Actually set the purpose correctly for descriptors inserted with
36499 purpose=controller.
36500 - When we have k non-v2 authorities in our DirServer config,
36501 we ignored the last k authorities in the list when updating our
36503 - Correctly back-off from requesting router descriptors that we are
36504 having a hard time downloading.
36505 - Read resolv.conf files correctly on platforms where read() returns
36506 partial results on small file reads.
36507 - Don't rebuild the entire router store every time we get 32K of
36508 routers: rebuild it when the journal gets very large, or when
36509 the gaps in the store get very large.
36512 - When routers publish SVN revisions in their router descriptors,
36513 authorities now include those versions correctly in networkstatus
36515 - Warn when using a version of libevent before 1.3b to run a server on
36516 OSX or BSD: these versions interact badly with userspace threads.
36519 Changes in version 0.1.2.13 - 2007-04-24
36520 This release features some major anonymity fixes, such as safer path
36521 selection; better client performance; faster bootstrapping, better
36522 address detection, and better DNS support for servers; write limiting as
36523 well as read limiting to make servers easier to run; and a huge pile of
36524 other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
36526 Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
36527 of the Freenode IRC network, remembering his patience and vision for
36528 free speech on the Internet.
36531 - Fix a memory leak when we ask for "all" networkstatuses and we
36532 get one we don't recognize.
36533 - Add more asserts to hunt down bug 417.
36534 - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
36537 Changes in version 0.1.2.12-rc - 2007-03-16
36539 - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
36540 directory information requested inside Tor connections (i.e. via
36541 begin_dir cells). It only triggered when the same connection was
36542 serving other data at the same time. Reported by seeess.
36545 - When creating a circuit via the controller, send a 'launched'
36546 event when we're done, so we follow the spec better.
36549 Changes in version 0.1.2.11-rc - 2007-03-15
36550 o Minor bugfixes (controller), reported by daejees:
36551 - Correct the control spec to match how the code actually responds
36552 to 'getinfo addr-mappings/*'.
36553 - The control spec described a GUARDS event, but the code
36554 implemented a GUARD event. Standardize on GUARD, but let people
36555 ask for GUARDS too.
36558 Changes in version 0.1.2.10-rc - 2007-03-07
36559 o Major bugfixes (Windows):
36560 - Do not load the NT services library functions (which may not exist)
36561 just to detect if we're a service trying to shut down. Now we run
36562 on Win98 and friends again.
36564 o Minor bugfixes (other):
36565 - Clarify a couple of log messages.
36566 - Fix a misleading socks5 error number.
36569 Changes in version 0.1.2.9-rc - 2007-03-02
36570 o Major bugfixes (Windows):
36571 - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
36572 of the usual GCC "%llu". This prevents a bug when saving 64-bit
36573 int configuration values: the high-order 32 bits would get
36574 truncated. In particular, we were being bitten by the default
36575 MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
36576 and maybe also bug 397.)
36578 o Minor bugfixes (performance):
36579 - Use OpenSSL's AES implementation on platforms where it's faster.
36580 This could save us as much as 10% CPU usage.
36582 o Minor bugfixes (server):
36583 - Do not rotate onion key immediately after setting it for the first
36586 o Minor bugfixes (directory authorities):
36587 - Stop calling servers that have been hibernating for a long time
36588 "stable". Also, stop letting hibernating or obsolete servers affect
36589 uptime and bandwidth cutoffs.
36590 - Stop listing hibernating servers in the v1 directory.
36592 o Minor bugfixes (hidden services):
36593 - Upload hidden service descriptors slightly less often, to reduce
36594 load on authorities.
36596 o Minor bugfixes (other):
36597 - Fix an assert that could trigger if a controller quickly set then
36598 cleared EntryNodes. Bug found by Udo van den Heuvel.
36599 - On architectures where sizeof(int)>4, still clamp declarable bandwidth
36601 - Fix a potential race condition in the rpm installer. Found by
36603 - Try to fix eventdns warnings once and for all: do not treat a dns rcode
36604 of 2 as indicating that the server is completely bad; it sometimes
36605 means that the server is just bad for the request in question. (may fix
36606 the last of bug 326.)
36607 - Disable encrypted directory connections when we don't have a server
36608 descriptor for the destination. We'll get this working again in
36612 Changes in version 0.1.2.8-beta - 2007-02-26
36613 o Major bugfixes (crashes):
36614 - Stop crashing when the controller asks us to resetconf more than
36615 one config option at once. (Vidalia 0.0.11 does this.)
36616 - Fix a crash that happened on Win98 when we're given command-line
36617 arguments: don't try to load NT service functions from advapi32.dll
36618 except when we need them. (Bug introduced in 0.1.2.7-alpha;
36620 - Fix a longstanding obscure crash bug that could occur when
36621 we run out of DNS worker processes. (Resolves bug 390.)
36623 o Major bugfixes (hidden services):
36624 - Correctly detect whether hidden service descriptor downloads are
36625 in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
36627 o Major bugfixes (accounting):
36628 - When we start during an accounting interval before it's time to wake
36629 up, remember to wake up at the correct time. (May fix bug 342.)
36631 o Minor bugfixes (controller):
36632 - Give the controller END_STREAM_REASON_DESTROY events _before_ we
36633 clear the corresponding on_circuit variable, and remember later
36634 that we don't need to send a redundant CLOSED event. Resolves part
36636 - Report events where a resolve succeeded or where we got a socks
36637 protocol error correctly, rather than calling both of them
36639 - Change reported stream target addresses to IP consistently when
36640 we finally get the IP from an exit node.
36641 - Send log messages to the controller even if they happen to be very
36644 o Minor bugfixes (other):
36645 - Display correct results when reporting which versions are
36646 recommended, and how recommended they are. (Resolves bug 383.)
36647 - Improve our estimates for directory bandwidth to be less random:
36648 guess that an unrecognized directory will have the average bandwidth
36649 from all known directories, not that it will have the average
36650 bandwidth from those directories earlier than it on the list.
36651 - If we start a server with ClientOnly 1, then set ClientOnly to 0
36652 and hup, stop triggering an assert based on an empty onion_key.
36653 - On platforms with no working mmap() equivalent, don't warn the
36654 user when cached-routers doesn't exist.
36655 - Warn the user when mmap() [or its equivalent] fails for some reason
36656 other than file-not-found.
36657 - Don't warn the user when cached-routers.new doesn't exist: that's
36658 perfectly fine when starting up for the first time.
36659 - When EntryNodes are configured, rebuild the guard list to contain,
36660 in order: the EntryNodes that were guards before; the rest of the
36661 EntryNodes; the nodes that were guards before.
36662 - Mask out all signals in sub-threads; only the libevent signal
36663 handler should be processing them. This should prevent some crashes
36664 on some machines using pthreads. (Patch from coderman.)
36665 - Fix switched arguments on memset in the implementation of
36666 tor_munmap() for systems with no mmap() call.
36667 - When Tor receives a router descriptor that it asked for, but
36668 no longer wants (because it has received fresh networkstatuses
36669 in the meantime), do not warn the user. Cache the descriptor if
36670 we're a cache; drop it if we aren't.
36671 - Make earlier entry guards _really_ get retried when the network
36673 - On a malformed DNS reply, always give an error to the corresponding
36675 - Build with recent libevents on platforms that do not define the
36676 nonstandard types "u_int8_t" and friends.
36678 o Minor features (controller):
36679 - Warn the user when an application uses the obsolete binary v0
36680 control protocol. We're planning to remove support for it during
36681 the next development series, so it's good to give people some
36683 - Add STREAM_BW events to report per-entry-stream bandwidth
36684 use. (Patch from Robert Hogan.)
36685 - Rate-limit SIGNEWNYM signals in response to controllers that
36686 impolitely generate them for every single stream. (Patch from
36687 mwenge; closes bug 394.)
36688 - Make REMAP stream events have a SOURCE (cache or exit), and
36689 make them generated in every case where we get a successful
36690 connected or resolved cell.
36692 o Minor bugfixes (performance):
36693 - Call router_have_min_dir_info half as often. (This is showing up in
36694 some profiles, but not others.)
36695 - When using GCC, make log_debug never get called at all, and its
36696 arguments never get evaluated, when no debug logs are configured.
36697 (This is showing up in some profiles, but not others.)
36700 - Remove some never-implemented options. Mark PathlenCoinWeight as
36702 - Implement proposal 106: Stop requiring clients to have well-formed
36703 certificates; stop checking nicknames in certificates. (Clients
36704 have certificates so that they can look like Tor servers, but in
36705 the future we might want to allow them to look like regular TLS
36706 clients instead. Nicknames in certificates serve no purpose other
36707 than making our protocol easier to recognize on the wire.)
36708 - Revise messages on handshake failure again to be even more clear about
36709 which are incoming connections and which are outgoing.
36710 - Discard any v1 directory info that's over 1 month old (for
36711 directories) or over 1 week old (for running-routers lists).
36712 - Do not warn when individual nodes in the configuration's EntryNodes,
36713 ExitNodes, etc are down: warn only when all possible nodes
36714 are down. (Fixes bug 348.)
36715 - Always remove expired routers and networkstatus docs before checking
36716 whether we have enough information to build circuits. (Fixes
36718 - Put a lower-bound on MaxAdvertisedBandwidth.
36721 Changes in version 0.1.2.7-alpha - 2007-02-06
36722 o Major bugfixes (rate limiting):
36723 - Servers decline directory requests much more aggressively when
36724 they're low on bandwidth. Otherwise they end up queueing more and
36725 more directory responses, which can't be good for latency.
36726 - But never refuse directory requests from local addresses.
36727 - Fix a memory leak when sending a 503 response for a networkstatus
36729 - Be willing to read or write on local connections (e.g. controller
36730 connections) even when the global rate limiting buckets are empty.
36731 - If our system clock jumps back in time, don't publish a negative
36732 uptime in the descriptor. Also, don't let the global rate limiting
36733 buckets go absurdly negative.
36734 - Flush local controller connection buffers periodically as we're
36735 writing to them, so we avoid queueing 4+ megabytes of data before
36738 o Major bugfixes (NT services):
36739 - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
36740 command-line flag so that admins can override the default by saying
36741 "tor --service install --user "SomeUser"". This will not affect
36742 existing installed services. Also, warn the user that the service
36743 will look for its configuration file in the service user's
36744 %appdata% directory. (We can't do the 'hardwire the user's appdata
36745 directory' trick any more, since we may not have read access to that
36748 o Major bugfixes (other):
36749 - Previously, we would cache up to 16 old networkstatus documents
36750 indefinitely, if they came from nontrusted authorities. Now we
36751 discard them if they are more than 10 days old.
36752 - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
36754 - Detect and reject malformed DNS responses containing circular
36756 - If exits are rare enough that we're not marking exits as guards,
36757 ignore exit bandwidth when we're deciding the required bandwidth
36759 - When we're handling a directory connection tunneled over Tor,
36760 don't fill up internal memory buffers with all the data we want
36761 to tunnel; instead, only add it if the OR connection that will
36762 eventually receive it has some room for it. (This can lead to
36763 slowdowns in tunneled dir connections; a better solution will have
36764 to wait for 0.2.0.)
36766 o Minor bugfixes (dns):
36767 - Add some defensive programming to eventdns.c in an attempt to catch
36768 possible memory-stomping bugs.
36769 - Detect and reject DNS replies containing IPv4 or IPv6 records with
36770 an incorrect number of bytes. (Previously, we would ignore the
36772 - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
36773 in the correct order, and doesn't crash.
36774 - Free memory held in recently-completed DNS lookup attempts on exit.
36775 This was not a memory leak, but may have been hiding memory leaks.
36776 - Handle TTL values correctly on reverse DNS lookups.
36777 - Treat failure to parse resolv.conf as an error.
36779 o Minor bugfixes (other):
36780 - Fix crash with "tor --list-fingerprint" (reported by seeess).
36781 - When computing clock skew from directory HTTP headers, consider what
36782 time it was when we finished asking for the directory, not what
36784 - Expire socks connections if they spend too long waiting for the
36785 handshake to finish. Previously we would let them sit around for
36786 days, if the connecting application didn't close them either.
36787 - And if the socks handshake hasn't started, don't send a
36788 "DNS resolve socks failed" handshake reply; just close it.
36789 - Stop using C functions that OpenBSD's linker doesn't like.
36790 - Don't launch requests for descriptors unless we have networkstatuses
36791 from at least half of the authorities. This delays the first
36792 download slightly under pathological circumstances, but can prevent
36793 us from downloading a bunch of descriptors we don't need.
36794 - Do not log IPs with TLS failures for incoming TLS
36795 connections. (Fixes bug 382.)
36796 - If the user asks to use invalid exit nodes, be willing to use
36798 - Stop using the reserved ac_cv namespace in our configure script.
36799 - Call stat() slightly less often; use fstat() when possible.
36800 - Refactor the way we handle pending circuits when an OR connection
36801 completes or fails, in an attempt to fix a rare crash bug.
36802 - Only rewrite a conn's address based on X-Forwarded-For: headers
36803 if it's a parseable public IP address; and stop adding extra quotes
36804 to the resulting address.
36807 - Weight directory requests by advertised bandwidth. Now we can
36808 let servers enable write limiting but still allow most clients to
36809 succeed at their directory requests. (We still ignore weights when
36810 choosing a directory authority; I hope this is a feature.)
36813 - Create a new file ReleaseNotes which was the old ChangeLog. The
36814 new ChangeLog file now includes the summaries for all development
36816 - Check for addresses with invalid characters at the exit as well
36817 as at the client, and warn less verbosely when they fail. You can
36818 override this by setting ServerDNSAllowNonRFC953Addresses to 1.
36819 - Adapt a patch from goodell to let the contrib/exitlist script
36820 take arguments rather than require direct editing.
36821 - Inform the server operator when we decide not to advertise a
36822 DirPort due to AccountingMax enabled or a low BandwidthRate. It
36823 was confusing Zax, so now we're hopefully more helpful.
36824 - Bring us one step closer to being able to establish an encrypted
36825 directory tunnel without knowing a descriptor first. Still not
36826 ready yet. As part of the change, now assume we can use a
36827 create_fast cell if we don't know anything about a router.
36828 - Allow exit nodes to use nameservers running on ports other than 53.
36829 - Servers now cache reverse DNS replies.
36830 - Add an --ignore-missing-torrc command-line option so that we can
36831 get the "use sensible defaults if the configuration file doesn't
36832 exist" behavior even when specifying a torrc location on the command
36835 o Minor features (controller):
36836 - Track reasons for OR connection failure; make these reasons
36837 available via the controller interface. (Patch from Mike Perry.)
36838 - Add a SOCKS_BAD_HOSTNAME client status event so controllers
36839 can learn when clients are sending malformed hostnames to Tor.
36840 - Clean up documentation for controller status events.
36841 - Add a REMAP status to stream events to note that a stream's
36842 address has changed because of a cached address or a MapAddress
36846 Changes in version 0.1.2.6-alpha - 2007-01-09
36848 - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
36849 connection handles more than 4 gigs in either direction, we crash.
36850 - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
36851 advertised exit node, somebody might try to exit from us when
36852 we're bootstrapping and before we've built our descriptor yet.
36853 Refuse the connection rather than crashing.
36856 - Warn if we (as a server) find that we've resolved an address that we
36857 weren't planning to resolve.
36858 - Warn that using select() on any libevent version before 1.1 will be
36859 unnecessarily slow (even for select()).
36860 - Flush ERR-level controller status events just like we currently
36861 flush ERR-level log events, so that a Tor shutdown doesn't prevent
36862 the controller from learning about current events.
36864 o Minor features (more controller status events):
36865 - Implement EXTERNAL_ADDRESS server status event so controllers can
36866 learn when our address changes.
36867 - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
36868 can learn when directories reject our descriptor.
36869 - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
36870 can learn when a client application is speaking a non-socks protocol
36872 - Implement DANGEROUS_SOCKS client status event so controllers
36873 can learn when a client application is leaking DNS addresses.
36874 - Implement BUG general status event so controllers can learn when
36875 Tor is unhappy about its internal invariants.
36876 - Implement CLOCK_SKEW general status event so controllers can learn
36877 when Tor thinks the system clock is set incorrectly.
36878 - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
36879 server status events so controllers can learn when their descriptors
36880 are accepted by a directory.
36881 - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
36882 server status events so controllers can learn about Tor's progress in
36883 deciding whether it's reachable from the outside.
36884 - Implement BAD_LIBEVENT general status event so controllers can learn
36885 when we have a version/method combination in libevent that needs to
36887 - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
36888 and DNS_USELESS server status events so controllers can learn
36889 about changes to DNS server status.
36891 o Minor features (directory):
36892 - Authorities no longer recommend exits as guards if this would shift
36893 too much load to the exit nodes.
36896 Changes in version 0.1.2.5-alpha - 2007-01-06
36898 - Enable write limiting as well as read limiting. Now we sacrifice
36899 capacity if we're pushing out lots of directory traffic, rather
36900 than overrunning the user's intended bandwidth limits.
36901 - Include TLS overhead when counting bandwidth usage; previously, we
36902 would count only the bytes sent over TLS, but not the bytes used
36904 - Support running the Tor service with a torrc not in the same
36905 directory as tor.exe and default to using the torrc located in
36906 the %appdata%\Tor\ of the user who installed the service. Patch
36908 - Servers now check for the case when common DNS requests are going to
36909 wildcarded addresses (i.e. all getting the same answer), and change
36910 their exit policy to reject *:* if it's happening.
36911 - Implement BEGIN_DIR cells, so we can connect to the directory
36912 server via TLS to do encrypted directory requests rather than
36913 plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
36914 config options if you like.
36916 o Minor features (config and docs):
36917 - Start using the state file to store bandwidth accounting data:
36918 the bw_accounting file is now obsolete. We'll keep generating it
36919 for a while for people who are still using 0.1.2.4-alpha.
36920 - Try to batch changes to the state file so that we do as few
36921 disk writes as possible while still storing important things in
36923 - The state file and the bw_accounting file get saved less often when
36924 the AvoidDiskWrites config option is set.
36925 - Make PIDFile work on Windows (untested).
36926 - Add internal descriptions for a bunch of configuration options:
36927 accessible via controller interface and in comments in saved
36929 - Reject *:563 (NNTPS) in the default exit policy. We already reject
36930 NNTP by default, so this seems like a sensible addition.
36931 - Clients now reject hostnames with invalid characters. This should
36932 avoid some inadvertent info leaks. Add an option
36933 AllowNonRFC953Hostnames to disable this behavior, in case somebody
36934 is running a private network with hosts called @, !, and #.
36935 - Add a maintainer script to tell us which options are missing
36936 documentation: "make check-docs".
36937 - Add a new address-spec.txt document to describe our special-case
36938 addresses: .exit, .onion, and .noconnnect.
36940 o Minor features (DNS):
36941 - Ongoing work on eventdns infrastructure: now it has dns server
36942 and ipv6 support. One day Tor will make use of it.
36943 - Add client-side caching for reverse DNS lookups.
36944 - Add support to tor-resolve tool for reverse lookups and SOCKS5.
36945 - When we change nameservers or IP addresses, reset and re-launch
36946 our tests for DNS hijacking.
36948 o Minor features (directory):
36949 - Authorities now specify server versions in networkstatus. This adds
36950 about 2% to the size of compressed networkstatus docs, and allows
36951 clients to tell which servers support BEGIN_DIR and which don't.
36952 The implementation is forward-compatible with a proposed future
36953 protocol version scheme not tied to Tor versions.
36954 - DirServer configuration lines now have an orport= option so
36955 clients can open encrypted tunnels to the authorities without
36956 having downloaded their descriptors yet. Enabled for moria1,
36957 moria2, tor26, and lefkada now in the default configuration.
36958 - Directory servers are more willing to send a 503 "busy" if they
36959 are near their write limit, especially for v1 directory requests.
36960 Now they can use their limited bandwidth for actual Tor traffic.
36961 - Clients track responses with status 503 from dirservers. After a
36962 dirserver has given us a 503, we try not to use it until an hour has
36963 gone by, or until we have no dirservers that haven't given us a 503.
36964 - When we get a 503 from a directory, and we're not a server, we don't
36965 count the failure against the total number of failures allowed
36966 for the thing we're trying to download.
36967 - Report X-Your-Address-Is correctly from tunneled directory
36968 connections; don't report X-Your-Address-Is when it's an internal
36969 address; and never believe reported remote addresses when they're
36971 - Protect against an unlikely DoS attack on directory servers.
36972 - Add a BadDirectory flag to network status docs so that authorities
36973 can (eventually) tell clients about caches they believe to be
36976 o Minor features (controller):
36977 - Have GETINFO dir/status/* work on hosts with DirPort disabled.
36978 - Reimplement GETINFO so that info/names stays in sync with the
36980 - Implement "GETINFO fingerprint".
36981 - Implement "SETEVENTS GUARD" so controllers can get updates on
36982 entry guard status as it changes.
36984 o Minor features (clean up obsolete pieces):
36985 - Remove some options that have been deprecated since at least
36986 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
36987 SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
36988 to set log options.
36989 - We no longer look for identity and onion keys in "identity.key" and
36990 "onion.key" -- these were replaced by secret_id_key and
36991 secret_onion_key in 0.0.8pre1.
36992 - We no longer require unrecognized directory entries to be
36995 o Major bugfixes (security):
36996 - Stop sending the HttpProxyAuthenticator string to directory
36997 servers when directory connections are tunnelled through Tor.
36998 - Clients no longer store bandwidth history in the state file.
36999 - Do not log introduction points for hidden services if SafeLogging
37001 - When generating bandwidth history, round down to the nearest
37002 1k. When storing accounting data, round up to the nearest 1k.
37003 - When we're running as a server, remember when we last rotated onion
37004 keys, so that we will rotate keys once they're a week old even if
37005 we never stay up for a week ourselves.
37007 o Major bugfixes (other):
37008 - Fix a longstanding bug in eventdns that prevented the count of
37009 timed-out resolves from ever being reset. This bug caused us to
37010 give up on a nameserver the third time it timed out, and try it
37011 10 seconds later... and to give up on it every time it timed out
37013 - Take out the '5 second' timeout from the connection retry
37014 schedule. Now the first connect attempt will wait a full 10
37015 seconds before switching to a new circuit. Perhaps this will help
37016 a lot. Based on observations from Mike Perry.
37017 - Fix a bug on the Windows implementation of tor_mmap_file() that
37018 would prevent the cached-routers file from ever loading. Reported
37022 - Fix an assert failure when a directory authority sets
37023 AuthDirRejectUnlisted and then receives a descriptor from an
37024 unlisted router. Reported by seeess.
37025 - Avoid a double-free when parsing malformed DirServer lines.
37026 - Fix a bug when a BSD-style PF socket is first used. Patch from
37028 - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
37029 to resolve an address at a given exit node even when they ask for
37031 - Servers no longer ever list themselves in their "family" line,
37032 even if configured to do so. This makes it easier to configure
37033 family lists conveniently.
37034 - When running as a server, don't fall back to 127.0.0.1 when no
37035 nameservers are configured in /etc/resolv.conf; instead, make the
37036 user fix resolv.conf or specify nameservers explicitly. (Resolves
37038 - Stop accepting certain malformed ports in configured exit policies.
37039 - Don't re-write the fingerprint file every restart, unless it has
37041 - Stop warning when a single nameserver fails: only warn when _all_ of
37042 our nameservers have failed. Also, when we only have one nameserver,
37043 raise the threshold for deciding that the nameserver is dead.
37044 - Directory authorities now only decide that routers are reachable
37045 if their identity keys are as expected.
37046 - When the user uses bad syntax in the Log config line, stop
37047 suggesting other bad syntax as a replacement.
37048 - Correctly detect ipv6 DNS capability on OpenBSD.
37050 o Minor bugfixes (controller):
37051 - Report the circuit number correctly in STREAM CLOSED events. Bug
37052 reported by Mike Perry.
37053 - Do not report bizarre values for results of accounting GETINFOs
37054 when the last second's write or read exceeds the allotted bandwidth.
37055 - Report "unrecognized key" rather than an empty string when the
37056 controller tries to fetch a networkstatus that doesn't exist.
37059 Changes in version 0.1.1.26 - 2006-12-14
37060 o Security bugfixes:
37061 - Stop sending the HttpProxyAuthenticator string to directory
37062 servers when directory connections are tunnelled through Tor.
37063 - Clients no longer store bandwidth history in the state file.
37064 - Do not log introduction points for hidden services if SafeLogging
37068 - Fix an assert failure when a directory authority sets
37069 AuthDirRejectUnlisted and then receives a descriptor from an
37070 unlisted router (reported by seeess).
37073 Changes in version 0.1.2.4-alpha - 2006-12-03
37075 - Add support for using natd; this allows FreeBSDs earlier than
37076 5.1.2 to have ipfw send connections through Tor without using
37077 SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
37080 - Make all connections to addresses of the form ".noconnect"
37081 immediately get closed. This lets application/controller combos
37082 successfully test whether they're talking to the same Tor by
37083 watching for STREAM events.
37084 - Make cross.sh cross-compilation script work even when autogen.sh
37085 hasn't been run. (Patch from Michael Mohr.)
37086 - Statistics dumped by -USR2 now include a breakdown of public key
37087 operations, for profiling.
37090 - Fix a major leak when directory authorities parse their
37091 approved-routers list, a minor memory leak when we fail to pick
37092 an exit node, and a few rare leaks on errors.
37093 - Handle TransPort connections even when the server sends data before
37094 the client sends data. Previously, the connection would just hang
37095 until the client sent data. (Patch from tup based on patch from
37097 - Avoid assert failure when our cached-routers file is empty on
37101 - Don't log spurious warnings when we see a circuit close reason we
37102 don't recognize; it's probably just from a newer version of Tor.
37103 - Have directory authorities allow larger amounts of drift in uptime
37104 without replacing the server descriptor: previously, a server that
37105 restarted every 30 minutes could have 48 "interesting" descriptors
37107 - Start linking to the Tor specification and Tor reference manual
37108 correctly in the Windows installer.
37109 - Add Vidalia to the OS X uninstaller script, so when we uninstall
37110 Tor/Privoxy we also uninstall Vidalia.
37111 - Resume building on Irix64, and fix a lot of warnings from its
37112 MIPSpro C compiler.
37113 - Don't corrupt last_guessed_ip in router_new_address_suggestion()
37114 when we're running as a client.
37117 Changes in version 0.1.1.25 - 2006-11-04
37119 - When a client asks us to resolve (rather than connect to)
37120 an address, and we have a cached answer, give them the cached
37121 answer. Previously, we would give them no answer at all.
37122 - We were building exactly the wrong circuits when we predict
37123 hidden service requirements, meaning Tor would have to build all
37124 its circuits on demand.
37125 - If none of our live entry guards have a high uptime, but we
37126 require a guard with a high uptime, try adding a new guard before
37127 we give up on the requirement. This patch should make long-lived
37128 connections more stable on average.
37129 - When testing reachability of our DirPort, don't launch new
37130 tests when there's already one in progress -- unreachable
37131 servers were stacking up dozens of testing streams.
37133 o Security bugfixes:
37134 - When the user sends a NEWNYM signal, clear the client-side DNS
37135 cache too. Otherwise we continue to act on previous information.
37138 - Avoid a memory corruption bug when creating a hash table for
37140 - Avoid possibility of controller-triggered crash when misusing
37141 certain commands from a v0 controller on platforms that do not
37142 handle printf("%s",NULL) gracefully.
37143 - Avoid infinite loop on unexpected controller input.
37144 - Don't log spurious warnings when we see a circuit close reason we
37145 don't recognize; it's probably just from a newer version of Tor.
37146 - Add Vidalia to the OS X uninstaller script, so when we uninstall
37147 Tor/Privoxy we also uninstall Vidalia.
37150 Changes in version 0.1.2.3-alpha - 2006-10-29
37152 - Prepare for servers to publish descriptors less often: never
37153 discard a descriptor simply for being too old until either it is
37154 recommended by no authorities, or until we get a better one for
37155 the same router. Make caches consider retaining old recommended
37156 routers for even longer.
37157 - If most authorities set a BadExit flag for a server, clients
37158 don't think of it as a general-purpose exit. Clients only consider
37159 authorities that advertise themselves as listing bad exits.
37160 - Directory servers now provide 'Pragma: no-cache' and 'Expires'
37161 headers for content, so that we can work better in the presence of
37162 caching HTTP proxies.
37163 - Allow authorities to list nodes as bad exits by fingerprint or by
37166 o Minor features, controller:
37167 - Add a REASON field to CIRC events; for backward compatibility, this
37168 field is sent only to controllers that have enabled the extended
37169 event format. Also, add additional reason codes to explain why
37170 a given circuit has been destroyed or truncated. (Patches from
37172 - Add a REMOTE_REASON field to extended CIRC events to tell the
37173 controller about why a remote OR told us to close a circuit.
37174 - Stream events also now have REASON and REMOTE_REASON fields,
37175 working much like those for circuit events.
37176 - There's now a GETINFO ns/... field so that controllers can ask Tor
37177 about the current status of a router.
37178 - A new event type "NS" to inform a controller when our opinion of
37179 a router's status has changed.
37180 - Add a GETINFO events/names and GETINFO features/names so controllers
37181 can tell which events and features are supported.
37182 - A new CLEARDNSCACHE signal to allow controllers to clear the
37183 client-side DNS cache without expiring circuits.
37185 o Security bugfixes:
37186 - When the user sends a NEWNYM signal, clear the client-side DNS
37187 cache too. Otherwise we continue to act on previous information.
37190 - Avoid sending junk to controllers or segfaulting when a controller
37191 uses EVENT_NEW_DESC with verbose nicknames.
37192 - Stop triggering asserts if the controller tries to extend hidden
37193 service circuits (reported by mwenge).
37194 - Avoid infinite loop on unexpected controller input.
37195 - When the controller does a "GETINFO network-status", tell it
37196 about even those routers whose descriptors are very old, and use
37197 long nicknames where appropriate.
37198 - Change NT service functions to be loaded on demand. This lets us
37199 build with MinGW without breaking Tor for Windows 98 users.
37200 - Do DirPort reachability tests less often, since a single test
37201 chews through many circuits before giving up.
37202 - In the hidden service example in torrc.sample, stop recommending
37203 esoteric and discouraged hidden service options.
37204 - When stopping an NT service, wait up to 10 sec for it to actually
37205 stop. Patch from Matt Edman; resolves bug 295.
37206 - Fix handling of verbose nicknames with ORCONN controller events:
37207 make them show up exactly when requested, rather than exactly when
37209 - When reporting verbose nicknames in entry_guards_getinfo(), avoid
37210 printing a duplicate "$" in the keys we send (reported by mwenge).
37211 - Correctly set maximum connection limit on Cygwin. (This time
37213 - Try to detect Windows correctly when cross-compiling.
37214 - Detect the size of the routers file correctly even if it is
37215 corrupted (on systems without mmap) or not page-aligned (on systems
37216 with mmap). This bug was harmless.
37217 - Sometimes we didn't bother sending a RELAY_END cell when an attempt
37218 to open a stream fails; now we do in more cases. This should
37219 make clients able to find a good exit faster in some cases, since
37220 unhandleable requests will now get an error rather than timing out.
37221 - Resolve two memory leaks when rebuilding the on-disk router cache
37222 (reported by fookoowa).
37223 - Clean up minor code warnings suggested by the MIPSpro C compiler,
37224 and reported by some Centos users.
37225 - Controller signals now work on non-Unix platforms that don't define
37226 SIGUSR1 and SIGUSR2 the way we expect.
37227 - Patch from Michael Mohr to contrib/cross.sh, so it checks more
37228 values before failing, and always enables eventdns.
37229 - Libevent-1.2 exports, but does not define in its headers, strlcpy.
37230 Try to fix this in configure.in by checking for most functions
37231 before we check for libevent.
37234 Changes in version 0.1.2.2-alpha - 2006-10-07
37236 - Make our async eventdns library on-by-default for Tor servers,
37237 and plan to deprecate the separate dnsworker threads.
37238 - Add server-side support for "reverse" DNS lookups (using PTR
37239 records so clients can determine the canonical hostname for a given
37240 IPv4 address). Only supported by servers using eventdns; servers
37241 now announce in their descriptors whether they support eventdns.
37242 - Specify and implement client-side SOCKS5 interface for reverse DNS
37243 lookups (see doc/socks-extensions.txt).
37244 - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
37245 connect to directory servers through Tor. Previously, clients needed
37246 to find Tor exits to make private connections to directory servers.
37247 - Avoid choosing Exit nodes for entry or middle hops when the
37248 total bandwidth available from non-Exit nodes is much higher than
37249 the total bandwidth available from Exit nodes.
37250 - Workaround for name servers (like Earthlink's) that hijack failing
37251 DNS requests and replace the no-such-server answer with a "helpful"
37252 redirect to an advertising-driven search portal. Also work around
37253 DNS hijackers who "helpfully" decline to hijack known-invalid
37254 RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
37255 lets you turn it off.
37256 - Send out a burst of long-range padding cells once we've established
37257 that we're reachable. Spread them over 4 circuits, so hopefully
37258 a few will be fast. This exercises our bandwidth and bootstraps
37259 us into the directory more quickly.
37261 o New/improved config options:
37262 - Add new config option "ResolvConf" to let the server operator
37263 choose an alternate resolve.conf file when using eventdns.
37264 - Add an "EnforceDistinctSubnets" option to control our "exclude
37265 servers on the same /16" behavior. It's still on by default; this
37266 is mostly for people who want to operate private test networks with
37267 all the machines on the same subnet.
37268 - If one of our entry guards is on the ExcludeNodes list, or the
37269 directory authorities don't think it's a good guard, treat it as
37270 if it were unlisted: stop using it as a guard, and throw it off
37271 the guards list if it stays that way for a long time.
37272 - Allow directory authorities to be marked separately as authorities
37273 for the v1 directory protocol, the v2 directory protocol, and
37274 as hidden service directories, to make it easier to retire old
37275 authorities. V1 authorities should set "HSAuthoritativeDir 1"
37276 to continue being hidden service authorities too.
37277 - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
37279 o Minor features, controller:
37280 - Fix CIRC controller events so that controllers can learn the
37281 identity digests of non-Named servers used in circuit paths.
37282 - Let controllers ask for more useful identifiers for servers. Instead
37283 of learning identity digests for un-Named servers and nicknames
37284 for Named servers, the new identifiers include digest, nickname,
37285 and indication of Named status. Off by default; see control-spec.txt
37286 for more information.
37287 - Add a "getinfo address" controller command so it can display Tor's
37288 best guess to the user.
37289 - New controller event to alert the controller when our server
37290 descriptor has changed.
37291 - Give more meaningful errors on controller authentication failure.
37293 o Minor features, other:
37294 - When asked to resolve a hostname, don't use non-exit servers unless
37295 requested to do so. This allows servers with broken DNS to be
37296 useful to the network.
37297 - Divide eventdns log messages into warn and info messages.
37298 - Reserve the nickname "Unnamed" for routers that can't pick
37299 a hostname: any router can call itself Unnamed; directory
37300 authorities will never allocate Unnamed to any particular router;
37301 clients won't believe that any router is the canonical Unnamed.
37302 - Only include function names in log messages for info/debug messages.
37303 For notice/warn/err, the content of the message should be clear on
37304 its own, and printing the function name only confuses users.
37305 - Avoid some false positives during reachability testing: don't try
37306 to test via a server that's on the same /24 as us.
37307 - If we fail to build a circuit to an intended enclave, and it's
37308 not mandatory that we use that enclave, stop wanting it.
37309 - When eventdns is enabled, allow multithreaded builds on NetBSD and
37310 OpenBSD. (We had previously disabled threads on these platforms
37311 because they didn't have working thread-safe resolver functions.)
37313 o Major bugfixes, anonymity/security:
37314 - If a client asked for a server by name, and there's a named server
37315 in our network-status but we don't have its descriptor yet, we
37316 could return an unnamed server instead.
37317 - Fix NetBSD bug that could allow someone to force uninitialized RAM
37318 to be sent to a server's DNS resolver. This only affects NetBSD
37319 and other platforms that do not bounds-check tolower().
37320 - Reject (most) attempts to use Tor circuits with length one. (If
37321 many people start using Tor as a one-hop proxy, exit nodes become
37322 a more attractive target for compromise.)
37323 - Just because your DirPort is open doesn't mean people should be
37324 able to remotely teach you about hidden service descriptors. Now
37325 only accept rendezvous posts if you've got HSAuthoritativeDir set.
37327 o Major bugfixes, other:
37328 - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
37329 - When a client asks the server to resolve (not connect to)
37330 an address, and it has a cached answer, give them the cached answer.
37331 Previously, the server would give them no answer at all.
37332 - Allow really slow clients to not hang up five minutes into their
37333 directory downloads (suggested by Adam J. Richter).
37334 - We were building exactly the wrong circuits when we anticipated
37335 hidden service requirements, meaning Tor would have to build all
37336 its circuits on demand.
37337 - Avoid crashing when we mmap a router cache file of size 0.
37338 - When testing reachability of our DirPort, don't launch new
37339 tests when there's already one in progress -- unreachable
37340 servers were stacking up dozens of testing streams.
37342 o Minor bugfixes, correctness:
37343 - If we're a directory mirror and we ask for "all" network status
37344 documents, we would discard status documents from authorities
37345 we don't recognize.
37346 - Avoid a memory corruption bug when creating a hash table for
37348 - Avoid controller-triggered crash when misusing certain commands
37349 from a v0 controller on platforms that do not handle
37350 printf("%s",NULL) gracefully.
37351 - Don't crash when a controller sends a third argument to an
37352 "extendcircuit" request.
37353 - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
37354 response; fix error code when "getinfo dir/status/" fails.
37355 - Avoid crash when telling controller stream-status and a stream
37357 - Patch from Adam Langley to fix assert() in eventdns.c.
37358 - Fix a debug log message in eventdns to say "X resolved to Y"
37359 instead of "X resolved to X".
37360 - Make eventdns give strings for DNS errors, not just error numbers.
37361 - Track unreachable entry guards correctly: don't conflate
37362 'unreachable by us right now' with 'listed as down by the directory
37363 authorities'. With the old code, if a guard was unreachable by
37364 us but listed as running, it would clog our guard list forever.
37365 - Behave correctly in case we ever have a network with more than
37366 2GB/s total advertised capacity.
37367 - Make TrackExitHosts case-insensitive, and fix the behavior of
37368 ".suffix" TrackExitHosts items to avoid matching in the middle of
37370 - Finally fix the openssl warnings from newer gccs that believe that
37371 ignoring a return value is okay, but casting a return value and
37372 then ignoring it is a sign of madness.
37373 - Prevent the contrib/exitlist script from printing the same
37374 result more than once.
37375 - Patch from Steve Hildrey: Generate network status correctly on
37376 non-versioning dirservers.
37377 - Don't listen to the X-Your-Address-Is hint if you did the lookup
37378 via Tor; otherwise you'll think you're the exit node's IP address.
37380 o Minor bugfixes, performance:
37381 - Two small performance improvements on parsing descriptors.
37382 - Major performance improvement on inserting descriptors: change
37383 algorithm from O(n^2) to O(n).
37384 - Make the common memory allocation path faster on machines where
37385 malloc(0) returns a pointer.
37386 - Start remembering X-Your-Address-Is directory hints even if you're
37387 a client, so you can become a server more smoothly.
37388 - Avoid duplicate entries on MyFamily line in server descriptor.
37390 o Packaging, features:
37391 - Remove architecture from OS X builds. The official builds are
37392 now universal binaries.
37393 - The Debian package now uses --verify-config when (re)starting,
37394 to distinguish configuration errors from other errors.
37395 - Update RPMs to require libevent 1.1b.
37397 o Packaging, bugfixes:
37398 - Patches so Tor builds with MinGW on Windows.
37399 - Patches so Tor might run on Cygwin again.
37400 - Resume building on non-gcc compilers and ancient gcc. Resume
37401 building with the -O0 compile flag. Resume building cleanly on
37403 - Run correctly on OS X platforms with case-sensitive filesystems.
37404 - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
37405 - Add autoconf checks so Tor can build on Solaris x86 again.
37408 - Documented (and renamed) ServerDNSSearchDomains and
37409 ServerDNSResolvConfFile options.
37410 - Be clearer that the *ListenAddress directives can be repeated
37414 Changes in version 0.1.1.24 - 2006-09-29
37416 - Allow really slow clients to not hang up five minutes into their
37417 directory downloads (suggested by Adam J. Richter).
37418 - Fix major performance regression from 0.1.0.x: instead of checking
37419 whether we have enough directory information every time we want to
37420 do something, only check when the directory information has changed.
37421 This should improve client CPU usage by 25-50%.
37422 - Don't crash if, after a server has been running for a while,
37423 it can't resolve its hostname.
37426 - Allow Tor to start when RunAsDaemon is set but no logs are set.
37427 - Don't crash when the controller receives a third argument to an
37428 "extendcircuit" request.
37429 - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
37430 response; fix error code when "getinfo dir/status/" fails.
37431 - Fix configure.in to not produce broken configure files with
37432 more recent versions of autoconf. Thanks to Clint for his auto*
37434 - Fix security bug on NetBSD that could allow someone to force
37435 uninitialized RAM to be sent to a server's DNS resolver. This
37436 only affects NetBSD and other platforms that do not bounds-check
37438 - Warn user when using libevent 1.1a or earlier with win32 or kqueue
37439 methods: these are known to be buggy.
37440 - If we're a directory mirror and we ask for "all" network status
37441 documents, we would discard status documents from authorities
37442 we don't recognize.
37445 Changes in version 0.1.2.1-alpha - 2006-08-27
37447 - Add "eventdns" async dns library from Adam Langley, tweaked to
37448 build on OSX and Windows. Only enabled if you pass the
37449 --enable-eventdns argument to configure.
37450 - Allow servers with no hostname or IP address to learn their
37451 IP address by asking the directory authorities. This code only
37452 kicks in when you would normally have exited with a "no address"
37453 error. Nothing's authenticated, so use with care.
37454 - Rather than waiting a fixed amount of time between retrying
37455 application connections, we wait only 5 seconds for the first,
37456 10 seconds for the second, and 15 seconds for each retry after
37457 that. Hopefully this will improve the expected user experience.
37458 - Patch from Tup to add support for transparent AP connections:
37459 this basically bundles the functionality of trans-proxy-tor
37460 into the Tor mainline. Now hosts with compliant pf/netfilter
37461 implementations can redirect TCP connections straight to Tor
37462 without diverting through SOCKS. Needs docs.
37463 - Busy directory servers save lots of memory by spooling server
37464 descriptors, v1 directories, and v2 networkstatus docs to buffers
37465 as needed rather than en masse. Also mmap the cached-routers
37466 files, so we don't need to keep the whole thing in memory too.
37467 - Automatically avoid picking more than one node from the same
37468 /16 network when constructing a circuit.
37469 - Revise and clean up the torrc.sample that we ship with; add
37470 a section for BandwidthRate and BandwidthBurst.
37473 - Split circuit_t into origin_circuit_t and or_circuit_t, and
37474 split connection_t into edge, or, dir, control, and base structs.
37475 These will save quite a bit of memory on busy servers, and they'll
37476 also help us track down bugs in the code and bugs in the spec.
37477 - Experimentally re-enable kqueue on OSX when using libevent 1.1b
37478 or later. Log when we are doing this, so we can diagnose it when
37479 it fails. (Also, recommend libevent 1.1b for kqueue and
37480 win32 methods; deprecate libevent 1.0b harder; make libevent
37481 recommendation system saner.)
37482 - Start being able to build universal binaries on OS X (thanks
37484 - Export the default exit policy via the control port, so controllers
37485 don't need to guess what it is / will be later.
37486 - Add a man page entry for ProtocolWarnings.
37487 - Add TestVia config option to the man page.
37488 - Remove even more protocol-related warnings from Tor server logs,
37489 such as bad TLS handshakes and malformed begin cells.
37490 - Stop fetching descriptors if you're not a dir mirror and you
37491 haven't tried to establish any circuits lately. [This currently
37492 causes some dangerous behavior, because when you start up again
37493 you'll use your ancient server descriptors.]
37494 - New DirPort behavior: if you have your dirport set, you download
37495 descriptors aggressively like a directory mirror, whether or not
37496 your ORPort is set.
37497 - Get rid of the router_retry_connections notion. Now routers
37498 no longer try to rebuild long-term connections to directory
37499 authorities, and directory authorities no longer try to rebuild
37500 long-term connections to all servers. We still don't hang up
37501 connections in these two cases though -- we need to look at it
37502 more carefully to avoid flapping, and we likely need to wait til
37503 0.1.1.x is obsolete.
37504 - Drop compatibility with obsolete Tors that permit create cells
37505 to have the wrong circ_id_type.
37506 - Re-enable per-connection rate limiting. Get rid of the "OP
37507 bandwidth" concept. Lay groundwork for "bandwidth classes" --
37508 separate global buckets that apply depending on what sort of conn
37510 - Start publishing one minute or so after we find our ORPort
37511 to be reachable. This will help reduce the number of descriptors
37512 we have for ourselves floating around, since it's quite likely
37513 other things (e.g. DirPort) will change during that minute too.
37514 - Fork the v1 directory protocol into its own spec document,
37515 and mark dir-spec.txt as the currently correct (v2) spec.
37518 - When we find our DirPort to be reachable, publish a new descriptor
37519 so we'll tell the world (reported by pnx).
37520 - Publish a new descriptor after we hup/reload. This is important
37521 if our config has changed such that we'll want to start advertising
37522 our DirPort now, etc.
37523 - Allow Tor to start when RunAsDaemon is set but no logs are set.
37524 - When we have a state file we cannot parse, tell the user and
37525 move it aside. Now we avoid situations where the user starts
37526 Tor in 1904, Tor writes a state file with that timestamp in it,
37527 the user fixes her clock, and Tor refuses to start.
37528 - Fix configure.in to not produce broken configure files with
37529 more recent versions of autoconf. Thanks to Clint for his auto*
37531 - "tor --verify-config" now exits with -1(255) or 0 depending on
37532 whether the config options are bad or good.
37533 - Resolve bug 321 when using dnsworkers: append a period to every
37534 address we resolve at the exit node, so that we do not accidentally
37535 pick up local addresses, and so that failing searches are retried
37536 in the resolver search domains. (This is already solved for
37537 eventdns.) (This breaks Blossom servers for now.)
37538 - If we are using an exit enclave and we can't connect, e.g. because
37539 its webserver is misconfigured to not listen on localhost, then
37540 back off and try connecting from somewhere else before we fail.
37543 - Start compiling on MinGW on Windows (patches from Mike Chiussi).
37544 - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
37545 - Fix bug 314: Tor clients issued "unsafe socks" warnings even
37546 when the IP address is mapped through MapAddress to a hostname.
37547 - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
37548 useless IPv6 DNS resolves.
37549 - Patch suggested by Karsten Loesing: respond to SIGNAL command
37550 before we execute the signal, in case the signal shuts us down.
37551 - Clean up AllowInvalidNodes man page entry.
37552 - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
37553 - Add more asserts to track down an assert error on a windows Tor
37554 server with connection_add being called with socket == -1.
37555 - Handle reporting OR_CONN_EVENT_NEW events to the controller.
37556 - Fix misleading log messages: an entry guard that is "unlisted",
37557 as well as not known to be "down" (because we've never heard
37558 of it), is not therefore "up".
37559 - Remove code to special-case "-cvs" ending, since it has not
37560 actually mattered since 0.0.9.
37561 - Make our socks5 handling more robust to broken socks clients:
37562 throw out everything waiting on the buffer in between socks
37563 handshake phases, since they can't possibly (so the theory
37564 goes) have predicted what we plan to respond to them.
37567 Changes in version 0.1.1.23 - 2006-07-30
37569 - Fast Tor servers, especially exit nodes, were triggering asserts
37570 due to a bug in handling the list of pending DNS resolves. Some
37571 bugs still remain here; we're hunting them.
37572 - Entry guards could crash clients by sending unexpected input.
37573 - More fixes on reachability testing: if you find yourself reachable,
37574 then don't ever make any client requests (so you stop predicting
37575 circuits), then hup or have your clock jump, then later your IP
37576 changes, you won't think circuits are working, so you won't try to
37577 test reachability, so you won't publish.
37580 - Avoid a crash if the controller does a resetconf firewallports
37581 and then a setconf fascistfirewall=1.
37582 - Avoid an integer underflow when the dir authority decides whether
37583 a router is stable: we might wrongly label it stable, and compute
37584 a slightly wrong median stability, when a descriptor is published
37586 - Fix a place where we might trigger an assert if we can't build our
37587 own server descriptor yet.
37590 Changes in version 0.1.1.22 - 2006-07-05
37592 - Fix a big bug that was causing servers to not find themselves
37593 reachable if they changed IP addresses. Since only 0.1.1.22+
37594 servers can do reachability testing correctly, now we automatically
37595 make sure to test via one of these.
37596 - Fix to allow clients and mirrors to learn directory info from
37597 descriptor downloads that get cut off partway through.
37598 - Directory authorities had a bug in deciding if a newly published
37599 descriptor was novel enough to make everybody want a copy -- a few
37600 servers seem to be publishing new descriptors many times a minute.
37602 - Fix a rare bug that was causing some servers to complain about
37603 "closing wedged cpuworkers" and skip some circuit create requests.
37604 - Make the Exit flag in directory status documents actually work.
37607 Changes in version 0.1.1.21 - 2006-06-10
37608 o Crash and assert fixes from 0.1.1.20:
37609 - Fix a rare crash on Tor servers that have enabled hibernation.
37610 - Fix a seg fault on startup for Tor networks that use only one
37611 directory authority.
37612 - Fix an assert from a race condition that occurs on Tor servers
37613 while exiting, where various threads are trying to log that they're
37614 exiting, and delete the logs, at the same time.
37615 - Make our unit tests pass again on certain obscure platforms.
37618 - Add support for building SUSE RPM packages.
37619 - Speed up initial bootstrapping for clients: if we are making our
37620 first ever connection to any entry guard, then don't mark it down
37622 - When only one Tor server in the network is labelled as a guard,
37623 and we've already picked him, we would cycle endlessly picking him
37624 again, being unhappy about it, etc. Now we specifically exclude
37625 current guards when picking a new guard.
37626 - Servers send create cells more reliably after the TLS connection
37627 is established: we were sometimes forgetting to send half of them
37628 when we had more than one pending.
37629 - If we get a create cell that asks us to extend somewhere, but the
37630 Tor server there doesn't match the expected digest, we now send
37631 a destroy cell back, rather than silently doing nothing.
37632 - Make options->RedirectExit work again.
37633 - Make cookie authentication for the controller work again.
37634 - Stop being picky about unusual characters in the arguments to
37635 mapaddress. It's none of our business.
37636 - Add a new config option "TestVia" that lets you specify preferred
37637 middle hops to use for test circuits. Perhaps this will let me
37638 debug the reachability problems better.
37640 o Log / documentation fixes:
37641 - If we're a server and some peer has a broken TLS certificate, don't
37642 log about it unless ProtocolWarnings is set, i.e., we want to hear
37643 about protocol violations by others.
37644 - Fix spelling of VirtualAddrNetwork in man page.
37645 - Add a better explanation at the top of the autogenerated torrc file
37646 about what happened to our old torrc.
37649 Changes in version 0.1.1.20 - 2006-05-23
37651 - Downgrade a log severity where servers complain that they're
37653 - Avoid a compile warning on FreeBSD.
37654 - Remove string size limit on NEWDESC messages; solve bug 291.
37655 - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
37656 more thoroughly when we're running on windows.
37659 Changes in version 0.1.1.19-rc - 2006-05-03
37661 - Regenerate our local descriptor if it's dirty and we try to use
37662 it locally (e.g. if it changes during reachability detection).
37663 - If we setconf our ORPort to 0, we continued to listen on the
37664 old ORPort and receive connections.
37665 - Avoid a second warning about machine/limits.h on Debian
37667 - Be willing to add our own routerinfo into the routerlist.
37668 Now authorities will include themselves in their directories
37669 and network-statuses.
37670 - Stop trying to upload rendezvous descriptors to every
37671 directory authority: only try the v1 authorities.
37672 - Servers no longer complain when they think they're not
37673 registered with the directory authorities. There were too many
37675 - Backport dist-rpm changes so rpms can be built without errors.
37678 - Implement an option, VirtualAddrMask, to set which addresses
37679 get handed out in response to mapaddress requests. This works
37680 around a bug in tsocks where 127.0.0.0/8 is never socksified.
37683 Changes in version 0.1.1.18-rc - 2006-04-10
37685 - Work harder to download live network-statuses from all the
37686 directory authorities we know about. Improve the threshold
37687 decision logic so we're more robust to edge cases.
37688 - When fetching rendezvous descriptors, we were willing to ask
37689 v2 authorities too, which would always return 404.
37692 - Stop listing down or invalid nodes in the v1 directory. This will
37693 reduce its bulk by about 1/3, and reduce load on directory
37695 - When deciding whether a router is Fast or Guard-worthy, consider
37696 his advertised BandwidthRate and not just the BandwidthCapacity.
37697 - No longer ship INSTALL and README files -- they are useless now.
37698 - Force rpmbuild to behave and honor target_cpu.
37699 - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
37700 - Start to include translated versions of the tor-doc-*.html
37701 files, along with the screenshots. Still needs more work.
37702 - Start sending back 512 and 451 errors if mapaddress fails,
37703 rather than not sending anything back at all.
37704 - When we fail to bind or listen on an incoming or outgoing
37705 socket, we should close it before failing. otherwise we just
37706 leak it. (thanks to weasel for finding.)
37707 - Allow "getinfo dir/status/foo" to work, as long as your DirPort
37708 is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
37709 - Make NoPublish (even though deprecated) work again.
37710 - Fix a minor security flaw where a versioning auth dirserver
37711 could list a recommended version many times in a row to make
37712 clients more convinced that it's recommended.
37713 - Fix crash bug if there are two unregistered servers running
37714 with the same nickname, one of them is down, and you ask for
37715 them by nickname in your EntryNodes or ExitNodes. Also, try
37716 to pick the one that's running rather than an arbitrary one.
37717 - Fix an infinite loop we could hit if we go offline for too long.
37718 - Complain when we hit WSAENOBUFS on recv() or write() too.
37719 Perhaps this will help us hunt the bug.
37720 - If you're not a versioning dirserver, don't put the string
37721 "client-versions \nserver-versions \n" in your network-status.
37722 - Lower the minimum required number of file descriptors to 1000,
37723 so we can have some overhead for Valgrind on Linux, where the
37724 default ulimit -n is 1024.
37727 - Add tor.dizum.com as the fifth authoritative directory server.
37728 - Add a new config option FetchUselessDescriptors, off by default,
37729 for when you plan to run "exitlist" on your client and you want
37730 to know about even the non-running descriptors.
37733 Changes in version 0.1.1.17-rc - 2006-03-28
37735 - Clients and servers since 0.1.1.10-alpha have been expiring
37736 connections whenever they are idle for 5 minutes and they *do*
37737 have circuits on them. Oops. With this new version, clients will
37738 discard their previous entry guard choices and avoid choosing
37739 entry guards running these flawed versions.
37740 - Fix memory leak when uncompressing concatenated zlib streams. This
37741 was causing substantial leaks over time on Tor servers.
37742 - The v1 directory was including servers as much as 48 hours old,
37743 because that's how the new routerlist->routers works. Now only
37744 include them if they're 20 hours old or less.
37747 - Resume building on irix64, netbsd 2.0, etc.
37748 - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
37750 - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
37751 and it is confusing some users.
37752 - Mirrors stop caching the v1 directory so often.
37753 - Make the max number of old descriptors that a cache will hold
37754 rise with the number of directory authorities, so we can scale.
37755 - Change our win32 uname() hack to be more forgiving about what
37756 win32 versions it thinks it's found.
37759 - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
37761 - When the controller's *setconf commands fail, collect an error
37762 message in a string and hand it back to the controller.
37763 - Make the v2 dir's "Fast" flag based on relative capacity, just
37764 like "Stable" is based on median uptime. Name everything in the
37765 top 7/8 Fast, and only the top 1/2 gets to be a Guard.
37766 - Log server fingerprint on startup, so new server operators don't
37767 have to go hunting around their filesystem for it.
37768 - Return a robots.txt on our dirport to discourage google indexing.
37769 - Let the controller ask for GETINFO dir/status/foo so it can ask
37770 directly rather than connecting to the dir port. Only works when
37771 dirport is set for now.
37773 o New config options rather than constants in the code:
37774 - SocksTimeout: How long do we let a socks connection wait
37775 unattached before we fail it?
37776 - CircuitBuildTimeout: Cull non-open circuits that were born
37777 at least this many seconds ago.
37778 - CircuitIdleTimeout: Cull open clean circuits that were born
37779 at least this many seconds ago.
37782 Changes in version 0.1.1.16-rc - 2006-03-18
37783 o Bugfixes on 0.1.1.15-rc:
37784 - Fix assert when the controller asks to attachstream a connect-wait
37785 or resolve-wait stream.
37786 - Now do address rewriting when the controller asks us to attach
37787 to a particular circuit too. This will let Blossom specify
37788 "moria2.exit" without having to learn what moria2's IP address is.
37789 - Make the "tor --verify-config" command-line work again, so people
37790 can automatically check if their torrc will parse.
37791 - Authoritative dirservers no longer require an open connection from
37792 a server to consider him "reachable". We need this change because
37793 when we add new auth dirservers, old servers won't know not to
37795 - Let Tor build on Sun CC again.
37796 - Fix an off-by-one buffer size in dirserv.c that magically never
37797 hit our three authorities but broke sjmurdoch's own tor network.
37798 - If we as a directory mirror don't know of any v1 directory
37799 authorities, then don't try to cache any v1 directories.
37800 - Stop warning about unknown servers in our family when they are
37801 given as hex digests.
37802 - Stop complaining as quickly to the server operator that he
37803 hasn't registered his nickname/key binding.
37804 - Various cleanups so we can add new V2 Auth Dirservers.
37805 - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
37806 reflect the updated flags in our v2 dir protocol.
37807 - Resume allowing non-printable characters for exit streams (both
37808 for connecting and for resolving). Now we tolerate applications
37809 that don't follow the RFCs. But continue to block malformed names
37812 o Bugfixes on 0.1.0.x:
37813 - Fix assert bug in close_logs(): when we close and delete logs,
37814 remove them all from the global "logfiles" list.
37815 - Fix minor integer overflow in calculating when we expect to use up
37816 our bandwidth allocation before hibernating.
37817 - Fix a couple of bugs in OpenSSL detection. Also, deal better when
37818 there are multiple SSLs installed with different versions.
37819 - When we try to be a server and Address is not explicitly set and
37820 our hostname resolves to a private IP address, try to use an
37821 interface address if it has a public address. Now Windows machines
37822 that think of themselves as localhost can work by default.
37825 - Let the controller ask for GETINFO dir/server/foo so it can ask
37826 directly rather than connecting to the dir port.
37827 - Let the controller tell us about certain router descriptors
37828 that it doesn't want Tor to use in circuits. Implement
37829 SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
37830 - New config option SafeSocks to reject all application connections
37831 using unsafe socks protocols. Defaults to off.
37834 Changes in version 0.1.1.15-rc - 2006-03-11
37835 o Bugfixes and cleanups:
37836 - When we're printing strings from the network, don't try to print
37837 non-printable characters. This protects us against shell escape
37838 sequence exploits, and also against attacks to fool humans into
37839 misreading their logs.
37840 - Fix a bug where Tor would fail to establish any connections if you
37841 left it off for 24 hours and then started it: we were happy with
37842 the obsolete network statuses, but they all referred to router
37843 descriptors that were too old to fetch, so we ended up with no
37844 valid router descriptors.
37845 - Fix a seg fault in the controller's "getinfo orconn-status"
37846 command while listing status on incoming handshaking connections.
37847 Introduce a status name "NEW" for these connections.
37848 - If we get a linelist or linelist_s config option from the torrc
37849 (e.g. ExitPolicy) and it has no value, warn and skip rather than
37850 silently resetting it to its default.
37851 - Don't abandon entry guards until they've been down or gone for
37853 - Cleaner and quieter log messages.
37856 - New controller signal NEWNYM that makes new application requests
37857 use clean circuits.
37858 - Add a new circuit purpose 'controller' to let the controller ask
37859 for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
37860 controller command to let you specify the purpose if you're
37861 starting a new circuit. Add a new SETCIRCUITPURPOSE controller
37862 command to let you change a circuit's purpose after it's been
37864 - Accept "private:*" in routerdesc exit policies; not generated yet
37865 because older Tors do not understand it.
37866 - Add BSD-style contributed startup script "rc.subr" from Peter
37870 Changes in version 0.1.1.14-alpha - 2006-02-20
37871 o Bugfixes on 0.1.1.x:
37872 - Don't die if we ask for a stdout or stderr log (even implicitly)
37873 and we're set to RunAsDaemon -- just warn.
37874 - We still had a few bugs in the OR connection rotation code that
37875 caused directory servers to slowly aggregate connections to other
37876 fast Tor servers. This time for sure!
37877 - Make log entries on Win32 include the name of the function again.
37878 - We were treating a pair of exit policies if they were equal even
37879 if one said accept and the other said reject -- causing us to
37880 not always publish a new descriptor since we thought nothing
37882 - Retry pending server downloads as well as pending networkstatus
37883 downloads when we unexpectedly get a socks request.
37884 - We were ignoring the IS_FAST flag in the directory status,
37885 meaning we were willing to pick trivial-bandwidth nodes for "fast"
37887 - If the controller's SAVECONF command fails (e.g. due to file
37888 permissions), let the controller know that it failed.
37891 - If we're trying to be a Tor server and running Windows 95/98/ME
37892 as a server, explain that we'll likely crash.
37893 - When we're a server, a client asks for an old-style directory,
37894 and our write bucket is empty, don't give it to him. This way
37895 small servers can continue to serve the directory *sometimes*,
37896 without getting overloaded.
37897 - Compress exit policies even more -- look for duplicate lines
37899 - Clients now honor the "guard" flag in the router status when
37900 picking entry guards, rather than looking at is_fast or is_stable.
37901 - Retain unrecognized lines in $DATADIR/state file, so that we can
37902 be forward-compatible.
37903 - Generate 18.0.0.0/8 address policy format in descs when we can;
37904 warn when the mask is not reducible to a bit-prefix.
37905 - Let the user set ControlListenAddress in the torrc. This can be
37906 dangerous, but there are some cases (like a secured LAN) where it
37908 - Split ReachableAddresses into ReachableDirAddresses and
37909 ReachableORAddresses, so we can restrict Dir conns to port 80
37910 and OR conns to port 443.
37911 - Now we can target arch and OS in rpm builds (contributed by
37912 Phobos). Also make the resulting dist-rpm filename match the
37914 - New config options to help controllers: FetchServerDescriptors
37915 and FetchHidServDescriptors for whether to fetch server
37916 info and hidserv info or let the controller do it, and
37917 PublishServerDescriptor and PublishHidServDescriptors.
37918 - Also let the controller set the __AllDirActionsPrivate config
37919 option if you want all directory fetches/publishes to happen via
37920 Tor (it assumes your controller bootstraps your circuits).
37923 Changes in version 0.1.0.17 - 2006-02-17
37924 o Crash bugfixes on 0.1.0.x:
37925 - When servers with a non-zero DirPort came out of hibernation,
37926 sometimes they would trigger an assert.
37928 o Other important bugfixes:
37929 - On platforms that don't have getrlimit (like Windows), we were
37930 artificially constraining ourselves to a max of 1024
37931 connections. Now just assume that we can handle as many as 15000
37932 connections. Hopefully this won't cause other problems.
37934 o Backported features:
37935 - When we're a server, a client asks for an old-style directory,
37936 and our write bucket is empty, don't give it to him. This way
37937 small servers can continue to serve the directory *sometimes*,
37938 without getting overloaded.
37939 - Whenever you get a 503 in response to a directory fetch, try
37940 once more. This will become important once servers start sending
37941 503's whenever they feel busy.
37942 - Fetch a new directory every 120 minutes, not every 40 minutes.
37943 Now that we have hundreds of thousands of users running the old
37944 directory algorithm, it's starting to hurt a lot.
37945 - Bump up the period for forcing a hidden service descriptor upload
37946 from 20 minutes to 1 hour.
37949 Changes in version 0.1.1.13-alpha - 2006-02-09
37950 o Crashes in 0.1.1.x:
37951 - When you tried to setconf ORPort via the controller, Tor would
37952 crash. So people using TorCP to become a server were sad.
37953 - Solve (I hope) the stack-smashing bug that we were seeing on fast
37954 servers. The problem appears to be something do with OpenSSL's
37955 random number generation, or how we call it, or something. Let me
37956 know if the crashes continue.
37957 - Turn crypto hardware acceleration off by default, until we find
37958 somebody smart who can test it for us. (It appears to produce
37959 seg faults in at least some cases.)
37960 - Fix a rare assert error when we've tried all intro points for
37961 a hidden service and we try fetching the service descriptor again:
37962 "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
37965 - Fix a major load balance bug: we were round-robining in 16 KB
37966 chunks, and servers with bandwidthrate of 20 KB, while downloading
37967 a 600 KB directory, would starve their other connections. Now we
37968 try to be a bit more fair.
37969 - Dir authorities and mirrors were never expiring the newest
37970 descriptor for each server, causing memory and directory bloat.
37971 - Fix memory-bloating and connection-bloating bug on servers: We
37972 were never closing any connection that had ever had a circuit on
37973 it, because we were checking conn->n_circuits == 0, yet we had a
37974 bug that let it go negative.
37975 - Make Tor work using squid as your http proxy again -- squid
37976 returns an error if you ask for a URL that's too long, and it uses
37977 a really generic error message. Plus, many people are behind a
37978 transparent squid so they don't even realize it.
37979 - On platforms that don't have getrlimit (like Windows), we were
37980 artificially constraining ourselves to a max of 1024
37981 connections. Now just assume that we can handle as many as 15000
37982 connections. Hopefully this won't cause other problems.
37983 - Add a new config option ExitPolicyRejectPrivate which defaults to
37984 1. This means all exit policies will begin with rejecting private
37985 addresses, unless the server operator explicitly turns it off.
37988 - Clients no longer download descriptors for non-running
37990 - Before we add new directory authorities, we should make it
37991 clear that only v1 authorities should receive/publish hidden
37992 service descriptors.
37995 - As soon as we've fetched some more directory info, immediately
37996 try to download more server descriptors. This way we don't have
37997 a 10 second pause during initial bootstrapping.
37998 - Remove even more loud log messages that the server operator can't
38000 - When we're running an obsolete or un-recommended version, make
38001 the log message more clear about what the problem is and what
38002 versions *are* still recommended.
38003 - Provide a more useful warn message when our onion queue gets full:
38004 the CPU is too slow or the exit policy is too liberal.
38005 - Don't warn when we receive a 503 from a dirserver/cache -- this
38006 will pave the way for them being able to refuse if they're busy.
38007 - When we fail to bind a listener, try to provide a more useful
38008 log message: e.g., "Is Tor already running?"
38009 - Adjust tor-spec to parameterize cell and key lengths. Now Ian
38010 Goldberg can prove things about our handshake protocol more
38012 - MaxConn has been obsolete for a while now. Document the ConnLimit
38013 config option, which is a *minimum* number of file descriptors
38014 that must be available else Tor refuses to start.
38015 - Apply Matt Ghali's --with-syslog-facility patch to ./configure
38016 if you log to syslog and want something other than LOG_DAEMON.
38017 - Make dirservers generate a separate "guard" flag to mean,
38018 "would make a good entry guard". Make clients parse it and vote
38019 on it. Not used by clients yet.
38020 - Implement --with-libevent-dir option to ./configure. Also, improve
38021 search techniques to find libevent, and use those for openssl too.
38022 - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
38023 - Only start testing reachability once we've established a
38024 circuit. This will make startup on dirservers less noisy.
38025 - Don't try to upload hidden service descriptors until we have
38026 established a circuit.
38027 - Fix the controller's "attachstream 0" command to treat conn like
38028 it just connected, doing address remapping, handling .exit and
38029 .onion idioms, and so on. Now we're more uniform in making sure
38030 that the controller hears about new and closing connections.
38033 Changes in version 0.1.1.12-alpha - 2006-01-11
38034 o Bugfixes on 0.1.1.x:
38035 - The fix to close duplicate server connections was closing all
38036 Tor client connections if they didn't establish a circuit
38037 quickly enough. Oops.
38038 - Fix minor memory issue (double-free) that happened on exit.
38040 o Bugfixes on 0.1.0.x:
38041 - Tor didn't warn when it failed to open a log file.
38044 Changes in version 0.1.1.11-alpha - 2006-01-10
38045 o Crashes in 0.1.1.x:
38046 - Include all the assert/crash fixes from 0.1.0.16.
38047 - If you start Tor and then quit very quickly, there were some
38048 races that tried to free things that weren't allocated yet.
38049 - Fix a rare memory stomp if you're running hidden services.
38050 - Fix segfault when specifying DirServer in config without nickname.
38051 - Fix a seg fault when you finish connecting to a server but at
38052 that moment you dump his server descriptor.
38053 - Extendcircuit and Attachstream controller commands would
38054 assert/crash if you don't give them enough arguments.
38055 - Fix an assert error when we're out of space in the connection_list
38056 and we try to post a hidden service descriptor (reported by weasel).
38057 - If you specify a relative torrc path and you set RunAsDaemon in
38058 your torrc, then it chdir()'s to the new directory. If you HUP,
38059 it tries to load the new torrc location, fails, and exits.
38060 The fix: no longer allow a relative path to torrc using -f.
38063 - Implement "entry guards": automatically choose a handful of entry
38064 nodes and stick with them for all circuits. Only pick new guards
38065 when the ones you have are unsuitable, and if the old guards
38066 become suitable again, switch back. This will increase security
38067 dramatically against certain end-point attacks. The EntryNodes
38068 config option now provides some hints about which entry guards you
38069 want to use most; and StrictEntryNodes means to only use those.
38070 - New directory logic: download by descriptor digest, not by
38071 fingerprint. Caches try to download all listed digests from
38072 authorities; clients try to download "best" digests from caches.
38073 This avoids partitioning and isolating attacks better.
38074 - Make the "stable" router flag in network-status be the median of
38075 the uptimes of running valid servers, and make clients pay
38076 attention to the network-status flags. Thus the cutoff adapts
38077 to the stability of the network as a whole, making IRC, IM, etc
38078 connections more reliable.
38081 - Tor servers with dynamic IP addresses were needing to wait 18
38082 hours before they could start doing reachability testing using
38083 the new IP address and ports. This is because they were using
38084 the internal descriptor to learn what to test, yet they were only
38085 rebuilding the descriptor once they decided they were reachable.
38086 - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
38087 to download certain server descriptors, throw them away, and then
38088 fetch them again after 30 minutes. Now mirrors throw away these
38089 server descriptors so clients can't get them.
38090 - We were leaving duplicate connections to other ORs open for a week,
38091 rather than closing them once we detect a duplicate. This only
38092 really affected authdirservers, but it affected them a lot.
38093 - Spread the authdirservers' reachability testing over the entire
38094 testing interval, so we don't try to do 500 TLS's at once every
38098 - If the network is down, and we try to connect to a conn because
38099 we have a circuit in mind, and we timeout (30 seconds) because the
38100 network never answers, we were expiring the circuit, but we weren't
38101 obsoleting the connection or telling the entry_guards functions.
38102 - Some Tor servers process billions of cells per day. These statistics
38103 need to be uint64_t's.
38104 - Check for integer overflows in more places, when adding elements
38105 to smartlists. This could possibly prevent a buffer overflow
38106 on malicious huge inputs. I don't see any, but I haven't looked
38108 - ReachableAddresses kept growing new "reject *:*" lines on every
38110 - When you "setconf log" via the controller, it should remove all
38111 logs. We were automatically adding back in a "log notice stdout".
38112 - Newly bootstrapped Tor networks couldn't establish hidden service
38113 circuits until they had nodes with high uptime. Be more tolerant.
38114 - We were marking servers down when they could not answer every piece
38115 of the directory request we sent them. This was far too harsh.
38116 - Fix the torify (tsocks) config file to not use Tor for localhost
38118 - Directory authorities now go to the proper authority when asking for
38119 a networkstatus, even when they want a compressed one.
38120 - Fix a harmless bug that was causing Tor servers to log
38121 "Got an end because of misc error, but we're not an AP. Closing."
38122 - Authorities were treating their own descriptor changes as cosmetic,
38123 meaning the descriptor available in the network-status and the
38124 descriptor that clients downloaded were different.
38125 - The OS X installer was adding a symlink for tor_resolve but
38126 the binary was called tor-resolve (reported by Thomas Hardly).
38127 - Workaround a problem with some http proxies where they refuse GET
38128 requests that specify "Content-Length: 0" (reported by Adrian).
38129 - Fix wrong log message when you add a "HiddenServiceNodes" config
38130 line without any HiddenServiceDir line (reported by Chris Thomas).
38133 - Write the TorVersion into the state file so we have a prayer of
38134 keeping forward and backward compatibility.
38135 - Revive the FascistFirewall config option rather than eliminating it:
38136 now it's a synonym for ReachableAddresses *:80,*:443.
38137 - Clients choose directory servers from the network status lists,
38138 not from their internal list of router descriptors. Now they can
38139 go to caches directly rather than needing to go to authorities
38141 - Directory authorities ignore router descriptors that have only
38142 cosmetic differences: do this for 0.1.0.x servers now too.
38143 - Add a new flag to network-status indicating whether the server
38144 can answer v2 directory requests too.
38145 - Authdirs now stop whining so loudly about bad descriptors that
38146 they fetch from other dirservers. So when there's a log complaint,
38147 it's for sure from a freshly uploaded descriptor.
38148 - Reduce memory requirements in our structs by changing the order
38150 - There used to be two ways to specify your listening ports in a
38151 server descriptor: on the "router" line and with a separate "ports"
38152 line. Remove support for the "ports" line.
38153 - New config option "AuthDirRejectUnlisted" for auth dirservers as
38154 a panic button: if we get flooded with unusable servers we can
38155 revert to only listing servers in the approved-routers file.
38156 - Auth dir servers can now mark a fingerprint as "!reject" or
38157 "!invalid" in the approved-routers file (as its nickname), to
38158 refuse descriptors outright or include them but marked as invalid.
38159 - Servers store bandwidth history across restarts/crashes.
38160 - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
38161 get a better idea of why their circuits failed. Not used yet.
38162 - Directory mirrors now cache up to 16 unrecognized network-status
38163 docs. Now we can add new authdirservers and they'll be cached too.
38164 - When picking a random directory, prefer non-authorities if any
38166 - New controller option "getinfo desc/all-recent" to fetch the
38167 latest server descriptor for every router that Tor knows about.
38170 Changes in version 0.1.0.16 - 2006-01-02
38171 o Crash bugfixes on 0.1.0.x:
38172 - On Windows, build with a libevent patch from "I-M Weasel" to avoid
38173 corrupting the heap, losing FDs, or crashing when we need to resize
38174 the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
38175 - It turns out sparc64 platforms crash on unaligned memory access
38176 too -- so detect and avoid this.
38177 - Handle truncated compressed data correctly (by detecting it and
38179 - Fix possible-but-unlikely free(NULL) in control.c.
38180 - When we were closing connections, there was a rare case that
38181 stomped on memory, triggering seg faults and asserts.
38182 - Avoid potential infinite recursion when building a descriptor. (We
38183 don't know that it ever happened, but better to fix it anyway.)
38184 - We were neglecting to unlink marked circuits from soon-to-close OR
38185 connections, which caused some rare scribbling on freed memory.
38186 - Fix a memory stomping race bug when closing the joining point of two
38187 rendezvous circuits.
38188 - Fix an assert in time parsing found by Steven Murdoch.
38190 o Other bugfixes on 0.1.0.x:
38191 - When we're doing reachability testing, provide more useful log
38192 messages so the operator knows what to expect.
38193 - Do not check whether DirPort is reachable when we are suppressing
38194 advertising it because of hibernation.
38195 - When building with -static or on Solaris, we sometimes needed -ldl.
38196 - When we're deciding whether a stream has enough circuits around
38197 that can handle it, count the freshly dirty ones and not the ones
38198 that are so dirty they won't be able to handle it.
38199 - When we're expiring old circuits, we had a logic error that caused
38200 us to close new rendezvous circuits rather than old ones.
38201 - Give a more helpful log message when you try to change ORPort via
38202 the controller: you should upgrade Tor if you want that to work.
38203 - We were failing to parse Tor versions that start with "Tor ".
38204 - Tolerate faulty streams better: when a stream fails for reason
38205 exitpolicy, stop assuming that the router is lying about his exit
38206 policy. When a stream fails for reason misc, allow it to retry just
38207 as if it was resolvefailed. When a stream has failed three times,
38208 reset its failure count so we can try again and get all three tries.
38211 Changes in version 0.1.1.10-alpha - 2005-12-11
38212 o Correctness bugfixes on 0.1.0.x:
38213 - On Windows, build with a libevent patch from "I-M Weasel" to avoid
38214 corrupting the heap, losing FDs, or crashing when we need to resize
38215 the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
38216 - Stop doing the complex voodoo overkill checking for insecure
38217 Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
38218 - When we were closing connections, there was a rare case that
38219 stomped on memory, triggering seg faults and asserts.
38220 - We were neglecting to unlink marked circuits from soon-to-close OR
38221 connections, which caused some rare scribbling on freed memory.
38222 - When we're deciding whether a stream has enough circuits around
38223 that can handle it, count the freshly dirty ones and not the ones
38224 that are so dirty they won't be able to handle it.
38225 - Recover better from TCP connections to Tor servers that are
38226 broken but don't tell you (it happens!); and rotate TLS
38227 connections once a week.
38228 - When we're expiring old circuits, we had a logic error that caused
38229 us to close new rendezvous circuits rather than old ones.
38230 - Fix a scary-looking but apparently harmless bug where circuits
38231 would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
38232 servers, and never switch to state CIRCUIT_STATE_OPEN.
38233 - When building with -static or on Solaris, we sometimes needed to
38235 - Give a useful message when people run Tor as the wrong user,
38236 rather than telling them to start chowning random directories.
38237 - We were failing to inform the controller about new .onion streams.
38239 o Security bugfixes on 0.1.0.x:
38240 - Refuse server descriptors if the fingerprint line doesn't match
38241 the included identity key. Tor doesn't care, but other apps (and
38242 humans) might actually be trusting the fingerprint line.
38243 - We used to kill the circuit when we receive a relay command we
38244 don't recognize. Now we just drop it.
38245 - Start obeying our firewall options more rigorously:
38246 . If we can't get to a dirserver directly, try going via Tor.
38247 . Don't ever try to connect (as a client) to a place our
38248 firewall options forbid.
38249 . If we specify a proxy and also firewall options, obey the
38250 firewall options even when we're using the proxy: some proxies
38251 can only proxy to certain destinations.
38252 - Fix a bug found by Lasse Overlier: when we were making internal
38253 circuits (intended to be cannibalized later for rendezvous and
38254 introduction circuits), we were picking them so that they had
38255 useful exit nodes. There was no need for this, and it actually
38256 aids some statistical attacks.
38257 - Start treating internal circuits and exit circuits separately.
38258 It's important to keep them separate because internal circuits
38259 have their last hops picked like middle hops, rather than like
38260 exit hops. So exiting on them will break the user's expectations.
38262 o Bugfixes on 0.1.1.x:
38263 - Take out the mis-feature where we tried to detect IP address
38264 flapping for people with DynDNS, and chose not to upload a new
38265 server descriptor sometimes.
38266 - Try to be compatible with OpenSSL 0.9.6 again.
38267 - Log fix: when the controller is logging about .onion addresses,
38268 sometimes it didn't include the ".onion" part of the address.
38269 - Don't try to modify options->DirServers internally -- if the
38270 user didn't specify any, just add the default ones directly to
38271 the trusted dirserver list. This fixes a bug where people running
38272 controllers would use SETCONF on some totally unrelated config
38273 option, and Tor would start yelling at them about changing their
38275 - Let the controller's redirectstream command specify a port, in
38276 case the controller wants to change that too.
38277 - When we requested a pile of server descriptors, we sometimes
38278 accidentally launched a duplicate request for the first one.
38279 - Bugfix for trackhostexits: write down the fingerprint of the
38280 chosen exit, not its nickname, because the chosen exit might not
38282 - When parsing foo.exit, if foo is unknown, and we are leaving
38283 circuits unattached, set the chosen_exit field and leave the
38284 address empty. This matters because controllers got confused
38286 - Directory authorities no longer try to download server
38287 descriptors that they know they will reject.
38289 o Features and updates:
38290 - Replace balanced trees with hash tables: this should make stuff
38291 significantly faster.
38292 - Resume using the AES counter-mode implementation that we ship,
38293 rather than OpenSSL's. Ours is significantly faster.
38294 - Many other CPU and memory improvements.
38295 - Add a new config option FastFirstHopPK (on by default) so clients
38296 do a trivial crypto handshake for their first hop, since TLS has
38297 already taken care of confidentiality and authentication.
38298 - Add a new config option TestSocks so people can see if their
38299 applications are using socks4, socks4a, socks5-with-ip, or
38300 socks5-with-hostname. This way they don't have to keep mucking
38301 with tcpdump and wondering if something got cached somewhere.
38302 - Warn when listening on a public address for socks. I suspect a
38303 lot of people are setting themselves up as open socks proxies,
38304 and they have no idea that jerks on the Internet are using them,
38305 since they simply proxy the traffic into the Tor network.
38306 - Add "private:*" as an alias in configuration for policies. Now
38307 you can simplify your exit policy rather than needing to list
38308 every single internal or nonroutable network space.
38309 - Add a new controller event type that allows controllers to get
38310 all server descriptors that were uploaded to a router in its role
38311 as authoritative dirserver.
38312 - Start shipping socks-extensions.txt, tor-doc-unix.html,
38313 tor-doc-server.html, and stylesheet.css in the tarball.
38314 - Stop shipping tor-doc.html in the tarball.
38317 Changes in version 0.1.1.9-alpha - 2005-11-15
38318 o Usability improvements:
38319 - Start calling it FooListenAddress rather than FooBindAddress,
38320 since few of our users know what it means to bind an address
38322 - Reduce clutter in server logs. We're going to try to make
38323 them actually usable now. New config option ProtocolWarnings that
38324 lets you hear about how _other Tors_ are breaking the protocol. Off
38326 - Divide log messages into logging domains. Once we put some sort
38327 of interface on this, it will let people looking at more verbose
38328 log levels specify the topics they want to hear more about.
38329 - Make directory servers return better http 404 error messages
38330 instead of a generic "Servers unavailable".
38331 - Check for even more Windows version flags when writing the platform
38332 string in server descriptors, and note any we don't recognize.
38333 - Clean up more of the OpenSSL memory when exiting, so we can detect
38334 memory leaks better.
38335 - Make directory authorities be non-versioning, non-naming by
38336 default. Now we can add new directory servers without requiring
38337 their operators to pay close attention.
38338 - When logging via syslog, include the pid whenever we provide
38339 a log entry. Suggested by Todd Fries.
38341 o Performance improvements:
38342 - Directory servers now silently throw away new descriptors that
38343 haven't changed much if the timestamps are similar. We do this to
38344 tolerate older Tor servers that upload a new descriptor every 15
38345 minutes. (It seemed like a good idea at the time.)
38346 - Inline bottleneck smartlist functions; use fast versions by default.
38347 - Add a "Map from digest to void*" abstraction digestmap_t so we
38348 can do less hex encoding/decoding. Use it in router_get_by_digest()
38349 to resolve a performance bottleneck.
38350 - Allow tor_gzip_uncompress to extract as much as possible from
38351 truncated compressed data. Try to extract as many
38352 descriptors as possible from truncated http responses (when
38353 DIR_PURPOSE_FETCH_ROUTERDESC).
38354 - Make circ->onionskin a pointer, not a static array. moria2 was using
38355 125000 circuit_t's after it had been up for a few weeks, which
38356 translates to 20+ megs of wasted space.
38357 - The private half of our EDH handshake keys are now chosen out
38358 of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
38360 o Security improvements:
38361 - Start making directory caches retain old routerinfos, so soon
38362 clients can start asking by digest of descriptor rather than by
38363 fingerprint of server.
38364 - Add half our entropy from RAND_poll in OpenSSL. This knows how
38365 to use egd (if present), openbsd weirdness (if present), vms/os2
38366 weirdness (if we ever port there), and more in the future.
38368 o Bugfixes on 0.1.0.x:
38369 - Do round-robin writes of at most 16 kB per write. This might be
38370 more fair on loaded Tor servers, and it might resolve our Windows
38371 crash bug. It might also slow things down.
38372 - Our TLS handshakes were generating a single public/private
38373 keypair for the TLS context, rather than making a new one for
38374 each new connections. Oops. (But we were still rotating them
38375 periodically, so it's not so bad.)
38376 - When we were cannibalizing a circuit with a particular exit
38377 node in mind, we weren't checking to see if that exit node was
38378 already present earlier in the circuit. Oops.
38379 - When a Tor server's IP changes (e.g. from a dyndns address),
38380 upload a new descriptor so clients will learn too.
38381 - Really busy servers were keeping enough circuits open on stable
38382 connections that they were wrapping around the circuit_id
38383 space. (It's only two bytes.) This exposed a bug where we would
38384 feel free to reuse a circuit_id even if it still exists but has
38385 been marked for close. Try to fix this bug. Some bug remains.
38386 - If we would close a stream early (e.g. it asks for a .exit that
38387 we know would refuse it) but the LeaveStreamsUnattached config
38388 option is set by the controller, then don't close it.
38390 o Bugfixes on 0.1.1.8-alpha:
38391 - Fix a big pile of memory leaks, some of them serious.
38392 - Do not try to download a routerdesc if we would immediately reject
38394 - Resume inserting a newline between all router descriptors when
38395 generating (old style) signed directories, since our spec says
38397 - When providing content-type application/octet-stream for
38398 server descriptors using .z, we were leaving out the
38399 content-encoding header. Oops. (Everything tolerated this just
38400 fine, but that doesn't mean we need to be part of the problem.)
38401 - Fix a potential seg fault in getconf and getinfo using version 1
38402 of the controller protocol.
38403 - Avoid crash: do not check whether DirPort is reachable when we
38404 are suppressing it because of hibernation.
38405 - Make --hash-password not crash on exit.
38408 Changes in version 0.1.1.8-alpha - 2005-10-07
38409 o New features (major):
38410 - Clients don't download or use the directory anymore. Now they
38411 download and use network-statuses from the trusted dirservers,
38412 and fetch individual server descriptors as needed from mirrors.
38413 See dir-spec.txt for all the gory details.
38414 - Be more conservative about whether to advertise our DirPort.
38415 The main change is to not advertise if we're running at capacity
38416 and either a) we could hibernate or b) our capacity is low and
38417 we're using a default DirPort.
38418 - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
38420 o New features (minor):
38421 - Try to be smart about when to retry network-status and
38422 server-descriptor fetches. Still needs some tuning.
38423 - Stop parsing, storing, or using running-routers output (but
38424 mirrors still cache and serve it).
38425 - Consider a threshold of versioning dirservers (dirservers who have
38426 an opinion about which Tor versions are still recommended) before
38427 deciding whether to warn the user that he's obsolete.
38428 - Dirservers can now reject/invalidate by key and IP, with the
38429 config options "AuthDirInvalid" and "AuthDirReject". This is
38430 useful since currently we automatically list servers as running
38431 and usable even if we know they're jerks.
38432 - Provide dire warnings to any users who set DirServer; move it out
38433 of torrc.sample and into torrc.complete.
38434 - Add MyFamily to torrc.sample in the server section.
38435 - Add nicknames to the DirServer line, so we can refer to them
38436 without requiring all our users to memorize their IP addresses.
38437 - When we get an EOF or a timeout on a directory connection, note
38438 how many bytes of serverdesc we are dropping. This will help
38439 us determine whether it is smart to parse incomplete serverdesc
38441 - Add a new function to "change pseudonyms" -- that is, to stop
38442 using any currently-dirty circuits for new streams, so we don't
38443 link new actions to old actions. Currently it's only called on
38444 HUP (or SIGNAL RELOAD).
38445 - On sighup, if UseHelperNodes changed to 1, use new circuits.
38446 - Start using RAND_bytes rather than RAND_pseudo_bytes from
38447 OpenSSL. Also, reseed our entropy every hour, not just at
38448 startup. And entropy in 512-bit chunks, not 160-bit chunks.
38450 o Fixes on 0.1.1.7-alpha:
38451 - Nobody ever implemented EVENT_ADDRMAP for control protocol
38452 version 0, so don't let version 0 controllers ask for it.
38453 - If you requested something with too many newlines via the
38454 v1 controller protocol, you could crash tor.
38455 - Fix a number of memory leaks, including some pretty serious ones.
38456 - Re-enable DirPort testing again, so Tor servers will be willing
38457 to advertise their DirPort if it's reachable.
38458 - On TLS handshake, only check the other router's nickname against
38459 its expected nickname if is_named is set.
38461 o Fixes forward-ported from 0.1.0.15:
38462 - Don't crash when we don't have any spare file descriptors and we
38463 try to spawn a dns or cpu worker.
38464 - Make the numbers in read-history and write-history into uint64s,
38465 so they don't overflow and publish negatives in the descriptor.
38467 o Fixes on 0.1.0.x:
38468 - For the OS X package's modified privoxy config file, comment
38469 out the "logfile" line so we don't log everything passed
38471 - We were whining about using socks4 or socks5-with-local-lookup
38472 even when it's an IP in the "virtual" range we designed exactly
38474 - We were leaking some memory every time the client changes IPs.
38475 - Never call free() on tor_malloc()d memory. This will help us
38476 use dmalloc to detect memory leaks.
38477 - Check for named servers when looking them up by nickname;
38478 warn when we'recalling a non-named server by its nickname;
38479 don't warn twice about the same name.
38480 - Try to list MyFamily elements by key, not by nickname, and warn
38481 if we've not heard of the server.
38482 - Make windows platform detection (uname equivalent) smarter.
38483 - It turns out sparc64 doesn't like unaligned access either.
38486 Changes in version 0.1.0.15 - 2005-09-23
38487 o Bugfixes on 0.1.0.x:
38488 - Reject ports 465 and 587 (spam targets) in default exit policy.
38489 - Don't crash when we don't have any spare file descriptors and we
38490 try to spawn a dns or cpu worker.
38491 - Get rid of IgnoreVersion undocumented config option, and make us
38492 only warn, never exit, when we're running an obsolete version.
38493 - Don't try to print a null string when your server finds itself to
38494 be unreachable and the Address config option is empty.
38495 - Make the numbers in read-history and write-history into uint64s,
38496 so they don't overflow and publish negatives in the descriptor.
38497 - Fix a minor memory leak in smartlist_string_remove().
38498 - We were only allowing ourselves to upload a server descriptor at
38499 most every 20 minutes, even if it changed earlier than that.
38500 - Clean up log entries that pointed to old URLs.
38503 Changes in version 0.1.1.7-alpha - 2005-09-14
38504 o Fixes on 0.1.1.6-alpha:
38505 - Exit servers were crashing when people asked them to make a
38506 connection to an address not in their exit policy.
38507 - Looking up a non-existent stream for a v1 control connection would
38509 - Fix a seg fault if we ask a dirserver for a descriptor by
38510 fingerprint but he doesn't know about him.
38511 - SETCONF was appending items to linelists, not clearing them.
38512 - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
38513 out and refuse the setconf if it would fail.
38514 - Downgrade the dirserver log messages when whining about
38518 - Add Peter Palfrader's check-tor script to tor/contrib/
38519 It lets you easily check whether a given server (referenced by
38520 nickname) is reachable by you.
38521 - Numerous changes to move towards client-side v2 directories. Not
38524 o Fixes on 0.1.0.x:
38525 - If the user gave tor an odd number of command-line arguments,
38526 we were silently ignoring the last one. Now we complain and fail.
38527 [This wins the oldest-bug prize -- this bug has been present since
38528 November 2002, as released in Tor 0.0.0.]
38529 - Do not use unaligned memory access on alpha, mips, or mipsel.
38530 It *works*, but is very slow, so we treat them as if it doesn't.
38531 - Retry directory requests if we fail to get an answer we like
38532 from a given dirserver (we were retrying before, but only if
38533 we fail to connect).
38534 - When writing the RecommendedVersions line, sort them first.
38535 - When the client asked for a rendezvous port that the hidden
38536 service didn't want to provide, we were sending an IP address
38537 back along with the end cell. Fortunately, it was zero. But stop
38539 - Correct "your server is reachable" log entries to indicate that
38540 it was self-testing that told us so.
38543 Changes in version 0.1.1.6-alpha - 2005-09-09
38544 o Fixes on 0.1.1.5-alpha:
38545 - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
38546 - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
38547 - Fix bug with tor_memmem finding a match at the end of the string.
38548 - Make unit tests run without segfaulting.
38549 - Resolve some solaris x86 compile warnings.
38550 - Handle duplicate lines in approved-routers files without warning.
38551 - Fix bug where as soon as a server refused any requests due to his
38552 exit policy (e.g. when we ask for localhost and he tells us that's
38553 127.0.0.1 and he won't do it), we decided he wasn't obeying his
38554 exit policy using him for any exits.
38555 - Only do openssl hardware accelerator stuff if openssl version is
38558 o New controller features/fixes:
38559 - Add a "RESETCONF" command so you can set config options like
38560 AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
38561 a config option in the torrc with no value, then it clears it
38562 entirely (rather than setting it to its default).
38563 - Add a "GETINFO config-file" to tell us where torrc is.
38564 - Avoid sending blank lines when GETINFO replies should be empty.
38565 - Add a QUIT command for the controller (for using it manually).
38566 - Fix a bug in SAVECONF that was adding default dirservers and
38567 other redundant entries to the torrc file.
38569 o Start on the new directory design:
38570 - Generate, publish, cache, serve new network-status format.
38571 - Publish individual descriptors (by fingerprint, by "all", and by
38573 - Publish client and server recommended versions separately.
38574 - Allow tor_gzip_uncompress() to handle multiple concatenated
38575 compressed strings. Serve compressed groups of router
38576 descriptors. The compression logic here could be more
38578 - Distinguish v1 authorities (all currently trusted directories)
38579 from v2 authorities (all trusted directories).
38580 - Change DirServers config line to note which dirs are v1 authorities.
38581 - Add configuration option "V1AuthoritativeDirectory 1" which
38582 moria1, moria2, and tor26 should set.
38583 - Remove option when getting directory cache to see whether they
38584 support running-routers; they all do now. Replace it with one
38585 to see whether caches support v2 stuff.
38588 - Dirservers now do their own external reachability testing of each
38589 Tor server, and only list them as running if they've been found to
38590 be reachable. We also send back warnings to the server's logs if
38591 it uploads a descriptor that we already believe is unreachable.
38592 - Implement exit enclaves: if we know an IP address for the
38593 destination, and there's a running Tor server at that address
38594 which allows exit to the destination, then extend the circuit to
38595 that exit first. This provides end-to-end encryption and end-to-end
38596 authentication. Also, if the user wants a .exit address or enclave,
38597 use 4 hops rather than 3, and cannibalize a general circ for it
38599 - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
38600 controller. Also, rotate dns and cpu workers if the controller
38601 changes options that will affect them; and initialize the dns
38602 worker cache tree whether or not we start out as a server.
38603 - Only upload a new server descriptor when options change, 18
38604 hours have passed, uptime is reset, or bandwidth changes a lot.
38605 - Check [X-]Forwarded-For headers in HTTP requests when generating
38606 log messages. This lets people run dirservers (and caches) behind
38607 Apache but still know which IP addresses are causing warnings.
38609 o Config option changes:
38610 - Replace (Fascist)Firewall* config options with a new
38611 ReachableAddresses option that understands address policies.
38612 For example, "ReachableAddresses *:80,*:443"
38613 - Get rid of IgnoreVersion undocumented config option, and make us
38614 only warn, never exit, when we're running an obsolete version.
38615 - Make MonthlyAccountingStart config option truly obsolete now.
38617 o Fixes on 0.1.0.x:
38618 - Reject ports 465 and 587 in the default exit policy, since
38619 people have started using them for spam too.
38620 - It turns out we couldn't bootstrap a network since we added
38621 reachability detection in 0.1.0.1-rc. Good thing the Tor network
38622 has never gone down. Add an AssumeReachable config option to let
38623 servers and dirservers bootstrap. When we're trying to build a
38624 high-uptime or high-bandwidth circuit but there aren't enough
38625 suitable servers, try being less picky rather than simply failing.
38626 - Our logic to decide if the OR we connected to was the right guy
38627 was brittle and maybe open to a mitm for unverified routers.
38628 - We weren't cannibalizing circuits correctly for
38629 CIRCUIT_PURPOSE_C_ESTABLISH_REND and
38630 CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
38631 build those from scratch. This should make hidden services faster.
38632 - Predict required circuits better, with an eye toward making hidden
38633 services faster on the service end.
38634 - Retry streams if the exit node sends back a 'misc' failure. This
38635 should result in fewer random failures. Also, after failing
38636 from resolve failed or misc, reset the num failures, so we give
38637 it a fair shake next time we try.
38638 - Clean up the rendezvous warn log msgs, and downgrade some to info.
38639 - Reduce severity on logs about dns worker spawning and culling.
38640 - When we're shutting down and we do something like try to post a
38641 server descriptor or rendezvous descriptor, don't complain that
38642 we seem to be unreachable. Of course we are, we're shutting down.
38643 - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
38644 We don't use them yet, but maybe one day our DNS resolver will be
38645 able to discover them.
38646 - Make ContactInfo mandatory for authoritative directory servers.
38647 - Require server descriptors to list IPv4 addresses -- hostnames
38648 are no longer allowed. This also fixes some potential security
38649 problems with people providing hostnames as their address and then
38650 preferentially resolving them to partition users.
38651 - Change log line for unreachability to explicitly suggest /etc/hosts
38652 as the culprit. Also make it clearer what IP address and ports we're
38653 testing for reachability.
38654 - Put quotes around user-supplied strings when logging so users are
38655 more likely to realize if they add bad characters (like quotes)
38657 - Let auth dir servers start without specifying an Address config
38659 - Make unit tests (and other invocations that aren't the real Tor)
38660 run without launching listeners, creating subdirectories, and so on.
38663 Changes in version 0.1.1.5-alpha - 2005-08-08
38664 o Bugfixes included in 0.1.0.14.
38666 o Bugfixes on 0.1.0.x:
38667 - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
38668 torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
38669 it would silently using ignore the 6668.
38672 Changes in version 0.1.0.14 - 2005-08-08
38673 o Bugfixes on 0.1.0.x:
38674 - Fix the other half of the bug with crypto handshakes
38676 - Fix an assert trigger if you send a 'signal term' via the
38677 controller when it's listening for 'event info' messages.
38680 Changes in version 0.1.1.4-alpha - 2005-08-04
38681 o Bugfixes included in 0.1.0.13.
38684 - Improve tor_gettimeofday() granularity on windows.
38685 - Make clients regenerate their keys when their IP address changes.
38686 - Implement some more GETINFO goodness: expose helper nodes, config
38687 options, getinfo keys.
38690 Changes in version 0.1.0.13 - 2005-08-04
38691 o Bugfixes on 0.1.0.x:
38692 - Fix a critical bug in the security of our crypto handshakes.
38693 - Fix a size_t underflow in smartlist_join_strings2() that made
38694 it do bad things when you hand it an empty smartlist.
38695 - Fix Windows installer to ship Tor license (thanks to Aphex for
38696 pointing out this oversight) and put a link to the doc directory
38698 - Explicitly set no-unaligned-access for sparc: it turns out the
38699 new gcc's let you compile broken code, but that doesn't make it
38703 Changes in version 0.1.1.3-alpha - 2005-07-23
38704 o Bugfixes on 0.1.1.2-alpha:
38705 - Fix a bug in handling the controller's "post descriptor"
38707 - Fix several bugs in handling the controller's "extend circuit"
38709 - Fix a bug in handling the controller's "stream status" event.
38710 - Fix an assert failure if we have a controller listening for
38711 circuit events and we go offline.
38712 - Re-allow hidden service descriptors to publish 0 intro points.
38713 - Fix a crash when generating your hidden service descriptor if
38714 you don't have enough intro points already.
38716 o New features on 0.1.1.2-alpha:
38717 - New controller function "getinfo accounting", to ask how
38718 many bytes we've used in this time period.
38719 - Experimental support for helper nodes: a lot of the risk from
38720 a small static adversary comes because users pick new random
38721 nodes every time they rebuild a circuit. Now users will try to
38722 stick to the same small set of entry nodes if they can. Not
38723 enabled by default yet.
38725 o Bugfixes on 0.1.0.12:
38726 - If you're an auth dir server, always publish your dirport,
38727 even if you haven't yet found yourself to be reachable.
38728 - Fix a size_t underflow in smartlist_join_strings2() that made
38729 it do bad things when you hand it an empty smartlist.
38732 Changes in version 0.1.0.12 - 2005-07-18
38733 o New directory servers:
38734 - tor26 has changed IP address.
38736 o Bugfixes on 0.1.0.x:
38737 - Fix a possible double-free in tor_gzip_uncompress().
38738 - When --disable-threads is set, do not search for or link against
38739 pthreads libraries.
38740 - Don't trigger an assert if an authoritative directory server
38741 claims its dirport is 0.
38742 - Fix bug with removing Tor as an NT service: some people were
38743 getting "The service did not return an error." Thanks to Matt
38747 Changes in version 0.1.1.2-alpha - 2005-07-15
38748 o New directory servers:
38749 - tor26 has changed IP address.
38751 o Bugfixes on 0.1.0.x, crashes/leaks:
38752 - Port the servers-not-obeying-their-exit-policies fix from
38754 - Fix an fd leak in start_daemon().
38755 - On Windows, you can't always reopen a port right after you've
38756 closed it. So change retry_listeners() to only close and re-open
38757 ports that have changed.
38758 - Fix a possible double-free in tor_gzip_uncompress().
38760 o Bugfixes on 0.1.0.x, usability:
38761 - When tor_socketpair() fails in Windows, give a reasonable
38762 Windows-style errno back.
38763 - Let people type "tor --install" as well as "tor -install" when
38765 want to make it an NT service.
38766 - NT service patch from Matt Edman to improve error messages.
38767 - When the controller asks for a config option with an abbreviated
38768 name, give the full name in our response.
38769 - Correct the man page entry on TrackHostExitsExpire.
38770 - Looks like we were never delivering deflated (i.e. compressed)
38771 running-routers lists, even when asked. Oops.
38772 - When --disable-threads is set, do not search for or link against
38773 pthreads libraries.
38775 o Bugfixes on 0.1.1.x:
38776 - Fix a seg fault with autodetecting which controller version is
38780 - New hidden service descriptor format: put a version in it, and
38781 let people specify introduction/rendezvous points that aren't
38782 in "the directory" (which is subjective anyway).
38783 - Allow the DEBUG controller event to work again. Mark certain log
38784 entries as "don't tell this to controllers", so we avoid cycles.
38787 Changes in version 0.1.0.11 - 2005-06-30
38788 o Bugfixes on 0.1.0.x:
38789 - Fix major security bug: servers were disregarding their
38790 exit policies if clients behaved unexpectedly.
38791 - Make OS X init script check for missing argument, so we don't
38792 confuse users who invoke it incorrectly.
38793 - Fix a seg fault in "tor --hash-password foo".
38794 - The MAPADDRESS control command was broken.
38797 Changes in version 0.1.1.1-alpha - 2005-06-29
38799 - Make OS X init script check for missing argument, so we don't
38800 confuse users who invoke it incorrectly.
38801 - Fix a seg fault in "tor --hash-password foo".
38802 - Fix a possible way to DoS dirservers.
38803 - When we complain that your exit policy implicitly allows local or
38804 private address spaces, name them explicitly so operators can
38806 - Make the log message less scary when all the dirservers are
38807 temporarily unreachable.
38808 - We were printing the number of idle dns workers incorrectly when
38812 - Revised controller protocol (version 1) that uses ascii rather
38813 than binary. Add supporting libraries in python and java so you
38814 can use the controller from your applications without caring how
38815 our protocol works.
38816 - Spiffy new support for crypto hardware accelerators. Can somebody
38820 Changes in version 0.0.9.10 - 2005-06-16
38821 o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
38822 - Refuse relay cells that claim to have a length larger than the
38823 maximum allowed. This prevents a potential attack that could read
38824 arbitrary memory (e.g. keys) from an exit server's process
38828 Changes in version 0.1.0.10 - 2005-06-14
38829 o Allow a few EINVALs from libevent before dying. Warn on kqueue with
38830 libevent before 1.1a.
38833 Changes in version 0.1.0.9-rc - 2005-06-09
38835 - Reset buf->highwater every time buf_shrink() is called, not just on
38836 a successful shrink. This was causing significant memory bloat.
38837 - Fix buffer overflow when checking hashed passwords.
38838 - Security fix: if seeding the RNG on Win32 fails, quit.
38839 - Allow seeding the RNG on Win32 even when you're not running as
38841 - Disable threading on Solaris too. Something is wonky with it,
38842 cpuworkers, and reentrant libs.
38843 - Reenable the part of the code that tries to flush as soon as an
38844 OR outbuf has a full TLS record available. Perhaps this will make
38845 OR outbufs not grow as huge except in rare cases, thus saving lots
38846 of CPU time plus memory.
38847 - Reject malformed .onion addresses rather then passing them on as
38848 normal web requests.
38849 - Adapt patch from Adam Langley: fix possible memory leak in
38850 tor_lookup_hostname().
38851 - Initialize libevent later in the startup process, so the logs are
38852 already established by the time we start logging libevent warns.
38853 - Use correct errno on win32 if libevent fails.
38854 - Check and warn about known-bad/slow libevent versions.
38855 - Pay more attention to the ClientOnly config option.
38856 - Have torctl.in/tor.sh.in check for location of su binary (needed
38858 - Correct/add man page entries for LongLivedPorts, ExitPolicy,
38859 KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
38860 HttpProxyAuthenticator
38861 - Stop warning about sigpipes in the logs. We're going to
38862 pretend that getting these occasionally is normal and fine.
38863 - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
38865 installer screens; and don't put stuff into StartupItems unless
38866 the user asks you to.
38867 - Require servers that use the default dirservers to have public IP
38868 addresses. We have too many servers that are configured with private
38869 IPs and their admins never notice the log entries complaining that
38870 their descriptors are being rejected.
38871 - Add OSX uninstall instructions. An actual uninstall script will
38875 Changes in version 0.1.0.8-rc - 2005-05-23
38877 - It turns out that kqueue on OS X 10.3.9 was causing kernel
38878 panics. Disable kqueue on all OS X Tors.
38879 - Fix RPM: remove duplicate line accidentally added to the rpm
38881 - Disable threads on openbsd too, since its gethostaddr is not
38883 - Tolerate libevent 0.8 since it still works, even though it's
38885 - Enable building on Red Hat 9.0 again.
38886 - Allow the middle hop of the testing circuit to be running any
38887 version, now that most of them have the bugfix to let them connect
38888 to unknown servers. This will allow reachability testing to work
38889 even when 0.0.9.7-0.0.9.9 become obsolete.
38890 - Handle relay cells with rh.length too large. This prevents
38891 a potential attack that could read arbitrary memory (maybe even
38892 keys) from the exit server's process.
38893 - We screwed up the dirport reachability testing when we don't yet
38894 have a cached version of the directory. Hopefully now fixed.
38895 - Clean up router_load_single_router() (used by the controller),
38896 so it doesn't seg fault on error.
38897 - Fix a minor memory leak when somebody establishes an introduction
38898 point at your Tor server.
38899 - If a socks connection ends because read fails, don't warn that
38900 you're not sending a socks reply back.
38903 - Add HttpProxyAuthenticator config option too, that works like
38904 the HttpsProxyAuthenticator config option.
38905 - Encode hashed controller passwords in hex instead of base64,
38906 to make it easier to write controllers.
38909 Changes in version 0.1.0.7-rc - 2005-05-17
38911 - Fix a bug in the OS X package installer that prevented it from
38912 installing on Tiger.
38913 - Fix a script bug in the OS X package installer that made it
38914 complain during installation.
38915 - Find libevent even if it's hiding in /usr/local/ and your
38916 CFLAGS and LDFLAGS don't tell you to look there.
38917 - Be able to link with libevent as a shared library (the default
38918 after 1.0d), even if it's hiding in /usr/local/lib and even
38919 if you haven't added /usr/local/lib to your /etc/ld.so.conf,
38920 assuming you're running gcc. Otherwise fail and give a useful
38922 - Fix a bug in the RPM packager: set home directory for _tor to
38923 something more reasonable when first installing.
38924 - Free a minor amount of memory that is still reachable on exit.
38927 Changes in version 0.1.0.6-rc - 2005-05-14
38929 - Implement --disable-threads configure option. Disable threads on
38930 netbsd by default, because it appears to have no reentrant resolver
38932 - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
38933 release (1.1) detects and disables kqueue if it's broken.
38934 - Append default exit policy before checking for implicit internal
38935 addresses. Now we don't log a bunch of complaints on startup
38936 when using the default exit policy.
38937 - Some people were putting "Address " in their torrc, and they had
38938 a buggy resolver that resolved " " to 0.0.0.0. Oops.
38939 - If DataDir is ~/.tor, and that expands to /.tor, then default to
38940 LOCALSTATEDIR/tor instead.
38941 - Fix fragmented-message bug in TorControl.py.
38942 - Resolve a minor bug which would prevent unreachable dirports
38943 from getting suppressed in the published descriptor.
38944 - When the controller gave us a new descriptor, we weren't resolving
38945 it immediately, so Tor would think its address was 0.0.0.0 until
38946 we fetched a new directory.
38947 - Fix an uppercase/lowercase case error in suppressing a bogus
38948 libevent warning on some Linuxes.
38951 - Begin scrubbing sensitive strings from logs by default. Turn off
38952 the config option SafeLogging if you need to do debugging.
38953 - Switch to a new buffer management algorithm, which tries to avoid
38954 reallocing and copying quite as much. In first tests it looks like
38955 it uses *more* memory on average, but less cpu.
38956 - First cut at support for "create-fast" cells. Clients can use
38957 these when extending to their first hop, since the TLS already
38958 provides forward secrecy and authentication. Not enabled on
38960 - When dirservers refuse a router descriptor, we now log its
38961 contactinfo, platform, and the poster's IP address.
38962 - Call tor_free_all instead of connections_free_all after forking, to
38963 save memory on systems that need to fork.
38964 - Whine at you if you're a server and you don't set your contactinfo.
38965 - Implement --verify-config command-line option to check if your torrc
38966 is valid without actually launching Tor.
38967 - Rewrite address "serifos.exit" to "localhost.serifos.exit"
38968 rather than just rejecting it.
38971 Changes in version 0.1.0.5-rc - 2005-04-27
38973 - Stop trying to print a null pointer if an OR conn fails because
38974 we didn't like its cert.
38976 - Switch our internal buffers implementation to use a ring buffer,
38977 to hopefully improve performance for fast servers a lot.
38978 - Add HttpsProxyAuthenticator support (basic auth only), based
38979 on patch from Adam Langley.
38980 - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
38981 the fast servers that have been joining lately.
38982 - Give hidden service accesses extra time on the first attempt,
38983 since 60 seconds is often only barely enough. This might improve
38985 - Improve performance for dirservers: stop re-parsing the whole
38986 directory every time you regenerate it.
38987 - Add more debugging info to help us find the weird dns freebsd
38988 pthreads bug; cleaner debug messages to help track future issues.
38991 Changes in version 0.0.9.9 - 2005-04-23
38992 o Bugfixes on 0.0.9.x:
38993 - If unofficial Tor clients connect and send weird TLS certs, our
38994 Tor server triggers an assert. This release contains a minimal
38995 backport from the broader fix that we put into 0.1.0.4-rc.
38998 Changes in version 0.1.0.4-rc - 2005-04-23
39000 - If unofficial Tor clients connect and send weird TLS certs, our
39001 Tor server triggers an assert. Stop asserting, and start handling
39002 TLS errors better in other situations too.
39003 - When the controller asks us to tell it about all the debug-level
39004 logs, it turns out we were generating debug-level logs while
39005 telling it about them, which turns into a bad loop. Now keep
39006 track of whether you're sending a debug log to the controller,
39007 and don't log when you are.
39008 - Fix the "postdescriptor" feature of the controller interface: on
39009 non-complete success, only say "done" once.
39011 - Clients are now willing to load balance over up to 2mB, not 1mB,
39012 of advertised bandwidth capacity.
39013 - Add a NoPublish config option, so you can be a server (e.g. for
39014 testing running Tor servers in other Tor networks) without
39015 publishing your descriptor to the primary dirservers.
39018 Changes in version 0.1.0.3-rc - 2005-04-08
39019 o Improvements on 0.1.0.2-rc:
39020 - Client now retries when streams end early for 'hibernating' or
39021 'resource limit' reasons, rather than failing them.
39022 - More automated handling for dirserver operators:
39023 - Automatically approve nodes running 0.1.0.2-rc or later,
39024 now that the the reachability detection stuff is working.
39025 - Now we allow two unverified servers with the same nickname
39026 but different keys. But if a nickname is verified, only that
39027 nickname+key are allowed.
39028 - If you're an authdirserver connecting to an address:port,
39029 and it's not the OR you were expecting, forget about that
39030 descriptor. If he *was* the one you were expecting, then forget
39031 about all other descriptors for that address:port.
39032 - Allow servers to publish descriptors from 12 hours in the future.
39033 Corollary: only whine about clock skew from the dirserver if
39034 he's a trusted dirserver (since now even verified servers could
39035 have quite wrong clocks).
39036 - Adjust maximum skew and age for rendezvous descriptors: let skew
39037 be 48 hours rather than 90 minutes.
39038 - Efficiency improvements:
39039 - Keep a big splay tree of (circid,orconn)->circuit mappings to make
39040 it much faster to look up a circuit for each relay cell.
39041 - Remove most calls to assert_all_pending_dns_resolves_ok(),
39042 since they're eating our cpu on exit nodes.
39043 - Stop wasting time doing a case insensitive comparison for every
39044 dns name every time we do any lookup. Canonicalize the names to
39045 lowercase and be done with it.
39046 - Start sending 'truncated' cells back rather than destroy cells,
39047 if the circuit closes in front of you. This means we won't have
39048 to abandon partially built circuits.
39049 - Only warn once per nickname from add_nickname_list_to_smartlist
39050 per failure, so an entrynode or exitnode choice that's down won't
39052 - Put a note in the torrc about abuse potential with the default
39054 - Revise control spec and implementation to allow all log messages to
39055 be sent to controller with their severities intact (suggested by
39056 Matt Edman). Update TorControl to handle new log event types.
39057 - Provide better explanation messages when controller's POSTDESCRIPTOR
39059 - Stop putting nodename in the Platform string in server descriptors.
39060 It doesn't actually help, and it is confusing/upsetting some people.
39062 o Bugfixes on 0.1.0.2-rc:
39063 - We were printing the host mask wrong in exit policies in server
39064 descriptors. This isn't a critical bug though, since we were still
39065 obeying the exit policy internally.
39066 - Fix Tor when compiled with libevent but without pthreads: move
39067 connection_unregister() from _connection_free() to
39069 - Fix an assert trigger (already fixed in 0.0.9.x): when we have
39070 the rare mysterious case of accepting a conn on 0.0.0.0:0, then
39071 when we look through the connection array, we'll find any of the
39072 cpu/dnsworkers. This is no good.
39074 o Bugfixes on 0.0.9.8:
39075 - Fix possible bug on threading platforms (e.g. win32) which was
39076 leaking a file descriptor whenever a cpuworker or dnsworker died.
39077 - When using preferred entry or exit nodes, ignore whether the
39078 circuit wants uptime or capacity. They asked for the nodes, they
39080 - chdir() to your datadirectory at the *end* of the daemonize process,
39081 not the beginning. This was a problem because the first time you
39082 run tor, if your datadir isn't there, and you have runasdaemon set
39083 to 1, it will try to chdir to it before it tries to create it. Oops.
39084 - Handle changed router status correctly when dirserver reloads
39085 fingerprint file. We used to be dropping all unverified descriptors
39086 right then. The bug was hidden because we would immediately
39087 fetch a directory from another dirserver, which would include the
39088 descriptors we just dropped.
39089 - When we're connecting to an OR and he's got a different nickname/key
39090 than we were expecting, only complain loudly if we're an OP or a
39091 dirserver. Complaining loudly to the OR admins just confuses them.
39092 - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
39093 artificially capped at 500kB.
39096 Changes in version 0.0.9.8 - 2005-04-07
39097 o Bugfixes on 0.0.9.x:
39098 - We have a bug that I haven't found yet. Sometimes, very rarely,
39099 cpuworkers get stuck in the 'busy' state, even though the cpuworker
39100 thinks of itself as idle. This meant that no new circuits ever got
39101 established. Here's a workaround to kill any cpuworker that's been
39102 busy for more than 100 seconds.
39105 Changes in version 0.1.0.2-rc - 2005-04-01
39106 o Bugfixes on 0.1.0.1-rc:
39107 - Fixes on reachability detection:
39108 - Don't check for reachability while hibernating.
39109 - If ORPort is reachable but DirPort isn't, still publish the
39110 descriptor, but zero out DirPort until it's found reachable.
39111 - When building testing circs for ORPort testing, use only
39112 high-bandwidth nodes, so fewer circuits fail.
39113 - Complain about unreachable ORPort separately from unreachable
39114 DirPort, so the user knows what's going on.
39115 - Make sure we only conclude ORPort reachability if we didn't
39116 initiate the conn. Otherwise we could falsely conclude that
39117 we're reachable just because we connected to the guy earlier
39118 and he used that same pipe to extend to us.
39119 - Authdirservers shouldn't do ORPort reachability detection,
39120 since they're in clique mode, so it will be rare to find a
39121 server not already connected to them.
39122 - When building testing circuits, always pick middle hops running
39123 Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
39124 bug. (This is a kludge; it will go away when 0.0.9.x becomes
39126 - When we decide we're reachable, actually publish our descriptor
39128 - Fix bug in redirectstream in the controller.
39129 - Fix the state descriptor strings so logs don't claim edge streams
39130 are in a different state than they actually are.
39131 - Use recent libevent features when possible (this only really affects
39132 win32 and osx right now, because the new libevent with these
39133 features hasn't been released yet). Add code to suppress spurious
39135 - Prevent possible segfault in connection_close_unattached_ap().
39136 - Fix newlines on torrc in win32.
39137 - Improve error msgs when tor-resolve fails.
39139 o Improvements on 0.0.9.x:
39140 - New experimental script tor/contrib/ExerciseServer.py (needs more
39141 work) that uses the controller interface to build circuits and
39142 fetch pages over them. This will help us bootstrap servers that
39143 have lots of capacity but haven't noticed it yet.
39144 - New experimental script tor/contrib/PathDemo.py (needs more work)
39145 that uses the controller interface to let you choose whole paths
39147 "<hostname>.<path,separated by dots>.<length of path>.path"
39148 - When we've connected to an OR and handshaked but didn't like
39149 the result, we were closing the conn without sending destroy
39150 cells back for pending circuits. Now send those destroys.
39153 Changes in version 0.0.9.7 - 2005-04-01
39154 o Bugfixes on 0.0.9.x:
39155 - Fix another race crash bug (thanks to Glenn Fink for reporting).
39156 - Compare identity to identity, not to nickname, when extending to
39157 a router not already in the directory. This was preventing us from
39158 extending to unknown routers. Oops.
39159 - Make sure to create OS X Tor user in <500 range, so we aren't
39160 creating actual system users.
39161 - Note where connection-that-hasn't-sent-end was marked, and fix
39162 a few really loud instances of this harmless bug (it's fixed more
39166 Changes in version 0.1.0.1-rc - 2005-03-28
39168 - Add reachability testing. Your Tor server will automatically try
39169 to see if its ORPort and DirPort are reachable from the outside,
39170 and it won't upload its descriptor until it decides they are.
39171 - Handle unavailable hidden services better. Handle slow or busy
39172 hidden services better.
39173 - Add support for CONNECTing through https proxies, with "HttpsProxy"
39175 - New exit policy: accept most low-numbered ports, rather than
39176 rejecting most low-numbered ports.
39177 - More Tor controller support (still experimental). See
39178 http://tor.eff.org/doc/control-spec.txt for all the new features,
39179 including signals to emulate unix signals from any platform;
39180 redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
39181 closestream; closecircuit; etc.
39182 - Make nt services work and start on startup on win32 (based on
39183 patch by Matt Edman).
39184 - Add a new AddressMap config directive to rewrite incoming socks
39185 addresses. This lets you, for example, declare an implicit
39186 required exit node for certain sites.
39187 - Add a new TrackHostExits config directive to trigger addressmaps
39188 for certain incoming socks addresses -- for sites that break when
39189 your exit keeps changing (based on patch by Mike Perry).
39190 - Redo the client-side dns cache so it's just an addressmap too.
39191 - Notice when our IP changes, and reset stats/uptime/reachability.
39192 - When an application is using socks5, give him the whole variety of
39193 potential socks5 responses (connect refused, host unreachable, etc),
39194 rather than just "success" or "failure".
39195 - A more sane version numbering system. See
39196 http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
39197 - New contributed script "exitlist": a simple python script to
39198 parse directories and find Tor nodes that exit to listed
39200 - New contributed script "privoxy-tor-toggle" to toggle whether
39201 Privoxy uses Tor. Seems to be configured for Debian by default.
39202 - Report HTTP reasons to client when getting a response from directory
39203 servers -- so you can actually know what went wrong.
39204 - New config option MaxAdvertisedBandwidth which lets you advertise
39205 a low bandwidthrate (to not attract as many circuits) while still
39206 allowing a higher bandwidthrate in reality.
39208 o Robustness/stability fixes:
39209 - Make Tor use Niels Provos's libevent instead of its current
39210 poll-but-sometimes-select mess. This will let us use faster async
39211 cores (like epoll, kpoll, and /dev/poll), and hopefully work better
39213 - pthread support now too. This was forced because when we forked,
39214 we ended up wasting a lot of duplicate ram over time. Also switch
39215 to foo_r versions of some library calls to allow reentry and
39217 - Better handling for heterogeneous / unreliable nodes:
39218 - Annotate circuits w/ whether they aim to contain high uptime nodes
39219 and/or high capacity nodes. When building circuits, choose
39221 - This means that every single node in an intro rend circuit,
39222 not just the last one, will have a minimum uptime.
39223 - New config option LongLivedPorts to indicate application streams
39224 that will want high uptime circuits.
39225 - Servers reset uptime when a dir fetch entirely fails. This
39226 hopefully reflects stability of the server's network connectivity.
39227 - If somebody starts his tor server in Jan 2004 and then fixes his
39228 clock, don't make his published uptime be a year.
39229 - Reset published uptime when you wake up from hibernation.
39230 - Introduce a notion of 'internal' circs, which are chosen without
39231 regard to the exit policy of the last hop. Intro and rendezvous
39232 circs must be internal circs, to avoid leaking information. Resolve
39233 and connect streams can use internal circs if they want.
39234 - New circuit pooling algorithm: make sure to have enough circs around
39235 to satisfy any predicted ports, and also make sure to have 2 internal
39236 circs around if we've required internal circs lately (and with high
39237 uptime if we've seen that lately too).
39238 - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
39239 which describes how often we retry making new circuits if current
39240 ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
39241 how long we're willing to make use of an already-dirty circuit.
39242 - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
39243 circ as necessary, if there are any completed ones lying around
39244 when we try to launch one.
39245 - Make hidden services try to establish a rendezvous for 30 seconds,
39246 rather than for n (where n=3) attempts to build a circuit.
39247 - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
39248 "ShutdownWaitLength".
39249 - Try to be more zealous about calling connection_edge_end when
39250 things go bad with edge conns in connection.c.
39251 - Revise tor-spec to add more/better stream end reasons.
39252 - Revise all calls to connection_edge_end to avoid sending "misc",
39253 and to take errno into account where possible.
39256 - Fix a race condition that can trigger an assert, when we have a
39257 pending create cell and an OR connection fails right then.
39258 - Fix several double-mark-for-close bugs, e.g. where we were finding
39259 a conn for a cell even if that conn is already marked for close.
39260 - Make sequence of log messages when starting on win32 with no config
39261 file more reasonable.
39262 - When choosing an exit node for a new non-internal circ, don't take
39263 into account whether it'll be useful for any pending x.onion
39264 addresses -- it won't.
39265 - Turn addr_policy_compare from a tristate to a quadstate; this should
39266 help address our "Ah, you allow 1.2.3.4:80. You are a good choice
39267 for google.com" problem.
39268 - Make "platform" string in descriptor more accurate for Win32 servers,
39269 so it's not just "unknown platform".
39270 - Fix an edge case in parsing config options (thanks weasel).
39271 If they say "--" on the commandline, it's not an option.
39272 - Reject odd-looking addresses at the client (e.g. addresses that
39273 contain a colon), rather than having the server drop them because
39275 - tor-resolve requests were ignoring .exit if there was a working circuit
39276 they could use instead.
39277 - REUSEADDR on normal platforms means you can rebind to the port
39278 right after somebody else has let it go. But REUSEADDR on win32
39279 means to let you bind to the port _even when somebody else
39280 already has it bound_! So, don't do that on Win32.
39281 - Change version parsing logic: a version is "obsolete" if it is not
39282 recommended and (1) there is a newer recommended version in the
39283 same series, or (2) there are no recommended versions in the same
39284 series, but there are some recommended versions in a newer series.
39285 A version is "new" if it is newer than any recommended version in
39287 - Stop most cases of hanging up on a socks connection without sending
39291 - Require BandwidthRate to be at least 20kB/s for servers.
39292 - When a dirserver causes you to give a warn, mention which dirserver
39294 - New config option DirAllowPrivateAddresses for authdirservers.
39295 Now by default they refuse router descriptors that have non-IP or
39296 private-IP addresses.
39297 - Stop publishing socksport in the directory, since it's not
39298 actually meant to be public. For compatibility, publish a 0 there
39300 - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
39301 smart" value, that is low for servers and high for clients.
39302 - If our clock jumps forward by 100 seconds or more, assume something
39303 has gone wrong with our network and abandon all not-yet-used circs.
39304 - Warn when exit policy implicitly allows local addresses.
39305 - If we get an incredibly skewed timestamp from a dirserver mirror
39306 that isn't a verified OR, don't warn -- it's probably him that's
39308 - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
39309 cookies to disk and doesn't log each web request to disk. (Thanks
39310 to Brett Carrington for pointing this out.)
39311 - When a client asks us for a dir mirror and we don't have one,
39312 launch an attempt to get a fresh one.
39313 - If we're hibernating and we get a SIGINT, exit immediately.
39314 - Add --with-dmalloc ./configure option, to track memory leaks.
39315 - And try to free all memory on closing, so we can detect what
39317 - Cache local dns resolves correctly even when they're .exit
39319 - Give a better warning when some other server advertises an
39320 ORPort that is actually an apache running ssl.
39321 - Add "opt hibernating 1" to server descriptor to make it clearer
39322 whether the server is hibernating.
39325 Changes in version 0.0.9.6 - 2005-03-24
39326 o Bugfixes on 0.0.9.x (crashes and asserts):
39327 - Add new end stream reasons to maintenance branch. Fix bug where
39328 reason (8) could trigger an assert. Prevent bug from recurring.
39329 - Apparently win32 stat wants paths to not end with a slash.
39330 - Fix assert triggers in assert_cpath_layer_ok(), where we were
39331 blowing away the circuit that conn->cpath_layer points to, then
39332 checking to see if the circ is well-formed. Backport check to make
39333 sure we dont use the cpath on a closed connection.
39334 - Prevent circuit_resume_edge_reading_helper() from trying to package
39335 inbufs for marked-for-close streams.
39336 - Don't crash on hup if your options->address has become unresolvable.
39337 - Some systems (like OS X) sometimes accept() a connection and tell
39338 you the remote host is 0.0.0.0:0. If this happens, due to some
39339 other mis-features, we get confused; so refuse the conn for now.
39341 o Bugfixes on 0.0.9.x (other):
39342 - Fix harmless but scary "Unrecognized content encoding" warn message.
39343 - Add new stream error reason: TORPROTOCOL reason means "you are not
39344 speaking a version of Tor I understand; say bye-bye to your stream."
39345 - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
39346 into the future, now that we are more tolerant of skew. This
39347 resolves a bug where a Tor server would refuse to cache a directory
39348 because all the directories it gets are too far in the future;
39349 yet the Tor server never logs any complaints about clock skew.
39350 - Mac packaging magic: make man pages useable, and do not overwrite
39351 existing torrc files.
39352 - Make OS X log happily to /var/log/tor/tor.log
39355 Changes in version 0.0.9.5 - 2005-02-22
39356 o Bugfixes on 0.0.9.x:
39357 - Fix an assert race at exit nodes when resolve requests fail.
39358 - Stop picking unverified dir mirrors--it only leads to misery.
39359 - Patch from Matt Edman to make NT services work better. Service
39360 support is still not compiled into the executable by default.
39361 - Patch from Dmitri Bely so the Tor service runs better under
39362 the win32 SYSTEM account.
39363 - Make tor-resolve actually work (?) on Win32.
39364 - Fix a sign bug when getrlimit claims to have 4+ billion
39365 file descriptors available.
39366 - Stop refusing to start when bandwidthburst == bandwidthrate.
39367 - When create cells have been on the onion queue more than five
39368 seconds, just send back a destroy and take them off the list.
39371 Changes in version 0.0.9.4 - 2005-02-03
39372 o Bugfixes on 0.0.9:
39373 - Fix an assert bug that took down most of our servers: when
39374 a server claims to have 1 GB of bandwidthburst, don't
39376 - Don't crash as badly if we have spawned the max allowed number
39377 of dnsworkers, or we're out of file descriptors.
39378 - Block more file-sharing ports in the default exit policy.
39379 - MaxConn is now automatically set to the hard limit of max
39380 file descriptors we're allowed (ulimit -n), minus a few for
39382 - Give a clearer message when servers need to raise their
39383 ulimit -n when they start running out of file descriptors.
39384 - SGI Compatibility patches from Jan Schaumann.
39385 - Tolerate a corrupt cached directory better.
39386 - When a dirserver hasn't approved your server, list which one.
39387 - Go into soft hibernation after 95% of the bandwidth is used,
39388 not 99%. This is especially important for daily hibernators who
39389 have a small accounting max. Hopefully it will result in fewer
39390 cut connections when the hard hibernation starts.
39391 - Load-balance better when using servers that claim more than
39392 800kB/s of capacity.
39393 - Make NT services work (experimental, only used if compiled in).
39396 Changes in version 0.0.9.3 - 2005-01-21
39397 o Bugfixes on 0.0.9:
39398 - Backport the cpu use fixes from main branch, so busy servers won't
39399 need as much processor time.
39400 - Work better when we go offline and then come back, or when we
39401 run Tor at boot before the network is up. We do this by
39402 optimistically trying to fetch a new directory whenever an
39403 application request comes in and we think we're offline -- the
39404 human is hopefully a good measure of when the network is back.
39405 - Backport some minimal hidserv bugfixes: keep rend circuits open as
39406 long as you keep using them; actually publish hidserv descriptors
39407 shortly after they change, rather than waiting 20-40 minutes.
39408 - Enable Mac startup script by default.
39409 - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
39410 - When you update AllowUnverifiedNodes or FirewallPorts via the
39411 controller's setconf feature, we were always appending, never
39413 - When you update HiddenServiceDir via setconf, it was screwing up
39414 the order of reading the lines, making it fail.
39415 - Do not rewrite a cached directory back to the cache; otherwise we
39416 will think it is recent and not fetch a newer one on startup.
39417 - Workaround for webservers that lie about Content-Encoding: Tor
39418 now tries to autodetect compressed directories and compression
39419 itself. This lets us Proxypass dir fetches through apache.
39422 Changes in version 0.0.9.2 - 2005-01-04
39423 o Bugfixes on 0.0.9 (crashes and asserts):
39424 - Fix an assert on startup when the disk is full and you're logging
39426 - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
39427 style address, then we'd crash.
39428 - Fix an assert trigger when the running-routers string we get from
39429 a dirserver is broken.
39430 - Make worker threads start and run on win32. Now win32 servers
39432 - Bandaid (not actually fix, but now it doesn't crash) an assert
39433 where the dns worker dies mysteriously and the main Tor process
39434 doesn't remember anything about the address it was resolving.
39436 o Bugfixes on 0.0.9 (Win32):
39437 - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
39438 name out of the warning/assert messages.
39439 - Fix a superficial "unhandled error on read" bug on win32.
39440 - The win32 installer no longer requires a click-through for our
39441 license, since our Free Software license grants rights but does not
39443 - Win32: When connecting to a dirserver fails, try another one
39444 immediately. (This was already working for non-win32 Tors.)
39445 - Stop trying to parse $HOME on win32 when hunting for default
39447 - Make tor-resolve.c work on win32 by calling network_init().
39449 o Bugfixes on 0.0.9 (other):
39450 - Make 0.0.9.x build on Solaris again.
39451 - Due to a fencepost error, we were blowing away the \n when reporting
39452 confvalue items in the controller. So asking for multiple config
39453 values at once couldn't work.
39454 - When listing circuits that are pending on an opening OR connection,
39455 if we're an OR we were listing circuits that *end* at us as
39456 being pending on every listener, dns/cpu worker, etc. Stop that.
39457 - Dirservers were failing to create 'running-routers' or 'directory'
39458 strings if we had more than some threshold of routers. Fix them so
39459 they can handle any number of routers.
39460 - Fix a superficial "Duplicate mark for close" bug.
39461 - Stop checking for clock skew for OR connections, even for servers.
39462 - Fix a fencepost error that was chopping off the last letter of any
39463 nickname that is the maximum allowed nickname length.
39464 - Update URLs in log messages so they point to the new website.
39465 - Fix a potential problem in mangling server private keys while
39466 writing to disk (not triggered yet, as far as we know).
39467 - Include the licenses for other free software we include in Tor,
39468 now that we're shipping binary distributions more regularly.
39471 Changes in version 0.0.9.1 - 2004-12-15
39472 o Bugfixes on 0.0.9:
39473 - Make hibernation actually work.
39474 - Make HashedControlPassword config option work.
39475 - When we're reporting event circuit status to a controller,
39476 don't use the stream status code.
39479 Changes in version 0.0.9 - 2004-12-12
39481 - Clean up manpage and torrc.sample file.
39482 - Clean up severities and text of log warnings.
39484 - Make servers trigger an assert when they enter hibernation.
39487 Changes in version 0.0.9rc7 - 2004-12-08
39488 o Bugfixes on 0.0.9rc:
39489 - Fix a stack-trashing crash when an exit node begins hibernating.
39490 - Avoid looking at unallocated memory while considering which
39491 ports we need to build circuits to cover.
39492 - Stop a sigpipe: when an 'end' cell races with eof from the app,
39493 we shouldn't hold-open-until-flush if the eof arrived first.
39494 - Fix a bug with init_cookie_authentication() in the controller.
39495 - When recommending new-format log lines, if the upper bound is
39496 LOG_ERR, leave it implicit.
39498 o Bugfixes on 0.0.8.1:
39499 - Fix a whole slew of memory leaks.
39500 - Fix isspace() and friends so they still make Solaris happy
39501 but also so they don't trigger asserts on win32.
39502 - Fix parse_iso_time on platforms without strptime (eg win32).
39503 - win32: tolerate extra "readable" events better.
39504 - win32: when being multithreaded, leave parent fdarray open.
39505 - Make unit tests work on win32.
39508 Changes in version 0.0.9rc6 - 2004-12-06
39509 o Bugfixes on 0.0.9pre:
39510 - Clean up some more integer underflow opportunities (not exploitable
39512 - While hibernating, hup should not regrow our listeners.
39513 - Send an end to the streams we close when we hibernate, rather
39514 than just chopping them off.
39515 - React to eof immediately on non-open edge connections.
39517 o Bugfixes on 0.0.8.1:
39518 - Calculate timeout for waiting for a connected cell from the time
39519 we sent the begin cell, not from the time the stream started. If
39520 it took a long time to establish the circuit, we would time out
39521 right after sending the begin cell.
39522 - Fix router_compare_addr_to_addr_policy: it was not treating a port
39523 of * as always matching, so we were picking reject *:* nodes as
39524 exit nodes too. Oops.
39527 - New circuit building strategy: keep a list of ports that we've
39528 used in the past 6 hours, and always try to have 2 circuits open
39529 or on the way that will handle each such port. Seed us with port
39530 80 so web users won't complain that Tor is "slow to start up".
39531 - Make kill -USR1 dump more useful stats about circuits.
39532 - When warning about retrying or giving up, print the address, so
39533 the user knows which one it's talking about.
39534 - If you haven't used a clean circuit in an hour, throw it away,
39535 just to be on the safe side. (This means after 6 hours a totally
39536 unused Tor client will have no circuits open.)
39539 Changes in version 0.0.9rc5 - 2004-12-01
39540 o Bugfixes on 0.0.8.1:
39541 - Disallow NDEBUG. We don't ever want anybody to turn off debug.
39542 - Let resolve conns retry/expire also, rather than sticking around
39544 - If we are using select, make sure we stay within FD_SETSIZE.
39546 o Bugfixes on 0.0.9pre:
39547 - Fix integer underflow in tor_vsnprintf() that may be exploitable,
39548 but doesn't seem to be currently; thanks to Ilja van Sprundel for
39550 - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
39551 instead. Impose minima and maxima for all *Period options; impose
39552 even tighter maxima for fetching if we are a caching dirserver.
39553 Clip rather than rejecting.
39554 - Fetch cached running-routers from servers that serve it (that is,
39555 authdirservers and servers running 0.0.9rc5-cvs or later.)
39558 - Accept *:706 (silc) in default exit policy.
39559 - Implement new versioning format for post 0.1.
39560 - Support "foo.nickname.exit" addresses, to let Alice request the
39561 address "foo" as viewed by exit node "nickname". Based on a patch
39563 - Make tor --version --version dump the cvs Id of every file.
39566 Changes in version 0.0.9rc4 - 2004-11-28
39567 o Bugfixes on 0.0.8.1:
39568 - Make windows sockets actually non-blocking (oops), and handle
39569 win32 socket errors better.
39571 o Bugfixes on 0.0.9rc1:
39572 - Actually catch the -USR2 signal.
39575 Changes in version 0.0.9rc3 - 2004-11-25
39576 o Bugfixes on 0.0.8.1:
39577 - Flush the log file descriptor after we print "Tor opening log file",
39578 so we don't see those messages days later.
39580 o Bugfixes on 0.0.9rc1:
39581 - Make tor-resolve work again.
39582 - Avoid infinite loop in tor-resolve if tor hangs up on it.
39583 - Fix an assert trigger for clients/servers handling resolves.
39586 Changes in version 0.0.9rc2 - 2004-11-24
39587 o Bugfixes on 0.0.9rc1:
39588 - I broke socks5 support while fixing the eof bug.
39589 - Allow unitless bandwidths and intervals; they default to bytes
39591 - New servers don't start out hibernating; they are active until
39592 they run out of bytes, so they have a better estimate of how
39593 long it takes, and so their operators can know they're working.
39596 Changes in version 0.0.9rc1 - 2004-11-23
39597 o Bugfixes on 0.0.8.1:
39598 - Finally fix a bug that's been plaguing us for a year:
39599 With high load, circuit package window was reaching 0. Whenever
39600 we got a circuit-level sendme, we were reading a lot on each
39601 socket, but only writing out a bit. So we would eventually reach
39602 eof. This would be noticed and acted on even when there were still
39603 bytes sitting in the inbuf.
39604 - When poll() is interrupted, we shouldn't believe the revents values.
39606 o Bugfixes on 0.0.9pre6:
39607 - Fix hibernate bug that caused pre6 to be broken.
39608 - Don't keep rephist info for routers that haven't had activity for
39609 24 hours. (This matters now that clients have keys, since we track
39611 - Never call close_temp_logs while validating log options.
39612 - Fix backslash-escaping on tor.sh.in and torctl.in.
39615 - Implement weekly/monthly/daily accounting: now you specify your
39616 hibernation properties by
39617 AccountingMax N bytes|KB|MB|GB|TB
39618 AccountingStart day|week|month [day] HH:MM
39619 Defaults to "month 1 0:00".
39620 - Let bandwidth and interval config options be specified as 5 bytes,
39621 kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
39622 - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
39623 get back to normal.)
39624 - If your requested entry or exit node has advertised bandwidth 0,
39626 - Be more greedy about filling up relay cells -- we try reading again
39627 once we've processed the stuff we read, in case enough has arrived
39628 to fill the last cell completely.
39629 - Apply NT service patch from Osamu Fujino. Still needs more work.
39632 Changes in version 0.0.9pre6 - 2004-11-15
39633 o Bugfixes on 0.0.8.1:
39634 - Fix assert failure on malformed socks4a requests.
39635 - Use identity comparison, not nickname comparison, to choose which
39636 half of circuit-ID-space each side gets to use. This is needed
39637 because sometimes we think of a router as a nickname, and sometimes
39638 as a hex ID, and we can't predict what the other side will do.
39639 - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
39640 write() call will fail and we handle it there.
39641 - Add a FAST_SMARTLIST define to optionally inline smartlist_get
39642 and smartlist_len, which are two major profiling offenders.
39644 o Bugfixes on 0.0.9pre5:
39645 - Fix a bug in read_all that was corrupting config files on windows.
39646 - When we're raising the max number of open file descriptors to
39647 'unlimited', don't log that we just raised it to '-1'.
39648 - Include event code with events, as required by control-spec.txt.
39649 - Don't give a fingerprint when clients do --list-fingerprint:
39650 it's misleading, because it will never be the same again.
39651 - Stop using strlcpy in tor_strndup, since it was slowing us
39653 - Remove warn on startup about missing cached-directory file.
39654 - Make kill -USR1 work again.
39655 - Hibernate if we start tor during the "wait for wakeup-time" phase
39656 of an accounting interval. Log our hibernation plans better.
39657 - Authoritative dirservers now also cache their directory, so they
39658 have it on start-up.
39661 - Fetch running-routers; cache running-routers; compress
39662 running-routers; serve compressed running-routers.z
39663 - Add NSI installer script contributed by J Doe.
39664 - Commit VC6 and VC7 workspace/project files.
39665 - Commit a tor.spec for making RPM files, with help from jbash.
39666 - Add contrib/torctl.in contributed by Glenn Fink.
39667 - Implement the control-spec's SAVECONF command, to write your
39668 configuration to torrc.
39669 - Get cookie authentication for the controller closer to working.
39670 - Include control-spec.txt in the tarball.
39671 - When set_conf changes our server descriptor, upload a new copy.
39672 But don't upload it too often if there are frequent changes.
39673 - Document authentication config in man page, and document signals
39675 - Clean up confusing parts of man page and torrc.sample.
39676 - Make expand_filename handle ~ and ~username.
39677 - Use autoconf to enable largefile support where necessary. Use
39678 ftello where available, since ftell can fail at 2GB.
39679 - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
39680 log more informatively.
39681 - Give a slightly more useful output for "tor -h".
39682 - Refuse application socks connections to port 0.
39683 - Check clock skew for verified servers, but allow unverified
39684 servers and clients to have any clock skew.
39685 - Break DirFetchPostPeriod into:
39686 - DirFetchPeriod for fetching full directory,
39687 - StatusFetchPeriod for fetching running-routers,
39688 - DirPostPeriod for posting server descriptor,
39689 - RendPostPeriod for posting hidden service descriptors.
39690 - Make sure the hidden service descriptors are at a random offset
39691 from each other, to hinder linkability.
39694 Changes in version 0.0.9pre5 - 2004-11-09
39695 o Bugfixes on 0.0.9pre4:
39696 - Fix a seg fault in unit tests (doesn't affect main program).
39697 - Fix an assert bug where a hidden service provider would fail if
39698 the first hop of his rendezvous circuit was down.
39699 - Hidden service operators now correctly handle version 1 style
39700 INTRODUCE1 cells (nobody generates them still, so not a critical
39702 - If do_hup fails, actually notice.
39703 - Handle more errnos from accept() without closing the listener.
39704 Some OpenBSD machines were closing their listeners because
39705 they ran out of file descriptors.
39706 - Send resolve cells to exit routers that are running a new
39707 enough version of the resolve code to work right.
39708 - Better handling of winsock includes on non-MSV win32 compilers.
39709 - Some people had wrapped their tor client/server in a script
39710 that would restart it whenever it died. This did not play well
39711 with our "shut down if your version is obsolete" code. Now people
39712 don't fetch a new directory if their local cached version is
39714 - Make our autogen.sh work on ksh as well as bash.
39717 - Hibernation: New config option "AccountingMaxKB" lets you
39718 set how many KBytes per month you want to allow your server to
39719 consume. Rather than spreading those bytes out evenly over the
39720 month, we instead hibernate for some of the month and pop up
39721 at a deterministic time, work until the bytes are consumed, then
39722 hibernate again. Config option "MonthlyAccountingStart" lets you
39723 specify which day of the month your billing cycle starts on.
39724 - Control interface: a separate program can now talk to your
39725 client/server over a socket, and get/set config options, receive
39726 notifications of circuits and streams starting/finishing/dying,
39727 bandwidth used, etc. The next step is to get some GUIs working.
39728 Let us know if you want to help out. See doc/control-spec.txt .
39729 - Ship a contrib/tor-control.py as an example script to interact
39730 with the control port.
39731 - "tor --hash-password zzyxz" will output a salted password for
39732 use in authenticating to the control interface.
39733 - New log format in config:
39734 "Log minsev[-maxsev] stdout|stderr|syslog" or
39735 "Log minsev[-maxsev] file /var/foo"
39738 - DirPolicy config option, to let people reject incoming addresses
39739 from their dirserver.
39740 - "tor --list-fingerprint" will list your identity key fingerprint
39742 - Add "pass" target for RedirectExit, to make it easier to break
39743 out of a sequence of RedirectExit rules.
39744 - Clients now generate a TLS cert too, in preparation for having
39745 them act more like real nodes.
39746 - Ship src/win32/ in the tarball, so people can use it to build.
39747 - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
39749 - New "router-status" line in directory, to better bind each verified
39750 nickname to its identity key.
39751 - Deprecate unofficial config option abbreviations, and abbreviations
39752 not on the command line.
39753 - Add a pure-C tor-resolve implementation.
39754 - Use getrlimit and friends to ensure we can reach MaxConn (currently
39755 1024) file descriptors.
39757 o Code security improvements, inspired by Ilja:
39758 - Replace sprintf with snprintf. (I think they were all safe, but
39760 - Replace strcpy/strncpy with strlcpy in more places.
39761 - Avoid strcat; use snprintf or strlcat instead.
39762 - snprintf wrapper with consistent (though not C99) overflow behavior.
39765 Changes in version 0.0.9pre4 - 2004-10-17
39766 o Bugfixes on 0.0.9pre3:
39767 - If the server doesn't specify an exit policy, use the real default
39768 exit policy, not reject *:*.
39769 - Ignore fascistfirewall when uploading/downloading hidden service
39770 descriptors, since we go through Tor for those; and when using
39771 an HttpProxy, since we assume it can reach them all.
39772 - When looking for an authoritative dirserver, use only the ones
39773 configured at boot. Don't bother looking in the directory.
39774 - The rest of the fix for get_default_conf_file() on older win32.
39775 - Make 'Routerfile' config option obsolete.
39778 - New 'MyFamily nick1,...' config option for a server to
39779 specify other servers that shouldn't be used in the same circuit
39780 with it. Only believed if nick1 also specifies us.
39781 - New 'NodeFamily nick1,nick2,...' config option for a client to
39782 specify nodes that it doesn't want to use in the same circuit.
39783 - New 'Redirectexit pattern address:port' config option for a
39784 server to redirect exit connections, e.g. to a local squid.
39787 Changes in version 0.0.9pre3 - 2004-10-13
39788 o Bugfixes on 0.0.8.1:
39789 - Better torrc example lines for dirbindaddress and orbindaddress.
39790 - Improved bounds checking on parsed ints (e.g. config options and
39791 the ones we find in directories.)
39792 - Better handling of size_t vs int, so we're more robust on 64
39794 - Fix the rest of the bug where a newly started OR would appear
39795 as unverified even after we've added his fingerprint and hupped
39797 - Fix a bug from 0.0.7: when read() failed on a stream, we would
39798 close it without sending back an end. So 'connection refused'
39799 would simply be ignored and the user would get no response.
39801 o Bugfixes on 0.0.9pre2:
39802 - Serving the cached-on-disk directory to people is bad. We now
39803 provide no directory until we've fetched a fresh one.
39804 - Workaround for bug on windows where cached-directories get crlf
39806 - Make get_default_conf_file() work on older windows too.
39807 - If we write a *:* exit policy line in the descriptor, don't write
39808 any more exit policy lines.
39811 - Use only 0.0.9pre1 and later servers for resolve cells.
39812 - Make the dirservers file obsolete.
39813 - Include a dir-signing-key token in directories to tell the
39814 parsing entity which key is being used to sign.
39815 - Remove the built-in bulky default dirservers string.
39816 - New config option "Dirserver %s:%d [fingerprint]", which can be
39817 repeated as many times as needed. If no dirservers specified,
39818 default to moria1,moria2,tor26.
39819 - Make moria2 advertise a dirport of 80, so people behind firewalls
39820 will be able to get a directory.
39821 - Http proxy support
39822 - Dirservers translate requests for http://%s:%d/x to /x
39823 - You can specify "HttpProxy %s[:%d]" and all dir fetches will
39824 be routed through this host.
39825 - Clients ask for /tor/x rather than /x for new enough dirservers.
39826 This way we can one day coexist peacefully with apache.
39827 - Clients specify a "Host: %s%d" http header, to be compatible
39828 with more proxies, and so running squid on an exit node can work.
39831 Changes in version 0.0.8.1 - 2004-10-13
39833 - Fix a seg fault that can be triggered remotely for Tor
39834 clients/servers with an open dirport.
39835 - Fix a rare assert trigger, where routerinfos for entries in
39836 our cpath would expire while we're building the path.
39837 - Fix a bug in OutboundBindAddress so it (hopefully) works.
39838 - Fix a rare seg fault for people running hidden services on
39839 intermittent connections.
39840 - Fix a bug in parsing opt keywords with objects.
39841 - Fix a stale pointer assert bug when a stream detaches and
39843 - Fix a string format vulnerability (probably not exploitable)
39844 in reporting stats locally.
39845 - Fix an assert trigger: sometimes launching circuits can fail
39846 immediately, e.g. because too many circuits have failed recently.
39847 - Fix a compile warning on 64 bit platforms.
39850 Changes in version 0.0.9pre2 - 2004-10-03
39852 - Make fetching a cached directory work for 64-bit platforms too.
39853 - Make zlib.h a required header, not an optional header.
39856 Changes in version 0.0.9pre1 - 2004-10-01
39858 - Stop using separate defaults for no-config-file and
39859 empty-config-file. Now you have to explicitly turn off SocksPort,
39860 if you don't want it open.
39861 - Fix a bug in OutboundBindAddress so it (hopefully) works.
39862 - Improve man page to mention more of the 0.0.8 features.
39863 - Fix a rare seg fault for people running hidden services on
39864 intermittent connections.
39865 - Change our file IO stuff (especially wrt OpenSSL) so win32 is
39867 - Fix more dns related bugs: send back resolve_failed and end cells
39868 more reliably when the resolve fails, rather than closing the
39869 circuit and then trying to send the cell. Also attach dummy resolve
39870 connections to a circuit *before* calling dns_resolve(), to fix
39871 a bug where cached answers would never be sent in RESOLVED cells.
39872 - When we run out of disk space, or other log writing error, don't
39873 crash. Just stop logging to that log and continue.
39874 - We were starting to daemonize before we opened our logs, so if
39875 there were any problems opening logs, we would complain to stderr,
39876 which wouldn't work, and then mysteriously exit.
39877 - Fix a rare bug where sometimes a verified OR would connect to us
39878 before he'd uploaded his descriptor, which would cause us to
39879 assign conn->nickname as though he's unverified. Now we look through
39880 the fingerprint list to see if he's there.
39881 - Fix a rare assert trigger, where routerinfos for entries in
39882 our cpath would expire while we're building the path.
39885 - Clients can ask dirservers for /dir.z to get a compressed version
39886 of the directory. Only works for servers running 0.0.9, of course.
39887 - Make clients cache directories and use them to seed their router
39888 lists at startup. This means clients have a datadir again.
39889 - Configuration infrastructure support for warning on obsolete
39891 - Respond to content-encoding headers by trying to uncompress as
39893 - Reply with a deflated directory when a client asks for "dir.z".
39894 We could use allow-encodings instead, but allow-encodings isn't
39895 specified in HTTP 1.0.
39896 - Raise the max dns workers from 50 to 100.
39897 - Discourage people from setting their dirfetchpostperiod more often
39898 than once per minute.
39899 - Protect dirservers from overzealous descriptor uploading -- wait
39900 10 seconds after directory gets dirty, before regenerating.
39903 Changes in version 0.0.8 - 2004-08-25
39904 o Port it to SunOS 5.9 / Athena
39907 Changes in version 0.0.8rc2 - 2004-08-20
39908 o Make it compile on cygwin again.
39909 o When picking unverified routers, skip those with low uptime and/or
39910 low bandwidth, depending on what properties you care about.
39913 Changes in version 0.0.8rc1 - 2004-08-18
39914 o Changes from 0.0.7.3:
39916 - Fix assert triggers: if the other side returns an address 0.0.0.0,
39917 don't put it into the client dns cache.
39918 - If a begin failed due to exit policy, but we believe the IP address
39919 should have been allowed, switch that router to exitpolicy reject *:*
39920 until we get our next directory.
39922 - Clients choose nodes proportional to advertised bandwidth.
39923 - Avoid using nodes with low uptime as introduction points.
39924 - Handle servers with dynamic IP addresses: don't replace
39925 options->Address with the resolved one at startup, and
39926 detect our address right before we make a routerinfo each time.
39927 - 'FascistFirewall' option to pick dirservers and ORs on specific
39928 ports; plus 'FirewallPorts' config option to tell FascistFirewall
39929 which ports are open. (Defaults to 80,443)
39930 - Be more aggressive about trying to make circuits when the network
39931 has changed (e.g. when you unsuspend your laptop).
39932 - Check for time skew on http headers; report date in response to
39934 - If the entrynode config line has only one node, don't pick it as
39936 - Add strict{entry|exit}nodes config options. If set to 1, then
39937 we refuse to build circuits that don't include the specified entry
39939 - OutboundBindAddress config option, to bind to a specific
39940 IP address for outgoing connect()s.
39941 - End truncated log entries (e.g. directories) with "[truncated]".
39943 o Patches to 0.0.8preX:
39945 - Patches to compile and run on win32 again (maybe)?
39946 - Fix crash when looking for ~/.torrc with no $HOME set.
39947 - Fix a race bug in the unit tests.
39948 - Handle verified/unverified name collisions better when new
39949 routerinfo's arrive in a directory.
39950 - Sometimes routers were getting entered into the stats before
39951 we'd assigned their identity_digest. Oops.
39952 - Only pick and establish intro points after we've gotten a
39955 - AllowUnverifiedNodes config option to let circuits choose no-name
39956 routers in entry,middle,exit,introduction,rendezvous positions.
39957 Allow middle and rendezvous positions by default.
39958 - Add a man page for tor-resolve.
39961 Changes in version 0.0.7.3 - 2004-08-12
39962 o Stop dnsworkers from triggering an assert failure when you
39963 ask them to resolve the host "".
39966 Changes in version 0.0.8pre3 - 2004-08-09
39967 o Changes from 0.0.7.2:
39968 - Allow multiple ORs with same nickname in routerlist -- now when
39969 people give us one identity key for a nickname, then later
39970 another, we don't constantly complain until the first expires.
39971 - Remember used bandwidth (both in and out), and publish 15-minute
39972 snapshots for the past day into our descriptor.
39973 - You can now fetch $DIRURL/running-routers to get just the
39974 running-routers line, not the whole descriptor list. (But
39975 clients don't use this yet.)
39976 - When people mistakenly use Tor as an http proxy, point them
39977 at the tor-doc.html rather than the INSTALL.
39978 - Remove our mostly unused -- and broken -- hex_encode()
39979 function. Use base16_encode() instead. (Thanks to Timo Lindfors
39980 for pointing out this bug.)
39981 - Rotate onion keys every 12 hours, not every 2 hours, so we have
39982 fewer problems with people using the wrong key.
39983 - Change the default exit policy to reject the default edonkey,
39984 kazaa, gnutella ports.
39985 - Add replace_file() to util.[ch] to handle win32's rename().
39987 o Changes from 0.0.8preX:
39988 - Fix two bugs in saving onion keys to disk when rotating, so
39989 hopefully we'll get fewer people using old onion keys.
39990 - Fix an assert error that was making SocksPolicy not work.
39991 - Be willing to expire routers that have an open dirport -- it's
39992 just the authoritative dirservers we want to not forget.
39993 - Reject tor-resolve requests for .onion addresses early, so we
39994 don't build a whole rendezvous circuit and then fail.
39995 - When you're warning a server that he's unverified, don't cry
39996 wolf unpredictably.
39997 - Fix a race condition: don't try to extend onto a connection
39998 that's still handshaking.
39999 - For servers in clique mode, require the conn to be open before
40000 you'll choose it for your path.
40001 - Fix some cosmetic bugs about duplicate mark-for-close, lack of
40002 end relay cell, etc.
40003 - Measure bandwidth capacity over the last 24 hours, not just 12
40004 - Bugfix: authoritative dirservers were making and signing a new
40005 directory for each client, rather than reusing the cached one.
40008 Changes in version 0.0.8pre2 - 2004-08-04
40009 o Changes from 0.0.7.2:
40011 - Check directory signature _before_ you decide whether you're
40012 you're running an obsolete version and should exit.
40013 - Check directory signature _before_ you parse the running-routers
40014 list to decide who's running or verified.
40015 - Bugfixes and features:
40016 - Check return value of fclose while writing to disk, so we don't
40017 end up with broken files when servers run out of disk space.
40018 - Log a warning if the user uses an unsafe socks variant, so people
40019 are more likely to learn about privoxy or socat.
40020 - Dirservers now include RFC1123-style dates in the HTTP headers,
40021 which one day we will use to better detect clock skew.
40023 o Changes from 0.0.8pre1:
40024 - Make it compile without warnings again on win32.
40025 - Log a warning if you're running an unverified server, to let you
40026 know you might want to get it verified.
40027 - Only pick a default nickname if you plan to be a server.
40030 Changes in version 0.0.8pre1 - 2004-07-23
40032 - Made our unit tests compile again on OpenBSD 3.5, and tor
40033 itself compile again on OpenBSD on a sparc64.
40034 - We were neglecting milliseconds when logging on win32, so
40035 everything appeared to happen at the beginning of each second.
40037 o Protocol changes:
40038 - 'Extend' relay cell payloads now include the digest of the
40039 intended next hop's identity key. Now we can verify that we're
40040 extending to the right router, and also extend to routers we
40041 hadn't heard of before.
40044 - Tor nodes can now act as relays (with an advertised ORPort)
40045 without being manually verified by the dirserver operators.
40046 - Uploaded descriptors of unverified routers are now accepted
40047 by the dirservers, and included in the directory.
40048 - Verified routers are listed by nickname in the running-routers
40049 list; unverified routers are listed as "$<fingerprint>".
40050 - We now use hash-of-identity-key in most places rather than
40051 nickname or addr:port, for improved security/flexibility.
40052 - To avoid Sybil attacks, paths still use only verified servers.
40053 But now we have a chance to play around with hybrid approaches.
40054 - Nodes track bandwidth usage to estimate capacity (not used yet).
40055 - ClientOnly option for nodes that never want to become servers.
40056 - Directory caching.
40057 - "AuthoritativeDir 1" option for the official dirservers.
40058 - Now other nodes (clients and servers) will cache the latest
40059 directory they've pulled down.
40060 - They can enable their DirPort to serve it to others.
40061 - Clients will pull down a directory from any node with an open
40062 DirPort, and check the signature/timestamp correctly.
40063 - Authoritative dirservers now fetch directories from other
40064 authdirservers, to stay better synced.
40065 - Running-routers list tells who's down also, along with noting
40066 if they're verified (listed by nickname) or unverified (listed
40068 - Allow dirservers to serve running-router list separately.
40069 This isn't used yet.
40070 - ORs connect-on-demand to other ORs
40071 - If you get an extend cell to an OR you're not connected to,
40072 connect, handshake, and forward the create cell.
40073 - The authoritative dirservers stay connected to everybody,
40074 and everybody stays connected to 0.0.7 servers, but otherwise
40075 clients/servers expire unused connections after 5 minutes.
40076 - When servers get a sigint, they delay 30 seconds (refusing new
40077 connections) then exit. A second sigint causes immediate exit.
40078 - File and name management:
40079 - Look for .torrc if no CONFDIR "torrc" is found.
40080 - If no datadir is defined, then choose, make, and secure ~/.tor
40082 - If torrc not found, exitpolicy reject *:*.
40083 - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
40084 - If no nickname is defined, derive default from hostname.
40085 - Rename secret key files, e.g. identity.key -> secret_id_key,
40086 to discourage people from mailing their identity key to tor-ops.
40087 - Refuse to build a circuit before the directory has arrived --
40088 it won't work anyway, since you won't know the right onion keys
40090 - Try other dirservers immediately if the one you try is down. This
40091 should tolerate down dirservers better now.
40092 - Parse tor version numbers so we can do an is-newer-than check
40093 rather than an is-in-the-list check.
40094 - New socks command 'resolve', to let us shim gethostbyname()
40096 - A 'tor_resolve' script to access the socks resolve functionality.
40097 - A new socks-extensions.txt doc file to describe our
40098 interpretation and extensions to the socks protocols.
40099 - Add a ContactInfo option, which gets published in descriptor.
40100 - Publish OR uptime in descriptor (and thus in directory) too.
40101 - Write tor version at the top of each log file
40102 - New docs in the tarball:
40104 - Document that you should proxy your SSL traffic too.
40107 Changes in version 0.0.7.2 - 2004-07-07
40108 o A better fix for the 0.0.0.0 problem, that will hopefully
40109 eliminate the remaining related assertion failures.
40112 Changes in version 0.0.7.1 - 2004-07-04
40113 o When an address resolves to 0.0.0.0, treat it as a failed resolve,
40114 since internally we use 0.0.0.0 to signify "not yet resolved".
40117 Changes in version 0.0.7 - 2004-06-07
40118 o Updated the man page to reflect the new features.
40121 Changes in version 0.0.7rc2 - 2004-06-06
40122 o Changes from 0.0.7rc1:
40123 - Make it build on Win32 again.
40124 o Changes from 0.0.6.2:
40125 - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
40129 Changes in version 0.0.7rc1 - 2004-06-02
40131 - On sighup, we were adding another log without removing the first
40132 one. So log messages would get duplicated n times for n sighups.
40133 - Several cases of using a connection after we'd freed it. The
40134 problem was that connections that are pending resolve are in both
40135 the pending_resolve tree, and also the circuit's resolving_streams
40136 list. When you want to remove one, you must remove it from both.
40137 - Fix a double-mark-for-close where an end cell arrived for a
40138 resolving stream, and then the resolve failed.
40139 - Check directory signatures based on name of signer, not on whom
40140 we got the directory from. This will let us cache directories more
40143 - Crank up some of our constants to handle more users.
40146 Changes in version 0.0.7pre1 - 2004-06-02
40147 o Fixes for crashes and other obnoxious bugs:
40148 - Fix an epipe bug: sometimes when directory connections failed
40149 to connect, we would give them a chance to flush before closing
40151 - When we detached from a circuit because of resolvefailed, we
40152 would immediately try the same circuit twice more, and then
40153 give up on the resolve thinking we'd tried three different
40155 - Limit the number of intro circuits we'll attempt to build for a
40156 hidden service per 15-minute period.
40157 - Check recommended-software string *early*, before actually parsing
40158 the directory. Thus we can detect an obsolete version and exit,
40159 even if the new directory format doesn't parse.
40160 o Fixes for security bugs:
40161 - Remember which nodes are dirservers when you startup, and if a
40162 random OR enables his dirport, don't automatically assume he's
40163 a trusted dirserver.
40165 - Directory connections were asking the wrong poll socket to
40166 start writing, and not asking themselves to start writing.
40167 - When we detached from a circuit because we sent a begin but
40168 didn't get a connected, we would use it again the first time;
40169 but after that we would correctly switch to a different one.
40170 - Stop warning when the first onion decrypt attempt fails; they
40171 will sometimes legitimately fail now that we rotate keys.
40172 - Override unaligned-access-ok check when $host_cpu is ia64 or
40173 arm. Apparently they allow it but the kernel whines.
40174 - Dirservers try to reconnect periodically too, in case connections
40176 - Fix some memory leaks in directory servers.
40177 - Allow backslash in Win32 filenames.
40178 - Made Tor build complain-free on FreeBSD, hopefully without
40179 breaking other BSD builds. We'll see.
40181 - Doxygen markup on all functions and global variables.
40182 - Make directory functions update routerlist, not replace it. So
40183 now directory disagreements are not so critical a problem.
40184 - Remove the upper limit on number of descriptors in a dirserver's
40185 directory (not that we were anywhere close).
40186 - Allow multiple logfiles at different severity ranges.
40187 - Allow *BindAddress to specify ":port" rather than setting *Port
40188 separately. Allow multiple instances of each BindAddress config
40189 option, so you can bind to multiple interfaces if you want.
40190 - Allow multiple exit policy lines, which are processed in order.
40191 Now we don't need that huge line with all the commas in it.
40192 - Enable accept/reject policies on SOCKS connections, so you can bind
40193 to 0.0.0.0 but still control who can use your OP.
40196 Changes in version 0.0.6.2 - 2004-05-16
40197 o Our integrity-checking digest was checking only the most recent cell,
40198 not the previous cells like we'd thought.
40199 Thanks to Stefan Mark for finding the flaw!
40202 Changes in version 0.0.6.1 - 2004-05-06
40203 o Fix two bugs in our AES counter-mode implementation (this affected
40204 onion-level stream encryption, but not TLS-level). It turns
40205 out we were doing something much more akin to a 16-character
40206 polyalphabetic cipher. Oops.
40207 Thanks to Stefan Mark for finding the flaw!
40208 o Retire moria3 as a directory server, and add tor26 as a directory
40212 Changes in version 0.0.6 - 2004-05-02
40213 [version bump only]
40216 Changes in version 0.0.6rc4 - 2004-05-01
40217 o Update the built-in dirservers list to use the new directory format
40218 o Fix a rare seg fault: if a node offering a hidden service attempts
40219 to build a circuit to Alice's rendezvous point and fails before it
40220 reaches the last hop, it retries with a different circuit, but
40222 o Handle windows socket errors correctly.
40225 Changes in version 0.0.6rc3 - 2004-04-28
40226 o Don't expire non-general excess circuits (if we had enough
40227 circuits open, we were expiring rendezvous circuits -- even
40228 when they had a stream attached. oops.)
40229 o Fetch randomness from /dev/urandom better (not via fopen/fread)
40230 o Better debugging for tls errors
40231 o Some versions of openssl have an SSL_pending function that erroneously
40232 returns bytes when there is a non-application record pending.
40233 o Set Content-Type on the directory and hidserv descriptor.
40234 o Remove IVs from cipher code, since AES-ctr has none.
40235 o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
40236 o We were using an array of length zero in a few places.
40237 o win32's gethostbyname can't resolve an IP to an IP.
40238 o win32's close can't close a socket.
40241 Changes in version 0.0.6rc2 - 2004-04-26
40242 o Fix a bug where we were closing tls connections intermittently.
40243 It turns out openssl keeps its errors around -- so if an error
40244 happens, and you don't ask about it, and then another openssl
40245 operation happens and succeeds, and you ask if there was an error,
40246 it tells you about the first error. Fun fun.
40247 o Fix a bug that's been lurking since 27 may 03 (!)
40248 When passing back a destroy cell, we would use the wrong circ id.
40249 'Mostly harmless', but still worth fixing.
40250 o Since we don't support truncateds much, don't bother sending them;
40251 just close the circ.
40252 o check for <machine/limits.h> so we build on NetBSD again (I hope).
40253 o don't crash if a conn that sent a begin has suddenly lost its circuit
40254 (this was quite rare).
40257 Changes in version 0.0.6rc1 - 2004-04-25
40258 o We now rotate link (tls context) keys and onion keys.
40259 o CREATE cells now include oaep padding, so you can tell
40260 if you decrypted them correctly.
40261 o Add bandwidthburst to server descriptor.
40262 o Directories now say which dirserver signed them.
40263 o Use a tor_assert macro that logs failed assertions too.
40266 Changes in version 0.0.6pre5 - 2004-04-18
40267 o changes from 0.0.6pre4:
40268 - make tor build on broken freebsd 5.2 installs
40269 - fix a failed assert when you try an intro point, get a nack, and try
40270 a second one and it works.
40271 - when alice uses a port that the hidden service doesn't accept,
40272 it now sends back an end cell (denied by exit policy). otherwise
40273 alice would just have to wait to time out.
40274 - fix another rare bug: when we had tried all the intro
40275 points for a hidden service, we fetched the descriptor
40276 again, but we left our introcirc thinking it had already
40277 sent an intro, so it kept waiting for a response...
40278 - bugfix: when you sleep your hidden-service laptop, as soon
40279 as it wakes up it tries to upload a service descriptor, but
40280 socketpair fails for some reason (localhost not up yet?).
40281 now we simply give up on that upload, and we'll try again later.
40282 i'd still like to find the bug though.
40283 - if an intro circ waiting for an ack dies before getting one, then
40285 - we were reusing stale service descriptors and refetching usable
40289 Changes in version 0.0.6pre4 - 2004-04-14
40290 o changes from 0.0.6pre3:
40291 - when bob fails to connect to the rendezvous point, and his
40292 circ didn't fail because of the rendezvous point itself, then
40293 he retries a couple of times
40294 - we expire introduction and rendezvous circs more thoroughly
40295 (sometimes they were hanging around forever)
40296 - we expire unattached rendezvous streams that have been around
40297 too long (they were sticking around forever).
40298 - fix a measly fencepost error that was crashing everybody with
40302 Changes in version 0.0.6pre3 - 2004-04-14
40303 o changes from 0.0.6pre2:
40304 - make hup work again
40305 - fix some memory leaks for dirservers
40306 - allow more skew in rendezvous descriptor timestamps, to help
40307 handle people like blanu who don't know what time it is
40308 - normal circs are 3 hops, but some rend/intro circs are 4, if
40309 the initiator doesn't get to choose the last hop
40310 - send acks for introductions, so alice can know whether to try
40312 - bob publishes intro points more correctly
40313 o changes from 0.0.5:
40314 - fix an assert trigger that's been plaguing us since the days
40315 of 0.0.2prexx (thanks weasel!)
40316 - retry stream correctly when we fail to connect because of
40317 exit-policy-reject (should try another) or can't-resolve-address
40318 (also should try another, because dns on random internet servers
40320 - when we hup a dirserver and we've *removed* a server from the
40321 approved-routers list, now we remove that server from the
40322 in-memory directories too
40325 Changes in version 0.0.6pre2 - 2004-04-08
40326 o We fixed our base32 implementation. Now it works on all architectures.
40329 Changes in version 0.0.6pre1 - 2004-04-08
40331 - Hidden services and rendezvous points are implemented. Go to
40332 http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
40333 hidden services. (This only works via a socks4a proxy such as
40334 Privoxy, and currently it's quite slow.)
40337 Changes in version 0.0.5 - 2004-03-30
40338 [version bump only]
40341 Changes in version 0.0.5rc3 - 2004-03-29
40342 o Install torrc as torrc.sample -- we no longer clobber your
40344 o Re-enable recommendedversion checking (we broke it in rc2, oops)
40345 o Add in a 'notice' log level for things the operator should hear
40346 but that aren't warnings
40349 Changes in version 0.0.5rc2 - 2004-03-29
40350 o Hold socks connection open until reply is flushed (if possible)
40351 o Make exit nodes resolve IPs to IPs immediately, rather than asking
40352 the dns farm to do it.
40353 o Fix c99 aliasing warnings in rephist.c
40354 o Don't include server descriptors that are older than 24 hours in the
40356 o Give socks 'reject' replies their whole 15s to attempt to flush,
40357 rather than seeing the 60s timeout and assuming the flush had failed.
40358 o Clean automake droppings from the cvs repository
40361 Changes in version 0.0.5rc1 - 2004-03-28
40362 o Fix mangled-state bug in directory fetching (was causing sigpipes).
40363 o Only build circuits after we've fetched the directory: clients were
40364 using only the directory servers before they'd fetched a directory.
40365 This also means longer startup time; so it goes.
40366 o Fix an assert trigger where an OP would fail to handshake, and we'd
40367 expect it to have a nickname.
40368 o Work around a tsocks bug: do a socks reject when AP connection dies
40369 early, else tsocks goes into an infinite loop.
40372 Changes in version 0.0.4 - 2004-03-26
40373 o When connecting to a dirserver or OR and the network is down,
40377 Changes in version 0.0.3 - 2004-03-26
40378 o Warn and fail if server chose a nickname with illegal characters
40379 o Port to Solaris and Sparc:
40380 - include missing header fcntl.h
40381 - have autoconf find -lsocket -lnsl automatically
40382 - deal with hardware word alignment
40383 - make uname() work (solaris has a different return convention)
40384 - switch from using signal() to sigaction()
40385 o Preliminary work on reputation system:
40386 - Keep statistics on success/fail of connect attempts; they're published
40387 by kill -USR1 currently.
40388 - Add a RunTesting option to try to learn link state by creating test
40389 circuits, even when SocksPort is off.
40390 - Remove unused open circuits when there are too many.
40393 Changes in version 0.0.2 - 2004-03-19
40394 - Include strlcpy and strlcat for safer string ops
40395 - define INADDR_NONE so we compile (but still not run) on solaris
40398 Changes in version 0.0.2pre27 - 2004-03-14
40400 - Allow internal tor networks (we were rejecting internal IPs,
40401 now we allow them if they're set explicitly).
40402 - And fix a few endian issues.
40405 Changes in version 0.0.2pre26 - 2004-03-14
40407 - If a stream times out after 15s without a connected cell, don't
40408 try that circuit again: try a new one.
40409 - Retry streams at most 4 times. Then give up.
40410 - When a dirserver gets a descriptor from an unknown router, it
40411 logs its fingerprint (so the dirserver operator can choose to
40412 accept it even without mail from the server operator).
40413 - Inform unapproved servers when we reject their descriptors.
40414 - Make tor build on Windows again. It works as a client, who knows
40416 - Clearer instructions in the torrc for how to set up a server.
40417 - Be more efficient about reading fd's when our global token bucket
40418 (used for rate limiting) becomes empty.
40420 - Stop asserting that computers always go forward in time. It's
40422 - When we sent a cell (e.g. destroy) and then marked an OR connection
40423 expired, we might close it before finishing a flush if the other
40424 side isn't reading right then.
40425 - Don't allow dirservers to start if they haven't defined
40426 RecommendedVersions
40427 - We were caching transient dns failures. Oops.
40428 - Prevent servers from publishing an internal IP as their address.
40429 - Address a strcat vulnerability in circuit.c
40432 Changes in version 0.0.2pre25 - 2004-03-04
40434 - Put the OR's IP in its router descriptor, not its fqdn. That way
40435 we'll stop being stalled by gethostbyname for nodes with flaky dns,
40438 - If the user typed in an address that didn't resolve, the server
40442 Changes in version 0.0.2pre24 - 2004-03-03
40444 - Fix an assertion failure in dns.c, where we were trying to dequeue
40445 a pending dns resolve even if it wasn't pending
40446 - Fix a spurious socks5 warning about still trying to write after the
40447 connection is finished.
40448 - Hold certain marked_for_close connections open until they're finished
40449 flushing, rather than losing bytes by closing them too early.
40450 - Correctly report the reason for ending a stream
40451 - Remove some duplicate calls to connection_mark_for_close
40452 - Put switch_id and start_daemon earlier in the boot sequence, so it
40453 will actually try to chdir() to options.DataDirectory
40454 - Make 'make test' exit(1) if a test fails; fix some unit tests
40455 - Make tor fail when you use a config option it doesn't know about,
40456 rather than warn and continue.
40457 - Make --version work
40458 - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
40461 Changes in version 0.0.2pre23 - 2004-02-29
40463 - Print a statement when the first circ is finished, so the user
40464 knows it's working.
40465 - If a relay cell is unrecognized at the end of the circuit,
40466 send back a destroy. (So attacks to mutate cells are more
40468 - New config option 'excludenodes' to avoid certain nodes for circuits.
40469 - When it daemonizes, it chdir's to the DataDirectory rather than "/",
40470 so you can collect coredumps there.
40472 - Fix a bug in tls flushing where sometimes data got wedged and
40473 didn't flush until more data got sent. Hopefully this bug was
40474 a big factor in the random delays we were seeing.
40475 - Make 'connected' cells include the resolved IP, so the client
40476 dns cache actually gets populated.
40477 - Disallow changing from ORPort=0 to ORPort>0 on hup.
40478 - When we time-out on a stream and detach from the circuit, send an
40479 end cell down it first.
40480 - Only warn about an unknown router (in exitnodes, entrynodes,
40481 excludenodes) after we've fetched a directory.
40484 Changes in version 0.0.2pre22 - 2004-02-26
40486 - Servers publish less revealing uname information in descriptors.
40487 - More memory tracking and assertions, to crash more usefully when
40489 - If the default torrc isn't there, just use some default defaults.
40490 Plus provide an internal dirservers file if they don't have one.
40491 - When the user tries to use Tor as an http proxy, give them an http
40492 501 failure explaining that we're a socks proxy.
40493 - Dump a new router.desc on hup, to help confused people who change
40494 their exit policies and then wonder why router.desc doesn't reflect
40496 - Clean up the generic tor.sh init script that we ship with.
40498 - If the exit stream is pending on the resolve, and a destroy arrives,
40499 then the stream wasn't getting removed from the pending list. I
40500 think this was the one causing recent server crashes.
40501 - Use a more robust poll on OSX 10.3, since their poll is flaky.
40502 - When it couldn't resolve any dirservers, it was useless from then on.
40503 Now it reloads the RouterFile (or default dirservers) if it has no
40505 - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
40506 many users don't even *have* a /usr/local/sbin/.
40509 Changes in version 0.0.2pre21 - 2004-02-18
40511 - There's a ChangeLog file that actually reflects the changelog.
40512 - There's a 'torify' wrapper script, with an accompanying
40513 tor-tsocks.conf, that simplifies the process of using tsocks for
40514 tor. It even has a man page.
40515 - The tor binary gets installed to sbin rather than bin now.
40516 - Retry streams where the connected cell hasn't arrived in 15 seconds
40517 - Clean up exit policy handling -- get the default out of the torrc,
40518 so we can update it without forcing each server operator to fix
40520 - Allow imaps and pop3s in default exit policy
40522 - Prevent picking middleman nodes as the last node in the circuit
40525 Changes in version 0.0.2pre20 - 2004-01-30
40527 - We now have a deb package, and it's in debian unstable. Go to
40528 it, apt-getters. :)
40529 - I've split the TotalBandwidth option into BandwidthRate (how many
40530 bytes per second you want to allow, long-term) and
40531 BandwidthBurst (how many bytes you will allow at once before the cap
40532 kicks in). This better token bucket approach lets you, say, set
40533 BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
40534 performance while not exceeding your monthly bandwidth quota.
40535 - Push out a tls record's worth of data once you've got it, rather
40536 than waiting until you've read everything waiting to be read. This
40537 may improve performance by pipelining better. We'll see.
40538 - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
40539 from failed circuits (if they haven't been connected yet) and attach
40541 - Expire old streams that haven't managed to connect. Some day we'll
40542 have them reattach to new circuits instead.
40545 - Fix several memory leaks that were causing servers to become bloated
40547 - Fix a few very rare assert triggers. A few more remain.
40548 - Setuid to User _before_ complaining about running as root.
40551 Changes in version 0.0.2pre19 - 2004-01-07
40553 - Fix deadlock condition in dns farm. We were telling a child to die by
40554 closing the parent's file descriptor to him. But newer children were
40555 inheriting the open file descriptor from the parent, and since they
40556 weren't closing it, the socket never closed, so the child never read
40557 eof, so he never knew to exit. Similarly, dns workers were holding
40558 open other sockets, leading to all sorts of chaos.
40559 - New cleaner daemon() code for forking and backgrounding.
40560 - If you log to a file, it now prints an entry at the top of the
40561 logfile so you know it's working.
40562 - The onionskin challenge length was 30 bytes longer than necessary.
40563 - Started to patch up the spec so it's not quite so out of date.
40566 Changes in version 0.0.2pre18 - 2004-01-02
40568 - Fix endian issues with the 'integrity' field in the relay header.
40569 - Fix a potential bug where connections in state
40570 AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
40573 Changes in version 0.0.2pre17 - 2003-12-30
40575 - Made --debuglogfile (or any second log file, actually) work.
40576 - Resolved an edge case in get_unique_circ_id_by_conn where a smart
40577 adversary could force us into an infinite loop.
40580 - Each onionskin handshake now includes a hash of the computed key,
40581 to prove the server's identity and help perfect forward secrecy.
40582 - Changed cell size from 256 to 512 bytes (working toward compatibility
40584 - Changed cell length to 2 bytes, and moved it to the relay header.
40585 - Implemented end-to-end integrity checking for the payloads of
40587 - Separated streamid from 'recognized' (otherwise circuits will get
40588 messed up when we try to have streams exit from the middle). We
40589 use the integrity-checking to confirm that a cell is addressed to
40591 - Randomize the initial circid and streamid values, so an adversary who
40592 breaks into a node can't learn how many circuits or streams have
40596 Changes in version 0.0.2pre16 - 2003-12-14
40598 - Fixed a bug that made HUP trigger an assert
40599 - Fixed a bug where a circuit that immediately failed wasn't being
40600 counted as a failed circuit in counting retries.
40603 - Now we close the circuit when we get a truncated cell: otherwise we're
40604 open to an anonymity attack where a bad node in the path truncates
40605 the circuit and then we open streams at him.
40606 - Add port ranges to exit policies
40607 - Add a conservative default exit policy
40608 - Warn if you're running tor as root
40609 - on HUP, retry OR connections and close/rebind listeners
40610 - options.EntryNodes: try these nodes first when picking the first node
40611 - options.ExitNodes: if your best choices happen to include any of
40612 your preferred exit nodes, you choose among just those preferred
40614 - options.ExcludedNodes: nodes that are never picked in path building
40617 Changes in version 0.0.2pre15 - 2003-12-03
40618 o Robustness and bugfixes:
40619 - Sometimes clients would cache incorrect DNS resolves, which would
40620 really screw things up.
40621 - An OP that goes offline would slowly leak all its sockets and stop
40623 - A wide variety of bugfixes in exit node selection, exit policy
40624 handling, and processing pending streams when a new circuit is
40626 - Pick nodes for a path only from those the directory says are up
40627 - Choose randomly from all running dirservers, not always the first one
40628 - Increase allowed http header size for directory fetch.
40629 - Stop writing to stderr (if we're daemonized it will be closed).
40630 - Enable -g always, so cores will be more useful to me.
40631 - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
40634 - Wrote a man page. It lists commonly used options.
40637 - Change default loglevel to warn.
40638 - Make PidFile default to null rather than littering in your CWD.
40639 - OnionRouter config option is now obsolete. Instead it just checks
40641 - Moved to a single unified torrc file for both clients and servers.
40644 Changes in version 0.0.2pre14 - 2003-11-29
40645 o Robustness and bugfixes:
40646 - Force the admin to make the DataDirectory himself
40647 - to get ownership/permissions right
40648 - so clients no longer make a DataDirectory and then never use it
40649 - fix bug where a client who was offline for 45 minutes would never
40650 pull down a directory again
40651 - fix (or at least hide really well) the dns assert bug that was
40652 causing server crashes
40653 - warnings and improved robustness wrt clockskew for certs
40654 - use the native daemon(3) to daemonize, when available
40655 - exit if bind() fails
40656 - exit if neither socksport nor orport is defined
40657 - include our own tor_timegm (Win32 doesn't have its own)
40658 - bugfix for win32 with lots of connections
40659 - fix minor bias in PRNG
40660 - make dirserver more robust to corrupt cached directory
40663 - Wrote the design document (woo)
40665 o Circuit building and exit policies:
40666 - Circuits no longer try to use nodes that the directory has told them
40668 - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
40669 bitcounts (18.0.0.0/8).
40670 - Make AP connections standby for a circuit if no suitable circuit
40671 exists, rather than failing
40672 - Circuits choose exit node based on addr/port, exit policies, and
40673 which AP connections are standing by
40674 - Bump min pathlen from 2 to 3
40675 - Relay end cells have a payload to describe why the stream ended.
40676 - If the stream failed because of exit policy, try again with a new
40678 - Clients have a dns cache to remember resolved addresses.
40679 - Notice more quickly when we have no working circuits
40682 - APPort is now called SocksPort
40683 - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
40685 - RecommendedVersions is now a config variable rather than
40686 hardcoded (for dirservers)
40687 - Reloads config on HUP
40688 - Usage info on -h or --help
40689 - If you set User and Group config vars, it'll setu/gid to them.
40692 Changes in version 0.0.2pre13 - 2003-10-19
40693 o General stability:
40694 - SSL_write no longer fails when it returns WANTWRITE and the number
40695 of bytes in the buf has changed by the next SSL_write call.
40696 - Fix segfault fetching directory when network is down
40697 - Fix a variety of minor memory leaks
40698 - Dirservers reload the fingerprints file on HUP, so I don't have
40699 to take down the network when I approve a new router
40700 - Default server config file has explicit Address line to specify fqdn
40703 - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
40704 - Make listener connections not ever alloc bufs
40706 o Autoconf improvements:
40707 - don't clobber an external CFLAGS in ./configure
40708 - Make install now works
40709 - create var/lib/tor on make install
40710 - autocreate a tor.sh initscript to help distribs
40711 - autocreate the torrc and sample-server-torrc with correct paths
40713 o Log files and Daemonizing now work:
40714 - If --DebugLogFile is specified, log to it at -l debug
40715 - If --LogFile is specified, use it instead of commandline
40716 - If --RunAsDaemon is set, tor forks and backgrounds on startup