aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* if we're a server and some peer has a broken tls certificate, don'tRoger Dingledine2006-05-26
| | | | | | | shout about it unless we want to hear about protocol violations. svn:r6507
* resolve an unused variableRoger Dingledine2006-05-26
| | | | svn:r6503
* Stop being picky about what the arguments to mapaddress look like.Roger Dingledine2006-05-25
| | | | | | | | | we were refusing names that had $ in them, which people who specify $key.exit will be sad about. There are likely other examples. If people can think of reasons why we should be picky, let me know. svn:r6496
* Stop initializing the hardware accelerator engines simply becauseRoger Dingledine2006-05-24
| | | | | | | we overloaded the meaning of the argument to crypto_global_init(). svn:r6490
* Claim a commonname of Tor, rather than TOR, in tls handshakes.Roger Dingledine2006-05-24
| | | | | | | Maybe this will help us win the war of names. svn:r6489
* Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is ↵Nick Mathewson2006-05-23
| | | | | | often way way slower than doing the right thing. Backport candidate. svn:r6473
* All these headers we get via torint.hPeter Palfrader2006-05-10
| | | | svn:r6452
* mainline branch. Remove some more dead XXXs.Nick Mathewson2006-04-18
| | | | svn:r6401
* Remove DER64 functions in trunk: they will never be used again unless the ↵Nick Mathewson2006-04-10
| | | | | | directory authorities switch back to 0.0.9tooearly. svn:r6376
* "" 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