]> git.ipfire.org Git - thirdparty/tor.git/commit
Don't build descriptors if ORPort auto is set and we have no OR listener
authorNick Mathewson <nickm@torproject.org>
Wed, 18 May 2011 01:42:35 +0000 (21:42 -0400)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 24 May 2011 19:12:23 +0000 (21:12 +0200)
commit95ac3ea5946f723ddab474fe229a872669aee47f
tree6609dc7b0aaa1567ef06ffb1e552012503e159a9
parent6cac100b13794b74db8e831bed56df2f0443ea13
Don't build descriptors if ORPort auto is set and we have no OR listener

This situation can happen easily if you set 'ORPort auto' and
'AccountingMax'.  Doing so means that when you have no ORPort, you
won't be able to set an ORPort in a descriptor, so instead you would
just generate lots of invalid descriptors, freaking out all the time.

Possible fix for 3216; fix on 0.2.2.26-beta.
changes/bug3216 [new file with mode: 0644]
src/or/router.c