]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
10 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 8 Dec 2015 15:20:21 +0000 (10:20 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

10 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 8 Dec 2015 15:20:14 +0000 (10:20 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

10 years agoMerge branch 'bug17772_024' into maint-0.2.4
Nick Mathewson [Tue, 8 Dec 2015 15:18:31 +0000 (10:18 -0500)] 
Merge branch 'bug17772_024' into maint-0.2.4

10 years agoEnsure node is a guard candidate when picking a directory guard
Arlo Breault [Tue, 8 Dec 2015 04:28:26 +0000 (20:28 -0800)] 
Ensure node is a guard candidate when picking a directory guard

10 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 8 Dec 2015 14:43:25 +0000 (09:43 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

10 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 8 Dec 2015 14:38:48 +0000 (09:38 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

10 years agoFix a compilation warning introduced by clang 3.6
Nick Mathewson [Tue, 8 Dec 2015 14:37:05 +0000 (09:37 -0500)] 
Fix a compilation warning introduced by clang 3.6

There was a dead check when we made sure that an array member of a
struct was non-NULL.  Tor has been doing this check since at least
0.2.3, maybe earlier.

Fixes bug 17781.

10 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 7 Dec 2015 15:10:44 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

10 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 7 Dec 2015 15:10:21 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

10 years agoUpdate geoip and geoip6 to the December 1 2015 database.
Karsten Loesing [Sat, 5 Dec 2015 16:02:59 +0000 (17:02 +0100)] 
Update geoip and geoip6 to the December 1 2015 database.

10 years agoAdd hidserv-stats filname to our sandbox filter
David Goulet [Thu, 15 Oct 2015 17:38:12 +0000 (13:38 -0400)] 
Add hidserv-stats filname to our sandbox filter

Fixes #17354

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 9 Oct 2015 14:14:46 +0000 (10:14 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 9 Oct 2015 14:12:59 +0000 (10:12 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5

10 years agoUpdate geoip and geoip6 to the October 9 2015 database.
Karsten Loesing [Fri, 9 Oct 2015 13:27:55 +0000 (15:27 +0200)] 
Update geoip and geoip6 to the October 9 2015 database.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 24 Sep 2015 14:06:15 +0000 (10:06 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 24 Sep 2015 14:06:00 +0000 (10:06 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5

10 years agoUpdate geoip and geoip6 to the September 3 2015 database.
Karsten Loesing [Thu, 24 Sep 2015 13:08:15 +0000 (15:08 +0200)] 
Update geoip and geoip6 to the September 3 2015 database.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 29 Jul 2015 14:48:13 +0000 (10:48 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 29 Jul 2015 14:47:07 +0000 (10:47 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5

10 years agoUpdate geoip and geoip6 to the July 8 2015 database.
Karsten Loesing [Wed, 29 Jul 2015 13:49:04 +0000 (15:49 +0200)] 
Update geoip and geoip6 to the July 8 2015 database.

10 years agoBump maint-0.2.6 to 0.2.6.10-dev
Nick Mathewson [Sun, 12 Jul 2015 20:37:20 +0000 (16:37 -0400)] 
Bump maint-0.2.6 to 0.2.6.10-dev

10 years agoBump maint-0.2.6 to 0.2.6.10
Nick Mathewson [Sun, 12 Jul 2015 17:33:47 +0000 (13:33 -0400)] 
Bump maint-0.2.6 to 0.2.6.10

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 25 Jun 2015 15:43:17 +0000 (11:43 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 25 Jun 2015 15:43:04 +0000 (11:43 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5

10 years agoMerge remote-tracking branch 'karsten/geoip6-jun2015' into maint-0.2.4
Nick Mathewson [Thu, 25 Jun 2015 15:42:47 +0000 (11:42 -0400)] 
Merge remote-tracking branch 'karsten/geoip6-jun2015' into maint-0.2.4

10 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Thu, 25 Jun 2015 15:42:31 +0000 (11:42 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4

10 years agoMerge remote-tracking branch 'public/bug16013_025' into maint-0.2.6
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

10 years agoAvoid crashing on busy/NEWNYM+hidden service clients
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.

10 years agoMerge remote-tracking branch 'public/bug16400_026' into maint-0.2.6
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

10 years agoRepair breakage in early-error case of microdesc parsing
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.

10 years agoMerge remote-tracking branch 'dgoulet/bug16381_026_01-revert' into maint-0.2.6
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' 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

10 years agoCorrectly handle failed crypto_early_init
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".

10 years agoRevert "Do not replace a HS descriptor with a different replica of itself"
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>
10 years agoFix another seccomp2 issue
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".

10 years agoBump version to 0.2.6.9
Andrea Shepard [Wed, 10 Jun 2015 14:58:33 +0000 (14:58 +0000)] 
Bump version to 0.2.6.9

10 years agoUpdate geoip6 to the June 3 2015 database.
Karsten Loesing [Tue, 9 Jun 2015 14:28:48 +0000 (16:28 +0200)] 
Update geoip6 to the June 3 2015 database.

10 years agoUpdate geoip to the June 3 2015 database. maint-0.2.3
Karsten Loesing [Tue, 9 Jun 2015 14:26:10 +0000 (16:26 +0200)] 
Update geoip to the June 3 2015 database.

10 years agoHSDir flag now requires the Stable flag
David Goulet [Mon, 11 May 2015 15:27:30 +0000 (11:27 -0400)] 
HSDir flag now requires the Stable flag

Fixes #8243

10 years agoSet session_group after the port's data structure has been populated.
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".

10 years agoFix sandboxing to work when running as a relay
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.

10 years agoFix sandbox use with systemd. bug 16212.
Nick Mathewson [Thu, 28 May 2015 18:05:46 +0000 (14:05 -0400)] 
Fix sandbox use with systemd. bug 16212.

10 years agoFix unit tests on MSVC2013.
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.

10 years agoFix --enable-systemd builds on systems with libsystemd but not systemd
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.

10 years agoBump maint-0.2.6 to 0.2.6.8
Nick Mathewson [Tue, 19 May 2015 18:48:09 +0000 (14:48 -0400)] 
Bump maint-0.2.6 to 0.2.6.8

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoMerge branch 'bug15823_025' into maint-0.2.5
Nick Mathewson [Wed, 13 May 2015 15:03:05 +0000 (11:03 -0400)] 
Merge branch 'bug15823_025' into maint-0.2.5

10 years agoFix out-of-bounds read in INTRODUCE2 client auth
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.

10 years agoRevert "Remove obsolete workaround in dirserv_thinks_router_is_hs_dir()"
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>
10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoMerge remote-tracking branch 'karsten/geoip6-apr2015' into maint-0.2.4
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.3' 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

10 years agoUpdate geoip6 to the April 8 2015 database.
Karsten Loesing [Fri, 24 Apr 2015 15:51:36 +0000 (17:51 +0200)] 
Update geoip6 to the April 8 2015 database.

10 years agoUpdate geoip 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.

10 years agobump version to 0.2.6.7-dev
Nick Mathewson [Mon, 6 Apr 2015 14:01:16 +0000 (10:01 -0400)] 
bump version to 0.2.6.7-dev

10 years agobump version to 0.2.6.7
Nick Mathewson [Mon, 6 Apr 2015 14:00:30 +0000 (10:00 -0400)] 
bump version to 0.2.6.7

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agobump 0.2.5 version to 0.2.5.12
Nick Mathewson [Mon, 6 Apr 2015 13:56:37 +0000 (09:56 -0400)] 
bump 0.2.5 version to 0.2.5.12

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoBump 0.2.4 version more places
Nick Mathewson [Mon, 6 Apr 2015 13:48:53 +0000 (09:48 -0400)] 
Bump 0.2.4 version more places

10 years agoBump 0.2.4 version
Nick Mathewson [Mon, 6 Apr 2015 13:41:59 +0000 (09:41 -0400)] 
Bump 0.2.4 version

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoChanges file for bug15601
Nick Mathewson [Mon, 6 Apr 2015 13:24:16 +0000 (09:24 -0400)] 
Changes file for bug15601

10 years agoHandle empty/zero length encoded intro points more gracefully.
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.

10 years agoTreat empty introduction points sections as missing.
Yawning Angel [Thu, 2 Apr 2015 12:36:19 +0000 (12:36 +0000)] 
Treat empty introduction points sections as missing.

Found by DonnchaC.

10 years agoValidate the RSA key size received when parsing INTRODUCE2 cells.
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

10 years agoDecrease the amount of rend circ relaunches for hidden services.
George Kadianakis [Thu, 2 Apr 2015 14:58:33 +0000 (15:58 +0100)] 
Decrease the amount of rend circ relaunches for hidden services.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoMerge branch 'bug15515_024' into maint-0.2.4
Nick Mathewson [Fri, 3 Apr 2015 13:36:59 +0000 (09:36 -0400)] 
Merge branch 'bug15515_024' into maint-0.2.4

10 years ago... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit
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.

10 years agoBlock multiple introductions on the same intro circuit.
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)] 
Block multiple introductions on the same intro circuit.

10 years agoBump to 0.2.6.6-dev
Nick Mathewson [Wed, 25 Mar 2015 18:09:23 +0000 (14:09 -0400)] 
Bump to 0.2.6.6-dev

10 years agobump to 0.2.6.6
Nick Mathewson [Tue, 24 Mar 2015 14:23:34 +0000 (10:23 -0400)] 
bump to 0.2.6.6

10 years agoMerge remote-tracking branch 'public/bug15436_025' into maint-0.2.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

10 years agoFix unaligned access in SipHash-2-4.
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.

10 years agobump to 0.2.6.5-rc.dev
Nick Mathewson [Wed, 18 Mar 2015 20:32:13 +0000 (16:32 -0400)] 
bump to 0.2.6.5-rc.dev

10 years agobump to 0.2.6.5-rc
Nick Mathewson [Wed, 18 Mar 2015 13:10:48 +0000 (09:10 -0400)] 
bump to 0.2.6.5-rc

10 years agoSimplify the loop.
Nick Mathewson [Sat, 14 Mar 2015 18:30:08 +0000 (14:30 -0400)] 
Simplify the loop.

10 years agoAdd comments for new functions
Nick Mathewson [Sat, 14 Mar 2015 18:27:33 +0000 (14:27 -0400)] 
Add comments for new functions

10 years agoremove a needless "if (1)" that was there for indentation; fix indentation.
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.

10 years agoExtract main part of main loop into a separate function
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.

10 years agoMerge remote-tracking branch 'public/feature15212_026' into maint-0.2.6
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

10 years agoInitialize the extorport auth cookie before launching PTs.
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.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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)

10 years agoRevert "Make TransProxyType ipfw work correctly"
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.)

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoMerge remote-tracking branch 'public/bug15205_025' into maint-0.2.5
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

10 years agoMerge branch 'bug15245_026' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 15:37:02 +0000 (11:37 -0400)] 
Merge branch 'bug15245_026' into maint-0.2.6

10 years agoadd an explanatory comment
Nick Mathewson [Thu, 12 Mar 2015 15:28:18 +0000 (11:28 -0400)] 
add an explanatory comment

10 years agoAlso, add an assertion to assign_onionskin_to_cpuworker
Nick Mathewson [Thu, 12 Mar 2015 15:15:50 +0000 (11:15 -0400)] 
Also, add an assertion to assign_onionskin_to_cpuworker

10 years agoFix crash bug when calling cpuworkers_rotate_keyinfo on a client.
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!

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoBump 025 version to 0.2.5.11
Nick Mathewson [Thu, 12 Mar 2015 14:52:09 +0000 (10:52 -0400)] 
Bump 025 version to 0.2.5.11

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoBump 0.2.4 version.
Nick Mathewson [Thu, 12 Mar 2015 14:50:15 +0000 (10:50 -0400)] 
Bump 0.2.4 version.

10 years agoMerge branch 'bug9495_redux_v2' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 14:05:06 +0000 (10:05 -0400)] 
Merge branch 'bug9495_redux_v2' into maint-0.2.6

10 years agoUse PTHREAD_CREATE_DETACHED macro instead of 1: fix Solaris crash
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.