Warn when hibernation and low-port on non-windows is configured
commita28215a150818b11e128f5f5aeb44e53a40d5af7
authorSebastian Hahn <sebastian@torproject.org>
Tue, 12 May 2009 17:48:08 +0000 (12 19:48 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 12 May 2009 18:00:00 +0000 (12 20:00 +0200)
tree249f9a9bd483a8c5aa88bacef2e17d7b66dc66c2
parent88d81ead83ded22db7eaf8090edd9ee0937b2dd5
Warn when hibernation and low-port on non-windows is configured

This addresses the first part of bug 918. Users are now warned when
they try to use hibernation in combination with a port below 1024
when they're not on Windows. We don't want to die here, because
people might run Tor as root, use a capabilities system or some
other platform that will allow them to re-attach low ports.

Wording suggested by Marian
src/or/config.c