ChangeLog 74 KB

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