[tor-bugs] #2408 [Tor Relay]: "PublishServerDescriptor hidserv" publishes a public relay descriptor

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Feb 8 04:40:27 UTC 2011


#2408: "PublishServerDescriptor hidserv" publishes a public relay descriptor
-----------------------+----------------------------------------------------
 Reporter:  rransom    |       Owner:  rransom           
     Type:  defect     |      Status:  needs_review      
 Priority:  major      |   Milestone:  Tor: 0.2.1.x-final
Component:  Tor Relay  |     Version:                    
 Keywords:             |      Points:                    
   Parent:             |  
-----------------------+----------------------------------------------------

Comment(by arma):

 {{{
 -      *auth |= HIDSERV_AUTHORITY;
 +      log_warn(LD_CONFIG,
 +               "PublishServerDescriptor hidserv is obsolete. See "
 +               "PublishHidServDescriptors.");
 }}}

 When you print your warning here, you will likely get bitten by the bug
 where the logs aren't set up while parsing the config. So if the user has
 the default stdout notice log we give him, he'll see the warning. But if
 this Tor is being run in some other way (started in background, launched
 by controller, etc) this log_warn may be silent.

 I wonder what documentation we actually recommended using
 PublishServerDescriptor in this way.

 I'm tempted to fail the Tor, rather than just warn, so the user will
 notice and fix it.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2408#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list