mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Bridges and relays now use microdescriptors
(like clients do) rather than old-style router descriptors. Now bridges will blend in with clients in terms of the circuits they build. Fixes bug 6769; bugfix on 0.2.3.2-alpha.
This commit is contained in:
parent
bfaded9143
commit
782b6ec288
5
changes/bug6769
Normal file
5
changes/bug6769
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Bridges and relays now use microdescriptors (like clients do)
|
||||||
|
rather than old-style router descriptors. Now bridges will blend in
|
||||||
|
with clients in terms of the circuits they build. Fixes bug 6769;
|
||||||
|
bugfix on 0.2.3.2-alpha.
|
@ -919,12 +919,8 @@ we_use_microdescriptors_for_circuits(const or_options_t *options)
|
|||||||
{
|
{
|
||||||
int ret = options->UseMicrodescriptors;
|
int ret = options->UseMicrodescriptors;
|
||||||
if (ret == -1) {
|
if (ret == -1) {
|
||||||
/* UseMicrodescriptors is "auto"; we need to decide: */
|
/* UseMicrodescriptors is "auto"; choose yes. */
|
||||||
/* We'll use microdescriptors iff we are
|
return 1;
|
||||||
* not a server, and we're not autofetching everything. */
|
|
||||||
/* XXXX++ what does not being a server have to do with it? also there's
|
|
||||||
* a partitioning issue here where bridges differ from clients. */
|
|
||||||
ret = !server_mode(options) && !options->FetchUselessDescriptors;
|
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user