]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
22 years agofurther cleanup, test.c still has some bugs
Roger Dingledine [Wed, 16 Apr 2003 23:21:44 +0000 (23:21 +0000)] 
further cleanup, test.c still has some bugs

svn:r241

22 years agoFactor out cell packing and unpacking
Nick Mathewson [Wed, 16 Apr 2003 17:44:33 +0000 (17:44 +0000)] 
Factor out cell packing and unpacking

svn:r240

22 years agoRemove the last vestige of code that claims to know the inner structure of an onion...
Nick Mathewson [Wed, 16 Apr 2003 17:11:56 +0000 (17:11 +0000)] 
Remove the last vestige of code that claims to know the inner structure of an onion on the network

svn:r239

22 years agobugfix: make onions work again
Roger Dingledine [Wed, 16 Apr 2003 17:07:46 +0000 (17:07 +0000)] 
bugfix: make onions work again

svn:r238

22 years agoFactor out timeval-related functions.
Nick Mathewson [Wed, 16 Apr 2003 17:04:58 +0000 (17:04 +0000)] 
Factor out timeval-related functions.

svn:r237

22 years agoRemove the notion of "onion ciphers"; make packing and unpacking separate fns
Nick Mathewson [Wed, 16 Apr 2003 16:19:27 +0000 (16:19 +0000)] 
Remove the notion of "onion ciphers"; make packing and unpacking separate fns

svn:r236

22 years agoadd missing prototype
Roger Dingledine [Wed, 16 Apr 2003 16:17:27 +0000 (16:17 +0000)] 
add missing prototype

svn:r235

22 years agoTests for crypto; more tests for buffers
Nick Mathewson [Wed, 16 Apr 2003 15:24:09 +0000 (15:24 +0000)] 
Tests for crypto; more tests for buffers

svn:r234

22 years agodivorce circuit building from user connections
Roger Dingledine [Wed, 16 Apr 2003 06:18:31 +0000 (06:18 +0000)] 
divorce circuit building from user connections
now we rebuild the circuit periodically (but only if it's been used),
and we can further abstract it to do incremental circuit building, etc.

svn:r233

22 years agoIntroduce a few unit tests (from older code), refactor compression setup/teardown
Nick Mathewson [Tue, 15 Apr 2003 19:10:18 +0000 (19:10 +0000)] 
Introduce a few unit tests (from older code), refactor compression setup/teardown

svn:r232

22 years agomake it work (heh)
Roger Dingledine [Fri, 11 Apr 2003 22:28:51 +0000 (22:28 +0000)] 
make it work (heh)

svn:r231

22 years agorefactored some duplicate code into connection_edge.c
Roger Dingledine [Fri, 11 Apr 2003 22:11:11 +0000 (22:11 +0000)] 
refactored some duplicate code into connection_edge.c

svn:r230

22 years agobugfix: make onion proxies actually obey their requested bandwidth
Roger Dingledine [Tue, 8 Apr 2003 22:31:48 +0000 (22:31 +0000)] 
bugfix: make onion proxies actually obey their requested bandwidth

svn:r229

22 years agolet the 'test' binary build from the source distrib
Roger Dingledine [Tue, 8 Apr 2003 22:09:18 +0000 (22:09 +0000)] 
let the 'test' binary build from the source distrib

svn:r228

22 years agoput most of the remaining exit policy stuff in
Roger Dingledine [Tue, 8 Apr 2003 06:44:38 +0000 (06:44 +0000)] 
put most of the remaining exit policy stuff in
route selection still doesn't pay attention to exit policies though

svn:r227

22 years agoFirst test added
Nick Mathewson [Mon, 7 Apr 2003 13:25:44 +0000 (13:25 +0000)] 
First test added

svn:r226

22 years agoparse exit policy lines
Roger Dingledine [Mon, 7 Apr 2003 04:38:19 +0000 (04:38 +0000)] 
parse exit policy lines

svn:r225

22 years agoAdd magic to end of C files to make emacs happy; split test invocation into separate...
Nick Mathewson [Mon, 7 Apr 2003 02:12:02 +0000 (02:12 +0000)] 
Add magic to end of C files to make emacs happy; split test invocation into separate file.

svn:r224

22 years agomake servers tolerate the dns bug.
Roger Dingledine [Sat, 5 Apr 2003 19:53:45 +0000 (19:53 +0000)] 
make servers tolerate the dns bug.

svn:r223

22 years agobegin cells are now address:port, not address,port
Roger Dingledine [Sat, 5 Apr 2003 19:04:47 +0000 (19:04 +0000)] 
begin cells are now address:port, not address,port
(breaks backward compatibility)

svn:r222

22 years agobring docs closer to reality
Roger Dingledine [Sat, 5 Apr 2003 19:04:05 +0000 (19:04 +0000)] 
bring docs closer to reality

svn:r221

22 years agoremove obsolete httpap
Roger Dingledine [Fri, 4 Apr 2003 22:10:25 +0000 (22:10 +0000)] 
remove obsolete httpap

svn:r220

22 years agoremove obsolete smtpap
Roger Dingledine [Fri, 4 Apr 2003 22:09:43 +0000 (22:09 +0000)] 
remove obsolete smtpap

svn:r219

22 years agomove cell size to 256. seems to work (?)
Roger Dingledine [Mon, 24 Mar 2003 04:02:24 +0000 (04:02 +0000)] 
move cell size to 256. seems to work (?)

svn:r218

22 years agofinish specifying topic flow control
Roger Dingledine [Mon, 24 Mar 2003 03:31:11 +0000 (03:31 +0000)] 
finish specifying topic flow control

svn:r217

22 years agoget rid of those nasty tabs
Roger Dingledine [Mon, 24 Mar 2003 03:00:20 +0000 (03:00 +0000)] 
get rid of those nasty tabs

svn:r216

22 years agofix rare race condition
Roger Dingledine [Mon, 24 Mar 2003 02:50:07 +0000 (02:50 +0000)] 
fix rare race condition
if the directory is remade while an OR is handshaking, the directory
needs to become dirty again when the handshake succeeds

svn:r215

22 years agoFix message when decompressing
Nick Mathewson [Wed, 19 Mar 2003 22:51:38 +0000 (22:51 +0000)] 
Fix message when decompressing

svn:r214

22 years agoBe loud when decompressing
Nick Mathewson [Wed, 19 Mar 2003 22:47:34 +0000 (22:47 +0000)] 
Be loud when decompressing

svn:r213

22 years agominor doc patches
Roger Dingledine [Wed, 19 Mar 2003 22:44:29 +0000 (22:44 +0000)] 
minor doc patches

svn:r212

22 years agoallow make dist to work, because we moved stuff to doc
Roger Dingledine [Wed, 19 Mar 2003 22:43:03 +0000 (22:43 +0000)] 
allow make dist to work, because we moved stuff to doc

svn:r211

22 years agoobsolete notion of 'role' from config files
Roger Dingledine [Wed, 19 Mar 2003 22:40:58 +0000 (22:40 +0000)] 
obsolete notion of 'role' from config files

svn:r210

22 years agoMake decompression loud.
Nick Mathewson [Wed, 19 Mar 2003 22:28:52 +0000 (22:28 +0000)] 
Make decompression loud.

svn:r209

22 years agokludge because openssl and zlib both typedef free_func :(
Roger Dingledine [Wed, 19 Mar 2003 22:27:37 +0000 (22:27 +0000)] 
kludge because openssl and zlib both typedef free_func :(

svn:r208

22 years agofix arg bug; reduce confusion in package_raw_inbuf
Roger Dingledine [Wed, 19 Mar 2003 22:27:01 +0000 (22:27 +0000)] 
fix arg bug; reduce confusion in package_raw_inbuf

svn:r207

22 years agoAdd other side of half-open-connection logic (still disabled
Nick Mathewson [Wed, 19 Mar 2003 22:05:35 +0000 (22:05 +0000)] 
Add other side of half-open-connection logic (still disabled

svn:r206

22 years agocleaner errors
Roger Dingledine [Wed, 19 Mar 2003 22:02:35 +0000 (22:02 +0000)] 
cleaner errors

svn:r205

22 years agoBe clear about whether we are using half-open connections
Nick Mathewson [Wed, 19 Mar 2003 21:59:07 +0000 (21:59 +0000)] 
Be clear about whether we are using half-open connections

svn:r204

22 years agoFix bug in client_send_auth
Nick Mathewson [Wed, 19 Mar 2003 21:47:18 +0000 (21:47 +0000)] 
Fix bug in client_send_auth

svn:r203

22 years agoFix client_process_auth
Nick Mathewson [Wed, 19 Mar 2003 21:34:38 +0000 (21:34 +0000)] 
Fix client_process_auth

svn:r202

22 years agoCorrect defeatest attitude in crypto_new_cipher_env
Nick Mathewson [Wed, 19 Mar 2003 21:27:21 +0000 (21:27 +0000)] 
Correct defeatest attitude in crypto_new_cipher_env

svn:r201

22 years agoFix op handshake for longer keys
Nick Mathewson [Wed, 19 Mar 2003 21:17:57 +0000 (21:17 +0000)] 
Fix op handshake for longer keys

svn:r200

22 years agoAdd a missing long cast to log.c for portability
Nick Mathewson [Wed, 19 Mar 2003 20:54:39 +0000 (20:54 +0000)] 
Add a missing long cast to log.c for portability

svn:r199

22 years agoFinish zlib and half-open; switch to 3des (ede/ofb)
Nick Mathewson [Wed, 19 Mar 2003 20:48:56 +0000 (20:48 +0000)] 
Finish zlib and half-open; switch to 3des (ede/ofb)

svn:r198

22 years agoMake Makefile.am nonbroken
Nick Mathewson [Wed, 19 Mar 2003 20:42:40 +0000 (20:42 +0000)] 
Make Makefile.am nonbroken

svn:r197

22 years agoRefactor block ciphers; add 3des
Nick Mathewson [Wed, 19 Mar 2003 20:41:15 +0000 (20:41 +0000)] 
Refactor block ciphers; add 3des

svn:r196

22 years agoa few clarifications to the spec
Roger Dingledine [Tue, 18 Mar 2003 07:21:31 +0000 (07:21 +0000)] 
a few clarifications to the spec
still not done at the end

svn:r195

22 years agoidentical FAQ and HACKING files, now in /doc
Roger Dingledine [Tue, 18 Mar 2003 03:28:03 +0000 (03:28 +0000)] 
identical FAQ and HACKING files, now in /doc

svn:r194

22 years agoremove faq and hacking files too. they're now in doc.
Roger Dingledine [Tue, 18 Mar 2003 03:27:47 +0000 (03:27 +0000)] 
remove faq and hacking files too. they're now in doc.

svn:r193

22 years agogreatly simplify this notion of 'roles':
Roger Dingledine [Tue, 18 Mar 2003 01:49:55 +0000 (01:49 +0000)] 
greatly simplify this notion of 'roles':
if your ORPort is non-zero then you must connect to all nodes
if your DirPort is non-zero then you must act like a directory server

svn:r192

22 years agomore todo edits from today's meeting
Roger Dingledine [Mon, 17 Mar 2003 23:34:00 +0000 (23:34 +0000)] 
more todo edits from today's meeting

svn:r191

22 years agoremoving TODO file from /
Roger Dingledine [Mon, 17 Mar 2003 23:19:42 +0000 (23:19 +0000)] 
removing TODO file from /

svn:r190

22 years agosame todo file as before, just moving to doc/
Roger Dingledine [Mon, 17 Mar 2003 23:19:25 +0000 (23:19 +0000)] 
same todo file as before, just moving to doc/

svn:r189

22 years agoDo not uncompress from z_outbuf to outbuf unless outbuf is less than maximally full
Nick Mathewson [Mon, 17 Mar 2003 21:21:35 +0000 (21:21 +0000)] 
Do not uncompress from z_outbuf to outbuf unless  outbuf is less than maximally full

svn:r188

22 years agoAdd code for end-to-end zlib compression. Still needs flow-control
Nick Mathewson [Mon, 17 Mar 2003 02:42:45 +0000 (02:42 +0000)] 
Add code for end-to-end zlib compression.  Still needs flow-control

svn:r187

22 years agoRemove extraneous (and non-ansi) semis
Nick Mathewson [Mon, 17 Mar 2003 02:42:14 +0000 (02:42 +0000)] 
Remove extraneous (and non-ansi) semis

svn:r186

22 years agoAdd daemon logic
Nick Mathewson [Mon, 17 Mar 2003 02:41:36 +0000 (02:41 +0000)] 
Add daemon logic

svn:r185

22 years agoAdd daemon option and bool config type
Nick Mathewson [Mon, 17 Mar 2003 02:27:19 +0000 (02:27 +0000)] 
Add daemon option and bool config type

svn:r184

22 years agoAdd zlib to link step
Nick Mathewson [Mon, 17 Mar 2003 02:26:37 +0000 (02:26 +0000)] 
Add zlib to link step

svn:r183

22 years agoChange gcc options to ones that work on Mac OS X; add zlib to headers
Nick Mathewson [Mon, 17 Mar 2003 02:04:10 +0000 (02:04 +0000)] 
Change gcc options to ones that work on Mac OS X; add zlib to headers

svn:r182

22 years agoa few updates to the TODO
Roger Dingledine [Sun, 16 Mar 2003 23:26:29 +0000 (23:26 +0000)] 
a few updates to the TODO

svn:r181

22 years agoclearer instructions for people starting new nodes
Roger Dingledine [Sun, 16 Mar 2003 04:55:19 +0000 (04:55 +0000)] 
clearer instructions for people starting new nodes

svn:r180

22 years agoclean up and slightly document the config files
Roger Dingledine [Sun, 16 Mar 2003 04:40:16 +0000 (04:40 +0000)] 
clean up and slightly document the config files

svn:r179

22 years agorespond to nick's question about link padding
Roger Dingledine [Wed, 12 Mar 2003 12:06:54 +0000 (12:06 +0000)] 
respond to nick's question about link padding
(nick: note that link padding is currently disabled)

svn:r178

22 years agosome patches on nick's commit
Roger Dingledine [Wed, 12 Mar 2003 12:02:06 +0000 (12:02 +0000)] 
some patches on nick's commit

svn:r177

22 years agoMake ACI anti-collision logic work; make sure that cells are filled with 0s.
Nick Mathewson [Tue, 11 Mar 2003 21:38:38 +0000 (21:38 +0000)] 
Make ACI anti-collision logic work; make sure that cells are filled with 0s.

svn:r176

22 years agoFirst draft of most of spec
Nick Mathewson [Tue, 11 Mar 2003 21:36:00 +0000 (21:36 +0000)] 
First draft of most of spec

svn:r175

22 years agolazy (just in time) directory rebuilding
Roger Dingledine [Tue, 11 Mar 2003 01:51:41 +0000 (01:51 +0000)] 
lazy (just in time) directory rebuilding

svn:r174

22 years agopack into data cells more intelligently
Roger Dingledine [Mon, 10 Mar 2003 22:40:02 +0000 (22:40 +0000)] 
pack into data cells more intelligently

svn:r173

22 years agobe less noisy at -l info, now that flow control bug is solved
Roger Dingledine [Mon, 10 Mar 2003 22:30:05 +0000 (22:30 +0000)] 
be less noisy at -l info, now that flow control bug is solved

svn:r172

22 years agotweaks and responses to the spec
Roger Dingledine [Fri, 7 Mar 2003 08:41:57 +0000 (08:41 +0000)] 
tweaks and responses to the spec

svn:r171

22 years agoclean out obsolete cell types
Roger Dingledine [Fri, 7 Mar 2003 08:24:55 +0000 (08:24 +0000)] 
clean out obsolete cell types

svn:r170

22 years agoremove the mystery int32 from the or-to-or handshake
Roger Dingledine [Fri, 7 Mar 2003 07:57:55 +0000 (07:57 +0000)] 
remove the mystery int32 from the or-to-or handshake
thanks nick :)
(note: this change breaks backward compatibility)

svn:r169

22 years agoSpec for current version of onion routing
Nick Mathewson [Fri, 7 Mar 2003 02:39:40 +0000 (02:39 +0000)] 
Spec for current version of onion routing

svn:r168

22 years agoclean up prepare_for_poll() so it's fast
Roger Dingledine [Thu, 6 Mar 2003 04:52:02 +0000 (04:52 +0000)] 
clean up prepare_for_poll() so it's fast

svn:r167

22 years agominor code cleanup
Roger Dingledine [Wed, 5 Mar 2003 20:03:05 +0000 (20:03 +0000)] 
minor code cleanup

svn:r166

22 years agoa few more todo items
Roger Dingledine [Tue, 4 Mar 2003 04:43:19 +0000 (04:43 +0000)] 
a few more todo items

svn:r165

22 years agobetter comments and a few patches
Roger Dingledine [Tue, 4 Mar 2003 04:36:37 +0000 (04:36 +0000)] 
better comments and a few patches

svn:r164

22 years agowhen we had multiple conns on a circuit, we'd tell the wrong
Roger Dingledine [Fri, 28 Feb 2003 23:49:52 +0000 (23:49 +0000)] 
when we had multiple conns on a circuit, we'd tell the wrong
one to stop reading

svn:r163

22 years agolet up on the bandwidth constraints
Roger Dingledine [Tue, 18 Feb 2003 01:55:51 +0000 (01:55 +0000)] 
let up on the bandwidth constraints

svn:r162

22 years agoBugfixes and enhancements in sendmes and dns farm
Roger Dingledine [Tue, 18 Feb 2003 01:35:55 +0000 (01:35 +0000)] 
Bugfixes and enhancements in sendmes and dns farm

svn:r161

22 years agoAllow more connections open at once
Roger Dingledine [Tue, 18 Feb 2003 01:35:31 +0000 (01:35 +0000)] 
Allow more connections open at once

svn:r160

22 years agobugfix: actually remember the answer in the cache :)
Roger Dingledine [Sun, 16 Feb 2003 02:05:24 +0000 (02:05 +0000)] 
bugfix: actually remember the answer in the cache :)

svn:r159

22 years agorudimentary dns caching (of both resolves and resolve failures)
Roger Dingledine [Fri, 14 Feb 2003 07:53:55 +0000 (07:53 +0000)] 
rudimentary dns caching (of both resolves and resolve failures)
serious performance increase over non-caching

svn:r158

22 years agominor fix
Roger Dingledine [Fri, 14 Feb 2003 04:10:22 +0000 (04:10 +0000)] 
minor fix

svn:r157

22 years agocommit my current tor rc versions
Roger Dingledine [Fri, 14 Feb 2003 04:10:13 +0000 (04:10 +0000)] 
commit my current tor rc versions

svn:r156

22 years agoa new TODO file with more details
Roger Dingledine [Fri, 14 Feb 2003 04:09:56 +0000 (04:09 +0000)] 
a new TODO file with more details

svn:r155

22 years agofix endian issues for topics -- they might work on bsd now
Roger Dingledine [Thu, 6 Feb 2003 23:48:35 +0000 (23:48 +0000)] 
fix endian issues for topics -- they might work on bsd now
(they wouldn't have before)

alternate code which bypasses the dns farm, so we can compare speed

svn:r154

22 years agomake reusing circuits work (and be the default)
Roger Dingledine [Thu, 6 Feb 2003 08:00:49 +0000 (08:00 +0000)] 
make reusing circuits work (and be the default)

performance is better, but not by much. not sure why yet.

svn:r153

22 years agomajor overhaul: dns slave subsystem, topics
Roger Dingledine [Sun, 26 Jan 2003 09:02:24 +0000 (09:02 +0000)] 
major overhaul: dns slave subsystem, topics

on startup, it forks off a master dns handler, which forks off dns
slaves (like the apache model). slaves as spawned as load increases,
and then reused. excess slaves are not ever killed, currently.

implemented topics. each topic has a receive window in each direction
at each edge of the circuit, and sends sendme's at the data level, as
per before. each circuit also has receive windows in each direction at
each hop; an edge sends a circuit-level sendme as soon as enough data
cells have arrived (regardless of whether the data cells were flushed
to the exit conns). removed the 'connected' cell type, since it's now
a topic command within data cells.

at the edge of the circuit, there can be multiple connections associated
with a single circuit. you find them via the linked list conn->next_topic.

currently each new ap connection starts its own circuit, so we ought
to see comparable performance to what we had before. but that's only
because i haven't written the code to reattach to old circuits. please
try to break it as-is, and then i'll make it reuse the same circuit and
we'll try to break that.

svn:r152

22 years agosplay and rbtree implementations, by niels provos
Roger Dingledine [Tue, 31 Dec 2002 15:05:07 +0000 (15:05 +0000)] 
splay and rbtree implementations, by niels provos
taken from openbsd

svn:r151

22 years agouse a rbtree for replay detection, rather than linear search
Roger Dingledine [Tue, 31 Dec 2002 15:04:14 +0000 (15:04 +0000)] 
use a rbtree for replay detection, rather than linear search

when we had lots of new onions coming in, we were using 40% of
our time searching through the tracked_onions linked list.

svn:r150

22 years agogive us more aci-space
Roger Dingledine [Mon, 30 Dec 2002 08:51:41 +0000 (08:51 +0000)] 
give us more aci-space

svn:r149

22 years agobugfix: couldn't send two creates, two datas, and the destroy all at once
Roger Dingledine [Mon, 23 Dec 2002 06:48:14 +0000 (06:48 +0000)] 
bugfix: couldn't send two creates, two datas, and the destroy all at once

(amazing the odd behavior you get to test when you have a flaky modem
connection)

svn:r148

23 years agostarting to document what clients need to do and why
Roger Dingledine [Thu, 12 Dec 2002 22:53:34 +0000 (22:53 +0000)] 
starting to document what clients need to do and why

svn:r147

23 years agoonions go on and off the network correctly now
Roger Dingledine [Tue, 3 Dec 2002 22:18:23 +0000 (22:18 +0000)] 
onions go on and off the network correctly now

we're closer to an OS X port
 CVS: ----------------------------------------------------------------------

svn:r146

23 years agoonions expire after a day, not an hour
Roger Dingledine [Tue, 3 Dec 2002 07:06:13 +0000 (07:06 +0000)] 
onions expire after a day, not an hour

this was a major faq, because it would fail with an error only on
the *server* side when the client-side time was wrong. the client would
simply not work.

svn:r145

23 years agowas leaking 28 bytes every 100 minutes
Roger Dingledine [Tue, 3 Dec 2002 05:12:30 +0000 (05:12 +0000)] 
was leaking 28 bytes every 100 minutes

svn:r144

23 years agotwo more rare race conditions
Roger Dingledine [Thu, 28 Nov 2002 07:32:30 +0000 (07:32 +0000)] 
two more rare race conditions

svn:r143

23 years agocreate cells are now queued and processed only when idle
Roger Dingledine [Wed, 27 Nov 2002 04:08:20 +0000 (04:08 +0000)] 
create cells are now queued and processed only when idle

we also queue data cells destined for a circuit that is
pending, and process them once the circuit opens

destroys reach into the queue and remove the pending onion,
along with its collected data cells

svn:r142