]> git.ipfire.org Git - thirdparty/tor.git/commit
Prevent bridges from publishing router descriptors.
authorKarsten Loesing <karsten.loesing@gmx.net>
Wed, 13 May 2009 16:14:29 +0000 (18:14 +0200)
committerNick Mathewson <nickm@torproject.org>
Wed, 13 May 2009 20:45:59 +0000 (16:45 -0400)
commit9e97067b2fc4032bce658d73cf21ee54573186bb
tree03027a0f3cfec100874e5a493383ede17cfd876d
parentfc091e8a96f2e2db9516f4046bec63f1e17a8f71
Prevent bridges from publishing router descriptors.

Bridges are not supposed to publish router descriptors to the directory
authorities. It defeats the point of bridges when they are included in the
public relay directory.

This patch puts out a warning and exits when the node is configured as
a bridge and to publish v1, v2, or v3 descriptors at the same time.

Also fixes part of bug 932.
src/or/config.c