search for: packetmax

Displaying 6 results from an estimated 6 matches for "packetmax".

2004 Jul 07
3
DynamicWindow Patch
...src/usr.bin/ssh/ssh-keysign and ssh/ssh-keysign diff -u src/usr.bin/ssh/ssh.c ssh/ssh.c --- src/usr.bin/ssh/ssh.c 2004-06-13 11:03:02.000000000 -0400 +++ ssh/ssh.c 2004-07-07 10:02:24.000000000 -0400 @@ -1125,7 +1125,11 @@ "session", SSH_CHANNEL_OPENING, in, out, err, window, packetmax, CHAN_EXTENDED_WRITE, "client-session", /*nonblock*/0); - + if (!tty_flag) { + c->dynamic_window = 1; + set_unlimited(&c->input,1); + set_unlimited(&c->output,1); + } debug3("ssh_session2_open: channel_new: %d", c->self); channel_send_open(c-&g...
2008 Jun 19
5
Portforwarding using the control master.
Hi all, currently I am considering writing a patch for OpenSSH that will allow portforwarding using the control_master unix domain socket. The idea is to introduce an extra SSHMUX command, SSHMUX_COMMAND_SOCKS, which will then pass control to the normal socks functions used for dynamic forwarding. The main reason for me to write this patch are: - some more control over who gets to connect to
2004 Jul 14
1
New dynamic window patch (with limits)
...(c); diff -u openssh-3.8.1p1/ssh.c openssh-3.8.1p1-dynwindow/ssh.c --- openssh-3.8.1p1/ssh.c 2004-03-21 17:36:01.000000000 -0500 +++ openssh-3.8.1p1-dynwindow/ssh.c 2004-07-07 09:54:03.000000000 -0400 @@ -1117,7 +1117,11 @@ "session", SSH_CHANNEL_OPENING, in, out, err, window, packetmax, CHAN_EXTENDED_WRITE, "client-session", /*nonblock*/0); - + if (!tty_flag) { + c->dynamic_window = 1; + set_unlimited(&c->input,1); + set_unlimited(&c->output,1); + } debug3("ssh_session2_open: channel_new: %d", c->self); channel_send_open(c-&g...
2000 Aug 15
0
Experimental -R support patch for openssh client
...options.remote_forwards[i].host, + options.remote_forwards[i].host_port); + } +} + extern void client_set_session_ident(int id); void @@ -963,7 +979,9 @@ /* should be pre-session */ init_local_fwd(); - + /* Jarno */ + init_remote_fwd(); + window = 32*1024; if (tty_flag) { packetmax = window/8;
2010 Jan 14
1
ssh(1) multiplexing rewrite
...icating whether mux master should - * begin graceful close. - */ -int -muxserver_accept_control(void) +/* Check mux client environment variables before passing them to mux master. */ +static int +env_permitted(char *env) { - Buffer m; - Channel *c; - int client_fd, new_fd[3], ver, allowed, window, packetmax; - socklen_t addrlen; - struct sockaddr_storage addr; - struct mux_session_confirm_ctx *cctx; - char *cmd; - u_int i, j, len, env_len, mux_command, flags, escape_char; - uid_t euid; - gid_t egid; - int start_close = 0; - - /* - * Accept connection on control socket - */ - memset(&addr, 0, siz...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...te_forwarding(options.remote_forwards[i].port, + options.remote_forwards[i].host, + options.remote_forwards[i].host_port); } } @@ -963,7 +1000,9 @@ /* should be pre-session */ init_local_fwd(); - + /* Jarno */ + init_remote_fwd(); + window = 32*1024; if (tty_flag) { packetmax = window/8; @@ -979,6 +1018,12 @@ channel_open(id); channel_register_callback(id, SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, client_init, (void *)0); + + /* Jarno: User wants us to fork */ + if (fork_after_authentication_flag) { + if (daemon(1, 1) < 0) + fatal("daemon() failed: %.200s&quo...