summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/misc.h
AgeCommit message (Collapse)Author
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-09-13ensure that stdio fds are attached; ok deraadt@Damien Miller
2005-07-14use __sentinel__ attribute; ok deraadt@ djm@ markus@Darren Tucker
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-06introduce a generic %foo expansion function. replace existing % expansion andDamien Miller
add expansion to ControlPath; ok markus@
2005-04-09replace tilde_expand_filename with a simpler implementation, ahead of moreDamien Miller
whacking; ok deraadt@
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-12-11Fix debug call in error path of authorized_keys processing and fix relatedDarren Tucker
warnings; ok djm@
2004-12-06Discard over-length authorized_keys entries rather than complaining whenDarren Tucker
they don't decode. bz #884, with & ok djm@
2004-10-29factor out common permission-asking code to separate function; ok markus@Damien Miller
2004-08-11some signed/unsigned int comparison cleanups; markus@ okAnil Madhavapeddy
2004-06-17Add option for confirmation (ControlMaster=ask) via ssh-askpass before openingDamien Miller
shared connections; ok markus@
2004-06-14set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@Damien Miller
2004-05-08kill a tiny header; ok deraadt@Damien Miller
2004-05-08make two tiny header files go away; djm okTheo de Raadt
2002-03-19KNF whitespaceMarkus Friedl
2002-01-24add set_nodelay() to set TCP_NODELAY on a socket (prep for nagle tuning).Kevin Steves
no nagle changes just yet; ok djm@ markus@
2001-06-26remove comments from .h, since they are cut&paste from the .c filesMarkus Friedl
and out of sync
2001-06-26prototype pedant. not very creative...Jun-ichiro itojun Hagino
- () -> (void) - no variable names
2001-05-19sshd command-line arguments and configuration file options thatKevin Steves
specify time may be expressed using a sequence of the form: time[qualifier], where time is a positive integer value and qualifier is one of the following: <none>,s,m,h,d,w Examples: 600 600 seconds (10 minutes) 10m 10 minutes 1h30m 1 hour 30 minutes (90 minutes) ok markus@
2001-05-11add unset_nonblock for stdout/err flushing in client_loop().Markus Friedl
2001-05-08Use addargs() in sftp plus some clean up of addargs(). OK Markusmouring
2001-05-03Move colon() and cleanhost() to misc.c where I should I have put it inmouring
the first place
2001-04-12robust port validation; ok markus@ jakob@Kevin Steves
2001-02-22use pwcopy in ssh.c, tooMarkus Friedl
2001-01-29$OpenBSD$Niklas Hallqvist
2001-01-21split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.Markus Friedl
rename util.[ch] -> misc.[ch]