[tor-bugs] #15244 [Tor]: Add helper functin that validates a .onion address

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 12 12:57:04 UTC 2015


#15244: Add helper functin that validates a .onion address
-------------------------+------------------------------------
 Reporter:  dgoulet      |          Owner:  dgoulet
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:  Tor: 0.2.7.x-final
Component:  Tor          |        Version:
 Keywords:  tor-hs       |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------------------
 Make a function that validates an HS address and can return either a
 reason as a string or an error code indicating the error type (maybe use
 errno values for that?).

 {{{
 int is_valid_rendservice_addr(const char *addr, char **reason);
 }}}

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


More information about the tor-bugs mailing list