[Twisted-Python] Minitrue: implementing ICAP proxylet support, or implementing sslbump

R M Waters robert.waters at gmail.com
Fri Sep 9 14:43:48 EDT 2011


</lurking>
Not able to help you with your question, but I was browsing github earlier
and came across some ICAP code using Twisted:
https://github.com/diegows/misc/blob/master/adv-indonesia/usr/local/bin/icap-server.py

hth

<lurking>


On Thu, Sep 8, 2011 at 7:04 AM, Laurens Van Houtven <_ at lvh.cc> wrote:

> Hi :)
>
> Context for those who haven't heard of minitrue: it's a twisted powered
> HTTP proxy that is designed to lie. It lets you modify requests and
> responses.
>
> So far, it's been a mostly academic exercise, which I suppose could have
> real-world applications. I'd like to learn some more about how to use
> minitrue with SSL/TLS next.
>
> I would like to use something like Squid's sslbump support. The easiest way
> to do that would probably be to use ICAP and get minitrue to support
> publishing request and response manglers as proxylets (which would be
> Resources, sort of, since ICAP is kind-of HTTP. Whether I should write a
> custom parser or leverage the existing HTTP support is something I'm not
> entirely sure of yet. I suppose the two theses are not mutually exclusive).
>
> Has anyone used twisted's proxy support with ssl? Ideally, I would let
> minitrue take a ca cert, and have it create and sign the appropriate cert on
> the fly; IIUC this is how content filtering proxies that support ssl right
> now work.
>
> cheers
>
> lvh
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110909/0d50cd36/attachment.htm 


More information about the Twisted-Python mailing list