]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 20 Mar 2013 14:34:31 +0000 (10:34 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug6304_v3' into maint-0.2.4
Nick Mathewson [Wed, 20 Mar 2013 14:31:28 +0000 (10:31 -0400)] 
Merge remote-tracking branch 'public/bug6304_v3' into maint-0.2.4

Conflicts:
src/or/circuitbuild.c
src/or/config.c

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 20:44:00 +0000 (16:44 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge branch 'bug7350_redux' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 20:43:00 +0000 (16:43 -0400)] 
Merge branch 'bug7350_redux' into maint-0.2.4

12 years agoDon't assert when writing a cell to a CLOSING connection.
Nick Mathewson [Tue, 19 Mar 2013 20:35:40 +0000 (16:35 -0400)] 
Don't assert when writing a cell to a CLOSING connection.

Instead, drop the cell.

Fixes another case of bug 7350; bugfix on 0.2.4.4-alpha

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 20:17:42 +0000 (16:17 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug7164_diagnostic' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 20:16:48 +0000 (16:16 -0400)] 
Merge remote-tracking branch 'public/bug7164_diagnostic' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 20:15:39 +0000 (16:15 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge branch 'bug8240_v2_squashed' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 20:15:27 +0000 (16:15 -0400)] 
Merge branch 'bug8240_v2_squashed' into maint-0.2.4

Conflicts:
doc/tor.1.txt
src/or/circuitbuild.c
src/or/config.c
src/or/or.h

12 years agoDrop the minimum guard lifetime back down to one month
Nick Mathewson [Tue, 12 Mar 2013 02:16:25 +0000 (22:16 -0400)] 
Drop the minimum guard lifetime back down to one month

Mike believes that raising the default to 2 months with no way to lower
it may create horrible load-balancing issues.

12 years agoAdd support for days of the week to intervals
Nick Mathewson [Tue, 12 Mar 2013 01:35:50 +0000 (21:35 -0400)] 
Add support for days of the week to intervals

12 years agoDocument the GuardLifetime option
Nick Mathewson [Tue, 12 Mar 2013 01:25:37 +0000 (21:25 -0400)] 
Document the GuardLifetime option

12 years agoMake the guard lifetime configurable and adjustable via the consensus
Nick Mathewson [Fri, 15 Feb 2013 22:24:13 +0000 (17:24 -0500)] 
Make the guard lifetime configurable and adjustable via the consensus

Fixes 8240.

(Don't actually increase the default guard lifetime. It seems likely to
break too many things if done precipitiously.)

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 19:32:44 +0000 (15:32 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug7950' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 19:32:17 +0000 (15:32 -0400)] 
Merge remote-tracking branch 'public/bug7950' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 19:13:07 +0000 (15:13 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug7768' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 19:11:47 +0000 (15:11 -0400)] 
Merge remote-tracking branch 'public/bug7768' into maint-0.2.4

12 years agoUse --test-commandline name in tor-fw-helper manpage
Nick Mathewson [Tue, 19 Mar 2013 19:11:34 +0000 (15:11 -0400)] 
Use --test-commandline name in tor-fw-helper manpage

12 years agoUse option name --test-commandline in tor-fw-helper.
David Fifield [Wed, 13 Mar 2013 07:43:21 +0000 (00:43 -0700)] 
Use option name --test-commandline in tor-fw-helper.

It was previously --Test in the help output and --test-commandline in
the getopt call. The man page already had --test.

  (Originally by David, who resolved the tie in favor of "--test"; I
   chose --test-commandline" instead so that nothing that depended
   on it could break. -Nick)

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 18:27:00 +0000 (14:27 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug8002' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 18:26:45 +0000 (14:26 -0400)] 
Merge remote-tracking branch 'public/bug8002' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 18:19:19 +0000 (14:19 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug8031' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 18:18:07 +0000 (14:18 -0400)] 
Merge remote-tracking branch 'public/bug8031' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 19 Mar 2013 18:16:46 +0000 (14:16 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'asn/bug3594_rebased_and_fixed'
Nick Mathewson [Tue, 19 Mar 2013 17:25:45 +0000 (13:25 -0400)] 
Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed'

Conflicts:
src/common/util.c
src/or/entrynodes.h

12 years agoMerge branch 'bug7582_v2' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 16:29:29 +0000 (12:29 -0400)] 
Merge branch 'bug7582_v2' into maint-0.2.4

12 years agoFree prepend_policy values in origin circuits
Nick Mathewson [Tue, 19 Mar 2013 16:29:08 +0000 (12:29 -0400)] 
Free prepend_policy values in origin circuits

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 20:36:52 +0000 (16:36 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug6174' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 20:36:25 +0000 (16:36 -0400)] 
Merge remote-tracking branch 'public/bug6174' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 20:34:29 +0000 (16:34 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug8062' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 20:33:47 +0000 (16:33 -0400)] 
Merge remote-tracking branch 'public/bug8062' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:57:51 +0000 (15:57 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge branch 'bug7947' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:56:55 +0000 (15:56 -0400)] 
Merge branch 'bug7947' into maint-0.2.4

12 years agoHandle TRUNCATE correctly if our next channel isn't done yet.
Nick Mathewson [Mon, 18 Mar 2013 19:55:55 +0000 (15:55 -0400)] 
Handle TRUNCATE correctly if our next channel isn't done yet.

Patch from 'cypherpunks'. Fixes bug #7947. Bugfix on 0.0.7.1.

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:46:01 +0000 (15:46 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug6164' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:45:49 +0000 (15:45 -0400)] 
Merge remote-tracking branch 'public/bug6164' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:44:45 +0000 (15:44 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoFix another case of bug 8206; patch from flupzor
Nick Mathewson [Mon, 18 Mar 2013 19:44:23 +0000 (15:44 -0400)] 
Fix another case of bug 8206; patch from flupzor

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:41:14 +0000 (15:41 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug6673' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:40:50 +0000 (15:40 -0400)] 
Merge remote-tracking branch 'public/bug6673' into maint-0.2.4

12 years agoFix a double-newline
Nick Mathewson [Mon, 18 Mar 2013 19:39:47 +0000 (15:39 -0400)] 
Fix a double-newline

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:39:21 +0000 (15:39 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoFix some wide lines
Nick Mathewson [Mon, 18 Mar 2013 19:39:11 +0000 (15:39 -0400)] 
Fix some wide lines

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:29:32 +0000 (15:29 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

Conflicts:
src/test/test_addr.c

12 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:28:39 +0000 (15:28 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4

Conflicts:
src/test/test_addr.c

12 years agoMerge remote-tracking branch 'public/bug8377' into maint-0.2.3
Nick Mathewson [Mon, 18 Mar 2013 19:27:50 +0000 (15:27 -0400)] 
Merge remote-tracking branch 'public/bug8377' into maint-0.2.3

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:18:56 +0000 (15:18 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'andrea/bug8435' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:17:11 +0000 (15:17 -0400)] 
Merge remote-tracking branch 'andrea/bug8435' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:16:11 +0000 (15:16 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMake stream events for RESOLVE lookups more consistent
Nick Mathewson [Mon, 18 Mar 2013 19:13:59 +0000 (15:13 -0400)] 
Make stream events for RESOLVE lookups more consistent

Fixes 8203; patch by Desoxy

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 19:07:17 +0000 (15:07 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug8290' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:07:02 +0000 (15:07 -0400)] 
Merge remote-tracking branch 'public/bug8290' into maint-0.2.4

12 years agoImprove comment for routers_with_measured_bw static var in dirserv.c
Andrea Shepard [Mon, 18 Mar 2013 19:04:41 +0000 (12:04 -0700)] 
Improve comment for routers_with_measured_bw static var in dirserv.c

12 years agoImprove comment on router_counts_toward_thresholds()
Andrea Shepard [Mon, 18 Mar 2013 18:58:30 +0000 (11:58 -0700)] 
Improve comment on router_counts_toward_thresholds()

12 years agoAdd dirserv_has_measured_bw() predicate wrapper for dirserv_query_measured_bw_cache()
Andrea Shepard [Mon, 18 Mar 2013 18:56:42 +0000 (11:56 -0700)] 
Add dirserv_has_measured_bw() predicate wrapper for dirserv_query_measured_bw_cache()

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 18:50:36 +0000 (14:50 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/no_dup_guards' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 18:50:01 +0000 (14:50 -0400)] 
Merge remote-tracking branch 'public/no_dup_guards' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 18:32:18 +0000 (14:32 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug8059' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 18:31:50 +0000 (14:31 -0400)] 
Merge remote-tracking branch 'public/bug8059' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 18:30:28 +0000 (14:30 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoRemove an unused local variable.
Nick Mathewson [Mon, 18 Mar 2013 18:30:11 +0000 (14:30 -0400)] 
Remove an unused local variable.

12 years agoMerge branch 'bug8206_squashed' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 18:29:12 +0000 (14:29 -0400)] 
Merge branch 'bug8206_squashed' into maint-0.2.4

12 years agoCheck return values from fcntl and setsockopt
Nick Mathewson [Tue, 12 Mar 2013 00:58:28 +0000 (20:58 -0400)] 
Check return values from fcntl and setsockopt

(Based on a patch from flupzor; bug #8206)

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 18 Mar 2013 18:24:30 +0000 (14:24 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoCheck for 0.2.4.8, not 0.2.4.7, to determine EXTEND2 support
Nick Mathewson [Wed, 13 Mar 2013 16:47:48 +0000 (12:47 -0400)] 
Check for 0.2.4.8, not 0.2.4.7, to determine EXTEND2 support

Fixes bug 8464; bugfix on b2863739 in 0.2.4.8-alpha

12 years agoIgnore advertised bandwidths if we have enough measured bandwidths available
Andrea Shepard [Mon, 18 Mar 2013 18:15:21 +0000 (11:15 -0700)] 
Ignore advertised bandwidths if we have enough measured bandwidths available

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 15 Mar 2013 16:38:55 +0000 (12:38 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'public/bug8180_023_v2' into maint-0.2.4
Nick Mathewson [Fri, 15 Mar 2013 16:38:11 +0000 (12:38 -0400)] 
Merge remote-tracking branch 'public/bug8180_023_v2' into maint-0.2.4

12 years agoUpgrade the warn for EntryNodes without UseEntryGuards to an error
Nick Mathewson [Fri, 15 Mar 2013 14:42:17 +0000 (10:42 -0400)] 
Upgrade the warn for EntryNodes without UseEntryGuards to an error

fixes bug 8180

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 15 Mar 2013 16:20:17 +0000 (12:20 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

Conflicts:
src/or/routerlist.c

12 years agoMerge remote-tracking branch 'public/unused_stuff' into maint-0.2.4
Nick Mathewson [Fri, 15 Mar 2013 16:17:23 +0000 (12:17 -0400)] 
Merge remote-tracking branch 'public/unused_stuff' into maint-0.2.4

12 years agoFix some basic socket issues with tor-fw-helper-natpmp on windows
Nick Mathewson [Fri, 15 Mar 2013 16:11:38 +0000 (12:11 -0400)] 
Fix some basic socket issues with tor-fw-helper-natpmp on windows

This isn't going to be the last of these issues, but we might as
well take the fixes as we find them.

Patch from Gisle Vanem, fixes bug 7280.

12 years agoRemove incentives.txt from tor git; putting it into torspec.
Nick Mathewson [Fri, 15 Mar 2013 15:25:45 +0000 (11:25 -0400)] 
Remove incentives.txt from tor git; putting it into torspec.

12 years agoFix brackets in tor-fw-helper help output.
David Fifield [Thu, 20 Dec 2012 20:40:50 +0000 (12:40 -0800)] 
Fix brackets in tor-fw-helper help output.

Change nesting from [(]) to [()]. Formerly it made it look to me at
first glance that "internal port" was optional.

      [Trivial change; fixes #7767  --nickm]

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 15 Mar 2013 15:18:58 +0000 (11:18 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoImprove asciidoc-helper's suggestion of what to install
Nick Mathewson [Fri, 15 Mar 2013 15:17:08 +0000 (11:17 -0400)] 
Improve asciidoc-helper's suggestion of what to install

Fixes bug #7766.

Patch by David Fifield, revised by Peter Palfrader.

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 15 Mar 2013 15:01:06 +0000 (11:01 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoBe explicit that we want not only nacl but nacl-with-a-fast-curve25519
Nick Mathewson [Fri, 15 Mar 2013 14:48:33 +0000 (10:48 -0400)] 
Be explicit that we want not only nacl but nacl-with-a-fast-curve25519

Resolves the user experience part of #8014.

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 14 Mar 2013 16:06:58 +0000 (12:06 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMake circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTING
Nick Mathewson [Thu, 14 Mar 2013 16:06:03 +0000 (12:06 -0400)] 
Make circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTING

12 years agoLog fname:lineno in log messages for #7164
Nick Mathewson [Wed, 13 Mar 2013 14:42:58 +0000 (10:42 -0400)] 
Log fname:lineno in log messages for #7164

This should help us track down #7164 at last.

12 years agoFix the warning about LearnCircuitBuildTimeout && !CircuitBuildTimeout
Nick Mathewson [Wed, 13 Mar 2013 13:17:43 +0000 (09:17 -0400)] 
Fix the warning about LearnCircuitBuildTimeout && !CircuitBuildTimeout

This is for bug 6304.

Add a changes file too

12 years agoSimplify the logic of circuit_build_times_get_initial_timeout.
Nick Mathewson [Wed, 13 Mar 2013 13:11:31 +0000 (09:11 -0400)] 
Simplify the logic of circuit_build_times_get_initial_timeout.

12 years agoOn END_REASON_EXITPOLICY, mark circuit as unusable for that address.
Nick Mathewson [Tue, 12 Mar 2013 03:37:47 +0000 (23:37 -0400)] 
On END_REASON_EXITPOLICY, mark circuit as unusable for that address.

Also, don't call the exit node 'reject *' unless our decision to pick
that node was based on a non-summarized version of that node's exit
policy.

rransom and arma came up with the ideas for this fix.

Fix for 7582; the summary-related part is a bugfix on 0.2.3.2-alpha.

12 years agoFix option names in tor-fw-helper manpage
Nick Mathewson [Mon, 11 Mar 2013 21:57:27 +0000 (17:57 -0400)] 
Fix option names in tor-fw-helper manpage

fix for bug 7768

12 years agoLook at the right variable when warning about signed size_t.
Nick Mathewson [Mon, 11 Mar 2013 20:29:06 +0000 (16:29 -0400)] 
Look at the right variable when warning about signed size_t.

In 81d69f4c2d8a451 (0.2.21-alpha) we added a compile-time check for
a (totally broken) signed size_t.  In 0e597471af (not yet released)
I switched to a better configure-time check, which stored its output
in a different variable.  I didn't change the code which looked at
the output, however.

This bug is not in any released version of Tor, and would not affect
anybody with a working Tor.

12 years agoAnother possible diagnostic for 8031.
Nick Mathewson [Mon, 11 Mar 2013 18:52:56 +0000 (14:52 -0400)] 
Another possible diagnostic for 8031.

This time, I'm checking whether our calculated offset matches our
real offset, in each case, as we go along.  I don't think this is
the bug, but it can't hurt to check.

12 years agoCheck more error codes when writing microdescriptors.
Nick Mathewson [Mon, 11 Mar 2013 18:50:41 +0000 (14:50 -0400)] 
Check more error codes when writing microdescriptors.

Possible partial fix, or diagnosis tool, for bug 8031.

12 years agoUse fds, not stdio, to manage microdescriptor files
Nick Mathewson [Mon, 11 Mar 2013 18:37:44 +0000 (14:37 -0400)] 
Use fds, not stdio, to manage microdescriptor files

This is part of an attempt to mitigate 8031.

12 years agoMerge remote-tracking branch 'karsten/geoip-manual-update-mar2013'
Nick Mathewson [Mon, 11 Mar 2013 17:34:32 +0000 (13:34 -0400)] 
Merge remote-tracking branch 'karsten/geoip-manual-update-mar2013'

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 11 Mar 2013 17:32:35 +0000 (13:32 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 11 Mar 2013 17:32:16 +0000 (13:32 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4

12 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Mon, 11 Mar 2013 17:32:01 +0000 (13:32 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

12 years agoGive an #error when we want threads and OpenSSL has disabled threads
Nick Mathewson [Mon, 11 Mar 2013 17:23:10 +0000 (13:23 -0400)] 
Give an #error when we want threads and OpenSSL has disabled threads

Fixes ticket 6673.

12 years agoIncrease link_proto field to 2 bytes
Nick Mathewson [Mon, 11 Mar 2013 16:34:14 +0000 (12:34 -0400)] 
Increase link_proto field to 2 bytes

This should have been 2 bytes all along, since version numbers can
be 16 bits long.  This isn't a live bug, since the call to
is_or_protocol_version_known in channel_tls_process_versions_cell
will reject any version number not in the range 1..4.  Still, let's
fix this before we accidentally start supporting version 256.

Reported pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha --
specifically, on commit 6fcda529, where during development I
increased the width of a version to 16 bits without changing the
type of link_proto.

12 years agoFix a framing bug when reading versions from a versions cell.
Nick Mathewson [Mon, 11 Mar 2013 16:29:28 +0000 (12:29 -0400)] 
Fix a framing bug when reading versions from a versions cell.

Our ++ should have been += 2.  This means that we'd accept version
numbers even when they started at an odd position.

This bug should be harmless in practice for so long as every version
number we allow begins with a 0 byte, but if we ever have a version
number starting with 1, 2, 3, or 4, there will be trouble here.

Fix for bug 8059, reported pseudonymously. Bugfix on 0.2.0.10-alpha
-- specifically, commit 6fcda529, where during development I
increased the width of a version to 16 bits without changing the
loop step.

12 years agoMerge branch 'maint-0.2.4'
Roger Dingledine [Mon, 11 Mar 2013 03:42:14 +0000 (23:42 -0400)] 
Merge branch 'maint-0.2.4'

12 years agostart part-way through the ssl cert lifetime
Roger Dingledine [Sun, 10 Mar 2013 20:28:28 +0000 (16:28 -0400)] 
start part-way through the ssl cert lifetime

also, snap the start time and end time to a day boundary, since most
certs in the wild seem to do this.

12 years agorandomize SSLKeyLifetime by default
Roger Dingledine [Sat, 9 Mar 2013 22:16:11 +0000 (17:16 -0500)] 
randomize SSLKeyLifetime by default

resolves ticket 8443.

12 years agoparameterize SSLKeyLifetime
Roger Dingledine [Sat, 9 Mar 2013 21:42:35 +0000 (16:42 -0500)] 
parameterize SSLKeyLifetime

no actual changes in behavior yet