summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | | | Never include pthread.h when building for Windows.Nick Mathewson2011-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, we never use pthreads, since it doesn't usually exist, and when it does it tends to be a little weirdly-behaved. But some mingw installations have a pthreads installed, so autoconf detects pthread.h and tells us about it. This would make us include pthread.h, which could make for trouble when the iffy pthread.h tried to include config.h. This patch changes compat.h so that we never include pthread.h on Windows. Fixes bug 2313; bugfix on 0.1.0.1-rc.
* | | | | | | Merge remote branch 'rransom/bug2327-v2'Nick Mathewson2011-01-03
|\ \ \ \ \ \ \
| * | | | | | | Don't throw away incomplete SOCKS proxy responses.Robert Ransom2010-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced in 9796b9bfa6a757780d6185547e4baf739c53cdac.
| * | | | | | | Use evbuffer_pullup properly in fetch_from_evbuffer_socks_client.Robert Ransom2010-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | evbuffer_pullup does nothing and returns NULL if the caller asks it to linearize more data than the buffer contains. Introduced in 9796b9bfa6a757780d6185547e4baf739c53cdac. Reported by piebeer; fixed with help from doors.
* | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge remote branch 'sebastian/bug2314' into maint-0.2.2Nick Mathewson2011-01-03
| |\ \ \ \ \ \ \
| | * | | | | | | Fix compile wanrings revealed by gcc 4.5 on mingwSebastian Hahn2010-12-27
| | | | | | | | |
* | | | | | | | | Tweak GETINFO process/* code: no need to print an int as anything other than %dNick Mathewson2011-01-03
| | | | | | | | |
* | | | | | | | | Implementing getinfo options for the pid, uid, user, and descriptor limit as ↵Damian Johnson2011-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | per proposal 173.
* | | | | | | | | Add a note about _compare_int not doing overflow rightNick Mathewson2011-01-03
| | | | | | | | |
* | | | | | | | | Fix a wide line in rephist.cNick Mathewson2011-01-03
| | | | | | | | |
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Fix a function formatting warning in rephist.cNick Mathewson2011-01-03
| | | | | | | | |
| * | | | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-01-03
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/routerparse.c
| | * | | | | | | fix whitespace issuesNick Mathewson2011-01-03
| | | | | | | | |
* | | | | | | | | Bump copyright statements to 2011 (master)Nick Mathewson2011-01-03
| | | | | | | | |
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | / / / / / | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Bump copyright statements to 2011 (0.2.2)Nick Mathewson2011-01-03
| | | | | | | |
| * | | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-01-03
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | / / / / / | | |/ / / / / | |/| | | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| | * | | | | Bump copyright statements to 2011Nick Mathewson2011-01-03
| | |/ / / /
* | | | | | Disable stats requiring geoip info if we have noneSebastian Hahn2010-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In other parts of the code we will otherwise attempt to collect these statistics, and that will lead to crashes.
* | | | | | Correct a broken faq link in the INSTALL fileRoger Dingledine2010-12-22
| | | | | |
* | | | | | Merge remote branch 'karsten/dirreq-stats-default'Nick Mathewson2010-12-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c
| * | | | | | Turn on directory request statistics by default.Karsten Loesing2010-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default values for collecting directory request statistics and inlcuding them in extra-info descriptors to 1. Don't break if we are configured to collect directory request or entry statistics and don't have a GeoIP database. Instead, print out a notice and skip initializing the affected statistics code.
* | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-12-21
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge remote branch 'public/bug2060' into maint-0.2.2Nick Mathewson2010-12-21
| |\ \ \ \ \ \
| | * | | | | | Disable DirPort when BridgeRelay is setNick Mathewson2010-11-22
| | | | | | | |
* | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-12-21
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge remote branch 'rransom/bug2190_the_hard_way' into maint-0.2.2Nick Mathewson2010-12-21
| |\ \ \ \ \ \ \
| | * | | | | | | Only add each log message to pending_cb_messages once.Robert Ransom2010-12-11
| | | | | | | | |
| | * | | | | | | Don't call flush_pending_log_callbacks while logging LD_NOCB messages.Robert Ransom2010-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by boboper.
| | * | | | | | | Better fix for 2190: defer libevent->controller messages instead of droppingNick Mathewson2010-11-19
| | | | | | | | |
| | * | | | | | | Do not send Libevent log messages to a controller.Nick Mathewson2010-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing so could make Libevent call Libevent from inside a Libevent logging call, which is a recipe for reentrant confusion and hard-to-debug crashes. This would especially hurt if Libevent debug-level logging is enabled AND the user has a controller watching for low-severity log messages. Fix bug 2190; fix on 0.1.0.2-rc.
| * | | | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2010-12-21
| |\ \ \ \ \ \ \ \ | | | |_|_|/ / / / | | |/| | | | | |
| | * | | | | | | Merge remote branch 'public/bug2190_021' into maint-0.2.1Nick Mathewson2010-12-21
| | |\ \ \ \ \ \ \
| | | * | | | | | | Do not send Libevent log messages to a controller (0.2.1 backport)Nick Mathewson2010-11-19
| | | | |_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing so could make Libevent call Libevent from inside a Libevent logging call, which is a recipe for reentrant confusion and hard-to-debug crashes. This would especially hurt if Libevent debug-level logging is enabled AND the user has a controller watching for low-severity log messages. Fix bug 2190; fix on 0.1.0.2-rc.
* | | | | | | | | remove duplicate (wrong) changelog entryRoger Dingledine2010-12-20
| | | | | | | | |
* | | | | | | | | forward-port the two recent changelog entriesRoger Dingledine2010-12-20
| | | | | | | | |
* | | | | | | | | Merge branch 'maint-0.2.2'Roger Dingledine2010-12-19
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine2010-12-16
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | put 0.2.1.28 release notes in place tooRoger Dingledine2010-12-16
| | | | | | | | |
| * | | | | | | | Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine2010-12-16
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | Merge commit 'nickm/fix_security_bug_021' into maint-0.2.1Roger Dingledine2010-12-16
| | |\ \ \ \ \ \ \
| * | \ \ \ \ \ \ \ Merge commit 'nickm/fix_security_bug_022' into maint-0.2.2Roger Dingledine2010-12-16
| |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Merge remote branch fix_security_bug_021 into fix_security_bug_022Nick Mathewson2010-12-15
| | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/memarea.c src/or/or.h src/or/rendclient.c
| | | * | | | | | | | Add a changelog entryNick Mathewson2010-12-15
| | | | | | | | | | |
| | | * | | | | | | | Make payloads into uint8_t.Nick Mathewson2010-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will avoid some signed/unsigned assignment-related bugs.
| | | * | | | | | | | Have all of our allocation functions and a few others check for underflowNick Mathewson2010-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's all too easy in C to convert an unsigned value to a signed one, which will (on all modern computers) give you a huge signed value. If you have a size_t value of size greater than SSIZE_T_MAX, that is way likelier to be an underflow than it is to be an actual request for more than 2gb of memory in one go. (There's nothing in Tor that should be trying to allocate >2gb chunks.)
| | | * | | | | | | | Base SIZE_T_CEILING on SSIZE_T_MAX.Nick Mathewson2010-12-13
| | | | | | | | | | |
* | | | | | | | | | | Turn on epoll changelists with libevent 2.0.9-rc and laterNick Mathewson2010-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Libevent 2.0 has a "changelist" feature that avoids making redundant syscalls if we wind up doing a lot of event_add/event_del operations on the same fd in a row. Unfortunately, due to a weird design choice in Linux, it doesn't work right with epoll when multiple fds refer to the same socket (e.g., one is a dup() of the other). We don't dup() anything we give to Libevent, though, so it is safe for us to explicitly turn this feature on.