1 Changes in version 0.0.2pre25 - 2004-03-04
3 - Put the OR's IP in its router descriptor, not its fqdn. That way
4 we'll stop being stalled by gethostbyname for nodes with flaky dns,
7 - If the user typed in an address that didn't resolve, the server
10 Changes in version 0.0.2pre24 - 2004-03-03
12 - Fix an assertion failure in dns.c, where we were trying to dequeue
13 a pending dns resolve even if it wasn't pending
14 - Fix a spurious socks5 warning about still trying to write after the connection is finished.
15 - Hold certain marked_for_close connections open until they're finished
16 flushing, rather than losing bytes by closing them too early.
17 - Correctly report the reason for ending a stream
18 - Remove some duplicate calls to connection_mark_for_close
19 - Put switch_id and start_daemon earlier in the boot sequence, so it
20 will actually try to chdir() to options.DataDirectory
21 - Make 'make test' exit(1) if a test fails; fix some unit tests
22 - Make tor fail when you use a config option it doesn't know about,
23 rather than warn and continue.
25 - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
28 Changes in version 0.0.2pre23 - 2004-02-29
30 - Print a statement when the first circ is finished, so the user
32 - If a relay cell is unrecognized at the end of the circuit,
33 send back a destroy. (So attacks to mutate cells are more
35 - New config option 'excludenodes' to avoid certain nodes for circuits.
36 - When it daemonizes, it chdir's to the DataDirectory rather than "/",
37 so you can collect coredumps there.
39 - Fix a bug in tls flushing where sometimes data got wedged and
40 didn't flush until more data got sent. Hopefully this bug was
41 a big factor in the random delays we were seeing.
42 - Make 'connected' cells include the resolved IP, so the client
43 dns cache actually gets populated.
44 - Disallow changing from ORPort=0 to ORPort>0 on hup.
45 - When we time-out on a stream and detach from the circuit, send an
46 end cell down it first.
47 - Only warn about an unknown router (in exitnodes, entrynodes,
48 excludenodes) after we've fetched a directory.
51 Changes in version 0.0.2pre22 - 2004-02-26
53 - Servers publish less revealing uname information in descriptors.
54 - More memory tracking and assertions, to crash more usefully when
56 - If the default torrc isn't there, just use some default defaults.
57 Plus provide an internal dirservers file if they don't have one.
58 - When the user tries to use Tor as an http proxy, give them an http
59 501 failure explaining that we're a socks proxy.
60 - Dump a new router.desc on hup, to help confused people who change
61 their exit policies and then wonder why router.desc doesn't reflect
63 - Clean up the generic tor.sh init script that we ship with.
65 - If the exit stream is pending on the resolve, and a destroy arrives,
66 then the stream wasn't getting removed from the pending list. I
67 think this was the one causing recent server crashes.
68 - Use a more robust poll on OSX 10.3, since their poll is flaky.
69 - When it couldn't resolve any dirservers, it was useless from then on.
70 Now it reloads the RouterFile (or default dirservers) if it has no
72 - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
73 many users don't even *have* a /usr/local/sbin/.
76 Changes in version 0.0.2pre21 - 2004-02-18
78 - There's a ChangeLog file that actually reflects the changelog.
79 - There's a 'torify' wrapper script, with an accompanying
80 tor-tsocks.conf, that simplifies the process of using tsocks for
81 tor. It even has a man page.
82 - The tor binary gets installed to sbin rather than bin now.
83 - Retry streams where the connected cell hasn't arrived in 15 seconds
84 - Clean up exit policy handling -- get the default out of the torrc, so we can update it without forcing each server operator to fix
86 - Allow imaps and pop3s in default exit policy
88 - Prevent picking middleman nodes as the last node in the circuit
91 Changes in version 0.0.2pre20 - 2004-01-30
93 - We now have a deb package, and it's in debian unstable. Go to
95 - I've split the TotalBandwidth option into BandwidthRate (how many
96 bytes per second you want to allow, long-term) and
97 BandwidthBurst (how many bytes you will allow at once before the cap
98 kicks in). This better token bucket approach lets you, say, set
99 BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
100 performance while not exceeding your monthly bandwidth quota.
101 - Push out a tls record's worth of data once you've got it, rather
102 than waiting until you've read everything waiting to be read. This
103 may improve performance by pipelining better. We'll see.
104 - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
105 from failed circuits (if they haven't been connected yet) and attach
107 - Expire old streams that haven't managed to connect. Some day we'll
108 have them reattach to new circuits instead.
111 - Fix several memory leaks that were causing servers to become bloated
113 - Fix a few very rare assert triggers. A few more remain.
114 - Setuid to User _before_ complaining about running as root.
117 Changes in version 0.0.2pre19 - 2004-01-07
119 - Fix deadlock condition in dns farm. We were telling a child to die by
120 closing the parent's file descriptor to him. But newer children were
121 inheriting the open file descriptor from the parent, and since they
122 weren't closing it, the socket never closed, so the child never read
123 eof, so he never knew to exit. Similarly, dns workers were holding
124 open other sockets, leading to all sorts of chaos.
125 - New cleaner daemon() code for forking and backgrounding.
126 - If you log to a file, it now prints an entry at the top of the
127 logfile so you know it's working.
128 - The onionskin challenge length was 30 bytes longer than necessary.
129 - Started to patch up the spec so it's not quite so out of date.
132 Changes in version 0.0.2pre18 - 2004-01-02
134 - Fix endian issues with the 'integrity' field in the relay header.
135 - Fix a potential bug where connections in state
136 AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
139 Changes in version 0.0.2pre17 - 2003-12-30
141 - Made --debuglogfile (or any second log file, actually) work.
142 - Resolved an edge case in get_unique_circ_id_by_conn where a smart
143 adversary could force us into an infinite loop.
146 - Each onionskin handshake now includes a hash of the computed key,
147 to prove the server's identity and help perfect forward secrecy.
148 - Changed cell size from 256 to 512 bytes (working toward compatibility
150 - Changed cell length to 2 bytes, and moved it to the relay header.
151 - Implemented end-to-end integrity checking for the payloads of
153 - Separated streamid from 'recognized' (otherwise circuits will get
154 messed up when we try to have streams exit from the middle). We
155 use the integrity-checking to confirm that a cell is addressed to
157 - Randomize the initial circid and streamid values, so an adversary who
158 breaks into a node can't learn how many circuits or streams have
162 Changes in version 0.0.2pre16 - 2003-12-14
164 - Fixed a bug that made HUP trigger an assert
165 - Fixed a bug where a circuit that immediately failed wasn't being
166 counted as a failed circuit in counting retries.
169 - Now we close the circuit when we get a truncated cell: otherwise we're
170 open to an anonymity attack where a bad node in the path truncates
171 the circuit and then we open streams at him.
172 - Add port ranges to exit policies
173 - Add a conservative default exit policy
174 - Warn if you're running tor as root
175 - on HUP, retry OR connections and close/rebind listeners
176 - options.EntryNodes: try these nodes first when picking the first node
177 - options.ExitNodes: if your best choices happen to include any of
178 your preferred exit nodes, you choose among just those preferred
180 - options.ExcludedNodes: nodes that are never picked in path building
183 Changes in version 0.0.2pre15 - 2003-12-03
184 o Robustness and bugfixes:
185 - Sometimes clients would cache incorrect DNS resolves, which would
186 really screw things up.
187 - An OP that goes offline would slowly leak all its sockets and stop
189 - A wide variety of bugfixes in exit node selection, exit policy
190 handling, and processing pending streams when a new circuit is
192 - Pick nodes for a path only from those the directory says are up
193 - Choose randomly from all running dirservers, not always the first one
194 - Increase allowed http header size for directory fetch.
195 - Stop writing to stderr (if we're daemonized it will be closed).
196 - Enable -g always, so cores will be more useful to me.
197 - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
200 - Wrote a man page. It lists commonly used options.
203 - Change default loglevel to warn.
204 - Make PidFile default to null rather than littering in your CWD.
205 - OnionRouter config option is now obsolete. Instead it just checks
207 - Moved to a single unified torrc file for both clients and servers.
210 Changes in version 0.0.2pre14 - 2003-11-29
211 o Robustness and bugfixes:
212 - Force the admin to make the DataDirectory himself
213 - to get ownership/permissions right
214 - so clients no longer make a DataDirectory and then never use it
215 - fix bug where a client who was offline for 45 minutes would never
216 pull down a directory again
217 - fix (or at least hide really well) the dns assert bug that was
218 causing server crashes
219 - warnings and improved robustness wrt clockskew for certs
220 - use the native daemon(3) to daemonize, when available
221 - exit if bind() fails
222 - exit if neither socksport nor orport is defined
223 - include our own tor_timegm (Win32 doesn't have its own)
224 - bugfix for win32 with lots of connections
225 - fix minor bias in PRNG
226 - make dirserver more robust to corrupt cached directory
229 - Wrote the design document (woo)
231 o Circuit building and exit policies:
232 - Circuits no longer try to use nodes that the directory has told them
234 - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
235 bitcounts (18.0.0.0/8).
236 - Make AP connections standby for a circuit if no suitable circuit
237 exists, rather than failing
238 - Circuits choose exit node based on addr/port, exit policies, and
239 which AP connections are standing by
240 - Bump min pathlen from 2 to 3
241 - Relay end cells have a payload to describe why the stream ended.
242 - If the stream failed because of exit policy, try again with a new
244 - Clients have a dns cache to remember resolved addresses.
245 - Notice more quickly when we have no working circuits
248 - APPort is now called SocksPort
249 - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
251 - RecommendedVersions is now a config variable rather than
252 hardcoded (for dirservers)
253 - Reloads config on HUP
254 - Usage info on -h or --help
255 - If you set User and Group config vars, it'll setu/gid to them.