2003-03-18 00:19:25 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2003-09-20 08:56:15 +02:00
|
|
|
Short-term:
|
|
|
|
NICK . routers have identity key, link key, onion key.
|
|
|
|
- link key certs are signed by identity key
|
|
|
|
- not in descriptor
|
|
|
|
- not in config
|
|
|
|
- not on disk
|
|
|
|
- identity and onion keys are in descriptor (and disk?)
|
|
|
|
NICK - upon boot, if it doesn't find identity key, generate it and write it.
|
|
|
|
NICK - also write a file with the identity key fingerprint in it
|
|
|
|
NICK - router generates descriptor: flesh out router_get_my_descriptor()
|
|
|
|
- figure out what directory generation stuff can be moved out of main.c
|
|
|
|
NICK - Routers sign descriptors with identity key
|
|
|
|
NICK - routers put version number in descriptor
|
|
|
|
NICK - routers should maybe have `uname -a` in descriptor?
|
|
|
|
NICK . Give nicknames to routers
|
|
|
|
o in config
|
|
|
|
- in descriptors
|
|
|
|
ARMA - router posts descriptor
|
|
|
|
- when it boots
|
|
|
|
- when it changes
|
|
|
|
NICK - change tls stuff so certs don't get written to disk, or read from disk
|
2003-09-24 23:30:12 +02:00
|
|
|
o make directory.c 'thread'safe
|
2003-09-20 08:56:15 +02:00
|
|
|
NICK ? dirserver parses descriptor
|
|
|
|
- dirserver checks signature
|
|
|
|
D client checks signature?
|
|
|
|
NICK - dirserver writes directory to file
|
|
|
|
- reads that file upon boot
|
|
|
|
NICK - directory includes all routers, up and down
|
|
|
|
NICK - add "up" line to directory, listing nicknames
|
|
|
|
ARMA - find an application that uses half-open connections, to test
|
|
|
|
NICK - instruments ORs to report stats
|
|
|
|
- average cell fullness
|
|
|
|
- average bandwidth used
|
|
|
|
- others?
|
2003-09-24 23:30:12 +02:00
|
|
|
. integrate rep_ok functions, see what breaks
|
2003-09-20 08:56:15 +02:00
|
|
|
ARMA - configure log files. separate log file, separate severities.
|
|
|
|
ARMA - what assumptions break if we fclose(0) when we daemonize?
|
2003-09-25 07:17:11 +02:00
|
|
|
NICK o make buffer struct elements opaque outside buffers.c
|
2003-09-20 08:56:15 +02:00
|
|
|
ARMA - Go through log messages, reduce confusing error messages.
|
|
|
|
ARMA - make the logs include more info (fd, etc)
|
|
|
|
ARMA - add log convention to the HACKING file
|
|
|
|
- make 'make install' do the right thing
|
2003-09-24 23:30:12 +02:00
|
|
|
o change binary name to tor
|
|
|
|
o change config files so you look at commandline, else look in
|
2003-09-20 08:56:15 +02:00
|
|
|
/etc/torrc. no cascading.
|
|
|
|
ARMA - have an absolute datadir with fixed names for files, and fixed-name
|
|
|
|
keydir under that with fixed names
|
|
|
|
ARMA - tor faq
|
|
|
|
list all other systems, why we're different.
|
2003-03-18 00:19:25 +01:00
|
|
|
|
2003-09-20 08:56:15 +02:00
|
|
|
Mid-term:
|
|
|
|
- What happens when a circuit's length is 1? What breaks?
|
2003-08-22 05:17:14 +02:00
|
|
|
. streams / circuits
|
|
|
|
o Implement streams
|
2003-04-25 20:29:45 +02:00
|
|
|
o Rotate circuits after N minutes?
|
|
|
|
X Circuits should expire when circuit->expire triggers
|
2003-03-18 00:19:25 +01:00
|
|
|
NICK . Handle half-open connections
|
2003-06-25 09:28:34 +02:00
|
|
|
o Figure out what causes connections to close, standardize
|
2003-04-25 20:29:45 +02:00
|
|
|
when we mark a connection vs when we tear it down
|
2003-05-07 20:30:46 +02:00
|
|
|
o Look at what ssl does to keep from mutating data streams
|
2003-08-31 02:11:01 +02:00
|
|
|
ARMA - Reduce streamid footprint from 7 bytes to 2 bytes
|
|
|
|
- Check for collisions in streamid (now possible with
|
|
|
|
just 2 bytes), and back up & replace with padding if so
|
|
|
|
- Use the 3 saved bytes to put pseudorandomness in each relay cell
|
2003-08-22 05:17:14 +02:00
|
|
|
- Use the 4 reserved bytes in each cell header to keep 1/5
|
2003-08-31 02:11:01 +02:00
|
|
|
of a sha1 of the relay payload (move into stream header)
|
|
|
|
- Move length into the stream header too
|
2003-08-22 05:17:14 +02:00
|
|
|
- Spec the stream_id stuff. Clarify that nobody on the backward
|
|
|
|
stream should look at stream_id.
|
2003-04-25 20:29:45 +02:00
|
|
|
ARMA . Exit policies
|
|
|
|
o Spec how to write the exit policies
|
2003-03-18 00:19:25 +01:00
|
|
|
- Path selection algorithms
|
|
|
|
- Let user request certain nodes
|
|
|
|
- And disallow certain nodes
|
2003-04-25 20:29:45 +02:00
|
|
|
D Choose path by jurisdiction, etc?
|
2003-08-22 05:17:14 +02:00
|
|
|
- Make relay end cells have failure status and payload attached
|
|
|
|
- Streams that fail due to exit policy must reextend to new node
|
|
|
|
- Add extend_wait state to edge connections, thumb through them
|
|
|
|
when the AP get an extended cell.
|
2003-04-25 20:29:45 +02:00
|
|
|
SPEC!! D Non-clique topologies
|
2003-03-18 00:19:25 +01:00
|
|
|
D Implement our own memory management, at least for common structs
|
2003-08-22 05:17:14 +02:00
|
|
|
. Put CPU workers in separate processes
|
|
|
|
o Handle multiple cpu workers (one for each cpu, plus one)
|
|
|
|
o Queue for pending tasks if all workers full
|
|
|
|
o Support the 'process this onion' task
|
2003-09-20 08:56:15 +02:00
|
|
|
D Merge dnsworkers and cpuworkers to some extent
|
2003-08-22 05:17:14 +02:00
|
|
|
- Handle cpuworkers dying
|
2003-08-31 02:11:01 +02:00
|
|
|
o Simple directory servers
|
2003-06-25 09:28:34 +02:00
|
|
|
o Include key in source; sign directories
|
|
|
|
o Signed directory backend
|
|
|
|
o Document
|
|
|
|
o Integrate
|
2003-08-31 02:11:01 +02:00
|
|
|
o Add versions to code
|
|
|
|
o Have directories list recommended-versions
|
2003-06-25 09:28:34 +02:00
|
|
|
o Include (unused) line in directories
|
|
|
|
o Check for presence of line.
|
2003-08-31 02:11:01 +02:00
|
|
|
o Quit if running the wrong version
|
|
|
|
o Command-line option to override quit
|
|
|
|
o Add more information to directory server entries
|
2003-04-25 20:29:45 +02:00
|
|
|
o Exit policies
|
2003-08-31 02:11:01 +02:00
|
|
|
D Advanced directory servers
|
|
|
|
D Automated reputation management
|
2003-04-25 20:29:45 +02:00
|
|
|
SPEC!! D Figure out how to do threshold directory servers
|
2003-08-31 02:11:01 +02:00
|
|
|
D jurisdiction info in dirserver entries? other info?
|
2003-03-18 00:19:25 +01:00
|
|
|
. Scrubbing proxies
|
|
|
|
- Find an smtp proxy?
|
2003-04-25 20:29:45 +02:00
|
|
|
- Check the old smtp proxy code
|
|
|
|
o Find an ftp proxy? wget --passive
|
|
|
|
D Wait until there are packet redirectors for Linux
|
2003-03-18 00:19:25 +01:00
|
|
|
. Get socks4a support into Mozilla
|
|
|
|
. Get tor to act like a socks server
|
|
|
|
o socks4, socks4a
|
2003-09-20 08:56:15 +02:00
|
|
|
ARMA - socks5
|
2003-03-18 00:19:25 +01:00
|
|
|
SPEC!! - Handle socks commands other than connect, eg, bind?
|
2003-06-25 09:28:34 +02:00
|
|
|
. Develop rendezvous points
|
2003-08-31 02:11:01 +02:00
|
|
|
o Design
|
|
|
|
- Spec
|
2003-06-25 09:28:34 +02:00
|
|
|
- Implement
|
2003-03-18 00:19:25 +01:00
|
|
|
D Deploy and manage open source development site.
|
|
|
|
. Documentation
|
2003-05-07 04:02:52 +02:00
|
|
|
o Discussion of socks, tsocks, etc
|
2003-03-18 00:34:00 +01:00
|
|
|
o On-the-network protocol
|
|
|
|
o Onions
|
|
|
|
o Cells
|
2003-03-18 00:19:25 +01:00
|
|
|
. Better comments for functions!
|
|
|
|
- Tests
|
2003-05-07 04:13:23 +02:00
|
|
|
o Testing harness/infrastructure
|
|
|
|
NICK . Unit tests
|
2003-04-25 20:29:45 +02:00
|
|
|
D System tests (how?)
|
2003-03-18 00:19:25 +01:00
|
|
|
- Performance tests, so we know when we've improved
|
|
|
|
. webload infrastructure (Bruce)
|
|
|
|
. httperf infrastructure (easy to set up)
|
2003-08-22 05:17:14 +02:00
|
|
|
. oprofile (installed in RH >8.0)
|
2003-03-18 00:19:25 +01:00
|
|
|
D Deploy a widespread network
|
2003-08-31 02:11:01 +02:00
|
|
|
D Load balancing between router twins
|
|
|
|
D Keep track of load over links/nodes, to
|
|
|
|
know who's hosed
|
2003-06-25 09:28:34 +02:00
|
|
|
NICK . Daemonize and package
|
2003-03-18 00:19:25 +01:00
|
|
|
o Teach it to fork and background
|
|
|
|
- Red Hat spec file
|
|
|
|
- Debian spec file equivalent
|
2003-09-20 08:56:15 +02:00
|
|
|
. Portability
|
2003-08-22 05:17:14 +02:00
|
|
|
. Which .h files are we actually using?
|
|
|
|
. Port to:
|
2003-03-18 00:19:25 +01:00
|
|
|
o Linux
|
|
|
|
o BSD
|
|
|
|
. Solaris
|
2003-08-22 05:17:14 +02:00
|
|
|
o Cygwin
|
2003-08-31 02:11:01 +02:00
|
|
|
o Win32
|
2003-06-25 09:28:34 +02:00
|
|
|
o OS X
|
2003-09-20 08:56:15 +02:00
|
|
|
- deal with pollhup / reached_eof on all platforms
|
2003-06-25 09:28:34 +02:00
|
|
|
o openssl randomness
|
|
|
|
o inet_ntoa
|
2003-08-22 05:17:14 +02:00
|
|
|
. stdint.h
|
2003-04-25 20:29:45 +02:00
|
|
|
- Make a script to set up a local network on your machine
|
2003-09-20 08:56:15 +02:00
|
|
|
X Move away from openssl
|
2003-03-18 00:19:25 +01:00
|
|
|
o Abstract out crypto calls
|
2003-09-20 08:56:15 +02:00
|
|
|
X Look at nss, others? Just include code?
|
2003-08-31 02:11:01 +02:00
|
|
|
o Clearer bandwidth management
|
|
|
|
o Do we want to remove bandwidth from OR handshakes?
|
|
|
|
o What about OP handshakes?
|
2003-03-18 00:19:25 +01:00
|
|
|
- More flexibility in node addressing
|
2003-04-25 20:29:45 +02:00
|
|
|
D Support IPv6 rather than just 4
|
|
|
|
- Handle multihomed servers (config variable to set IP)
|
2003-05-07 04:02:52 +02:00
|
|
|
. Move from onions to ephemeral DH
|
|
|
|
o incremental path building
|
2003-05-28 08:36:49 +02:00
|
|
|
o transition circuit-level sendmes to hop-level sendmes
|
2003-06-25 09:28:34 +02:00
|
|
|
o implement truncate, truncated
|
2003-05-07 04:28:42 +02:00
|
|
|
o move from 192byte DH to 128byte DH, so it isn't so damn slow
|
2003-05-07 04:02:52 +02:00
|
|
|
- exiting from not-last hop
|
|
|
|
- OP logic to decide to extend/truncate a path
|
|
|
|
- make sure exiting from the not-last hop works
|
|
|
|
- logic to find last *open* hop, not last hop, in cpath
|
|
|
|
- choose exit nodes by exit policies
|
2003-08-22 05:21:51 +02:00
|
|
|
|
|
|
|
Older (done) todo stuff:
|
|
|
|
|
|
|
|
o Use a stronger cipher
|
|
|
|
o aes now, by including the code ourselves
|
|
|
|
X On the fly compression of each stream
|
|
|
|
o Clean up the event loop (optimize and sanitize)
|
|
|
|
o Remove that awful concept of 'roles'
|
|
|
|
o Terminology
|
|
|
|
o Circuits, topics, cells stay named that
|
|
|
|
o 'Connection' gets divided, or renamed, or something?
|
|
|
|
o DNS farm
|
|
|
|
o Distribute queries onto the farm, get answers
|
|
|
|
o Preemptively grow a new worker before he's needed
|
|
|
|
o Prune workers when too many are idle
|
|
|
|
o DNS cache
|
|
|
|
o Clear DNS cache over time
|
|
|
|
D Honor DNS TTL info (how??)
|
|
|
|
o Have strategy when all workers are busy
|
|
|
|
o Keep track of which connections are in dns_wait
|
|
|
|
o Need to cache positives/negatives on the tor side
|
|
|
|
o Keep track of which queries have been asked
|
|
|
|
o Better error handling when
|
|
|
|
o An address doesn't resolve
|
|
|
|
o We have max workers running
|
|
|
|
o Consider taking the master out of the loop?
|
2003-09-20 08:56:15 +02:00
|
|
|
X Implement reply onions
|
2003-08-22 05:21:51 +02:00
|
|
|
o Total rate limiting
|
|
|
|
o Look at OR handshake in more detail
|
|
|
|
o Spec it
|
|
|
|
o Merge OR and OP handshakes
|
|
|
|
o rearrange connection_or so it doesn't suck so much to read
|
|
|
|
D Periodic link key rotation. Spec?
|
2003-05-28 08:36:49 +02:00
|
|
|
o wrap malloc with something that explodes when it fails
|
2003-08-22 05:21:51 +02:00
|
|
|
o Clean up the number of places that get to look at prkey
|
2003-03-18 00:19:25 +01:00
|
|
|
|