1 Changes in version 0.1.0.2-rc - 2005-04-01
2 o Bugfixes on 0.1.0.1-rc:
3 - Fixes on reachability detection:
4 - Don't check for reachability while hibernating.
5 - If ORPort is reachable but DirPort isn't, still publish the
6 descriptor, but zero out DirPort until it's found reachable.
7 - When building testing circs for ORPort testing, use only
8 high-bandwidth nodes, so fewer circuits fail.
9 - Complain about unreachable ORPort separately from unreachable
10 DirPort, so the user knows what's going on.
11 - Make sure we only conclude ORPort reachability if we didn't
12 initiate the conn. Otherwise we could falsely conclude that
13 we're reachable just because we connected to the guy earlier
14 and he used that same pipe to extend to us.
15 - Authdirservers shouldn't do ORPort reachability detection,
16 since they're in clique mode, so it will be rare to find a
17 server not already connected to them.
18 - When building testing circuits, always pick middle hops running
19 Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
20 bug. (This is a kludge; it will go away when 0.0.9.x becomes
22 - When we decide we're reachable, actually publish our descriptor
24 - Fix bug in redirectstream in the controller.
25 - Fix the state descriptor strings so logs don't claim edge streams
26 are in a different state than they actually are.
27 - Use recent libevent features when possible (this only really affects
28 win32 and osx right now, because the new libevent with these
29 features hasn't been released yet). Add code to suppress spurious
31 - Prevent possible segfault in connection_close_unattached_ap().
32 - Fix newlines on torrc in win32.
33 - Improve error msgs when tor-resolve fails.
35 o Improvements on 0.0.9.x:
36 - New experimental script tor/contrib/ExerciseServer.py (needs more
37 work) that uses the controller interface to build circuits and
38 fetch pages over them. This will help us bootstrap servers that
39 have lots of capacity but haven't noticed it yet.
40 - New experimental script tor/contrib/PathDemo.py (needs more work)
41 that uses the controller interface to let you choose whole paths
43 "<hostname>.<path,separated by dots>.<length of path>.path"
44 - When we've connected to an OR and handshaked but didn't like
45 the result, we were closing the conn without sending destroy
46 cells back for pending circuits. Now send those destroys.
49 Changes in version 0.1.0.1-rc - 2005-03-28
51 - Add reachability testing. Your Tor server will automatically try
52 to see if its ORPort and DirPort are reachable from the outside,
53 and it won't upload its descriptor until it decides they are.
54 - Handle unavailable hidden services better. Handle slow or busy
55 hidden services better.
56 - Add support for CONNECTing through https proxies, with "HttpsProxy"
58 - New exit policy: accept most low-numbered ports, rather than
59 rejecting most low-numbered ports.
60 - More Tor controller support (still experimental). See
61 http://tor.eff.org/doc/control-spec.txt for all the new features,
62 including signals to emulate unix signals from any platform;
63 redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
64 closestream; closecircuit; etc.
65 - Make nt services work and start on startup on win32 (based on
67 - Add a new AddressMap config directive to rewrite incoming socks
68 addresses. This lets you, for example, declare an implicit
69 required exit node for certain sites.
70 - Add a new TrackHostExits config directive to trigger addressmaps
71 for certain incoming socks addresses -- for sites that break when
72 your exit keeps changing (based on patch from Mike Perry).
73 - Redo the client-side dns cache so it's just an addressmap too.
74 - Notice when our IP changes, and reset stats/uptime/reachability.
75 - When an application is using socks5, give him the whole variety of
76 potential socks5 responses (connect refused, host unreachable, etc),
77 rather than just "success" or "failure".
78 - A more sane version numbering system. See
79 http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
80 - New contributed script "exitlist": a simple python script to
81 parse directories and find Tor nodes that exit to listed
83 - New contributed script "privoxy-tor-toggle" to toggle whether
84 Privoxy uses Tor. Seems to be configured for Debian by default.
85 - Report HTTP reasons to client when getting a response from directory
86 servers -- so you can actually know what went wrong.
87 - New config option MaxAdvertisedBandwidth which lets you advertise
88 a low bandwidthrate (to not attract as many circuits) while still
89 allowing a higher bandwidthrate in reality.
91 o Robustness/stability fixes:
92 - Make Tor use Niels Provos's libevent instead of its current
93 poll-but-sometimes-select mess. This will let us use faster async
94 cores (like epoll, kpoll, and /dev/poll), and hopefully work better
96 - pthread support now too. This was forced because when we forked,
97 we ended up wasting a lot of duplicate ram over time. Also switch
98 to foo_r versions of some library calls to allow reentry and
100 - Better handling for heterogeneous / unreliable nodes:
101 - Annotate circuits w/ whether they aim to contain high uptime nodes
102 and/or high capacity nodes. When building circuits, choose
104 - This means that every single node in an intro rend circuit,
105 not just the last one, will have a minimum uptime.
106 - New config option LongLivedPorts to indicate application streams
107 that will want high uptime circuits.
108 - Servers reset uptime when a dir fetch entirely fails. This
109 hopefully reflects stability of the server's network connectivity.
110 - If somebody starts his tor server in Jan 2004 and then fixes his
111 clock, don't make his published uptime be a year.
112 - Reset published uptime when you wake up from hibernation.
113 - Introduce a notion of 'internal' circs, which are chosen without
114 regard to the exit policy of the last hop. Intro and rendezvous
115 circs must be internal circs, to avoid leaking information. Resolve
116 and connect streams can use internal circs if they want.
117 - New circuit pooling algorithm: make sure to have enough circs around
118 to satisfy any predicted ports, and also make sure to have 2 internal
119 circs around if we've required internal circs lately (and with high
120 uptime if we've seen that lately too).
121 - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
122 which describes how often we retry making new circuits if current
123 ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
124 how long we're willing to make use of an already-dirty circuit.
125 - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
126 circ as necessary, if there are any completed ones lying around
127 when we try to launch one.
128 - Make hidden services try to establish a rendezvous for 30 seconds,
129 rather than for n (where n=3) attempts to build a circuit.
130 - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
131 "ShutdownWaitLength".
132 - Try to be more zealous about calling connection_edge_end when
133 things go bad with edge conns in connection.c.
134 - Revise tor-spec to add more/better stream end reasons.
135 - Revise all calls to connection_edge_end to avoid sending "misc",
136 and to take errno into account where possible.
139 - Fix a race condition that can trigger an assert, when we have a
140 pending create cell and an OR connection fails right then.
141 - Fix several double-mark-for-close bugs, e.g. where we were finding
142 a conn for a cell even if that conn is already marked for close.
143 - Make sequence of log messages when starting on win32 with no config
144 file more reasonable.
145 - When choosing an exit node for a new non-internal circ, don't take
146 into account whether it'll be useful for any pending x.onion
147 addresses -- it won't.
148 - Turn addr_policy_compare from a tristate to a quadstate; this should
149 help address our "Ah, you allow 1.2.3.4:80. You are a good choice
150 for google.com" problem.
151 - Make "platform" string in descriptor more accurate for Win32 servers,
152 so it's not just "unknown platform".
153 - Fix an edge case in parsing config options (thanks weasel).
154 If they say "--" on the commandline, it's not an option.
155 - Reject odd-looking addresses at the client (e.g. addresses that
156 contain a colon), rather than having the server drop them because
158 - tor-resolve requests were ignoring .exit if there was a working circuit
159 they could use instead.
160 - REUSEADDR on normal platforms means you can rebind to the port
161 right after somebody else has let it go. But REUSEADDR on win32
162 means to let you bind to the port _even when somebody else
163 already has it bound_! So, don't do that on Win32.
164 - Change version parsing logic: a version is "obsolete" if it is not
165 recommended and (1) there is a newer recommended version in the
166 same series, or (2) there are no recommended versions in the same
167 series, but there are some recommended versions in a newer series.
168 A version is "new" if it is newer than any recommended version in
170 - Stop most cases of hanging up on a socks connection without sending
174 - Require BandwidthRate to be at least 20kB/s for servers.
175 - When a dirserver causes you to give a warn, mention which dirserver
177 - New config option DirAllowPrivateAddresses for authdirservers.
178 Now by default they refuse router descriptors that have non-IP or
179 private-IP addresses.
180 - Stop publishing socksport in the directory, since it's not
181 actually meant to be public. For compatibility, publish a 0 there
183 - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
184 smart" value, that is low for servers and high for clients.
185 - If our clock jumps forward by 100 seconds or more, assume something
186 has gone wrong with our network and abandon all not-yet-used circs.
187 - Warn when exit policy implicitly allows local addresses.
188 - If we get an incredibly skewed timestamp from a dirserver mirror
189 that isn't a verified OR, don't warn -- it's probably him that's
191 - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
192 cookies to disk and doesn't log each web request to disk. (Thanks
193 to Brett Carrington for pointing this out.)
194 - When a client asks us for a dir mirror and we don't have one,
195 launch an attempt to get a fresh one.
196 - If we're hibernating and we get a SIGINT, exit immediately.
197 - Add --with-dmalloc ./configure option, to track memory leaks.
198 - And try to free all memory on closing, so we can detect what
200 - Cache local dns resolves correctly even when they're .exit
202 - Give a better warning when some other server advertises an
203 ORPort that is actually an apache running ssl.
204 - Add "opt hibernating 1" to server descriptor to make it clearer
205 whether the server is hibernating.
208 Changes in version 0.0.9.7 - 2005-04-01
209 o Bugfixes on 0.0.9.x:
210 - Fix another race crash bug (thanks to Glenn Fink for reporting).
211 - Compare identity to identity, not to nickname, when extending to
212 a router not already in the directory. This was preventing us from
213 extending to unknown routers. Oops.
214 - Make sure to create OS X Tor user in <500 range, so we aren't
215 creating actual system users.
216 - Note where connection-that-hasn't-sent-end was marked, and fix
217 a few really loud instances of this harmless bug (it's fixed more
221 Changes in version 0.0.9.6 - 2005-03-24
222 o Bugfixes on 0.0.9.x (crashes and asserts):
223 - Add new end stream reasons to maintainance branch. Fix bug where
224 reason (8) could trigger an assert. Prevent bug from recurring.
225 - Apparently win32 stat wants paths to not end with a slash.
226 - Fix assert triggers in assert_cpath_layer_ok(), where we were
227 blowing away the circuit that conn->cpath_layer points to, then
228 checking to see if the circ is well-formed. Backport check to make
229 sure we dont use the cpath on a closed connection.
230 - Prevent circuit_resume_edge_reading_helper() from trying to package
231 inbufs for marked-for-close streams.
232 - Don't crash on hup if your options->address has become unresolvable.
233 - Some systems (like OS X) sometimes accept() a connection and tell
234 you the remote host is 0.0.0.0:0. If this happens, due to some
235 other mis-features, we get confused; so refuse the conn for now.
237 o Bugfixes on 0.0.9.x (other):
238 - Fix harmless but scary "Unrecognized content encoding" warn message.
239 - Add new stream error reason: TORPROTOCOL reason means "you are not
240 speaking a version of Tor I understand; say bye-bye to your stream."
241 - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
242 into the future, now that we are more tolerant of skew. This
243 resolves a bug where a Tor server would refuse to cache a directory
244 because all the directories it gets are too far in the future;
245 yet the Tor server never logs any complaints about clock skew.
246 - Mac packaging magic: make man pages useable, and do not overwrite
247 existing torrc files.
248 - Make OS X log happily to /var/log/tor/tor.log
251 Changes in version 0.0.9.5 - 2005-02-22
252 o Bugfixes on 0.0.9.x:
253 - Fix an assert race at exit nodes when resolve requests fail.
254 - Stop picking unverified dir mirrors--it only leads to misery.
255 - Patch from Matt Edman to make NT services work better. Service
256 support is still not compiled into the executable by default.
257 - Patch from Dmitri Bely so the Tor service runs better under
258 the win32 SYSTEM account.
259 - Make tor-resolve actually work (?) on Win32.
260 - Fix a sign bug when getrlimit claims to have 4+ billion
261 file descriptors available.
262 - Stop refusing to start when bandwidthburst == bandwidthrate.
263 - When create cells have been on the onion queue more than five
264 seconds, just send back a destroy and take them off the list.
267 Changes in version 0.0.9.4 - 2005-02-03
269 - Fix an assert bug that took down most of our servers: when
270 a server claims to have 1 GB of bandwidthburst, don't
272 - Don't crash as badly if we have spawned the max allowed number
273 of dnsworkers, or we're out of file descriptors.
274 - Block more file-sharing ports in the default exit policy.
275 - MaxConn is now automatically set to the hard limit of max
276 file descriptors we're allowed (ulimit -n), minus a few for
278 - Give a clearer message when servers need to raise their
279 ulimit -n when they start running out of file descriptors.
280 - SGI Compatibility patches from Jan Schaumann.
281 - Tolerate a corrupt cached directory better.
282 - When a dirserver hasn't approved your server, list which one.
283 - Go into soft hibernation after 95% of the bandwidth is used,
284 not 99%. This is especially important for daily hibernators who
285 have a small accounting max. Hopefully it will result in fewer
286 cut connections when the hard hibernation starts.
287 - Load-balance better when using servers that claim more than
289 - Make NT services work (experimental, only used if compiled in).
292 Changes in version 0.0.9.3 - 2005-01-21
294 - Backport the cpu use fixes from main branch, so busy servers won't
295 need as much processor time.
296 - Work better when we go offline and then come back, or when we
297 run Tor at boot before the network is up. We do this by
298 optimistically trying to fetch a new directory whenever an
299 application request comes in and we think we're offline -- the
300 human is hopefully a good measure of when the network is back.
301 - Backport some minimal hidserv bugfixes: keep rend circuits open as
302 long as you keep using them; actually publish hidserv descriptors
303 shortly after they change, rather than waiting 20-40 minutes.
304 - Enable Mac startup script by default.
305 - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
306 - When you update AllowUnverifiedNodes or FirewallPorts via the
307 controller's setconf feature, we were always appending, never
309 - When you update HiddenServiceDir via setconf, it was screwing up
310 the order of reading the lines, making it fail.
311 - Do not rewrite a cached directory back to the cache; otherwise we
312 will think it is recent and not fetch a newer one on startup.
313 - Workaround for webservers that lie about Content-Encoding: Tor
314 now tries to autodetect compressed directories and compression
315 itself. This lets us Proxypass dir fetches through apache.
318 Changes in version 0.0.9.2 - 2005-01-04
319 o Bugfixes on 0.0.9 (crashes and asserts):
320 - Fix an assert on startup when the disk is full and you're logging
322 - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
323 style address, then we'd crash.
324 - Fix an assert trigger when the running-routers string we get from
325 a dirserver is broken.
326 - Make worker threads start and run on win32. Now win32 servers
328 - Bandaid (not actually fix, but now it doesn't crash) an assert
329 where the dns worker dies mysteriously and the main Tor process
330 doesn't remember anything about the address it was resolving.
332 o Bugfixes on 0.0.9 (Win32):
333 - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
334 name out of the warning/assert messages.
335 - Fix a superficial "unhandled error on read" bug on win32.
336 - The win32 installer no longer requires a click-through for our
337 license, since our Free Software license grants rights but does not
339 - Win32: When connecting to a dirserver fails, try another one
340 immediately. (This was already working for non-win32 Tors.)
341 - Stop trying to parse $HOME on win32 when hunting for default
343 - Make tor-resolve.c work on win32 by calling network_init().
345 o Bugfixes on 0.0.9 (other):
346 - Make 0.0.9.x build on Solaris again.
347 - Due to a fencepost error, we were blowing away the \n when reporting
348 confvalue items in the controller. So asking for multiple config
349 values at once couldn't work.
350 - When listing circuits that are pending on an opening OR connection,
351 if we're an OR we were listing circuits that *end* at us as
352 being pending on every listener, dns/cpu worker, etc. Stop that.
353 - Dirservers were failing to create 'running-routers' or 'directory'
354 strings if we had more than some threshold of routers. Fix them so
355 they can handle any number of routers.
356 - Fix a superficial "Duplicate mark for close" bug.
357 - Stop checking for clock skew for OR connections, even for servers.
358 - Fix a fencepost error that was chopping off the last letter of any
359 nickname that is the maximum allowed nickname length.
360 - Update URLs in log messages so they point to the new website.
361 - Fix a potential problem in mangling server private keys while
362 writing to disk (not triggered yet, as far as we know).
363 - Include the licenses for other free software we include in Tor,
364 now that we're shipping binary distributions more regularly.
367 Changes in version 0.0.9.1 - 2004-12-15
369 - Make hibernation actually work.
370 - Make HashedControlPassword config option work.
371 - When we're reporting event circuit status to a controller,
372 don't use the stream status code.
375 Changes in version 0.0.9 - 2004-12-12
376 o Bugfixes on 0.0.8.1 (Crashes and asserts):
377 - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
378 write() call will fail and we handle it there.
379 - When we run out of disk space, or other log writing error, don't
380 crash. Just stop logging to that log and continue.
381 - Fix isspace() and friends so they still make Solaris happy
382 but also so they don't trigger asserts on win32.
383 - Fix assert failure on malformed socks4a requests.
384 - Fix an assert bug where a hidden service provider would fail if
385 the first hop of his rendezvous circuit was down.
386 - Better handling of size_t vs int, so we're more robust on 64
389 o Bugfixes on 0.0.8.1 (Win32):
390 - Make windows sockets actually non-blocking (oops), and handle
391 win32 socket errors better.
392 - Fix parse_iso_time on platforms without strptime (eg win32).
393 - win32: when being multithreaded, leave parent fdarray open.
394 - Better handling of winsock includes on non-MSV win32 compilers.
395 - Change our file IO stuff (especially wrt OpenSSL) so win32 is
397 - Make unit tests work on win32.
399 o Bugfixes on 0.0.8.1 (Path selection and streams):
400 - Calculate timeout for waiting for a connected cell from the time
401 we sent the begin cell, not from the time the stream started. If
402 it took a long time to establish the circuit, we would time out
403 right after sending the begin cell.
404 - Fix router_compare_addr_to_addr_policy: it was not treating a port
405 of * as always matching, so we were picking reject *:* nodes as
406 exit nodes too. Oops.
407 - When read() failed on a stream, we would close it without sending
408 back an end. So 'connection refused' would simply be ignored and
409 the user would get no response.
410 - Stop a sigpipe: when an 'end' cell races with eof from the app,
411 we shouldn't hold-open-until-flush if the eof arrived first.
412 - Let resolve conns retry/expire also, rather than sticking around
414 - Fix more dns related bugs: send back resolve_failed and end cells
415 more reliably when the resolve fails, rather than closing the
416 circuit and then trying to send the cell. Also attach dummy resolve
417 connections to a circuit *before* calling dns_resolve(), to fix
418 a bug where cached answers would never be sent in RESOLVED cells.
420 o Bugfixes on 0.0.8.1 (Circuits):
421 - Finally fix a bug that's been plaguing us for a year:
422 With high load, circuit package window was reaching 0. Whenever
423 we got a circuit-level sendme, we were reading a lot on each
424 socket, but only writing out a bit. So we would eventually reach
425 eof. This would be noticed and acted on even when there were still
426 bytes sitting in the inbuf.
427 - Use identity comparison, not nickname comparison, to choose which
428 half of circuit-ID-space each side gets to use. This is needed
429 because sometimes we think of a router as a nickname, and sometimes
430 as a hex ID, and we can't predict what the other side will do.
432 o Bugfixes on 0.0.8.1 (Other):
433 - Fix a whole slew of memory leaks.
434 - Disallow NDEBUG. We don't ever want anybody to turn off debug.
435 - If we are using select, make sure we stay within FD_SETSIZE.
436 - When poll() is interrupted, we shouldn't believe the revents values.
437 - Add a FAST_SMARTLIST define to optionally inline smartlist_get
438 and smartlist_len, which are two major profiling offenders.
439 - If do_hup fails, actually notice.
440 - Flush the log file descriptor after we print "Tor opening log file",
441 so we don't see those messages days later.
442 - Hidden service operators now correctly handle version 1 style
443 INTRODUCE1 cells (nobody generates them still, so not a critical
445 - Handle more errnos from accept() without closing the listener.
446 Some OpenBSD machines were closing their listeners because
447 they ran out of file descriptors.
448 - Some people had wrapped their tor client/server in a script
449 that would restart it whenever it died. This did not play well
450 with our "shut down if your version is obsolete" code. Now people
451 don't fetch a new directory if their local cached version is
453 - Make our autogen.sh work on ksh as well as bash.
454 - Better torrc example lines for dirbindaddress and orbindaddress.
455 - Improved bounds checking on parsed ints (e.g. config options and
456 the ones we find in directories.)
457 - Stop using separate defaults for no-config-file and
458 empty-config-file. Now you have to explicitly turn off SocksPort,
459 if you don't want it open.
460 - We were starting to daemonize before we opened our logs, so if
461 there were any problems opening logs, we would complain to stderr,
462 which wouldn't work, and then mysteriously exit.
463 - If a verified OR connects to us before he's uploaded his descriptor,
464 or we verify him and hup but he still has the original TLS
465 connection, then conn->nickname is still set like he's unverified.
467 o Code security improvements, inspired by Ilja:
468 - tor_snprintf wrapper over snprintf with consistent (though not C99)
470 - Replace sprintf with tor_snprintf. (I think they were all safe, but
472 - Replace strcpy/strncpy with strlcpy in more places.
473 - Avoid strcat; use tor_snprintf or strlcat instead.
475 o Features (circuits and streams):
476 - New circuit building strategy: keep a list of ports that we've
477 used in the past 6 hours, and always try to have 2 circuits open
478 or on the way that will handle each such port. Seed us with port
479 80 so web users won't complain that Tor is "slow to start up".
480 - Make kill -USR1 dump more useful stats about circuits.
481 - When warning about retrying or giving up, print the address, so
482 the user knows which one it's talking about.
483 - If you haven't used a clean circuit in an hour, throw it away,
484 just to be on the safe side. (This means after 6 hours a totally
485 unused Tor client will have no circuits open.)
486 - Support "foo.nickname.exit" addresses, to let Alice request the
487 address "foo" as viewed by exit node "nickname". Based on a patch
489 - If your requested entry or exit node has advertised bandwidth 0,
491 - Be more greedy about filling up relay cells -- we try reading again
492 once we've processed the stuff we read, in case enough has arrived
493 to fill the last cell completely.
494 - Refuse application socks connections to port 0.
495 - Use only 0.0.9pre1 and later servers for resolve cells.
497 o Features (bandwidth):
498 - Hibernation: New config option "AccountingMax" lets you
499 set how many bytes per month (in each direction) you want to
500 allow your server to consume. Rather than spreading those
501 bytes out evenly over the month, we instead hibernate for some
502 of the month and pop up at a deterministic time, work until
503 the bytes are consumed, then hibernate again. Config option
504 "MonthlyAccountingStart" lets you specify which day of the month
505 your billing cycle starts on.
506 - Implement weekly/monthly/daily accounting: now you specify your
507 hibernation properties by
508 AccountingMax N bytes|KB|MB|GB|TB
509 AccountingStart day|week|month [day] HH:MM
510 Defaults to "month 1 0:00".
511 - Let bandwidth and interval config options be specified as 5 bytes,
512 kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
514 o Features (directories):
515 - New "router-status" line in directory, to better bind each verified
516 nickname to its identity key.
517 - Clients can ask dirservers for /dir.z to get a compressed version
518 of the directory. Only works for servers running 0.0.9, of course.
519 - Make clients cache directories and use them to seed their router
520 lists at startup. This means clients have a datadir again.
521 - Respond to content-encoding headers by trying to uncompress as
523 - Clients and servers now fetch running-routers; cache
524 running-routers; compress running-routers; serve compressed
526 - Make moria2 advertise a dirport of 80, so people behind firewalls
527 will be able to get a directory.
529 - Dirservers translate requests for http://%s:%d/x to /x
530 - You can specify "HttpProxy %s[:%d]" and all dir fetches will
531 be routed through this host.
532 - Clients ask for /tor/x rather than /x for new enough dirservers.
533 This way we can one day coexist peacefully with apache.
534 - Clients specify a "Host: %s%d" http header, to be compatible
535 with more proxies, and so running squid on an exit node can work.
536 - Protect dirservers from overzealous descriptor uploading -- wait
537 10 seconds after directory gets dirty, before regenerating.
539 o Features (packages and install):
540 - Add NSI installer contributed by J Doe.
541 - Apply NT service patch from Osamu Fujino. Still needs more work.
542 - Commit VC6 and VC7 workspace/project files.
543 - Commit a tor.spec for making RPM files, with help from jbash.
544 - Add contrib/torctl.in contributed by Glenn Fink.
545 - Make expand_filename handle ~ and ~username.
546 - Use autoconf to enable largefile support where necessary. Use
547 ftello where available, since ftell can fail at 2GB.
548 - Ship src/win32/ in the tarball, so people can use it to build.
549 - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
552 o Features (ui controller):
553 - Control interface: a separate program can now talk to your
554 client/server over a socket, and get/set config options, receive
555 notifications of circuits and streams starting/finishing/dying,
556 bandwidth used, etc. The next step is to get some GUIs working.
557 Let us know if you want to help out. See doc/control-spec.txt .
558 - Ship a contrib/tor-control.py as an example script to interact
559 with the control port.
560 - "tor --hash-password zzyxz" will output a salted password for
561 use in authenticating to the control interface.
562 - Implement the control-spec's SAVECONF command, to write your
563 configuration to torrc.
564 - Get cookie authentication for the controller closer to working.
565 - When set_conf changes our server descriptor, upload a new copy.
566 But don't upload it too often if there are frequent changes.
568 o Features (config and command-line):
569 - Deprecate unofficial config option abbreviations, and abbreviations
570 not on the command line.
571 - Configuration infrastructure support for warning on obsolete
573 - Give a slightly more useful output for "tor -h".
574 - Break DirFetchPostPeriod into:
575 - DirFetchPeriod for fetching full directory,
576 - StatusFetchPeriod for fetching running-routers,
577 - DirPostPeriod for posting server descriptor,
578 - RendPostPeriod for posting hidden service descriptors.
579 - New log format in config:
580 "Log minsev[-maxsev] stdout|stderr|syslog" or
581 "Log minsev[-maxsev] file /var/foo"
582 - DirPolicy config option, to let people reject incoming addresses
583 from their dirserver.
584 - "tor --list-fingerprint" will list your identity key fingerprint
586 - Make tor --version --version dump the cvs Id of every file.
587 - New 'MyFamily nick1,...' config option for a server to
588 specify other servers that shouldn't be used in the same circuit
589 with it. Only believed if nick1 also specifies us.
590 - New 'NodeFamily nick1,nick2,...' config option for a client to
591 specify nodes that it doesn't want to use in the same circuit.
592 - New 'Redirectexit pattern address:port' config option for a
593 server to redirect exit connections, e.g. to a local squid.
594 - Add "pass" target for RedirectExit, to make it easier to break
595 out of a sequence of RedirectExit rules.
596 - Make the dirservers file obsolete.
597 - Include a dir-signing-key token in directories to tell the
598 parsing entity which key is being used to sign.
599 - Remove the built-in bulky default dirservers string.
600 - New config option "Dirserver %s:%d [fingerprint]", which can be
601 repeated as many times as needed. If no dirservers specified,
602 default to moria1,moria2,tor26.
603 - Make 'Routerfile' config option obsolete.
604 - Discourage people from setting their dirfetchpostperiod more often
605 than once per minute.
608 - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
610 - Accept *:706 (silc) in default exit policy.
611 - Implement new versioning format for post 0.1.
612 - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
613 log more informatively.
614 - Check clock skew for verified servers, but allow unverified
615 servers and clients to have any clock skew.
616 - Make sure the hidden service descriptors are at a random offset
617 from each other, to hinder linkability.
618 - Clients now generate a TLS cert too, in preparation for having
619 them act more like real nodes.
620 - Add a pure-C tor-resolve implementation.
621 - Use getrlimit and friends to ensure we can reach MaxConn (currently
622 1024) file descriptors.
623 - Raise the max dns workers from 50 to 100.
626 Changes in version 0.0.8.1 - 2004-10-13
628 - Fix a seg fault that can be triggered remotely for Tor
629 clients/servers with an open dirport.
630 - Fix a rare assert trigger, where routerinfos for entries in
631 our cpath would expire while we're building the path.
632 - Fix a bug in OutboundBindAddress so it (hopefully) works.
633 - Fix a rare seg fault for people running hidden services on
634 intermittent connections.
635 - Fix a bug in parsing opt keywords with objects.
636 - Fix a stale pointer assert bug when a stream detaches and
638 - Fix a string format vulnerability (probably not exploitable)
639 in reporting stats locally.
640 - Fix an assert trigger: sometimes launching circuits can fail
641 immediately, e.g. because too many circuits have failed recently.
642 - Fix a compile warning on 64 bit platforms.
645 Changes in version 0.0.8 - 2004-08-25
647 - Made our unit tests compile again on OpenBSD 3.5, and tor
648 itself compile again on OpenBSD on a sparc64.
649 - We were neglecting milliseconds when logging on win32, so
650 everything appeared to happen at the beginning of each second.
651 - Check directory signature _before_ you decide whether you're
652 you're running an obsolete version and should exit.
653 - Check directory signature _before_ you parse the running-routers
654 list to decide who's running.
655 - Check return value of fclose while writing to disk, so we don't
656 end up with broken files when servers run out of disk space.
657 - Port it to SunOS 5.9 / Athena
658 - Fix two bugs in saving onion keys to disk when rotating, so
659 hopefully we'll get fewer people using old onion keys.
660 - Remove our mostly unused -- and broken -- hex_encode()
661 function. Use base16_encode() instead. (Thanks to Timo Lindfors
662 for pointing out this bug.)
663 - Only pick and establish intro points after we've gotten a
665 - Fix assert triggers: if the other side returns an address 0.0.0.0,
666 don't put it into the client dns cache.
667 - If a begin failed due to exit policy, but we believe the IP
668 address should have been allowed, switch that router to exitpolicy
669 reject *:* until we get our next directory.
672 - 'Extend' relay cell payloads now include the digest of the
673 intended next hop's identity key. Now we can verify that we're
674 extending to the right router, and also extend to routers we
675 hadn't heard of before.
678 - Tor nodes can now act as relays (with an advertised ORPort)
679 without being manually verified by the dirserver operators.
680 - Uploaded descriptors of unverified routers are now accepted
681 by the dirservers, and included in the directory.
682 - Verified routers are listed by nickname in the running-routers
683 list; unverified routers are listed as "$<fingerprint>".
684 - We now use hash-of-identity-key in most places rather than
685 nickname or addr:port, for improved security/flexibility.
686 - AllowUnverifiedNodes config option to let circuits choose no-name
687 routers in entry,middle,exit,introduction,rendezvous positions.
688 Allow middle and rendezvous positions by default.
689 - When picking unverified routers, skip those with low uptime and/or
690 low bandwidth, depending on what properties you care about.
691 - ClientOnly option for nodes that never want to become servers.
693 - "AuthoritativeDir 1" option for the official dirservers.
694 - Now other nodes (clients and servers) will cache the latest
695 directory they've pulled down.
696 - They can enable their DirPort to serve it to others.
697 - Clients will pull down a directory from any node with an open
698 DirPort, and check the signature/timestamp correctly.
699 - Authoritative dirservers now fetch directories from other
700 authdirservers, to stay better synced.
701 - Running-routers list tells who's down also, along with noting
702 if they're verified (listed by nickname) or unverified (listed
704 - Allow dirservers to serve running-router list separately.
706 - You can now fetch $DIRURL/running-routers to get just the
707 running-routers line, not the whole descriptor list. (But
708 clients don't use this yet.)
709 - Clients choose nodes proportional to advertised bandwidth.
710 - Clients avoid using nodes with low uptime as introduction points.
711 - Handle servers with dynamic IP addresses: don't just replace
712 options->Address with the resolved one at startup, and
713 detect our address right before we make a routerinfo each time.
714 - 'FascistFirewall' option to pick dirservers and ORs on specific
715 ports; plus 'FirewallPorts' config option to tell FascistFirewall
716 which ports are open. (Defaults to 80,443)
717 - Try other dirservers immediately if the one you try is down. This
718 should tolerate down dirservers better now.
719 - ORs connect-on-demand to other ORs
720 - If you get an extend cell to an OR you're not connected to,
721 connect, handshake, and forward the create cell.
722 - The authoritative dirservers stay connected to everybody,
723 and everybody stays connected to 0.0.7 servers, but otherwise
724 clients/servers expire unused connections after 5 minutes.
725 - When servers get a sigint, they delay 30 seconds (refusing new
726 connections) then exit. A second sigint causes immediate exit.
727 - File and name management:
728 - Look for .torrc if no CONFDIR "torrc" is found.
729 - If no datadir is defined, then choose, make, and secure ~/.tor
731 - If torrc not found, exitpolicy reject *:*.
732 - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
733 - If no nickname is defined, derive default from hostname.
734 - Rename secret key files, e.g. identity.key -> secret_id_key,
735 to discourage people from mailing their identity key to tor-ops.
736 - Refuse to build a circuit before the directory has arrived --
737 it won't work anyway, since you won't know the right onion keys
739 - Parse tor version numbers so we can do an is-newer-than check
740 rather than an is-in-the-list check.
741 - New socks command 'resolve', to let us shim gethostbyname()
743 - A 'tor_resolve' script to access the socks resolve functionality.
744 - A new socks-extensions.txt doc file to describe our
745 interpretation and extensions to the socks protocols.
746 - Add a ContactInfo option, which gets published in descriptor.
747 - Write tor version at the top of each log file
748 - New docs in the tarball:
750 - Document that you should proxy your SSL traffic too.
751 - Log a warning if the user uses an unsafe socks variant, so people
752 are more likely to learn about privoxy or socat.
753 - Log a warning if you're running an unverified server, to let you
754 know you might want to get it verified.
755 - Change the default exit policy to reject the default edonkey,
756 kazaa, gnutella ports.
757 - Add replace_file() to util.[ch] to handle win32's rename().
758 - Publish OR uptime in descriptor (and thus in directory) too.
759 - Remember used bandwidth (both in and out), and publish 15-minute
760 snapshots for the past day into our descriptor.
761 - Be more aggressive about trying to make circuits when the network
762 has changed (e.g. when you unsuspend your laptop).
763 - Check for time skew on http headers; report date in response to
765 - If the entrynode config line has only one node, don't pick it as
767 - Add strict{entry|exit}nodes config options. If set to 1, then
768 we refuse to build circuits that don't include the specified entry
770 - OutboundBindAddress config option, to bind to a specific
771 IP address for outgoing connect()s.
772 - End truncated log entries (e.g. directories) with "[truncated]".
775 Changes in version 0.0.7.3 - 2004-08-12
776 o Stop dnsworkers from triggering an assert failure when you
777 ask them to resolve the host "".
780 Changes in version 0.0.7.2 - 2004-07-07
781 o A better fix for the 0.0.0.0 problem, that will hopefully
782 eliminate the remaining related assertion failures.
785 Changes in version 0.0.7.1 - 2004-07-04
786 o When an address resolves to 0.0.0.0, treat it as a failed resolve,
787 since internally we use 0.0.0.0 to signify "not yet resolved".
790 Changes in version 0.0.7 - 2004-06-07
791 o Fixes for crashes and other obnoxious bugs:
792 - Fix an epipe bug: sometimes when directory connections failed
793 to connect, we would give them a chance to flush before closing
795 - When we detached from a circuit because of resolvefailed, we
796 would immediately try the same circuit twice more, and then
797 give up on the resolve thinking we'd tried three different
799 - Limit the number of intro circuits we'll attempt to build for a
800 hidden service per 15-minute period.
801 - Check recommended-software string *early*, before actually parsing
802 the directory. Thus we can detect an obsolete version and exit,
803 even if the new directory format doesn't parse.
804 o Fixes for security bugs:
805 - Remember which nodes are dirservers when you startup, and if a
806 random OR enables his dirport, don't automatically assume he's
809 - Directory connections were asking the wrong poll socket to
810 start writing, and not asking themselves to start writing.
811 - When we detached from a circuit because we sent a begin but
812 didn't get a connected, we would use it again the first time;
813 but after that we would correctly switch to a different one.
814 - Stop warning when the first onion decrypt attempt fails; they
815 will sometimes legitimately fail now that we rotate keys.
816 - Override unaligned-access-ok check when $host_cpu is ia64 or
817 arm. Apparently they allow it but the kernel whines.
818 - Dirservers try to reconnect periodically too, in case connections
820 - Fix some memory leaks in directory servers.
821 - Allow backslash in Win32 filenames.
822 - Made Tor build complain-free on FreeBSD, hopefully without
823 breaking other BSD builds. We'll see.
824 - Check directory signatures based on name of signer, not on whom
825 we got the directory from. This will let us cache directories more
827 - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
830 - Doxygen markup on all functions and global variables.
831 - Make directory functions update routerlist, not replace it. So
832 now directory disagreements are not so critical a problem.
833 - Remove the upper limit on number of descriptors in a dirserver's
834 directory (not that we were anywhere close).
835 - Allow multiple logfiles at different severity ranges.
836 - Allow *BindAddress to specify ":port" rather than setting *Port
837 separately. Allow multiple instances of each BindAddress config
838 option, so you can bind to multiple interfaces if you want.
839 - Allow multiple exit policy lines, which are processed in order.
840 Now we don't need that huge line with all the commas in it.
841 - Enable accept/reject policies on SOCKS connections, so you can bind
842 to 0.0.0.0 but still control who can use your OP.
843 - Updated the man page to reflect these features.
846 Changes in version 0.0.6.2 - 2004-05-16
847 o Our integrity-checking digest was checking only the most recent cell,
848 not the previous cells like we'd thought.
849 Thanks to Stefan Mark for finding the flaw!
852 Changes in version 0.0.6.1 - 2004-05-06
853 o Fix two bugs in our AES counter-mode implementation (this affected
854 onion-level stream encryption, but not TLS-level). It turns
855 out we were doing something much more akin to a 16-character
856 polyalphabetic cipher. Oops.
857 Thanks to Stefan Mark for finding the flaw!
858 o Retire moria3 as a directory server, and add tor26 as a directory
862 Changes in version 0.0.6 - 2004-05-02
864 - Hidden services and rendezvous points are implemented. Go to
865 http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
866 hidden services. (This only works via a socks4a proxy such as
867 Privoxy, and currently it's quite slow.)
868 - We now rotate link (tls context) keys and onion keys.
869 - CREATE cells now include oaep padding, so you can tell
870 if you decrypted them correctly.
871 - Retry stream correctly when we fail to connect because of
872 exit-policy-reject (should try another) or can't-resolve-address.
873 - When we hup a dirserver and we've *removed* a server from the
874 approved-routers list, now we remove that server from the
875 in-memory directories too.
876 - Add bandwidthburst to server descriptor.
877 - Directories now say which dirserver signed them.
878 - Use a tor_assert macro that logs failed assertions too.
879 - Since we don't support truncateds much, don't bother sending them;
881 - Fetch randomness from /dev/urandom better (not via fopen/fread)
882 - Better debugging for tls errors
883 - Set Content-Type on the directory and hidserv descriptor.
884 - Remove IVs from cipher code, since AES-ctr has none.
886 - Fix an assert trigger for exit nodes that's been plaguing us since
887 the days of 0.0.2prexx (thanks weasel!)
888 - Fix a bug where we were closing tls connections intermittently.
889 It turns out openssl keeps its errors around -- so if an error
890 happens, and you don't ask about it, and then another openssl
891 operation happens and succeeds, and you ask if there was an error,
892 it tells you about the first error.
893 - Fix a bug that's been lurking since 27 may 03 (!)
894 When passing back a destroy cell, we would use the wrong circ id.
895 - Don't crash if a conn that sent a begin has suddenly lost its circuit.
896 - Some versions of openssl have an SSL_pending function that erroneously
897 returns bytes when there is a non-application record pending.
898 - Win32 fixes. Tor now compiles on win32 with no warnings/errors.
899 o We were using an array of length zero in a few places.
900 o Win32's gethostbyname can't resolve an IP to an IP.
901 o Win32's close can't close a socket.
902 o Handle windows socket errors correctly.
904 - check for <sys/limits.h> so we build on FreeBSD again, and
905 <machine/limits.h> for NetBSD.
908 Changes in version 0.0.5 - 2004-03-30
909 o Install torrc as torrc.sample -- we no longer clobber your
911 o Fix mangled-state bug in directory fetching (was causing sigpipes).
912 o Only build circuits after we've fetched the directory: clients were
913 using only the directory servers before they'd fetched a directory.
914 This also means longer startup time; so it goes.
915 o Fix an assert trigger where an OP would fail to handshake, and we'd
916 expect it to have a nickname.
917 o Work around a tsocks bug: do a socks reject when AP connection dies
918 early, else tsocks goes into an infinite loop.
919 o Hold socks connection open until reply is flushed (if possible)
920 o Make exit nodes resolve IPs to IPs immediately, rather than asking
921 the dns farm to do it.
922 o Fix c99 aliasing warnings in rephist.c
923 o Don't include server descriptors that are older than 24 hours in the
925 o Give socks 'reject' replies their whole 15s to attempt to flush,
926 rather than seeing the 60s timeout and assuming the flush had failed.
927 o Clean automake droppings from the cvs repository
928 o Add in a 'notice' log level for things the operator should hear
929 but that aren't warnings
932 Changes in version 0.0.4 - 2004-03-26
933 o When connecting to a dirserver or OR and the network is down,
937 Changes in version 0.0.3 - 2004-03-26
938 o Warn and fail if server chose a nickname with illegal characters
939 o Port to Solaris and Sparc:
940 - include missing header fcntl.h
941 - have autoconf find -lsocket -lnsl automatically
942 - deal with hardware word alignment
943 - make uname() work (solaris has a different return convention)
944 - switch from using signal() to sigaction()
945 o Preliminary work on reputation system:
946 - Keep statistics on success/fail of connect attempts; they're published
947 by kill -USR1 currently.
948 - Add a RunTesting option to try to learn link state by creating test
949 circuits, even when SocksPort is off.
950 - Remove unused open circuits when there are too many.
953 Changes in version 0.0.2 - 2004-03-19
954 - Include strlcpy and strlcat for safer string ops
955 - define INADDR_NONE so we compile (but still not run) on solaris
958 Changes in version 0.0.2pre27 - 2004-03-14
960 - Allow internal tor networks (we were rejecting internal IPs,
961 now we allow them if they're set explicitly).
962 - And fix a few endian issues.
965 Changes in version 0.0.2pre26 - 2004-03-14
967 - If a stream times out after 15s without a connected cell, don't
968 try that circuit again: try a new one.
969 - Retry streams at most 4 times. Then give up.
970 - When a dirserver gets a descriptor from an unknown router, it
971 logs its fingerprint (so the dirserver operator can choose to
972 accept it even without mail from the server operator).
973 - Inform unapproved servers when we reject their descriptors.
974 - Make tor build on Windows again. It works as a client, who knows
976 - Clearer instructions in the torrc for how to set up a server.
977 - Be more efficient about reading fd's when our global token bucket
978 (used for rate limiting) becomes empty.
980 - Stop asserting that computers always go forward in time. It's
982 - When we sent a cell (e.g. destroy) and then marked an OR connection
983 expired, we might close it before finishing a flush if the other
984 side isn't reading right then.
985 - Don't allow dirservers to start if they haven't defined
987 - We were caching transient dns failures. Oops.
988 - Prevent servers from publishing an internal IP as their address.
989 - Address a strcat vulnerability in circuit.c
992 Changes in version 0.0.2pre25 - 2004-03-04
994 - Put the OR's IP in its router descriptor, not its fqdn. That way
995 we'll stop being stalled by gethostbyname for nodes with flaky dns,
998 - If the user typed in an address that didn't resolve, the server
1002 Changes in version 0.0.2pre24 - 2004-03-03
1004 - Fix an assertion failure in dns.c, where we were trying to dequeue
1005 a pending dns resolve even if it wasn't pending
1006 - Fix a spurious socks5 warning about still trying to write after the
1007 connection is finished.
1008 - Hold certain marked_for_close connections open until they're finished
1009 flushing, rather than losing bytes by closing them too early.
1010 - Correctly report the reason for ending a stream
1011 - Remove some duplicate calls to connection_mark_for_close
1012 - Put switch_id and start_daemon earlier in the boot sequence, so it
1013 will actually try to chdir() to options.DataDirectory
1014 - Make 'make test' exit(1) if a test fails; fix some unit tests
1015 - Make tor fail when you use a config option it doesn't know about,
1016 rather than warn and continue.
1017 - Make --version work
1018 - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
1021 Changes in version 0.0.2pre23 - 2004-02-29
1023 - Print a statement when the first circ is finished, so the user
1025 - If a relay cell is unrecognized at the end of the circuit,
1026 send back a destroy. (So attacks to mutate cells are more
1028 - New config option 'excludenodes' to avoid certain nodes for circuits.
1029 - When it daemonizes, it chdir's to the DataDirectory rather than "/",
1030 so you can collect coredumps there.
1032 - Fix a bug in tls flushing where sometimes data got wedged and
1033 didn't flush until more data got sent. Hopefully this bug was
1034 a big factor in the random delays we were seeing.
1035 - Make 'connected' cells include the resolved IP, so the client
1036 dns cache actually gets populated.
1037 - Disallow changing from ORPort=0 to ORPort>0 on hup.
1038 - When we time-out on a stream and detach from the circuit, send an
1039 end cell down it first.
1040 - Only warn about an unknown router (in exitnodes, entrynodes,
1041 excludenodes) after we've fetched a directory.
1044 Changes in version 0.0.2pre22 - 2004-02-26
1046 - Servers publish less revealing uname information in descriptors.
1047 - More memory tracking and assertions, to crash more usefully when
1049 - If the default torrc isn't there, just use some default defaults.
1050 Plus provide an internal dirservers file if they don't have one.
1051 - When the user tries to use Tor as an http proxy, give them an http
1052 501 failure explaining that we're a socks proxy.
1053 - Dump a new router.desc on hup, to help confused people who change
1054 their exit policies and then wonder why router.desc doesn't reflect
1056 - Clean up the generic tor.sh init script that we ship with.
1058 - If the exit stream is pending on the resolve, and a destroy arrives,
1059 then the stream wasn't getting removed from the pending list. I
1060 think this was the one causing recent server crashes.
1061 - Use a more robust poll on OSX 10.3, since their poll is flaky.
1062 - When it couldn't resolve any dirservers, it was useless from then on.
1063 Now it reloads the RouterFile (or default dirservers) if it has no
1065 - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
1066 many users don't even *have* a /usr/local/sbin/.
1069 Changes in version 0.0.2pre21 - 2004-02-18
1071 - There's a ChangeLog file that actually reflects the changelog.
1072 - There's a 'torify' wrapper script, with an accompanying
1073 tor-tsocks.conf, that simplifies the process of using tsocks for
1074 tor. It even has a man page.
1075 - The tor binary gets installed to sbin rather than bin now.
1076 - Retry streams where the connected cell hasn't arrived in 15 seconds
1077 - Clean up exit policy handling -- get the default out of the torrc,
1078 so we can update it without forcing each server operator to fix
1080 - Allow imaps and pop3s in default exit policy
1082 - Prevent picking middleman nodes as the last node in the circuit
1085 Changes in version 0.0.2pre20 - 2004-01-30
1087 - We now have a deb package, and it's in debian unstable. Go to
1089 - I've split the TotalBandwidth option into BandwidthRate (how many
1090 bytes per second you want to allow, long-term) and
1091 BandwidthBurst (how many bytes you will allow at once before the cap
1092 kicks in). This better token bucket approach lets you, say, set
1093 BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
1094 performance while not exceeding your monthly bandwidth quota.
1095 - Push out a tls record's worth of data once you've got it, rather
1096 than waiting until you've read everything waiting to be read. This
1097 may improve performance by pipelining better. We'll see.
1098 - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
1099 from failed circuits (if they haven't been connected yet) and attach
1101 - Expire old streams that haven't managed to connect. Some day we'll
1102 have them reattach to new circuits instead.
1105 - Fix several memory leaks that were causing servers to become bloated
1107 - Fix a few very rare assert triggers. A few more remain.
1108 - Setuid to User _before_ complaining about running as root.
1111 Changes in version 0.0.2pre19 - 2004-01-07
1113 - Fix deadlock condition in dns farm. We were telling a child to die by
1114 closing the parent's file descriptor to him. But newer children were
1115 inheriting the open file descriptor from the parent, and since they
1116 weren't closing it, the socket never closed, so the child never read
1117 eof, so he never knew to exit. Similarly, dns workers were holding
1118 open other sockets, leading to all sorts of chaos.
1119 - New cleaner daemon() code for forking and backgrounding.
1120 - If you log to a file, it now prints an entry at the top of the
1121 logfile so you know it's working.
1122 - The onionskin challenge length was 30 bytes longer than necessary.
1123 - Started to patch up the spec so it's not quite so out of date.
1126 Changes in version 0.0.2pre18 - 2004-01-02
1128 - Fix endian issues with the 'integrity' field in the relay header.
1129 - Fix a potential bug where connections in state
1130 AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
1133 Changes in version 0.0.2pre17 - 2003-12-30
1135 - Made --debuglogfile (or any second log file, actually) work.
1136 - Resolved an edge case in get_unique_circ_id_by_conn where a smart
1137 adversary could force us into an infinite loop.
1140 - Each onionskin handshake now includes a hash of the computed key,
1141 to prove the server's identity and help perfect forward secrecy.
1142 - Changed cell size from 256 to 512 bytes (working toward compatibility
1144 - Changed cell length to 2 bytes, and moved it to the relay header.
1145 - Implemented end-to-end integrity checking for the payloads of
1147 - Separated streamid from 'recognized' (otherwise circuits will get
1148 messed up when we try to have streams exit from the middle). We
1149 use the integrity-checking to confirm that a cell is addressed to
1151 - Randomize the initial circid and streamid values, so an adversary who
1152 breaks into a node can't learn how many circuits or streams have
1156 Changes in version 0.0.2pre16 - 2003-12-14
1158 - Fixed a bug that made HUP trigger an assert
1159 - Fixed a bug where a circuit that immediately failed wasn't being
1160 counted as a failed circuit in counting retries.
1163 - Now we close the circuit when we get a truncated cell: otherwise we're
1164 open to an anonymity attack where a bad node in the path truncates
1165 the circuit and then we open streams at him.
1166 - Add port ranges to exit policies
1167 - Add a conservative default exit policy
1168 - Warn if you're running tor as root
1169 - on HUP, retry OR connections and close/rebind listeners
1170 - options.EntryNodes: try these nodes first when picking the first node
1171 - options.ExitNodes: if your best choices happen to include any of
1172 your preferred exit nodes, you choose among just those preferred
1174 - options.ExcludedNodes: nodes that are never picked in path building
1177 Changes in version 0.0.2pre15 - 2003-12-03
1178 o Robustness and bugfixes:
1179 - Sometimes clients would cache incorrect DNS resolves, which would
1180 really screw things up.
1181 - An OP that goes offline would slowly leak all its sockets and stop
1183 - A wide variety of bugfixes in exit node selection, exit policy
1184 handling, and processing pending streams when a new circuit is
1186 - Pick nodes for a path only from those the directory says are up
1187 - Choose randomly from all running dirservers, not always the first one
1188 - Increase allowed http header size for directory fetch.
1189 - Stop writing to stderr (if we're daemonized it will be closed).
1190 - Enable -g always, so cores will be more useful to me.
1191 - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
1194 - Wrote a man page. It lists commonly used options.
1197 - Change default loglevel to warn.
1198 - Make PidFile default to null rather than littering in your CWD.
1199 - OnionRouter config option is now obsolete. Instead it just checks
1201 - Moved to a single unified torrc file for both clients and servers.
1204 Changes in version 0.0.2pre14 - 2003-11-29
1205 o Robustness and bugfixes:
1206 - Force the admin to make the DataDirectory himself
1207 - to get ownership/permissions right
1208 - so clients no longer make a DataDirectory and then never use it
1209 - fix bug where a client who was offline for 45 minutes would never
1210 pull down a directory again
1211 - fix (or at least hide really well) the dns assert bug that was
1212 causing server crashes
1213 - warnings and improved robustness wrt clockskew for certs
1214 - use the native daemon(3) to daemonize, when available
1215 - exit if bind() fails
1216 - exit if neither socksport nor orport is defined
1217 - include our own tor_timegm (Win32 doesn't have its own)
1218 - bugfix for win32 with lots of connections
1219 - fix minor bias in PRNG
1220 - make dirserver more robust to corrupt cached directory
1223 - Wrote the design document (woo)
1225 o Circuit building and exit policies:
1226 - Circuits no longer try to use nodes that the directory has told them
1228 - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
1229 bitcounts (18.0.0.0/8).
1230 - Make AP connections standby for a circuit if no suitable circuit
1231 exists, rather than failing
1232 - Circuits choose exit node based on addr/port, exit policies, and
1233 which AP connections are standing by
1234 - Bump min pathlen from 2 to 3
1235 - Relay end cells have a payload to describe why the stream ended.
1236 - If the stream failed because of exit policy, try again with a new
1238 - Clients have a dns cache to remember resolved addresses.
1239 - Notice more quickly when we have no working circuits
1242 - APPort is now called SocksPort
1243 - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
1245 - RecommendedVersions is now a config variable rather than
1246 hardcoded (for dirservers)
1247 - Reloads config on HUP
1248 - Usage info on -h or --help
1249 - If you set User and Group config vars, it'll setu/gid to them.
1251 Changes in version 0.0.2pre13 - 2003-10-19
1252 o General stability:
1253 - SSL_write no longer fails when it returns WANTWRITE and the number
1254 of bytes in the buf has changed by the next SSL_write call.
1255 - Fix segfault fetching directory when network is down
1256 - Fix a variety of minor memory leaks
1257 - Dirservers reload the fingerprints file on HUP, so I don't have
1258 to take down the network when I approve a new router
1259 - Default server config file has explicit Address line to specify fqdn
1262 - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
1263 - Make listener connections not ever alloc bufs
1265 o Autoconf improvements:
1266 - don't clobber an external CFLAGS in ./configure
1267 - Make install now works
1268 - create var/lib/tor on make install
1269 - autocreate a tor.sh initscript to help distribs
1270 - autocreate the torrc and sample-server-torrc with correct paths
1272 o Log files and Daemonizing now work:
1273 - If --DebugLogFile is specified, log to it at -l debug
1274 - If --LogFile is specified, use it instead of commandline
1275 - If --RunAsDaemon is set, tor forks and backgrounds on startup