[tor-bugs] #20307 [Core Tor/Tor]: [warn] Remote server sent bogus reason code 65021
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Oct 7 15:15:05 UTC 2016
#20307: [warn] Remote server sent bogus reason code 65021
--------------------------+------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor | Version: Tor: 0.2.9.3-alpha
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by nickm):
Oh darn, you said 65021, not 65012. That makes the target
-END_STREAM_REASON_CONNECTFAILED.
This warning should only be possible if you're running a controller, since
it only appears in circuit_end_reason_to_control_string , and only
control_event_circuit_status calls that...
Negative circuit close reason codes can come from at least these:
* pathbias_count_build_attempt.
* pathbias_check_probe_response, inconsistently.
* circuit_handle_first_hop
* circuit_send_next_onion_skin
* circuit_finish_handshake
Wait. This is wrong:
{{{
src/or/control.c: circuit_mark_for_close(TO_CIRCUIT(circ),
-END_CIRC_REASON_CONNECTFAILED);
}}}
That looks quite suggestive.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20307#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list