summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.c
AgeCommit message (Collapse)Author
2006-10-06sys/resource.h needs sys/time.h; prompted by brad@Damien Miller
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-01clean extra spacesKevin Steves
2006-08-01move #include <stdio.h> out of includes.hKevin Steves
2006-07-26move #include <stdlib.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-12move #include <stddef.h> out of includes.hKevin Steves
2006-07-12move #include <netdb.h> out of includes.h; ok djm@Kevin Steves
2006-07-11need <errno.h> here also (it's also included in <openssl/err.h>)Kevin Steves
2006-07-11cast asterisk field precision argument to int to remove warning;Kevin Steves
ok markus@
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-11Only copy the part of environment variable that we actually use. PreventsDarren Tucker
ssh bailing when SendEnv is used and an environment variable with a really long value exists. ok djm@
2006-07-09move #include <fcntl.h> out of includes.hKevin Steves
2006-07-08move #include <sys/socket.h> out of includes.hKevin Steves
2006-07-06move #include <pwd.h> out of includes.h; ok markus@Kevin Steves
2006-07-03move #include "version.h" out of includes.h; ok markus@Kevin Steves
2006-07-02more details and clarity for tun(4) device forwarding; ok and helpKevin Steves
jmc@
2006-04-25Prevent ssh from trying to open private keys with bad permissions more thanDarren Tucker
once or prompting for their passphrases (which it subsequently ignores anyway), similar to a previous change in ssh-add. bz #1186, ok djm@
2006-03-30add percent escape chars to the IdentityFile option, bz #1159 basedDamien Miller
on a patch by imaging AT math.ualberta.ca; feedback and ok dtucker@
2006-03-28spacingTheo 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-20be strict with tolower() castingTheo de Raadt
2006-03-20annoying spacing fixes getting in the way of real diffsTheo de Raadt
2006-03-20sprinkle u_int throughout pty subsystem, ok markusTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19RCSID() can dieTheo de Raadt
2006-03-12knf nitDamien Miller
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-20move #include <sys/un.h> out of includes.h; ok djm@Kevin Steves
2006-02-12add a %l expansion code to the ControlPath, which is filled in with theDamien Miller
local hostname at runtime. Requested by henning@ to avoid some problems with /home on NFS; ok dtucker@
2006-02-10move #include <sys/ioctl.h> out of includes.h; ok markus@Kevin Steves
2006-02-08move #include <sys/resource.h> out of includes.h; ok markus@Kevin Steves
2006-02-08move #include <paths.h> out of includes.h; ok markus@Kevin Steves
2005-12-20exit(255) on error to match description in ssh(1); bz #1137; ok deraadt@Darren Tucker
2005-12-08two changes to the new ssh tunnel support. this breaks compatibilityReyk Floeter
with the initial commit but is required for a portable approach. - make the tunnel id u_int and platform friendly, use predefined types. - support configuration of layer 2 (ethernet) or layer 3 (point-to-point, default) modes. configuration is done using the Tunnel (yes|point-to-point|ethernet|no) option is ssh_config(5) and restricted by the PermitTunnel (yes|point-to-point|ethernet|no) option in sshd_config(5). ok djm@, man page bits by jmc@
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-30fix misleading debug message; ok dtucker@Damien Miller
2005-10-14no trailing "\n" for log functions; ok djm@Kevin Steves
2005-09-19update -D usage here too;Jason McIntyre
2005-09-13ensure that stdio fds are attached; ok deraadt@Damien Miller
2005-07-30fix -D listen_host initialisation, so it picks up gateway_ports settingDamien Miller
correctly
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-25do the default port filling code a few lines earlier, so it really does fix %pDamien Miller
2005-06-18allow ControlPath=none, patch from dwmw2 AT infradead.org; ok dtucker@Damien Miller