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