summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
AgeCommit message (Collapse)Author
2002-03-04off by one; thanks to joost@pine.nlMarkus Friedl
2002-02-27remove unneeded casts in [gs]etsockopt(); ok markus@Kevin Steves
2002-02-24disable Nagle in connect_to() and channel_post_port_listener() (portKevin Steves
forwarding endpoints). the intention is to preserve the on-the-wire appearance to applications at either end; the applications can then enable TCP_NODELAY according to their requirements. 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-06channel_new never returns NULL, mouring@; ok djm@Markus Friedl
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-27add X11UseLocalhost; ok markus@Kevin Steves
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@
2002-01-21cleanup channels faster if the are empty and we are in drain-state; ok deraadt@Markus Friedl
2002-01-16wrapper for channel_setup_fwd_listenerMarkus Friedl
2002-01-14remove function pointers for events, remove chan_init*; ok provos@Markus Friedl
2002-01-09replace buffer_consume(b, buffer_len(b)) with buffer_clear(b); ok provos@Markus Friedl
2002-01-09merge channel_pre_open_15/channel_pre_open_20; ok provos@Markus Friedl
2002-01-05fix hanging x11 channels for rejected cookies (e.g. XAUTHORITY=/dev/null xbiff)Markus Friedl
bug #36, based on patch from djast@cs.toronto.edu
2001-12-29remove unneeded casts and some char->u_char cleanup; ok markus@Kevin Steves
2001-12-28remove plen from the dispatch fn. it's no longer used.Markus Friedl
2001-12-28packet_read* no longer return the packet length, since it's not used.Markus Friedl
2001-12-28s/packet_done/packet_check_eom/ (end-of-message); ok djm@Markus Friedl
2001-12-27get rid of packet_integrity_check, use packet_done() instead.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-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-12-08use only one path to X11 UNIX domain socket vs. an array of pathsKevin Steves
to try. report from djast@cs.toronto.edu. ok markus@
2001-12-06disable nagle for X11 fake server and client TCPs. from netbsd.Kevin Steves
ok markus@
2001-12-06strncpy->strlcpy. remaining strncpy's are necessary. ok markus@Kevin Steves
2001-12-06shutdown(sock, SHUT_RDWR) not needed here; ok markus@Kevin Steves
2001-12-05minor KNFTheo de Raadt
2001-12-05make it compile with more strict prototype checkingJun-ichiro itojun Hagino
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-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-08better debugMarkus Friedl
2001-10-07avoid possible FD_ISSET overflow for channels establishedMarkus Friedl
during channnel_after_select() (used for dynamic channels).
2001-10-04comment out bogus conditions for selecting on connection_inMarkus Friedl
2001-10-01remove ugliness; vp@drexel.edu via angelosMarkus Friedl
2001-09-17don't send fake dummy packets on CR (\r)Markus Friedl
bugreport from yyua@cs.sfu.ca via solar@@openwall.com
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-29use socklen_t for getsockopt arg #5; ok markus@Kevin Steves
2001-06-25update copyright for 2001Markus Friedl
2001-06-23more strict prototypes. raise warning level in Makefile.inc. markus ok'edJun-ichiro itojun Hagino
TODO; cleanup headers
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-07use xxx_put_cstring()Markus Friedl
2001-06-05don't delete the auth socket in channel_stop_listening()Markus Friedl
auth_sock_cleanup_proc() will take care of this.
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