George Kadianakis
f61e3090fb
Introduce new guard restriction and use it to skip outdated dirs.
2017-11-17 09:52:40 -05:00
George Kadianakis
7fc64f02a3
Introduce cache for outdated microdesc dirservers.
...
We gonna use this cache to avoid dirservers without outdated md info.
2017-11-17 09:52:40 -05:00
Nick Mathewson
330ccb699e
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-17 09:26:11 -05:00
Matt Traudt
b98614f1af
Only log about lost KIST support once
2017-11-17 09:25:47 -05:00
Matt Traudt
8b2c01a46f
Use less jargon in Scheduler sec. of man page
2017-11-17 09:25:07 -05:00
Matt Traudt
3537f7801d
Add notes about OS support for our scheduler types
2017-11-17 09:25:01 -05:00
Nick Mathewson
b2e1910017
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-17 09:23:07 -05:00
Nick Mathewson
85778dc92d
Merge remote-tracking branch 'dgoulet/bug23861_032_01' into maint-0.3.2
2017-11-17 09:23:04 -05:00
Nick Mathewson
00aeecb397
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-17 08:35:56 -05:00
Nick Mathewson
3a364309ac
Merge branch 'bug24167_025' into maint-0.3.2
2017-11-17 08:35:52 -05:00
Nick Mathewson
b9826ba451
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-17 08:35:04 -05:00
Nick Mathewson
0571015819
Merge branch 'ticket24097_032' into maint-0.3.2
2017-11-17 08:35:01 -05:00
Nick Mathewson
066904e758
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-17 08:34:08 -05:00
Nick Mathewson
0684e6c6f0
Merge branch 'bug20963_032' into maint-0.3.2
2017-11-17 08:34:05 -05:00
Nick Mathewson
80bf270404
Add a changes file.
2017-11-16 14:07:58 -05:00
Nick Mathewson
2d3904aba6
Check the libc version to decide whether to allow openat.
2017-11-16 14:06:38 -05:00
Nick Mathewson
d2d6a1b082
Make our seccomp2 sandbox handle Glibc 2.26
...
There are three changes here:
* We need to allow epoll_pwait.
* We need to allow PF_NETLINK sockets to be opened with SOCK_CLOEXEC.
* We need to use openat() instead of open().
Note that this fix is not complete, since the openat() change is
turned off. The next commit will make the openat() change happen
when we're running glibc 2.26 or later.
Fix for 24315.
2017-11-16 13:56:22 -05:00
Nick Mathewson
7461cd3067
Permit kill(pid, 0) in the seccomp2 sandbox.
...
We don't want to allow general signals to be sent, but there's no
problem sending a kill(0) to probe whether a process is there.
Fixes bug 24198; bugfix on 0.2.5.1-alpha when the seccomp2 sandbox
was introduced.
2017-11-16 12:44:47 -05:00
Nick Mathewson
95238eb917
Fix a traceback when closing a blocked connection "immediately".
...
When we close a connection via connection_close_immediately, we kill
its events immediately. But if it had been blocked on bandwidth
read/write, we could try to re-add its (nonexistent) events later
from connection_bucket_refill -- if we got to that callback before
we swept the marked connections.
Fixes bug 24167. Fortunately, this hasn't been a crash bug since we
introduced connection_check_event in 0.2.9.10, and backported it.
This is a bugfix on commit 89d422914a
, I believe, which
appeared in Tor 0.1.0.1-rc.
2017-11-16 12:05:56 -05:00
David Goulet
380a95116a
relay: Avoid extra LOG_NOTICE for every new descriptor batch
...
Commit 56c5e282a7
suppressed that same log
statement in directory_info_has_arrived() for microdescriptors so do the same
for the descriptors. As the commit says, we already have the bootstrap
progress for this.
Fixes #23861
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-11-16 10:57:05 -05:00
Nick Mathewson
2a98fcb848
Downgrade evdns warnings about weird replies.
...
evdns is allowed to give us unrecognized object types; it is allowed
to give us non-IPv4 answer types, and it is (even) allowed to give
us empty answers without an error.
Closes ticket 24097.
2017-11-16 09:30:19 -05:00
Nick Mathewson
2367b1ed31
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-15 15:11:30 -05:00
Nick Mathewson
56b7407a90
Merge branch 'bug24279_030' into maint-0.3.2
2017-11-15 15:11:26 -05:00
Nick Mathewson
7548805850
whoops; add missing credit.
2017-11-15 15:11:15 -05:00
Nick Mathewson
67c62394bc
Merge branch 'bug24279_030' into maint-0.3.2
2017-11-15 15:09:33 -05:00
Nick Mathewson
f28559fd2a
Changes file for 24279.
2017-11-15 15:09:11 -05:00
Alex Xu (Hello71)
74b7bfbe47
Fix configure libevent memory leak
...
Breaks build with externally-specified hardening flags.
2017-11-15 15:07:49 -05:00
Nick Mathewson
ef55a7a69a
Tweak the message when we re-enable CBT.
...
Implements ticket 20963.
2017-11-15 14:42:59 -05:00
Nick Mathewson
01c5d4583f
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-15 14:25:25 -05:00
Nick Mathewson
ae8683621a
Merge remote-tracking branch 'asn/bug23662_032' into maint-0.3.2
2017-11-15 14:25:20 -05:00
Nick Mathewson
7d1e47559a
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-14 14:45:11 -05:00
Nick Mathewson
6dc784bdb3
Merge remote-tracking branch 'dgoulet/bug24230_032_01' into maint-0.3.2
2017-11-14 14:45:07 -05:00
George Kadianakis
c4a56ed5c2
Silence a warning about failed descriptor uploads.
...
Due to #23662 this can happen under natural causes and does not disturb
the functionality of the service. This is a simple 0.3.2 fix for now,
and we plan to fix this properly in 0.3.3.
2017-11-14 17:16:33 +02:00
Nick Mathewson
9f2efd02a1
Minimal implementation of bridge-distribution-request
...
Just advertise the line when we're a bridge, using "any" if we're
published or "none" if we aren't.
This is done in lieu of a full backport of #18329 .
2017-11-13 20:44:51 -05:00
Nick Mathewson
1d5e693b63
Merge branch 'maint-0.3.0' into maint-0.3.1
2017-11-13 20:36:04 -05:00
Nick Mathewson
50fbede459
Merge branch 'maint-0.2.9' into maint-0.3.0
2017-11-13 20:36:04 -05:00
Nick Mathewson
349a92bf3f
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-13 20:36:04 -05:00
Nick Mathewson
6059784be0
Merge branch 'maint-0.3.1' into maint-0.3.2
2017-11-13 20:36:04 -05:00
Nick Mathewson
1b9bb2c847
Merge branch 'bug22895_027' into maint-0.2.9
2017-11-13 20:35:59 -05:00
Nick Mathewson
8473424ede
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-13 16:58:21 -05:00
Nick Mathewson
985c41b500
add a missing subcategory to 23637, again
2017-11-13 16:58:11 -05:00
Nick Mathewson
562b3c9678
Merge branch 'maint-0.3.0' into maint-0.3.1
2017-11-13 12:57:58 -05:00
Nick Mathewson
fea5c8a015
Merge branch 'maint-0.2.9' into maint-0.3.0
2017-11-13 12:57:58 -05:00
Nick Mathewson
543fd89fb7
Merge branch 'maint-0.2.8' into maint-0.2.9
2017-11-13 12:57:58 -05:00
Nick Mathewson
ab8013391e
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-13 12:57:58 -05:00
Nick Mathewson
05ae995665
Merge branch 'maint-0.3.1' into maint-0.3.2
2017-11-13 12:57:58 -05:00
Nick Mathewson
800797e7f3
Merge branch 'bug23291_028' into maint-0.2.8
2017-11-13 12:57:55 -05:00
Nick Mathewson
08d933a794
Merge branch 'maint-0.3.2' into release-0.3.2
2017-11-13 12:27:44 -05:00
Nick Mathewson
d0b75b5ade
Merge branch 'maint-0.3.1' into maint-0.3.2
2017-11-13 12:27:36 -05:00
David Goulet
7df28ce299
hs-v3: Fix consensus param "hsdir-interval" name
...
The dir-spec.txt specifies it to be "hsdir_interval" (underscore).
Fixes #24262
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-11-13 11:48:56 -05:00