Twisted DTLS connection
How to implement dtls protocol using twisted with m2cry开发者_JS百科pto (or pyopenssl)?
Neither pyOpenSSL nor M2Crypto exposes OpenSSL's DTLS features (as far as I know). So, the first step would be to extend one of these libraries to support it. After that, you could extend Twisted to use the new features you just added to the underlying SSL library.
gnutls in version 3.2 now supports DTLS, for some cffi wrappers you might want to look at https://github.com/apexo/pgdtls
精彩评论