[tor-bugs] #25277 [Webpages]: Publish regex for v3 hidden services

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 17 04:01:40 UTC 2018


#25277: Publish regex for v3 hidden services
-------------------------------------------------+-------------------------
 Reporter:  ageisp0lis                           |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Webpages                             |        Version:  Tor:
                                                 |  unspecified
 Severity:  Normal                               |     Resolution:
 Keywords:  hidden services, v3, next-           |  Actual Points:
  generation, regex                              |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by ageisp0lis):

 SReplying to [comment:2 arma]:
 > > We have regexes for v1:
 > > {{{
 > > ^[a-z2-7]{40}\.onion$
 > > }}}
 >
 > Also, what is this? 40-character onion addresses?

 Sorry for the confusion! That was from
 [https://github.com/alecmuffett/eotk/blob/8c040ed1a1ef935f92447db4b69f31d05c324c50/templates.d/nginx.conf.txt#L299
 some of @alecmuffet's code] which is supposed to match both v2 and v3 (40
 + 16). My bad.

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


More information about the tor-bugs mailing list