A basic TCP proxy, written in C.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Aadhavan Srinivasan 1ab6ffe44f Added code for testing 2 years ago
.gitignore Updated .gitignore 2 years ago
Makefile Added 'debug' target 2 years ago
README.md Updated README 2 years ago
TODO.txt Updated TODO.txt 2 years ago
easysock.c Added code for testing 2 years ago
easysock.h Added inet_to_int function 2 years ago
main.c Removed check for IP version in remote address 2 years ago

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!!!