[Ryu-devel] [PATCH] Handle SSL socket timeouts in controller gracefully

2016-08-23 Thread Victor Orlikowski
When the controller receive loop currently accepts an OpenFlow message, it does not validate the message length. As a result, a malicious or malfunctioning switch could cause send a message that would result in the receive loop making no forward progress. This patch ensures that the message

Re: [Ryu-devel] [PATCH] Handle SSL socket timeouts in controller gracefully

2016-04-19 Thread FUJITA Tomonori
On Tue, 19 Apr 2016 23:43:14 + Victor Orlikowski wrote: > Eventlet throws a subclass of IOError on SSL read timeout. > Without this patch, the read() loop exits on having received this normally > innocuous event, causing unnecessary disconnect/reconnect cycles for switches. >

[Ryu-devel] [PATCH] Handle SSL socket timeouts in controller gracefully

2016-04-19 Thread Victor Orlikowski
Eventlet throws a subclass of IOError on SSL read timeout. Without this patch, the read() loop exits on having received this normally innocuous event, causing unnecessary disconnect/reconnect cycles for switches. Thanks to Andy Hill for discovering this issue, and the initial version of this