mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-03 17:13:33 +01:00
Merge remote-tracking branch 'origin/maint-0.2.2'
This commit is contained in:
commit
98e5c63eb2
5
changes/bug4201
Normal file
5
changes/bug4201
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Bridges now skip DNS self-tests, to act a little more stealthily.
|
||||||
|
Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
|
||||||
|
bridges. Patch by "warms0x".
|
||||||
|
|
@ -1453,7 +1453,7 @@ run_scheduled_events(time_t now)
|
|||||||
|
|
||||||
/** 9. and if we're a server, check whether our DNS is telling stories to
|
/** 9. and if we're a server, check whether our DNS is telling stories to
|
||||||
* us. */
|
* us. */
|
||||||
if (is_server && time_to_check_for_correct_dns < now) {
|
if (public_server_mode(options) && time_to_check_for_correct_dns < now) {
|
||||||
if (!time_to_check_for_correct_dns) {
|
if (!time_to_check_for_correct_dns) {
|
||||||
time_to_check_for_correct_dns = now + 60 + crypto_rand_int(120);
|
time_to_check_for_correct_dns = now + 60 + crypto_rand_int(120);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user