No subject


Wed Feb 23 11:29:31 MST 2011


of acting as a proxy server (correct me if I'm wrong).
A quick search for "proxy" on Trac returns quite a lot of results so it's
not easy to have a good grasp of the situation.

Personnaly, what I'm interested in is the ability for Twisted to act as a
proxy client and thus to connect to an external proxy server.
I've seen bug reports on that topic, of which some are still open:

Add a SOCKS client API
http://twistedmatrix.com/trac/ticket/3508

Socks V5 functionality
http://twistedmatrix.com/trac/ticket/1330

Add CONNECT support to HTTP client
http://twistedmatrix.com/trac/ticket/4969

Regarding this last bug, I was wondering if there could a generic HTTP proxy
mechanism, like with SOCKS, and not tied to the Web client.
Because we might want to use an HTTP proxy for something else that Web
traffic.

What would be nice in Twisted is a generic, upper-protocol-agnostic proxy
mechanism  -- and one that would support indistinctly SOCKS and HTTP kinds
of proxies.

By the way, I'm totally new to Twisted, so forgive me if what I'm missing
something obvious :-)

Thanks,

-- 
Damiano ALBANI

--bcaec517a78e47cb7804a9bdb0a2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hello,</div><div><br></div><div>I&#39;m trying to determine the curren=
t status of proxy support in Twisted.</div><div>I&#39;ve googled quite a bi=
t to find an answer but I couldn&#39;t get a crystal clear picture.</div>


<div>What I mean by &quot;proxy support&quot; is the capability to:</div><d=
iv>=A0 - act as a proxy server</div><div>=A0 - use an external proxy server=
 (i.e. act as a client)</div><div>And by proxy, I&#39;m talking in pratice =
of SOCKS v{4(a),5} and HTTP &quot;CONNECT&quot; standards.</div>


<div><br></div><div>From what I&#39;ve read so far, it looks like Twisted i=
s currently only capable of acting as a proxy server (correct me if I&#39;m=
 wrong).</div><div>A quick search for &quot;proxy&quot; on Trac returns qui=
te a lot of results so it&#39;s not easy to have a good grasp of the situat=
ion.</div>


<div><br></div><div>Personnaly, what I&#39;m interested in is the ability f=
or Twisted to act as a proxy client and thus to connect to an external prox=
y server.</div><div>I&#39;ve seen bug reports on that topic, of which some =
are still open:</div>


<div><br></div><div>Add a SOCKS client API</div><div><a href=3D"http://twis=
tedmatrix.com/trac/ticket/3508" target=3D"_blank">http://twistedmatrix.com/=
trac/ticket/3508</a></div><div><br></div><div>Socks V5 functionality</div>

<div><a href=3D"http://twistedmatrix.com/trac/ticket/1330" target=3D"_blank=
">http://twistedmatrix.com/trac/ticket/1330</a></div>
<div><br></div><div>Add CONNECT support to HTTP client</div><div><a href=3D=
"http://twistedmatrix.com/trac/ticket/4969" target=3D"_blank">http://twiste=
dmatrix.com/trac/ticket/4969</a></div><div><br></div><div>Regarding this la=
st bug, I was wondering if there could a generic HTTP proxy mechanism, like=
 with SOCKS, and not tied to the Web client.</div>


<div>Because we might want to use an HTTP proxy for something else that Web=
 traffic.</div><div><br></div><meta http-equiv=3D"content-type" content=3D"=
text/html; charset=3Dutf-8"><div>What would be nice in Twisted is a=A0gener=
ic, upper-protocol-agnostic proxy mechanism =A0-- and one that would suppor=
t indistinctly SOCKS and HTTP kinds of proxies.</div>


<div><br></div><div>By the way, I&#39;m totally new to Twisted, so forgive =
me if what I&#39;m missing something obvious :-)</div><div><br></div><div>T=
hanks,</div><br>-- <br>Damiano ALBANI<br>

--bcaec517a78e47cb7804a9bdb0a2--



More information about the Twisted-Python mailing list