tor/doc/TODO
2004-12-02 09:27:24 +00:00

237 lines
10 KiB
Plaintext

Legend:
SPEC!! - Not specified
SPEC - Spec not finalized
NICK - nick claims
ARMA - arma claims
- Not done
* Top priority
. Partially done
o Done
D Deferred
X Abandoned
For 0.0.9:
N&R. bring tor-spec up to date
N&R. make loglevels info,debug less noisy
N - Get win32 servers working, or find out why it isn't happening now.
************************ For Post 0.0.9 *****************************
Tier one:
- fix dfc/weasel's intro point bug
- support hostnames as well as IPs for authdirservers.
N - OS X package (and bundle?)
N - Make millisecond accuracy work on win32
- Make more configuration variables into CSVs.
- Once we have a trusted directory on port 80, stop falling back to
forbidden ports when fascistfirewall blocks all good dirservers.
- Convert man pages to pod, or whatever's right.
- Move to our new version system.
- Get more nodes running on 80 and 443.
- Get epic, aclu, etc running nodes.
- Start distributing an rpm with the new version scheme.
- Bug tracker.
Tier two:
- Handle pools of waiting circuits better.
- Let more config options (e.g. ORPort) change dynamically.
- Write limiting; configurable token buckets.
- Only the top of a directory needs to be signed.
- Make sure logged information is 'safe'.
- make advertised_server_mode() ORs fetch dirs more often.
N - Clean up NT service code
- Work as an NT service; on system tray; etc.
- Win32 installer plus privoxy, sockscap/freecap, etc.
- controller should have 'getinfo' command to query about rephist,
about rendezvous status, etc.
- Implement If-Modified-Since for directories.
N - Handle rendezvousing with unverified nodes.
- Specify: Stick rendezvous point's key in INTRODUCE cell.
Bob should _always_ use key from INTRODUCE cell.
- Implement.
N - add ipv6 support.
- Spec issue: if a resolve returns an IP4 and an IP6 address,
which to use?
- christian grothoff's attack of infinite-length circuit.
the solution is to have a separate 'extend-data' cell type
which is used for the first N data cells, and only
extend-data cells can be extend requests.
. rename/rearrange functions for what file they're in
- tor should be able to have a pool of outgoing IP addresses
that it is able to rotate through. (maybe)
- hidserv offerers shouldn't need to define a SocksPort
* figure out what breaks for this, and do it.
- should retry exitpolicy end streams even if the end cell didn't
resolve the address for you
- Make it harder to circumvent bandwidth caps: look at number of bytes
sent across sockets, not number sent inside TLS stream.
- fix router_get_by_* functions so they can get ourselves too,
and audit everything to make sure rend and intro points are
just as likely to be us as not.
Packaging, docs, etc:
- Exit node caching: tie into squid or other caching web proxy.
- FAQ.
- Website spiffying. Logo. Pictures.
- Configuration walk-through with screenshots of each step.
Deferred until needed:
- Do something to prevent spurious EXTEND cells from making middleman
nodes connect all over. Rate-limit failed connections, perhaps?
- Limit to 2 dir, 2 OR, N SOCKS connections per IP.
- Handle full buffers without totally borking
* do this eventually, no rush.
- Rate-limit OR and directory connections overall and per-IP and
maybe per subnet.
- DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
- Have clients and dirservers preserve reputation info over
reboots.
- round detected bandwidth up to nearest 10KB?
- client software not upload descriptor until:
- you've been running for an hour
- it's sufficiently satisfied with its bandwidth
- it decides it is reachable
- start counting again if your IP ever changes.
- never regenerate identity keys, for now.
- you can set a bit for not-being-an-OR.
* no need to do this yet. few people define their ORPort.
- authdirserver lists you as running iff:
- he can connect to you
- he has successfully extended to you
- you have sufficient mean-time-between-failures
* keep doing nothing for now.
- Include HTTP status messages in logging (see parse_http_response).
Blue sky or deferred indefinitely:
- Support egd or other non-OS-integrated strong entropy sources
- password protection for on-disk identity key
- Possible to get autoconf to easily install things into ~/.tor?
- server descriptor declares min log level, clients avoid servers
that are too loggy.
- put expiry date on onion-key, so people don't keep trying
old ones that they could know are expired?
- Add a notion of nickname->Pubkey binding that's not 'verification'
- Conn key rotation.
- Need a relay teardown cell, separate from one-way ends.
Big tasks that would demonstrate progress:
- Facility to automatically choose long-term helper nodes; perhaps
on by default for hidden services.
- patch privoxy and socks protocol to pass strings to the browser.
- patch tsocks with our current patches + gethostbyname, getpeername, etc.
- make freecap (or whichever) do what we want.
- scrubbing proxies for protocols other than http.
- Find an smtp proxy?
. Get socks4a support into Mozilla
N - Reverse DNS: specify and implement.
- figure out enclaves, e.g. so we know what to recommend that people
do, and so running a tor server on your website is helpful.
- Do enclaves for same IP only.
- Resolve first, then if IP is an OR, extend to him first.
- implement a trivial fun gui to demonstrate our control interface.
************************ Roadmap for 2004-2005 **********************
Hard problems that need to be solved:
- Separating node discovery from routing.
- Arranging membership management for independence.
Sybil defenses without having a human bottleneck.
How to gather random sample of nodes.
How to handle nodelist recommendations.
Consider incremental switches: a p2p tor with only 50 users has
different anonymity properties than one with 10k users, and should
be treated differently.
- Measuring performance of other nodes. Measuring whether they're up.
- Choosing exit node by meta-data, e.g. country.
- Incentives to relay; incentives to exit.
- Allowing dissidents to relay through Tor clients.
- How to intercept, or not need to intercept, dns queries locally.
- Improved anonymity:
- Experiment with mid-latency systems. How do they impact usability,
how do they impact safety?
- Understand how powerful fingerprinting attacks are, and experiment
with ways to foil them (long-range padding?).
- Come up with practical approximations to picking entry and exit in
different routing zones.
- Find ideal churn rate for helper nodes; how safe is it?
- What info squeaks by Privoxy? Are other scrubbers better?
- Attacking freenet-gnunet/timing-delay-randomness-arguments.
- Is abandoning the circuit the only option when an extend fails, or
can we do something without impacting anonymity too much?
- Is exiting from the middle of the circuit always a bad idea?
Sample Publicity Landmarks:
- we have N servers / N users
- we have servers at epic and aclu and foo
- hidden services are robust and fast
- a more decentralized design
- tor win32 installer works
- win32 tray icon for end-users
- tor server works on win32
- win32 service for servers
- mac installer works
***************************Future tasks:****************************
Rendezvous and hidden services:
make it fast:
- preemptively build and start rendezvous circs.
- preemptively build n-1 hops of intro circs?
- cannibalize general circs?
make it reliable:
- standby/hotswap/redundant services.
- store stuff to disk? dirservers forget service descriptors when
they restart; nodes offering hidden services forget their chosen
intro points when they restart.
make it robust:
- auth mechanisms to let midpoint and bob selectively choose
connection requests.
make it scalable:
- robust decentralized storage for hidden service descriptors.
make it accessible:
- web proxy gateways to let normal people browse hidden services.
Tor scalability:
Relax clique assumptions.
Redesign how directories are handled.
- Resolve directory agreement somehow.
Find and remove bottlenecks
- Address linear searches on e.g. circuit and connection lists.
Reputation/memory system, so dirservers can measure people,
and so other people can verify their measurements.
- Need to measure via relay, so it's not distinguishable.
Let dissidents get to Tor servers via Tor users. ("Backbone model")
Make it more correct:
Handle half-open connections: right now we don't support all TCP
streams, at least according to the protocol. But we handle all that
we've seen in the wild.
Support IPv6.
Efficiency/speed/robustness:
Congestion control. Is our current design sufficient once we have heavy
use? Need to measure and tweak, or maybe overhaul.
Allow small cells and large cells on the same network?
Cell buffering and resending. This will allow us to handle broken
circuits as long as the endpoints don't break, plus will allow
connection (tls session key) rotation.
Implement Morphmix, so we can compare its behavior, complexity, etc.
Use cpuworker for more heavy lifting.
- Signing (and verifying) hidserv descriptors
- Signing (and verifying) intro/rend requests
- Signing (and verifying) router descriptors
- Signing (and verifying) directories
- Doing TLS handshake (this is very hard to separate out, though)
Buffer size pool: allocate a maximum size for all buffers, not
a maximum size for each buffer. So we don't have to give up as
quickly (and kill the thickpipe!) when there's congestion.
Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
link crypto, unless we can bully openssl into it.