[tor-bugs] #30434 [Obfuscation/Snowflake]: Log sanitization scrubs HH:MM:SS timestamps as if they were IPv6 addresses
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 8 16:37:14 UTC 2019
#30434: Log sanitization scrubs HH:MM:SS timestamps as if they were IPv6 addresses
-----------------------------------+------------------------
Reporter: dcf | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Minor | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------------+------------------------
Comment (by cohosh):
Here's a suggested fix:
https://github.com/cohosh/snowflake/tree/ticket30434
I went off of [https://tools.ietf.org/html/rfc4291#section-2.2 RFC4291].
There's no MUST in there, but a "::" indicates a compressed IPv6 address,
so I added the restriction that if there are more than 2 fields compressed
it needs "::" somewhere in the address.
I also added some additional test cases for the timestamps and more
compressed addresses to make sure we don't miss anything.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30434#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list