- 03 Dec, 2005 3 commits
-
-
Nick Mathewson authored
Shave off another 4.7%: remove a linear search when figuring out which circuits wanted us to open a given OR connection. svn:r5489
-
Nick Mathewson authored
svn:r5488
-
Nick Mathewson authored
svn:r5487
-
- 01 Dec, 2005 2 commits
-
-
Nick Mathewson authored
Ive spent about 10 hours benchmarking permutations on our counter-mode implementation. This is the one that flies. (Avoid OpenSSL; optimizze rijndael calling convention to avoid needing to marshall and unmarshall counter.) This should speed up cell encryption by about 27%. svn:r5486
-
Nick Mathewson authored
svn:r5485
-
- 30 Nov, 2005 11 commits
-
-
Nick Mathewson authored
assert_buf_ok was showing up in the profile; remove it from critical-path functions, since it hasnt triggered for ages. svn:r5479
-
Roger Dingledine authored
svn:r5478
-
Roger Dingledine authored
svn:r5477
-
Roger Dingledine authored
to one that does. svn:r5475
-
Roger Dingledine authored
so they weren't showing up. svn:r5474
-
Roger Dingledine authored
them already in do_hup() by marking our log files as temporary and then rotating them in options_init_from_torrc(). svn:r5473
-
Nick Mathewson authored
svn:r5472
-
Nick Mathewson authored
svn:r5471
-
Nick Mathewson authored
Move connection_or_remove_from_identity_map() to connection_unlink, but dont remove the other; just make it warn. svn:r5470
-
Nick Mathewson authored
Rename connection_get_by_identity_digest to reflect that it is OR-only. Make it use a hashtable instead of a linear search. svn:r5469
-
Nick Mathewson authored
svn:r5468
-
- 29 Nov, 2005 3 commits
-
-
Nick Mathewson authored
svn:r5467
-
Nick Mathewson authored
Fix a bug weasel found: when we are an authority and somebody requests "all" statuses, cconsider regenerating our own. svn:r5466
-
Nick Mathewson authored
Make arguments to circuit_set_circid_orconn match the connection that is closing in circuit_about_to_close_connection. This accounts for our mysterious "arbitrary ram gets decremented!" bug. svn:r5465
-
- 28 Nov, 2005 2 commits
-
-
Nick Mathewson authored
svn:r5464
-
Roger Dingledine authored
conn over and over. that's really bad for memory. svn:r5463
-
- 26 Nov, 2005 5 commits
-
-
Roger Dingledine authored
(nick, do i have my libevent strerror dance moves correct?) svn:r5462
-
Roger Dingledine authored
svn:r5461
-
Nick Mathewson authored
Weasel says circuit_get_by_conn is his main timesink. Most of its users were just checking whether OR conns had circuits, so add a circuit count to OR conns, and check that. One was circuit_about_to_close_conn, which was doing an O(n^2) series of calls to get all circs on an OR conn, so make an O(n) function for that. Finally, circuit_get_by_edge_conn was using it as a sanity test that has been around for a while but never found any actualy insanity, so kill that. circuit_get_by_conn is finally dead, which is good, since it was never sane to begin with. svn:r5460
-
Nick Mathewson authored
svn:r5459
-
Nick Mathewson authored
svn:r5458
-
- 25 Nov, 2005 3 commits
-
-
Roger Dingledine authored
separately. It's important to keep them separate because internal circuits have their last hops picked like middle hops, rather than like exit hops. So exiting on them will break the user's expectations. - Stop cannibalizing internal circuits for general exits, and stop cannibalizing exit circuits for rendezvous stuff. - Don't let new exit streams attach to internal circuits. - When deciding if we have enough circuits for internal and for exit, don't count the wrong ones. - Treat predicted resolves as predicted port 80 exits. svn:r5457
-
Roger Dingledine authored
for non-OR conns. this should save a bit of time. svn:r5456
-
Roger Dingledine authored
This is not a real fix. I didn't look at the rest of the code. Nick? svn:r5455
-
- 24 Nov, 2005 4 commits
-
-
Roger Dingledine authored
svn:r5454
-
Roger Dingledine authored
(intended to be cannibalized later for rendezvous and introduction circuits), we were picking them so that they had useful exit nodes. There was no need for this, and it actually aids some statistical attacks. svn:r5453
-
Roger Dingledine authored
svn:r5452
-
Roger Dingledine authored
svn:r5451
-
- 23 Nov, 2005 7 commits
-
-
Roger Dingledine authored
svn:r5450
-
Roger Dingledine authored
svn:r5449
-
Nick Mathewson authored
svn:r5448
-
Roger Dingledine authored
svn:r5447
-
Nick Mathewson authored
svn:r5446
-
Nick Mathewson authored
Make dropping very old descriptors faster (remove old correctness check). Track bytes dropped that are still in our store or journal, and rebuild when it gets very high. svn:r5445
-
Nick Mathewson authored
svn:r5444
-