summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/session.c
AgeCommit message (Collapse)Author
2002-02-16typoMarkus Friedl
2002-02-15split do_child(), ok mouring@Markus Friedl
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-09move ssh config files to /etc/sshTheo de Raadt
2002-02-06minor KNFMarkus Friedl
2002-02-03don't use channel_input_channel_request and callbackMarkus Friedl
use new server_input_channel_req() instead: server_input_channel_req does generic request parsing on server side session_input_channel_req handles just session specific things now ok djm@
2002-01-29don't depend on servconf.c; ok djm@Markus Friedl
2002-01-29limit subsystem length in log; ok markus@Kevin Steves
2002-01-29s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion; ok stevesk@Markus Friedl
2002-01-27add X11UseLocalhost; ok markus@Kevin Steves
2002-01-26revert code to add x11 localhost display authorization entry forKevin Steves
hostname/unix:d and uts.nodename/unix:d if nodename was different than hostname. just add entry for unix:d instead. ok markus@
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-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-19handle utsname.nodename case for FamilyLocal X authorization; ok markus@Kevin Steves
2001-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-12-06strncpy->strlcpy. remaining strncpy's are necessary. ok markus@Kevin Steves
2001-12-01don't pass user defined variables to /usr/bin/loginMarkus Friedl
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-11delay detach of session if a channel gets closed but the child is still alive.Markus Friedl
however, release pty, since the fd's to the child are already closed.
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-09stat subsystem command before calling do_exec, and return error to client.Markus Friedl
2001-10-09chdir $HOME after krb_afslog(); from bbense@networking.stanford.eduMarkus Friedl
2001-10-06fix typo in error message, sync with do_exec_noptyMarkus Friedl
2001-09-16calls krb_afslog() after setting $HOME; mattiasa@e.kth.se; fixes pr 1943Markus Friedl
2001-09-14command=xxx overwrites subsystems, tooMarkus Friedl
2001-08-16deprecate CheckMail. ok markus@Jakob Schlyter
----------------------------------------------------------------------
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-02wait until !session_have_children(); bugreport from ↵Markus Friedl
Lutz.Jaenicke@aet.TU-Cottbus.DE
2001-06-27quick hack to make ssh2 work again.Markus Friedl
2001-06-26Kerberos v5 support for SSH1, mostly from Assar Westerlund ↵Dug Song
<assar@freebsd.org> and Bjorn Gronvall <bg@sics.se>. markus@ ok
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-21don't reset forced_command (we allow multiple login shells in ssh2); ↵Markus Friedl
dwd@bell-labs.com
2001-06-19allocate and free at the same level.Markus Friedl
2001-06-19disable x11-fwd if use_login is enabled; from lukem@wasabisystems.comMarkus Friedl
2001-06-19cleanup forced command handling, from dwd@bell-labs.comMarkus Friedl
2001-06-13typo, use pid not s->pid, mstone@cs.loyola.eduMarkus Friedl
2001-06-12unusedMarkus Friedl
2001-06-12remove xauth-cookie-in-tmp handling. use default $XAUTHORITY, sinceMarkus Friedl
we do already trust $HOME/.ssh you can use .ssh/sshrc and .ssh/environment if you want to customize the location of the xauth cookies
2001-06-12merge ssh1/ssh2 tty msg parse and alloc codeMarkus Friedl
2001-06-12merge session_free into session_close()Markus Friedl
merge pty_cleanup_proc into session_pty_cleanup()
2001-06-11reset pointer to NULL after xfree(); report from solar@openwall.comMarkus Friedl
2001-06-07don't overwrite errnoMarkus Friedl
delay deletion of the xauth cookie
2001-06-05let session_close() delete the pty. deny x11fwd if xauthfile is set.Markus Friedl
2001-06-04merge ssh1/2 x11-fwd setup, create listener after tmp-dirMarkus 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