Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a simple HTTP proxy in C [closed]

I'm a newbie programmer looking to create a simple proxy in C that forwards HTTP requests (through TCP). Are there any resources online that can get me started? I've already looked at "Beej's Guide to Network Programming" as it came highly recommended, but I find it to be a little incomplete and hard to follow. Any suggestion would be appreciated!

like image 503
user1730404 Avatar asked Jan 30 '13 18:01

user1730404


People also ask

What is proxy C?

Proxy in C++ Proxy is a structural design pattern that provides an object that acts as a substitute for a real service object used by a client. A proxy receives client requests, does some work (access control, caching, etc.) and then passes the request to a service object.

Can https be proxied?

You can use the HTTPS-proxy to secure a web server protected by your Firebox or Firebox, or to examine HTTPS traffic requested by clients on your network. By default, when an HTTPS client starts a request, it establishes a TCP (Transmission Control Protocol) connection on port 443.

What is HTTP open proxy?

An open proxy is a type of proxy server that is accessible by any Internet user. Generally, a proxy server only allows users within a network group (i.e. a closed proxy) to store and forward Internet services such as DNS or web pages to reduce and control the bandwidth used by the group.


1 Answers

Why reinventing the wheel? There is tinyproxy that is fully featured, opensource and free.

https://banu.com/tinyproxy/

like image 181
dAm2K Avatar answered Sep 20 '22 14:09

dAm2K