ChangeLog 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. Changes in version 0.0.5 - 2004-03-30
  2. o Install torrc as torrc.sample -- we no longer clobber your
  3. torrc. (Woo!)
  4. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  5. o Only build circuits after we've fetched the directory: clients were
  6. using only the directory servers before they'd fetched a directory.
  7. This also means longer startup time; so it goes.
  8. o Fix an assert trigger where an OP would fail to handshake, and we'd
  9. expect it to have a nickname.
  10. o Work around a tsocks bug: do a socks reject when AP connection dies
  11. early, else tsocks goes into an infinite loop.
  12. o Hold socks connection open until reply is flushed (if possible)
  13. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  14. the dns farm to do it.
  15. o Fix c99 aliasing warnings in rephist.c
  16. o Don't include server descriptors that are older than 24 hours in the
  17. directory.
  18. o Give socks 'reject' replies their whole 15s to attempt to flush,
  19. rather than seeing the 60s timeout and assuming the flush had failed.
  20. o Clean automake droppings from the cvs repository
  21. o Add in a 'notice' log level for things the operator should hear
  22. but that aren't warnings
  23. Changes in version 0.0.4 - 2004-03-26
  24. o When connecting to a dirserver or OR and the network is down,
  25. we would crash.
  26. Changes in version 0.0.3 - 2004-03-26
  27. o Warn and fail if server chose a nickname with illegal characters
  28. o Port to Solaris and Sparc:
  29. - include missing header fcntl.h
  30. - have autoconf find -lsocket -lnsl automatically
  31. - deal with hardware word alignment
  32. - make uname() work (solaris has a different return convention)
  33. - switch from using signal() to sigaction()
  34. o Preliminary work on reputation system:
  35. - Keep statistics on success/fail of connect attempts; they're published
  36. by kill -USR1 currently.
  37. - Add a RunTesting option to try to learn link state by creating test
  38. circuits, even when SocksPort is off.
  39. - Remove unused open circuits when there are too many.
  40. Changes in version 0.0.2 - 2004-03-19
  41. - Include strlcpy and strlcat for safer string ops
  42. - define INADDR_NONE so we compile (but still not run) on solaris
  43. Changes in version 0.0.2pre27 - 2004-03-14
  44. o Bugfixes:
  45. - Allow internal tor networks (we were rejecting internal IPs,
  46. now we allow them if they're set explicitly).
  47. - And fix a few endian issues.
  48. Changes in version 0.0.2pre26 - 2004-03-14
  49. o New features:
  50. - If a stream times out after 15s without a connected cell, don't
  51. try that circuit again: try a new one.
  52. - Retry streams at most 4 times. Then give up.
  53. - When a dirserver gets a descriptor from an unknown router, it
  54. logs its fingerprint (so the dirserver operator can choose to
  55. accept it even without mail from the server operator).
  56. - Inform unapproved servers when we reject their descriptors.
  57. - Make tor build on Windows again. It works as a client, who knows
  58. about as a server.
  59. - Clearer instructions in the torrc for how to set up a server.
  60. - Be more efficient about reading fd's when our global token bucket
  61. (used for rate limiting) becomes empty.
  62. o Bugfixes:
  63. - Stop asserting that computers always go forward in time. It's
  64. simply not true.
  65. - When we sent a cell (e.g. destroy) and then marked an OR connection
  66. expired, we might close it before finishing a flush if the other
  67. side isn't reading right then.
  68. - Don't allow dirservers to start if they haven't defined
  69. RecommendedVersions
  70. - We were caching transient dns failures. Oops.
  71. - Prevent servers from publishing an internal IP as their address.
  72. - Address a strcat vulnerability in circuit.c
  73. Changes in version 0.0.2pre25 - 2004-03-04
  74. o New features:
  75. - Put the OR's IP in its router descriptor, not its fqdn. That way
  76. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  77. e.g. poblano.
  78. o Bugfixes:
  79. - If the user typed in an address that didn't resolve, the server
  80. crashed.
  81. Changes in version 0.0.2pre24 - 2004-03-03
  82. o Bugfixes:
  83. - Fix an assertion failure in dns.c, where we were trying to dequeue
  84. a pending dns resolve even if it wasn't pending
  85. - Fix a spurious socks5 warning about still trying to write after the connection is finished.
  86. - Hold certain marked_for_close connections open until they're finished
  87. flushing, rather than losing bytes by closing them too early.
  88. - Correctly report the reason for ending a stream
  89. - Remove some duplicate calls to connection_mark_for_close
  90. - Put switch_id and start_daemon earlier in the boot sequence, so it
  91. will actually try to chdir() to options.DataDirectory
  92. - Make 'make test' exit(1) if a test fails; fix some unit tests
  93. - Make tor fail when you use a config option it doesn't know about,
  94. rather than warn and continue.
  95. - Make --version work
  96. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  97. Changes in version 0.0.2pre23 - 2004-02-29
  98. o New features:
  99. - Print a statement when the first circ is finished, so the user
  100. knows it's working.
  101. - If a relay cell is unrecognized at the end of the circuit,
  102. send back a destroy. (So attacks to mutate cells are more
  103. clearly thwarted.)
  104. - New config option 'excludenodes' to avoid certain nodes for circuits.
  105. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  106. so you can collect coredumps there.
  107. o Bugfixes:
  108. - Fix a bug in tls flushing where sometimes data got wedged and
  109. didn't flush until more data got sent. Hopefully this bug was
  110. a big factor in the random delays we were seeing.
  111. - Make 'connected' cells include the resolved IP, so the client
  112. dns cache actually gets populated.
  113. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  114. - When we time-out on a stream and detach from the circuit, send an
  115. end cell down it first.
  116. - Only warn about an unknown router (in exitnodes, entrynodes,
  117. excludenodes) after we've fetched a directory.
  118. Changes in version 0.0.2pre22 - 2004-02-26
  119. o New features:
  120. - Servers publish less revealing uname information in descriptors.
  121. - More memory tracking and assertions, to crash more usefully when
  122. errors happen.
  123. - If the default torrc isn't there, just use some default defaults.
  124. Plus provide an internal dirservers file if they don't have one.
  125. - When the user tries to use Tor as an http proxy, give them an http
  126. 501 failure explaining that we're a socks proxy.
  127. - Dump a new router.desc on hup, to help confused people who change
  128. their exit policies and then wonder why router.desc doesn't reflect
  129. it.
  130. - Clean up the generic tor.sh init script that we ship with.
  131. o Bugfixes:
  132. - If the exit stream is pending on the resolve, and a destroy arrives,
  133. then the stream wasn't getting removed from the pending list. I
  134. think this was the one causing recent server crashes.
  135. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  136. - When it couldn't resolve any dirservers, it was useless from then on.
  137. Now it reloads the RouterFile (or default dirservers) if it has no
  138. dirservers.
  139. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  140. many users don't even *have* a /usr/local/sbin/.
  141. Changes in version 0.0.2pre21 - 2004-02-18
  142. o New features:
  143. - There's a ChangeLog file that actually reflects the changelog.
  144. - There's a 'torify' wrapper script, with an accompanying
  145. tor-tsocks.conf, that simplifies the process of using tsocks for
  146. tor. It even has a man page.
  147. - The tor binary gets installed to sbin rather than bin now.
  148. - Retry streams where the connected cell hasn't arrived in 15 seconds
  149. - Clean up exit policy handling -- get the default out of the torrc, so we can update it without forcing each server operator to fix
  150. his/her torrc.
  151. - Allow imaps and pop3s in default exit policy
  152. o Bugfixes:
  153. - Prevent picking middleman nodes as the last node in the circuit
  154. Changes in version 0.0.2pre20 - 2004-01-30
  155. o New features:
  156. - We now have a deb package, and it's in debian unstable. Go to
  157. it, apt-getters. :)
  158. - I've split the TotalBandwidth option into BandwidthRate (how many
  159. bytes per second you want to allow, long-term) and
  160. BandwidthBurst (how many bytes you will allow at once before the cap
  161. kicks in). This better token bucket approach lets you, say, set
  162. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  163. performance while not exceeding your monthly bandwidth quota.
  164. - Push out a tls record's worth of data once you've got it, rather
  165. than waiting until you've read everything waiting to be read. This
  166. may improve performance by pipelining better. We'll see.
  167. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  168. from failed circuits (if they haven't been connected yet) and attach
  169. to new ones.
  170. - Expire old streams that haven't managed to connect. Some day we'll
  171. have them reattach to new circuits instead.
  172. o Bugfixes:
  173. - Fix several memory leaks that were causing servers to become bloated
  174. after a while.
  175. - Fix a few very rare assert triggers. A few more remain.
  176. - Setuid to User _before_ complaining about running as root.
  177. Changes in version 0.0.2pre19 - 2004-01-07
  178. o Bugfixes:
  179. - Fix deadlock condition in dns farm. We were telling a child to die by
  180. closing the parent's file descriptor to him. But newer children were
  181. inheriting the open file descriptor from the parent, and since they
  182. weren't closing it, the socket never closed, so the child never read
  183. eof, so he never knew to exit. Similarly, dns workers were holding
  184. open other sockets, leading to all sorts of chaos.
  185. - New cleaner daemon() code for forking and backgrounding.
  186. - If you log to a file, it now prints an entry at the top of the
  187. logfile so you know it's working.
  188. - The onionskin challenge length was 30 bytes longer than necessary.
  189. - Started to patch up the spec so it's not quite so out of date.
  190. Changes in version 0.0.2pre18 - 2004-01-02
  191. o Bugfixes:
  192. - Fix endian issues with the 'integrity' field in the relay header.
  193. - Fix a potential bug where connections in state
  194. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  195. Changes in version 0.0.2pre17 - 2003-12-30
  196. o Bugfixes:
  197. - Made --debuglogfile (or any second log file, actually) work.
  198. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  199. adversary could force us into an infinite loop.
  200. o Features:
  201. - Each onionskin handshake now includes a hash of the computed key,
  202. to prove the server's identity and help perfect forward secrecy.
  203. - Changed cell size from 256 to 512 bytes (working toward compatibility
  204. with MorphMix).
  205. - Changed cell length to 2 bytes, and moved it to the relay header.
  206. - Implemented end-to-end integrity checking for the payloads of
  207. relay cells.
  208. - Separated streamid from 'recognized' (otherwise circuits will get
  209. messed up when we try to have streams exit from the middle). We
  210. use the integrity-checking to confirm that a cell is addressed to
  211. this hop.
  212. - Randomize the initial circid and streamid values, so an adversary who
  213. breaks into a node can't learn how many circuits or streams have
  214. been made so far.
  215. Changes in version 0.0.2pre16 - 2003-12-14
  216. o Bugfixes:
  217. - Fixed a bug that made HUP trigger an assert
  218. - Fixed a bug where a circuit that immediately failed wasn't being
  219. counted as a failed circuit in counting retries.
  220. o Features:
  221. - Now we close the circuit when we get a truncated cell: otherwise we're
  222. open to an anonymity attack where a bad node in the path truncates
  223. the circuit and then we open streams at him.
  224. - Add port ranges to exit policies
  225. - Add a conservative default exit policy
  226. - Warn if you're running tor as root
  227. - on HUP, retry OR connections and close/rebind listeners
  228. - options.EntryNodes: try these nodes first when picking the first node
  229. - options.ExitNodes: if your best choices happen to include any of
  230. your preferred exit nodes, you choose among just those preferred
  231. exit nodes.
  232. - options.ExcludedNodes: nodes that are never picked in path building
  233. Changes in version 0.0.2pre15 - 2003-12-03
  234. o Robustness and bugfixes:
  235. - Sometimes clients would cache incorrect DNS resolves, which would
  236. really screw things up.
  237. - An OP that goes offline would slowly leak all its sockets and stop
  238. working.
  239. - A wide variety of bugfixes in exit node selection, exit policy
  240. handling, and processing pending streams when a new circuit is
  241. established.
  242. - Pick nodes for a path only from those the directory says are up
  243. - Choose randomly from all running dirservers, not always the first one
  244. - Increase allowed http header size for directory fetch.
  245. - Stop writing to stderr (if we're daemonized it will be closed).
  246. - Enable -g always, so cores will be more useful to me.
  247. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  248. o Documentation:
  249. - Wrote a man page. It lists commonly used options.
  250. o Configuration:
  251. - Change default loglevel to warn.
  252. - Make PidFile default to null rather than littering in your CWD.
  253. - OnionRouter config option is now obsolete. Instead it just checks
  254. ORPort>0.
  255. - Moved to a single unified torrc file for both clients and servers.
  256. Changes in version 0.0.2pre14 - 2003-11-29
  257. o Robustness and bugfixes:
  258. - Force the admin to make the DataDirectory himself
  259. - to get ownership/permissions right
  260. - so clients no longer make a DataDirectory and then never use it
  261. - fix bug where a client who was offline for 45 minutes would never
  262. pull down a directory again
  263. - fix (or at least hide really well) the dns assert bug that was
  264. causing server crashes
  265. - warnings and improved robustness wrt clockskew for certs
  266. - use the native daemon(3) to daemonize, when available
  267. - exit if bind() fails
  268. - exit if neither socksport nor orport is defined
  269. - include our own tor_timegm (Win32 doesn't have its own)
  270. - bugfix for win32 with lots of connections
  271. - fix minor bias in PRNG
  272. - make dirserver more robust to corrupt cached directory
  273. o Documentation:
  274. - Wrote the design document (woo)
  275. o Circuit building and exit policies:
  276. - Circuits no longer try to use nodes that the directory has told them
  277. are down.
  278. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  279. bitcounts (18.0.0.0/8).
  280. - Make AP connections standby for a circuit if no suitable circuit
  281. exists, rather than failing
  282. - Circuits choose exit node based on addr/port, exit policies, and
  283. which AP connections are standing by
  284. - Bump min pathlen from 2 to 3
  285. - Relay end cells have a payload to describe why the stream ended.
  286. - If the stream failed because of exit policy, try again with a new
  287. circuit.
  288. - Clients have a dns cache to remember resolved addresses.
  289. - Notice more quickly when we have no working circuits
  290. o Configuration:
  291. - APPort is now called SocksPort
  292. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  293. where to bind
  294. - RecommendedVersions is now a config variable rather than
  295. hardcoded (for dirservers)
  296. - Reloads config on HUP
  297. - Usage info on -h or --help
  298. - If you set User and Group config vars, it'll setu/gid to them.