diff --git a/ChangeLog b/ChangeLog index 6d656cc864..946549d1f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,12 @@ Changes in version 0.2.0.16-alpha - 2008-01-?? o Minor features (controller): - Get NS events working again. (Patch from tup) + o Minor features (other): + - Add hidden services and DNSPorts to the list of things that make + Tor accept that it has running ports. Change starting Tor with + no ports from a fatal error to a warning; we might change it + back if this turns out to confuse anybody. (Fixes bug 579.) + Changes in version 0.2.0.15-alpha - 2007-12-25 o Major bugfixes: - Fix several remotely triggerable asserts based on DirPort requests diff --git a/src/or/config.c b/src/or/config.c index 4fabe9ecf7..8bcedbf53b 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2745,9 +2745,12 @@ options_validate(or_options_t *old_options, or_options_t *options, REJECT("NatdPort option out of bounds."); if (options->SocksPort == 0 && options->TransPort == 0 && - options->NatdPort == 0 && options->ORPort == 0) - REJECT("SocksPort, TransPort, NatdPort, and ORPort are all undefined? " - "Quitting."); + options->NatdPort == 0 && options->ORPort == 0 && + options->DNSPort == 0 && !options->RendConfigLines) + log(LOG_WARN, LD_CONFIG, + "SocksPort, TransPort, NatdPort, DNSPort, and ORPort are all " + "undefined, and there aren't any hidden services configured. " + "Tor will still run, but probably won't do anything."); if (options->ControlPort < 0 || options->ControlPort > 65535) REJECT("ControlPort option out of bounds.");