aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* Add function names to log_* on non-gccPeter Palfrader2006-02-18
| | | | svn:r6039
* Finish log function renaming for non-GNUC systemsPeter Palfrader2006-02-18
| | | | svn:r6034
* Start the process of converting warn to log_warn and so on.Roger Dingledine2006-02-13
| | | | | | | | | This is needed because Windows already has an err() that we can't clobber. And we need to be able to make the log functions a macro so we can print the function's name in the log entry. svn:r6000
* try to fix bug with spurious "everything is broken" warningNick Mathewson2006-02-13
| | | | svn:r5994
* Generate 18.0.0.0/8 address policy format in descs when we can; warn when ↵Nick Mathewson2006-02-12
| | | | | | the mask is not reducible to a bit-prefix. svn:r5991
* and don't warn when it happens here either, unless the userRoger Dingledine2006-02-12
| | | | | | | wants to hear it. svn:r5990
* Correct a function comment. Nick: is this right?Roger Dingledine2006-02-12
| | | | svn:r5989
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* and maybe some function documentation will help tooRoger Dingledine2006-02-09
| | | | svn:r5935
* check for EADDRINUSE in a cross-platform way (unless i'm wrong)Roger Dingledine2006-02-03
| | | | svn:r5899
* I believe this resolves bug 234, the mysterious crash on 0.1.1.9Roger Dingledine2006-02-02
| | | | | | | | and later servers. I'm not sure yet, but better to have it in CVS while we speculate that it's the fix. svn:r5895
* Apply Matt Ghali's --with-syslog-facility patchPeter Palfrader2006-02-01
| | | | svn:r5883
* On systems that don't have getrlimit (like windows), we were artificiallyRoger Dingledine2006-01-23
| | | | | | | | | | | constraining ourselves to a max of 1024 connections. Now if there is no getrlimit, just assume that we can handle the whole 15000 connections. The better answer is to find a getrlimit equivalent on Windows, but hey, one step at a time. svn:r5854
* Split PARANOIA_B into B1 and B2.Nick Mathewson2006-01-22
| | | | svn:r5849
* Split 0119_PARANOIA into 0119_PARANOIA_[ABC]. A is "this is suspicious, and ↵Nick Mathewson2006-01-17
| | | | | | we have not tried running without this yet". B is "this is suspicious, but the last time we tested, it was okay." C is "How could this possibly be the cause?" svn:r5840
* 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