Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-12 | I was coalescing expected global request confirmation replies at the | Damien Miller | |
wrong end of the queue - fix; prompted by markus@ | |||
2008-06-12 | The multiplexing escape char handler commit last night introduced a | Damien Miller | |
small memory leak per session; plug it. | |||
2008-06-12 | thall shalt not code past the eightieth column | Damien Miller | |
2008-06-12 | maintain an ordered queue of outstanding global requests that we | Damien Miller | |
expect replies to, similar to the per-channel confirmation queue. Use this queue to verify success or failure for remote forward establishment in a race free way. ok dtucker@ | |||
2008-06-12 | Enable ~ escapes for multiplex slave sessions; give each channel | Damien Miller | |
its own escape state and hook the escape filters up to muxed channels. bz #1331 Mux slaves do not currently support the ~^Z and ~& escapes. NB. this change cranks the mux protocol version, so a new ssh mux client will not be able to connect to a running old ssh mux master. ok dtucker@ | |||
2008-05-19 | unbreak tree by committing this bit that I missed from: | Damien Miller | |
Fix sending tty modes when stdin is not a tty (bz#1199). Previously we would send the modes corresponding to a zeroed struct termios, whereas we should have been sending an empty list of modes. Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@ | |||
2008-05-09 | unbreak | Markus Friedl | |
ssh -2 localhost od /bin/ls | true ignoring SIGPIPE by adding a new channel message (EOW) that signals the peer that we're not interested in any data it might send. fixes bz #85; discussion, debugging and ok djm@ | |||
2008-05-09 | tidy up session multiplexing code, moving it into its own file and | Damien Miller | |
making the function names more consistent - making ssh.c and clientloop.c a fair bit more readable. ok markus@ | |||
2008-05-09 | Try additional addresses when connecting to a port forward destination | Damien Miller | |
whose DNS name resolves to more than one address. The previous behaviour was to try the first address and give up. Reported by stig AT venaas.com in bz#343 great feedback and ok markus@ | |||
2008-05-08 | Use new channel status confirmation callback system to properly deal | Damien Miller | |
with "important" channel requests that fail, in particular command exec, shell and subsystem requests. Previously we would optimistically assume that the requests would always succeed, which could cause hangs if they did not (e.g. when the server runs out of fds) or were unimplemented by the server (bz #1384) Also, properly report failing multiplex channel requests via the mux client stderr (subject to LogLevel in the mux master) - better than silently failing. most bits ok markus@ (as part of a larger diff) | |||
2008-05-08 | Implement a channel success/failure status confirmation callback | Damien Miller | |
mechanism. Each channel maintains a queue of callbacks, which will be drained in order (RFC4253 guarantees confirm messages are not reordered within an channel). Also includes a abandonment callback to clean up if a channel is closed without sending confirmation messages. This probably shouldn't happen in compliant implementations, but it could be abused to leak memory. ok markus@ (as part of a larger diff) | |||
2008-02-22 | Allow all SSH2 packet types, including UNIMPLEMENTED to reset the | Darren Tucker | |
keepalive timer (bz #1307). ok markus@ | |||
2008-01-23 | Revert the change for bz #1307 as it causes connection aborts if an IGNORE | Darren Tucker | |
packet arrives while we're waiting in packet_read_expect (and possibly elsewhere). | |||
2008-01-19 | fd leak on session multiplexing error path. Report and patch from | Damien Miller | |
gregory_shively AT fanniemae.com | |||
2007-12-28 | Use the correct packet maximum sizes for remote port and agent forwarding. | Darren Tucker | |
Prevents the server from killing the connection if too much data is queued and an excessively large packet gets sent. bz #1360, ok djm@. | |||
2007-12-28 | Make SSH2_MSG_UNIMPLEMENTED and SSH2_MSG_IGNORE messages reset the | Darren Tucker | |
ServerAlive and ClientAlive timers. Prevents dropping a connection when these are enabled but the peer does not support our keepalives. bz #1307, ok djm@. | |||
2007-11-03 | fix memory leak in process_cmdline(), patch from Jan.Pechanec AT Sun.COM; | Damien Miller | |
ok dtucker@ | |||
2007-09-04 | make file descriptor passing code return an error rather than call fatal() | Damien Miller | |
when it encounters problems, and use this to make session multiplexing masters survive slaves failing to pass all stdio FDs; ok markus@ | |||
2007-08-15 | do NOT fall back to the trused x11 cookie if generation of an untrusted | Markus Friedl | |
cookie fails; from security-alert at sun.com; ok dtucker | |||
2007-08-07 | bz#1232: ensure that any specified LocalCommand is executed after the | Damien Miller | |
tunnel device is opened. Also, make failures to open a tunnel device fatal when ExitOnForwardFailure is active. Reported by h.goebel AT goebel-consult.de; ok dtucker markus reyk deraadt | |||
2007-03-20 | remove some bogus *p tests from charles longeau | Ted Unangst | |
ok deraadt millert | |||
2007-02-20 | set maximum packet and window sizes the same for multiplexed clients | Damien Miller | |
as normal connections; ok markus@ | |||
2007-01-21 | spaces | Kevin Steves | |
2006-10-11 | exit instead of doing a blocking tcp send if we detect a client/server timeout, | Markus Friedl | |
since the tcp sendqueue might be already full (of alive requests); ok dtucker, report mpf | |||
2006-08-03 | almost entirely get rid of the culture of ".h files that include .h files" | Theo de Raadt | |
ok djm, sort of ok stevesk makes the pain stop in one easy step | |||
2006-08-01 | move #include <stdio.h> out of includes.h | Kevin Steves | |
2006-07-26 | move #include <stdlib.h> out of includes.h | Kevin Steves | |
2006-07-26 | move #include <sys/param.h> out of includes.h | Kevin Steves | |
2006-07-25 | move #include <sys/time.h> out of includes.h | Kevin Steves | |
2006-07-22 | move #include <string.h> out of includes.h | Kevin Steves | |
2006-07-17 | move #include <unistd.h> out of includes.h | Kevin Steves | |
2006-07-11 | move #include <errno.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-07-11 | add ExitOnForwardFailure: terminate the connection if ssh(1) | Markus Friedl | |
cannot set up all requested dynamic, local, and remote port forwardings. ok djm, dtucker, stevesk, jmc | |||
2006-07-08 | move #include <sys/socket.h> out of includes.h | Kevin Steves | |
2006-07-02 | use -KR[bind_address:]port here; ok djm@ | Kevin Steves | |
2006-06-26 | mention optional bind_address in runtime port forwarding setup | Damien Miller | |
command-line help. patch from santhi.amirta AT gmail.com | |||
2006-05-16 | missing free; from Kylene Hall | Markus Friedl | |
2006-04-20 | replace the last non-sig_atomic_t flag used in a signal handler with a | Damien Miller | |
sig_atomic_t, unfortunately with some knock-on effects in other (non- signal) contexts in which it is used; ok markus@ | |||
2006-03-25 | spacing | Theo de Raadt | |
2006-03-25 | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | Damien Miller | |
Theo nuked - our scripts to sync -portable need them in the files | |||
2006-03-25 | introduce xcalloc() and xasprintf() failure-checked allocations functions | Damien Miller | |
and use them throughout openssh xcalloc is particularly important because malloc(nmemb * size) is a dangerous idiom (subject to integer overflow) and it is time for it to die feedback and ok deraadt@ | |||
2006-03-20 | sprinkle u_int throughout pty subsystem, ok markus | Theo de Raadt | |
2006-03-19 | ARGSUSED for signal handlers | Theo de Raadt | |
2006-03-19 | RCSID() can die | Theo de Raadt | |
2006-02-22 | move #include <ctype.h> out of includes.h; ok djm@ | Kevin Steves | |
2006-02-20 | move #include <sys/stat.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-20 | move #include <signal.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-10 | move #include <sys/ioctl.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-08 | move #include <paths.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-07 | move #include <termios.h> out of includes.h; ok markus@ | Kevin Steves | |