]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
8 years agoversion bump
Nick Mathewson [Mon, 3 Apr 2017 13:36:42 +0000 (09:36 -0400)] 
version bump

8 years agoMerge remote-tracking branch 'teor/bug21596_030' into maint-0.3.0
Nick Mathewson [Mon, 3 Apr 2017 13:28:33 +0000 (09:28 -0400)] 
Merge remote-tracking branch 'teor/bug21596_030' into maint-0.3.0

8 years agoMerge remote-tracking branch 'public/bug21415_testfix_030' into maint-0.3.0
Nick Mathewson [Mon, 3 Apr 2017 13:27:40 +0000 (09:27 -0400)] 
Merge remote-tracking branch 'public/bug21415_testfix_030' into maint-0.3.0

8 years agoFix max sampled size logic when in bridge mode.
George Kadianakis [Mon, 27 Mar 2017 13:08:18 +0000 (15:08 +0200)] 
Fix max sampled size logic when in bridge mode.

When calculating max sampled size, Tor would only count the number of
bridges in torrc, without considering that our state file might already
have sampled bridges in it. This caused problems when people swap
bridges, since the following error would trigger:

         [warn] Not expanding the guard sample any further; just hit the
                maximum sample threshold of 1

8 years agoTweak test_entrynodes comment
Nick Mathewson [Sun, 26 Mar 2017 10:30:00 +0000 (12:30 +0200)] 
Tweak test_entrynodes comment

8 years agoMerge branch 'ticket21799' into maint-0.3.0
Nick Mathewson [Sun, 26 Mar 2017 10:28:58 +0000 (12:28 +0200)] 
Merge branch 'ticket21799' into maint-0.3.0

8 years agoUse update_approx_time() to run a test 100 days in the past.
Nick Mathewson [Thu, 23 Mar 2017 09:44:43 +0000 (10:44 +0100)] 
Use update_approx_time() to run a test 100 days in the past.

Fixes bug21799.

8 years agoMerge branch 'bug20059_024_v2' into maint-0.3.0
Nick Mathewson [Wed, 15 Mar 2017 15:07:38 +0000 (11:07 -0400)] 
Merge branch 'bug20059_024_v2' into maint-0.3.0

8 years agoAvoid a double-mark bug when makring a pending circuit as "too old"
Nick Mathewson [Wed, 15 Mar 2017 13:19:00 +0000 (09:19 -0400)] 
Avoid a double-mark bug when makring a pending circuit as "too old"

Fixes bug 20059; bugfix on 0.1.0.1-rc.

8 years ago#21720: Update "directory server options" preamble in manpage
Nick Mathewson [Tue, 14 Mar 2017 15:25:54 +0000 (11:25 -0400)] 
#21720: Update "directory server options" preamble in manpage

8 years agoMerge remote-tracking branch 'public/bug21682_030' into maint-0.3.0
Nick Mathewson [Mon, 13 Mar 2017 20:22:40 +0000 (16:22 -0400)] 
Merge remote-tracking branch 'public/bug21682_030' into maint-0.3.0

8 years agoFix failing bridges+ipv6-min integration test.
George Kadianakis [Thu, 2 Mar 2017 14:28:11 +0000 (16:28 +0200)] 
Fix failing bridges+ipv6-min integration test.

The bridges+ipv6-min integration test has a client with bridges:
    Bridge 127.0.0.1:5003
    Bridge [::1]:5003
which got stuck in guard_selection_have_enough_dir_info_to_build_circuits()
because it couldn't find the descriptor of both bridges.

Specifically, the guard_has_descriptor() function could not find the
node_t of the [::1] bridge, because the [::1] bridge had no identity
digest assigned to it.

After further examination, it seems that during fetching the descriptor
for our bridges, we used the CERTS cell to fill the identity digest of
127.0.0.1:5003 properly. However, when we received a CERTS cell from
[::1]:5003 we actually ignored its identity digest because the
learned_router_identity() function was using
get_configured_bridge_by_addr_port_digest() which was returning the
127.0.0.1 bridge instead of the [::1] bridge (because it prioritizes
digest matching over addrport matching).

The fix replaces get_configured_bridge_by_addr_port_digest() with the
recent get_configured_bridge_by_exact_addr_port_digest() function. It
also relaxes the constraints of the
get_configured_bridge_by_exact_addr_port_digest() function by making it
return bridges whose identity digest is not yet known.

By using the _exact_() function, learned_router_identity() actually
fills in the identity digest of the [::1] bridge, which then allows
guard_has_descriptor() to find the right node_t and verify that the
descriptor is there.

FWIW, in the bridges+ipv6-min test both 127.0.0.1 and [::1] bridges
correspond to the same node_t, which I guess makes sense given that it's
actually the same underlying bridge.

8 years agoRevert "Restore correct behavior of 0.3.0.4-rc with bridges+ipv6-min"
George Kadianakis [Thu, 2 Mar 2017 14:47:47 +0000 (16:47 +0200)] 
Revert "Restore correct behavior of 0.3.0.4-rc with bridges+ipv6-min"

This reverts commit 5298ab59170be74aed20e04e5378ec66eef6476e.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 8 Mar 2017 15:12:27 +0000 (10:12 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 8 Mar 2017 15:12:06 +0000 (10:12 -0500)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Wed, 8 Mar 2017 15:11:23 +0000 (10:11 -0500)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 8 Mar 2017 15:11:05 +0000 (10:11 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 8 Mar 2017 15:10:44 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 8 Mar 2017 15:10:29 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoFix a memory leak in config_get_assigned_option()
Nick Mathewson [Wed, 8 Mar 2017 15:06:48 +0000 (10:06 -0500)] 
Fix a memory leak in config_get_assigned_option()

This was introducd in 4d83999213712c7 in 0.3.0.3-alpha.  This is bug
21682.

8 years agoUpdate geoip and geoip6 to the March 7 2017 database.
Karsten Loesing [Wed, 8 Mar 2017 08:41:35 +0000 (09:41 +0100)] 
Update geoip and geoip6 to the March 7 2017 database.

8 years agoMerge branch 'bug21594_030_squashed' into maint-0.3.0
Nick Mathewson [Tue, 7 Mar 2017 13:05:16 +0000 (08:05 -0500)] 
Merge branch 'bug21594_030_squashed' into maint-0.3.0

8 years agoRemove delay in hidden service introduction point checks
teor [Thu, 2 Mar 2017 04:14:45 +0000 (15:14 +1100)] 
Remove delay in hidden service introduction point checks

Make hidden services with 8 to 10 introduction points check for failed
circuits immediately after startup. Previously, they would wait for 5
minutes before performing their first checks.

Fixes bug 21594; bugfix on commit 190aac0eab9 in Tor 0.2.3.9-alpha.
Reported by alecmuffett.

8 years agoMerge remote-tracking branch 'teor/bug21576_029_v2' into maint-0.3.0
Nick Mathewson [Sun, 5 Mar 2017 01:23:38 +0000 (20:23 -0500)] 
Merge remote-tracking branch 'teor/bug21576_029_v2' into maint-0.3.0

8 years agoMake hidden services always check for failed intro point connections
teor [Thu, 2 Mar 2017 04:33:09 +0000 (15:33 +1100)] 
Make hidden services always check for failed intro point connections

Previously, they would stop checking when they exceeded their intro point
creation limit.

Fixes bug 21596; bugfix on commit d67bf8b2f23 in Tor 0.2.7.2-alpha.
Reported by alecmuffett.

8 years agoFix a crash when a connection tries to open just after it has been unlinked
teor [Wed, 1 Mar 2017 22:49:35 +0000 (09:49 +1100)] 
Fix a crash when a connection tries to open just after it has been unlinked

Fixes bug 21576; bugfix on Tor 0.2.9.3-alpha.
Reported by alecmuffett.

8 years agoBump to 0.3.0.4-rc-dev
Nick Mathewson [Wed, 1 Mar 2017 20:38:36 +0000 (15:38 -0500)] 
Bump to 0.3.0.4-rc-dev

8 years agoRestore correct behavior of 0.3.0.4-rc with bridges+ipv6-min
Nick Mathewson [Wed, 1 Mar 2017 20:02:16 +0000 (15:02 -0500)] 
Restore correct behavior of 0.3.0.4-rc with bridges+ipv6-min

In that chutney test, the bridge client is configured to connect to
the same bridge at 127.0.0.1:5003 _and_ at [::1]:5003, with no
change in transports.

That meant, I think, that the descriptor is only assigned to the
first bridge when it arrives, and never the second.

8 years agoImprove descriptor checks in the new guard algorithm.
George Kadianakis [Wed, 1 Mar 2017 10:38:12 +0000 (12:38 +0200)] 
Improve descriptor checks in the new guard algorithm.

- Make sure we check at least two guards for descriptor before making
  circuits. We typically use the first primary guard for circuits, but
  it can also happen that we use the second primary guard (e.g. if we
  pick our first primary guard as an exit), so we should make sure we
  have descriptors for both of them.

- Remove BUG() from the guard_has_descriptor() check since we now know
  that this can happen in rare but legitimate situations as well, and we
  should just move to the next guard in that case.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 1 Mar 2017 13:19:23 +0000 (08:19 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

"Ours" merge to avoid version bump

8 years agoBump to 0.2.9.10-dev
Nick Mathewson [Wed, 1 Mar 2017 13:18:54 +0000 (08:18 -0500)] 
Bump to 0.2.9.10-dev

8 years agoRemove the space before the interpreter name in test-network.sh
teor [Wed, 1 Mar 2017 01:28:16 +0000 (12:28 +1100)] 
Remove the space before the interpreter name in test-network.sh

Apparently some unixes don't like this.
Part of #21581.

8 years agoRemove a spurious test-network-all warning that triggers when sh is not bash
teor [Wed, 1 Mar 2017 00:54:31 +0000 (11:54 +1100)] 
Remove a spurious test-network-all warning that triggers when sh is not bash

Part of 21581.

8 years agoRestore support for test-network.sh on BSD and other systems without bash
teor [Wed, 1 Mar 2017 00:21:07 +0000 (11:21 +1100)] 
Restore support for test-network.sh on BSD and other systems without bash

(But use bash if it's available.)
This is a workaround until we remove bash-specific code in 19699.

Fixes bug 21581; bugfix on 21562, not in any released version of tor.

8 years agobump version to 0.3.0.4-rc
Nick Mathewson [Tue, 28 Feb 2017 15:40:08 +0000 (10:40 -0500)] 
bump version to 0.3.0.4-rc

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Tue, 28 Feb 2017 15:39:29 +0000 (10:39 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

This is an "ours" merge to avoid a version bump.

8 years agobump version to 0.2.9.10
Nick Mathewson [Tue, 28 Feb 2017 15:38:55 +0000 (10:38 -0500)] 
bump version to 0.2.9.10

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 28 Feb 2017 15:38:31 +0000 (10:38 -0500)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

This is an "ours" merge to avoid taking a version bump

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Tue, 28 Feb 2017 15:37:25 +0000 (10:37 -0500)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

This is an "ours" merge to avoid taking a version bump, and to
avoid replaying the post-0.2.7.6 history of "maint-0.2.7-redux" onto maint-0.2.8, which already included the relevant changes.

8 years agobump version to 0.2.8.13
Nick Mathewson [Tue, 28 Feb 2017 15:34:33 +0000 (10:34 -0500)] 
bump version to 0.2.8.13

8 years agoBump version to 0.2.7.7
Nick Mathewson [Tue, 28 Feb 2017 15:27:20 +0000 (10:27 -0500)] 
Bump version to 0.2.7.7

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 28 Feb 2017 15:26:45 +0000 (10:26 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

"ours" merge to avoid version bumps

8 years agobump to 0.2.6.11
Nick Mathewson [Tue, 28 Feb 2017 15:26:24 +0000 (10:26 -0500)] 
bump to 0.2.6.11

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 28 Feb 2017 15:25:51 +0000 (10:25 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

"ours" merge to avoid version bumps

8 years agoBump version to 0.2.5.13
Nick Mathewson [Tue, 28 Feb 2017 15:23:20 +0000 (10:23 -0500)] 
Bump version to 0.2.5.13

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 28 Feb 2017 15:22:36 +0000 (10:22 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

"ours" merge to avoid bumping version

8 years agoBump to 0.2.4.28
Nick Mathewson [Tue, 28 Feb 2017 15:20:46 +0000 (10:20 -0500)] 
Bump to 0.2.4.28

8 years agoMerge remote-tracking branch 'public/bug21007_case2_030' into maint-0.3.0
Nick Mathewson [Tue, 28 Feb 2017 13:28:46 +0000 (08:28 -0500)] 
Merge remote-tracking branch 'public/bug21007_case2_030' into maint-0.3.0

8 years agoMerge branch 'bug21027_v2_squashed' into maint-0.3.0
Nick Mathewson [Tue, 28 Feb 2017 13:16:43 +0000 (08:16 -0500)] 
Merge branch 'bug21027_v2_squashed' into maint-0.3.0

8 years agoChange approach to preventing duplicate guards.
Nick Mathewson [Tue, 14 Feb 2017 17:21:31 +0000 (12:21 -0500)] 
Change approach to preventing duplicate guards.

Previously I'd made a bad assumption in the implementation of
prop271 in 0.3.0.1-alpha: I'd assumed that there couldn't be two
guards with the same identity.  That's true for non-bridges, but in
the bridge case, we allow two bridges to have the same ID if they
have different addr:port combinations -- in order to have the same
bridge ID running multiple PTs.

Fortunately, this assumption wasn't deeply ingrained: we stop
enforcing the "one guard per ID" rule in the bridge case, and
instead enforce "one guard per <id,addr,port>".

We also needed to tweak our implementation of
get_bridge_info_for_guard, since it made the same incorrect
assumption.

Fixes bug 21027; bugfix on 0.3.0.1-alpha.

8 years agoMerge remote-tracking branch 'teor/feature21570-030' into maint-0.3.0
Nick Mathewson [Mon, 27 Feb 2017 16:36:39 +0000 (11:36 -0500)] 
Merge remote-tracking branch 'teor/feature21570-030' into maint-0.3.0

8 years agoMerge branch 'bug21369_check_029_squashed' into maint-0.3.0
Nick Mathewson [Mon, 27 Feb 2017 16:25:34 +0000 (11:25 -0500)] 
Merge branch 'bug21369_check_029_squashed' into maint-0.3.0

8 years agoMerge branch 'bug21420_029_squashed' into maint-0.3.0
Nick Mathewson [Mon, 27 Feb 2017 16:20:39 +0000 (11:20 -0500)] 
Merge branch 'bug21420_029_squashed' into maint-0.3.0

8 years agoRevise the logic for picking the start time for link certs
Nick Mathewson [Mon, 13 Feb 2017 20:37:41 +0000 (15:37 -0500)] 
Revise the logic for picking the start time for link certs

Since 0.2.4.11-alpha (in 0196647970a91d) we've tried to randomize
the start time to up to some time in the past.  But unfortunately we
allowed the start time to be in the future as well, which isn't
really legit.

The new behavior lets the start time be be up to
MAX(cert_lifetime-2days, 0) in the past, but never in the future.

Fixes bug 21420; bugfix on 0.2.4.11-alpha.

8 years agoMerge remote-tracking branch 'teor/bug20711' into maint-0.3.0
Nick Mathewson [Mon, 27 Feb 2017 16:00:02 +0000 (11:00 -0500)] 
Merge remote-tracking branch 'teor/bug20711' into maint-0.3.0

8 years agoUse bash in src/test/test-network.sh
teor [Mon, 27 Feb 2017 05:11:22 +0000 (16:11 +1100)] 
Use bash in src/test/test-network.sh

This ensures we reliably call chutney's newer tools/test-network.sh when
available.

Fixes bug 21562; bugfix on tor-0.2.9.1-alpha.

8 years agoReserve a test-network.sh exit status of 2 for unknown arguments
teor [Mon, 27 Feb 2017 15:02:32 +0000 (02:02 +1100)] 
Reserve a test-network.sh exit status of 2 for unknown arguments

Part of 21570.

8 years agoLog tor warnings during 'make test-network-all'
teor [Mon, 27 Feb 2017 14:46:16 +0000 (01:46 +1100)] 
Log tor warnings during 'make test-network-all'

Requires the chutney changes from 21572.
(Otherwise, asks users to upgrade their chutney.)

Implements 21570.

8 years agoAdd one other BUG check to try to fix/solve 21369.
Nick Mathewson [Mon, 27 Feb 2017 14:12:51 +0000 (09:12 -0500)] 
Add one other BUG check to try to fix/solve 21369.

Teor thinks that this connection_dirserv_add_dir_bytes_to_outbuf()
might be the problem, if the "remaining" calculation underflows.  So
I'm adding a couple of checks there, and improving the casts.

8 years agoTry to check for (and prevent) buffer size INT_MAX overflow better.
Nick Mathewson [Mon, 13 Feb 2017 20:51:55 +0000 (15:51 -0500)] 
Try to check for (and prevent) buffer size INT_MAX overflow better.

Possible fix or diagnostic for 21369.

8 years agoAdd a quiet mode to test-network.sh
teor [Mon, 27 Feb 2017 14:45:30 +0000 (01:45 +1100)] 
Add a quiet mode to test-network.sh

Requires the equivalent chutney changes in 21571.

Part of 21570.

8 years agoMerge remote-tracking branch 'public/bug21472_030' into maint-0.3.0
Nick Mathewson [Mon, 27 Feb 2017 13:38:14 +0000 (08:38 -0500)] 
Merge remote-tracking branch 'public/bug21472_030' into maint-0.3.0

8 years agoWhitespace fix.
Nick Mathewson [Fri, 24 Feb 2017 16:37:33 +0000 (11:37 -0500)] 
Whitespace fix.

8 years agohs: Fix bad use of sizeof() when encoding ESTABLISH_INTRO legacy cell
David Goulet [Fri, 24 Feb 2017 14:48:14 +0000 (09:48 -0500)] 
hs: Fix bad use of sizeof() when encoding ESTABLISH_INTRO legacy cell

When encoding a legacy ESTABLISH_INTRO cell, we were using the sizeof() on a
pointer instead of using the real size of the destination buffer leading to an
overflow passing an enormous value to the signing digest function.
Fortunately, that value was only used to make sure the destination buffer
length was big enough for the key size and in this case it always was because
of the overflow.

Fixes #21553

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 years agoAlso allow C_MEASURE_TIMEOUT circuits to lack guard state.
Nick Mathewson [Fri, 24 Feb 2017 16:12:21 +0000 (11:12 -0500)] 
Also allow C_MEASURE_TIMEOUT circuits to lack guard state.

Fixes a case of 21007; bugfix on 0.3.0.1-alpha when prop271 was
implemented. Found by toralf.

8 years agoSmall fixes to fuzzing documentation.
Nick Mathewson [Fri, 24 Feb 2017 15:57:58 +0000 (10:57 -0500)] 
Small fixes to fuzzing documentation.

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Fri, 17 Feb 2017 22:10:47 +0000 (17:10 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoRemove a redundant check in ..transition_affects_guards()
Nick Mathewson [Fri, 17 Feb 2017 16:46:38 +0000 (11:46 -0500)] 
Remove a redundant check in ..transition_affects_guards()

scan-build found that we we checking UseEntryGuards twice.

Fixes bug 21492.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 17 Feb 2017 16:32:45 +0000 (11:32 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoCheck for micro < 0, rather than checking "minor" twice.
Nick Mathewson [Fri, 17 Feb 2017 16:31:39 +0000 (11:31 -0500)] 
Check for micro < 0, rather than checking "minor" twice.

Bug found with clang scan-build.  Fixes bug on f63e06d3dc6757d.
Bug not present in any released Tor.

8 years agohs: Avoid a strlen(NULL) if descriptor is not found in cache
David Goulet [Wed, 15 Feb 2017 15:27:32 +0000 (10:27 -0500)] 
hs: Avoid a strlen(NULL) if descriptor is not found in cache

Instead of returning 404 error code, this led to a NULL pointer being used and
thus a crash of tor.

Fixes #21471

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 years agoMerge branch 'maint-0.2.9'
Nick Mathewson [Wed, 15 Feb 2017 13:19:51 +0000 (08:19 -0500)] 
Merge branch 'maint-0.2.9'

8 years agowhoops; make 21450 compile
Nick Mathewson [Wed, 15 Feb 2017 13:19:37 +0000 (08:19 -0500)] 
whoops; make 21450 compile

8 years agoMerge branch 'bug21447'
Nick Mathewson [Wed, 15 Feb 2017 13:08:25 +0000 (08:08 -0500)] 
Merge branch 'bug21447'

8 years agoMerge branch 'maint-0.2.9'
Nick Mathewson [Wed, 15 Feb 2017 12:58:15 +0000 (07:58 -0500)] 
Merge branch 'maint-0.2.9'

8 years agoLimit version numbers to 0...INT32_MAX.
Nick Mathewson [Wed, 15 Feb 2017 12:57:34 +0000 (07:57 -0500)] 
Limit version numbers to 0...INT32_MAX.

Closes 21450; patch from teor.

8 years agoMerge branch 'maint-0.2.9'
Nick Mathewson [Wed, 15 Feb 2017 12:53:01 +0000 (07:53 -0500)] 
Merge branch 'maint-0.2.9'

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 15 Feb 2017 12:52:54 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 15 Feb 2017 12:52:47 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7 maint-0.2.7
Nick Mathewson [Wed, 15 Feb 2017 12:52:41 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:52:33 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.8' of git-rw.torproject.org:/tor into maint-0.2.8
Nick Mathewson [Wed, 15 Feb 2017 12:51:57 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.8' of git-rw.torproject.org:/tor into maint-0.2.8

8 years agoMerge branch 'maint-0.2.7' of git-rw.torproject.org:/tor into maint-0.2.7
Nick Mathewson [Wed, 15 Feb 2017 12:51:48 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.7' of git-rw.torproject.org:/tor into maint-0.2.7

8 years agoMerge branch 'maint-0.2.6' of git-rw.torproject.org:/tor into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:51:41 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.6' of git-rw.torproject.org:/tor into maint-0.2.6

8 years agoMerge branch 'maint-0.2.5' of git-rw.torproject.org:/tor into maint-0.2.5
Nick Mathewson [Wed, 15 Feb 2017 12:51:33 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.5' of git-rw.torproject.org:/tor into maint-0.2.5

8 years agoMerge branch 'maint-0.2.9'
Nick Mathewson [Wed, 15 Feb 2017 12:48:42 +0000 (07:48 -0500)] 
Merge branch 'maint-0.2.9'

8 years agoMerge branch 'bug21278_extra_029' into maint-0.2.9
Nick Mathewson [Wed, 15 Feb 2017 12:48:30 +0000 (07:48 -0500)] 
Merge branch 'bug21278_extra_029' into maint-0.2.9

8 years agoMerge branch 'bug21278_redux_029_squashed' into maint-0.2.9
Nick Mathewson [Wed, 15 Feb 2017 12:48:18 +0000 (07:48 -0500)] 
Merge branch 'bug21278_redux_029_squashed' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 15 Feb 2017 12:48:10 +0000 (07:48 -0500)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 15 Feb 2017 12:47:28 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Wed, 15 Feb 2017 12:47:21 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:47:12 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 15 Feb 2017 12:47:04 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agogive tor_version_parse_platform some function documentation
Roger Dingledine [Tue, 14 Feb 2017 08:52:01 +0000 (03:52 -0500)] 
give tor_version_parse_platform some function documentation

8 years agoWhen examining descriptors as a dirserver, reject ones with bad versions
Nick Mathewson [Mon, 13 Feb 2017 16:18:04 +0000 (11:18 -0500)] 
When examining descriptors as a dirserver, reject ones with bad versions

This is an extra fix for bug 21278: it ensures that these
descriptors and platforms will never be listed in a legit consensus.

8 years agoExtract the part of tor_version_as_new_as that extracts platform
Nick Mathewson [Mon, 13 Feb 2017 16:17:16 +0000 (11:17 -0500)] 
Extract the part of tor_version_as_new_as that extracts platform

Also add a "strict" mode to reject negative inputs.

8 years agoMerge remote-tracking branch 'dgoulet/ticket20656_030_01'
Nick Mathewson [Wed, 15 Feb 2017 00:15:10 +0000 (19:15 -0500)] 
Merge remote-tracking branch 'dgoulet/ticket20656_030_01'

8 years agoMerge branch 'bug20894_029_v3'
Nick Mathewson [Wed, 15 Feb 2017 00:10:20 +0000 (19:10 -0500)] 
Merge branch 'bug20894_029_v3'

8 years agoRename make fuzz to make test-fuzz-corpora
Nick Mathewson [Tue, 14 Feb 2017 23:04:10 +0000 (18:04 -0500)] 
Rename make fuzz to make test-fuzz-corpora

8 years agofixup! Don't atoi off the end of a buffer chunk.
Nick Mathewson [Tue, 14 Feb 2017 21:45:18 +0000 (16:45 -0500)] 
fixup! Don't atoi off the end of a buffer chunk.

Use STATIC.