| Kea 3.0.2-git

gss_tsig_messages.cc
Go to the documentation of this file.
1// File created from src/hooks/d2/gss_tsig/gss_tsig_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7 namespace isc {
8 namespace gss_tsig {
9
10 extern const isc::log::MessageID BAD_CLIENT_CREDENTIALS = "BAD_CLIENT_CREDENTIALS";
11 extern const isc::log::MessageID GSS_TSIG_COMMAND_PROCESSED_FAILED = "GSS_TSIG_COMMAND_PROCESSED_FAILED";
12 extern const isc::log::MessageID GSS_TSIG_LOAD_FAILED = "GSS_TSIG_LOAD_FAILED";
13 extern const isc::log::MessageID GSS_TSIG_LOAD_OK = "GSS_TSIG_LOAD_OK";
14 extern const isc::log::MessageID GSS_TSIG_MANAGER_STARTED = "GSS_TSIG_MANAGER_STARTED";
15 extern const isc::log::MessageID GSS_TSIG_MANAGER_STOPPED = "GSS_TSIG_MANAGER_STOPPED";
16 extern const isc::log::MessageID GSS_TSIG_MANAGER_STOP_ERROR = "GSS_TSIG_MANAGER_STOP_ERROR";
17 extern const isc::log::MessageID GSS_TSIG_MANAGER_STOP_GENERAL_ERROR = "GSS_TSIG_MANAGER_STOP_GENERAL_ERROR";
18 extern const isc::log::MessageID GSS_TSIG_NEW_KEY = "GSS_TSIG_NEW_KEY";
19 extern const isc::log::MessageID GSS_TSIG_NEW_KEY_SETUP_FAILED = "GSS_TSIG_NEW_KEY_SETUP_FAILED";
20 extern const isc::log::MessageID GSS_TSIG_NEW_KEY_SETUP_SUCCEED = "GSS_TSIG_NEW_KEY_SETUP_SUCCEED";
21 extern const isc::log::MessageID GSS_TSIG_OLD_KEY_REMOVED = "GSS_TSIG_OLD_KEY_REMOVED";
22 extern const isc::log::MessageID GSS_TSIG_UNLOAD_OK = "GSS_TSIG_UNLOAD_OK";
23 extern const isc::log::MessageID GSS_TSIG_VERIFIED = "GSS_TSIG_VERIFIED";
24 extern const isc::log::MessageID GSS_TSIG_VERIFY_FAILED = "GSS_TSIG_VERIFY_FAILED";
25 extern const isc::log::MessageID KEY_LOOKUP_DISABLED = "KEY_LOOKUP_DISABLED";
26 extern const isc::log::MessageID KEY_LOOKUP_FOUND = "KEY_LOOKUP_FOUND";
27 extern const isc::log::MessageID KEY_LOOKUP_NONE = "KEY_LOOKUP_NONE";
28 extern const isc::log::MessageID KEY_PROCESSING_FAILED = "KEY_PROCESSING_FAILED";
29 extern const isc::log::MessageID KEY_PROCESSING_FAILED_UNSPECIFIED_ERROR = "KEY_PROCESSING_FAILED_UNSPECIFIED_ERROR";
30 extern const isc::log::MessageID START_REKEY_TIMER = "START_REKEY_TIMER";
31 extern const isc::log::MessageID START_RETRY_TIMER = "START_RETRY_TIMER";
32 extern const isc::log::MessageID TKEY_EXCHANGE_ANSWER_CLASS = "TKEY_EXCHANGE_ANSWER_CLASS";
33 extern const isc::log::MessageID TKEY_EXCHANGE_FAILED_TO_VERIFY = "TKEY_EXCHANGE_FAILED_TO_VERIFY";
34 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_EMPTY_IN_TOKEN = "TKEY_EXCHANGE_FAIL_EMPTY_IN_TOKEN";
35 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_EMPTY_OUT_TOKEN = "TKEY_EXCHANGE_FAIL_EMPTY_OUT_TOKEN";
36 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_EMPTY_RESPONSE = "TKEY_EXCHANGE_FAIL_EMPTY_RESPONSE";
37 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_IO_ERROR = "TKEY_EXCHANGE_FAIL_IO_ERROR";
38 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_IO_STOPPED = "TKEY_EXCHANGE_FAIL_IO_STOPPED";
39 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_IO_TIMEOUT = "TKEY_EXCHANGE_FAIL_IO_TIMEOUT";
40 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_NOT_SIGNED = "TKEY_EXCHANGE_FAIL_NOT_SIGNED";
41 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_NO_RDATA = "TKEY_EXCHANGE_FAIL_NO_RDATA";
42 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_NO_RESPONSE_ANSWER = "TKEY_EXCHANGE_FAIL_NO_RESPONSE_ANSWER";
43 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_NULL_RESPONSE = "TKEY_EXCHANGE_FAIL_NULL_RESPONSE";
44 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_RESPONSE_ERROR = "TKEY_EXCHANGE_FAIL_RESPONSE_ERROR";
45 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_TKEY_ERROR = "TKEY_EXCHANGE_FAIL_TKEY_ERROR";
46 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_TO_INIT = "TKEY_EXCHANGE_FAIL_TO_INIT";
47 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_COUNT = "TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_COUNT";
48 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_TYPE = "TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_TYPE";
49 extern const isc::log::MessageID TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_OPCODE = "TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_OPCODE";
50 extern const isc::log::MessageID TKEY_EXCHANGE_NOT_A_RESPONSE = "TKEY_EXCHANGE_NOT_A_RESPONSE";
51 extern const isc::log::MessageID TKEY_EXCHANGE_OUT_TOKEN_NOT_EMPTY = "TKEY_EXCHANGE_OUT_TOKEN_NOT_EMPTY";
52 extern const isc::log::MessageID TKEY_EXCHANGE_RDATA_COUNT = "TKEY_EXCHANGE_RDATA_COUNT";
53 extern const isc::log::MessageID TKEY_EXCHANGE_RECEIVE_MESSAGE = "TKEY_EXCHANGE_RECEIVE_MESSAGE";
54 extern const isc::log::MessageID TKEY_EXCHANGE_RESPONSE_TTL = "TKEY_EXCHANGE_RESPONSE_TTL";
55 extern const isc::log::MessageID TKEY_EXCHANGE_SEND_MESSAGE = "TKEY_EXCHANGE_SEND_MESSAGE";
56 extern const isc::log::MessageID TKEY_EXCHANGE_VALID = "TKEY_EXCHANGE_VALID";
57 extern const isc::log::MessageID TKEY_EXCHANGE_VERIFIED = "TKEY_EXCHANGE_VERIFIED";
58
59} // namespace gss_tsig
60} // namespace isc
61
62 namespace {
63
64 const char* values[] = {
65 "BAD_CLIENT_CREDENTIALS", "bad client credentials: %1",
66 "GSS_TSIG_COMMAND_PROCESSED_FAILED", "command_processed callout failed: %1.",
67 "GSS_TSIG_LOAD_FAILED", "GSS-TSIG hooks library failed to load: %1.",
68 "GSS_TSIG_LOAD_OK", "GSS-TSIG hooks library loaded successfully.",
69 "GSS_TSIG_MANAGER_STARTED", "hooks library GSS-TSIG key periodic manager started.",
70 "GSS_TSIG_MANAGER_STOPPED", "hooks library GSS-TSIG key periodic manager stopped.",
71 "GSS_TSIG_MANAGER_STOP_ERROR", "manager stop error: %1",
72 "GSS_TSIG_MANAGER_STOP_GENERAL_ERROR", "manager stop general error",
73 "GSS_TSIG_NEW_KEY", "new GSS-TSIG key '%1' was created.",
74 "GSS_TSIG_NEW_KEY_SETUP_FAILED", "new GSS-TSIG key '%1' setup failed: %2.",
75 "GSS_TSIG_NEW_KEY_SETUP_SUCCEED", "new GSS-TSIG key '%1' setup succeed.",
76 "GSS_TSIG_OLD_KEY_REMOVED", "%1 old GSS-TSIG keys were removed",
77 "GSS_TSIG_UNLOAD_OK", "GSS-TSIG hooks library unloaded successfully.",
78 "GSS_TSIG_VERIFIED", "GSS-TSIG verify successed.",
79 "GSS_TSIG_VERIFY_FAILED", "GSS-TSIG verify failed: %1.",
80 "KEY_LOOKUP_DISABLED", "hooks library lookup for a key: GSS-TSIG is not enabled for the current DNS server.",
81 "KEY_LOOKUP_FOUND", "hooks library lookup for a key: return GSS-TSIG key '%1'.",
82 "KEY_LOOKUP_NONE", "hooks library lookup for a key: found no usable key.",
83 "KEY_PROCESSING_FAILED", "The GSS-TKEY processing for server %1 failed because of an error: %2",
84 "KEY_PROCESSING_FAILED_UNSPECIFIED_ERROR", "The GSS-TKEY processing for server %1 failed because of an unspecified error",
85 "START_REKEY_TIMER", "started timer handling rekey for server %1 in %2 seconds.",
86 "START_RETRY_TIMER", "started timer handling retry for server %1 in %2 seconds.",
87 "TKEY_EXCHANGE_ANSWER_CLASS", "GSS-TKEY exchange received a response with answer class: %1.",
88 "TKEY_EXCHANGE_FAILED_TO_VERIFY", "GSS-TKEY exchange failed because the response failed to verify.",
89 "TKEY_EXCHANGE_FAIL_EMPTY_IN_TOKEN", "GSS-TKEY exchange failed because input token is empty.",
90 "TKEY_EXCHANGE_FAIL_EMPTY_OUT_TOKEN", "GSS-TKEY exchange failed because output token is empty.",
91 "TKEY_EXCHANGE_FAIL_EMPTY_RESPONSE", "GSS-TKEY exchange failed because the response is empty.",
92 "TKEY_EXCHANGE_FAIL_IO_ERROR", "GSS-TKEY exchange failed because of the IO error: %1.",
93 "TKEY_EXCHANGE_FAIL_IO_STOPPED", "GSS-TKEY exchange failed because the IO service was stopped.",
94 "TKEY_EXCHANGE_FAIL_IO_TIMEOUT", "GSS-TKEY exchange failed because of IO timeout.",
95 "TKEY_EXCHANGE_FAIL_NOT_SIGNED", "GSS-TKEY exchange failed because the response is not signed.",
96 "TKEY_EXCHANGE_FAIL_NO_RDATA", "GSS-TKEY exchange failed because the response contains no rdata.",
97 "TKEY_EXCHANGE_FAIL_NO_RESPONSE_ANSWER", "GSS-TKEY exchange failed because the response contains no answer.",
98 "TKEY_EXCHANGE_FAIL_NULL_RESPONSE", "GSS-TKEY exchange failed because the response is null.",
99 "TKEY_EXCHANGE_FAIL_RESPONSE_ERROR", "GSS-TKEY exchange failed because the response contains an error: %1.",
100 "TKEY_EXCHANGE_FAIL_TKEY_ERROR", "GSS-TKEY exchange failed because the response contains TKEY error: %1.",
101 "TKEY_EXCHANGE_FAIL_TO_INIT", "GSS-TKEY exchange failed to initialize because of the error: %1.",
102 "TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_COUNT", "GSS-TKEY exchange failed because the response contains invalid number of RRs: %1.",
103 "TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_TYPE", "GSS-TKEY exchange failed because the response contains wrong answer type: %1.",
104 "TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_OPCODE", "GSS-TKEY exchange failed because the response contains invalid opcode: %1.",
105 "TKEY_EXCHANGE_NOT_A_RESPONSE", "GSS-TKEY exchange received a non response type.",
106 "TKEY_EXCHANGE_OUT_TOKEN_NOT_EMPTY", "GSS-TKEY exchange output token is not empty.",
107 "TKEY_EXCHANGE_RDATA_COUNT", "GSS-TKEY exchange received a response with rdata count: %1.",
108 "TKEY_EXCHANGE_RECEIVE_MESSAGE", "GSS-TKEY exchange receives a message of size: %1.",
109 "TKEY_EXCHANGE_RESPONSE_TTL", "GSS-TKEY exchange received a response with TTL of: %1 seconds.",
110 "TKEY_EXCHANGE_SEND_MESSAGE", "GSS-TKEY exchange sends a message of size: %1.",
111 "TKEY_EXCHANGE_VALID", "GSS-TKEY exchange retrieved a TKEY valid for: %1 seconds.",
112 "TKEY_EXCHANGE_VERIFIED", "GSS-TKEY exchange verified.",
113 NULL
114};
115
116 const isc::log::MessageInitializer initializer(values);
117
118} // Anonymous namespace
119
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
message_initializer.h
message_types.h
isc::gss_tsig
Definition gss_tsig_api.cc:17
isc::gss_tsig::GSS_TSIG_NEW_KEY_SETUP_FAILED
const isc::log::MessageID GSS_TSIG_NEW_KEY_SETUP_FAILED
Definition gss_tsig_messages.h:20
isc::gss_tsig::GSS_TSIG_MANAGER_STOP_GENERAL_ERROR
const isc::log::MessageID GSS_TSIG_MANAGER_STOP_GENERAL_ERROR
Definition gss_tsig_messages.h:18
isc::gss_tsig::TKEY_EXCHANGE_FAIL_NO_RDATA
const isc::log::MessageID TKEY_EXCHANGE_FAIL_NO_RDATA
Definition gss_tsig_messages.h:42
isc::gss_tsig::START_REKEY_TIMER
const isc::log::MessageID START_REKEY_TIMER
Definition gss_tsig_messages.h:31
isc::gss_tsig::TKEY_EXCHANGE_FAIL_NOT_SIGNED
const isc::log::MessageID TKEY_EXCHANGE_FAIL_NOT_SIGNED
Definition gss_tsig_messages.h:41
isc::gss_tsig::GSS_TSIG_VERIFIED
const isc::log::MessageID GSS_TSIG_VERIFIED
Definition gss_tsig_messages.h:24
isc::gss_tsig::TKEY_EXCHANGE_FAIL_NO_RESPONSE_ANSWER
const isc::log::MessageID TKEY_EXCHANGE_FAIL_NO_RESPONSE_ANSWER
Definition gss_tsig_messages.h:43
isc::gss_tsig::KEY_LOOKUP_DISABLED
const isc::log::MessageID KEY_LOOKUP_DISABLED
Definition gss_tsig_messages.h:26
isc::gss_tsig::TKEY_EXCHANGE_RECEIVE_MESSAGE
const isc::log::MessageID TKEY_EXCHANGE_RECEIVE_MESSAGE
Definition gss_tsig_messages.h:54
isc::gss_tsig::TKEY_EXCHANGE_RDATA_COUNT
const isc::log::MessageID TKEY_EXCHANGE_RDATA_COUNT
Definition gss_tsig_messages.h:53
isc::gss_tsig::TKEY_EXCHANGE_FAIL_RESPONSE_ERROR
const isc::log::MessageID TKEY_EXCHANGE_FAIL_RESPONSE_ERROR
Definition gss_tsig_messages.h:45
isc::gss_tsig::GSS_TSIG_NEW_KEY
const isc::log::MessageID GSS_TSIG_NEW_KEY
Definition gss_tsig_messages.h:19
isc::gss_tsig::TKEY_EXCHANGE_FAIL_EMPTY_RESPONSE
const isc::log::MessageID TKEY_EXCHANGE_FAIL_EMPTY_RESPONSE
Definition gss_tsig_messages.h:37
isc::gss_tsig::TKEY_EXCHANGE_FAILED_TO_VERIFY
const isc::log::MessageID TKEY_EXCHANGE_FAILED_TO_VERIFY
Definition gss_tsig_messages.h:34
isc::gss_tsig::TKEY_EXCHANGE_RESPONSE_TTL
const isc::log::MessageID TKEY_EXCHANGE_RESPONSE_TTL
Definition gss_tsig_messages.h:55
isc::gss_tsig::TKEY_EXCHANGE_VERIFIED
const isc::log::MessageID TKEY_EXCHANGE_VERIFIED
Definition gss_tsig_messages.h:58
isc::gss_tsig::TKEY_EXCHANGE_NOT_A_RESPONSE
const isc::log::MessageID TKEY_EXCHANGE_NOT_A_RESPONSE
Definition gss_tsig_messages.h:51
isc::gss_tsig::GSS_TSIG_MANAGER_STOP_ERROR
const isc::log::MessageID GSS_TSIG_MANAGER_STOP_ERROR
Definition gss_tsig_messages.h:17
isc::gss_tsig::TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_OPCODE
const isc::log::MessageID TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_OPCODE
Definition gss_tsig_messages.h:50
isc::gss_tsig::TKEY_EXCHANGE_FAIL_IO_ERROR
const isc::log::MessageID TKEY_EXCHANGE_FAIL_IO_ERROR
Definition gss_tsig_messages.h:38
isc::gss_tsig::TKEY_EXCHANGE_FAIL_EMPTY_IN_TOKEN
const isc::log::MessageID TKEY_EXCHANGE_FAIL_EMPTY_IN_TOKEN
Definition gss_tsig_messages.h:35
isc::gss_tsig::TKEY_EXCHANGE_FAIL_EMPTY_OUT_TOKEN
const isc::log::MessageID TKEY_EXCHANGE_FAIL_EMPTY_OUT_TOKEN
Definition gss_tsig_messages.h:36
isc::gss_tsig::GSS_TSIG_LOAD_FAILED
const isc::log::MessageID GSS_TSIG_LOAD_FAILED
Definition gss_tsig_messages.h:13
isc::gss_tsig::GSS_TSIG_OLD_KEY_REMOVED
const isc::log::MessageID GSS_TSIG_OLD_KEY_REMOVED
Definition gss_tsig_messages.h:22
isc::gss_tsig::TKEY_EXCHANGE_FAIL_NULL_RESPONSE
const isc::log::MessageID TKEY_EXCHANGE_FAIL_NULL_RESPONSE
Definition gss_tsig_messages.h:44
isc::gss_tsig::TKEY_EXCHANGE_OUT_TOKEN_NOT_EMPTY
const isc::log::MessageID TKEY_EXCHANGE_OUT_TOKEN_NOT_EMPTY
Definition gss_tsig_messages.h:52
isc::gss_tsig::KEY_LOOKUP_NONE
const isc::log::MessageID KEY_LOOKUP_NONE
Definition gss_tsig_messages.h:28
isc::gss_tsig::TKEY_EXCHANGE_FAIL_IO_STOPPED
const isc::log::MessageID TKEY_EXCHANGE_FAIL_IO_STOPPED
Definition gss_tsig_messages.h:39
isc::gss_tsig::KEY_LOOKUP_FOUND
const isc::log::MessageID KEY_LOOKUP_FOUND
Definition gss_tsig_messages.h:27
isc::gss_tsig::GSS_TSIG_LOAD_OK
const isc::log::MessageID GSS_TSIG_LOAD_OK
Definition gss_tsig_messages.h:14
isc::gss_tsig::GSS_TSIG_MANAGER_STARTED
const isc::log::MessageID GSS_TSIG_MANAGER_STARTED
Definition gss_tsig_messages.h:15
isc::gss_tsig::TKEY_EXCHANGE_SEND_MESSAGE
const isc::log::MessageID TKEY_EXCHANGE_SEND_MESSAGE
Definition gss_tsig_messages.h:56
isc::gss_tsig::GSS_TSIG_NEW_KEY_SETUP_SUCCEED
const isc::log::MessageID GSS_TSIG_NEW_KEY_SETUP_SUCCEED
Definition gss_tsig_messages.h:21
isc::gss_tsig::KEY_PROCESSING_FAILED_UNSPECIFIED_ERROR
const isc::log::MessageID KEY_PROCESSING_FAILED_UNSPECIFIED_ERROR
Definition gss_tsig_messages.h:30
isc::gss_tsig::START_RETRY_TIMER
const isc::log::MessageID START_RETRY_TIMER
Definition gss_tsig_messages.h:32
isc::gss_tsig::TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_COUNT
const isc::log::MessageID TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_COUNT
Definition gss_tsig_messages.h:48
isc::gss_tsig::TKEY_EXCHANGE_FAIL_TKEY_ERROR
const isc::log::MessageID TKEY_EXCHANGE_FAIL_TKEY_ERROR
Definition gss_tsig_messages.h:46
isc::gss_tsig::TKEY_EXCHANGE_FAIL_TO_INIT
const isc::log::MessageID TKEY_EXCHANGE_FAIL_TO_INIT
Definition gss_tsig_messages.h:47
isc::gss_tsig::GSS_TSIG_COMMAND_PROCESSED_FAILED
const isc::log::MessageID GSS_TSIG_COMMAND_PROCESSED_FAILED
Definition gss_tsig_messages.h:12
isc::gss_tsig::GSS_TSIG_VERIFY_FAILED
const isc::log::MessageID GSS_TSIG_VERIFY_FAILED
Definition gss_tsig_messages.h:25
isc::gss_tsig::TKEY_EXCHANGE_ANSWER_CLASS
const isc::log::MessageID TKEY_EXCHANGE_ANSWER_CLASS
Definition gss_tsig_messages.h:33
isc::gss_tsig::KEY_PROCESSING_FAILED
const isc::log::MessageID KEY_PROCESSING_FAILED
Definition gss_tsig_messages.h:29
isc::gss_tsig::TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_TYPE
const isc::log::MessageID TKEY_EXCHANGE_FAIL_WRONG_RESPONSE_ANSWER_TYPE
Definition gss_tsig_messages.h:49
isc::gss_tsig::TKEY_EXCHANGE_VALID
const isc::log::MessageID TKEY_EXCHANGE_VALID
Definition gss_tsig_messages.h:57
isc::gss_tsig::BAD_CLIENT_CREDENTIALS
const isc::log::MessageID BAD_CLIENT_CREDENTIALS
Definition gss_tsig_messages.h:11
isc::gss_tsig::GSS_TSIG_MANAGER_STOPPED
const isc::log::MessageID GSS_TSIG_MANAGER_STOPPED
Definition gss_tsig_messages.h:16
isc::gss_tsig::GSS_TSIG_UNLOAD_OK
const isc::log::MessageID GSS_TSIG_UNLOAD_OK
Definition gss_tsig_messages.h:23
isc::gss_tsig::TKEY_EXCHANGE_FAIL_IO_TIMEOUT
const isc::log::MessageID TKEY_EXCHANGE_FAIL_IO_TIMEOUT
Definition gss_tsig_messages.h:40
isc::log::MessageID
const char * MessageID
Definition message_types.h:15
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148