]> git.meshlink.io Git - meshlink/commit - src/net_socket.c
Add support for proxying through an external command.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 19 Apr 2012 13:18:31 +0000 (15:18 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 19 Apr 2012 13:18:31 +0000 (15:18 +0200)
commit5ae19cb0bb8dd6be1e9bcd560bb051f496a373ec
tree885de20cd1290153e3cd67befc092c47c27eedb5
parentfb5588856fa4dd6f140c72f7360302fe85b20c75
Add support for proxying through an external command.

Proxy type "exec" can be used to have an external script or binary set
up an outgoing connection. Standard input and output will be used to
exchange data with the external command. The variables REMOTEADDRESS and
REMOTEPORT are set to the intended destination address and port.
src/net_socket.c
src/netutl.c
src/protocol_auth.c