cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl wiht privoxy

From: Alexander Lazic <al-curlusers_at_none.at>
Date: Sat, 22 Apr 2006 09:03:36 +0200

Hi,

On Sam 22.04.2006 12:39, xiaolei zhang wrote:
>
>I try to use curl with privoxy/tor??but fail?? My privoxy is on
>127.0.0.1:8118??it seems that curl try to use http1.0 to open a http
>tunnel??then privoxy return a 403 error.
>
>what shall i do?

Fix the permissions in privoxy, look at '+limit-connect'-directive for
privoxy.

http://www.privoxy.org/user-manual/actions-file.html#LIMIT-CONNECT

>curl -v ... give this message:
>
>* About to connect() to 127.0.0.1 port 8118
>* Trying 127.0.0.1... connected
>* Connected to 127.0.0.1 (127.0.0.1) port 8118
>* Establish HTTP proxy tunnel to 127.0.0.1:8118
>> CONNECT 127.0.0.1:8118 HTTP/1.0
>> Host: 127.0.0.1:8118
>> User-Agent: curl/7.15.1 (i686-pc-cygwin) libcurl/7.15.1 OpenSSL/0.9.8a
>zlib/1.2.3
>> Proxy-Connection: Keep-Alive
>>
>< HTTP/1.0 403 Connection not allowable
>< X-Hint: If you read this message interactively, then you know why
>this happens ,-)

This isn't a message from curl.

Regards

Alex
Received on 2006-04-22