(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
Roger Dingledine
bb5a329ef7
change crypto_digest_new_env to crypto_new_digest_env
...
(and same with _free_)
to match our conventions
i think our conventions may be getting too ad hoc
svn:r940
2003-12-16 08:13:26 +00:00
Roger Dingledine
d153aff9c7
rename digest_copy to digest_dup, make it return, make gcc happier
...
svn:r939
2003-12-16 05:47:21 +00:00
Nick Mathewson
5943001d22
Resolve format warnings on MacOS X 10.3
...
svn:r938
2003-12-16 05:33:11 +00:00
Nick Mathewson
0d46a40a00
Add more fine-grained SHA1 functionality.
...
svn:r937
2003-12-16 05:29:04 +00:00
Nick Mathewson
82c7177c8c
Make compile warning-free on cygwin
...
svn:r936
2003-12-15 21:35:52 +00:00
Roger Dingledine
fb0b2b2280
make --debuglogfile (or any second log file) work
...
svn:r935
2003-12-14 09:58:43 +00:00
(no author)
01a72eb663
This commit was manufactured by cvs2svn to create tag
...
'tor-0_0_2pre16'.
svn:r934
2003-12-14 08:45:43 +00:00
Roger Dingledine
57795e5155
we are pre16
...
svn:r933
2003-12-14 08:45:43 +00:00
Roger Dingledine
55837db65f
start tracking the 'It appears I've already sent the end' warning
...
svn:r932
2003-12-14 08:32:14 +00:00
Roger Dingledine
8687af5b0e
oops, i broke buffers. fixed.
...
svn:r931
2003-12-14 08:15:41 +00:00