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