summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/clientloop.c
AgeCommit message (Collapse)Author
2006-10-11exit 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-03almost 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-01move #include <stdio.h> out of includes.hKevin Steves
2006-07-26move #include <stdlib.h> out of includes.hKevin Steves
2006-07-26move #include <sys/param.h> out of includes.hKevin Steves
2006-07-25move #include <sys/time.h> out of includes.hKevin Steves
2006-07-22move #include <string.h> out of includes.hKevin Steves
2006-07-17move #include <unistd.h> out of includes.hKevin Steves
2006-07-11move #include <errno.h> out of includes.h; ok markus@Kevin Steves
2006-07-11add 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-08move #include <sys/socket.h> out of includes.hKevin Steves
2006-07-02use -KR[bind_address:]port here; ok djm@Kevin Steves
2006-06-26mention optional bind_address in runtime port forwarding setupDamien Miller
command-line help. patch from santhi.amirta AT gmail.com
2006-05-16missing free; from Kylene HallMarkus Friedl
2006-04-20replace the last non-sig_atomic_t flag used in a signal handler with aDamien Miller
sig_atomic_t, unfortunately with some knock-on effects in other (non- signal) contexts in which it is used; ok markus@
2006-03-25spacingTheo de Raadt
2006-03-25Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatDamien Miller
Theo nuked - our scripts to sync -portable need them in the files
2006-03-25introduce xcalloc() and xasprintf() failure-checked allocations functionsDamien 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-20sprinkle u_int throughout pty subsystem, ok markusTheo de Raadt
2006-03-19ARGSUSED for signal handlersTheo de Raadt
2006-03-19RCSID() can dieTheo de Raadt
2006-02-22move #include <ctype.h> out of includes.h; ok djm@Kevin Steves
2006-02-20move #include <sys/stat.h> out of includes.h; ok markus@Kevin Steves
2006-02-20move #include <signal.h> out of includes.h; ok markus@Kevin Steves
2006-02-10move #include <sys/ioctl.h> out of includes.h; ok markus@Kevin Steves
2006-02-08move #include <paths.h> out of includes.h; ok markus@Kevin Steves
2006-02-07move #include <termios.h> out of includes.h; ok markus@Kevin Steves
2005-12-30add channel output filter interface.Reyk Floeter
ok djm@, suggested by markus@
2005-12-28use 'break-in' for consistency; ok deraadt@ ok and input jmc@Kevin Steves
2005-12-07reyk forgot to compile with -Werror (missing header)Damien Miller
2005-12-06Add support for tun(4) forwarding over OpenSSH, based on an idea andReyk Floeter
initial channel code bits by markus@. This is a simple and easy way to use OpenSSH for ad hoc virtual private network connections, e.g. administrative tunnels or secure wireless access. It's based on a new ssh channel and works similar to the existing TCP forwarding support, except that it depends on the tun(4) network interface on both ends of the connection for layer 2 or layer 3 tunneling. This diff also adds support for LocalCommand in the ssh(1) client. ok djm@, markus@, jmc@ (manpages), tested and discussed with others
2005-10-30no need to escape single quotes in comments, no binary changeDamien Miller
2005-10-14free()->xfree(); ok djm@Kevin Steves
2005-10-10fix regression I introduced in 4.2: X11 forwardings initiated afterDamien Miller
a session has exited (e.g. "(sleep 5; xterm) &") would not start. bz #1086 reported by t8m AT centrum.cz; ok markus@ dtucker@
2005-09-09typo; from mark at mcs.vuw.ac.nz, bug #1082Markus Friedl
2005-07-16spacingDamien Miller
2005-07-04implement support for X11 and agent forwarding over multiplex slaveDamien Miller
connections. Because of protocol limitations, the slave connections inherit the master's DISPLAY and SSH_AUTH_SOCK rather than distinctly forwarding their own. ok dtucker@ "put it in" deraadt@
2005-06-17make this -Wsign-compare clean; ok avsm@ markus@Damien Miller
2005-06-16move x11_get_proto from ssh.c to clientloop.c, to make muliplexed xfwd easierDamien Miller
later; ok deraadt@
2005-06-08add ControlMaster=auto/autoask options to support opportunistic multiplexing;Damien Miller
tested avsm@ and jakob@, ok markus@
2005-03-10spacingTheo de Raadt
2005-03-01bz#413: allow optional specification of bind address for port forwardings.Damien Miller
Patch originally by Dan Astorian, but worked on by several people Adds GatewayPorts=clientspecified option on server to allow remote forwards to bind to client-specified ports. ok markus@
2004-11-07add basic control of a running multiplex master connection; including theDamien Miller
ability to check its status and request it to exit; ok markus@
2004-10-29factor out common permission-asking code to separate function; ok markus@Damien Miller
2004-10-29fix some window size change bugs for multiplexed connections: windows sizesDamien Miller
were not being updated if they had changed after ~^Z suspends and SIGWINCH was not being processed unless the first connection had requested a tty; ok markus
2004-09-07cleanup multiplex control socket on SIGHUP too, spotted by sturm@Damien Miller
ok markus@ deraadt@
2004-08-11some signed/unsigned int comparison cleanups; markus@ okAnil Madhavapeddy
2004-07-11spacesTheo de Raadt
2004-06-18clientloop.cDamien Miller
2004-06-17Add option for confirmation (ControlMaster=ask) via ssh-askpass before openingDamien Miller
shared connections; ok markus@