summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/serverloop.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* keep track of both maxfd and the size of the malloc'ed fdsets.markus2001-07-171-10/+17
| | | | update maxfd if maxfd gets closed.
* schedule client alive for ssh2 only, greg@cheers.bungi.commarkus2001-07-151-5/+4
|
* improve cleanup/exit logic in ssh2:markus2001-07-021-2/+4
| | | | | | stop listening to channels, detach channel users (e.g. sessions). wait for children (i.e. dying sessions), send exit messages, cleanup all channels.
* wait until !session_have_children(); bugreport from Lutz.Jaenicke@aet.TU-Cottbus.DEmarkus2001-07-021-3/+17
|
* quick hack to make ssh2 work again.markus2001-06-271-3/+5
|
* update copyright for 2001markus2001-06-251-2/+2
|
* more strict prototypes. raise warning level in Makefile.inc. markus ok'editojun2001-06-231-22/+24
| | | | TODO; cleanup headers
* move from channel_stop_listening to channel_free_all,markus2001-06-201-4/+4
| | | | | call channel_free_all before calling waitpid() in serverloop. fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE
* set flags in the signal handlers, do real work in the main loop, ok provos@markus2001-06-041-45/+10
|
* undo the .c file split, just merge the header and keep the cvs historymarkus2001-05-311-2/+2
|
* channel layer cleanup: merge header files and split .c filesmarkus2001-05-301-2/+2
|
* adds correct error reporting to async connect()smarkus2001-05-081-9/+10
| | | | fixes the server-discards-data-before-connected-bug found by onoe@sm.sony.co.jp
* move to Channel **channels (instead of Channel *channels), fixes realloc problems.markus2001-05-041-16/+24
| | | | | channel_new now returns a Channel *, favour Channel * over channel id. remove old channel_allocate interface.
* more ssh.com-2.0.x bug-compat; from per@appgate.commarkus2001-04-291-3/+5
|
* fix whitespacemarkus2001-04-291-4/+4
|
* Add options ClientAliveInterval and ClientAliveCountMax to sshd.beck2001-04-131-4/+60
| | | | | | | | 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@
* keep the ssh session even if there is no active channel.markus2001-04-051-9/+9
| | | | | | | | 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>
* fix whitespace: unexpand + trailing spaces.markus2001-04-051-2/+2
|
* parse full kexinit packet.markus2001-04-041-7/+10
| | | | make server-side more robust, too.
* more robust rekeyingmarkus2001-04-041-2/+2
| | | | don't send channel data after rekeying is started.
* enable server side rekeying + some rekey related clientup.markus2001-04-041-2/+9
| | | | todo: we should not send any non-KEX messages after we send KEXINIT
* implement "permitopen" key option, restricts -L style forwarding tomarkus2001-03-161-6/+2
| | | | to specified host:port pairs. based on work by harlan@genua.de
* Rename pty.[ch] -> sshpty.[ch] and login.[ch] to sshlogin.[ch] to avoiddjm2001-03-041-2/+2
| | | | header conflicts in portable; ok markus@
* make copyright lines the same formatderaadt2001-03-021-2/+2
|
* use ignore message to simulate a SSH2_MSG_CHANNEL_DATA messagemarkus2001-02-281-4/+2
| | | | use random content in ignore messages.
* debug2->3markus2001-02-231-2/+2
|
* ssh-1.2.{18-22} has broken handling of ignore messages; report from itojun@markus2001-02-191-2/+6
|
* genericize password padding function for SSH1 and SSH2.markus2001-02-151-2/+2
| | | | add stylized echo to 2, too.
* indentderaadt2001-02-151-2/+5
|
* mitigate SSH1 traffic analysis - from Solar Designer <solar@openwall.com>, ok provos@dugsong2001-02-081-2/+12
|
* sync with netbsd tree changes.itojun2001-02-081-9/+9
| | | | | | - more strict prototypes, include necessary headers - use paths.h/pathnames.h decls - size_t typecase to int -> u_long
* unexpand and remove end-of-line whitespace; ok markus@stevesk2001-02-041-4/+4
|
* do not disconnect if local port forwarding fails, e.g. if port is already in usemarkus2001-01-311-3/+2
|
* fix select overflow; ok deraadt@ and stevesk@markus2001-01-291-43/+42
|
* split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.markus2001-01-211-3/+4
| | | | rename util.[ch] -> misc.[ch]
* move ssh1 definitions to ssh1.h, pathnames to pathnames.hmarkus2001-01-191-1/+2
|
* 1) removes fake skey from sshd, since this will be muchmarkus2001-01-181-2/+2
| | | | | | | harder with /usr/libexec/auth/login_XXX 2) share/unify code used in ssh-1 and ssh-2 authentication (server side) 3) make addition of BSD_AUTH and other challenge reponse methods easier.
* less chattymarkus2000-12-271-2/+2
|
* replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'markus2000-12-191-8/+8
| | | | with u_char.
* wait indicates failure by returning -1, not arbitrary values < 0deraadt2000-12-111-2/+2
|
* async connects for -R/-L; ok deraadt@markus2000-12-051-2/+2
|
* agent forwarding and -R for ssh2, based on work from jhuuskon@messi.uku.fimarkus2000-11-061-35/+93
|
* enable non-blocking IO on channels, and tty's (except for the client ttys).markus2000-10-271-3/+3
|
* Add idents for files which lack themdjm2000-10-161-0/+2
| | | | Fix idents Id -> OpenBSD for the rest
* AllowTcpForwarding; from naddy@markus2000-10-141-1/+3
|
* add context to dispatch_runmarkus2000-09-211-5/+5
|
* typomarkus2000-09-211-1/+1
|
* cleanup window and packet sizes for ssh2 flow control; ok nielsmarkus2000-09-071-2/+4
|
* cleanup copyright notices on all files. I have attempted to be accurate withderaadt2000-09-071-3/+27
| | | | | | | the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
* sense of port forwarding flag test was backwardsderaadt2000-07-071-1/+1
|