[tor-bugs] #16861 [Core Tor/Tor]: Pad Tor connections to collapse netflow records

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 28 19:30:06 UTC 2017


#16861: Pad Tor connections to collapse netflow records
-------------------------------------------------+-------------------------
 Reporter:  mikeperry                            |          Owner:
                                                 |  mikeperry
     Type:  enhancement                          |         Status:
                                                 |  needs_revision
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.3.1.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  028-triage, 028-triaged,             |  Actual Points:
  pre028-patch, 201511-deferred,                 |
  201512-deferred, tor-guard, TorCoreTeam-       |
  postponed-201604, nickm-deferred-20160905,     |
  review-group-9, nickm-deferred-20161005        |
Parent ID:                                       |         Points:  6
 Reviewer:  nickm                                |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by dgoulet):

 Thanks!

 Now I have this issue with the `make test` (with `--enable-fragile-
 hardening`):

 {{{
 channelpadding/channelpadding_decide_to_pad_channel: [forking] Apr 28
 15:28:31.309 [warn] channelpadding_compute_time_until_pad_for_netflow():
 Bug: Channel padding timeout scheduled 100ms in the past. Did the
 monotonic clock just jump? (on Tor 0.3.1.0-alpha-dev bbef0dff69debfee)
 OK
 channelpadding/channelpadding_negotiation: [forking]
 src/test/test_channelpadding.c:637:56: runtime error: member access within
 misaligned address 0x7fffd1aec815 for type 'struct
 channelpadding_negotiate_t', which requires 2 byte alignment
 0x7fffd1aec815: note: pointer points here
  00 00 00 0c 00 01 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00  00
              ^
 src/test/test_channelpadding.c:645:56: runtime error: member access within
 misaligned address 0x7fffd1aec815 for type 'struct
 channelpadding_negotiate_t', which requires 2 byte alignment
 0x7fffd1aec815: note: pointer points here
  00 00 00 0c 01 01 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00  00
              ^
 OK
 }}}

 And this but maybe this is not related to your code and has been fixed
 since (dunno..):

 {{{
 entrynodes/parse_from_state_full: [forking]
   FAIL src/test/test_entrynodes.c:618:
 assert(smartlist_len(gs_br->sampled_entry_guards) OP_EQ 2): 0 vs 2
   [parse_from_state_full FAILED]
 }}}

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


More information about the tor-bugs mailing list