[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #27707 [Core Tor/Tor]: Improve some v3 onion logs
#27707: Improve some v3 onion logs
------------------------------+----------------------------------
Reporter: asn | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: tor-hs easy tor-logs
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+----------------------------------
I've been debugging lots of v3 logs lately and I noticed a few issues with
them that can be improved:
1)
{{{
set_descriptor_revision_counter(): Encrypted revision counter 118682 to
-403149886
}}}
no need for `%ld` there, it's an `uint64_t`.
2) On the client side when we fetch descriptors we have the following log
message that displays the onion address and blinded key as a base64
instead of the typical base32. We should unify the format to make grep
easier:
{{{
[info] directory_launch_v3_desc_fetch(): Descriptor fetch request for
service khXWrMUXYYW1so9/CIWe5kI7+nxcSYO9zd4Edl2IIz8 with blinded key
QvyLoKg/B6musSsNfL4vMk2wD2HpiDsTU3gM7kY41Sg to directory
$C0B7413D690411DF5D2B0D838F56792312697122~minitor at 185.143.62.9
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27707>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs