wolfSSL SSL/TLS library, support up to TLS1.3

Dependents:   CyaSSL-Twitter-OAuth4Tw Example-client-tls-cert TwitterReader TweetTest ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sniffer_error.h Source File

sniffer_error.h

00001 /* sniffer_error.h
00002  *
00003  * Copyright (C) 2006-2020 wolfSSL Inc.
00004  *
00005  * This file is part of wolfSSL.
00006  *
00007  * wolfSSL is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * wolfSSL is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
00020  */
00021 
00022 
00023 
00024 #ifndef WOLFSSL_SNIFFER_ERROR_H
00025 #define WOLFSSL_SNIFFER_ERROR_H
00026 
00027 /* need to have errors as #defines since .rc files can't handle enums */
00028 /* need to start at 1 and go in order for same reason */
00029 
00030 #define MEMORY_STR 1
00031 #define NEW_SERVER_STR 2
00032 #define IP_CHECK_STR 3
00033 #define SERVER_NOT_REG_STR 4
00034 #define TCP_CHECK_STR 5
00035 #define SERVER_PORT_NOT_REG_STR 6
00036 #define RSA_DECRYPT_STR 7
00037 #define RSA_DECODE_STR 8
00038 #define BAD_CIPHER_SPEC_STR 9
00039 #define SERVER_HELLO_INPUT_STR 10
00040 
00041 #define BAD_SESSION_RESUME_STR 11
00042 #define SERVER_DID_RESUMPTION_STR 12
00043 #define CLIENT_HELLO_INPUT_STR 13
00044 #define CLIENT_RESUME_TRY_STR 14
00045 #define HANDSHAKE_INPUT_STR 15
00046 #define GOT_HELLO_VERIFY_STR 16
00047 #define GOT_SERVER_HELLO_STR 17
00048 #define GOT_CERT_REQ_STR 18
00049 #define GOT_SERVER_KEY_EX_STR 19
00050 #define GOT_CERT_STR 20
00051 
00052 #define GOT_SERVER_HELLO_DONE_STR 21
00053 #define GOT_FINISHED_STR 22
00054 #define GOT_CLIENT_HELLO_STR 23
00055 #define GOT_CLIENT_KEY_EX_STR 24
00056 #define GOT_CERT_VER_STR 25
00057 #define GOT_UNKNOWN_HANDSHAKE_STR 26
00058 #define NEW_SESSION_STR 27
00059 #define BAD_NEW_SSL_STR 28
00060 #define GOT_PACKET_STR 29
00061 #define NO_DATA_STR 30
00062 
00063 #define BAD_SESSION_STR 31
00064 #define GOT_OLD_CLIENT_HELLO_STR 32
00065 #define OLD_CLIENT_INPUT_STR 33
00066 #define OLD_CLIENT_OK_STR 34
00067 #define BAD_OLD_CLIENT_STR 35
00068 #define BAD_RECORD_HDR_STR 36
00069 #define RECORD_INPUT_STR 37
00070 #define GOT_HANDSHAKE_STR 38
00071 #define BAD_HANDSHAKE_STR 39
00072 #define GOT_CHANGE_CIPHER_STR 40
00073 
00074 #define GOT_APP_DATA_STR 41
00075 #define BAD_APP_DATA_STR 42
00076 #define GOT_ALERT_STR 43
00077 #define ANOTHER_MSG_STR 44
00078 #define REMOVE_SESSION_STR 45
00079 #define KEY_FILE_STR 46
00080 #define BAD_IPVER_STR 47
00081 #define BAD_PROTO_STR 48
00082 #define PACKET_HDR_SHORT_STR 49
00083 #define GOT_UNKNOWN_RECORD_STR 50
00084 
00085 #define BAD_TRACE_FILE_STR 51
00086 #define FATAL_ERROR_STR 52
00087 #define PARTIAL_INPUT_STR 53
00088 #define BUFFER_ERROR_STR 54
00089 #define PARTIAL_ADD_STR 55
00090 #define DUPLICATE_STR 56
00091 #define OUT_OF_ORDER_STR 57
00092 #define OVERLAP_DUPLICATE_STR 58
00093 #define OVERLAP_REASSEMBLY_BEGIN_STR 59
00094 #define OVERLAP_REASSEMBLY_END_STR 60
00095 
00096 #define MISSED_CLIENT_HELLO_STR 61
00097 #define GOT_HELLO_REQUEST_STR 62
00098 #define GOT_SESSION_TICKET_STR 63
00099 #define BAD_INPUT_STR 64
00100 #define BAD_DECRYPT_TYPE 65
00101 #define BAD_FINISHED_MSG 66
00102 #define BAD_COMPRESSION_STR 67
00103 #define BAD_DERIVE_STR 68
00104 #define ACK_MISSED_STR 69
00105 #define BAD_DECRYPT    70
00106 
00107 #define DECRYPT_KEYS_NOT_SETUP 71
00108 #define CLIENT_HELLO_LATE_KEY_STR 72
00109 #define GOT_CERT_STATUS_STR 73
00110 #define RSA_KEY_MISSING_STR 74
00111 #define NO_SECURE_RENEGOTIATION 75
00112 
00113 #define BAD_SESSION_STATS 76
00114 #define REASSEMBLY_MAX_STR 77
00115 #define DROPPING_LOST_FRAG_STR 78
00116 #define DROPPING_PARTIAL_RECORD 79
00117 #define CLEAR_ACK_FAULT 80
00118 
00119 #define BAD_DECRYPT_SIZE 81
00120 #define EXTENDED_MASTER_HASH_STR 82
00121 #define SPLIT_HANDSHAKE_MSG_STR 83
00122 #define ECC_DECODE_STR 84
00123 #define ECC_PUB_DECODE_STR 85
00124 #define WATCH_CB_MISSING_STR 86
00125 #define WATCH_HASH_STR 87
00126 #define WATCH_FAIL_STR 88
00127 #define BAD_CERT_MSG_STR 89
00128 #define STORE_DATA_CB_MISSING_STR 90
00129 
00130 #define NO_DATA_DEST_STR 91
00131 #define STORE_DATA_FAIL_STR 92
00132 #define CHAIN_INPUT_STR 93
00133 /* !!!! also add to msgTable in sniffer.c and .rc file !!!! */
00134 
00135 
00136 #endif /* wolfSSL_SNIFFER_ERROR_H */
00137 
00138