cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: connecting to proxies without specifying remote host

From: Edgar Ricardo González Lázaro <ministromayor_at_gmail.com>
Date: Mon, 30 Apr 2012 16:41:26 -0500

The curl tool has a flag --any-auth maybe if you can see the sourcecode for this flag you can see how to implement this.

Greetings

El 30/04/2012, a las 16:04, eli <netloc_at_gmail.com> escribió:

> Hello everybody,
>
> I'm trying to test proxies using libcurl, and as it appears I'm forced to go in (at least) 2 stages:
>
> 1. Connect using SOCKS5 protocol, then SOCKS4, then HTTP in order to find the type of the proxy
> 2. Connect to proxy judge in order to find out the anonymity level of the proxy
>
> As I understand I don't need to connect to the proxy judge (or any other server for that sake) during the first stage. All is need is to connect to the proxy itself and see if handshake works for SOCKS5/SOCKS4/HTTP. Is it possible with libcurl? Or is there a workaround I'm not aware of?
>
> Kind regards,
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-30