aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* Merge branch 'tor-fw-squashed2'Nick Mathewson2010-09-30
|\ | | | | | | | | Conflicts: src/common/util.c
| * Fix space and formatting issuesNick Mathewson2010-09-30
| |
| * #if-out the fw-helper code in util.c when building on windowsNick Mathewson2010-09-30
| |
| * Start tor-fw-helper in the background, and log whatever it outputsSteven Murdoch2010-09-30
| |
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-09-30
|\ \ | |/ |/|
| * Fix check-spacesSebastian Hahn2010-09-30
| |
* | make c612ddee compile with old libeventsRoger Dingledine2010-09-29
| |
* | Autodetect the number of CPUs when possible if NumCPUs==0Nick Mathewson2010-09-28
| | | | | | | | | | | | | | This is needed for IOCP, since telling the IOCP backend about all your CPUs is a good idea. It'll also come in handy with asn's multithreaded crypto stuff, and for people who run servers without reading the manual.
* | Add a new option to enable/disable IOCP supportNick Mathewson2010-09-28
| |
* | Merge branch 'bufferevent5'Nick Mathewson2010-09-27
|\ \ | |/ |/|
| * Make the bufferevent code use the renegotiation-reenabling hackNick Mathewson2010-09-27
| |
| * Always defer bufferevent_openssl callbacks to avoid reentrant invocationsNick Mathewson2010-09-27
| |
| * Fix whitespace in bufferevents branchNick Mathewson2010-09-27
| |
| * Document and/or fix stuff found by Sebastian in code reviewNick Mathewson2010-09-27
| | | | | | | | Thanks to Sebastian for his code-review of the bufferevents patch series.x
| * Some bufferevents related fixes and pointers for nickmSebastian Hahn2010-09-27
| |
| * Convert bufferevents to use rate-limiting.Nick Mathewson2010-09-27
| | | | | | | | | | | | | | | | | | | | | | This requires the latest Git version of Libevent as of 24 March 2010. In the future, we'll just say it requires Libevent 2.0.5-alpha or later. Since Libevent doesn't yet support hierarchical rate limit groups, there isn't yet support for tracking relayed-bytes separately when using the bufferevent system. If a future version does add support for hierarchical buckets, we can add that back in.
| * Documentation for a few bufferevent functions.Nick Mathewson2010-09-27
| |
| * Get SSL connections and linked connections working with bufferevents.Nick Mathewson2010-09-27
| | | | | | | | | | Clients are now verified to work and build circuits correctly. There are still a few warnings given here and there that I need to look into.
| * Teach read_event/write_event manipulators about bufferevents.Nick Mathewson2010-09-27
| | | | | | | | Add an --enable-bufferevents config switch.
* | Merge remote branch 'public/bug1954' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ | |/ |/|
| * Consistency issues in load_windows_system_library patch. Thanks SebastianNick Mathewson2010-09-24
| |
| * New function to load windows system librariesNick Mathewson2010-09-21
| | | | | | | | | | | | This function uses GetSystemDirectory() to make sure we load the version of the library from c:\windows\system32 (or local equivalent) rather than whatever version lives in the cwd.
* | Merge remote branch 'sebastian/continuation'Nick Mathewson2010-09-24
|\ \ | |/ |/|
| * Note that the torrc format doesn't need nl at endSebastian Hahn2010-09-24
| |
| * Tweak continuation-and-comment logicNick Mathewson2010-09-23
| | | | | | | | | | I think there was a read-off-the-end-of-the-buffer bug that I fixed. At least I added some good comments, I hope.
| * Allow comments for multi-line torrc optionsSebastian Hahn2010-09-11
| |
| * Support mutli-line torrc options via the usual backslash syntaxNick Mathewson2010-09-10
| |
* | Add a simple integer-ceiling-division macro before we get it wrongNick Mathewson2010-09-14
|/
* Merge remote branch 'public/win_unicode_fixes'Nick Mathewson2010-09-06
|\
| * Make the windows build succeed with or without -DUNICODE enabled.Nick Mathewson2010-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This should keep WinCE working (unicode always-on) and get Win98 working again (unicode never-on). There are two places where we explicitly use ASCII-only APIs, still: in ntmain.c and in the unit tests. This patch also fixes a bug in windoes tor_listdir that would cause the first file to be listed an arbitrary number of times that was also introduced with WinCE support. Should fix bug 1797.
* | Fix some issues in rate-limiting noticed by SebastianNick Mathewson2010-08-31
| |
* | Add a generic rate-limited log mechanism, and use it in a few placesNick Mathewson2010-08-18
|/ | | | Incidentally fixes bug 1042.
* Merge commit 'sebastian/mlockall'Nick Mathewson2010-08-03
|\
| * Remove the request for current memlock limitsSebastian Hahn2010-02-28
| | | | | | | | | | The getrlimit call didn't have any effect. Also make some logging less verbose on default log level, and refactor a bit.
* | whitespace fixSebastian Hahn2010-07-27
| |
* | Fix compilation with mingw and OpenSSL 0.9.8m+mingw-san2010-07-26
| |
* | Make sure we don't warn for libevent versions like 1.4.14b-stableSebastian Hahn2010-07-26
| |
* | Rename log.h to torlog.hNick Mathewson2010-07-09
| | | | | | | | | | | | | | | | | | | | This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
* | Merge remote branch 'public/rand_double2'Nick Mathewson2010-06-29
|\ \
| * | Make cbt_generate_sample use crypto_rand_double()Nick Mathewson2010-06-25
| | | | | | | | | | | | Possible workaround for bug 1139, if anybody cares.
| * | Add a function to return a double in range [0,1).Nick Mathewson2010-06-22
| | |
* | | Merge branch 'bug1526-v2'Nick Mathewson2010-06-25
|\ \ \
| * | | Fix zlib macro brokenness on osx with zlib 1.2.4 and higher.Nick Mathewson2010-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the code: zlib 1.2.4 and 1.2.5 do some "clever" things with macros. Instead of saying "(defined(FOO) ? FOO : 0)" they like to say "FOO-0", on the theory that nobody will care if the compile outputs a no-such-identifier warning. Sorry, but we like -Werror over here, so I guess we need to define these. I hope that zlib 1.2.6 doesn't break these too. Possible fix for bug 1526.
* | | | Fix a compile error when building with Libevent before 1.4.5-stableNick Mathewson2010-06-25
| | | | | | | | | | | | | | | | | | | | Older versions of Libevent forgot to declare enough function arguments constant.
* | | | Use Libevent 2.0's periodic timers where available.Nick Mathewson2010-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later.
* | | | Log an error if openssl fails to copy a key for usNick Mathewson2010-06-22
| |/ / |/| | | | | | | | | | | | | | | | | This should never happen unless openssl is buggy or some of our assumptions are deeply wrong, but one of those might have been the cause of the not-yet-reproducible bug 1209. If it ever happens again, let's get some info we can use.
* | | Save a couple characters' allocation in esc_for_logFlorian Zumbiehl2010-06-14
| | |
* | | Reinstate warning when HOME isn't set.Nick Mathewson2010-06-07
| | | | | | | | | | | | | | | | | | | | | Having ~/.tor expand into /.tor is, after all, almost certainly not what the user wanted, and it deserves a warning message. Also, convert a guess-and-malloc-and-sprintf triple into an asprintf.
* | | Treat unset $HOME like empty $HOMESebastian Hahn2010-06-07
| | | | | | | | | | | | This means Tor no longer dies when it doesn't have a $HOME.
* | | Make pointer types correct in WinCE patchNick Mathewson2010-05-24
| | |