search for: server_request_sess

Displaying 4 results from an estimated 4 matches for "server_request_sess".

2004 Jan 15
0
two minor memory leaks
...table in any way) in OpenSSH 3.7.1p2 that should probably be addressed. In serverloop.c, function server_input_channel_open(), the ctype variable is a char *, dynamically allocated in packet_get_string. It's xfree'd at the end of the function. However, before that, it's passed to server_request_session/server_request_direct_tcpip, which call either channel_new or channel_connect_to, passing in ctype. The channel structure keeps a pointer to ctype, so when server_input_channel_open returns, and xfree's the ctype pointer, the pointer held by the channel structure is now pointing at free...
2001 Oct 24
2
disable features
...22:18:47 -0000 1.82 +++ serverloop.c 22 Oct 2001 18:24:43 -0000 @@ -790,6 +790,7 @@ pty_change_window_size(fdin, row, col, xpixel, ypixel); } +#ifdef WITH_TCPFWD static Channel * server_request_direct_tcpip(char *ctype) { @@ -822,6 +823,7 @@ } return c; } +#endif static Channel * server_request_session(char *ctype) @@ -874,8 +876,10 @@ if (strcmp(ctype, "session") == 0) { c = server_request_session(ctype); +#ifdef WITH_TCPFWD } else if (strcmp(ctype, "direct-tcpip") == 0) { c = server_request_direct_tcpip(ctype); +#endif } if (c != NULL) { debug("ser...
2009 Feb 17
2
Idea: reverse socks proxy
Hi, Just a usecase that I'm sure has been covered before but just in case its not an openssh solution would be very helpful. I was trying to install software on a server that was firewalled so no outbound http connections would work. I was also tunnelling via another server. Outbound ssh connections also were a convenient option. What would have been nice would be a remote version of
2003 Oct 08
4
OS/390 openssh
...enssh-3.7.1p2.orig/serverloop.c openssh-3.7.1p2/serverloop.c --- openssh-3.7.1p2.orig/serverloop.c Sat Jun 28 04:38:02 2003 +++ openssh-3.7.1p2/serverloop.c Tue Oct 7 08:22:02 2003 @@ -926,9 +926,9 @@ ctype, rchan, rwindow, rmaxpack); if (strcmp(ctype, "session") == 0) { - c = server_request_session(ctype); + c = server_request_session("session"); } else if (strcmp(ctype, "direct-tcpip") == 0) { - c = server_request_direct_tcpip(ctype); + c = server_request_direct_tcpip("direct-tcpip"); } if (c != NULL) { debug("server_input_channel_open: confi...