search for: format_forward

Displaying 2 results from an estimated 2 matches for "format_forward".

2012 May 03
5
[PATCH/RFC 0/6] New mux client request to list open tcp forwardings.
These patches implement a new mux client request to list the currently opened TCP forwardings. It also removes some todos regarding keeping the list of forwardings in the options up-to-date. Bert Wesarg (6): attach the forwarding type to struct Forward merge local and remote forward lists generate unique ids for forwardings to be used for identification remove closed forwardings from
2010 Jan 14
1
ssh(1) multiplexing rewrite
...ng(r, "Permission denied"); + return 0; + } + } - return (0); + quit_pending = 1; + buffer_put_int(r, MUX_S_OK); + /* XXX exit happens too soon - message never makes it to client */ + return 0; } -/* Multiplex client main loop. */ -void -muxclient(const char *path) +static char * +format_forward(u_int ftype, Forward *fwd) { - struct sockaddr_un addr; - int i, r, fd, sock, exitval[2], num_env; - Buffer m; - char *term; - extern char **environ; - u_int allowed, flags; + char *ret; - if (muxclient_command == 0) - muxclient_command = SSHMUX_COMMAND_OPEN; - - switch (options.control_master)...