[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #25573 [Core Tor/Tor]: Track half-closed stream IDs (was: Create a RELAY_COMMAND_END_ACK cell type)
#25573: Track half-closed stream IDs
-------------------------------------------------+-------------------------
Reporter: mikeperry | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: guard-discovery-stats 035-roadmap- | Actual Points:
proposed needs-proposal |
Parent ID: #25574 | Points:
Reviewer: | Sponsor:
| SponsorV-can
-------------------------------------------------+-------------------------
Comment (by mikeperry):
Better idea: since malicious endpoints can withhold the ACK, we might as
well just introduce a half-closed state for edge connections. With a
simple struct, we can keep track of the outstanding END, SENDME windows,
and data windows, and decrement those, and treat packets within the window
as valid, until we get an END from the other side.
This also has the advantage that we don't have to wait for anyone to
upgrade.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25573#comment:4>
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