]>
git.ipfire.org Git - thirdparty/tor.git/log
teor [Thu, 28 Feb 2019 01:22:20 +0000 (11:22 +1000)]
doc: update the man page and sample torrc for ExitRelay
We changed the default of ExitRelay in #21530 in 0.3.5.1-alpha, but
forgot to update the documentation.
Closes 29612.
teor [Tue, 26 Feb 2019 23:38:04 +0000 (09:38 +1000)]
Merge branch 'maint-0.3.4' into maint-0.3.5
teor [Tue, 26 Feb 2019 23:37:50 +0000 (09:37 +1000)]
Merge branch 'maint-0.3.3' into maint-0.3.4
teor [Tue, 26 Feb 2019 23:37:36 +0000 (09:37 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.3
David Goulet [Tue, 26 Feb 2019 15:46:52 +0000 (10:46 -0500)]
Merge branch 'tor-github/pr/691' into maint-0.3.5
Nick Mathewson [Thu, 21 Feb 2019 18:24:42 +0000 (13:24 -0500)]
Bump to 0.3.5.8-dev
Nick Mathewson [Thu, 21 Feb 2019 18:23:52 +0000 (13:23 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" to avoid version bump.
Nick Mathewson [Thu, 21 Feb 2019 18:23:46 +0000 (13:23 -0500)]
Bump to 0.3.4.11-dev
Nick Mathewson [Thu, 21 Feb 2019 18:23:22 +0000 (13:23 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
"ours" to avoid version bump
Nick Mathewson [Thu, 21 Feb 2019 18:22:56 +0000 (13:22 -0500)]
Bump to 0.3.3.12-dev
Nick Mathewson [Thu, 21 Feb 2019 15:08:14 +0000 (10:08 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Thu, 21 Feb 2019 15:08:14 +0000 (10:08 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
David Goulet [Thu, 24 Jan 2019 15:52:08 +0000 (10:52 -0500)]
kist: Don't write above the highwater outbuf mark
KIST works by computing how much should be allowed to write to the kernel for
a given socket, and then it writes that amount to the outbuf.
The problem is that it could be possible that the outbuf already has lots of
data in it from a previous scheduling round (because the kernel is full/busy
and Tor was not able to flush the outbuf yet). KIST ignores that the outbuf
has been filling (is above its "highwater") and writes more anyway. The end
result is that the outbuf length would exceed INT_MAX, hence causing an
assertion error and a corresponding "Bug()" message to get printed to the
logs.
This commit makes it for KIST to take into account the outbuf length when
computing the available space.
Bug found and patch by Rob Jansen.
Closes #29168. TROVE-2019-001.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 21 Feb 2019 14:51:29 +0000 (09:51 -0500)]
Bump to 0.3.5.8
Nick Mathewson [Thu, 21 Feb 2019 14:50:46 +0000 (09:50 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" to avoid version bump.
Nick Mathewson [Thu, 21 Feb 2019 14:50:22 +0000 (09:50 -0500)]
Bump to 0.3.4.11
Nick Mathewson [Thu, 21 Feb 2019 14:49:56 +0000 (09:49 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Feb 2019 14:49:48 +0000 (09:49 -0500)]
Update to 0.3.3.12
Kris Katterjohn [Mon, 21 Jan 2019 22:33:32 +0000 (16:33 -0600)]
Fix a compiler warning on OpenBSD
malloc_options needs to be declared extern (and declaring it extern
means we need to initialize it separately)
Fixes bug 29145; bugfix on 0.2.9.3-alpha
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
George Kadianakis [Thu, 14 Feb 2019 16:00:05 +0000 (18:00 +0200)]
Merge branch 'tor-github/pr/689' into maint-0.3.5
George Kadianakis [Thu, 14 Feb 2019 15:39:34 +0000 (17:39 +0200)]
Merge branch 'tor-github/pr/536' into maint-0.3.5
David Goulet [Wed, 13 Feb 2019 15:56:24 +0000 (10:56 -0500)]
Merge branch 'tor-github/pr/650' into maint-0.3.5
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
David Goulet [Thu, 29 Nov 2018 15:02:50 +0000 (10:02 -0500)]
test: Fix a warning underflow in rend_cache/clean
Because the test is adding entries to the "rend_cache" directly, the
rend_cache_increment_allocation() was never called which made the
rend_cache_clean() call trigger that underflow warning:
rend_cache/clean: [forking] Nov 29 09:55:04.024 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.0.0-alpha-dev
2240fe63feb9a8cf )
The test is still good and valid.
Fixes #28660
Signed-off-by: David Goulet <dgoulet@torproject.org>
Karsten Loesing [Tue, 12 Feb 2019 13:40:42 +0000 (14:40 +0100)]
Update geoip and geoip6 to the February 5 2019 database.
Nick Mathewson [Fri, 8 Feb 2019 15:43:38 +0000 (10:43 -0500)]
Fix coverage script.
It was looking for object files made with the old automake
directorations, but those changed when we split up our libraries.
Fixes bug 29435; bugfix on 0.3.5.1-alpha.
Nick Mathewson [Fri, 8 Feb 2019 13:52:46 +0000 (08:52 -0500)]
Changes file for ticket29026.
Nick Mathewson [Fri, 8 Feb 2019 13:51:04 +0000 (08:51 -0500)]
Add more openssl includes to fix no-deprecated compilation
Closes ticket 29026; patch from Mangix.
Nick Mathewson [Fri, 8 Feb 2019 13:50:04 +0000 (08:50 -0500)]
Fix compilation when openssl is compiled without engine support.
Patch from Mangix. Closes part of ticket 29026.
Nick Mathewson [Fri, 8 Feb 2019 13:37:43 +0000 (08:37 -0500)]
Merge branch 'ticket29040_1_changes' into maint-0.3.5
Nick Mathewson [Fri, 8 Feb 2019 13:37:23 +0000 (08:37 -0500)]
Add changes file for bug 29040.
Nick Mathewson [Fri, 8 Feb 2019 13:19:31 +0000 (08:19 -0500)]
Merge remote-tracking branch 'tor-github/pr/670' into maint-0.3.5
Roger Dingledine [Tue, 5 Feb 2019 13:10:14 +0000 (08:10 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Roger Dingledine [Tue, 5 Feb 2019 13:09:47 +0000 (08:09 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 1 Feb 2019 15:38:23 +0000 (16:38 +0100)]
Update Cargo.lock with new comment; suppress 29244.
rl1987 [Sat, 26 Jan 2019 08:55:53 +0000 (10:55 +0200)]
Allow empty username/password in SOCKS5 username/password auth message
Nick Mathewson [Wed, 23 Jan 2019 22:07:39 +0000 (17:07 -0500)]
Another case of possible gmtime angst.
Suphanat Chunhapanya [Tue, 15 Jan 2019 05:16:23 +0000 (12:16 +0700)]
hs-v3: add an option param to safe log functions
We add an option param to safe_str and safe_str_client because in
some case we need to use those functions before global_options is set.
Suphanat Chunhapanya [Tue, 15 Jan 2019 05:12:31 +0000 (12:12 +0700)]
hs-v3: fix use after free in client auth config
We accidentally use `auth` after freeing it in
client_service_authorization_free. The way to solve it is to
free after using it.
David Goulet [Thu, 29 Nov 2018 15:02:50 +0000 (10:02 -0500)]
test: Fix a warning underflow in rend_cache/clean
Because the test is adding entries to the "rend_cache" directly, the
rend_cache_increment_allocation() was never called which made the
rend_cache_clean() call trigger that underflow warning:
rend_cache/clean: [forking] Nov 29 09:55:04.024 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.0.0-alpha-dev
2240fe63feb9a8cf )
The test is still good and valid.
Fixes #28660
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Wed, 23 Jan 2019 17:37:12 +0000 (12:37 -0500)]
Capture more BUG warnings in util/time test
These are ones that happen on windows only.
Fixes bug 29161.
Nick Mathewson [Wed, 23 Jan 2019 17:04:57 +0000 (12:04 -0500)]
If address/get_if_addrs6 can't findipv6, log WARN, not ERR
Fixes 29160, and allows 28668 (treating ERR logs as test failures)
to procede.
rl1987 [Mon, 21 Jan 2019 10:06:46 +0000 (12:06 +0200)]
Log an HSDesc we failed to parse at Debug loglevel
Nick Mathewson [Wed, 23 Jan 2019 14:51:02 +0000 (09:51 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 23 Jan 2019 14:51:02 +0000 (09:51 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 23 Jan 2019 14:50:38 +0000 (09:50 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
"ours" merge to avoid dropping non-broken changes files after
removal of merged 0.2.9 changes files.
Nick Mathewson [Wed, 23 Jan 2019 14:48:28 +0000 (09:48 -0500)]
maint-0.2.9: remove changes files that are merged in 0.2.9 releases
Many of these files cause check-changes to fail, which will be a
long-term problem as we continue to support 0.2.9.
Nick Mathewson [Tue, 22 Jan 2019 17:27:46 +0000 (12:27 -0500)]
correct bug number in 29042 changelog
Nick Mathewson [Tue, 22 Jan 2019 16:55:53 +0000 (11:55 -0500)]
Merge branch 'bug29042_035' into maint-0.3.5
Nick Mathewson [Tue, 22 Jan 2019 13:04:52 +0000 (08:04 -0500)]
Merge branch 'bug28979_035' into maint-0.3.5
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 16 Jan 2019 21:05:54 +0000 (16:05 -0500)]
Fix documentation for ClientAuth on HSv3.
The manpage erroneously said "privkey" when "public-key" would have
been correct. Reported by "Felixix" as ticket 28979. Bugfix on
0.3.5.1-alpha.
Nick Mathewson [Wed, 16 Jan 2019 20:47:33 +0000 (15:47 -0500)]
Fail any unit test that causes an unhandled LD_BUG or LOG_ERR
Closes ticket 28668.
Kris Katterjohn [Tue, 15 Jan 2019 20:55:55 +0000 (14:55 -0600)]
Add changes file for bug 28981
The fix was in commit
61636ad989de674698601284957dacde53cc4984 .
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Kris Katterjohn [Thu, 3 Jan 2019 23:24:26 +0000 (17:24 -0600)]
Update and fix a couple of comments in meminfo.c
This fixes a typo and also notes that HW_PHYSMEM64 is defined on
NetBSD (not just OpenBSD).
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Kris Katterjohn [Thu, 3 Jan 2019 23:19:46 +0000 (17:19 -0600)]
Use HW_PHYSMEM instead of HW_USERMEM in get_total_system_memory_impl
The code checked for sysctl being available and HW_PHYSMEM being
defined, but HW_USERMEM was actually being used with sysctl instead
of HW_PHYSMEM.
The case for OpenBSD, etc. use HW_PHYSMEM64 (which is obviously a
64-bit variant of HW_PHYSMEM) and the case for OSX uses HW_MEMSIZE
(which appears to be a 64-bit variant of HW_PHYSMEM).
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Nick Mathewson [Wed, 16 Jan 2019 19:33:40 +0000 (14:33 -0500)]
Log more messages when failing to decode RSA keys
We log these messages at INFO level, except when we are reading a
private key from a file, in which case we log at WARN.
This fixes a regression from when we re-wrote our PEM code to be
generic between nss and openssl.
Fixes bug 29042, bugfix on 0.3.5.1-alpha.
Nick Mathewson [Wed, 16 Jan 2019 17:32:32 +0000 (12:32 -0500)]
Bump copyright date to 2019.
rl1987 [Sun, 23 Dec 2018 18:55:14 +0000 (20:55 +0200)]
Rework rep_hist_log_link_protocol_counts()
Nick Mathewson [Fri, 11 Jan 2019 23:53:18 +0000 (18:53 -0500)]
Merge remote-tracking branch 'tor-github/pr/563' into maint-0.3.5
teor [Wed, 9 Jan 2019 08:00:34 +0000 (18:00 +1000)]
rend: stop warning when clients send multiple rend establish cells
Stop logging "Tried to establish rendezvous on non-OR circuit..." as
a warning. Instead, log it as a protocol warning, because there is
nothing that relay operators can do to fix it.
Fixes bug 29029; bugfix on 0.2.5.7-rc.
Nick Mathewson [Wed, 9 Jan 2019 14:38:22 +0000 (09:38 -0500)]
Merge remote-tracking branch 'tor-github/pr/636' into maint-0.3.5
rl1987 [Sun, 23 Dec 2018 17:21:37 +0000 (19:21 +0200)]
Stop logging 'Your Guard' in circpathbias.c
Kris Katterjohn [Tue, 8 Jan 2019 02:01:52 +0000 (20:01 -0600)]
Add changes file for bug 28938
The fix was in commit
30b84adb5f0b6e56d0fb82c374e3cb44089f64d0 .
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Kris Katterjohn [Sun, 23 Dec 2018 20:51:45 +0000 (14:51 -0600)]
Fix (and make consistent) the use of OpenBSD preprocessor macro tests
Prior to this commit, the testsuite was failing on OpenBSD. After
this commit the testsuite runs fine on OpenBSD.
It was previously decided to test for the OpenBSD macro (rather than
__OpenBSD__, etc.) because OpenBSD forks seem to have the former
macro defined. sys/param.h must be included for the OpenBSD macro
definition; however, many files tested for the OpenBSD macro without
having this header included.
This commit includes sys/param.h in the files where the OpenBSD macro
is used (and sys/param.h is not already included), and it also
changes some instances of the __OpenBSD__ macro to OpenBSD.
See commit
27df23abb675ffeb198bf0c1cc85c4baed77a988 which changed
everything to use OpenBSD instead of __OpenBSD__ or OPENBSD. See
also tickets #6982 and #20980 (the latter ticket is where it was
decided to use the OpenBSD macro).
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Nick Mathewson [Tue, 8 Jan 2019 02:18:25 +0000 (21:18 -0500)]
Update to 0.3.5.7-dev
Nick Mathewson [Tue, 8 Jan 2019 02:17:46 +0000 (21:17 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" to avoid version bump
Nick Mathewson [Tue, 8 Jan 2019 02:17:34 +0000 (21:17 -0500)]
Update to 0.3.4.10-dev
Nick Mathewson [Tue, 8 Jan 2019 02:16:56 +0000 (21:16 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
"Ours" to avoid version bump.
Nick Mathewson [Tue, 8 Jan 2019 02:16:40 +0000 (21:16 -0500)]
Update to 0.3.3.3.11-dev
Kris Katterjohn [Mon, 7 Jan 2019 23:28:21 +0000 (17:28 -0600)]
Fix tor_ersatz_socketpair on IPv6-only systems
In get_local_listener used by tor_ersatz_socketpair, the address
family used when binding the IPv6 socket was AF_INET instead of
AF_INET6.
Fixes bug 28995; bugfix on 0.3.5.1-alpha.
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Nick Mathewson [Mon, 7 Jan 2019 15:23:21 +0000 (10:23 -0500)]
Bump version to 0.3.5.7
Nick Mathewson [Mon, 7 Jan 2019 15:22:47 +0000 (10:22 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" to avoid version bump.
Nick Mathewson [Mon, 7 Jan 2019 15:22:42 +0000 (10:22 -0500)]
Bump to 0.3.4.10
Nick Mathewson [Mon, 7 Jan 2019 15:22:13 +0000 (10:22 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
"ours" merge to avoid version bump.
Nick Mathewson [Mon, 7 Jan 2019 15:21:59 +0000 (10:21 -0500)]
Bump to 0.3.3.11
Nick Mathewson [Mon, 7 Jan 2019 13:43:46 +0000 (08:43 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Mon, 7 Jan 2019 13:43:45 +0000 (08:43 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 7 Jan 2019 13:43:45 +0000 (08:43 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Mon, 7 Jan 2019 08:00:29 +0000 (09:00 +0100)]
Update geoip and geoip6 to the January 3 2019 database.
Nick Mathewson [Fri, 4 Jan 2019 20:04:58 +0000 (15:04 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 4 Jan 2019 20:04:58 +0000 (15:04 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 4 Jan 2019 20:04:58 +0000 (15:04 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Fri, 4 Jan 2019 20:04:54 +0000 (15:04 -0500)]
Merge branch 'bug21394_029_redux' into maint-0.2.9
Nick Mathewson [Fri, 4 Jan 2019 19:57:06 +0000 (14:57 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 4 Jan 2019 19:57:06 +0000 (14:57 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 4 Jan 2019 19:49:16 +0000 (14:49 -0500)]
Merge remote-tracking branch 'dgoulet/ticket28619_033_01' into maint-0.3.3
Nick Mathewson [Fri, 4 Jan 2019 19:36:02 +0000 (14:36 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 4 Jan 2019 19:34:38 +0000 (14:34 -0500)]
Merge branch 'ticket27750_034_01_squashed' into maint-0.3.4
Nick Mathewson [Fri, 4 Jan 2019 02:34:35 +0000 (21:34 -0500)]
Merge branch 'ticket28879' into maint-0.3.5
Nick Mathewson [Thu, 3 Jan 2019 14:45:53 +0000 (09:45 -0500)]
Merge branch 'ticket28851_035_squashed' into maint-0.3.5
Nick Mathewson [Fri, 14 Dec 2018 19:07:00 +0000 (14:07 -0500)]
Stop re-checking our hardcoded dh parameters on every startup
Closes ticket 28851.
Nick Mathewson [Thu, 3 Jan 2019 14:44:10 +0000 (09:44 -0500)]
Merge remote-tracking branch 'public/ticket28838_035' into maint-0.3.5
Nick Mathewson [Thu, 3 Jan 2019 14:02:39 +0000 (09:02 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 3 Jan 2019 14:02:39 +0000 (09:02 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Thu, 3 Jan 2019 14:01:40 +0000 (09:01 -0500)]
Merge branch 'ticket28973_033_squashed' into maint-0.3.3