A basic TCP proxy, written in C.
 
 
Go to file
Aadhavan Srinivasan 66150609c3 Added 'inet_to_int' function, and 'char_to_socktype' function; started working on domain name support for remote address
.gitignore Updated .gitignore
Makefile Added 'debug' target
README.md Updated README
TODO.txt Updated TODO.txt
easysock.c Added 'inet_to_int' function, and 'char_to_socktype' function; started working on domain name support for remote address
easysock.h Added inet_to_int function
main.c Removed check for IP version in remote address

README.md

basic-proxy [WIP]

A simple, basic TCP proxy, written in C.

This is a simple proxy that can receive connections on one port, and forward them to another.

It is written in C, and has a small file size and memory footprint.

Installation

TODO

Usage

./proxy <local-address> <local-port> <remote-address> <remote-port>

If the program doesn't work, check the errno. Run 'errno $?' to get the resulting error. Also, CHECK YOUR FIREWALL!!!