[Twisted-Python] Reporting total traffic that goes through an SSL socket

Burak Arslan burak.arslan at arskom.com.tr
Thu Mar 26 12:20:06 MDT 2015


Hey Glyph,

On 03/25/15 22:20, Glyph Lefkowitz wrote:
>
> However, there is a ticket in
> progress: https://twistedmatrix.com/trac/ticket/5642 which has some
> code that demonstrates how to make the TLS stuff "purely" a wrapper
> all the way from the endpoint to your application code.
>
> What you need to do is write your own wrapper protocol and interpose
> it below the TLS transport (act as the transport for the TLS protocol,
> and the protocol for the TCP transport).
>
> If it is not obvious how to do this from the documentation for
> twisted.protocols.policies.ProtocolWrapper and the code in the
> aforementioned ticket, I (or someone else) can elaborate.
>

Thanks a bunch for the pointers, let me see what I can come up with.

Best regards,
Burak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150326/d1c6706c/attachment-0002.html>


More information about the Twisted-Python mailing list