[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #4312 [Tor Relay]: Rate limit renegotiations
#4312: Rate limit renegotiations
-----------------------+----------------------------------------------------
Reporter: asn | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by asn):
<asn> wrt #4312, it does *not* seem to work in the bufferevents case.
<asn> I'm not sure how SSL is handled in USE_BUFFEREVENTS
<asn> and I suspect it's handled by libevent
<asn> because I don't see connection_or_handle_event_cb() getting called
after the
initial SSL handshake.
<asn> so I suspect that libevent is internally calling SSL_read() or
SSL_write(), is completing renegotiations and is not reporting back to
tor.
<asn> The renegotiated callback in the bufferevents case is called from
connection_or_process_inbuf() when the first SSL data
packet arrives.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4312#comment:5>
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