[drakma-devel] SOCKS5 proxy support

Red Daly reddaly at gmail.com
Sat Aug 7 23:09:00 UTC 2010


Sure,

http://github.com/gonzojive/drakma/commit/869007460ae2eb804bcd1600faacf9bda27e3709
contains a diff.  I also attached one.

- Red

On Sat, Aug 7, 2010 at 1:26 PM, Edi Weitz <edi at agharta.de> wrote:
> 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
>>
>
> _______________________________________________
> drakma-devel mailing list
> drakma-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: socks-proxy.diff
Type: text/x-patch
Size: 14945 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/drakma-devel/attachments/20100807/c77e3e5b/attachment.bin>


More information about the Drakma-devel mailing list