mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Implement `portfwd-loopback-choice'. Works on local side in Unix as
well, though it's a lot less useful since you still can't bind to low-numbered ports of odd loopback IPs. Should work in principle for SSH2 remote forwardings as well as local ones, but OpenSSH seems unwilling to cooperate. [originally from svn r2344]
This commit is contained in:
@ -67,7 +67,7 @@ struct plug_function_table {
|
||||
Socket new_connection(SockAddr addr, char *hostname,
|
||||
int port, int privport,
|
||||
int oobinline, int nodelay, Plug plug);
|
||||
Socket new_listener(int port, Plug plug, int local_host_only);
|
||||
Socket new_listener(char *srcaddr, int port, Plug plug, int local_host_only);
|
||||
|
||||
/* socket functions */
|
||||
|
||||
@ -84,7 +84,7 @@ void sk_addr_free(SockAddr addr);
|
||||
Socket sk_new(SockAddr addr, int port, int privport, int oobinline,
|
||||
int nodelay, Plug p);
|
||||
|
||||
Socket sk_newlistener(int port, Plug plug, int local_host_only);
|
||||
Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only);
|
||||
|
||||
Socket sk_register(void *sock, Plug plug);
|
||||
|
||||
|
Reference in New Issue
Block a user