Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Check magic when removing old connection from map. | Nick Mathewson | 2005-12-05 |
| | | | | svn:r5508 | ||
* | Set chosen_exit_name to something we are not about to zero. | Nick Mathewson | 2005-12-05 |
| | | | | svn:r5507 | ||
* | When parsing foo.exit, if foo is unknown, and we are leaving circuits ↵ | Nick Mathewson | 2005-12-05 |
| | | | | | | unattached, set the chosen_exit field and leave the address empty svn:r5504 | ||
* | Remove superfluous strdup | Peter Palfrader | 2005-12-05 |
| | | | | svn:r5503 | ||
* | Also print usernames, not just numeric UIDs when we tell the user that his ↵ | Peter Palfrader | 2005-12-05 |
| | | | | | | data directory has the wrong owner svn:r5502 | ||
* | give a hint when people are running tor as the wrong user, rather than | Roger Dingledine | 2005-12-05 |
| | | | | | | | telling them to start chowning random directories. svn:r5500 | ||
* | Bugfix for trackhostexits: write down the fingerprint of the chosen exit, | Roger Dingledine | 2005-12-05 |
| | | | | | | | not its nickname, because the chosen exit might not be verified. svn:r5499 | ||
* | fix a log message to be mildly more helpful | Roger Dingledine | 2005-12-04 |
| | | | | svn:r5498 | ||
* | Fix another time comparison bug in circuit_stream_is_being_handled(). | Roger Dingledine | 2005-12-04 |
| | | | | | | | | Nick, can you confirm this one? This is also a backport candidate. svn:r5497 | ||
* | ok, i know this one was a bug. we were expiring open general | Roger Dingledine | 2005-12-04 |
| | | | | | | | circuits after they had been around for 30 seconds. svn:r5496 | ||
* | take back half of my bugfix. comparing times sucks. | Roger Dingledine | 2005-12-04 |
| | | | | | | | but leave the other half. svn:r5495 | ||
* | fix the first bug with our optimization to circuit_expire_building(): | Roger Dingledine | 2005-12-04 |
| | | | | | | | | | | we were killing off rendezvous circuits unless they magically time-warped to be too old before we got around to killing them, in which case we would leave them alone. this made it hard to rendezvous with hidden services. svn:r5494 | ||
* | Clean up some comments; remove some dead code | Nick Mathewson | 2005-12-03 |
| | | | | svn:r5493 | ||
* | Use a switch statement and some mild refactoring to try to speed up ↵ | Nick Mathewson | 2005-12-03 |
| | | | | | | circuit_expire_building svn:r5492 | ||
* | cvs diff -u src/or/circuitlist.c | less almost never does what you want in C. | Nick Mathewson | 2005-12-03 |
| | | | | svn:r5491 | ||
* | Expunge remaining places where we used "tree" to mean "associative array". | Nick Mathewson | 2005-12-03 |
| | | | | svn:r5490 | ||
* | Shave off another 4.7%: remove a linear search when figuring out which ↵ | Nick Mathewson | 2005-12-03 |
| | | | | | | circuits wanted us to open a given OR connection. svn:r5489 | ||
* | Remove "tree" references from dns. | Nick Mathewson | 2005-12-03 |
| | | | | svn:r5488 | ||
* | Make more arguments const; do not call hash tables trees. | Nick Mathewson | 2005-12-03 |
| | | | | svn:r5487 | ||
* | Ive spent about 10 hours benchmarking permutations on our counter-mode ↵ | Nick Mathewson | 2005-12-01 |
| | | | | | | 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 | ||
* | Add a benchmark-aes function to test.c. Off by default. | Nick Mathewson | 2005-12-01 |
| | | | | svn:r5485 | ||
* | assert_buf_ok was showing up in the profile; remove it from critical-path ↵ | Nick Mathewson | 2005-11-30 |
| | | | | | | functions, since it hasnt triggered for ages. svn:r5479 | ||
* | and its header | Roger Dingledine | 2005-11-30 |
| | | | | svn:r5478 | ||
* | remove another unused function | Roger Dingledine | 2005-11-30 |
| | | | | svn:r5477 | ||
* | Remove some functions that were around for hupping log files. We handle | Roger Dingledine | 2005-11-30 |
| | | | | | | | | them already in do_hup() by marking our log files as temporary and then rotating them in options_init_from_torrc(). svn:r5473 | ||
* | Fix some verbose warnings and remove an unneeded include. | Nick Mathewson | 2005-11-30 |
| | | | | svn:r5472 | ||
* | remove some functions that are not used; #if0 out some files that are not ↵ | Nick Mathewson | 2005-11-30 |
| | | | | | | likely to be used. svn:r5471 | ||
* | Move connection_or_remove_from_identity_map() to connection_unlink, but dont ↵ | Nick Mathewson | 2005-11-30 |
| | | | | | | remove the other; just make it warn. svn:r5470 | ||
* | Rename connection_get_by_identity_digest to reflect that it is OR-only. ↵ | Nick Mathewson | 2005-11-30 |
| | | | | | | Make it use a hashtable instead of a linear search. svn:r5469 | ||
* | Move code to check for zero digests into util.c | Nick Mathewson | 2005-11-30 |
| | | | | svn:r5468 | ||
* | Funny. I could have sworn that it compiled. | Nick Mathewson | 2005-11-29 |
| | | | | svn:r5467 | ||
* | Fix a bug weasel found: when we are an authority and somebody requests "all" ↵ | Nick Mathewson | 2005-11-29 |
| | | | | | | statuses, cconsider regenerating our own. svn:r5466 | ||
* | Make arguments to circuit_set_circid_orconn match the connection that is ↵ | Nick Mathewson | 2005-11-29 |
| | | | | | | closing in circuit_about_to_close_connection. This accounts for our mysterious "arbitrary ram gets decremented!" bug. svn:r5465 | ||
* | Avoid a segfault in routerlist_reset_warnings() | Nick Mathewson | 2005-11-28 |
| | | | | svn:r5464 | ||
* | when returning a list of circuits, don't return a list of the same | Roger Dingledine | 2005-11-28 |
| | | | | | | | conn over and over. that's really bad for memory. svn:r5463 | ||
* | when event_add or event_del fail, tell us why. | Roger Dingledine | 2005-11-26 |
| | | | | | | | (nick, do i have my libevent strerror dance moves correct?) svn:r5462 | ||
* | clean up broken comment | Roger Dingledine | 2005-11-26 |
| | | | | svn:r5461 | ||
* | "How about 'never'? Does 'never' work for you?" | Nick Mathewson | 2005-11-26 |
| | | | | | | | | | | | | | | | | | 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 | ||
* | Cut down a common call to circuit_get_by_conn by about half. | Nick Mathewson | 2005-11-26 |
| | | | | svn:r5459 | ||
* | HT_NEXT invalidates the last iterator; fix rmv-related segfault. | Nick Mathewson | 2005-11-26 |
| | | | | svn:r5458 | ||
* | Start the process of treating internal circuits and exit circuits | Roger Dingledine | 2005-11-25 |
| | | | | | | | | | | | | | | | | | | | 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 | ||
* | when calling connection_get_by_identity_digest, don't do a memcmp | Roger Dingledine | 2005-11-25 |
| | | | | | | | for non-OR conns. this should save a bit of time. svn:r5456 | ||
* | Bandaid workaround to make cvs not crash tor clients. | Roger Dingledine | 2005-11-25 |
| | | | | | | | | This is not a real fix. I didn't look at the rest of the code. Nick? svn:r5455 | ||
* | minor cleanup | Roger Dingledine | 2005-11-24 |
| | | | | svn:r5454 | ||
* | Fix a bug found by Lasse Overlier: when we were making internal circuits | Roger Dingledine | 2005-11-24 |
| | | | | | | | | | (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 | ||
* | remove some more dead code (found while hunting lasse's bug) | Roger Dingledine | 2005-11-24 |
| | | | | svn:r5452 | ||
* | get rid of some unused variables | Roger Dingledine | 2005-11-24 |
| | | | | svn:r5451 | ||
* | Add functions to return number of elts in associative containers | Nick Mathewson | 2005-11-23 |
| | | | | svn:r5448 | ||
* | comment that scary-looking function. | Roger Dingledine | 2005-11-23 |
| | | | | svn:r5447 | ||
* | Fix dumb logic error that kept some old descripttors from getting the axe. | Nick Mathewson | 2005-11-23 |
| | | | | svn:r5446 |