aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Make clients use CREATE_FAST cells. add an option to disable this.Nick Mathewson2005-12-07
| | | | svn:r5524
* fix typo noticed by scrimblyRoger Dingledine2005-12-07
| | | | svn:r5522
* what the heck is wrong with this little piece of code?Roger Dingledine2005-12-07
| | | | | | | | why can none of us get it right? it looks so simple. svn:r5521
* tell the controller about new .onion streams too.Roger Dingledine2005-12-06
| | | | svn:r5520
* get rid of nick's crazy voodoo dh checking.Roger Dingledine2005-12-06
| | | | svn:r5518
* the other half of weasel's patch, so old gcc's can build cvs again.Roger Dingledine2005-12-06
| | | | svn:r5517
* Old gccs want you to do your variable declarations firstPeter Palfrader2005-12-06
| | | | svn:r5516
* when we're giving up on a circuit and retrying on a new one,Roger Dingledine2005-12-06
| | | | | | | | log the name of the exit node. perhaps people will find this useful, or see patterns, or something. svn:r5515
* Fix bug 212: Directory authorities should not try to download server ↵Nick Mathewson2005-12-06
| | | | | | descriptors that they know they will reject. svn:r5514
* Better fix for last bug: avoids trying to double-mark circuits.Nick Mathewson2005-12-05
| | | | svn:r5511
* We were neglecting to unlink marked circuits from soon-to-close OR connections.Nick Mathewson2005-12-05
| | | | svn:r5510
* Change how OR conns get removed from the identity map; fix some warnings on ↵Nick Mathewson2005-12-05
| | | | | | shutdown. svn:r5509
* Check magic when removing old connection from map.Nick Mathewson2005-12-05
| | | | svn:r5508
* Set chosen_exit_name to something we are not about to zero.Nick Mathewson2005-12-05
| | | | svn:r5507
* When parsing foo.exit, if foo is unknown, and we are leaving circuits ↵Nick Mathewson2005-12-05
| | | | | | unattached, set the chosen_exit field and leave the address empty svn:r5504
* Remove superfluous strdupPeter Palfrader2005-12-05
| | | | svn:r5503
* Also print usernames, not just numeric UIDs when we tell the user that his ↵Peter Palfrader2005-12-05
| | | | | | data directory has the wrong owner svn:r5502
* give a hint when people are running tor as the wrong user, rather thanRoger Dingledine2005-12-05
| | | | | | | telling them to start chowning random directories. svn:r5500
* Bugfix for trackhostexits: write down the fingerprint of the chosen exit,Roger Dingledine2005-12-05
| | | | | | | not its nickname, because the chosen exit might not be verified. svn:r5499
* fix a log message to be mildly more helpfulRoger Dingledine2005-12-04
| | | | svn:r5498
* Fix another time comparison bug in circuit_stream_is_being_handled().Roger Dingledine2005-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 generalRoger Dingledine2005-12-04
| | | | | | | circuits after they had been around for 30 seconds. svn:r5496
* take back half of my bugfix. comparing times sucks.Roger Dingledine2005-12-04
| | | | | | | but leave the other half. svn:r5495
* fix the first bug with our optimization to circuit_expire_building():Roger Dingledine2005-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 codeNick Mathewson2005-12-03
| | | | svn:r5493
* Use a switch statement and some mild refactoring to try to speed up ↵Nick Mathewson2005-12-03
| | | | | | circuit_expire_building svn:r5492
* cvs diff -u src/or/circuitlist.c | less almost never does what you want in C.Nick Mathewson2005-12-03
| | | | svn:r5491
* Expunge remaining places where we used "tree" to mean "associative array".Nick Mathewson2005-12-03
| | | | svn:r5490
* Shave off another 4.7%: remove a linear search when figuring out which ↵Nick Mathewson2005-12-03
| | | | | | circuits wanted us to open a given OR connection. svn:r5489
* Remove "tree" references from dns.Nick Mathewson2005-12-03
| | | | svn:r5488
* Make more arguments const; do not call hash tables trees.Nick Mathewson2005-12-03
| | | | svn:r5487
* Ive spent about 10 hours benchmarking permutations on our counter-mode ↵Nick Mathewson2005-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 Mathewson2005-12-01
| | | | svn:r5485
* assert_buf_ok was showing up in the profile; remove it from critical-path ↵Nick Mathewson2005-11-30
| | | | | | functions, since it hasnt triggered for ages. svn:r5479
* and its headerRoger Dingledine2005-11-30
| | | | svn:r5478
* remove another unused functionRoger Dingledine2005-11-30
| | | | svn:r5477
* Remove some functions that were around for hupping log files. We handleRoger Dingledine2005-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 Mathewson2005-11-30
| | | | svn:r5472
* remove some functions that are not used; #if0 out some files that are not ↵Nick Mathewson2005-11-30
| | | | | | likely to be used. svn:r5471
* Move connection_or_remove_from_identity_map() to connection_unlink, but dont ↵Nick Mathewson2005-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 Mathewson2005-11-30
| | | | | | Make it use a hashtable instead of a linear search. svn:r5469
* Move code to check for zero digests into util.cNick Mathewson2005-11-30
| | | | svn:r5468
* Funny. I could have sworn that it compiled.Nick Mathewson2005-11-29
| | | | svn:r5467
* Fix a bug weasel found: when we are an authority and somebody requests "all" ↵Nick Mathewson2005-11-29
| | | | | | statuses, cconsider regenerating our own. svn:r5466
* Make arguments to circuit_set_circid_orconn match the connection that is ↵Nick Mathewson2005-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 Mathewson2005-11-28
| | | | svn:r5464
* when returning a list of circuits, don't return a list of the sameRoger Dingledine2005-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 Dingledine2005-11-26
| | | | | | | (nick, do i have my libevent strerror dance moves correct?) svn:r5462
* clean up broken commentRoger Dingledine2005-11-26
| | | | svn:r5461
* "How about 'never'? Does 'never' work for you?"Nick Mathewson2005-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