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 22f7df1524 Added error checking for return value from 'easysock' functions 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 Updated easysock library files 2 years ago
easysock.h Updated easysock library files 2 years ago
main.c Added error checking for return value from 'easysock' functions 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!!!