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 d8ef471618 Updated README 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 Replaced exit codes with values that aren't taken by errno 2 years ago
easysock.h Replaced exit codes with values that aren't taken by errno 2 years ago
main.c Replaced exit codes with values that aren't taken by errno 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!!!