|
-
January 9th, 2009, 04:46 AM
#1
Proxy Server
hi!
I am a B.Tech student and have to make a proxy server as a project in this sem, can anybody help to do so.I mean can anybody guide me how to make proxy server, where to start from what to study ,what are the steps ,what all I need etc.
Any help will be appreciated.
Thank you in advance
-
January 9th, 2009, 09:33 AM
#2
Re: Proxy Server
Hi,
You first need to know what kind of proxy server you need to implement. What kind of application will it proxy? If it is purely for HTTP, then you should look into a "web proxy". If it more generic TCP/UDP communication, look at "SOCKS proxy".
-
January 10th, 2009, 05:43 AM
#3
Re: Proxy Server
First of all thanks for your reply.....I have to make http proxy server bcoz I m thinking to make a caching proxy server which will also be able to filter the request...so I think http proxy is only capable of such things....n I will look into web proxy as per your suggestion and come back to you after that.....Any more suggestion is welcome
-
January 12th, 2009, 12:18 AM
#4
Re: Proxy Server
Hi,
I tried looking for web proxy but cud not get nething relevent to proxy server......please give some guidelines how to make a proxy server
Last edited by TrozanHorse; January 17th, 2009 at 01:39 AM.
-
January 14th, 2009, 04:47 PM
#5
Re: Proxy Server
Try a search at this (and other sites) for "proxy server". Here are two from CodeGuru. I have not looked at the code and cannot make a recommendation about either:
http://www.codeguru.com/cpp/i-n/inte...cle.php/c3407/
http://www.codeguru.com/cpp/i-n/inte...cle.php/c3383/
In addition, more code samples might be found at sourceforge (i.e., at www.sourceforge.net ). In a quick search for source code that implements http proxies, I found the following. Usually, you'll find them associated with web-filtering programs, like:
"Privoxy" at http://sourceforge.net/projects/ijbswa/
"Proximodo" at http://sourceforge.net/projects/proximodo/
"Middleman" at http://sourceforge.net/projects/middle-man/
"tinyproxy" at http://sourceforge.net/projects/tinyproxy/
More generally, http://www.letmegooglethatforyou.com...2http+proxy%22
Mike
-
January 17th, 2009, 01:38 AM
#6
Re: Proxy Server
thanx for the reply .....but I have already downloaded such codes. The reason I started this thread was...understanding somebody's code is a tough job,,,,therefore I wt anted a sort of algorithm that should give me what are the steps to make a proxy server...and then code that myself...........If you can help in this respect it would be great.
-
January 17th, 2009, 10:15 AM
#7
Re: Proxy Server
ahoodin
To keep the plot moving, that's why.

-
January 17th, 2009, 02:37 PM
#8
Re: Proxy Server
The second link I posted has a very simple proxy server that should be easy to undersand. It starts a new thread for every new incoming connection. Since every connection has its own thread, the programming is simple and the algorithm is exposed. The entire proxy server is contained in about 300 lines of code. Comments in the code explain what the author is doing. Study that for the "algorithm" that you are seeking.
Here is the link again: http://www.codeguru.com/cpp/i-n/inte...cle.php/c3383/
-
January 25th, 2009, 01:48 AM
#9
Re: Proxy Server
sorry for the late reply .....I got the algorithm and now I will try understanding the code given by MikeAThon and come back to you if I face any problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|