Aims: * to listen on a local UNIX socket and tunnel any incoming connections and traffic to a (remote) IP address/port What it does: * tunnels all traffic between a (remote) address/port and a local UNIX socket * does NOT use fork() (single process model) * does use O_NONBLOCK , should be no case of blocking What it doesnt do (yet): * doesnt limit number of concurent connections
11 lines
387 B
Text
11 lines
387 B
Text
Aims:
|
|
* to listen on a local UNIX socket and tunnel any incoming connections and
|
|
traffic to a (remote) IP address/port
|
|
|
|
What it does:
|
|
* tunnels all traffic between a (remote) address/port and a local UNIX socket
|
|
* does NOT use fork() (single process model)
|
|
* does use O_NONBLOCK , should be no case of blocking
|
|
|
|
What it doesnt do (yet):
|
|
* doesnt limit number of concurent connections
|