summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2006-03-17normalize whitespace.Nick Mathewson
svn:r6173
2006-03-15add tor_strisprint() back in, this time with comments.Roger Dingledine
svn:r6170
2006-03-15and remove now-extraneous functionRoger Dingledine
svn:r6168
2006-03-13Use INLINE (which we define) instead of __inline (which is nonstandard) in ↵Nick Mathewson
ht.h. Resolves bug 270; maybe sun C will work now. svn:r6153
2006-03-13Fix bug in close_logs(): when we close and delete logs, remove them all from ↵Nick Mathewson
the global "logfiles" list. This should fix bug 222. svn:r6145
2006-03-13Instead of listing a set of compilers that prefers __func__ to __FUNCTION__, ↵Nick Mathewson
use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.] svn:r6144
2006-03-12More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson
svn:r6143
2006-03-11Use escaped() for remaining cases.Nick Mathewson
svn:r6117
2006-03-06fix infinite loopRoger Dingledine
svn:r6090
2006-03-05Add some functions to escape values from the network before sending them to ↵Nick Mathewson
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
2006-03-05Allow private:* in routerdescs; not generated yet (because older Tors do not ↵Nick Mathewson
understand it); needs testing. svn:r6086
2006-02-18Add function names to log_* on non-gccPeter Palfrader
svn:r6039
2006-02-18Finish log function renaming for non-GNUC systemsPeter Palfrader
svn:r6034
2006-02-13Start the process of converting warn to log_warn and so on.Roger Dingledine
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
2006-02-13try to fix bug with spurious "everything is broken" warningNick Mathewson
svn:r5994
2006-02-12Generate 18.0.0.0/8 address policy format in descs when we can; warn when ↵Nick Mathewson
the mask is not reducible to a bit-prefix. svn:r5991
2006-02-12and don't warn when it happens here either, unless the userRoger Dingledine
wants to hear it. svn:r5990
2006-02-12Correct a function comment. Nick: is this right?Roger Dingledine
svn:r5989
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-02-09and maybe some function documentation will help tooRoger Dingledine
svn:r5935
2006-02-03check for EADDRINUSE in a cross-platform way (unless i'm wrong)Roger Dingledine
svn:r5899
2006-02-02I believe this resolves bug 234, the mysterious crash on 0.1.1.9Roger Dingledine
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
2006-02-01Apply Matt Ghali's --with-syslog-facility patchPeter Palfrader
svn:r5883
2006-01-23On systems that don't have getrlimit (like windows), we were artificiallyRoger Dingledine
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
2006-01-22Split PARANOIA_B into B1 and B2.Nick Mathewson
svn:r5849
2006-01-17Split 0119_PARANOIA into 0119_PARANOIA_[ABC]. A is "this is suspicious, and ↵Nick Mathewson
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
2006-01-11Fix bug 230: add a rollback function to reverse all changes since the last ↵Nick Mathewson
mark_logs_temp(), and move log initialization into the two-phase part of option setting. svn:r5803
2006-01-10Add a (diabled by default) option in crypto.h to disable most of the ↵Nick Mathewson
interesting crypto-related changes made on 0.1.1.9. This will help hunt bug 234. svn:r5777
2006-01-10Refuse to use RunAsDaemon when torrc is a relative path. Fixes bug 229.Nick Mathewson
svn:r5767
2006-01-02check for integer overflows in more places, when adding elements toRoger Dingledine
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
2006-01-01Clearner fix for timegm assert problem.Nick Mathewson
svn:r5690
2006-01-01Fix assertion-trigger bug found by sjmurdochNick Mathewson
svn:r5689
2005-12-31whitespace fixesRoger Dingledine
svn:r5682
2005-12-14Choose directory servers from routerstatus list, not from routerinfo list. ↵Nick Mathewson
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
2005-12-14Make hashtables use a little less space on 64-bit architectures.Nick Mathewson
svn:r5585
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-10crank the max line limit down to 150 chars.Roger Dingledine
svn:r5550
2005-12-09util.c:1308: error: conflicting types for "is_internal_IP"Nick Mathewson
svn:r5545
2005-12-09let is_internal_IP() know whether you're asking about an IPRoger Dingledine
address for connecting or an IP address for binding, because in the latter, 0.0.0.0 is a special case. svn:r5543
2005-12-08Document CREATE_FAST better in the code. Move our key expansion algorithm ↵Nick Mathewson
into a separate function in crypto.c svn:r5530
2005-12-08Do not free a constant string.Nick Mathewson
svn:r5527
2005-12-07fix typo noticed by scrimblyRoger Dingledine
svn:r5522
2005-12-06get rid of nick's crazy voodoo dh checking.Roger Dingledine
svn:r5518
2005-12-05Remove superfluous strdupPeter Palfrader
svn:r5503
2005-12-05Also print usernames, not just numeric UIDs when we tell the user that his ↵Peter Palfrader
data directory has the wrong owner svn:r5502
2005-12-05give a hint when people are running tor as the wrong user, rather thanRoger Dingledine
telling them to start chowning random directories. svn:r5500
2005-12-03Make more arguments const; do not call hash tables trees.Nick Mathewson
svn:r5487
2005-12-01Ive spent about 10 hours benchmarking permutations on our counter-mode ↵Nick Mathewson
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
2005-11-30and its headerRoger Dingledine
svn:r5478
2005-11-30remove another unused functionRoger Dingledine
svn:r5477