[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 14:59:03 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:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
Changes (by nickm):

 * milestone:  Tor: unspecified => Tor: 0.2.9.x-final


 Maybe we're using negative numbers to indicate failure, and forgetting to
 turn them positive somewhere?  Because if we interpreted
 -END_STREAM_REASON_NOSUCHSERVICE as a negative 16 bit integer, we'd get
 0xfff4.  And if we mask ou END_CIRC_REASON_FLAG_REMOTE (512), we get
 0xfdf4 == 65012.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20307#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tor-bugs mailing list