]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoUse tor_addr_from_getsockname() in several places
Nick Mathewson [Fri, 26 Jan 2018 16:59:01 +0000 (11:59 -0500)] 
Use tor_addr_from_getsockname() in several places

I'm leaving the getsockname code in transproxy alone, since it is
comparatively isolated, rather platform-specific, and hard to test.

Implements 18105.

7 years agoAdd a new tor_addr_from_getsockname()
Nick Mathewson [Fri, 26 Jan 2018 16:48:45 +0000 (11:48 -0500)] 
Add a new tor_addr_from_getsockname()

We use this pattern all over, and this should simplify matters a
bit.  Part of 18105.

7 years agoMerge remote-tracking branch 'ahf-oniongit/bugs/25026'
Nick Mathewson [Thu, 25 Jan 2018 18:57:37 +0000 (13:57 -0500)] 
Merge remote-tracking branch 'ahf-oniongit/bugs/25026'

7 years agoBump version to 0.3.3.1-alpha-dev
Nick Mathewson [Thu, 25 Jan 2018 18:50:55 +0000 (13:50 -0500)] 
Bump version to 0.3.3.1-alpha-dev

7 years agoReflow changelog tor-0.3.3.1-alpha
Nick Mathewson [Thu, 25 Jan 2018 18:27:49 +0000 (13:27 -0500)] 
Reflow changelog

7 years agoWe do not put a colon here.
Nick Mathewson [Thu, 25 Jan 2018 16:55:49 +0000 (11:55 -0500)] 
We do not put a colon here.

7 years agobump version to 0.3.3.1-alpha
Nick Mathewson [Thu, 25 Jan 2018 16:48:42 +0000 (11:48 -0500)] 
bump version to 0.3.3.1-alpha

7 years agoProofreading step by seborn (thx)
Nick Mathewson [Thu, 25 Jan 2018 16:37:01 +0000 (11:37 -0500)] 
Proofreading step by seborn (thx)

7 years agofinish writing the blurb
Nick Mathewson [Thu, 25 Jan 2018 16:05:25 +0000 (11:05 -0500)] 
finish writing the blurb

7 years agoMore editing on the ChangeLog
Nick Mathewson [Thu, 25 Jan 2018 16:00:30 +0000 (11:00 -0500)] 
More editing on the ChangeLog

7 years agoUpdate HiddenServiceVersion man-page entry to only accept either 2 or 3.
Alexander Færøy [Thu, 25 Jan 2018 15:49:12 +0000 (16:49 +0100)] 
Update HiddenServiceVersion man-page entry to only accept either 2 or 3.

This patch updates the HiddenServiceVersion man-page entry to only
accept either 2 or 3 as argument and not a list of multiple versions.

See: https://bugs.torproject.org/25026

7 years agospellcheck the changelog
Nick Mathewson [Thu, 25 Jan 2018 15:05:51 +0000 (10:05 -0500)] 
spellcheck the changelog

7 years agore-sort and re-flow the changelog
Nick Mathewson [Thu, 25 Jan 2018 15:02:52 +0000 (10:02 -0500)] 
re-sort and re-flow the changelog

7 years agoLight changelog relabeling and editing
Nick Mathewson [Thu, 25 Jan 2018 15:02:34 +0000 (10:02 -0500)] 
Light changelog relabeling and editing

7 years agoStart on a changelog for 0.3.1.1-alpha
Nick Mathewson [Wed, 24 Jan 2018 22:08:13 +0000 (17:08 -0500)] 
Start on a changelog for 0.3.1.1-alpha

7 years agoRemove changes files that also appeared in 0.3.2.9
Nick Mathewson [Wed, 24 Jan 2018 22:01:44 +0000 (17:01 -0500)] 
Remove changes files that also appeared in 0.3.2.9

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Wed, 24 Jan 2018 17:09:07 +0000 (12:09 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoFix a memory leak in build_unopened_fourhop
Nick Mathewson [Wed, 24 Jan 2018 17:08:39 +0000 (12:08 -0500)] 
Fix a memory leak in build_unopened_fourhop

This is a unit-test-only leak, but let's fix it anyway so it doesn't
hide real bugs.

Bug not in any released version of Tor.

7 years agoFix a memory leak in scheduler/loop_kist
Nick Mathewson [Wed, 24 Jan 2018 17:07:45 +0000 (12:07 -0500)] 
Fix a memory leak in scheduler/loop_kist

Fixes bug 25005.

7 years agoAdd missing static keywords
Taylor Yu [Tue, 23 Jan 2018 21:57:35 +0000 (15:57 -0600)] 
Add missing static keywords

crypto_openssl_header_version_str and crypto_openssl_version_str in
crypto_openssl_mgt.c should be static.

7 years agoopenssl_mutexes code belongs in openssl_mgt.c
Nick Mathewson [Tue, 23 Jan 2018 19:43:06 +0000 (14:43 -0500)] 
openssl_mutexes code belongs in openssl_mgt.c

7 years agoadd a missing "compat_openssl.h"
Nick Mathewson [Tue, 23 Jan 2018 19:41:46 +0000 (14:41 -0500)] 
add a missing "compat_openssl.h"

7 years agoperhaps this was the missing include?
Nick Mathewson [Tue, 23 Jan 2018 19:19:25 +0000 (14:19 -0500)] 
perhaps this was the missing include?

7 years agoAdd a missing include for openssl 1.0.2
Nick Mathewson [Tue, 23 Jan 2018 19:16:53 +0000 (14:16 -0500)] 
Add a missing include for openssl 1.0.2

7 years agoMerge remote-tracking branch 'mikeperry/bug24946'
Nick Mathewson [Tue, 23 Jan 2018 19:08:47 +0000 (14:08 -0500)] 
Merge remote-tracking branch 'mikeperry/bug24946'

7 years agoMerge remote-tracking branch 'asn/bug24896'
Nick Mathewson [Tue, 23 Jan 2018 19:06:27 +0000 (14:06 -0500)] 
Merge remote-tracking branch 'asn/bug24896'

7 years agoMerge remote-tracking branch 'ffmancera/bug24658-openssl'
Nick Mathewson [Tue, 23 Jan 2018 19:02:45 +0000 (14:02 -0500)] 
Merge remote-tracking branch 'ffmancera/bug24658-openssl'

7 years agoAdd onion service activity information to our heartbeat logs.
George Kadianakis [Tue, 23 Jan 2018 10:31:06 +0000 (12:31 +0200)] 
Add onion service activity information to our heartbeat logs.

7 years agoMove the openssl namespace back into .c files.
Fernando Fernandez Mancera [Mon, 22 Jan 2018 15:48:33 +0000 (16:48 +0100)] 
Move the openssl namespace back into .c files.

As we're trying not to have all the other modules in Tor, we moved the openssl
namespace includes back into crypto.c and crypto_openssl_mgt.c files.

Follows #24658.

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
7 years agoBug 24946: Fix a warning message caused by a missed purpose check.
Mike Perry [Sat, 20 Jan 2018 03:16:24 +0000 (03:16 +0000)] 
Bug 24946: Fix a warning message caused by a missed purpose check.

Also fix three other checks (found by inspection of all
CIRCUIT_PURPOSE_C_GENERAL occurrences).

7 years agooxford comma for-the-win
Roger Dingledine [Fri, 19 Jan 2018 23:42:53 +0000 (18:42 -0500)] 
oxford comma for-the-win

7 years agoAdd a "falls through" comment to make gcc happy.
Nick Mathewson [Fri, 19 Jan 2018 22:29:36 +0000 (17:29 -0500)] 
Add a "falls through" comment to make gcc happy.

7 years agoMerge remote-tracking branch 'mikeperry/bug23101-mergeready-squashed'
Nick Mathewson [Fri, 19 Jan 2018 22:28:10 +0000 (17:28 -0500)] 
Merge remote-tracking branch 'mikeperry/bug23101-mergeready-squashed'

7 years agoBug 23101: Pre-build HS-specific circuits (instead of general).
Mike Perry [Fri, 22 Dec 2017 06:35:29 +0000 (06:35 +0000)] 
Bug 23101: Pre-build HS-specific circuits (instead of general).

Prebuilt circs are 4 hops, since only server side HSDIR and intro circs
are 3 hops, and it is OK if those sometimes take longer to build.

7 years agoAdd new circuit purposes for hsdir activity.
Mike Perry [Sat, 2 Dec 2017 02:28:16 +0000 (02:28 +0000)] 
Add new circuit purposes for hsdir activity.

This lets us control their path len and usage.

7 years agoImplement layer 2 and layer 3 guard pinning via torrc.
Mike Perry [Fri, 22 Dec 2017 05:43:44 +0000 (05:43 +0000)] 
Implement layer 2 and layer 3 guard pinning via torrc.

Block circuit canibalization when HSRendezvousMiddleNodes is active.
Also make it apply to all HS circuits, not just rends.

7 years agoMerge branch 'disable_signal_handlers'
Nick Mathewson [Fri, 19 Jan 2018 21:35:24 +0000 (16:35 -0500)] 
Merge branch 'disable_signal_handlers'

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Fri, 19 Jan 2018 21:30:53 +0000 (16:30 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 19 Jan 2018 21:30:50 +0000 (16:30 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'dgoulet/bug24895_032_02' into maint-0.3.2
Nick Mathewson [Fri, 19 Jan 2018 21:30:44 +0000 (16:30 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24895_032_02' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 21:30:12 +0000 (16:30 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid maint-0.3.0's version of 24895.

7 years agoMerge remote-tracking branch 'dgoulet/bug24895_031_02' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 21:30:02 +0000 (16:30 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24895_031_02' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0 maint-0.3.0
Nick Mathewson [Fri, 19 Jan 2018 21:29:43 +0000 (16:29 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

 Conflicts:
        src/or/rendservice.c

7 years agoMerge remote-tracking branch 'dgoulet/bug24895_029_02' into maint-0.2.9
Nick Mathewson [Fri, 19 Jan 2018 21:29:15 +0000 (16:29 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24895_029_02' into maint-0.2.9

7 years agoMerge branch 'bug24895_031_02' into bug24895_032_02
David Goulet [Fri, 19 Jan 2018 21:26:26 +0000 (16:26 -0500)] 
Merge branch 'bug24895_031_02' into bug24895_032_02

7 years agoMerge branch 'bug24895_029_02' into bug24895_031_02
David Goulet [Fri, 19 Jan 2018 21:21:55 +0000 (16:21 -0500)] 
Merge branch 'bug24895_029_02' into bug24895_031_02

7 years agohs: Use hs_service_max_rdv_failures consensus param, defaulting to 2
Roger Dingledine [Fri, 19 Jan 2018 08:00:43 +0000 (03:00 -0500)] 
hs: Use hs_service_max_rdv_failures consensus param, defaulting to 2

7 years agoAdd crypto_openssl_mgt.[ch] for compiling dependencies.
Fernando Fernandez Mancera [Fri, 19 Jan 2018 17:56:13 +0000 (18:56 +0100)] 
Add crypto_openssl_mgt.[ch] for compiling dependencies.

Included crypto_openssl_mgt.[ch] into the appropiate files in order to resolve
compiling and dependencies issues.

Follows #24658.

Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
7 years agoTweaks into functions and variables in crypto_openssl_mgt.[ch]
Fernando Fernandez Mancera [Fri, 19 Jan 2018 17:07:49 +0000 (18:07 +0100)] 
Tweaks into functions and variables in crypto_openssl_mgt.[ch]

Renamed free_openssl() to crypto_openssl_free_all(). Also we made variables and
functions static again.

Follows #24658.

Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Fri, 19 Jan 2018 15:18:59 +0000 (10:18 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge remote-tracking branch 'tlyu-github/travis-workaround-master'
Nick Mathewson [Fri, 19 Jan 2018 15:18:55 +0000 (10:18 -0500)] 
Merge remote-tracking branch 'tlyu-github/travis-workaround-master'

7 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Fri, 19 Jan 2018 15:18:35 +0000 (10:18 -0500)] 
Merge branch 'maint-0.3.1'

"ours" merge to avoid the 0.3.1 version of the 24863 fix.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 19 Jan 2018 15:18:29 +0000 (10:18 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'tlyu-github/travis-workaround-031' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 15:18:21 +0000 (10:18 -0500)] 
Merge remote-tracking branch 'tlyu-github/travis-workaround-031' into maint-0.3.1

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 15:17:33 +0000 (10:17 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid 0.2.5 version of #24863 fix.

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 19 Jan 2018 15:17:05 +0000 (10:17 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'maint-0.2.5' into maint-0.2.9
Nick Mathewson [Fri, 19 Jan 2018 15:16:47 +0000 (10:16 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.9

7 years agoImprove documentation for signal code
Nick Mathewson [Fri, 19 Jan 2018 15:02:20 +0000 (10:02 -0500)] 
Improve documentation for signal code

7 years agoMerge branch 'restart_debug_squashed'
Nick Mathewson [Fri, 19 Jan 2018 14:52:14 +0000 (09:52 -0500)] 
Merge branch 'restart_debug_squashed'

7 years agoAdd a mostly disabled feature to debug restarting in-process
Nick Mathewson [Mon, 11 Dec 2017 15:57:00 +0000 (10:57 -0500)] 
Add a mostly disabled feature to debug restarting in-process

For 23847, we want Tor to be able to shut down and then restart in
the same process.  Here's a patch to make the Tor binary do that.
To test it, you need to build with --enable-restart-debugging, and
then you need to set the environment variable TOR_DEBUG_RESTART.
With this option, Tor will then run for 5 seconds, then restart
itself in-process without exiting.  This only happens once.

You can change the 5-second interval using
TOR_DEBUG_RESTART_AFTER_SECONDS.

Implements ticket 24583.

7 years agoDon't call Libevent's event_base_free() on NULL.
Nick Mathewson [Fri, 19 Jan 2018 14:45:10 +0000 (09:45 -0500)] 
Don't call Libevent's event_base_free() on NULL.

It doesn't crash, but it produces a warning.

Fixes bug 24933; bugfix on 322abc030e53c7e84ca9f22a47b2965f2. Bug
not in any released Tor.

7 years agoturn MAX_REND_FAILURES into a function
Roger Dingledine [Fri, 19 Jan 2018 07:38:07 +0000 (02:38 -0500)] 
turn MAX_REND_FAILURES into a function

no actual changes in behavior

7 years agoMAX_REND_FAILURES is 1, but we would try three times
Roger Dingledine [Mon, 15 Jan 2018 21:30:55 +0000 (16:30 -0500)] 
MAX_REND_FAILURES is 1, but we would try three times

Fix an "off by 2" error in counting rendezvous failures on the onion
service side.

While we thought we would stop the rendezvous attempt after one failed
circuit, we were actually making three circuit attempts before giving up.

Fixes bug 24895; bugfix on 0.0.6.

7 years agoRename crypto_openssl.[ch] to crypto_openssl_mgt.[ch]
Fernando Fernandez Mancera [Thu, 18 Jan 2018 20:02:26 +0000 (21:02 +0100)] 
Rename crypto_openssl.[ch] to crypto_openssl_mgt.[ch]

Rename crypto_openssl.[ch] to crypto_openssl_mgt.[ch] because it is possible we
need crypto_openssl.[ch] in the future.

Follows #24658.

Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Thu, 18 Jan 2018 13:13:48 +0000 (08:13 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Thu, 18 Jan 2018 13:13:48 +0000 (08:13 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'bug24826_031' into maint-0.3.1
Nick Mathewson [Thu, 18 Jan 2018 13:13:45 +0000 (08:13 -0500)] 
Merge branch 'bug24826_031' into maint-0.3.1

7 years agoWork around Travis CI ptrace regression
Taylor Yu [Wed, 10 Jan 2018 20:52:04 +0000 (14:52 -0600)] 
Work around Travis CI ptrace regression

Travis CI deployed a change that disables ptrace capabilities in
container builds, which prevents LeakSanitizer on clang from working
properly.  Set "sudo: required" to force non-container builds for
clang and work around this.

7 years agoWork around Travis CI ptrace regression
Taylor Yu [Wed, 10 Jan 2018 20:52:04 +0000 (14:52 -0600)] 
Work around Travis CI ptrace regression

Travis CI deployed a change that disables ptrace capabilities in
container builds, which prevents LeakSanitizer on clang from working
properly.  Set "sudo: required" to force non-container builds for
clang and work around this.

7 years agoWork around Travis CI ptrace regression
Taylor Yu [Wed, 10 Jan 2018 20:52:04 +0000 (14:52 -0600)] 
Work around Travis CI ptrace regression

Travis CI deployed a change that disables ptrace capabilities in
container builds, which prevents LeakSanitizer on clang from working
properly.  Set "sudo: required" to force non-container builds for
clang and work around this.

7 years agoMerge branch 'bug22798_029_squashed'
Nick Mathewson [Wed, 17 Jan 2018 18:26:41 +0000 (13:26 -0500)] 
Merge branch 'bug22798_029_squashed'

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Wed, 17 Jan 2018 16:13:18 +0000 (11:13 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 17 Jan 2018 16:12:15 +0000 (11:12 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Wed, 17 Jan 2018 15:50:58 +0000 (10:50 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge remote-tracking branch 'arma/bug24894' into maint-0.3.2
Nick Mathewson [Wed, 17 Jan 2018 15:49:45 +0000 (10:49 -0500)] 
Merge remote-tracking branch 'arma/bug24894' into maint-0.3.2

7 years agoupdate comment; ignore argument on non-win
Nick Mathewson [Tue, 16 Jan 2018 19:35:49 +0000 (14:35 -0500)] 
update comment; ignore argument on non-win

7 years agoImprove Windows performance with SIO_IDEAL_SEND_BACKLOG_QUERY.
Nick Mathewson [Tue, 16 Jan 2018 19:23:56 +0000 (14:23 -0500)] 
Improve Windows performance with SIO_IDEAL_SEND_BACKLOG_QUERY.

Patch written by "Vort" on trac. Addresses ticket 22798.

7 years agoMerge branch 'bug21074_029'
Nick Mathewson [Wed, 17 Jan 2018 14:07:50 +0000 (09:07 -0500)] 
Merge branch 'bug21074_029'

7 years agoAdd a cast to avoid a signed/unsigned comparison
Nick Mathewson [Wed, 17 Jan 2018 14:06:32 +0000 (09:06 -0500)] 
Add a cast to avoid a signed/unsigned comparison

7 years agofix a check-changes warning
Nick Mathewson [Tue, 16 Jan 2018 19:41:43 +0000 (14:41 -0500)] 
fix a check-changes warning

7 years agoMerge branch 'bug21074_029'
Nick Mathewson [Tue, 16 Jan 2018 19:13:39 +0000 (14:13 -0500)] 
Merge branch 'bug21074_029'

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Tue, 16 Jan 2018 18:36:48 +0000 (13:36 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge remote-tracking branch 'public/bug24652_032' into maint-0.3.2
Nick Mathewson [Tue, 16 Jan 2018 18:35:52 +0000 (13:35 -0500)] 
Merge remote-tracking branch 'public/bug24652_032' into maint-0.3.2

7 years agoMerge branch 'stack_em_up'
Nick Mathewson [Tue, 16 Jan 2018 18:31:29 +0000 (13:31 -0500)] 
Merge branch 'stack_em_up'

7 years agoRepair a crash bug in src/test/bench
Nick Mathewson [Tue, 16 Jan 2018 18:29:11 +0000 (13:29 -0500)] 
Repair a crash bug in src/test/bench

This was caused because of the new KeyDirectory and CacheDirectory
options not being set. Bugfix on 0.3.3.0-alpha; not in any released
Tor.

7 years agoImprove fragile-hardening performance of consensus_split_lines.
Nick Mathewson [Tue, 16 Jan 2018 17:42:40 +0000 (12:42 -0500)] 
Improve fragile-hardening performance of consensus_split_lines.

For whatever reason, in my testing, using memchr() here improves
performance over strchr() by a great deal.

Fixes bug 24826; bugfix on 0.3.1.1-alpha.

7 years agoUpdate scan-build.sh to work with the latest clangalyzer
Nick Mathewson [Tue, 16 Jan 2018 13:56:07 +0000 (08:56 -0500)] 
Update scan-build.sh to work with the latest clangalyzer

7 years agoFix a (spurious) scan-build warning in test_introduce1_validation()
Nick Mathewson [Tue, 16 Jan 2018 13:36:34 +0000 (08:36 -0500)] 
Fix a (spurious) scan-build warning in test_introduce1_validation()

Since helper_create_introduce1_cell() checks "cell" for nullness,
scan-build is concerned that test_introduce1_validation()
dereferences it without checking it.  So, add a check.

Not backporting, since this is spurious, _and_ tests-only.

7 years agoRemove false positives from channel_is_client()
Roger Dingledine [Tue, 16 Jan 2018 03:33:40 +0000 (22:33 -0500)] 
Remove false positives from channel_is_client()

Fix a set of false positives where relays would consider connections
to other relays as being client-only connections (and thus e.g.
deserving different link padding schemes) if those relays fell out
of the consensus briefly.

Now we look only at the initial handshake and whether the connection
authenticated as a relay.

Fixes bug 24898; bugfix on 0.3.1.1-alpha.

7 years agov3 onion services now obey MAX_REND_FAILURES
Roger Dingledine [Mon, 15 Jan 2018 21:41:47 +0000 (16:41 -0500)] 
v3 onion services now obey MAX_REND_FAILURES

New-style (v3) onion services now obey the "max rendezvous circuit
attempts" logic.

Previously they would make as many rendezvous circuit attempts as they
could fit in the MAX_REND_TIMEOUT second window before giving up.

Fixes bug 24894; bugfix on 0.3.2.1-alpha.

7 years agoRemove a needless changefile. (Needless because bug not released.)
Nick Mathewson [Fri, 12 Jan 2018 18:30:06 +0000 (13:30 -0500)] 
Remove a needless changefile. (Needless because bug not released.)

7 years agoMerge remote-tracking branch 'ffmancera/bug24861'
Nick Mathewson [Fri, 12 Jan 2018 18:29:53 +0000 (13:29 -0500)] 
Merge remote-tracking branch 'ffmancera/bug24861'

7 years agoFix minGW compatibility issue with zu format specifier.
Fernando Fernandez Mancera [Fri, 12 Jan 2018 16:44:30 +0000 (17:44 +0100)] 
Fix minGW compatibility issue with zu format specifier.

Define TOR_PRIuSZ as minGW compiler doesn't support zu format specifier for
size_t type.

Fixes #24861 on ac9eebd.

Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Fri, 12 Jan 2018 01:00:39 +0000 (20:00 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoReword requirement to set Myfamily correctly
Sebastian Hahn [Thu, 11 Jan 2018 21:03:14 +0000 (22:03 +0100)] 
Reword requirement to set Myfamily correctly

7 years agoNote contactinfo and myfamily as required in more places
Nick Mathewson [Wed, 20 Dec 2017 16:10:14 +0000 (11:10 -0500)] 
Note contactinfo and myfamily as required in more places

Includes a sentence from cypherpunks; for ticket 24526.

7 years agoMerge remote-tracking branch 'sebastian/myfamily'
Nick Mathewson [Fri, 12 Jan 2018 00:59:32 +0000 (19:59 -0500)] 
Merge remote-tracking branch 'sebastian/myfamily'

7 years agoMerge branch 'bug24582'
Nick Mathewson [Fri, 12 Jan 2018 00:57:57 +0000 (19:57 -0500)] 
Merge branch 'bug24582'

7 years agoReword requirement to set Myfamily correctly
Sebastian Hahn [Thu, 11 Jan 2018 21:03:14 +0000 (22:03 +0100)] 
Reword requirement to set Myfamily correctly

7 years agoOn shutdown, mark openssl as uninitialized.
Nick Mathewson [Thu, 11 Jan 2018 17:49:28 +0000 (12:49 -0500)] 
On shutdown, mark openssl as uninitialized.

This causes openssl to get completely reinitialized on startup,
which is probably a good idea.