]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 8 Nov 2016 12:15:18 +0000 (07:15 -0500)]
Fold in one more changes entry
Nick Mathewson [Tue, 8 Nov 2016 12:12:07 +0000 (07:12 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
teor [Tue, 8 Nov 2016 05:39:36 +0000 (16:39 +1100)]
When using exponential backoff in test networks, use a lower exponent
Lower exponents mean that delays do not vary as much. This helps test
networks bootstrap consistently.
Bugfix on 20499.
Nick Mathewson [Mon, 7 Nov 2016 23:41:53 +0000 (18:41 -0500)]
Tomorrow seems more likely
Nick Mathewson [Mon, 7 Nov 2016 21:38:58 +0000 (16:38 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 21:38:53 +0000 (16:38 -0500)]
bump version to 0.2.9.5-alpha
Nick Mathewson [Mon, 7 Nov 2016 21:36:06 +0000 (16:36 -0500)]
Small changelog tweaks
Nick Mathewson [Mon, 7 Nov 2016 21:26:09 +0000 (16:26 -0500)]
Fold new entries into changelog and edit lightly
Nick Mathewson [Mon, 7 Nov 2016 21:19:13 +0000 (16:19 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 21:19:05 +0000 (16:19 -0500)]
Make new changes files pass lintchanges
Nick Mathewson [Mon, 7 Nov 2016 21:12:22 +0000 (16:12 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 21:12:13 +0000 (16:12 -0500)]
Merge remote-tracking branch 'teor/bug20484_029_v2' into maint-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 21:10:48 +0000 (16:10 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 21:10:42 +0000 (16:10 -0500)]
Fix another 20499-broken test
Nick Mathewson [Mon, 7 Nov 2016 21:02:55 +0000 (16:02 -0500)]
Fix a unit test (broken by recent 20499 hacking)
teor [Fri, 4 Nov 2016 07:25:57 +0000 (18:25 +1100)]
Add onion_service_non_anonymous file to man page
Nick Mathewson [Mon, 7 Nov 2016 16:02:07 +0000 (11:02 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 16:01:31 +0000 (11:01 -0500)]
Merge branch 'bug20534_029_squashed' into maint-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 15:55:33 +0000 (10:55 -0500)]
Reduce multiplier to 3, per teor's recommendation on #20534
(Three _is_ a good number for anonymity!)
Nick Mathewson [Mon, 7 Nov 2016 15:17:13 +0000 (10:17 -0500)]
Always increment delays by at least 1.
Nick Mathewson [Mon, 7 Nov 2016 14:58:29 +0000 (09:58 -0500)]
Avoid integer overflow in delay calculation.
Nick Mathewson [Mon, 7 Nov 2016 14:43:12 +0000 (09:43 -0500)]
Count HTTP 503 as a download failure.
Because as Teor puts it: "[Resetting on 503] is exactly what we
don't want when relays are busy - imagine clients doing an automatic
reset every time they DoS a relay..."
Fixes bug 20593.
Nick Mathewson [Mon, 7 Nov 2016 14:38:49 +0000 (09:38 -0500)]
Adjust download schedules per teor's #20534 recommendataions
Nick Mathewson [Mon, 7 Nov 2016 14:32:11 +0000 (09:32 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 14:32:00 +0000 (09:32 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 14:31:36 +0000 (09:31 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Mon, 7 Nov 2016 14:30:42 +0000 (09:30 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 7 Nov 2016 14:30:16 +0000 (09:30 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 7 Nov 2016 14:29:54 +0000 (09:29 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 7 Nov 2016 14:20:13 +0000 (09:20 -0500)]
Merge branch '20499_part1_029_squashed', remote-tracking branches 'teor/bug20591_029' and 'teor/bug20533_029' into maint-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 01:14:34 +0000 (20:14 -0500)]
Allow infinitely long delays in exponential-backoff downloads
It's only safe to remove the failure limit (per 20536) if we are in
fact waiting a bit longer each time we try to download.
Fixes bug 20534; bugfix on 0.2.9.1-alpha.
Nick Mathewson [Mon, 7 Nov 2016 14:09:14 +0000 (09:09 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 14:08:58 +0000 (09:08 -0500)]
Merge branch 'bug20588' into maint-0.2.9
Karsten Loesing [Mon, 7 Nov 2016 14:05:19 +0000 (15:05 +0100)]
Update geoip and geoip6 to the November 3 2016 database.
teor [Mon, 7 Nov 2016 13:01:20 +0000 (00:01 +1100)]
When downloading certificates, check for related failures
If a consensus expires while we are waiting for certificates to download,
stop waiting for certificates.
If we stop waiting for certificates less than a minute after we started
downloading them, do not consider the certificate download failure a
separate failure.
Fixes bug 20533; bugfix on commit
e0204f21 in 0.2.0.9-alpha.
teor [Mon, 7 Nov 2016 11:58:36 +0000 (22:58 +1100)]
Ensure relays don't make multiple connections during bootstrap
Relays do not deliberately launch multiple attempts, so the impact of this
bug should be minimal. This fix also defends against bugs like #20499.
Bugfix on 0.2.8.1-alpha.
Nick Mathewson [Mon, 7 Nov 2016 02:01:25 +0000 (21:01 -0500)]
Always Use EVP_aes_*_ctr() with openssl 1.1
(OpenSSL 1.1 makes EVP_CIPHER_CTX opaque, _and_ adds acceleration
for counter mode on more architectures. So it won't work if we try
the older approach, and it might help if we try the newer one.)
Fixes bug 20588.
Nick Mathewson [Mon, 7 Nov 2016 01:32:16 +0000 (20:32 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 01:31:50 +0000 (20:31 -0500)]
Finish a sentence in a comment. Close 20576.
Nick Mathewson [Mon, 7 Nov 2016 01:24:36 +0000 (20:24 -0500)]
Merge branch 'maint-0.2.9' into release-0.2.9
Nick Mathewson [Mon, 7 Nov 2016 01:23:40 +0000 (20:23 -0500)]
In test_tortls_classify_client_ciphers(), s/ECDH/ECDHE/
(We weren't actually using these ciphers; we were just requing that
ciphers of that name existed.)
Patch from rubiate. Fixes 20460
Nick Mathewson [Mon, 7 Nov 2016 01:08:11 +0000 (20:08 -0500)]
Do not apply 'max_failures' to random-exponential schedules.
Fixes bug 20536; bugfix on 0.2.9.1-alpha.
Nick Mathewson [Mon, 7 Nov 2016 01:01:24 +0000 (20:01 -0500)]
Change a BUG warning to be a warning, not an info.
Nick Mathewson [Mon, 7 Nov 2016 00:50:08 +0000 (19:50 -0500)]
Fix get_delay() code to avoid TIME_MAX overflow, not INT_MAX.
Fixes bug 20587; bugfix on
35bbf2e4a4e8ccb in 0.2.8.1-alpha.
Nick Mathewson [Sun, 6 Nov 2016 21:57:21 +0000 (16:57 -0500)]
Start changelog for 0.2.9.5-alpha
Nick Mathewson [Sun, 6 Nov 2016 21:39:46 +0000 (16:39 -0500)]
Fix warnings from lintChanges.py
Nick Mathewson [Thu, 3 Nov 2016 22:36:43 +0000 (18:36 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 3 Nov 2016 22:36:25 +0000 (18:36 -0400)]
Merge branch 'bug20551_028' into maint-0.2.8
Nick Mathewson [Thu, 3 Nov 2016 19:44:46 +0000 (15:44 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 3 Nov 2016 19:44:30 +0000 (15:44 -0400)]
Merge remote-tracking branch 'arma/bug19969_028_squashed' into maint-0.2.8
Nick Mathewson [Thu, 3 Nov 2016 19:41:04 +0000 (15:41 -0400)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 3 Nov 2016 14:46:27 +0000 (10:46 -0400)]
Work around a behavior change in openssl's BUF_MEM code
In our code to write public keys to a string, for some unfathomable
reason since
253f0f160e1185c , we would allocate a memory BIO, then
set the NOCLOSE flag on it, extract its memory buffer, and free it.
Then a little while later we'd free the memory buffer with
BUF_MEM_free().
As of openssl 1.1 this doesn't work any more, since there is now a
BIO_BUF_MEM structure that wraps the BUF_MEM structure. This
BIO_BUF_MEM doesn't get freed in our code.
So, we had a memory leak!
Is this an openssl bug? Maybe. But our code was already pretty
silly. Why mess around with the NOCLOSE flag here when we can just
keep the BIO object around until we don't need the buffer any more?
Fixes bug 20553; bugfix on 0.0.2pre8
Nick Mathewson [Thu, 3 Nov 2016 13:35:41 +0000 (09:35 -0400)]
Use explicit casts to avoid warnings when building with openssl 1.1
fixes bug 20551; bugfix on 0.2.1.1-alpha
teor [Wed, 2 Nov 2016 03:55:14 +0000 (14:55 +1100)]
Use the latest options in rend_service_check_private_dir
Fixup on both:
* Refactor, adding a create argument... and
* Check every hidden service directory's permissions...
teor [Wed, 2 Nov 2016 03:32:04 +0000 (14:32 +1100)]
Check every hidden service directory's permissions when configuring
Previously, we would only check the last hidden service directory.
Fixes #20529, bugfix on ticket 13942 commit
85bfad1 in 0.2.6.2-alpha.
teor [Wed, 2 Nov 2016 03:17:52 +0000 (14:17 +1100)]
Test single onion service configs where the directory does not exist
Runs a test for each combination of create/don't create directories.
Tests #20484.
teor [Wed, 2 Nov 2016 03:16:14 +0000 (14:16 +1100)]
Make sure passthrough_test_setup doesn't inadvertently fail or skip tests
passthrough_test_setup doesn't pass through arguments if the argument
is equal to 0 or TT_SKIP. Instead, it fails or skips the test.
Assert on this, so we don't accidentally fail or skip tests.
teor [Wed, 2 Nov 2016 03:14:19 +0000 (14:14 +1100)]
Add get_fname_rnd for unit tests that want a unique path every time
teor [Wed, 2 Nov 2016 03:13:34 +0000 (14:13 +1100)]
Create get_fname_suffix, and refactor get_fname to use it
teor [Wed, 2 Nov 2016 03:11:26 +0000 (14:11 +1100)]
Improve comments in check_private_dir and onion poisoning
Comment changes only
teor [Wed, 2 Nov 2016 03:10:52 +0000 (14:10 +1100)]
fixup! Refactor, adding a create argument to rend_service_check_private_dir
teor [Wed, 2 Nov 2016 00:37:05 +0000 (11:37 +1100)]
Use check_private_dir in test_single_onion_poisoning
This avoids Win32 conditionals for mkdir.
teor [Wed, 2 Nov 2016 00:20:49 +0000 (11:20 +1100)]
Remove redundant group permission code from rend_service_check_private_dir
check_private_dir already does this for existing directories.
teor [Wed, 2 Nov 2016 00:16:00 +0000 (11:16 +1100)]
Refactor, adding a create argument to rend_service_check_private_dir
It used to be rend_service_check_and_create_private_dir, which always
created the directory.
No behaviour change.
Nick Mathewson [Mon, 31 Oct 2016 18:42:26 +0000 (14:42 -0400)]
Always call connection_ap_attach_pending() once a second.
Fixes bug 19969; bugfix on
b1d56fc58 . We can fix this some more in
later Tors, but for now, this is probably the simplest fix possible.
This is a belt-and-suspenders fix, where the earlier fix ("Ask
event_base_loop to finish when we add a pending stream") aims to respond
to new streams as soon as they arrive, and this one aims to make sure
that we definitely respond to all of the streams.
Roger Dingledine [Mon, 31 Oct 2016 04:23:53 +0000 (00:23 -0400)]
Ask event_base_loop to finish when we add a pending stream
Fixes bug 19969; bugfix on
b1d56fc58 . We can fix this some more in
later Tors, but for now, this is probably the right fix for us.
Roger Dingledine [Mon, 31 Oct 2016 04:20:22 +0000 (00:20 -0400)]
refactor out the tor_event_base_loopexit() call
no actual changes
Nick Mathewson [Tue, 1 Nov 2016 17:32:21 +0000 (13:32 -0400)]
Attempt to fix unit tests on netbsd
Nick Mathewson [Tue, 1 Nov 2016 17:05:33 +0000 (13:05 -0400)]
Merge remote-tracking branch 'teor/bug20472-029-v2' into maint-0.2.9
Nick Mathewson [Tue, 1 Nov 2016 16:44:20 +0000 (12:44 -0400)]
Merge branch 'bug20487_029' into maint-0.2.9
Nick Mathewson [Mon, 31 Oct 2016 20:33:03 +0000 (16:33 -0400)]
Merge branch 'bug19968_029' into maint-0.2.9
Nick Mathewson [Mon, 31 Oct 2016 18:36:15 +0000 (14:36 -0400)]
Actually free the worker_state_t object when we do an update with it
Previously we freed the old "keys" object, but leaked the
worker_state_t that we had taken it from.
Fixes bug 20401; bugfix on 0.2.6.3-alpha.
Nick Mathewson [Mon, 31 Oct 2016 19:13:27 +0000 (15:13 -0400)]
Add a sentence to the manpage about nonanonymous=>Socksport 0.
Closes 20487.
Nick Mathewson [Mon, 31 Oct 2016 18:53:30 +0000 (14:53 -0400)]
Create single-onion-service directory before poisoning it, if needed
(Also, refactor the code to create a hidden service directory into a
separate funcion, so we don't have to duplicate it.)
Fixes bug 20484; bugfix on 0.2.9.3-alpha.
Nick Mathewson [Mon, 31 Oct 2016 18:19:39 +0000 (14:19 -0400)]
Actually clamp the number of detected CPUs to 16.
Previously we said we did, but didn't.
Fixes #19968; bugfix on 0.2.3.1-alpha.
teor [Thu, 27 Oct 2016 04:53:49 +0000 (15:53 +1100)]
Rename routerstatus_version_supports_ntor to *_supports_extend2_cells
This helps avoid the confusion that caused bug 20472.
Bugfix on commit
10aa913 from #19163 in tor-0.2.9.3-alpha.
teor [Mon, 31 Oct 2016 06:01:33 +0000 (17:01 +1100)]
Refactor circuit_pick_create_handshake
Make the structure of circuit_pick_create_handshake consistent with
circuit_pick_extend_handshake.
No behaviour change.
teor [Thu, 27 Oct 2016 04:52:46 +0000 (15:52 +1100)]
In circuit_pick_extend_handshake, assume all hops support EXTEND2 and ntor
This simplifies the function: if we have an ntor key, use ntor/EXTEND2,
otherwise, use TAP/EXTEND.
Bugfix on commit
10aa913 from 19163 in 0.2.9.3-alpha.
Nick Mathewson [Wed, 26 Oct 2016 16:52:34 +0000 (12:52 -0400)]
Avoid tor_fragile_assert() failure with DNSPort on RESOLVED_TYPE_ERROR
The tor_fragile_assert() bug has existed here since
c8a5e2d588e0d91
in tor-0.2.1.7-alpha forever, but tor_fragile_assert() was mostly a
no-op until 0.2.9.1-alpha.
Fixes bug 19869.
Nick Mathewson [Tue, 18 Oct 2016 23:35:10 +0000 (19:35 -0400)]
changes file for module docs
Nick Mathewson [Tue, 18 Oct 2016 23:32:49 +0000 (19:32 -0400)]
Module-level docs for ext_orport and router.c
Nick Mathewson [Tue, 18 Oct 2016 16:31:50 +0000 (12:31 -0400)]
Turn replaycache.c module doc into doxygen
Nick Mathewson [Tue, 18 Oct 2016 16:25:55 +0000 (12:25 -0400)]
Document connection_or.c and connection.c at module level
Nick Mathewson [Tue, 18 Oct 2016 15:28:40 +0000 (11:28 -0400)]
Module documentation for circuitmux_ewma.c
Nick Mathewson [Tue, 18 Oct 2016 15:17:34 +0000 (11:17 -0400)]
Turn circuitmux.c comments into module docs.
Nick Mathewson [Mon, 17 Oct 2016 18:23:53 +0000 (14:23 -0400)]
Module docs for channel.c and channeltls.c
Nick Mathewson [Mon, 17 Oct 2016 20:32:31 +0000 (16:32 -0400)]
Merge branch 'maint-0.2.8'
"ours" commit to avoid bumping version.
Nick Mathewson [Mon, 17 Oct 2016 20:32:11 +0000 (16:32 -0400)]
Bump to 0.2.8.9-dev
Nick Mathewson [Mon, 17 Oct 2016 20:31:40 +0000 (16:31 -0400)]
Bump master to 0.2.9.4-alpha-dev
Nick Mathewson [Mon, 17 Oct 2016 19:00:58 +0000 (15:00 -0400)]
release-notes for 0.2.8.9
Nick Mathewson [Mon, 17 Oct 2016 18:57:44 +0000 (14:57 -0400)]
Merge branch 'maint-0.2.8'
("ours" merge to avoid taking version bump)
Nick Mathewson [Mon, 17 Oct 2016 18:57:26 +0000 (14:57 -0400)]
bump to 0.2.8.9
Nick Mathewson [Mon, 17 Oct 2016 18:55:05 +0000 (14:55 -0400)]
Fold 20384 into changelog
Nick Mathewson [Mon, 17 Oct 2016 18:52:44 +0000 (14:52 -0400)]
Update the buffer sentinel fix to work with our #20081 fix.
Nick Mathewson [Mon, 17 Oct 2016 18:51:45 +0000 (14:51 -0400)]
Merge branch 'maint-0.2.8'
Nick Mathewson [Mon, 17 Oct 2016 18:51:06 +0000 (14:51 -0400)]
Merge branch 'buf_sentinel_026_v2' into maint-0.2.8
Nick Mathewson [Fri, 14 Oct 2016 13:38:12 +0000 (09:38 -0400)]
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk
This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.
It also closes TROVE-2016-10-001 (aka bug 20384).
Nick Mathewson [Mon, 17 Oct 2016 18:06:20 +0000 (14:06 -0400)]
changelog typo fixes from Rubiate
Nick Mathewson [Mon, 17 Oct 2016 18:05:42 +0000 (14:05 -0400)]
Bump version to 0.2.9.4-alpha.
Nick Mathewson [Mon, 17 Oct 2016 18:03:48 +0000 (14:03 -0400)]
edits to changelog from kate and david