aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* "" is not a plausible address for addressmaps.Roger Dingledine2006-04-03
| | | | svn:r6299
* Avoid warnings about machine/limits.h on Debian GNU/kFreeBSDPeter Palfrader2006-03-29
| | | | svn:r6271
* clean up the traces from tracking the 0.1.1.9-alpha stack-smashing bug.Roger Dingledine2006-03-26
| | | | svn:r6240
* failing in a support function is a warn, not an err.Roger Dingledine2006-03-26
| | | | svn:r6239
* Check return value from GetVersionEx (even though the MSDN example doesnt) ↵Nick Mathewson2006-03-24
| | | | | | and zero out the LPOSVERSIONINFOEX struct before getting the version. This may fix the "johnboy" [major=-858993460,minor=-858993460] problem. svn:r6233
* Fix memory leak when uncompressing concatenated zlib streams. Unit tests and ↵Nick Mathewson2006-03-21
| | | | | | tor client work; looks ok. svn:r6211
* ok, commenting that out broke things real bad.Roger Dingledine2006-03-20
| | | | | | | leave it, and accept the memory leak for now. svn:r6201
* Resolve a memory leak on clients. This disables someRoger Dingledine2006-03-20
| | | | | | | functionality that we might still want. Nick? svn:r6200
* normalize whitespace.Nick Mathewson2006-03-17
| | | | svn:r6173
* add tor_strisprint() back in, this time with comments.Roger Dingledine2006-03-15
| | | | svn:r6170
* and remove now-extraneous functionRoger Dingledine2006-03-15
| | | | svn:r6168
* Use INLINE (which we define) instead of __inline (which is nonstandard) in ↵Nick Mathewson2006-03-13
| | | | | | ht.h. Resolves bug 270; maybe sun C will work now. svn:r6153
* Fix bug in close_logs(): when we close and delete logs, remove them all from ↵Nick Mathewson2006-03-13
| | | | | | the global "logfiles" list. This should fix bug 222. svn:r6145
* Instead of listing a set of compilers that prefers __func__ to __FUNCTION__, ↵Nick Mathewson2006-03-13
| | | | | | use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.] svn:r6144
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143
* Use escaped() for remaining cases.Nick Mathewson2006-03-11
| | | | svn:r6117
* fix infinite loopRoger Dingledine2006-03-06
| | | | svn:r6090
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* Allow private:* in routerdescs; not generated yet (because older Tors do not ↵Nick Mathewson2006-03-05
| | | | | | understand it); needs testing. svn:r6086
* 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