Kea: radius_messages.cc Source File

| Kea 3.2.0-git

radius_messages.cc
Go to the documentation of this file.
1// File created from src/hooks/dhcp/radius/radius_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7namespace isc {
8namespace radius {
9
10extern const isc::log::MessageID RADIUS_ACCESS_BUILD_FAILED = "RADIUS_ACCESS_BUILD_FAILED";
11extern const isc::log::MessageID RADIUS_ACCESS_CACHE_GET = "RADIUS_ACCESS_CACHE_GET";
12extern const isc::log::MessageID RADIUS_ACCESS_CACHE_INSERT = "RADIUS_ACCESS_CACHE_INSERT";
13extern const isc::log::MessageID RADIUS_ACCESS_CONFLICT = "RADIUS_ACCESS_CONFLICT";
14extern const isc::log::MessageID RADIUS_ACCESS_DROP_PARKED_QUERY = "RADIUS_ACCESS_DROP_PARKED_QUERY";
15extern const isc::log::MessageID RADIUS_ACCESS_ERROR = "RADIUS_ACCESS_ERROR";
16extern const isc::log::MessageID RADIUS_ACCESS_GET_IDENTIFIER = "RADIUS_ACCESS_GET_IDENTIFIER";
17extern const isc::log::MessageID RADIUS_ACCESS_GET_IDENTIFIER_FAILED = "RADIUS_ACCESS_GET_IDENTIFIER_FAILED";
18extern const isc::log::MessageID RADIUS_ACCESS_HOST_BACKEND_ERROR = "RADIUS_ACCESS_HOST_BACKEND_ERROR";
19extern const isc::log::MessageID RADIUS_ACCESS_MAX_PENDING_REQUESTS = "RADIUS_ACCESS_MAX_PENDING_REQUESTS";
20extern const isc::log::MessageID RADIUS_ACCESS_NO_HOST_CACHE = "RADIUS_ACCESS_NO_HOST_CACHE";
21extern const isc::log::MessageID RADIUS_ACCESS_ORPHAN = "RADIUS_ACCESS_ORPHAN";
22extern const isc::log::MessageID RADIUS_ACCESS_RESUME_PARKED_QUERY = "RADIUS_ACCESS_RESUME_PARKED_QUERY";
23extern const isc::log::MessageID RADIUS_ACCESS_SUBNET_RESELECT = "RADIUS_ACCESS_SUBNET_RESELECT";
24extern const isc::log::MessageID RADIUS_ACCESS_TERMINATE_ERROR = "RADIUS_ACCESS_TERMINATE_ERROR";
25extern const isc::log::MessageID RADIUS_ACCOUNTING_ASYNC = "RADIUS_ACCOUNTING_ASYNC";
26extern const isc::log::MessageID RADIUS_ACCOUNTING_ASYNC_FAILED = "RADIUS_ACCOUNTING_ASYNC_FAILED";
27extern const isc::log::MessageID RADIUS_ACCOUNTING_ASYNC_SUCCEED = "RADIUS_ACCOUNTING_ASYNC_SUCCEED";
28extern const isc::log::MessageID RADIUS_ACCOUNTING_ERROR = "RADIUS_ACCOUNTING_ERROR";
29extern const isc::log::MessageID RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED = "RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED";
30extern const isc::log::MessageID RADIUS_ACCOUNTING_NO_HISTORY = "RADIUS_ACCOUNTING_NO_HISTORY";
31extern const isc::log::MessageID RADIUS_ACCOUNTING_STATUS = "RADIUS_ACCOUNTING_STATUS";
32extern const isc::log::MessageID RADIUS_ACCOUNTING_STATUS_ERROR = "RADIUS_ACCOUNTING_STATUS_ERROR";
33extern const isc::log::MessageID RADIUS_ACCOUNTING_STATUS_FAILED = "RADIUS_ACCOUNTING_STATUS_FAILED";
34extern const isc::log::MessageID RADIUS_ACCOUNTING_STATUS_SUCCEED = "RADIUS_ACCOUNTING_STATUS_SUCCEED";
35extern const isc::log::MessageID RADIUS_ACCOUNTING_SYNC = "RADIUS_ACCOUNTING_SYNC";
36extern const isc::log::MessageID RADIUS_ACCOUNTING_SYNC_FAILED = "RADIUS_ACCOUNTING_SYNC_FAILED";
37extern const isc::log::MessageID RADIUS_ACCOUNTING_SYNC_SUCCEED = "RADIUS_ACCOUNTING_SYNC_SUCCEED";
38extern const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC = "RADIUS_AUTHENTICATION_ASYNC";
39extern const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC_ACCEPTED = "RADIUS_AUTHENTICATION_ASYNC_ACCEPTED";
40extern const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC_FAILED = "RADIUS_AUTHENTICATION_ASYNC_FAILED";
41extern const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC_REJECTED = "RADIUS_AUTHENTICATION_ASYNC_REJECTED";
42extern const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS = "RADIUS_AUTHENTICATION_STATUS";
43extern const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS_ERROR = "RADIUS_AUTHENTICATION_STATUS_ERROR";
44extern const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS_FAILED = "RADIUS_AUTHENTICATION_STATUS_FAILED";
45extern const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS_SUCCEED = "RADIUS_AUTHENTICATION_STATUS_SUCCEED";
46extern const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC = "RADIUS_AUTHENTICATION_SYNC";
47extern const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC_ACCEPTED = "RADIUS_AUTHENTICATION_SYNC_ACCEPTED";
48extern const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC_FAILED = "RADIUS_AUTHENTICATION_SYNC_FAILED";
49extern const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC_REJECTED = "RADIUS_AUTHENTICATION_SYNC_REJECTED";
50extern const isc::log::MessageID RADIUS_BACKEND_GET4 = "RADIUS_BACKEND_GET4";
51extern const isc::log::MessageID RADIUS_BACKEND_GET6 = "RADIUS_BACKEND_GET6";
52extern const isc::log::MessageID RADIUS_CLEANUP_EXCEPTION = "RADIUS_CLEANUP_EXCEPTION";
53extern const isc::log::MessageID RADIUS_CONFIGURATION_FAILED = "RADIUS_CONFIGURATION_FAILED";
54extern const isc::log::MessageID RADIUS_DECODE_MESSAGE = "RADIUS_DECODE_MESSAGE";
55extern const isc::log::MessageID RADIUS_DEINIT_OK = "RADIUS_DEINIT_OK";
56extern const isc::log::MessageID RADIUS_ENCODE_MESSAGE = "RADIUS_ENCODE_MESSAGE";
57extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT = "RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT";
58extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT = "RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT";
59extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE";
60extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE";
61extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_MISMATCH = "RADIUS_EXCHANGE_RECEIVED_MISMATCH";
62extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_RESPONSE";
63extern const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_UNEXPECTED = "RADIUS_EXCHANGE_RECEIVED_UNEXPECTED";
64extern const isc::log::MessageID RADIUS_HOOK_FAILED = "RADIUS_HOOK_FAILED";
65extern const isc::log::MessageID RADIUS_INIT_OK = "RADIUS_INIT_OK";
66extern const isc::log::MessageID RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED";
67extern const isc::log::MessageID RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED";
68extern const isc::log::MessageID RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED";
69extern const isc::log::MessageID RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED";
70extern const isc::log::MessageID RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED";
71extern const isc::log::MessageID RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED";
72extern const isc::log::MessageID RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED";
73extern const isc::log::MessageID RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED";
74extern const isc::log::MessageID RADIUS_PAUSE_FAILED = "RADIUS_PAUSE_FAILED";
75extern const isc::log::MessageID RADIUS_PAUSE_ILLEGAL = "RADIUS_PAUSE_ILLEGAL";
76extern const isc::log::MessageID RADIUS_PAUSE_PERMISSIONS_FAILED = "RADIUS_PAUSE_PERMISSIONS_FAILED";
77extern const isc::log::MessageID RADIUS_REPLY_MESSAGE_ATTRIBUTE = "RADIUS_REPLY_MESSAGE_ATTRIBUTE";
78extern const isc::log::MessageID RADIUS_RESUME_FAILED = "RADIUS_RESUME_FAILED";
79extern const isc::log::MessageID RADIUS_SERVER_CONFIGURED = "RADIUS_SERVER_CONFIGURED";
80extern const isc::log::MessageID RADIUS_SESSION_HISTORY_APPEND_FAILED = "RADIUS_SESSION_HISTORY_APPEND_FAILED";
81extern const isc::log::MessageID RADIUS_SESSION_HISTORY_LOADED = "RADIUS_SESSION_HISTORY_LOADED";
82extern const isc::log::MessageID RADIUS_SESSION_HISTORY_LOAD_FAILED = "RADIUS_SESSION_HISTORY_LOAD_FAILED";
83extern const isc::log::MessageID RADIUS_SESSION_HISTORY_OPENED = "RADIUS_SESSION_HISTORY_OPENED";
84extern const isc::log::MessageID RADIUS_SESSION_HISTORY_OPEN_FAILED = "RADIUS_SESSION_HISTORY_OPEN_FAILED";
85extern const isc::log::MessageID RADIUS_SESSION_HISTORY_STORED = "RADIUS_SESSION_HISTORY_STORED";
86extern const isc::log::MessageID RADIUS_SESSION_HISTORY_STORE_FAILED = "RADIUS_SESSION_HISTORY_STORE_FAILED";
87extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_FAILURE = "RADIUS_TCP_EXCHANGE_FAILURE";
88extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_RECEIVED = "RADIUS_TCP_EXCHANGE_RECEIVED";
89extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_RECEIVE_FAILED = "RADIUS_TCP_EXCHANGE_RECEIVE_FAILED";
90extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_SEND = "RADIUS_TCP_EXCHANGE_SEND";
91extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_START = "RADIUS_TCP_EXCHANGE_START";
92extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_START_ERROR = "RADIUS_TCP_EXCHANGE_START_ERROR";
93extern const isc::log::MessageID RADIUS_TCP_EXCHANGE_SUCCESS = "RADIUS_TCP_EXCHANGE_SUCCESS";
94extern const isc::log::MessageID RADIUS_THREAD_POOL_STARTED = "RADIUS_THREAD_POOL_STARTED";
95extern const isc::log::MessageID RADIUS_TLS_STATUS = "RADIUS_TLS_STATUS";
96extern const isc::log::MessageID RADIUS_TLS_STATUS_ERROR = "RADIUS_TLS_STATUS_ERROR";
97extern const isc::log::MessageID RADIUS_TLS_STATUS_FAILED = "RADIUS_TLS_STATUS_FAILED";
98extern const isc::log::MessageID RADIUS_TLS_STATUS_SUCCEED = "RADIUS_TLS_STATUS_SUCCEED";
99extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_FAILED = "RADIUS_UDP_EXCHANGE_FAILED";
100extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_OPEN_FAILED = "RADIUS_UDP_EXCHANGE_OPEN_FAILED";
101extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_RECEIVED = "RADIUS_UDP_EXCHANGE_RECEIVED";
102extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_RECEIVE_FAILED = "RADIUS_UDP_EXCHANGE_RECEIVE_FAILED";
103extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_SEND_FAILED = "RADIUS_UDP_EXCHANGE_SEND_FAILED";
104extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_SEND_NEW = "RADIUS_UDP_EXCHANGE_SEND_NEW";
105extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_SEND_RETRY = "RADIUS_UDP_EXCHANGE_SEND_RETRY";
106extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_SENT = "RADIUS_UDP_EXCHANGE_SENT";
107extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_START = "RADIUS_UDP_EXCHANGE_START";
108extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_SYNC_RETURN = "RADIUS_UDP_EXCHANGE_SYNC_RETURN";
109extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_TERMINATE = "RADIUS_UDP_EXCHANGE_TERMINATE";
110extern const isc::log::MessageID RADIUS_UDP_EXCHANGE_TIMEOUT = "RADIUS_UDP_EXCHANGE_TIMEOUT";
111
112} // namespace radius
113} // namespace isc
114
115namespace {
116
117const char* values[] = {
118 "RADIUS_ACCESS_BUILD_FAILED", "building Access-Request failed: %1 for incoming message %2",
119 "RADIUS_ACCESS_CACHE_GET", "host %1 with attributes %2 was retrieved from the cache",
120 "RADIUS_ACCESS_CACHE_INSERT", "host %1 with attributes %2 was inserted into the cache",
121 "RADIUS_ACCESS_CONFLICT", "query %1 triggers a conflict for %2",
122 "RADIUS_ACCESS_DROP_PARKED_QUERY", "access request terminate callback decided to drop the parked query %1",
123 "RADIUS_ACCESS_ERROR", "Access-Request failed with %1 (%2)",
124 "RADIUS_ACCESS_GET_IDENTIFIER", "identifier %1 of type %2 and User-Name %3 were set from incoming message %4",
125 "RADIUS_ACCESS_GET_IDENTIFIER_FAILED", "no identifier of type %1 can be set from incoming message %2, reason: %3",
126 "RADIUS_ACCESS_HOST_BACKEND_ERROR", "Configuring access failed during host backend '%1' setup, reason: %2",
127 "RADIUS_ACCESS_MAX_PENDING_REQUESTS", "query '%1' with identifier '%2' was dropped for too many pending access requests",
128 "RADIUS_ACCESS_NO_HOST_CACHE", "Configuring access failed: host cache library not loaded.",
129 "RADIUS_ACCESS_ORPHAN", "orphan pending access request for %1",
130 "RADIUS_ACCESS_RESUME_PARKED_QUERY", "access request terminate callback resumes processing of parked query %1 in %2",
131 "RADIUS_ACCESS_SUBNET_RESELECT", "subnet was reselected from 'ID %1' to 'ID %2'",
132 "RADIUS_ACCESS_TERMINATE_ERROR", "access request terminate callback got an error: %1",
133 "RADIUS_ACCOUNTING_ASYNC", "Asynchronous send Accounting-Request for NAS port %1 with %2",
134 "RADIUS_ACCOUNTING_ASYNC_FAILED", "Asynchronous Accounting-Request failed: return code %1 (%2)",
135 "RADIUS_ACCOUNTING_ASYNC_SUCCEED", "received valid Accounting-Response (asynchronously)",
136 "RADIUS_ACCOUNTING_ERROR", "Accounting-Request failed for %1 on event %2 (%3) failed with %4 (%5)",
137 "RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED", "failed to insert a record for %1 in the history container",
138 "RADIUS_ACCOUNTING_NO_HISTORY", "failed to find the date the lease for %1 was created",
139 "RADIUS_ACCOUNTING_STATUS", "send Status-Server with %1",
140 "RADIUS_ACCOUNTING_STATUS_ERROR", "received error response to Status-Server: %1 (%2) with %3",
141 "RADIUS_ACCOUNTING_STATUS_FAILED", "Status-Server failed: return code %1 (%2)",
142 "RADIUS_ACCOUNTING_STATUS_SUCCEED", "received valid response to Status-Server",
143 "RADIUS_ACCOUNTING_SYNC", "Synchronous send Accounting-Request for NAS port %1 with %2",
144 "RADIUS_ACCOUNTING_SYNC_FAILED", "Synchronous Accounting-Request failed: return code %1 (%2)",
145 "RADIUS_ACCOUNTING_SYNC_SUCCEED", "received valid Accounting-Response (synchronously)",
146 "RADIUS_AUTHENTICATION_ASYNC", "send Access-Request for NAS port %1 with %2",
147 "RADIUS_AUTHENTICATION_ASYNC_ACCEPTED", "received valid Access-Accept with %1",
148 "RADIUS_AUTHENTICATION_ASYNC_FAILED", "Access-Request failed: return code %1 (%2)",
149 "RADIUS_AUTHENTICATION_ASYNC_REJECTED", "received valid Access-Reject with %1",
150 "RADIUS_AUTHENTICATION_STATUS", "send Status-Server with %1",
151 "RADIUS_AUTHENTICATION_STATUS_ERROR", "received error response to Status-Server: %1 (%2) with %3",
152 "RADIUS_AUTHENTICATION_STATUS_FAILED", "Status-Server failed: return code %1 (%2)",
153 "RADIUS_AUTHENTICATION_STATUS_SUCCEED", "received valid response to Status-Server",
154 "RADIUS_AUTHENTICATION_SYNC", "send Access-Request for NAS port %1 with %2",
155 "RADIUS_AUTHENTICATION_SYNC_ACCEPTED", "received valid Access-Accept with %1",
156 "RADIUS_AUTHENTICATION_SYNC_FAILED", "Access-Request failed: return code %1 (%2)",
157 "RADIUS_AUTHENTICATION_SYNC_REJECTED", "received valid Access-Reject with %1",
158 "RADIUS_BACKEND_GET4", "spurious lookup for IPv4 subnet %1 and id %2 of type %3",
159 "RADIUS_BACKEND_GET6", "spurious lookup for IPv6 subnet %1 and id %2 of type %3",
160 "RADIUS_CLEANUP_EXCEPTION", "Exception on RADIUS cleanup: %1",
161 "RADIUS_CONFIGURATION_FAILED", "failed to configure Radius hooks library: %1",
162 "RADIUS_DECODE_MESSAGE", "Decoded message '%1' (%2) id %3 length %4 with %5 attributes.",
163 "RADIUS_DEINIT_OK", "unloading Radius hooks library successful",
164 "RADIUS_ENCODE_MESSAGE", "Encoded message '%1' (%2) id %3 length %4 with %5 attributes.",
165 "RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT", "Exchange %1 received an Access-Accept.",
166 "RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT", "Exchange %1 received an Access-Reject.",
167 "RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE", "Exchange %1 received an Accounting-Response.",
168 "RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE", "Exchange %1 received a bad response: %2",
169 "RADIUS_EXCHANGE_RECEIVED_MISMATCH", "Exchange %1: received response with identifier %2 when %3 was expected.",
170 "RADIUS_EXCHANGE_RECEIVED_RESPONSE", "Exchange %1 received response: %2",
171 "RADIUS_EXCHANGE_RECEIVED_UNEXPECTED", "Exchange %1: sent %2, received unexpected %3",
172 "RADIUS_HOOK_FAILED", "processing for hook %1 failed: %2",
173 "RADIUS_INIT_OK", "loading Radius hooks library successful",
174 "RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED", "Creating an integer attribute %1 '%2' failed: %3",
175 "RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED", "Creating an integer attribute %1 '%2' from %3 failed.",
176 "RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED", "Creating an IP address attribute %1 '%2' failed: %3",
177 "RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED", "Creating an IP address attribute %1 '%2' from %3 failed.",
178 "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED", "Creating an IPv6 address attribute %1 '%2' failed: %3",
179 "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED", "Creating an IPv6 address attribute %1 '%2' from %3 failed.",
180 "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED", "Creating an IPv6 prefix attribute %1 '%2' failed: %3",
181 "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED", "Creating an IPv6 prefix attribute %1 '%2' from %3 failed.",
182 "RADIUS_PAUSE_FAILED", "Pausing the RADIUS thread pool failed: %1",
183 "RADIUS_PAUSE_ILLEGAL", "Pausing the RADIUS thread pool not allowed: %1",
184 "RADIUS_PAUSE_PERMISSIONS_FAILED", "Checking for permissions to pause the RADIUS thread pool failed: %1",
185 "RADIUS_REPLY_MESSAGE_ATTRIBUTE", "Message %1 on exchange %2 has a Reply-Message attribute with value '%3'.",
186 "RADIUS_RESUME_FAILED", "Resuming the RADIUS thread pool failed: %1",
187 "RADIUS_SERVER_CONFIGURED", "configured an %1 server: %2",
188 "RADIUS_SESSION_HISTORY_APPEND_FAILED", "appending of a new record for %1 to the session history file failed: %2",
189 "RADIUS_SESSION_HISTORY_LOADED", "loading of the session history file succeeded: read %1 records including %2 active records",
190 "RADIUS_SESSION_HISTORY_LOAD_FAILED", "loading of the session history file",
191 "RADIUS_SESSION_HISTORY_OPENED", "opening of the session history file %1 succeeded",
192 "RADIUS_SESSION_HISTORY_OPEN_FAILED", "opening of the session history file %1 failed: %2",
193 "RADIUS_SESSION_HISTORY_STORED", "Storing to the session history file succeeded: stored %1 records",
194 "RADIUS_SESSION_HISTORY_STORE_FAILED", "Writing to the session history file %1 failed: %2 (stored %3 over %4 records)",
195 "RADIUS_TCP_EXCHANGE_FAILURE", "TCP exchange %1 failed: %2",
196 "RADIUS_TCP_EXCHANGE_RECEIVED", "TCP exchange %1 received %2 bytes.",
197 "RADIUS_TCP_EXCHANGE_RECEIVE_FAILED", "Receive for TCP exchange %1 failed: %2",
198 "RADIUS_TCP_EXCHANGE_SEND", "TCP exchange %1 sends %2 bytes to server %3 on port %4%5",
199 "RADIUS_TCP_EXCHANGE_START", "Start TCP exchange %1",
200 "RADIUS_TCP_EXCHANGE_START_ERROR", "TCP exchange %1 failed: %2",
201 "RADIUS_TCP_EXCHANGE_SUCCESS", "TCP exchange %1 succeeded: %2",
202 "RADIUS_THREAD_POOL_STARTED", "RADIUS thread pool started with %1 threads.",
203 "RADIUS_TLS_STATUS", "send Status-Server with %1",
204 "RADIUS_TLS_STATUS_ERROR", "received error response to Status-Server: %1 (%2) with %3",
205 "RADIUS_TLS_STATUS_FAILED", "Status-Server failed: return code %1 (%2)",
206 "RADIUS_TLS_STATUS_SUCCEED", "received valid response to Status-Server",
207 "RADIUS_UDP_EXCHANGE_FAILED", "UDP exchange %1 failed: %2",
208 "RADIUS_UDP_EXCHANGE_OPEN_FAILED", "Open socket for UDP exchange %1 failed: %2",
209 "RADIUS_UDP_EXCHANGE_RECEIVED", "UDP exchange %1 received %2 bytes.",
210 "RADIUS_UDP_EXCHANGE_RECEIVE_FAILED", "Receive for UDP exchange %1 failed: %2",
211 "RADIUS_UDP_EXCHANGE_SEND_FAILED", "Send for UDP exchange %1 failed: %2",
212 "RADIUS_UDP_EXCHANGE_SEND_NEW", "UDP exchange %1 sends %2 bytes to new server[%3] %4 on port %5",
213 "RADIUS_UDP_EXCHANGE_SEND_RETRY", "UDP exchange %1 sends %2 bytes for the %3 try.",
214 "RADIUS_UDP_EXCHANGE_SENT", "UDP exchange %1 sent %2 bytes.",
215 "RADIUS_UDP_EXCHANGE_START", "Start UDP exchange %1",
216 "RADIUS_UDP_EXCHANGE_SYNC_RETURN", "Synchronous UDP exchange %1 returns with %2",
217 "RADIUS_UDP_EXCHANGE_TERMINATE", "UDP exchange %1 terminates with %2",
218 "RADIUS_UDP_EXCHANGE_TIMEOUT", "UDP exchange %1 timeout",
219 NULL
220};
221
222const isc::log::MessageInitializer initializer(values);
223
224} // Anonymous namespace
225
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
message_initializer.h
message_types.h
isc::log::MessageID
const char * MessageID
Definition message_types.h:15
isc::radius
Definition cfg_attribute.cc:21
isc::radius::RADIUS_SERVER_CONFIGURED
const isc::log::MessageID RADIUS_SERVER_CONFIGURED
Definition radius_messages.h:80
isc::radius::RADIUS_ACCESS_HOST_BACKEND_ERROR
const isc::log::MessageID RADIUS_ACCESS_HOST_BACKEND_ERROR
Definition radius_messages.h:19
isc::radius::RADIUS_AUTHENTICATION_SYNC_FAILED
const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC_FAILED
Definition radius_messages.h:49
isc::radius::RADIUS_UDP_EXCHANGE_OPEN_FAILED
const isc::log::MessageID RADIUS_UDP_EXCHANGE_OPEN_FAILED
Definition radius_messages.h:101
isc::radius::RADIUS_AUTHENTICATION_ASYNC_FAILED
const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC_FAILED
Definition radius_messages.h:41
isc::radius::RADIUS_EXCHANGE_RECEIVED_MISMATCH
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_MISMATCH
Definition radius_messages.h:62
isc::radius::RADIUS_ACCOUNTING_ASYNC_SUCCEED
const isc::log::MessageID RADIUS_ACCOUNTING_ASYNC_SUCCEED
Definition radius_messages.h:28
isc::radius::RADIUS_AUTHENTICATION_STATUS
const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS
Definition radius_messages.h:43
isc::radius::RADIUS_ACCOUNTING_ERROR
const isc::log::MessageID RADIUS_ACCOUNTING_ERROR
Definition radius_messages.h:29
isc::radius::RADIUS_RESUME_FAILED
const isc::log::MessageID RADIUS_RESUME_FAILED
Definition radius_messages.h:79
isc::radius::RADIUS_ACCESS_CONFLICT
const isc::log::MessageID RADIUS_ACCESS_CONFLICT
Definition radius_messages.h:14
isc::radius::RADIUS_ACCOUNTING_SYNC_SUCCEED
const isc::log::MessageID RADIUS_ACCOUNTING_SYNC_SUCCEED
Definition radius_messages.h:38
isc::radius::RADIUS_AUTHENTICATION_ASYNC
const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC
Definition radius_messages.h:39
isc::radius::RADIUS_ACCESS_BUILD_FAILED
const isc::log::MessageID RADIUS_ACCESS_BUILD_FAILED
Definition radius_messages.h:11
isc::radius::RADIUS_SESSION_HISTORY_STORE_FAILED
const isc::log::MessageID RADIUS_SESSION_HISTORY_STORE_FAILED
Definition radius_messages.h:87
isc::radius::RADIUS_AUTHENTICATION_SYNC
const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC
Definition radius_messages.h:47
isc::radius::RADIUS_ACCESS_MAX_PENDING_REQUESTS
const isc::log::MessageID RADIUS_ACCESS_MAX_PENDING_REQUESTS
Definition radius_messages.h:20
isc::radius::RADIUS_ACCESS_RESUME_PARKED_QUERY
const isc::log::MessageID RADIUS_ACCESS_RESUME_PARKED_QUERY
Definition radius_messages.h:23
isc::radius::RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED
const isc::log::MessageID RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED
Definition radius_messages.h:73
isc::radius::RADIUS_UDP_EXCHANGE_SYNC_RETURN
const isc::log::MessageID RADIUS_UDP_EXCHANGE_SYNC_RETURN
Definition radius_messages.h:109
isc::radius::RADIUS_TLS_STATUS_SUCCEED
const isc::log::MessageID RADIUS_TLS_STATUS_SUCCEED
Definition radius_messages.h:99
isc::radius::RADIUS_SESSION_HISTORY_OPEN_FAILED
const isc::log::MessageID RADIUS_SESSION_HISTORY_OPEN_FAILED
Definition radius_messages.h:85
isc::radius::RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT
Definition radius_messages.h:59
isc::radius::RADIUS_ACCOUNTING_STATUS_FAILED
const isc::log::MessageID RADIUS_ACCOUNTING_STATUS_FAILED
Definition radius_messages.h:34
isc::radius::RADIUS_ACCESS_TERMINATE_ERROR
const isc::log::MessageID RADIUS_ACCESS_TERMINATE_ERROR
Definition radius_messages.h:25
isc::radius::RADIUS_DECODE_MESSAGE
const isc::log::MessageID RADIUS_DECODE_MESSAGE
Definition radius_messages.h:55
isc::radius::RADIUS_TLS_STATUS_FAILED
const isc::log::MessageID RADIUS_TLS_STATUS_FAILED
Definition radius_messages.h:98
isc::radius::RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED
const isc::log::MessageID RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED
Definition radius_messages.h:69
isc::radius::RADIUS_SESSION_HISTORY_LOADED
const isc::log::MessageID RADIUS_SESSION_HISTORY_LOADED
Definition radius_messages.h:82
isc::radius::RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED
const isc::log::MessageID RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED
Definition radius_messages.h:74
isc::radius::RADIUS_ACCOUNTING_SYNC
const isc::log::MessageID RADIUS_ACCOUNTING_SYNC
Definition radius_messages.h:36
isc::radius::RADIUS_UDP_EXCHANGE_FAILED
const isc::log::MessageID RADIUS_UDP_EXCHANGE_FAILED
Definition radius_messages.h:100
isc::radius::RADIUS_ACCOUNTING_STATUS
const isc::log::MessageID RADIUS_ACCOUNTING_STATUS
Definition radius_messages.h:32
isc::radius::RADIUS_UDP_EXCHANGE_START
const isc::log::MessageID RADIUS_UDP_EXCHANGE_START
Definition radius_messages.h:108
isc::radius::RADIUS_UDP_EXCHANGE_RECEIVED
const isc::log::MessageID RADIUS_UDP_EXCHANGE_RECEIVED
Definition radius_messages.h:102
isc::radius::RADIUS_UDP_EXCHANGE_RECEIVE_FAILED
const isc::log::MessageID RADIUS_UDP_EXCHANGE_RECEIVE_FAILED
Definition radius_messages.h:103
isc::radius::RADIUS_TCP_EXCHANGE_FAILURE
const isc::log::MessageID RADIUS_TCP_EXCHANGE_FAILURE
Definition radius_messages.h:88
isc::radius::RADIUS_INIT_OK
const isc::log::MessageID RADIUS_INIT_OK
Definition radius_messages.h:66
isc::radius::RADIUS_AUTHENTICATION_SYNC_REJECTED
const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC_REJECTED
Definition radius_messages.h:50
isc::radius::RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT
Definition radius_messages.h:58
isc::radius::RADIUS_DEINIT_OK
const isc::log::MessageID RADIUS_DEINIT_OK
Definition radius_messages.h:56
isc::radius::RADIUS_ACCOUNTING_SYNC_FAILED
const isc::log::MessageID RADIUS_ACCOUNTING_SYNC_FAILED
Definition radius_messages.h:37
isc::radius::RADIUS_UDP_EXCHANGE_SEND_NEW
const isc::log::MessageID RADIUS_UDP_EXCHANGE_SEND_NEW
Definition radius_messages.h:105
isc::radius::RADIUS_ACCESS_CACHE_INSERT
const isc::log::MessageID RADIUS_ACCESS_CACHE_INSERT
Definition radius_messages.h:13
isc::radius::RADIUS_ACCESS_GET_IDENTIFIER_FAILED
const isc::log::MessageID RADIUS_ACCESS_GET_IDENTIFIER_FAILED
Definition radius_messages.h:18
isc::radius::RADIUS_ACCOUNTING_ASYNC_FAILED
const isc::log::MessageID RADIUS_ACCOUNTING_ASYNC_FAILED
Definition radius_messages.h:27
isc::radius::RADIUS_ENCODE_MESSAGE
const isc::log::MessageID RADIUS_ENCODE_MESSAGE
Definition radius_messages.h:57
isc::radius::RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE
Definition radius_messages.h:60
isc::radius::RADIUS_CLEANUP_EXCEPTION
const isc::log::MessageID RADIUS_CLEANUP_EXCEPTION
Definition radius_messages.h:53
isc::radius::RADIUS_TCP_EXCHANGE_START_ERROR
const isc::log::MessageID RADIUS_TCP_EXCHANGE_START_ERROR
Definition radius_messages.h:93
isc::radius::RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED
const isc::log::MessageID RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED
Definition radius_messages.h:30
isc::radius::RADIUS_SESSION_HISTORY_APPEND_FAILED
const isc::log::MessageID RADIUS_SESSION_HISTORY_APPEND_FAILED
Definition radius_messages.h:81
isc::radius::RADIUS_TCP_EXCHANGE_RECEIVED
const isc::log::MessageID RADIUS_TCP_EXCHANGE_RECEIVED
Definition radius_messages.h:89
isc::radius::RADIUS_BACKEND_GET6
const isc::log::MessageID RADIUS_BACKEND_GET6
Definition radius_messages.h:52
isc::radius::RADIUS_AUTHENTICATION_STATUS_ERROR
const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS_ERROR
Definition radius_messages.h:44
isc::radius::RADIUS_ACCOUNTING_ASYNC
const isc::log::MessageID RADIUS_ACCOUNTING_ASYNC
Definition radius_messages.h:26
isc::radius::RADIUS_AUTHENTICATION_STATUS_SUCCEED
const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS_SUCCEED
Definition radius_messages.h:46
isc::radius::RADIUS_ACCOUNTING_STATUS_ERROR
const isc::log::MessageID RADIUS_ACCOUNTING_STATUS_ERROR
Definition radius_messages.h:33
isc::radius::RADIUS_ACCESS_ORPHAN
const isc::log::MessageID RADIUS_ACCESS_ORPHAN
Definition radius_messages.h:22
isc::radius::RADIUS_ACCESS_CACHE_GET
const isc::log::MessageID RADIUS_ACCESS_CACHE_GET
Definition radius_messages.h:12
isc::radius::RADIUS_AUTHENTICATION_SYNC_ACCEPTED
const isc::log::MessageID RADIUS_AUTHENTICATION_SYNC_ACCEPTED
Definition radius_messages.h:48
isc::radius::RADIUS_TCP_EXCHANGE_SUCCESS
const isc::log::MessageID RADIUS_TCP_EXCHANGE_SUCCESS
Definition radius_messages.h:94
isc::radius::RADIUS_ACCESS_ERROR
const isc::log::MessageID RADIUS_ACCESS_ERROR
Definition radius_messages.h:16
isc::radius::RADIUS_REPLY_MESSAGE_ATTRIBUTE
const isc::log::MessageID RADIUS_REPLY_MESSAGE_ATTRIBUTE
Definition radius_messages.h:78
isc::radius::RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED
const isc::log::MessageID RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED
Definition radius_messages.h:72
isc::radius::RADIUS_ACCOUNTING_STATUS_SUCCEED
const isc::log::MessageID RADIUS_ACCOUNTING_STATUS_SUCCEED
Definition radius_messages.h:35
isc::radius::RADIUS_PAUSE_FAILED
const isc::log::MessageID RADIUS_PAUSE_FAILED
Definition radius_messages.h:75
isc::radius::RADIUS_TLS_STATUS
const isc::log::MessageID RADIUS_TLS_STATUS
Definition radius_messages.h:96
isc::radius::RADIUS_UDP_EXCHANGE_TERMINATE
const isc::log::MessageID RADIUS_UDP_EXCHANGE_TERMINATE
Definition radius_messages.h:110
isc::radius::RADIUS_ACCESS_NO_HOST_CACHE
const isc::log::MessageID RADIUS_ACCESS_NO_HOST_CACHE
Definition radius_messages.h:21
isc::radius::RADIUS_ACCESS_DROP_PARKED_QUERY
const isc::log::MessageID RADIUS_ACCESS_DROP_PARKED_QUERY
Definition radius_messages.h:15
isc::radius::RADIUS_SESSION_HISTORY_STORED
const isc::log::MessageID RADIUS_SESSION_HISTORY_STORED
Definition radius_messages.h:86
isc::radius::RADIUS_TCP_EXCHANGE_SEND
const isc::log::MessageID RADIUS_TCP_EXCHANGE_SEND
Definition radius_messages.h:91
isc::radius::RADIUS_THREAD_POOL_STARTED
const isc::log::MessageID RADIUS_THREAD_POOL_STARTED
Definition radius_messages.h:95
isc::radius::RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED
const isc::log::MessageID RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED
Definition radius_messages.h:68
isc::radius::RADIUS_TCP_EXCHANGE_RECEIVE_FAILED
const isc::log::MessageID RADIUS_TCP_EXCHANGE_RECEIVE_FAILED
Definition radius_messages.h:90
isc::radius::RADIUS_EXCHANGE_RECEIVED_UNEXPECTED
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_UNEXPECTED
Definition radius_messages.h:64
isc::radius::RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE
Definition radius_messages.h:61
isc::radius::RADIUS_SESSION_HISTORY_OPENED
const isc::log::MessageID RADIUS_SESSION_HISTORY_OPENED
Definition radius_messages.h:84
isc::radius::RADIUS_PAUSE_ILLEGAL
const isc::log::MessageID RADIUS_PAUSE_ILLEGAL
Definition radius_messages.h:76
isc::radius::RADIUS_ACCESS_SUBNET_RESELECT
const isc::log::MessageID RADIUS_ACCESS_SUBNET_RESELECT
Definition radius_messages.h:24
isc::radius::RADIUS_EXCHANGE_RECEIVED_RESPONSE
const isc::log::MessageID RADIUS_EXCHANGE_RECEIVED_RESPONSE
Definition radius_messages.h:63
isc::radius::RADIUS_TCP_EXCHANGE_START
const isc::log::MessageID RADIUS_TCP_EXCHANGE_START
Definition radius_messages.h:92
isc::radius::RADIUS_SESSION_HISTORY_LOAD_FAILED
const isc::log::MessageID RADIUS_SESSION_HISTORY_LOAD_FAILED
Definition radius_messages.h:83
isc::radius::RADIUS_AUTHENTICATION_STATUS_FAILED
const isc::log::MessageID RADIUS_AUTHENTICATION_STATUS_FAILED
Definition radius_messages.h:45
isc::radius::RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED
const isc::log::MessageID RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED
Definition radius_messages.h:67
isc::radius::RADIUS_CONFIGURATION_FAILED
const isc::log::MessageID RADIUS_CONFIGURATION_FAILED
Definition radius_messages.h:54
isc::radius::RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED
const isc::log::MessageID RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED
Definition radius_messages.h:70
isc::radius::RADIUS_ACCOUNTING_NO_HISTORY
const isc::log::MessageID RADIUS_ACCOUNTING_NO_HISTORY
Definition radius_messages.h:31
isc::radius::RADIUS_HOOK_FAILED
const isc::log::MessageID RADIUS_HOOK_FAILED
Definition radius_messages.h:65
isc::radius::RADIUS_UDP_EXCHANGE_TIMEOUT
const isc::log::MessageID RADIUS_UDP_EXCHANGE_TIMEOUT
Definition radius_messages.h:111
isc::radius::RADIUS_AUTHENTICATION_ASYNC_ACCEPTED
const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC_ACCEPTED
Definition radius_messages.h:40
isc::radius::RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED
const isc::log::MessageID RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED
Definition radius_messages.h:71
isc::radius::RADIUS_BACKEND_GET4
const isc::log::MessageID RADIUS_BACKEND_GET4
Definition radius_messages.h:51
isc::radius::RADIUS_UDP_EXCHANGE_SEND_FAILED
const isc::log::MessageID RADIUS_UDP_EXCHANGE_SEND_FAILED
Definition radius_messages.h:104
isc::radius::RADIUS_TLS_STATUS_ERROR
const isc::log::MessageID RADIUS_TLS_STATUS_ERROR
Definition radius_messages.h:97
isc::radius::RADIUS_PAUSE_PERMISSIONS_FAILED
const isc::log::MessageID RADIUS_PAUSE_PERMISSIONS_FAILED
Definition radius_messages.h:77
isc::radius::RADIUS_UDP_EXCHANGE_SENT
const isc::log::MessageID RADIUS_UDP_EXCHANGE_SENT
Definition radius_messages.h:107
isc::radius::RADIUS_ACCESS_GET_IDENTIFIER
const isc::log::MessageID RADIUS_ACCESS_GET_IDENTIFIER
Definition radius_messages.h:17
isc::radius::RADIUS_AUTHENTICATION_ASYNC_REJECTED
const isc::log::MessageID RADIUS_AUTHENTICATION_ASYNC_REJECTED
Definition radius_messages.h:42
isc::radius::RADIUS_UDP_EXCHANGE_SEND_RETRY
const isc::log::MessageID RADIUS_UDP_EXCHANGE_SEND_RETRY
Definition radius_messages.h:106
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18