Opened 2 years ago

Last modified 10 months ago

#19650 assigned enhancement

Keep non-printable characters out of details documents

Reported by: cypherpunks Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Onionoo Version:
Severity: Normal Keywords: metrics-2018
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by karsten)

Future Tor will not publish non-ASCII descriptors and dir auths will reject them at some point.

Since this is quite far in the future, what do you think about removing such strings in onionoo (before it reaches tor)?
I'm not suggesting to ignore the entire descriptor in such a case but just replace such chars with "?" ?
"??B?" -> "??B??"

https://atlas.torproject.org/#details/21E84B294794821E2898E8ED18402E45E4FC351E

Note: I used "non-printable" (vs. non-ASCII) since onionoo data includes printable but non-ASCII chars.

https://lists.torproject.org/pipermail/tor-relays/2016-July/009667.html

related:
[1] https://trac.torproject.org/projects/tor/ticket/19647
[2] https://trac.torproject.org/projects/tor/ticket/18938

Child Tickets

Change History (4)

comment:1 Changed 2 years ago by twim

May it be useful to print platform in hex when unprintable char occurs?

comment:2 Changed 10 months ago by karsten

Description: modified (diff)
Summary: do not include non-printable strings in details documentsKeep non-printable characters out of details documents

Tweak summary.

comment:3 Changed 10 months ago by karsten

Keywords: metrics-2018 added

comment:4 Changed 10 months ago by karsten

Owner: set to metrics-team
Status: newassigned
Note: See TracTickets for help on using tickets.