Re: [Twisted-Python] connectionMade, TLS and DoS protection timeouts

2012-02-29 Thread Tobias Oberstein
> > I was wondering how I could protect a Twisted server from evil clients > > initiating, but never completing a TLS handshake. > > > > connectionMade is only called when the TLS handshake has completed, right? > > > > When doing listenSSL, is there a hook which is fired right after the > > TCP ha

[Twisted-Python] ProcessMonitor stderr stdout

2012-02-29 Thread Kevin McIntyre
Newbie question: I'm calling addProcess and everything works well, but I'm trying to understand how to capture/handle stderr stdout for that spawned process. -- Kevin McIntyre | Software Engineer | *Green Charge Networks* Cell 718-249-5058 | kmcint...@greenchargenet.com | www.greenchargenet.co

Re: [Twisted-Python] ProcessMonitor stderr stdout

2012-02-29 Thread Lucas Taylor
On Feb 29, 2012, at 5:16 PM, Kevin McIntyre wrote: > Newbie question: > > I'm calling addProcess and everything works well, but I'm trying to > understand how to capture/handle stderr stdout for that spawned process. > Look into subclassing ProcessMonitor and override startProcess to provide

Re: [Twisted-Python] connectionMade, TLS and DoS protection timeouts

2012-02-29 Thread Itamar Turner-Trauring
On 02/29/2012 03:56 AM, Tobias Oberstein wrote: > Thanks! That sounds reasonable and easy enough. > > Also thanks for pointing to abortConnection() .. which is also a good thing > in the context of DoS protection .. > Although do note using abortConnection will restrict you to very new versions o