]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 25 Jun 2015 15:14:44 +0000 (11:14 -0400)]
Merge remote-tracking branch 'public/bug16013_025' into maint-0.2.6
Nick Mathewson [Thu, 25 Jun 2015 15:10:43 +0000 (11:10 -0400)]
Avoid crashing on busy/NEWNYM+hidden service clients
When we ran out of intro points for a hidden service (which could
happen on a newnym), we would change the connection's state back to
"waiting for hidden service descriptor." But this would make an
assertion fail if we went on to call circuit_get_open_circ_or_launch
again.
This fixes bug 16013; I believe the bug was introduced in
38be533c69417aacf28cedec1c3bae808ce29f4 , where we made it possible for
circuit_get_open_circ_or_launch() to change the connection's state.
Nick Mathewson [Thu, 25 Jun 2015 14:40:58 +0000 (10:40 -0400)]
Merge remote-tracking branch 'public/bug16400_026' into maint-0.2.6
Nick Mathewson [Mon, 22 Jun 2015 17:51:56 +0000 (13:51 -0400)]
Repair breakage in early-error case of microdesc parsing
When I fixed #11243, I made it so we would take the digest of a
descriptor before tokenizing it, so we could desist from download
attempts if parsing failed. But when I did that, I didn't remove an
assertion that the descriptor began with "onion-key". Usually, this
was enforced by "find_start_of_next_microdescriptor", but when
find_start_of_next_microdescriptor returned NULL, the assertion was
triggered.
Fixes bug 16400. Thanks to torkeln for reporting and
cypherpunks_backup for diagnosing and writing the first fix here.
Nick Mathewson [Thu, 18 Jun 2015 15:30:01 +0000 (11:30 -0400)]
Merge remote-tracking branch 'dgoulet/bug16381_026_01-revert' into maint-0.2.6
Nick Mathewson [Wed, 17 Jun 2015 13:18:45 +0000 (09:18 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
teor [Sat, 13 Jun 2015 11:28:02 +0000 (21:28 +1000)]
Correctly handle failed crypto_early_init
If crypto_early_init fails, a typo in a return value from tor_init
means that tor_main continues running, rather than returning
an error value.
Fixes bug 16360; bugfix on
d3fb846d8c98 in 0.2.5.2-alpha,
introduced when implementing #4900.
Patch by "teor".
David Goulet [Tue, 16 Jun 2015 17:16:34 +0000 (13:16 -0400)]
Revert "Do not replace a HS descriptor with a different replica of itself"
This reverts commit
9407040c592184e05e45a3c1a00739c2dd302288 .
Small fix, "e->received" had to be removed since that variable doesn't exist
anymore.
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Mon, 15 Jun 2015 14:13:11 +0000 (10:13 -0400)]
Fix another seccomp2 issue
Allow pipe() and pipe2() syscalls; we need these when eventfd2()
support is missing. Fixes bug 16363; bugfix on 0.2.6.3-alpha. Patch
from "teor".
Andrea Shepard [Wed, 10 Jun 2015 14:58:33 +0000 (14:58 +0000)]
Bump version to 0.2.6.9
David Goulet [Mon, 11 May 2015 15:27:30 +0000 (11:27 -0400)]
HSDir flag now requires the Stable flag
Fixes #8243
Yawning Angel [Thu, 4 Jun 2015 13:53:35 +0000 (13:53 +0000)]
Set session_group after the port's data structure has been populated.
Fixes #16247, patch by "jojelino".
Peter Palfrader [Tue, 2 Jun 2015 18:06:49 +0000 (20:06 +0200)]
Fix sandboxing to work when running as a relay
This includes correctly allowing renaming secret_id_key and allowing the
eventfd2 and futex syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha.
Nick Mathewson [Thu, 28 May 2015 18:05:46 +0000 (14:05 -0400)]
Fix sandbox use with systemd. bug 16212.
Nick Mathewson [Tue, 26 May 2015 14:24:21 +0000 (10:24 -0400)]
Fix unit tests on MSVC2013.
Patch from "NewEraCracker." Fixes bug16030; bugfix on 0.2.6.2-alpha.
Nick Mathewson [Tue, 26 May 2015 13:39:53 +0000 (09:39 -0400)]
Fix --enable-systemd builds on systems with libsystemd but not systemd
Fixes bug 16164; bugfix on 0.2.6.3-alpha. Patch from Peter Palfrader.
Nick Mathewson [Tue, 19 May 2015 18:48:09 +0000 (14:48 -0400)]
Bump maint-0.2.6 to 0.2.6.8
Nick Mathewson [Wed, 13 May 2015 15:05:33 +0000 (11:05 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 13 May 2015 15:03:05 +0000 (11:03 -0400)]
Merge branch 'bug15823_025' into maint-0.2.5
John Brooks [Sun, 26 Apr 2015 04:52:35 +0000 (22:52 -0600)]
Fix out-of-bounds read in INTRODUCE2 client auth
The length of auth_data from an INTRODUCE2 cell is checked when the
auth_type is recognized (1 or 2), but not for any other non-zero
auth_type. Later, auth_data is assumed to have at least
REND_DESC_COOKIE_LEN bytes, leading to a client-triggered out of bounds
read.
Fixed by checking auth_len before comparing the descriptor cookie
against known clients.
Fixes #15823; bugfix on 0.2.1.6-alpha.
David Goulet [Tue, 28 Apr 2015 18:22:49 +0000 (14:22 -0400)]
Revert "Remove obsolete workaround in dirserv_thinks_router_is_hs_dir()"
Fixes #15850, part of #15801. Change file is added by this commit. The
original comment in the reverted commit is removed because right now we
*need* a DirPort until #15849 is implemented so no doubt nor confusion there
anymore.
This reverts commit
80bed1ac96a3035f8c55ddced5528f0d7d16d386 .
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Mon, 27 Apr 2015 18:18:16 +0000 (14:18 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 27 Apr 2015 18:16:55 +0000 (14:16 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 27 Apr 2015 18:15:58 +0000 (14:15 -0400)]
Merge remote-tracking branch 'karsten/geoip6-apr2015' into maint-0.2.4
Nick Mathewson [Mon, 27 Apr 2015 18:15:44 +0000 (14:15 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Karsten Loesing [Fri, 24 Apr 2015 15:51:36 +0000 (17:51 +0200)]
Update geoip6 to the April 8 2015 database.
Karsten Loesing [Fri, 24 Apr 2015 15:49:45 +0000 (17:49 +0200)]
Update geoip to the April 8 2015 database.
Nick Mathewson [Mon, 6 Apr 2015 14:01:16 +0000 (10:01 -0400)]
bump version to 0.2.6.7-dev
Nick Mathewson [Mon, 6 Apr 2015 14:00:30 +0000 (10:00 -0400)]
bump version to 0.2.6.7
Nick Mathewson [Mon, 6 Apr 2015 13:59:06 +0000 (09:59 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 6 Apr 2015 13:56:37 +0000 (09:56 -0400)]
bump 0.2.5 version to 0.2.5.12
Nick Mathewson [Mon, 6 Apr 2015 13:55:44 +0000 (09:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 6 Apr 2015 13:48:53 +0000 (09:48 -0400)]
Bump 0.2.4 version more places
Nick Mathewson [Mon, 6 Apr 2015 13:41:59 +0000 (09:41 -0400)]
Bump 0.2.4 version
Nick Mathewson [Mon, 6 Apr 2015 13:26:16 +0000 (09:26 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 6 Apr 2015 13:25:37 +0000 (09:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 6 Apr 2015 13:24:16 +0000 (09:24 -0400)]
Changes file for bug15601
Yawning Angel [Thu, 2 Apr 2015 12:42:06 +0000 (12:42 +0000)]
Handle empty/zero length encoded intro points more gracefully.
In theory these should never the triggered as the only caller now
validates the parameters before this routine gets called.
Yawning Angel [Thu, 2 Apr 2015 12:36:19 +0000 (12:36 +0000)]
Treat empty introduction points sections as missing.
Found by DonnchaC.
Yawning Angel [Mon, 30 Mar 2015 21:53:39 +0000 (21:53 +0000)]
Validate the RSA key size received when parsing INTRODUCE2 cells.
Fixes bug 15600; reported by skruffy
George Kadianakis [Thu, 2 Apr 2015 14:58:33 +0000 (15:58 +0100)]
Decrease the amount of rend circ relaunches for hidden services.
Nick Mathewson [Fri, 3 Apr 2015 13:39:19 +0000 (09:39 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 3 Apr 2015 13:38:54 +0000 (09:38 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 3 Apr 2015 13:36:59 +0000 (09:36 -0400)]
Merge branch 'bug15515_024' into maint-0.2.4
George Kadianakis [Thu, 2 Apr 2015 12:38:52 +0000 (13:38 +0100)]
... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit
(Sending a nak would be pointless.)
See ticket 15515 for discussion.
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)]
Block multiple introductions on the same intro circuit.
Nick Mathewson [Wed, 25 Mar 2015 18:09:23 +0000 (14:09 -0400)]
Bump to 0.2.6.6-dev
Nick Mathewson [Tue, 24 Mar 2015 14:23:34 +0000 (10:23 -0400)]
bump to 0.2.6.6
Nick Mathewson [Mon, 23 Mar 2015 13:25:15 +0000 (09:25 -0400)]
Merge remote-tracking branch 'public/bug15436_025' into maint-0.2.6
Yawning Angel [Sun, 22 Mar 2015 22:31:08 +0000 (22:31 +0000)]
Fix unaligned access in SipHash-2-4.
The compiler is allowed to assume that a "uint64_t *" is aligned
correctly, and will inline a version of memcpy that acts as such.
Use "uint8_t *", so the compiler does the right thing.
Nick Mathewson [Wed, 18 Mar 2015 20:32:13 +0000 (16:32 -0400)]
bump to 0.2.6.5-rc.dev
Nick Mathewson [Wed, 18 Mar 2015 13:10:48 +0000 (09:10 -0400)]
bump to 0.2.6.5-rc
Nick Mathewson [Sat, 14 Mar 2015 18:30:08 +0000 (14:30 -0400)]
Simplify the loop.
Nick Mathewson [Sat, 14 Mar 2015 18:27:33 +0000 (14:27 -0400)]
Add comments for new functions
Nick Mathewson [Sat, 14 Mar 2015 18:25:37 +0000 (14:25 -0400)]
remove a needless "if (1)" that was there for indentation; fix indentation.
Nick Mathewson [Sat, 14 Mar 2015 18:24:18 +0000 (14:24 -0400)]
Extract main part of main loop into a separate function
For 15176; Shadow would like this.
Based on a patch by Rob Jansen, but revised to have a minimal-sized diff.
Nick Mathewson [Thu, 12 Mar 2015 17:15:08 +0000 (13:15 -0400)]
Merge remote-tracking branch 'public/feature15212_026' into maint-0.2.6
Yawning Angel [Thu, 12 Mar 2015 15:37:48 +0000 (15:37 +0000)]
Initialize the extorport auth cookie before launching PTs.
PTs expect the auth cookie to be available immedieately after launch,
leading to a race condition when PTs opt to cache the extorport cookie
once immediately after startup.
Fixes #15240.
Nick Mathewson [Thu, 12 Mar 2015 16:50:41 +0000 (12:50 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
("-s ours" merge to avoid taking reversion of #15064)
Nick Mathewson [Thu, 12 Mar 2015 16:49:08 +0000 (12:49 -0400)]
Revert "Make TransProxyType ipfw work correctly"
This reverts commit
681802817deb6fb93b95f8284856fd42f3556600 .
(I didn't mean to backport this, but somehow I had based my branch
for #15205 on it.)
Nick Mathewson [Thu, 12 Mar 2015 16:27:42 +0000 (12:27 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 16:27:25 +0000 (12:27 -0400)]
Merge remote-tracking branch 'public/bug15205_025' into maint-0.2.5
Nick Mathewson [Thu, 12 Mar 2015 15:37:02 +0000 (11:37 -0400)]
Merge branch 'bug15245_026' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 15:28:18 +0000 (11:28 -0400)]
add an explanatory comment
Nick Mathewson [Thu, 12 Mar 2015 15:15:50 +0000 (11:15 -0400)]
Also, add an assertion to assign_onionskin_to_cpuworker
Nick Mathewson [Thu, 12 Mar 2015 15:13:57 +0000 (11:13 -0400)]
Fix crash bug when calling cpuworkers_rotate_keyinfo on a client.
Fixes bug 15245; bugfix on 0.2.6.3-alpha. Thanks to anonym for reporting!
Nick Mathewson [Thu, 12 Mar 2015 14:54:13 +0000 (10:54 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 14:52:09 +0000 (10:52 -0400)]
Bump 025 version to 0.2.5.11
Nick Mathewson [Thu, 12 Mar 2015 14:51:08 +0000 (10:51 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 12 Mar 2015 14:50:15 +0000 (10:50 -0400)]
Bump 0.2.4 version.
Nick Mathewson [Thu, 12 Mar 2015 14:05:06 +0000 (10:05 -0400)]
Merge branch 'bug9495_redux_v2' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 13:49:45 +0000 (09:49 -0400)]
Use PTHREAD_CREATE_DETACHED macro instead of 1: fix Solaris crash
When calling pthread_attr_setdetachstate, we were using 1 as the
argument. But the pthreads documentation says that you have to say
PTHREAD_CREATE_DETACH, which on Solaris is apparently 0x40. Calling
pthread_attr_setdetachstate with 1 crashes on Solaris with FLTBOUNDS.
(Because we're so late in the release cycle, I made the code define
PTHREAD_CREATE_DETACHED if it doesn't exist, so we aren't likely to
break any other platforms.)
This bug was introduced when we made threading mandatory in
0.2.6.1-alpha; previously, we had force-disabled threading on
Solaris. See #9495 discussion.
Nick Mathewson [Tue, 10 Mar 2015 14:10:35 +0000 (10:10 -0400)]
Fix check-spaces
Nick Mathewson [Tue, 10 Mar 2015 14:07:41 +0000 (10:07 -0400)]
Add link protocol version counts to the heartbeat message
Closes ticket 15212
Nick Mathewson [Tue, 10 Mar 2015 12:20:47 +0000 (08:20 -0400)]
bump 0.2.6 to 0.2.6.4-rc-dev
Nick Mathewson [Mon, 9 Mar 2015 23:47:12 +0000 (19:47 -0400)]
Merge remote-tracking branch 'public/bug15205_025' into maint-0.2.6
Nick Mathewson [Mon, 9 Mar 2015 20:25:11 +0000 (16:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 9 Mar 2015 20:24:44 +0000 (16:24 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 9 Mar 2015 20:24:07 +0000 (16:24 -0400)]
Merge remote-tracking branch 'karsten/geoip6-mar2015' into maint-0.2.4
Nick Mathewson [Mon, 9 Mar 2015 20:23:55 +0000 (16:23 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Karsten Loesing [Mon, 9 Mar 2015 20:11:52 +0000 (21:11 +0100)]
Update geoip6 to the March 3 2015 database.
Karsten Loesing [Mon, 9 Mar 2015 20:09:44 +0000 (21:09 +0100)]
Update geoip to the March 3 2015 database.
Nick Mathewson [Mon, 9 Mar 2015 19:09:49 +0000 (15:09 -0400)]
Don't use checked strl{cat,cpy} on OSX.
There is a bug in the overlap-checking in strlcat that can crash Tor
servers. Fixes bug 15205; this is an OSX bug, not a Tor bug.
Nick Mathewson [Mon, 9 Mar 2015 17:49:55 +0000 (13:49 -0400)]
We actually merged this one a while ago.
Nick Mathewson [Mon, 9 Mar 2015 17:23:32 +0000 (13:23 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 9 Mar 2015 17:22:58 +0000 (13:22 -0400)]
Restore c89 in 0.2.5
Nick Mathewson [Mon, 9 Mar 2015 17:21:20 +0000 (13:21 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 9 Mar 2015 17:17:20 +0000 (13:17 -0400)]
Merge remote-tracking branch 'public/bug14261_025' into maint-0.2.5
Nick Mathewson [Wed, 7 Jan 2015 16:37:23 +0000 (11:37 -0500)]
GETINFO bw-event-cache to get information on recent BW events
Closes 14128; useful to regain functionality lost because of 13988.
Nick Mathewson [Mon, 9 Mar 2015 17:12:54 +0000 (13:12 -0400)]
Merge remote-tracking branch 'public/bug13988_025' into maint-0.2.5
Nick Mathewson [Mon, 9 Mar 2015 17:09:50 +0000 (13:09 -0400)]
Merge remote-tracking branch 'public/bug15088_025' into maint-0.2.5
Nick Mathewson [Mon, 9 Mar 2015 17:05:27 +0000 (13:05 -0400)]
Merge remote-tracking branch 'public/feature15006_026' into maint-0.2.6
Nick Mathewson [Mon, 9 Mar 2015 15:13:57 +0000 (11:13 -0400)]
Changes file for 15188
Tom van der Woerdt [Sun, 8 Mar 2015 18:20:56 +0000 (19:20 +0100)]
testing_common.c: avoid side-effects of tor_assert
Nick Mathewson [Mon, 9 Mar 2015 15:09:49 +0000 (11:09 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 9 Mar 2015 15:09:30 +0000 (11:09 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 9 Mar 2015 15:08:57 +0000 (11:08 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 9 Mar 2015 15:07:50 +0000 (11:07 -0400)]
Adjust changes header
Nick Mathewson [Wed, 4 Mar 2015 14:18:33 +0000 (15:18 +0100)]
Revert "Missing dependencies; fixes 15127."
This reverts commit
930ab95e1fb0dfd5af35e7d84ca58ff21b65a605 .
Nick Mathewson [Wed, 4 Mar 2015 13:23:59 +0000 (14:23 +0100)]
Make boostrap events include hostname ANDaddr AND digest