[drakma-devel] SOCKS5 proxy support

Edi Weitz edi at agharta.de
Sat Aug 7 20:26:08 UTC 2010


Hi Red,

First of all, thanks for this, sounds good.  Could you show us the
diff somehow so that it's easier to see what exactly you've added and
how?

Edi.


On Sat, Aug 7, 2010 at 1:29 AM, Red Daly <reddaly at gmail.com> wrote:
> I have modified Drakma to use a SOCKS5 proxy if desired.  Before I
> submit a patch I'd like to know what is the preferred interface for
> this:
>
> 1.  Modify http-request with a SOCKS-PROXY option analogous to the
> PROXY option.  Introduce SOCKS5 protocol code  (about 200 lines) into
> hunchentoot and rely on no external libraries
>
> 2.  Modify http-request with a SOCKS-PROXY option analogous to the
> PROXY option.  Introduce a dependency on an external SOCKS5 library.
>
> 3.  Modify Drakma in some way that allows a user to establish a
> socks-proxy connection without explicitly supporting this in Drakma
> itself.
>
> The implementation requires that instead of establishing a socket
> connection to HOST/PORT, the socket connects to SOCKS-HOST/SOCKS-PORT
> instead and then sets up the socket to forward to HOST/PORT.
>
> The implementation is available here:
> http://github.com/gonzojive/drakma/tree/socks
>
> socks5 spec: http://www.faqs.org/rfcs/rfc1928.html
>
> Red
>
> _______________________________________________
> drakma-devel mailing list
> drakma-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel
>




More information about the Drakma-devel mailing list