aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Expand)AuthorAge
* Merge branch 'tor-fw-squashed2'•••Conflicts: src/common/util.c Nick Mathewson2010-09-30
|\
| * 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==0•••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. Nick Mathewson2010-09-28
* | 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 review•••Thanks to Sebastian for his code-review of the bufferevents patch series.x Nick Mathewson2010-09-27
| * Some bufferevents related fixes and pointers for nickmSebastian Hahn2010-09-27
| * Convert bufferevents to use rate-limiting.•••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. Nick Mathewson2010-09-27
| * Documentation for a few bufferevent functions.Nick Mathewson2010-09-27
| * Get SSL connections and linked connections working with bufferevents.•••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. Nick Mathewson2010-09-27
| * Teach read_event/write_event manipulators about bufferevents.•••Add an --enable-bufferevents config switch. Nick Mathewson2010-09-27
* | 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 libraries•••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. Nick Mathewson2010-09-21
* | 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 logic•••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. Nick Mathewson2010-09-23
| * 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.•••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. Nick Mathewson2010-08-20
* | 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 places•••Incidentally fixes bug 1042. Nick Mathewson2010-08-18
|/
* Merge commit 'sebastian/mlockall'Nick Mathewson2010-08-03
|\
| * Remove the request for current memlock limits•••The getrlimit call didn't have any effect. Also make some logging less verbose on default log level, and refactor a bit. Sebastian Hahn2010-02-28
* | 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.h•••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/; }' Nick Mathewson2010-07-09
* | Merge remote branch 'public/rand_double2'Nick Mathewson2010-06-29
|\ \
| * | Make cbt_generate_sample use crypto_rand_double()•••Possible workaround for bug 1139, if anybody cares. Nick Mathewson2010-06-25
| * | 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.•••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. Nick Mathewson2010-06-22
* | | | Fix a compile error when building with Libevent before 1.4.5-stable•••Older versions of Libevent forgot to declare enough function arguments constant. Nick Mathewson2010-06-25
* | | | Use Libevent 2.0's periodic timers where available.•••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. Nick Mathewson2010-06-25
* | | | Log an error if openssl fails to copy a key for us•••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. Nick Mathewson2010-06-22
| |/ / |/| |
* | | Save a couple characters' allocation in esc_for_logFlorian Zumbiehl2010-06-14
* | | Reinstate warning when HOME isn't set.•••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. Nick Mathewson2010-06-07
* | | Treat unset $HOME like empty $HOME•••This means Tor no longer dies when it doesn't have a $HOME. Sebastian Hahn2010-06-07
* | | Make pointer types correct in WinCE patchNick Mathewson2010-05-24