summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.h
AgeCommit message (Collapse)Author
2004-06-13implement session multiplexing in the client (the server has supported thisDamien Miller
since 2.0); ok markus@
2004-05-21bz #756: add support for the cancel-tcpip-forward request for the server andDamien Miller
the client (through the ~C commandline). reported by z3p AT twistedmatrix.com; ok markus@
2003-09-23move client only agent code to clientloop.cMarkus Friedl
2002-06-24move channel counter to u_intMarkus Friedl
2002-06-23display, screen, row, col, xpixel, ypixel are u_int; markus okTheo de Raadt
2002-06-10move creation of agent socket to session.c; no need for uidswappingMarkus Friedl
in channel.c.
2002-03-26CHANNEL_EFD_OUTPUT_ACTIVE is false for CHAN_CLOSE_RCVD, tooMarkus Friedl
2002-03-25don't send stderr data after EOF, accept this from older known (broken)Markus Friedl
sshd servers only, fixes http://bugzilla.mindrot.org/show_bug.cgi?id=179
2002-03-04$OpenBSD$ and RCSID() cleanup: don't use RCSID() in .h files; addKevin Steves
missing RCSID() to .c files and remove dup /*$OpenBSD$*/ from .c files. ok markus@
2002-02-14increase the SSH v2 window size to 4 packets. comsumes a littleMarkus Friedl
bit more memory for slow receivers but increases througput.
2002-02-05merge channel_request() into channel_request_start()Markus Friedl
2002-02-03generic callbacks are not really used, remove andMarkus Friedl
add a callback for msg of type SSH2_MSG_CHANNEL_OPEN_CONFIRMATION ok djm@
2002-02-03remove unused channel_input_channel_requestMarkus Friedl
2002-01-16wrapper for channel_setup_fwd_listenerMarkus Friedl
2002-01-14(c) 2002Markus Friedl
2002-01-14remove function pointers for events, remove chan_init*; ok provos@Markus Friedl
2002-01-13add chan_set_[io]state(), order states, state is now an u_int,Markus Friedl
simplifies debugging messages; ok provos@
2001-12-28remove plen from the dispatch fn. it's no longer used.Markus Friedl
2001-12-20Conformance fix: we should send failing packet sequence number whenDamien Miller
responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
2001-12-20setup x11 listen socket for just one connect if the client requests so.Markus Friedl
(v2 only, but the openssh client does not support this feature).
2001-11-29sshd X11 fake server will now listen on localhost by default:Kevin Steves
$ echo $DISPLAY localhost:12.0 $ netstat -an|grep 6012 tcp 0 0 127.0.0.1.6012 *.* LISTEN tcp6 0 0 ::1.6012 *.* LISTEN sshd_config gatewayports=yes can be used to revert back to the old behavior. will control this with another option later. ok markus@
2001-11-29remove dead function prototype; ok markus@Kevin Steves
2001-11-07crank c->path to 256 so they can hold a full hostname; dwd@bell-labs.comMarkus Friedl
2001-10-10try to keep channels open until an exit-status message is sent.Markus Friedl
don't kill the login shells if the shells stdin/out/err is closed. this should now work: ssh -2n localhost 'exec > /dev/null 2>&1; sleep 10; exit 5'; echo ?
2001-10-09simplify session close: no more delayed session_close, no more blocking ↵Markus Friedl
wait() calls.
2001-10-07avoid possible FD_ISSET overflow for channels establishedMarkus Friedl
during channnel_after_select() (used for dynamic channels).
2001-10-01remove ugliness; vp@drexel.edu via angelosMarkus Friedl
2001-09-17try to fix agent-forwarding-backconnection-bug, as seen on HPUX, for example;Markus Friedl
with Lutz.Jaenicke@aet.TU-Cottbus.DE,
2001-07-17keep track of both maxfd and the size of the malloc'ed fdsets.Markus Friedl
update maxfd if maxfd gets closed.
2001-07-02improve cleanup/exit logic in ssh2:Markus Friedl
stop listening to channels, detach channel users (e.g. sessions). wait for children (i.e. dying sessions), send exit messages, cleanup all channels.
2001-06-30adress -> address; ok markus@Kevin Steves
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-06-25update copyright for 2001Markus Friedl
2001-06-20move from channel_stop_listening to channel_free_all,Markus Friedl
call channel_free_all before calling waitpid() in serverloop. fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE
2001-06-16bad //-style comment; thx to stevev@darkwing.uoregon.eduMarkus Friedl
2001-06-04switch uid when cleaning up tmp files and sockets; reported by ↵Markus Friedl
zen-parse@gmx.net on bugtraq
2001-06-03use fatal_register_cleanup instead of atexit, sync with x11 authdir handlingMarkus Friedl
2001-05-31undo the .c file split, just merge the header and keep the cvs historyMarkus Friedl
2001-05-30channel layer cleanup: merge header files and split .c filesMarkus Friedl
2001-05-28undo broken channel fix and try a different one. thereMarkus Friedl
should be still some select errors...
2001-05-04move to Channel **channels (instead of Channel *channels), fixes realloc ↵Markus Friedl
problems. channel_new now returns a Channel *, favour Channel * over channel id. remove old channel_allocate interface.
2001-04-13Add options ClientAliveInterval and ClientAliveCountMax to sshd.Bob Beck
This gives the ability to do a "keepalive" via the encrypted channel which can't be spoofed (unlike TCP keepalives). Useful for when you want to use ssh connections to authenticate people for something, and know relatively quickly when they are no longer authenticated. Disabled by default (of course). ok markus@
2001-04-07allow the ssh client act as a SOCKS4 proxy (dynamic local portforwarding).Markus Friedl
work by Dan Kaminsky <dankamin@cisco.com> and me. thanks to Dan for this great patch: use 'ssh -D 1080 host' and make netscape use localhost:1080 as a socks proxy.
2001-04-04more robust rekeyingMarkus Friedl
don't send channel data after rekeying is started.
2001-03-16implement "permitopen" key option, restricts -L style forwarding toMarkus Friedl
to specified host:port pairs. based on work by harlan@genua.de
2001-02-15genericize password padding function for SSH1 and SSH2.Markus Friedl
add stylized echo to 2, too.
2001-01-31do not disconnect if local port forwarding fails, e.g. if port is already in useMarkus Friedl
2001-01-29fix select overflow; ok deraadt@ and stevesk@Markus Friedl
2000-12-05async connects for -R/-L; ok deraadt@Markus Friedl