[tor-bugs] #26871 [Core Tor/Tor]: prop289: randomize the unused part of relay payloads

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 19 04:31:14 UTC 2018


#26871: prop289: randomize the unused part of relay payloads
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  dgoulet
     Type:  enhancement                          |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  prop289, 035-roadmap-master, 035     |  Actual Points:
  -triaged-in-20180711                           |
Parent ID:  #26288                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by arma):

 My {{{task26871}}} branch shows where we would make this change. If we
 like it, it still needs unit tests, changes entry, etc.

 I thought about breaking out the memcpy and the crypto_rand into their own
 function, called something like relay_payload_pack(), but all the extra
 lines didn't seem worth it.

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


More information about the tor-bugs mailing list