Luigi Auriemma

www.aluigi.org
 FAQ •  Search •  Register •  Login 
It is currently 18 Dec 2009 05:57

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Using Proxy
PostPosted: 26 Sep 2009 21:51 

Joined: 26 Sep 2009 21:39
Posts: 1
I'd like to start off by saying this is a great site you have here. They tools alone are a really great collection.

You have many tools for acting as a proxy for existing applications however, I am interested in learning how to use proxies from an application in which I have the source. The only source I found on your site that uses proxies are all HTTP based, which my understanding is nothing more than a set of headers sent to the proxy to forward the HTTP request. For non HTTP protocols, would I strictly be using SOCKS? Would you be able to point me in the right direction as to where I could read more about/see some code using proxies in C on a windows platform?

Thanks for your time.


Top
 Profile  
 
 Post subject: Re: Using Proxy
PostPosted: 26 Sep 2009 22:13 

Joined: 13 Aug 2007 21:44
Posts: 2845
Location: http://aluigi.org
the existent proxy types are:
- http proxy: works only with the http protocol
- http connect proxy: like the above one but covers also any other tcp protocol (imagine tcp data encapsulated in a http protocol), that's why without the "connect" method enabled is not possible to use the ssl layer of the https websites
- socks 4/5: any tcp protocol
- socks 5+udp: any tcp and udp protocol

personally I have never used the socks libraries so I don't have an exact one to suggest.
if you want to implement the protocol by hand you need to check the related rfc documents or at least http://en.wikipedia.org/wiki/SOCKS and also the source code of proxymini is very useful to understand it


Top
 Profile  
 
 Post subject: Re: Using Proxy
PostPosted: 27 Sep 2009 14:46 
User avatar

Joined: 24 Sep 2007 02:12
Posts: 811
what is your goal ?
do you want to learn C programming and how to use proxies in C or you simply want to route some program (that does not support proxy) thru a proxy ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: