[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #32622 [Core Tor/Tor]: Fix misleading STATUS_CLIENT warning message
#32622: Fix misleading STATUS_CLIENT warning message
------------------------------+--------------------
Reporter: phw | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------
After Tor 0.4.3.0-alpha-dev successfully established a TCP connection with
a bridge but failed to finish its handshake, it sends the following
`STATUS_CLIENT` message to the controller:
{{{
650 STATUS_CLIENT WARN BOOTSTRAP PROGRESS=10 TAG=handshake_dir
SUMMARY="Finishing handshake with directory server" WARNING="DONE"
REASON=DONE COUNT=1 RECOMMENDATION=warn
HOSTID="0000000000000000000000000000000000000000" HOSTADDR="[scrubbed]"
}}}
One can reproduce this by using torproject.org's web server as a bridge:
95.216.163.36:80. The substring `WARNING="DONE"` is misleading and should
– if I'm interpreting [https://gitweb.torproject.org/torspec.git/tree
/control-spec.txt#n2682 control-spec.txt] correctly – contain a human-
readable description of what went wrong. Other `STATUS_CLIENT` messages
do a better job; for example:
{{{
650 STATUS_CLIENT WARN BOOTSTRAP PROGRESS=5 TAG=conn_dir
SUMMARY="Connecting to directory server" WARNING="Connection refused"
REASON=CONNECTREFUSED COUNT=1 RECOMMENDATION=warn
HOSTID="0000000000000000000000000000000000000000" HOSTADDR="[scrubbed]"
}}}
Here, the substring `WARNING="Connection refused"` gives me a good idea of
what's going on.
I suggest to fix the warning in this particular error case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32622>
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