The Proxy Server in C

  • Follow


I am planning to do 'The Implementation of Proxy Server' on C.I would
be thankful to you if you provide any resources which I can use.My
Proxy should work under all protocols..Where do I need to start?I have
just begun reading Richard Stevens(Unix Network Programming).are there
any good resources on the Internet..which I can use?Thanx...
0
Reply virtualspy3 2/7/2004 3:32:43 AM

virtualspy wrote:
> I am planning to do 'The Implementation of Proxy Server' on C.I would
> be thankful to you if you provide any resources which I can use.My
> Proxy should work under all protocols..Where do I need to start?I have
> just begun reading Richard Stevens(Unix Network Programming).are there
> any good resources on the Internet..which I can use?Thanx...

For a good introductory socket programming guide..try "Beej's guide to 
network programming". Its my favorite.

cheers
Tejas Kokje
University of Southern California
0
Reply Tejas 2/7/2004 6:10:17 AM


virtualspy wrote:
> 
> I am planning to do 'The Implementation of Proxy Server' on C.I would
> be thankful to you if you provide any resources which I can use.My
> Proxy should work under all protocols..Where do I need to start?I have
> just begun reading Richard Stevens(Unix Network Programming).are there
> any good resources on the Internet..which I can use?Thanx...

get the source of "rinetd" and change the copyright messages in it ;)
0
Reply Lorinczy 2/7/2004 8:24:33 PM

> 
> get the source of "rinetd" and change the copyright messages in it ;)


I did not get what you were trying to say..do I need to get the source
of rinetd?and if so.after that what?in what way will that be relevant
to Proxy Servers?I just wanna implement a basic Proxy
Server(firewall,Cache).so.one of the suggestions..I got is to go
through the Beej's Network Programming Tutorial.Any other
Suggestions...are welcome...

Thanx.
0
Reply virtualspy3 2/8/2004 1:31:04 PM

virtualspy wrote:
> 
> >
> > get the source of "rinetd" and change the copyright messages in it ;)
> 
> I did not get what you were trying to say..do I need to get the source
> of rinetd?and if so.after that what?in what way will that be relevant
> to Proxy Servers?I just wanna implement a basic Proxy
> Server(firewall,Cache).so.one of the suggestions..I got is to go
> through the Beej's Network Programming Tutorial.Any other
> Suggestions...are welcome...

Well, you are trying to implement a HTTP-proxy? Or FTP? Or a SOCKS server?
Program rinted performs a sort of proxying,
and the Network Address Translation (NAT) performed by internet-gateways
is a sort of proxy too
This word has different meanings, be more specific...
0
Reply Lorinczy 2/8/2004 2:54:39 PM

> Well, you are trying to implement a HTTP-proxy? Or FTP? Or a SOCKS server?
> Program rinted performs a sort of proxying,
> and the Network Address Translation (NAT) performed by internet-gateways
> is a sort of proxy too
> This word has different meanings, be more specific...


I am trying to do a HTTP-Proxy.It should contain a Caching mechanism,a
firewall.plz give me some info on where should I start and some
Documentation ...which can guide me.I am comfortable with Borland.
C/C++ programming..That's my ground..now..suggest me something
0
Reply virtualspy3 2/9/2004 3:45:04 AM

In article <96fafb95.0402081945.664e9948@posting.google.com>,
 virtualspy3@yahoo.com (virtualspy) wrote:

> I am trying to do a HTTP-Proxy.

Your original message said "the proxy should work under all protocols".  
I guess you didn't really mean that?

Anyway, I suggest you get a copy of RFC 2616, the HTTP specification.  
Search for "proxy" to find all the special considerations that proxy 
servers have to make.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
0
Reply Barry 2/9/2004 5:01:29 AM

virtualspy wrote:
> 
> > Well, you are trying to implement a HTTP-proxy? Or FTP? Or a SOCKS server?
> > Program rinted performs a sort of proxying,
> > and the Network Address Translation (NAT) performed by internet-gateways
> > is a sort of proxy too
> > This word has different meanings, be more specific...
> 
> I am trying to do a HTTP-Proxy.It should contain a Caching mechanism,a
> firewall.plz give me some info on where should I start and some
> Documentation ...which can guide me.I am comfortable with Borland.
> C/C++ programming..That's my ground..now..suggest me something

Well, then I it is squid's source which you should consult...
http://www.squid-cache.org/
0
Reply Lorinczy 2/9/2004 7:02:06 PM

7 Replies
949 Views

(page loaded in 0.104 seconds)

Similiar Articles:













7/22/2012 2:00:44 PM


Reply: