comparison ssh.h @ 1676:d5cdc60db08e

ext-info handling for server-sig-algs only client side is handled
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 May 2020 00:31:41 +0800
parents ae41624c2198
children 333688ec53d0
comparison
equal deleted inserted replaced
1675:ae41624c2198 1676:d5cdc60db08e
30 #define SSH_MSG_IGNORE 2 30 #define SSH_MSG_IGNORE 2
31 #define SSH_MSG_UNIMPLEMENTED 3 31 #define SSH_MSG_UNIMPLEMENTED 3
32 #define SSH_MSG_DEBUG 4 32 #define SSH_MSG_DEBUG 4
33 #define SSH_MSG_SERVICE_REQUEST 5 33 #define SSH_MSG_SERVICE_REQUEST 5
34 #define SSH_MSG_SERVICE_ACCEPT 6 34 #define SSH_MSG_SERVICE_ACCEPT 6
35 #define SSH_MSG_EXT_INFO 7
35 #define SSH_MSG_KEXINIT 20 36 #define SSH_MSG_KEXINIT 20
36 #define SSH_MSG_NEWKEYS 21 37 #define SSH_MSG_NEWKEYS 21
37 #define SSH_MSG_KEXDH_INIT 30 38 #define SSH_MSG_KEXDH_INIT 30
38 #define SSH_MSG_KEXDH_REPLY 31 39 #define SSH_MSG_KEXDH_REPLY 31
39 40
92 #define SSH_DISCONNECT_TOO_MANY_CONNECTIONS 12 93 #define SSH_DISCONNECT_TOO_MANY_CONNECTIONS 12
93 #define SSH_DISCONNECT_AUTH_CANCELLED_BY_USER 13 94 #define SSH_DISCONNECT_AUTH_CANCELLED_BY_USER 13
94 #define SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14 95 #define SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14
95 #define SSH_DISCONNECT_ILLEGAL_USER_NAME 15 96 #define SSH_DISCONNECT_ILLEGAL_USER_NAME 15
96 97
98 /* rfc8308 */
99 #define SSH_EXT_INFO_S "ext-info-s"
100 #define SSH_EXT_INFO_C "ext-info-c"
101 #define SSH_SERVER_SIG_ALGS "server-sig-algs"
102
97 /* service types */ 103 /* service types */
98 #define SSH_SERVICE_USERAUTH "ssh-userauth" 104 #define SSH_SERVICE_USERAUTH "ssh-userauth"
99 #define SSH_SERVICE_USERAUTH_LEN 12 105 #define SSH_SERVICE_USERAUTH_LEN 12
100 #define SSH_SERVICE_CONNECTION "ssh-connection" 106 #define SSH_SERVICE_CONNECTION "ssh-connection"
101 #define SSH_SERVICE_CONNECTION_LEN 14 107 #define SSH_SERVICE_CONNECTION_LEN 14