mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge remote branch 'origin/maint-0.2.2'
This commit is contained in:
commit
95e21779a3
4
changes/bug2060
Normal file
4
changes/bug2060
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor features
|
||||
- Make sure to disable DirPort if running as a bridge. DirPorts aren't
|
||||
used on bridges, and it makes bridge scanning way too easy.
|
||||
|
@ -3332,6 +3332,12 @@ options_validate(or_options_t *old_options, or_options_t *options,
|
||||
"PublishServerDescriptor line.");
|
||||
}
|
||||
|
||||
if (options->BridgeRelay && options->DirPort) {
|
||||
log_warn(LD_CONFIG, "Can't set a DirPort on a bridge relay; disabling "
|
||||
"DirPort");
|
||||
options->DirPort = 0;
|
||||
}
|
||||
|
||||
if (options->MinUptimeHidServDirectoryV2 < 0) {
|
||||
log_warn(LD_CONFIG, "MinUptimeHidServDirectoryV2 option must be at "
|
||||
"least 0 seconds. Changing to 0.");
|
||||
|
Loading…
Reference in New Issue
Block a user