Commit Graph

9971 Commits

Author SHA1 Message Date
Roger Dingledine
a1366be7ee forward-port r14421
svn:r14424
2008-04-23 00:31:20 +00:00
Nick Mathewson
41929c2684 r15287@tombo: nickm | 2008-04-22 17:09:25 -0400
Periodically launch requests for server/authority.z when it might help us learn our IP.  Fix for bug 652.


svn:r14418
2008-04-22 21:10:41 +00:00
Roger Dingledine
d72b256f4f When we choose to abandon a new entry guard because we think our
older ones might be better, close any circuits pending on that
new entry guard connection. Bugfix on 0.1.2.8-beta; found by lodger.


svn:r14417
2008-04-22 18:38:25 +00:00
Nick Mathewson
bc95a4dbcb r15283@tombo: nickm | 2008-04-22 13:43:45 -0400
Correctly notify one-hop connections when a circuit build has failed. possible fix for bug 669. found by lodger.


svn:r14415
2008-04-22 17:44:28 +00:00
Nick Mathewson
21592ad429 r15278@tombo: nickm | 2008-04-22 13:17:37 -0400
Apply patch from mwenge to fix bug 646: makes stream events for dns requests get generated more consistently.


svn:r14413
2008-04-22 17:21:12 +00:00
Nick Mathewson
e623d9baff r15277@tombo: nickm | 2008-04-22 13:14:18 -0400
Note a place to refactor.


svn:r14412
2008-04-22 17:21:09 +00:00
Nick Mathewson
ef9c34688c r15273@tombo: nickm | 2008-04-22 12:32:28 -0400
apply patch from lodger: reject requests for reverse-dns lookup of names in private address space.  make non-exits reject all dns requests.  Fixes bug 619.


svn:r14410
2008-04-22 16:32:55 +00:00
Nick Mathewson
6e979489dc r15269@tombo: nickm | 2008-04-22 12:23:30 -0400
Fix bug 663: warn less verbosely about clock skew from netinfo cells


svn:r14408
2008-04-22 16:23:47 +00:00
Nick Mathewson
299014b2c7 r15251@tombo: nickm | 2008-04-22 11:59:46 -0400
On platforms using pthreads, allow a thread to acquire a lock it already holds.  This is crucial for logging: otherwise any log message thrown from inside the logging process (especially from control.c) will deadlock.  Win32 CriticalSections are already recursive.  Bug spotted by nwf.  Bugfix on 0.2.0.16-alpha.  Backport candidate. I hope this is portable.


svn:r14406
2008-04-22 15:59:59 +00:00
Peter Palfrader
0cbecbe050 Fix a pair of comments
svn:r14405
2008-04-22 15:20:46 +00:00
Nick Mathewson
1b9c06ab96 r15230@tombo: nickm | 2008-04-17 16:18:08 -0400
Do not allocate excess space for named_flag and unnamed_flag in dirvote.c.  Fixes bug 662.  Not a dangerous bug: sizeof(int*) is at least as big as sizeof(int) everywhere.


svn:r14391
2008-04-17 20:23:13 +00:00
Roger Dingledine
864f4df905 fix typo in path-spec, spotted by keb
svn:r14384
2008-04-16 16:25:10 +00:00
Roger Dingledine
5e299b5e01 minor fixes that have been accumulating
svn:r14378
2008-04-16 00:12:44 +00:00
Roger Dingledine
2b4ff1718f forward-port r14375 and try to make it less likely to happen again
svn:r14377
2008-04-16 00:10:39 +00:00
Roger Dingledine
20f927c2dd forward-port r14373
svn:r14374
2008-04-15 23:06:31 +00:00
Andrew Lewman
133aeafb29 TARGET is not the same as /Library/Torbutton
svn:r14370
2008-04-15 20:18:32 +00:00
Andrew Lewman
c5c856b295 Ohh, the proper way to start an app from a script is "open".
svn:r14368
2008-04-14 23:30:39 +00:00
Roger Dingledine
67916707b5 are we really that bad at speeling?
svn:r14364
2008-04-12 21:36:28 +00:00
Peter Palfrader
963d281ed5 Slightly clarify the control spec
svn:r14362
2008-04-12 16:58:20 +00:00
Roger Dingledine
67d1a860bc another 0.2.1.x item we should do, from talking to steven. unless
we already do it, in which case we should document this. :)


svn:r14361
2008-04-12 11:15:43 +00:00
Roger Dingledine
3ddfae0096 another big problem with vidalia currently
svn:r14360
2008-04-12 05:43:59 +00:00
Roger Dingledine
335e264fbb X *still* hasn't fixed its (*%#(*ing copy and paste bug? in how
many years?


svn:r14354
2008-04-11 03:44:50 +00:00
Roger Dingledine
fb8dadc5b6 and forward-port that
svn:r14352
2008-04-11 03:43:16 +00:00
Nick Mathewson
b927ede48c r15161@31-33-107: nickm | 2008-04-10 11:11:58 -0400
Make dumpstats() log the size and fullness of openssl-internal buffers, so I can test my hypothesis that many of them are empty, and my alternative hypothesis that many of them are mostly empty, against the null hypothesis that we really need to be burning 32K per open OR connection on this.


svn:r14350
2008-04-10 15:12:24 +00:00
Nick Mathewson
c776da9537 r15160@31-33-107: nickm | 2008-04-10 11:10:20 -0400
split a todo item into the done part and the not-done part; mark the done part done.


svn:r14349
2008-04-10 15:12:17 +00:00
Roger Dingledine
7c5bb17398 two steps forward, one step back
svn:r14344
2008-04-10 04:41:43 +00:00
Nick Mathewson
df6329426c r19289@catbus: nickm | 2008-04-10 00:36:10 -0400
Mark 110 as needs-revision; 113 as superseded; 115 and 116 as dead; 117 as needs-revision; 118 as draft. Add comment to end of 113 about status.


svn:r14343
2008-04-10 04:36:21 +00:00
Nick Mathewson
20cf4d1f09 r19283@catbus: nickm | 2008-04-09 21:44:18 -0400
The optimist calls the glass half full.  The pessimist calls it half empty.  The engineer says it is twice as large as it needs to be.  In this case, the engineer says that the default smartlist size is twice as large as it needs to be and wouldn't it be nice to save half a megabyte with a one-line patch?


svn:r14341
2008-04-10 01:44:23 +00:00
Roger Dingledine
7a9b39d621 shrink the hidserv section in the todo
svn:r14338
2008-04-09 20:33:20 +00:00
Nick Mathewson
3f6e23e3f4 r19277@catbus: nickm | 2008-04-09 16:31:51 -0400
Pull up items from "future versions" list, remove duplicate items, etc.


svn:r14337
2008-04-09 20:31:59 +00:00
Nick Mathewson
7210ebfb44 r19276@catbus: nickm | 2008-04-09 16:25:02 -0400
Remove tracked-elsewhere issues.


svn:r14336
2008-04-09 20:31:56 +00:00
Nick Mathewson
e26c1dcba7 r19275@catbus: nickm | 2008-04-09 16:24:35 -0400
Sort deferred-from-0.2.0 items.


svn:r14335
2008-04-09 20:31:54 +00:00
Nick Mathewson
4901ee0a8c r19273@catbus: nickm | 2008-04-09 14:44:23 -0400
Do a slightly better fix for r14329: don't call time() quite so much.  Also note the time(NULL) hack we wanted to do in the TODO.


svn:r14334
2008-04-09 18:44:50 +00:00
Nick Mathewson
186df044cd r19262@catbus: nickm | 2008-04-09 14:05:20 -0400
When writing relay cells to a buffer, update timestamp_last_added_nonpadding.  Bugfix on 0.2.0.1-alpha. Backport candidate.


svn:r14329
2008-04-09 18:05:47 +00:00
Roger Dingledine
7519a473da add a few todo items, move some around, answer nick's questions
svn:r14327
2008-04-09 04:32:01 +00:00
Nick Mathewson
95488380db r19256@catbus: nickm | 2008-04-08 22:15:27 -0400
Take some of the unsorted 0.2.1.x items (mostly added by arma), and sort them.  Remove some that we did already, or that are already duplicated by proposals or other TODO items.


svn:r14326
2008-04-09 02:15:37 +00:00
Nick Mathewson
faa7484f43 r19255@catbus: nickm | 2008-04-08 21:42:51 -0400
Move some 0.2.0 TODO items into 0.2.1; remove some completed ones.


svn:r14325
2008-04-09 02:15:34 +00:00
Nick Mathewson
cc7a8a63b1 r15120@tombo: nickm | 2008-04-08 18:01:58 -0400
Add very short 0.2.1.x list based on discussion from arma. needs fleshing out and merging with other lists.


svn:r14324
2008-04-08 22:02:08 +00:00
Nick Mathewson
719c8fa373 r19251@catbus: nickm | 2008-04-08 17:40:15 -0400
Remove some bugs that are probably fixed or should go on flyspray. More some 101 items into 0.2.1.x


svn:r14323
2008-04-08 21:40:22 +00:00
Nick Mathewson
98aea7186c r19249@catbus: nickm | 2008-04-08 14:04:02 -0400
Oops. Fix one last memarea freelist bug.


svn:r14322
2008-04-08 18:04:05 +00:00
Nick Mathewson
a725d5da5e r19247@catbus: nickm | 2008-04-08 13:50:01 -0400
Fix behavior of memarea freelists.


svn:r14321
2008-04-08 17:50:03 +00:00
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