Skip to content

legacyobj/tinyproxyd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyproxyd

A tiny L7 reverse proxy daemon written in C.

tinyproxyd is a small HTTP/1.x reverse proxy. It accepts client traffic and relays it to one upstream with as little extra work as possible.

Installation

Ubuntu:

apt get update
sudo apt install gcc

Mac OS:

brew install gcc

Finally:

git clone https://github.com/legacyobj/tinyproxyd.git
cd tinyproxyd
make all

Usage example

./tinyproxyd 0.0.0.0 8081 203.0.113.10 8080 1024

Arguments:

./tinyproxyd [LISTEN_IP] [LISTEN_PORT] [UPSTREAM_IP] [UPSTREAM_PORT] [MAX_CONNECTIONS]

Current scope:

  • HTTP/1.x reverse proxy
  • fixed connection pool
  • non-blocking sockets
  • portable poll() event loop

Release History

  • 0.0.0
    • Reverse proxy restart

Contributing

  1. Fork it (https://github.com/legacyobj/tinyproxyd/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Tiny http proxy written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors