TODO 32 KB

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