Skip to content

bg5sbk/eproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eproxy is a simple epoll based efficient TCP proxy for Linux It connects two TCP ports to each other and communicates zero copy.

It is not trying to compete with the "big boy" load balancers, but is very easy to adapt for experiment. It should be fairly efficient however.

Simple port forwarder

proxy inport outip outport

Uses pipes to splice two sockets together. This should give something approaching zero copy, if the NIC driver is capable.

This method is rather file descriptor intensive (4 fds/conn), so make sure you have enough.

Andi Kleen

About

Simple zero copy TCP proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.5%
  • Makefile 0.5%