aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* bump to 0.2.3.15-alphaRoger Dingledine2012-04-30
|
* fold in new changes entriesRoger Dingledine2012-04-30
|
* Remove __ from HAVE_EXTERN_ENVIRON_DECLARED__Nick Mathewson2012-04-30
| | | | | | | | | | | | | | I think that the trailing __ got added in false analogy to HAVE_MACRO__func__, HAVE_MACRO__FUNC__, and HAVE_MACRO__FUNCTION__. But those macros actually indicate the presence of __func__, __FUNC__, and __FUNCTION__ respectively. The __ at the end of HAVE_EXTERN_ENVIRON_DECLARED would only be appropriate if the environ were declared__, whatever that means. (As a side-note, HAVE_MACRO__func__ and so on should probably be renamed HAVE_MACRO___func__ and so on. But that can wait.) This is an identifier renaming only.
* Fix headers in test for whether environ is declared in stdlib/unistdNick Mathewson2012-04-30
| | | | | | | | | We'd had our configure.in test include unistd.h unconditionally, which would fail on Windows/mingw, even though environ _was_ declared there. Fix for 5704; bugfix on 0.2.3.13-alpha. Thanks to Erinn for finding this and rransom for figuring out the problem.
* Several mingw/msvc/cross-compilation fixesNick Mathewson2012-04-26
| | | | | | | | | | | | | They boil down to: - MS_WINDOWS is dead and replaced with _WIN32, but we let a few instances creep in when we merged Esteban's tests. - Capitalizing windows header names confuses mingw. - #ifdef 0 ain't C. - One unit test wasn't compiled on windows, but was being listed anyway. - One unit test was checking for the wrong value. Gisle Vanem found and fixed the latter 3 issues.
* Merge remote-tracking branch 'arma/bug5623'Nick Mathewson2012-04-24
|\
| * be willing to use nodes in excludeexitnodes as directory mirrorsRoger Dingledine2012-04-24
| | | | | | | | fixes bug 5623.
* | peel off some unnecessary parensRoger Dingledine2012-04-24
| |
* | Merge remote-tracking branch 'nickm/bug2497'Roger Dingledine2012-04-24
|\ \
| * | Twiddle ROUTER_{MAX_COSMETIC_TIME_DIFFERENCE,MAX_AGE_TO_PUBLISH}Nick Mathewson2012-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is ticket 2479. Roger's original explanation was: We have a series of bugs where relays publish a descriptor within 12 hours of their last descriptor, but the authorities drop it because it's not different "enough" from the last one and it's too close to the last one. The original goal of this idea was to a) reduce the number of new descriptors authorities accept (and thus have to store) and b) reduce the total number of descriptors that clients and mirrors fetch. It's a defense against bugs where relays publish a new descriptor every minute. Now that we're putting out one consensus per hour, we're doing better at the total damage that can be caused by 'b'. There are broader-scale design changes that would help here, and we've had a trac entry open for years about how relays should recognize that they're not in the consensus, or recognize when their publish failed, and republish sooner. In the mean time, I think we should change some of the parameters to make the problem less painful.
* | | Merge remote-tracking branch 'public/bug5103'Nick Mathewson2012-04-24
|\ \ \
| * | | Fix --enable-static-tor on OpenBSDNick Mathewson2012-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we'd been using "we have clock_gettime()" as a proxy for "we need -lrt to link a static libevent". But that's not really accurate: we should only add -lrt if searching for clock_gettime function adds -lrt to our libraries.
* | | | Merge remote-tracking branch 'public/bug4572'Nick Mathewson2012-04-24
|\ \ \ \
| * | | | Obsolete GiveGuardFlagTo_CVE_2011_2768_VulnerableRelaysNick Mathewson2012-04-11
| | | | | | | | | | | | | | | | | | | | Closes ticket 4572.
* | | | | Add a check_no_tls_errors() to read_to_buf_tlsArturo Filastò2012-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #4528 "read_to_buf_tls(): Inconsistency in code". This check was added back in 0.1.0.3-rc, but somehow we forgot to leave it in when we refactored read_to_buf_tls in 0.1.0.5-rc. (patch by Arturo; commit message and changes file by nickm)
* | | | | Merge branch 'bug4438-v2'Nick Mathewson2012-04-24
|\ \ \ \ \
| * | | | | Tweak the bug4438 fix a little: different check, better logNick Mathewson2012-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of checking for 'rejected' and calling everything else okay, let's check for 'outdated' and call everythign else a problem. This way we don't risk missing future errors so much. When logging a message that _looks_ like an error message at info, we should mention that it isn't really a problem.
| * | | | | Say that bug4438 was a fix on 0.2.1.9-alpha.Nick Mathewson2012-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, it was a fix on 33e2053ebca5d, where we introduced the WRA_* and ROUTER_* codes for dirserv_add_descriptor. Previously, we had checked for a _negative_ return from dirserv_add_descriptor, which meant "rejected". An insufficiently new descriptor would give a 0-valued return. But when we switched from numbers to enums, we got this check wrong and had init_keys() give an error whenever the descriptor wasn't accepted.
| * | | | | Don't exit on dirauths for some config transitionsSebastian Hahn2011-11-08
| | | | | |
* | | | | | Merge remote-tracking branch 'public/bug5112'Nick Mathewson2012-04-24
|\ \ \ \ \ \
| * | | | | | If SOCK_CLOEXEC and friends fail, fall back to regular socket() callsNick Mathewson2012-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 0.2.3.1-alpha, we've supported the Linux extensions to socket(), open(), socketpair(), and accept() that enable us to create an fd and make it close-on-exec with a single syscall. This not only saves us a syscall (big deal), but makes us less vulnerable to race conditions where we open a socket and then exec before we can make it close-on-exec. But these extensions are not supported on all Linuxes: They were added between 2.6.23 or so and 2.6.28 or so. If you were to build your Tor against a recent Linux's kernel headers, and then run it with a older kernel, you would find yourselve unable to open sockets. Ouch! The solution here is that, when one of these syscalls fails with EINVAL, we should try again in the portable way. This adds an extra syscall in the case where we built with new headers and are running with old ones, but it will at least allow Tor to work. Fixes bug 5112; bugfix on 0.2.3.1-alpha.
* | | | | | | Merge remote-tracking branch 'public/bug5537'Nick Mathewson2012-04-24
|\ \ \ \ \ \ \
| * | | | | | | We allow IPv6 connections, don't use sockaddr_in with getsocknameNick Mathewson2012-03-30
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes client_check_address_changed to work better with IPv6 Tor clients, and prevents them from spewing errors. Fix for ticket 5537.
* | | | | | | Add changes file for miniupnpc 1.6 fixNick Mathewson2012-04-24
| | | | | | |
* | | | | | | Fix compile error against miniupnpc-1.6 when --enable-upnpAnthony G. Basile2012-04-24
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bump from miniupnpc-1.5 to 1.6 changes the definition of two functions used by tor-fw-helper-upnp.c, upnpDiscover() and UPNP_AddPortMapping(). This patch addresses this and adds a check in configure.in for backwards compatibility. Thanks to Nickolay Kolchin-Semyonov for some hints. X-Tor-Bug-URL: https://trac.torproject.org/projects/tor/ticket/5434 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376621 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* | | | | | bump to 0.2.3.14-alpha-devRoger Dingledine2012-04-23
| | | | | |
* | | | | | give 0.2.3.14-alpha a blurbRoger Dingledine2012-04-23
| | | | | |
* | | | | | bump to 0.2.3.14-alphaRoger Dingledine2012-04-23
| | | | | |
* | | | | | update the torrc.sample timestamp, and clarify socksport 0Roger Dingledine2012-04-23
| | | | | |
* | | | | | fold in remaining changesRoger Dingledine2012-04-23
| | | | | |
* | | | | | Merge remote-tracking branch 'nickm/bug5438'Roger Dingledine2012-04-23
|\ \ \ \ \ \
| * | | | | | Remove the deprecated FooListenAddress options from torrc.sample.inNick Mathewson2012-03-30
| |/ / / / / | | | | | | | | | | | | | | | | | | Bug 5438.
* | | | | | further changelog cleanupsRoger Dingledine2012-04-23
| | | | | |
* | | | | | Don't reset intro-point creation rate-limiting timerRobert Ransom2012-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we would reset it at the drop of a hat -- every time a second passes without any of the intro-point circs already launched for the service failing. Fixes bug 4607.
* | | | | | Merge remote-tracking branch 'public/bug5647_cleanup'Nick Mathewson2012-04-20
|\ \ \ \ \ \
| * | | | | | Make base64_decode in rend_parse_client_keys more foolproofNick Mathewson2012-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In general, whenever we can, we should be doing base64_decode(buf, sizeof(buf), s, strlen(s)), and not base_64_decode(buf, expr1, s, expr2) where we hope that expr1 is a good name for the size of buf and expr2 is a good formula for the length of the base64 expression in s.
* | | | | | | start to fold in changelog entriesRoger Dingledine2012-04-19
| | | | | | |
* | | | | | | Merge remote-tracking branch 'asn-mytor/bug5601'Nick Mathewson2012-04-19
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Trivially refactor validate_pluggable_transports_config().George Kadianakis2012-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the ugly if statement. * constify 'bridge_info_t' in SMARTLIST_FOREACH_BEGIN.
| * | | | | | Improve the message of validate_pluggable_transports_config().George Kadianakis2012-04-12
| | |_|_|/ / | |/| | | |
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-04-19
|\ \ \ \ \ \
| * | | | | | Fix a log-uninitialized-buffer bug.Nick Mathewson2012-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for 5647; bugfix on 0.2.1.5-alpha.
* | | | | | | initial round of changelog stanza cleanupRoger Dingledine2012-04-19
| | | | | | |
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-04-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/rendservice.c Conflicts were due to new NON_ANONYMOUS_MODE_ENABLED tor2web code; I think I resolved them correctly.
| * | | | | | rend_service_introduce(): do protocol violation check before anything else.George Kadianakis2012-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (Cherry-picked from 6ba13e4 by nickm)
* | | | | | | Remove needless check for a buffer that could not be NULL.Nick Mathewson2012-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes coverity CID 508: coverity scan doesn't like checking a variable for non-NULL after it has been definitely dereferenced. This should take us back down to zero coverity issues.
* | | | | | | Don't fetch v2 networkstatuses from caches, even if auths are downNick Mathewson2012-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for 5635; fix on 0.2.2.26-beta, where caches stopped fetching this information.
* | | | | | | Document unit of bandwidth related options in sample torrc.Peter Palfrader2012-04-13
| |/ / / / / |/| | | | |
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-04-11
|\| | | | |
| * | | | | Merge branch 'bug5593' into maint-0.2.2Nick Mathewson2012-04-11
| |\ \ \ \ \