1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 09:07:33 -05:00

Support, on Unix only (so far), for OpenSSH-style generic proxying

(running a local command in a pair of pipes and proxying through
that, for example `ssh proxyhost nc -q0 %host %port').

[originally from svn r3164]
This commit is contained in:
Simon Tatham
2003-05-06 19:52:31 +00:00
parent 5e36ac8d67
commit 03fa61025b
8 changed files with 557 additions and 130 deletions

17
pproxy.c Normal file
View File

@ -0,0 +1,17 @@
/*
* pproxy.c: dummy implementation of platform_new_connection(), to
* be supplanted on any platform which has its own local proxy
* method.
*/
#include "putty.h"
#include "network.h"
#include "proxy.h"
Socket new_connection(SockAddr addr, char *hostname,
int port, int privport,
int oobinline, int nodelay, Plug plug,
const Config *cfg)
{
return NULL;
}