Commit Graph

9580 Commits

Author SHA1 Message Date
Nick Mathewson
f8bacfd724 r19245@catbus: nickm | 2008-04-08 13:33:27 -0400
Oops. It turns out that there are some subtle differences between >= and <.


svn:r14320
2008-04-08 17:33:29 +00:00
Nick Mathewson
31153d6374 r19243@catbus: nickm | 2008-04-08 13:28:59 -0400
Use a freelist to hold a few recent memarea chunks.  We do a kazillion memarea allocs and frees; that cant be good for us.


svn:r14319
2008-04-08 17:29:05 +00:00
Nick Mathewson
a627407fcb r19233@catbus: nickm | 2008-04-08 13:06:34 -0400
When we remove old routers, use Bloom filters rather than a digestmap-based set in order to tell which ones we absolutely need to keep.  This will save us roughly a kazillion little short-lived allocations for hash table entries.


svn:r14318
2008-04-08 17:06:41 +00:00
Nick Mathewson
0c9efd6a1e r19231@catbus: nickm | 2008-04-07 12:45:58 -0400
Update last_listed_as_valid_until for new routers based on v2 networkstatus as well as consensus networkstatus.


svn:r14317
2008-04-08 17:06:38 +00:00
Roger Dingledine
e57264fee8 If relays have 100KB/s but set relaybandwidthrate to 10KB/s, do your
interference attacks still work?


svn:r14316
2008-04-08 09:01:28 +00:00
Roger Dingledine
bbce9689a2 roger's grand plan for how to handle 100000 relays.
still needs to be fleshed out a bit. ;)


svn:r14315
2008-04-08 08:59:02 +00:00
Roger Dingledine
0e8b7d6471 finish a few items, add a few more
svn:r14314
2008-04-08 08:17:02 +00:00
Nick Mathewson
2d68487e7f r19229@catbus: nickm | 2008-04-07 12:28:22 -0400
Add a new SMARTLIST_FOREACH_JOIN macro to iterate through two sorted lists in lockstep.  This happens at least 3 times in the code so far, and is likely to happen more in the future.  Previous attempts to do so proved touchy, tricky, and error-prone: now, we only need to get it right in one place.


svn:r14309
2008-04-07 16:28:34 +00:00
Nick Mathewson
85db675911 r19202@catbus: nickm | 2008-04-04 17:18:47 -0400
Make last_served_at optional; make last_listed_as_valid_until take account (partially) of v2 statuses.


svn:r14299
2008-04-04 21:18:56 +00:00
Nick Mathewson
4c04b7f4f6 r19201@catbus: nickm | 2008-04-04 14:23:19 -0400
Better macro documentation


svn:r14298
2008-04-04 21:18:51 +00:00
Nick Mathewson
68407e6a9c r19199@catbus: nickm | 2008-04-03 15:01:05 -0400
Fix bug 641 and 650, I think.


svn:r14297
2008-04-03 19:01:16 +00:00
Roger Dingledine
1ac11591d2 a potential fix for bug 641.
svn:r14281
2008-04-02 20:48:36 +00:00
Roger Dingledine
5174e388a6 two more things for weasel to work on
svn:r14280
2008-04-02 19:08:19 +00:00
Peter Palfrader
53e656eaa6 A changelog entry for r14277
svn:r14278
2008-04-01 21:07:45 +00:00
Roger Dingledine
39c402c29f when add_file_log() fails, tell us why.
svn:r14277
2008-04-01 21:05:31 +00:00
Nick Mathewson
77c6ca9af3 Add Peter Palfrader's proposal 134: More robust consensus voting with diverse authority sets
svn:r14273
2008-04-01 15:23:44 +00:00
Jacob Appelbaum
4b38ffcfbf More TODO poking.
svn:r14259
2008-03-31 10:35:58 +00:00
Jacob Appelbaum
c7f754d366 Added buildbot notes.
svn:r14258
2008-03-31 10:27:27 +00:00
Jacob Appelbaum
8263dbf2bf Update status of torbutton/translation stuff.
svn:r14257
2008-03-31 10:20:25 +00:00
Jacob Appelbaum
1e85d5c4d5 Name fix.
svn:r14256
2008-03-31 08:54:25 +00:00
Nick Mathewson
d43a9d9440 r19152@catbus: nickm | 2008-03-30 23:20:11 -0400
Make unit tests pass again after Link protocol list change.


svn:r14254
2008-03-31 03:20:55 +00:00
Roger Dingledine
230c2f2f2e another item it'd be great to see weasel do
svn:r14252
2008-03-30 21:20:09 +00:00
Nick Mathewson
3e992ee419 r19142@catbus: nickm | 2008-03-30 14:14:52 -0400
Merge proposals 130 and 105 into tor-spec and dir-spec; mark them closed.


svn:r14247
2008-03-30 18:14:58 +00:00
Nick Mathewson
006530f037 r19140@catbus: nickm | 2008-03-30 14:13:36 -0400
Note in our router descriptors that we actually support link protocol version 2, now that it seems to work.


svn:r14246
2008-03-30 18:14:55 +00:00
Nick Mathewson
72ca7e5d88 r19138@catbus: nickm | 2008-03-30 11:59:26 -0400
oops; fix bug in descriptor metric logic.


svn:r14245
2008-03-30 15:59:32 +00:00
Roger Dingledine
3b0be16e3b some more things i'd be excited to see done.
svn:r14241
2008-03-30 11:00:30 +00:00
Andrew Lewman
50c920dcb1 Actually get torbutton to install into Firefox
svn:r14238
2008-03-30 04:09:48 +00:00
Andrew Lewman
ae4150dd02 Update torbutton version and if the user chooses to install torbutton,
open firefox with a prompt to install torbutton


svn:r14235
2008-03-30 00:40:09 +00:00
Nick Mathewson
4c81d0d3eb r15025@tombo: nickm | 2008-03-29 01:42:25 -0400
Mark proposal 129 closed.  It was basically implemented as is, and requires no specification changes.


svn:r14233
2008-03-29 05:43:04 +00:00
Nick Mathewson
2b1c9d5489 r15024@tombo: nickm | 2008-03-29 01:37:09 -0400
Close proposal 126 ("Getting GeoIP data and publishing usage summaries.")  It was never completely built, so note which parts wer and which were not.  Not-built parts would be good topics for future proposals.


svn:r14232
2008-03-29 05:43:02 +00:00
Nick Mathewson
fd4cff8a65 r15023@tombo: nickm | 2008-03-29 01:18:03 -0400
Merge proposal 123 ("Naming authorities automatically create bindings") into dir-spec.txt.


svn:r14231
2008-03-29 05:43:00 +00:00
Nick Mathewson
e19d96637d r19118@catbus: nickm | 2008-03-29 00:27:08 -0400
Code (disabled) to get way too much info about the contents of old_routers on USR1.


svn:r14230
2008-03-29 04:27:34 +00:00
Nick Mathewson
e89bf1c573 r19109@catbus: nickm | 2008-03-27 16:05:18 -0400
Replace a syntax error and a log message that was never emitted with a simple assert.  Asserts are fun and easy.


svn:r14224
2008-03-27 20:05:44 +00:00
Peter Palfrader
9d132fbde6 Add --hush switch.
New --hush command-line option similar to --quiet.  While --quiet disables all
logging to the console on startup, --hush limits the output to messages of
warning and error severity.


svn:r14222
2008-03-27 17:25:49 +00:00
Nick Mathewson
3bc512cfe2 r19107@catbus: nickm | 2008-03-27 13:20:09 -0400
Fix typos in proposal 131 spotted by Jens Kubieziel on or-dev.


svn:r14221
2008-03-27 17:20:13 +00:00
Nick Mathewson
9ee7f6e826 r19105@catbus: nickm | 2008-03-27 13:01:47 -0400
oops. Note bug number in changelog.


svn:r14220
2008-03-27 17:01:52 +00:00
Nick Mathewson
968ad93b0a r19093@catbus: nickm | 2008-03-27 12:43:58 -0400
Only log a notice that dmalloc has been set up if it fails.  Actually, since we have not added a temp log yet, I am not sure this ever does anything.


svn:r14216
2008-03-27 16:46:39 +00:00
Nick Mathewson
4e6b6e3ad7 r19092@catbus: nickm | 2008-03-27 12:43:29 -0400
Stop supporting anything besides CMD_RUN_TOR in ntmain.c. Based on patch from Sebastian Hahn.


svn:r14215
2008-03-27 16:46:36 +00:00
Nick Mathewson
12b217bce8 r19091@catbus: nickm | 2008-03-27 12:42:57 -0400
Stop reading torrc when all we want to do is --hash-password.  Fix based on patch from Sebastian Hahn. Backport candidate.


svn:r14214
2008-03-27 16:46:34 +00:00
Nick Mathewson
932b57813a add proposal from Robert Hogan as 133: Incorporate Unreachable ORs into the Tor Network
svn:r14213
2008-03-27 15:52:44 +00:00
Nick Mathewson
02acee891c r19089@catbus: nickm | 2008-03-27 11:05:23 -0400
Free some static hashtables and the log mutex on exit. Backport candidate.


svn:r14212
2008-03-27 15:05:28 +00:00
Roger Dingledine
03078f7f7a clarify, add one, mark one done
svn:r14211
2008-03-27 10:27:04 +00:00
Roger Dingledine
398815307a actually write down the items i'm secretly hoping people will do.
svn:r14210
2008-03-27 10:06:23 +00:00
Nick Mathewson
fa15ed4b7b r19079@catbus: nickm | 2008-03-26 17:16:46 -0400
Free authority certs on exit.  Backport candidate.


svn:r14205
2008-03-26 21:16:56 +00:00
Nick Mathewson
944bd3dbed r19074@catbus: nickm | 2008-03-26 17:08:32 -0400
Start new address policies with refcount of 1, not 2.  Backport candidate once tested more.


svn:r14204
2008-03-26 21:08:39 +00:00
Roger Dingledine
e9221f4a0d fix a leak when adding a temp log
svn:r14203
2008-03-26 18:59:45 +00:00
Roger Dingledine
8dfccf6145 fix mem leak in parsing log config lines
svn:r14202
2008-03-26 18:36:46 +00:00
Nick Mathewson
e8cc756c13 r19072@catbus: nickm | 2008-03-26 13:50:24 -0400
Add code to debug memory area size.  Use results of this code to set a couple of area sizes more sanely.


svn:r14201
2008-03-26 17:50:27 +00:00
Nick Mathewson
745f3c859a r19066@catbus: nickm | 2008-03-26 13:24:15 -0400
Initialize logging before we log anything.  Bugfix on 0.2.0.x-alpha.


svn:r14199
2008-03-26 17:25:16 +00:00
Nick Mathewson
762d82cf74 r19062@catbus: nickm | 2008-03-26 12:56:25 -0400
Fix whitespace


svn:r14197
2008-03-26 16:56:37 +00:00