aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* Fix bug 230: add a rollback function to reverse all changes since the last ↵Nick Mathewson2006-01-11
| | | | | | mark_logs_temp(), and move log initialization into the two-phase part of option setting. svn:r5803
* Add a (diabled by default) option in crypto.h to disable most of the ↵Nick Mathewson2006-01-10
| | | | | | interesting crypto-related changes made on 0.1.1.9. This will help hunt bug 234. svn:r5777
* Refuse to use RunAsDaemon when torrc is a relative path. Fixes bug 229.Nick Mathewson2006-01-10
| | | | svn:r5767
* check for integer overflows in more places, when adding elements toRoger Dingledine2006-01-02
| | | | | | | | smartlists. this could possibly prevent a buffer overflow on malicious huge inputs. i don't see any, but i haven't looked carefully. svn:r5695
* Clearner fix for timegm assert problem.Nick Mathewson2006-01-01
| | | | svn:r5690
* Fix assertion-trigger bug found by sjmurdochNick Mathewson2006-01-01
| | | | svn:r5689
* whitespace fixesRoger Dingledine2005-12-31
| | | | svn:r5682
* Choose directory servers from routerstatus list, not from routerinfo list. ↵Nick Mathewson2005-12-14
| | | | | | This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories. svn:r5586
* Make hashtables use a little less space on 64-bit architectures.Nick Mathewson2005-12-14
| | | | svn:r5585
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* crank the max line limit down to 150 chars.Roger Dingledine2005-12-10
| | | | svn:r5550
* util.c:1308: error: conflicting types for "is_internal_IP"Nick Mathewson2005-12-09
| | | | svn:r5545
* let is_internal_IP() know whether you're asking about an IPRoger Dingledine2005-12-09
| | | | | | | | address for connecting or an IP address for binding, because in the latter, 0.0.0.0 is a special case. svn:r5543
* Document CREATE_FAST better in the code. Move our key expansion algorithm ↵Nick Mathewson2005-12-08
| | | | | | into a separate function in crypto.c svn:r5530
* Do not free a constant string.Nick Mathewson2005-12-08
| | | | svn:r5527
* fix typo noticed by scrimblyRoger Dingledine2005-12-07
| | | | svn:r5522
* get rid of nick's crazy voodoo dh checking.Roger Dingledine2005-12-06
| | | | svn:r5518
* 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
* 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
* 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 code to check for zero digests into util.cNick Mathewson2005-11-30
| | | | svn:r5468
* HT_NEXT invalidates the last iterator; fix rmv-related segfault.Nick Mathewson2005-11-26
| | | | svn:r5458
* Bandaid workaround to make cvs not crash tor clients.Roger Dingledine2005-11-25
| | | | | | | | This is not a real fix. I didn't look at the rest of the code. Nick? svn:r5455
* Add functions to return number of elts in associative containersNick Mathewson2005-11-23
| | | | svn:r5448
* Replace balanced trees with hash tables: this should make stuff ↵Nick Mathewson2005-11-23
| | | | | | significantly faster. svn:r5441
* a smidgen more hint when we fail to seed the rngRoger Dingledine2005-11-21
| | | | svn:r5438
* Try to build with OpenSSL 0.9.6. Lets pay attention to see if anybody complains.Nick Mathewson2005-11-16
| | | | svn:r5398
* Loops without an increment step can suck, even on windows.Nick Mathewson2005-11-15
| | | | svn:r5376
* Make new logging stuff work on windows; fix a couple of windows typos.Nick Mathewson2005-11-15
| | | | svn:r5375
* Hm; looks like the callback business was unnecessary, since DHparams_dup() ↵Nick Mathewson2005-11-14
| | | | | | copies dh->length. svn:r5372
* Use a callback to set our DH parameters; set SSL_OP_SINGLE_DH_USE.Nick Mathewson2005-11-14
| | | | svn:r5371
* Oops. It looks like there *was* an easy way to make openssl do what we wanted.Nick Mathewson2005-11-14
| | | | svn:r5370
* When logging via syslog, include the pid whenever we provideRoger Dingledine2005-11-13
| | | | | | | a log entry. Suggested by Todd Fries. svn:r5366
* correct nick's commentRoger Dingledine2005-11-11
| | | | svn:r5360
* Note that much of check_dh_key is voodoo; make x in DH be only 320 bits for ↵Nick Mathewson2005-11-11
| | | | | | DH speed improvement: this wants auditing. [We have blessing from Ian on this.] (Note that DH in SSL is not yet affected.) svn:r5359
* using an unsigned int for something that requires at least 3 bytesRoger Dingledine2005-11-01
| | | | | | | makes me uncomfortable. svn:r5340
* tor_assert had a misleading commentRoger Dingledine2005-11-01
| | | | svn:r5338
* cleanups and a smidgen more docsRoger Dingledine2005-11-01
| | | | svn:r5335
* Call ERR_remove_state() on the main thread on shutdown,tooNick Mathewson2005-10-26
| | | | svn:r5322
* Per comments at the bottom of openssl/FAQ, call even more functions toNick Mathewson2005-10-25
| | | | | | | | clean up OpenSSL's toys when it's done playing. (Why isn't there an OpenSSL_free_everything() function?) svn:r5321
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* consistency is the hobgoblin of little armasRoger Dingledine2005-10-25
| | | | svn:r5316
* Switch remaining files to new log interface.Nick Mathewson2005-10-25
| | | | svn:r5315