Commit Graph

989 Commits

Author SHA1 Message Date
Peter Palfrader a1cc3a09d6 Add empty TODO
svn:r990
2004-01-13 14:27:27 +00:00
Peter Palfrader ca6d3939a5 Close #216611 with the first upload
svn:r989
2004-01-13 14:21:21 +00:00
Roger Dingledine 23802e2153 fix minor typos
svn:r988
2004-01-13 14:20:31 +00:00
Peter Palfrader edfd42fc81 First go at a debian package
svn:r987
2004-01-13 13:40:00 +00:00
Nick Mathewson 88569931ca Note discrepency between N bytes transmitted over TLS and actual bandwidth use; add 2 functions to help resolve.
svn:r986
2004-01-13 01:19:02 +00:00
Roger Dingledine 500aa1681d remember to mention entrynodes and exitnodes in the man page
svn:r985
2004-01-12 06:06:47 +00:00
Roger Dingledine 116b4aa959 oh, and make it compile
still need to make a decision about per-connection rate limiting
(take it out? update it?)


svn:r984
2004-01-11 07:41:01 +00:00
Roger Dingledine b38222a9a0 update the man page for new token bucket params
svn:r983
2004-01-10 23:42:24 +00:00
Roger Dingledine dda02cc4b2 split the token bucket into 'rate' and 'burst' params
we're not entirely migrated to burst yet, for backward compatibility

note some win32 probable-bugs

clean up routerlist.c


svn:r982
2004-01-10 23:40:38 +00:00
Roger Dingledine 5dbee72a8c resolve cygwin warnings for pre19
svn:r981
2004-01-08 22:48:18 +00:00
(no author) 8a08e7d281 This commit was manufactured by cvs2svn to create tag
'tor-0_0_2pre19'.

svn:r980
2004-01-08 03:13:37 +00:00
Roger Dingledine e7496f849f mark the design paper as draft, fix a few bugs
svn:r979
2004-01-08 03:13:37 +00:00
Roger Dingledine 764d44bcae move us to pre19
svn:r978
2004-01-07 22:56:12 +00:00
Roger Dingledine 35e7ee1885 fix minor typo in tor-spec
svn:r977
2004-01-07 22:56:06 +00:00
Roger Dingledine 3320c50614 clean whitespace (no substantive changes)
svn:r976
2004-01-07 12:08:07 +00:00
Roger Dingledine fd9dd3d59a stop checking for the system's daemon() func, since we don't use it
svn:r975
2004-01-07 12:06:35 +00:00
Roger Dingledine 4312db8cdd Fix the dns bug: children weren't dying
We were telling a child to die by closing the parent's file descriptor
to him. But newer children were inheriting the open file descriptor from
the parent, and since they weren't closing them, the socket never closed,
so the child never read eof, so he never knew to exit.

As a side effect to this bug, we were probably failing to properly close
connections to remote hosts, ORs, and OPs, after a dns child was born.

I'm surprised Tor worked at all.


svn:r974
2004-01-06 07:53:40 +00:00
Roger Dingledine 2471c1fd2c begin the process of cleaning/updating the spec
svn:r973
2004-01-05 05:25:00 +00:00
Roger Dingledine 3d5fb001c0 note Christian Grothoff's daemonize patch
svn:r972
2004-01-05 05:23:41 +00:00
Roger Dingledine 43a2878b02 the onionskin challenge length was 30 bytes longer than necessary
(i think ;)


svn:r971
2004-01-05 05:23:03 +00:00
Roger Dingledine f9fe498b26 print an entry at the top of the logfile so you know it's working
clean up a minor bug in a debugfile log entry


svn:r970
2004-01-05 05:22:04 +00:00
Nick Mathewson 255bc76545 Integrate new daemon code, adapted from submission by christian grothoff
svn:r969
2004-01-03 22:40:49 +00:00
(no author) 17d3d5dd9f This commit was manufactured by cvs2svn to create tag
'tor-0_0_2pre18'.

svn:r968
2004-01-02 09:03:59 +00:00
Roger Dingledine 9c6266d469 move us to pre18
svn:r967
2004-01-02 09:03:59 +00:00
Roger Dingledine 03b5043c3e fix endian issue: rh.integrity was getting sent wrong
now it's a char[4] rather than an int


svn:r966
2004-01-02 09:03:38 +00:00
(no author) 20a2f5a990 This commit was manufactured by cvs2svn to create tag
'tor-0_0_2pre17'.

svn:r965
2004-01-01 07:01:09 +00:00
Roger Dingledine e91d8ba02b stop a bug that straycat may have found
svn:r964
2004-01-01 07:01:09 +00:00
Roger Dingledine 45d361a369 update TODO, patch design paper
svn:r963
2003-12-30 23:05:06 +00:00
Roger Dingledine fb3af84777 rearrange authors, correct install notes
svn:r962
2003-12-30 23:02:27 +00:00
Roger Dingledine f08681c1ed make loglevel info less noisy
svn:r961
2003-12-30 22:49:35 +00:00
Roger Dingledine 45da7a910c randomize the initial circ_id and stream_id, so an adversary who
breaks in part-way through can't learn how many circs/streams have
been made


svn:r960
2003-12-28 04:46:09 +00:00
Roger Dingledine 5484b2e367 back out the insert-padding-if-conflict code
use recognized + digest instead, just assume it's enough bits


svn:r959
2003-12-26 06:29:57 +00:00
Roger Dingledine f3f1645c8a checkpoint: revamp relay cell packaging and handling
include the infrastructure for inserting padding cells when there's
a relay-recognized conflict, but it does not work currently.


svn:r958
2003-12-23 07:45:31 +00:00
Roger Dingledine 070b26d987 add crypto_cipher_rewind to reverse crypto_cipher_advance
svn:r957
2003-12-23 07:43:05 +00:00
Roger Dingledine 2af5e0ba6b correct a warn message in mark_if_closed
svn:r956
2003-12-23 07:42:01 +00:00
Roger Dingledine bd7e5cf261 make sure there's no conflict when generating stream_ids
svn:r955
2003-12-19 21:25:44 +00:00
Roger Dingledine c6219cbfbc rename circ_id_t to uint16_t for code clarity
change message when using non-recommended tor version


svn:r954
2003-12-19 19:55:02 +00:00
Roger Dingledine 4fff74a516 make a relay_header_t struct and pack/unpack funcs
split 7-byte stream_id string into 2-byte recognized and 2-byte stream_id
fix two seg faults in fetch_from_buf_http
fix several lurking seg faults in handling unexpected relay cells

still need to
 * clean up relay_crypt
 * use relay dummies if there's going to be a conflict with rh.recognized
 * check for a conflict when generating stream_ids


svn:r953
2003-12-19 05:09:51 +00:00
Roger Dingledine e02c72aa62 clean tabs, trailing whitespace
svn:r952
2003-12-17 21:14:13 +00:00
Roger Dingledine 987afaafc1 remove trailing whitespace
svn:r951
2003-12-17 21:09:31 +00:00
Roger Dingledine 8e85574968 make fetch_from_buf_http malloc its strings rather
than use fixed-size strings

reorganize directory_handle_command so it'll be easier to do more with
our directory servers


svn:r950
2003-12-17 09:42:28 +00:00
Roger Dingledine 0d5a90ca6d betcha didn't know strncpy could leave an unterminated string
svn:r949
2003-12-17 09:20:29 +00:00
Roger Dingledine bd8084c37a end-to-end integrity checking now works
initialize digests from shared secrets at handshake
make circuit_send_next_onion_skin use connection_edge_send_command


svn:r948
2003-12-17 05:58:30 +00:00
Roger Dingledine 7ceb487667 document an openssl gotcha
svn:r947
2003-12-17 05:31:52 +00:00
Roger Dingledine 501aee1d2b infrastructure for integrity-checks in relay cells
make circuit_consider_sending_sendme use connection_edge_send_command
fix endian bug in relay length handling (maybe)


svn:r946
2003-12-16 22:56:50 +00:00
Roger Dingledine 704826239c bump cvs version to pre17, so people using cvs tor are denied from
the (incompatible) pre16 network


svn:r945
2003-12-16 22:22:11 +00:00
Roger Dingledine 55ba0aa4ad resolve an edge case in get_unique_circ_id_by_conn
svn:r944
2003-12-16 20:45:10 +00:00
Roger Dingledine a8355d0468 some todo updates before i lose track of them
svn:r943
2003-12-16 09:52:31 +00:00
Roger Dingledine a55379fb96 move cell size to 512 bytes
move length to 2 bytes, put it in the relay header
remove 4 reserved bytes in cell
add 4 bytes to relay header for the integrity check


svn:r942
2003-12-16 09:48:17 +00:00
Roger Dingledine dc5421f83f add H(K|1) to the onionskin reply
verify it at the client end
abstract the onionskin handshake lengths

breaks backward compatibility (again)


svn:r941
2003-12-16 08:21:58 +00:00