mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-08 08:58:00 +00:00
b1d01cd3c7
This puts the previous commit's framework to practical use. Now the main new_connection() passes its Seat ** through to the SshProxy setup function, which (if the stars align) will actually use it: stash it, return a TempSeat wrapper on it for the main backend to use in the interim, and pass through the GUI dialog prompts for host key confirmation and weak-crypto warnings. This is unfinished at the UI end: those dialog prompts will now need to be much clearer about which SSH server they're talking to (since now there could be two involved), and I haven't made that change yet. I haven't attempted to deal with get_userpass_input yet, though. That's much harder, and I'm still working on it.
18 lines
511 B
C
18 lines
511 B
C
/*
|
|
* nosshproxy.c: stub implementation of sshproxy_new_connection().
|
|
*/
|
|
|
|
#include "putty.h"
|
|
#include "network.h"
|
|
|
|
const bool ssh_proxy_supported = false;
|
|
|
|
Socket *sshproxy_new_connection(SockAddr *addr, const char *hostname,
|
|
int port, bool privport,
|
|
bool oobinline, bool nodelay, bool keepalive,
|
|
Plug *plug, Conf *conf,
|
|
LogPolicy *clientlp, Seat **clientseat)
|
|
{
|
|
return NULL;
|
|
}
|