Re: ANN: PyDTLS

2013-01-09 Thread Chris Angelico
On Thu, Jan 10, 2013 at 7:04 AM, rbit wrote: > The following are some of the main use cases that force applications into > datagram protocols: > > * Minimizing protocol overhead. TCP has relatively high overhead, > for example, its 3-way handshake for connection establishment. > On

Re: ANN: PyDTLS

2013-01-09 Thread rbit
Neal, A network protocol that is unreliable (i.e., lacks retransmission of dropped packets) and lacks congestion control will certainly never be a common, general purpose protocol, due to the amount of work it imposes on its user. Implementing an AIMD congestion control algorithm is burdensome to

Re: ANN: PyDTLS

2013-01-09 Thread Guido van Rossum
On Tue, Jan 8, 2013 at 11:38 PM, rbit wrote: > On Tue, Jan 8, 2013 at 9:09 PM, Guido van Rossum wrote: >> But don't you have to deal with that when doing synchronous I/O as >> well? It's a datagram protocol after all. > > No: when dealing with blocking sockets, the OpenSSL library activates its >

Re: ANN: PyDTLS

2013-01-09 Thread Neal Becker
A bit OT, but the widespread use of rfc 6347 could have a big impact on my work. I wonder if it's likely to see widespread use? What are likely/possible use cases? Thank. -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: PyDTLS

2013-01-08 Thread rbit
On Tue, Jan 8, 2013 at 9:09 PM, Guido van Rossum wrote: > But don't you have to deal with that when doing synchronous I/O as > well? It's a datagram protocol after all. No: when dealing with blocking sockets, the OpenSSL library activates its own retransmission timers, and the application never b

Re: ANN: PyDTLS

2013-01-08 Thread Guido van Rossum
On Tue, Jan 8, 2013 at 8:39 PM, rbit wrote: > Thank you. I will gladly port to Python 3 if there is interest from > the community. Python 3 is where it's at! :-) > Regarding PEP 3156: asynchronous use of unreliable network protocols > makes for an interesting use case. In particular, it forces >

Re: ANN: PyDTLS

2013-01-08 Thread rbit
Thank you. I will gladly port to Python 3 if there is interest from the community. Regarding PEP 3156: asynchronous use of unreliable network protocols makes for an interesting use case. In particular, it forces applications to deal with packet loss under some circumstances. One such situation occ

Re: ANN: PyDTLS

2013-01-08 Thread Guido van Rossum
This sounds exciting. Are you considering a Python 3 port? It might make a nice demo of PEP 3156. On Monday, January 7, 2013, rbit wrote: > I would like to announce Datagram Transport Layer Security for > Python. From the top of the project README: > > PyDTLS brings Datagram Transport Layer Secur

ANN: PyDTLS

2013-01-02 Thread rbit
I would like to announce Datagram Transport Layer Security for Python. From the top of the project README: PyDTLS brings Datagram Transport Layer Security (DTLS - RFC 6347: http://tools.ietf.org/html/rfc6347) to the Python environment. In a nutshell, DTLS brings security (encryption, server authen