summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/dispatch.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* allow sshpkt_fatal() to take a varargs format; we'll use this to givedjm2019-01-191-3/+3
| | | | | packet-related fatal error messages more context (esp. the remote endpoint) ok markus@
* remove now obsolete ctx from ssh_dispatch_run; ok djm@markus2017-05-311-8/+5
|
* protocol handlers all get struct ssh passed; ok djm@markus2017-05-301-4/+3
|
* obliterate ssh1.h and some dead code that used itdjm2017-04-301-2/+1
| | | | ok markus@
* remove compat20/compat13/compat15 variablesdjm2017-04-301-3/+1
| | | | ok markus@
* refactor ssh_dispatch_run_fatal() to use sshpkt_fatal() to betterdjm2015-05-011-19/+3
| | | | | | | | report error conditions. Teach sshpkt_fatal() about ECONNRESET. Improves error messages on TCP connection resets. bz#2257 ok dtucker@
* Prevent sshd spamming syslog with "ssh_dispatch_run_fatal: disconnected".dtucker2015-02-121-1/+5
| | | | ok markus@
* avoid more fatal/exit in the packet.c paths that ssh-keyscandjm2015-01-301-4/+4
| | | | uses; feedback and "looks good" markus@
* avoid fatal() calls in packet codedjm2015-01-281-3/+15
| | | | | makes ssh-keyscan more reliable against server failures ok dtucker@ markus@
* move dispatch to struct ssh; ok djm@markus2015-01-191-32/+70
|
* remove unused #define DISPATCH_MIN; ok markus@stevesk2008-10-311-2/+1
|
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-2/+4
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* #include <signal.h> for sig_atomic_t; need this prior to <sys/param.h>stevesk2006-07-231-1/+3
| | | | move
* replace the last non-sig_atomic_t flag used in a signal handler with adjm2006-04-201-2/+2
| | | | | sig_atomic_t, unfortunately with some knock-on effects in other (non- signal) contexts in which it is used; ok markus@
* Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatdjm2006-03-251-0/+1
| | | | Theo nuked - our scripts to sync -portable need them in the files
* RCSID() can diederaadt2006-03-191-1/+0
|
* rename log() into logit() to avoid name conflict. markus ok, from netbsditojun2003-04-081-3/+3
|
* a single dispatch_protocol_error() that sends a message of type 'UNIMPLEMENTED'markus2002-01-111-3/+25
| | | | | | | dispatch_range(): set handler for a ranges message types use dispatch_protocol_ignore() for authentication requests after successful authentication (the drafts requirement). serverloop/clientloop now send a 'UNIMPLEMENTED' message instead of exiting.
* remove plen from the dispatch fn. it's no longer used.markus2001-12-281-5/+4
|
* packet_read* no longer return the packet length, since it's not used.markus2001-12-281-5/+4
|
* Conformance fix: we should send failing packet sequence number whendjm2001-12-201-6/+8
| | | | | responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
* we support rekeyingmarkus2001-06-101-4/+2
| | | | protocol errors are fatal.
* typo, SSH2_MSG_KEXINIT, from aspa@kronodoc.fimarkus2001-02-181-2/+2
|
* unexpand and remove end-of-line whitespace; ok markus@stevesk2001-02-041-2/+2
|
* re-keying is not supported; ok deraadt@markus2001-01-281-1/+5
|
* split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.markus2001-01-211-2/+3
| | | | rename util.[ch] -> misc.[ch]
* move ssh1 definitions to ssh1.h, pathnames to pathnames.hmarkus2001-01-191-1/+2
|
* add context to dispatch_runmarkus2000-09-211-4/+4
|
* cleanup copyright notices on all files. I have attempted to be accurate withderaadt2000-09-071-6/+1
| | | | | | | 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.
* OpenBSD tagmarkus2000-06-201-1/+1
|
* whitespace cleanupmarkus2000-04-141-2/+2
|
* function tables for different message typesmarkus2000-03-281-0/+78