vague fuzzy bug reports so i don't forget them
[tor.git] / doc / TODO
blobad1cf3c831c656c9aa3110c0b2afe58eb5ec3c7f
1 $Id$
2 Legend:
3 SPEC!!  - Not specified
4 SPEC    - Spec not finalized
5 N       - nick claims
6 R       - arma claims
7 P       - phobos claims
8         - Not done
9         * Top priority
10         . Partially done
11         o Done
12         d Deferrable
13         D Deferred
14         X Abandoned
16 Documentation and testing on 0.1.2.x-final series
18   - Pending backports for 0.1.2.x:
19     - r10148: Open cached-routers with FILE_SHARE_READ on win32.
20     - r10493: Weight guard selection by bandwidth.
22 N - Test guard unreachable logic; make sure that we actually attempt to
23     connect to guards that we think are unreachable from time to time.
24     Make sure that we don't freak out when the network is down.
26   . Forward compatibility fixes
27 N   - Hack up a client that gives out weird/no certificates, so we can
28       test to make sure that this doesn't cause servers to crash.
30 NR. Write path-spec.txt
32   - Docs
33     - Tell people about OSX Uninstaller
34     - Quietly document NT Service options
35     - More prominently, we should have a recommended apps list.
36       - recommend gaim.
37       - unrecommend IE because of ftp:// bug.
38 N   - we should add a preamble to tor-design saying it's out of date.
39 N   . Document transport and natdport
40       o In man page
41       - In a good HOWTO.
43 Things we'd like to do in 0.2.0.x:
44       - Bug reports I've heard along that way that don't have enough
45         details to solve them yet.
46         - tup said that when he set FetchUselessDescriptors, after
47           24 or 48 hours he wasn't fetching any descriptors at all
48           anymore. This was in 0.2.0 but worked fine in 0.1.2.
49         - arma noticed that when his network went away and he tried
50           a new guard node and the connect() syscall failed to it,
51           the guard wasn't being marked as down. 0.2.0.x.
52         - after being without network for 12 hours, arma's tor decided
53           it couldn't fetch any network statuses, and never tried again
54           even when the network came back and arma clicked on things.
55           also 0.2.0.
56       - Update dir-spec with decisions made on these issues:
57         o clients don't log as loudly when they receive them
58         o they don't count toward the 3-strikes rule
59           D But eventually, we give up after getting a lot of 503s.
60           D Delay when we get a lot of 503s, rather than punting onto the
61             servers that have given us 503s?
62           o Add a 'BadDirectory' flag to statuses.
63         o authorities should *never* 503 a cache, and should never 503
64           network status requests.
65         D They can 503 client descriptor requests when they feel like it.
66           How can they distinguish? Not implemented for now, maybe
67           should abandon.
68         - describe our 302 not modified behaviors.
69         - and document a bit more -- e.g. it looks like we return an empty
70           200 OK when somebody asks us for a networkstatus and we don't
71           have it?
73   - Proposals:
74     . 101: Voting on the Tor Directory System (plus 103)
75       o Prepare ASAP for new voting formats
76         o Don't flip out with warnings when voting-related URLs are
77           uploaded/downloaded.
78       . Finalize proposal
79         . Merge 101 and 103 and dir-spec.txt into a new dir-spec.txt; fork
80           the existing one into dir-spec-v2.txt.
81       - Get authorities voting
82         . Implement parsing for new document formats
83           o Parse key certificates
84           o Parse votes and consensuses
85           - Unit tests for above
86         . Code to manage key certificates
87           o Generate certificates
88           o Authorities load certificates
89           o Clients cache certificates on disk
90           - Download as needed.
91           - Serve list as needed.
92           o Avoid double-checking signatures every time we get a vote.
93           - Warn about expired stuff.
94         o Code to generate votes
95         o Code to generate consensus from a list of votes
96         - Add a signature to a consensus.
97         o Code to check signatures on a consensus
98         - Push/pull documents as appropriate.
99         o Have clients know which authorities are v3 authorities, and what
100           their keys are.
101           - While we're at it, let v3 authorities have fqdns lines.
102       - Start caching consensus documents once authorities make them
103       - Start downloading and using consensus documents once caches serve them
104     . 104: Long and Short Router Descriptors
105       . Finalize proposal
106       o Implement parsing for extra-info documents
107       o Have routers generate extra-info documents.
108       o Have have authorities accept them and serve them from specified URLs
109         o Implement directory-protocol side.
110         o Implement storage in memory
111         o Implement cache on disk.
112       o Have routers upload extra-info documents to authorities running
113         version 0.2.0.0-alpha-dev (r10070) or later.
114         o Implement, but make it option-controlled.
115         o Make it always-on once it seems to work.
116       o Implement option to download and cache extra-info documents.
117       o Improve the 'retry' logic on extra-info documents.
118       - Drop bandwidth history from router-descriptors
119     - 105: Version negotiation for the Tor protocol
120     - 108: Base "Stable" Flag on Mean Time Between Failures
121     - 109: No more than one server per IP address
122     o 103: Splitting identity key from regularly used signing key
123       o Merge with 101 into a new dir-spec.txt
124     - 113: Simplifying directory authority administration
125     - 110: prevent infinite-length circuits (phase one)
126       - servers should recognize relay_extend cells and pass them
127         on just like relay cells
128   - Refactoring:
129     - Make resolves no longer use edge_connection_t unless they are actually
130       _on_ on a socks connection: have edge_connection_t and (say)
131       dns_request_t both extend an edge_stream_t, and have p_streams and
132       n_streams both be linked lists of edge_stream_t.
133     . Make cells get buffered on circuit, not on the or_conn.
134       O Implement cell queues
135       o Keep doubly-linked list of active circuits on each or_conn.
136       o Put all relay data on the circuit cell queue, not on the outbuf.
137       o Don't move them into the target conn until there is space on the
138         target conn's outbuf.
139       o When making a circuit active on a connection with an empty buf,
140         we need to "prime" the buffer, so that we can trigger the "I flushed
141         some" test.
142       X Change how directory-bridge-choking works: choke when circuit queue
143         is full, not when the orconn is "too full".
144         [No need to do this: the edge-connection choking will already take
145         care of this a bit, and rewriting the 'bridged connection' code
146         to not use socketpairs will give us even more control.]
147       . Do we switch to pool-allocation for cells?
148         o Implement pool-allocation
149         o Have Tor use it for packed cells.
150         o Document it.
151         o Do something smart with freeing unused chunks.
152         - Benchmark pool-allocation vs straightforward malloc.
153         - Adjust memory allocation logic in pools to favor a little less
154           slack memory.
155       D Can we stop doing so many memcpys on cells?
156       o Also, only package data from exitconns when there is space on the
157         target OR conn's outbuf?  or when the circuit is not too full.
158       - MAYBE kill stalled circuits rather than stalled connections; consider
159         anonymity implications.
160     - Move all status info out of routerinfo into local_routerstatus.  Make
161       "who can change what" in local_routerstatus explicit.  Make
162       local_routerstatus (or equivalent) subsume all places to go for "what
163       router is this?"
164     . Remove socketpair-based bridges conns, and the word "bridge".  (Use
165       shared (or connected) buffers for communication, rather than sockets.)
166       o Design
167         o Pick a term.  The term is now "linked connection."
168         o Figure out how to ensure that handle_read is always called.
169           (Use event_active; keep active events in a list; use event_once
170           to make sure that we call the event base dispatch function enough.)
171       . Implement
172         o Count connections and sockets separately
173         . Allow connections with s == -1
174         o Add a linked_conn field; it should get marked when we're marked.
175         o Add a function to move bytes from buffer to buffer.
176         o Have read_to_buf dtrt for linked connections
177         o Have handle_read dtrt for linked connections
178         o Have an activate/deactivate_linked_connection function.
179         o Have activated connections added to a list on first activation, and
180           that list made active before calls to event_loop.
181         o Have connections get deactivated when no more data to write on
182           linked conn outbuf.
183         o Handle closing connections properly.
184         o Actually create and use linked connections.
185         - Handle rate-limiting on directory writes to linked directory
186           connections in a more sensible manner.
187         o Rename want_to_read and want_to_write; they're actually about
188           being blocked, not about wanting to read/write.
189         - Find more ways to test this.
190     D Generate torrc.{complete|sample}.in, tor.1.in, the HTML manual, and the
191       online config documentation from a single source.
192     - Have clients do TLS connection rotation less often than "every 10
193       minutes" in the thrashy case, and more often than "once a week" in the
194       extra-stable case.
195     - Streamline how we pick entry nodes: Make choose_random_entry() have
196       less magic and less control logic.
197     - Implement TLS shutdown properly when possible.
198     - Maybe move NT services into their own module.
199     . Autoconf cleanups and improvements:
200       o Remove redundant event.h check.
201       o Check for zlib with the same machinery as for libevent and openssl.
202       o Make the "no longer strictly accurate" message accurate.
203       . Tell the user what -dev package to install based on OS.
204       - Detect correct version of libraries.
205       o Run autoupdate
206     - Refactor networkstatus generation:
207       o Use networkstatus_getinfo_helper_single() as base of
208         networkstatus generation; eliminate duplicate code.
209       - Include "v" line in getinfo values.
210   - Features:
211     - Traffic priorities
212       - Ability to prioritize own traffic over relayed traffic.
213     o Implement a DNS proxy
214       o Make a listener type.
215       o Hook into connection_edge logic.
216       o Hook into evdns_server_* logic
217       o Actually send back a useful answer.
218       o Make it handle .onion and .exit correctly.
219       - Document.
220       - Handle TCP DNS requests too?
221     o Add a way to request DNS resolves from the controller.
222     - A better UI for authority ops.
223       - Follow weasel's proposal, crossed with mixminion dir config format
224       - Write a proposal
225     - Bridges users (rudimentary version)
226       o Ability to specify bridges manually
227       o Config option 'UseBridges' that bridge users can turn on.
228         o uses bridges as first hop rather than entry guards.
229       D Do we want to maintain our own set of entryguards that we use as
230         next hop after the bridge? Open research question; let's say no
231         for 0.2.0 unless we learn otherwise.
232       o if you don't have any routerinfos for your bridges, or you don't
233         like the ones you have, ask a new bridge for its server/authority.
234       . Ask all directory questions to bridge via BEGIN_DIR.
235         - use the bridges for dir fetches even when our dirport is open.
236 R     - drop 'authority' queries if they're to our own identity key; accept
237         them otherwise.
238 N     - Design/implement the "local-status" or something like it, from the
239         "Descriptor purposes: how to tell them apart" section of
240         http://archives.seul.org/or/dev/May-2007/msg00008.html
241         - cache of bridges that we've learned about and use but aren't
242           manually listed in the torrc.
243           D and some mechanism for specifying that we want to stop using
244             a given bridge in this cache.
245       - timeout and retry schedules for fetching bridge descriptors
246       - give extend_info_t a router_purpose again
247       o react faster to download networkstatuses after the first bridge
248         descriptor arrives
249       - be more robust to bridges being marked as down and leaving us
250         stranded without any known "running" bridges.
251     - Bridges operators (rudimentary version)
252       - Ability to act as dir cache without a dir port.
253       o Bridges publish to bridge authorities
254       - Fix BEGIN_DIR so that you connect to bridge of which you only
255         know IP (and optionally fingerprint), and then use BEGIN_DIR to learn
256         more about it.
257       - look at server_mode() and decide if it always applies to bridges too.
258     - Bridges authorities (rudimentary version)
259       o Rudimentary "do not publish networkstatus" option for bridge
260         authorities.
261       - Clients can ask bridge authorities for more bridges.
262       D Should do reachability testing but only on the purpose==bridge
263         descriptors we have.
264     - Bridges
265       - Clients can ask bridge authorities for updates on known bridges.
266       - More TLS normalization work: make Tor less easily
267         fingerprinted.
268       - Directory system improvements
269         - config option to publish what ports you listen on, beyond
270           ORPort/DirPort.  It should support ranges and bit prefixes (?) too.
271     - Let controller set router flags for authority to transmit, and for
272       client to use.
273     - Support relaying streams to ipv6.
274       - Internal code support for ipv6:
275         o Clone ipv6 functions (inet_ntop, inet_pton) where they don't exist.
276         - Most address variables need to become sockaddrs.
277         - Teach resolving code how to handle ipv6.
278         - Teach exit policies about ipv6 (consider ipv4/ipv6 interaction!)
279         - ...
280     - Let servers decide to support BEGIN_DIR but not DirPort.
281     o Tor should bind its ports before dropping privs, so users don't
282       have to do the ipchains dance.
283     - Blocking-resistance.
284     - It would be potentially helpful to https requests on the OR port by
285       acting like an HTTPS server.
286     - add an 'exit-address' line in the descriptor for servers that exit
287       from something that isn't their published address.
288     - Audit how much RAM we're using for buffers and cell pools; try to
289       trim down a lot.
290     - Accept \n as end of lines in the control protocol in addition to \r\n.
291     - Base relative control socket paths in datadir.
292   o Deprecations:
293     o Remove v0 control protocol.
294     - can we deprecate 'getinfo network-status'?
295     - can we deprecate the FastFirstHopPK config option?
296 P - Packaging:
297 P   - Can we switch to polipo?
298 P   - If we haven't replaced privoxy, lock down its configuration in all
299       packages, as documented in tor-doc-unix.html
300 P - Figure out why dll's compiled in mingw don't work right in WinXP.
301 P - Figure out why openssl 0.9.8e "make test" fails at sha256t test.
302 P - Figure out if including RSA and IDEA are bad for Tor from a legal
303      perspective
304 P - Create packages for Nokia 800, requested by Chris Soghoian
305 P - Consider creating special Tor-Polipo-Vidalia test packages,
306     requested by Dmitri Vitalev
307   - add an AuthDirBadexit torrc option if we decide we want one.
309 Deferred from 0.1.2.x:
310   - BEGIN_DIR items
311     - turn the received socks addr:port into a digest for setting .exit
312     - handle connect-dir streams that don't have a chosen_exit_name set.
313   - 'networkstatus arrived' event
314   - More work on AvoidDiskWrites?
315   - Get some kind of "meta signing key" to be used solely to sign
316     releases/to certify releases when signed by the right people/
317     to certify sign the right people's keys?  Also use this to cert the SSL
318     key, etc. (Proposal 103)
319   - per-conn write buckets
320   - separate config options for read vs write limiting
321     (It's hard to support read > write, since we need better
322      congestion control to avoid overfull buffers there.  So,
323      defer the whole thing.)
324   - don't do dns hijacking tests if we're reject *:* exit policy?
325     (deferred until 0.1.1.x is less common)
326   - Directory guards
327   - RAM use in directory authorities.
328   - Memory use improvements:
329     - Look into pulling serverdescs off buffers as they arrive.
330     - Save and mmap v1 directories, and networkstatus docs; store them
331       zipped, not uncompressed.
332       - Switch cached_router_t to use mmap.
333       - What to do about reference counts on windows?  (On Unix, this is
334         easy: unlink works fine.  (Right?)  On Windows, I have doubts.  Do we
335         need to keep multiple files?)
336       - What do we do about the fact that people can't read zlib-
337         compressed files manually?
339   - If the client's clock is too far in the past, it will drop (or
340     just not try to get) descriptors, so it'll never build circuits.
341   - Tolerate clock skew on bridge relays.
343   X Eventdns improvements
344     X Have a way to query for AAAA and A records simultaneously.
345     X Improve request API: At the very least, add the ability to construct
346       a more-or-less arbitrary request and get a response.
347     X (Can we suppress cnames? Should we?)
349   - Now that we're avoiding exits when picking non-exit positions,
350     we need to consider how to pick nodes for internal circuits. If
351     we avoid exits for all positions, we skew the load balancing. If
352     we accept exits for all positions, we leak whether it's an internal
353     circuit at every step. If we accept exits only at the last hop, we
354     reintroduce Lasse's attacks from the Oakland paper.
356   - We should ship with a list of stable dir mirrors -- they're not
357     trusted like the authorities, but they'll provide more robustness
358     and diversity for bootstrapping clients.
360   - A way to adjust router flags from the controller.
361     (How do we prevent the authority from clobbering them soon after?)
363   - Better estimates in the directory of whether servers have good uptime
364     (high expected time to failure) or good guard qualities (high
365     fractional uptime).
366     - AKA Track uptime as %-of-time-up, as well as time-since-last-down
368   - Have a "Faster" status flag that means it. Fast2, Fast4, Fast8?
369     - spec
370     - implement
372   - Windows server usability
373     - Solve the ENOBUFS problem.
374       - make tor's use of openssl operate on buffers rather than sockets,
375         so we can make use of libevent's buffer paradigm once it has one.
376       - make tor's use of libevent tolerate either the socket or the
377         buffer paradigm; includes unifying the functions in connect.c.
378     - We need a getrlimit equivalent on Windows so we can reserve some
379       file descriptors for saving files, etc. Otherwise we'll trigger
380       asserts when we're out of file descriptors and crash.
381 M   - rewrite how libevent does select() on win32 so it's not so very slow.
382       - Add overlapped IO
384   - Add an option (related to AvoidDiskWrites) to disable directory caching.
386   - Finish status event implementation and accompanying getinfos
387     - Missing events:
388       - DIR_REACHABLE
389       - BAD_DIR_RESPONSE (Unexpected directory response; maybe we're behind
390         a firewall.)
391       - BAD_PROXY (Bad http or https proxy)
392       - UNRECOGNIZED_ROUTER (a nickname we asked for is unavailable)
393       - Status events related to hibernation
394       - something about failing to parse our address?
395         from resolve_my_address() in config.c
396       - sketchy OS, sketchy threading
397       - too many onions queued: threading problems or slow CPU?
398     - Missing fields:
399       - TIMEOUT on CHECKING_REACHABILITY
400     - GETINFO status/client, status/server, status/general: There should be
401       some way to learn which status events are currently "in effect."
402       We should specify which these are, what format they appear in, and so
403       on.
406 Minor items for 0.1.2.x as time permits:
407   - include bandwidth breakdown by conn->type in BW events.
408   o Unify autoconf search code for libevent and openssl.  Make code
409     suggest platform-appropriate "devel" / "dev" / whatever packages
410     if we can link but we can't find the headers.
411   - Recommend polipo? Please?
412   - Make documentation realize that location of system configuration file
413     will depend on location of system defaults, and isn't always /etc/torrc.
414   - Review torrc.sample to make it more discursive.
415   - a way to generate the website diagrams from source, so we can
416     translate them as utf-8 text rather than with gimp.
417 R - add d64 and fp64 along-side d and fp so people can paste status
418     entries into a url. since + is a valid base64 char, only allow one
419     at a time. spec and then do.
420   o When we export something from foo.c file for testing purposes only,
421     make a foo_test.h file for test.c to include... or put them behind an
422     #ifdef FOO_PRIVATE.
423   - The Debian package now uses --verify-config when (re)starting,
424     to distinguish configuration errors from other errors. Perhaps
425     the RPM and other startup scripts should too?
426   - add a "default.action" file to the tor/vidalia bundle so we can fix the
427     https thing in the default configuration:
428     http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#PrivoxyWeirdSSLPort
429   . Flesh out options_description array in src/or/config.c
430   X If we try to publish as a nickname that's already claimed, should
431     we append a number (or increment the number) and try again? This
432     way people who read their logs can fix it as before, but people
433     who don't read their logs will still offer Tor servers.
434     - Fall back to unnamed; warn user; send controller event.  ("When we
435       notice a 'Rejected: There is already a named server with this nickname'
436       message... or maybe instead when we see in the networkstatuses that
437       somebody else is Named with the name we want: warn the user, send a
438       STATUS_SERVER message, and fall back to unnamed.")
439   - Rate limit exit connections to a given destination -- this helps
440     us play nice with websites when Tor users want to crawl them; it
441     also introduces DoS opportunities.
442   - Christian Grothoff's attack of infinite-length circuit.
443     the solution is to have a separate 'extend-data' cell type
444     which is used for the first N data cells, and only
445     extend-data cells can be extend requests.
446     . Specify, including thought about anonymity implications. [proposal 110]
447   - Display the reasons in 'destroy' and 'truncated' cells under some
448     circumstances?
449   - If the server is spewing complaints about raising your ulimit -n,
450     we should add a note about this to the server descriptor so other
451     people can notice too.
452   - cpu fixes:
453     - see if we should make use of truncate to retry
454   . Directory changes
455     . Some back-out mechanism for auto-approval
456       - a way of rolling back approvals to before a timestamp
457         - Consider minion-like fingerprint file/log combination.
458   - packaging and ui stuff:
459     . multiple sample torrc files
460     . figure out how to make nt service stuff work?
461       . Document it.
462     - Vet all pending installer patches
463       - Win32 installer plus privoxy, sockscap/freecap, etc.
464       - Vet win32 systray helper code
465       (2007-04-15 phobos, do we still need these installer patches?)
467   - Improve controller
468       - a NEWSTATUS event similar to NEWDESC.
469       - change circuit status events to give more details, like purpose,
470         whether they're internal, when they become dirty, when they become
471         too dirty for further circuits, etc.
472         - What do we want here, exactly?
473         - Specify and implement it.
474       - Change stream status events analogously.
475         - What do we want here, exactly?
476         - Specify and implement it.
477       - Make other events "better".
478       - Change stream status events analogously.
479         - What do we want here, exactly?
480         - Specify and implement it.
481       - Make other events "better" analogously
482         - What do we want here, exactly?
483         - Specify and implement it.
484       . Expose more information via getinfo:
485         - import and export rendezvous descriptors
486         - Review all static fields for additional candidates
487       - Allow EXTENDCIRCUIT to unknown server.
488       - We need some way to adjust server status, and to tell tor not to
489         download directories/network-status, and a way to force a download.
490       - Make everything work with hidden services
493 Future version:
494   - servers might check certs for known-good ssl websites, and if they
495     come back self-signed, declare themselves to be non-exits. similar
496     to how we test for broken/evil dns now.
497   - we try to build 4 test circuits to break them over different
498     servers. but sometimes our entry node is the same for multiple
499     test circuits. this defeats the point.
500   - when we hit a funny error from a dir request (eg 403 forbidden),
501     but tor is working and happy otherwise, and we haven't seen many
502     such errors recently, then don't warn about it.
503   - More consistent error checking in router_parse_entry_from_string().
504     I can say "banana" as my bandwidthcapacity, and it won't even squeak.
505   o Include the output of svn info in the binary, so it's trivial to see what
506     version a binary was built from.
507     o Do the same for svk info.
508   - Add a doxygen style checker to make check-spaces so nick doesn't drift
509     too far from arma's undocumented styleguide.  Also, document that
510     styleguide in HACKING.  (See r9634 for example.)
511     - exactly one space at beginning and at end of comments, except i
512       guess when there's line-length pressure.
513     - if we refer to a function name, put a () after it.
514     - only write <b>foo</b> when foo is an argument to this function.
515     - doxygen comments must always end in some form of punctuation.
516     - capitalize the first sentence in the doxygen comment, except
517       when you shouldn't.
518     - avoid spelling errors and incorrect comments. ;)
519   - Should TrackHostExits expire TrackHostExitsExpire seconds after their
520     *last* use, not their *first* use?
521   X Configuration format really wants sections.
522   . Good RBL substitute.
523     - Play with the implementations; link them from somewhere; add a
524       round-robin link from torel.torproject.org; describe how to
525       use them in the FAQ.
526   - Authorities should try using exits for http to connect to some URLS
527     (specified in a configuration file, so as not to make the List Of Things
528     Not To Censor completely obvious) and ask them for results.  Exits that
529     don't give good answers should have the BadExit flag set.
530   - Our current approach to block attempts to use Tor as a single-hop proxy
531     is pretty lame; we should get a better one.
532   . Update the hidden service stuff for the new dir approach.
533     - switch to an ascii format, maybe sexpr?
534     - authdirservers publish blobs of them.
535     - other authdirservers fetch these blobs.
536     - hidserv people have the option of not uploading their blobs.
537     - you can insert a blob via the controller.
538     - and there's some amount of backwards compatibility.
539     - teach clients, intro points, and hidservs about auth mechanisms.
540     - come up with a few more auth mechanisms.
541   - auth mechanisms to let hidden service midpoint and responder filter
542     connection requests.
543   - Bind to random port when making outgoing connections to Tor servers,
544     to reduce remote sniping attacks.
545   - Have new people be in limbo and need to demonstrate usefulness
546     before we approve them.
547   - Clients should estimate their skew as median of skew from servers
548     over last N seconds.
549   - Make router_is_general_exit() a bit smarter once we're sure what it's for.
550   - Audit everything to make sure rend and intro points are just as likely to
551     be us as not.
552   - Do something to prevent spurious EXTEND cells from making middleman
553     nodes connect all over.  Rate-limit failed connections, perhaps?
554   - Automatically determine what ports are reachable and start using
555     those, if circuits aren't working and it's a pattern we recognize
556     ("port 443 worked once and port 9001 keeps not working").
557   - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
558   - Handle full buffers without totally borking
559   - Rate-limit OR and directory connections overall and per-IP and
560     maybe per subnet.
561   - Hold-open-until-flushed now works by accident; it should work by
562     design.
563   - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
564     - Specify?
565   o tor-resolve script should use socks5 to get better error messages.
566   - hidserv offerers shouldn't need to define a SocksPort
567     * figure out what breaks for this, and do it.
568   - tor should be able to have a pool of outgoing IP addresses
569     that it is able to rotate through. (maybe)
570     - Specify; implement.
571   - let each hidden service (or other thing) specify its own
572     OutboundBindAddress?
574 Blue-sky:
575   - Patch privoxy and socks protocol to pass strings to the browser.
576   - Standby/hotswap/redundant hidden services.
577   - Robust decentralized storage for hidden service descriptors.
578   - The "China problem"
579   - Allow small cells and large cells on the same network?
580   - Cell buffering and resending. This will allow us to handle broken
581     circuits as long as the endpoints don't break, plus will allow
582     connection (tls session key) rotation.
583   - Implement Morphmix, so we can compare its behavior, complexity, etc.
584   - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
585     link crypto, unless we can bully openssl into it.
586   - Need a relay teardown cell, separate from one-way ends.
587     (Pending a user who needs this)
588   - Handle half-open connections: right now we don't support all TCP
589     streams, at least according to the protocol. But we handle all that
590     we've seen in the wild.
591     (Pending a user who needs this)
593 Non-Coding:
594   - Mark up spec; note unclear points about servers
595   - Mention controller libs someplace.
596   . more pictures from ren. he wants to describe the tor handshake
597 NR- write a spec appendix for 'being nice with tor'
598   - tor-in-the-media page
599   - Remove need for HACKING file.
600   - Figure out licenses for website material.
601   - Specify the keys and key rotation schedules and stuff
602 P - document http://wiki.noreply.org/noreply/TheOnionRouter/TransparentProxy on freebsd and osx
603 P - figure out why x86_64 won't build rpms from tor.spec
604 P - figure out spec files for bundles of vidalia-tor-polipo
605 P - figure out polipo install scripts for bundles of vidalia-tor-polipo on osx, win32
606 P - evaluate https://sourceforge.net/projects/kleanup/
607 P - evaluate TorK
608 P - figure out selinux policy for tor
609 P - change packaging system to more automated and specific for each
610      platform, suggested by Paul Wouter
612 Website:
613   - and remove home and make the "Tor" picture be the link to home.
614   - put the logo on the website, in source form, so people can put it on
615     stickers directly, etc.
616   - put the source image for the stickers on the website, so people can
617     print their own
618 R - make a page with the hidden service diagrams.
619   - ask Jan to be the translation coordinator? add to volunteer page.
620   - add a page for localizing all tor's components.
621   - It would be neat if we had a single place that described _all_ the
622     tor-related tools you can use, and what they give you, and how well they
623     work.  Right now, we don't give a lot of guidance wrt
624     torbutton/foxproxy/privoxy/polipo in any consistent place.