[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6007 [Tor Relay]: Be more strict about rejecting pre-handshake data in 0.2.2
#6007: Be more strict about rejecting pre-handshake data in 0.2.2
-----------------------+----------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: major | Milestone: Tor: 0.2.2.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
In 0.2.2, while in state OR_CONN_STATE_TLS_SERVER_RENEGOTIATING, if we get
any data we just let it sit in the inbuf. We should instead close the
connection if the data arrives before the handshake, since this is either
a failed attempt at a v3 handshake, or an attempt to bloat our buffer and
make us waste ram.
On 0.2.3, this fix isn't necessary, since any data arriving will get
treated as an attempt at a v3 handshake.
Found by pseudnymous user on IRC.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6007>
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