Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | delete cast not required | 2006-03-25 | 1 | -2/+2 | ||
| | ||||||
* | remove (char *) casts to a function that accepts void * for the arg | 2006-03-25 | 1 | -5/+5 | ||
| | ||||||
* | use strtonum() instead of atoi() [limit X screens to 400, sorry] | 2006-03-25 | 1 | -2/+2 | ||
| | ||||||
* | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | 2006-03-25 | 1 | -0/+1 | ||
| | | | | Theo nuked - our scripts to sync -portable need them in the files | |||||
* | change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to | 2006-03-25 | 1 | -6/+11 | ||
| | | | | | | | | xrealloc(p, new_nmemb, new_itemsize). realloc is particularly prone to integer overflows because it is almost always allocating "n * size" bytes, so this is a far safer API; ok deraadt@ | |||||
* | introduce xcalloc() and xasprintf() failure-checked allocations functions | 2006-03-25 | 1 | -4/+3 | ||
| | | | | | | | | | | 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@ | |||||
* | spacing | 2006-03-20 | 1 | -14/+8 | ||
| | ||||||
* | x11_fake_data is only ever used as u_char * | 2006-03-20 | 1 | -1/+1 | ||
| | ||||||
* | annoying spacing fixes getting in the way of real diffs | 2006-03-20 | 1 | -1/+1 | ||
| | ||||||
* | sprinkle u_int throughout pty subsystem, ok markus | 2006-03-20 | 1 | -4/+4 | ||
| | ||||||
* | spacing | 2006-03-19 | 1 | -26/+25 | ||
| | ||||||
* | RCSID() can die | 2006-03-19 | 1 | -1/+0 | ||
| | ||||||
* | move #include <sys/un.h> out of includes.h; ok djm@ | 2006-02-20 | 1 | -1/+3 | ||
| | ||||||
* | move #include <sys/ioctl.h> out of includes.h; ok markus@ | 2006-02-10 | 1 | -1/+3 | ||
| | ||||||
* | move #include <termios.h> out of includes.h; ok markus@ | 2006-02-07 | 1 | -1/+3 | ||
| | ||||||
* | mark channel as write failed or dead instead of read failed on error | 2006-01-30 | 1 | -2/+6 | ||
| | | | | | | of the channel output filter. ok markus@ | |||||
* | add channel output filter interface. | 2005-12-30 | 1 | -13/+24 | ||
| | | | | ok djm@, suggested by markus@ | |||||
* | use 'break-in' for consistency; ok deraadt@ ok and input jmc@ | 2005-12-28 | 1 | -2/+2 | ||
| | ||||||
* | make sure protocol messages for internal channels are ignored. | 2005-12-12 | 1 | -9/+36 | ||
| | | | | allow adjust messages for non-open channels; with and ok djm@ | |||||
* | Add support for tun(4) forwarding over OpenSSH, based on an idea and | 2005-12-06 | 1 | -2/+40 | ||
| | | | | | | | | | | | | 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 | |||||
* | free()->xfree(); ok djm@ | 2005-10-14 | 1 | -2/+2 | ||
| | ||||||
* | bz #1076 set SO_REUSEADDR on X11 forwarding listner sockets, preventing | 2005-10-11 | 1 | -9/+18 | ||
| | | | | | bind() failure when a previous connection's listeners are in TIME_WAIT, reported by plattner AT inf.ethz.ch; ok dtucker@ | |||||
* | fix regression I introduced in 4.2: X11 forwardings initiated after | 2005-10-10 | 1 | -3/+6 | ||
| | | | | | a session has exited (e.g. "(sleep 5; xterm) &") would not start. bz #1086 reported by t8m AT centrum.cz; ok markus@ dtucker@ | |||||
* | enforce chanid != NULL; ok djm | 2005-09-07 | 1 | -7/+7 | ||
| | ||||||
* | knf says that a 2nd level indent is four (not three or five) spaces | 2005-07-17 | 1 | -5/+5 | ||
| | ||||||
* | Fix a number of X11 forwarding channel leaks: | 2005-07-17 | 1 | -2/+8 | ||
| | | | | | | | | 1. Refuse multiple X11 forwarding requests on the same session 2. Clean up all listeners after a single_connection X11 forward, not just the one that made the single connection 3. Destroy X11 listeners when the session owning them goes away testing and ok dtucker@ | |||||
* | spacing | 2005-07-16 | 1 | -2/+2 | ||
| | ||||||
* | don't forget to set x11_saved_display | 2005-07-04 | 1 | -2/+4 | ||
| | ||||||
* | implement support for X11 and agent forwarding over multiplex slave | 2005-07-04 | 1 | -27/+34 | ||
| | | | | | | | | 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@ | |||||
* | don't free() if getaddrinfo() fails; report mpech@ | 2005-07-01 | 1 | -7/+5 | ||
| | ||||||
* | make this -Wsign-compare clean; ok avsm@ markus@ | 2005-06-17 | 1 | -4/+5 | ||
| | ||||||
* | don't exit if getpeername fails for forwarded ports; bugzilla #1054; ok djm | 2005-06-16 | 1 | -3/+3 | ||
| | ||||||
* | move x11_get_proto from ssh.c to clientloop.c, to make muliplexed xfwd easier | 2005-06-16 | 1 | -5/+5 | ||
| | | | | later; ok deraadt@ | |||||
* | limit input buffer size for channels; bugzilla #896; with and ok dtucker@ | 2005-03-14 | 1 | -3/+8 | ||
| | ||||||
* | spacing | 2005-03-10 | 1 | -9/+9 | ||
| | ||||||
* | bz#413: allow optional specification of bind address for port forwardings. | 2005-03-01 | 1 | -15/+67 | ||
| | | | | | | | | 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@ | |||||
* | fix some window size change bugs for multiplexed connections: windows sizes | 2004-10-29 | 1 | -2/+2 | ||
| | | | | | | 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 | |||||
* | typo, spotted by Martin.Kraemer AT Fujitsu-Siemens.com; ok markus | 2004-08-23 | 1 | -2/+2 | ||
| | ||||||
* | some signed/unsigned int comparison cleanups; markus@ ok | 2004-08-11 | 1 | -23/+24 | ||
| | ||||||
* | spaces | 2004-07-11 | 1 | -6/+5 | ||
| | ||||||
* | make ssh -Wshadow clean, no functional changes | 2004-06-21 | 1 | -5/+5 | ||
| | | | | markus@ ok | |||||
* | clientloop.c | 2004-06-18 | 1 | -2/+2 | ||
| | ||||||
* | set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@ | 2004-06-14 | 1 | -3/+3 | ||
| | ||||||
* | implement session multiplexing in the client (the server has supported this | 2004-06-13 | 1 | -8/+68 | ||
| | | | | since 2.0); ok markus@ | |||||
* | missing freeaddrinfo; Andrey Matveev | 2004-05-26 | 1 | -1/+2 | ||
| | ||||||
* | bz #756: add support for the cancel-tcpip-forward request for the server and | 2004-05-21 | 1 | -4/+63 | ||
| | | | | | the client (through the ~C commandline). reported by z3p AT twistedmatrix.com; ok markus@ | |||||
* | improve some code lint did not like; djm millert ok | 2004-05-11 | 1 | -2/+2 | ||
| | ||||||
* | fake consumption for half closed channels since the peer is waiting for | 2004-01-19 | 1 | -5/+17 | ||
| | | | | | window adjust messages; bugzilla #790 Matthew Dillon; test + ok dtucker@ reproduce with sh -c 'ulimit -f 10; ssh host -n od /bsd | cat > foo' | |||||
* | use SSH_LISTEN_BACKLOG (=128) in listen(2). | 2003-12-02 | 1 | -3/+3 | ||
| | ||||||
* | unexpand and delete whitespace at EOL; ok markus@ | 2003-11-21 | 1 | -3/+3 | ||
| |