break out the operations done on sighup into their own function
[tor.git] / ChangeLog
blob8a090cd2252ca8fb1ff024e63220246604bf93c4
1 Changes in version 0.0.2pre21 - 2004-02-18
2   o New features:
3     - There's a ChangeLog file that actually reflects the changelog.
4     - There's a 'torify' wrapper script, with an accompanying
5       tor-tsocks.conf, that simplifies the process of using tsocks for
6       tor. It even has a man page.
7     - The tor binary gets installed to sbin rather than bin now.
8     - Retry streams where the connected cell hasn't arrived in 15 seconds
9     - Clean up exit policy handling -- get the default out of the torrc,                      so we can update it without forcing each server operator to fix
10       his/her torrc.
11     - Allow imaps and pop3s in default exit policy
12   o Bugfixes:
13     - Prevent picking middleman nodes as the last node in the circuit
16 Changes in version 0.0.2pre20 - 2004-01-30
17   o New features:
18     - We now have a deb package, and it's in debian unstable. Go to
19       it, apt-getters. :)
20     - I've split the TotalBandwidth option into BandwidthRate (how many
21       bytes per second you want to allow, long-term) and
22       BandwidthBurst (how many bytes you will allow at once before the cap
23       kicks in).  This better token bucket approach lets you, say, set
24       BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
25       performance while not exceeding your monthly bandwidth quota.
26     - Push out a tls record's worth of data once you've got it, rather
27       than waiting until you've read everything waiting to be read. This
28       may improve performance by pipelining better. We'll see.
29     - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
30       from failed circuits (if they haven't been connected yet) and attach
31       to new ones.
32     - Expire old streams that haven't managed to connect. Some day we'll
33       have them reattach to new circuits instead.
35   o Bugfixes:
36     - Fix several memory leaks that were causing servers to become bloated
37       after a while.
38     - Fix a few very rare assert triggers. A few more remain.
39     - Setuid to User _before_ complaining about running as root.
42 Changes in version 0.0.2pre19 - 2004-01-07
43   o Bugfixes:
44     - Fix deadlock condition in dns farm. We were telling a child to die by
45       closing the parent's file descriptor to him. But newer children were
46       inheriting the open file descriptor from the parent, and since they
47       weren't closing it, the socket never closed, so the child never read
48       eof, so he never knew to exit. Similarly, dns workers were holding
49       open other sockets, leading to all sorts of chaos.
50     - New cleaner daemon() code for forking and backgrounding.
51     - If you log to a file, it now prints an entry at the top of the
52       logfile so you know it's working.
53     - The onionskin challenge length was 30 bytes longer than necessary.
54     - Started to patch up the spec so it's not quite so out of date.
57 Changes in version 0.0.2pre18 - 2004-01-02
58   o Bugfixes:
59     - Fix endian issues with the 'integrity' field in the relay header.
60     - Fix a potential bug where connections in state
61       AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
64 Changes in version 0.0.2pre17 - 2003-12-30
65   o Bugfixes:
66     - Made --debuglogfile (or any second log file, actually) work.
67     - Resolved an edge case in get_unique_circ_id_by_conn where a smart
68       adversary could force us into an infinite loop.
70   o Features:
71     - Each onionskin handshake now includes a hash of the computed key,
72       to prove the server's identity and help perfect forward secrecy.
73     - Changed cell size from 256 to 512 bytes (working toward compatibility
74       with MorphMix).
75     - Changed cell length to 2 bytes, and moved it to the relay header.
76     - Implemented end-to-end integrity checking for the payloads of
77       relay cells.
78     - Separated streamid from 'recognized' (otherwise circuits will get
79       messed up when we try to have streams exit from the middle). We
80       use the integrity-checking to confirm that a cell is addressed to
81       this hop.
82     - Randomize the initial circid and streamid values, so an adversary who
83       breaks into a node can't learn how many circuits or streams have
84       been made so far.
87 Changes in version 0.0.2pre16 - 2003-12-14
88   o Bugfixes:
89     - Fixed a bug that made HUP trigger an assert
90     - Fixed a bug where a circuit that immediately failed wasn't being
91       counted as a failed circuit in counting retries.
93   o Features:
94     - Now we close the circuit when we get a truncated cell: otherwise we're
95       open to an anonymity attack where a bad node in the path truncates
96       the circuit and then we open streams at him.
97     - Add port ranges to exit policies
98     - Add a conservative default exit policy
99     - Warn if you're running tor as root
100     - on HUP, retry OR connections and close/rebind listeners
101     - options.EntryNodes: try these nodes first when picking the first node
102     - options.ExitNodes: if your best choices happen to include any of
103       your preferred exit nodes, you choose among just those preferred
104       exit nodes.
105     - options.ExcludedNodes: nodes that are never picked in path building
108 Changes in version 0.0.2pre15 - 2003-12-03
109   o Robustness and bugfixes:
110     - Sometimes clients would cache incorrect DNS resolves, which would
111       really screw things up.
112     - An OP that goes offline would slowly leak all its sockets and stop
113       working.
114     - A wide variety of bugfixes in exit node selection, exit policy
115       handling, and processing pending streams when a new circuit is
116       established.
117     - Pick nodes for a path only from those the directory says are up
118     - Choose randomly from all running dirservers, not always the first one
119     - Increase allowed http header size for directory fetch.
120     - Stop writing to stderr (if we're daemonized it will be closed).
121     - Enable -g always, so cores will be more useful to me.
122     - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
124   o Documentation:
125     - Wrote a man page. It lists commonly used options.
127   o Configuration:
128     - Change default loglevel to warn.
129     - Make PidFile default to null rather than littering in your CWD.
130     - OnionRouter config option is now obsolete. Instead it just checks
131       ORPort>0.
132     - Moved to a single unified torrc file for both clients and servers.
135 Changes in version 0.0.2pre14 - 2003-11-29
136   o Robustness and bugfixes:
137     - Force the admin to make the DataDirectory himself
138       - to get ownership/permissions right
139       - so clients no longer make a DataDirectory and then never use it
140     - fix bug where a client who was offline for 45 minutes would never
141       pull down a directory again
142     - fix (or at least hide really well) the dns assert bug that was
143       causing server crashes
144     - warnings and improved robustness wrt clockskew for certs
145     - use the native daemon(3) to daemonize, when available
146     - exit if bind() fails
147     - exit if neither socksport nor orport is defined
148     - include our own tor_timegm (Win32 doesn't have its own)
149     - bugfix for win32 with lots of connections
150     - fix minor bias in PRNG
151     - make dirserver more robust to corrupt cached directory
153   o Documentation:
154     - Wrote the design document (woo)
156   o Circuit building and exit policies:
157     - Circuits no longer try to use nodes that the directory has told them
158       are down.
159     - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
160       bitcounts (18.0.0.0/8).
161     - Make AP connections standby for a circuit if no suitable circuit
162       exists, rather than failing
163     - Circuits choose exit node based on addr/port, exit policies, and
164       which AP connections are standing by
165     - Bump min pathlen from 2 to 3
166     - Relay end cells have a payload to describe why the stream ended.
167     - If the stream failed because of exit policy, try again with a new
168       circuit.
169     - Clients have a dns cache to remember resolved addresses.
170     - Notice more quickly when we have no working circuits
172   o Configuration:
173     - APPort is now called SocksPort
174     - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
175       where to bind
176     - RecommendedVersions is now a config variable rather than
177       hardcoded (for dirservers)
178     - Reloads config on HUP
179     - Usage info on -h or --help
180     - If you set User and Group config vars, it'll setu/gid to them.