[tor-bugs] #24964 [Core Tor/Tor]: dos: Block single hop client at the HSDir

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 2 14:43:41 UTC 2019


#24964: dos: Block single hop client at the HSDir
--------------------------------------+------------------------------------
 Reporter:  dgoulet                   |          Owner:  dgoulet
     Type:  defect                    |         Status:  needs_revision
 Priority:  Medium                    |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor              |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tor-dos, tor2web, tor-hs  |  Actual Points:  0.1
Parent ID:  #24962                    |         Points:  0.1
 Reviewer:  asn                       |        Sponsor:  Sponsor27-must
--------------------------------------+------------------------------------

Comment (by dgoulet):

 Ok turns out that a unit test needed more love to pass the "connection is
 anonymous" test added by this branch.

 HOWEVER, it highlighted a problem with the approach.

 The `linked_conn` onto a directory connection is always of type EXIT. I'm
 going back to the point where I do not know how to get the or_connection_t
 that the dir_connection_t is coming from...

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


More information about the tor-bugs mailing list