[tor-bugs] #17821 [metrics-lib]: adapt metrics-lib to actual tordnsel format

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 14 14:19:39 UTC 2015


#17821: adapt metrics-lib to actual tordnsel format
-------------------------+--------------------------------
 Reporter:  iwakeh       |          Owner:  karsten
     Type:  defect       |         Status:  needs_revision
 Priority:  Medium       |      Milestone:
Component:  metrics-lib  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+--------------------------------

Comment (by karsten):

 Replying to [comment:9 iwakeh]:
 > I think, these lines were first treated as a new exitlist-entry, but
 then discarded because the other keywords were missing.

 Are you sure?  I think the other keywords were not missing, because we
 wouldn't clear the `StringBuilder` after parsing an exit list entry, nor
 would we add an `"ExitAddress"` line to the `StringBuilder`.  Here's the
 [https://gitweb.torproject.org/metrics-
 lib.git/tree/src/org/torproject/descriptor/impl/ExitListImpl.java#n71
 code].  I tried this out and got more entries in the old code, but if
 you're observing something differently, I'll look again.

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


More information about the tor-bugs mailing list