summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/serverloop.c
AgeCommit message (Collapse)Author
2002-06-11pid_t cleanup. Markus need this now to keep hacking.Mike Pechkin
markus@, millert@ ok Note: big usr.bin/ cleanup is comming. Now I'm waiting Ok from espie@ for make/.
2002-03-30check waitpid for EINTR; based on patch from peter@ifm.liu.seMarkus Friedl
2002-03-24remove unused debugMarkus Friedl
2002-03-18integrate privilege separated openssh; its turned off by default for now.Niels Provos
work done by me and markus@
2002-02-06channel_new never returns NULL, mouring@; ok djm@Markus 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-31no need for WNOHANG; ok stevesk@Markus Friedl
2002-01-16wrapper for channel_setup_fwd_listenerMarkus Friedl
2002-01-10skip client_alive_check until there are channels; ok beck@Markus Friedl
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-21remove ifdef for USE_PIPES since fdin != fdout; ok djm@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-19fix race between SIGCHLD and select with an additional pipe. writingMarkus Friedl
to the pipe on SIGCHLD wakes up select(). using pselect() is not portable and siglongjmp() ugly. W. R. Stevens suggests similar solution. initial idea by pmenage@ensim.com; ok deraadt@, djm@
2001-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-12-05deal with LP64 printf issue with sig_atomic_t. from thorpejJun-ichiro itojun Hagino
2001-11-22volatile sig_atomic_tMarkus Friedl
2001-11-09don't memset too much memory, ok millert@Markus Friedl
original patch from jlk@kamens.brookline.ma.us via nalin@redhat.com
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-09close all channels if the connection to the remote host has been closed,Markus Friedl
should fix sshd's hanging with WCHAN==wait
2001-10-04client_alive_check cleanupMarkus Friedl
2001-10-04comment out bogus conditions for selecting on connection_inMarkus 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-07-17keep track of both maxfd and the size of the malloc'ed fdsets.Markus Friedl
update maxfd if maxfd gets closed.
2001-07-15schedule client alive for ssh2 only, greg@cheers.bungi.comMarkus Friedl
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-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-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-04set flags in the signal handlers, do real work in the main loop, ok provos@Markus 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-08adds correct error reporting to async connect()sMarkus Friedl
fixes the server-discards-data-before-connected-bug found by onoe@sm.sony.co.jp
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-29more ssh.com-2.0.x bug-compat; from per@appgate.comMarkus Friedl
2001-04-29fix whitespaceMarkus Friedl
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-05keep the ssh session even if there is no active channel.Markus Friedl
this is more in line with the protocol spec and makes ssh -N -L 1234:server:110 host more useful. based on discussion with <mats@mindbright.se> long time ago and recent mail from <res@shore.net>
2001-04-05fix whitespace: unexpand + trailing spaces.Markus Friedl
2001-04-04parse full kexinit packet.Markus Friedl
make server-side more robust, too.
2001-04-04more robust rekeyingMarkus Friedl
don't send channel data after rekeying is started.
2001-04-04enable server side rekeying + some rekey related clientup.Markus Friedl
todo: we should not send any non-KEX messages after we send KEXINIT
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-03-04Rename pty.[ch] -> sshpty.[ch] and login.[ch] to sshlogin.[ch] to avoidDamien Miller
header conflicts in portable; ok markus@
2001-03-02make copyright lines the same formatTheo de Raadt