Kea: isc::radius Namespace Reference

| Kea 3.2.0-git

isc::radius Namespace Reference

## Classes
class | AttrDef
| RADIUS attribute definition. More...
class | AttrDefAlias
| RADIUS attribute aliases. More...
class | AttrDefs
| RADIUS attribute definitions. More...
class | Attribute
| RADIUS attribute base class. More...
class | Attributes
| Collection of attributes. More...
class | AttrInt
| RADIUS attribute holding integers. More...
class | AttrIpAddr
| RADIUS attribute holding IPv4 addresses. More...
class | AttrIpv6Addr
| RADIUS attribute holding IPv6 addresses. More...
class | AttrIpv6Prefix
| RADIUS attribute holding IPv6 prefixes. More...
class | AttrString
| RADIUS attribute derived classes: do not use them directly outside unit tests, instead use Attribute class/static factory methods. More...
class | AttrVsa
| RADIUS attribute holding vsa. More...
class | CfgAttributes
| Attribute data configuration. More...
class | Exchange
| RADIUS Base Exchange. More...
class | InHook
| InHook class (RAII style). More...
class | IntCstDef
| RADIUS integer constant definitions. More...
class | LeaseTS
| Create timestamp entry. More...
class | Message
| RADIUS Message. More...
class | RadiusAccess
| Radius access class. More...
class | RadiusAccounting
| Radius accounting class. More...
class | RadiusAcct
| class for accounting communication with servers. More...
class | RadiusAcctEnv
| Class of Radius accounting environments. More...
class | RadiusAcctHandler
| Class of Radius accounting communication handler. More...
class | RadiusAcctStatus
| Class for communication with accounting servers. More...
class | RadiusAsyncAcct
| class for asynchronous accounting communication with servers. More...
class | RadiusAsyncAuth
| class for asynchronous authentication communication with servers. More...
class | RadiusAttributeListParser
| Attribute list parser for Radius. More...
class | RadiusAttributeParser
| Attribute configuration parser for Radius. More...
class | RadiusAuth
| class for authentication communication with servers. More...
class | RadiusAuthEnv
| Class of Radius access environments. More...
class | RadiusAuthHandler
| Class of Radius access communication handler. More...
class | RadiusAuthPendingRequest
| Class of pending Radius access request. More...
class | RadiusAuthPendingRequests
| Class of pending Radius access requests. More...
class | RadiusAuthStatus
| Class for communication with access servers. More...
class | RadiusBackend
| Host backend for Radius. More...
class | RadiusBackendImpl
| Implementation of host backend for Radius. More...
class | RadiusConfigParser
| Configuration parser for Radius. More...
class | RadiusImpl
| Radius hooks library implementation. More...
class | RadiusRequest
| Base class for communication with servers. More...
class | RadiusServerListParser
| Server list parser for Radius. More...
class | RadiusServerParser
| Server parser for Radius. More...
class | RadiusService
| Radius service. More...
class | RadiusServiceParser
| Service parser for Radius. More...
class | RadiusStatus
| Base class for communication with servers. More...
class | RadiusSyncAcct
| class for synchronous accounting communication with servers. More...
class | RadiusSyncAuth
| class for synchronous authentication communication with servers. More...
class | RadiusTls
| Radius service for TLS transport. More...
class | RadiusTlsStatus
| Class for communication with TLS servers. More...
class | Server
| RADIUS server class. More...
class | TcpExchange
| RADIUS/TCP (or RADIUS/TLS) Exchange. More...
struct | TMAddressIndexTag
| Tag for the index for searching by address. More...
struct | TMTimestampIndexTag
| Tag for the index for searching by timestamp. More...
class | TypeError
| A standard Data module exception that is thrown if a function is called for an Element that has a wrong type (e.g. More...
class | UdpClient
| UDP client class. More...
class | UdpExchange
| RADIUS/UDP Exchange. More...

## Typedefs
typedef std::list< AttrDef > | AttrDefList
| List of Attribute definitions.
typedef boost::shared_ptr< AttrDef > | AttrDefPtr
| Shared pointers to Attribute definition.
typedef boost::shared_ptr< Attribute > | AttributePtr
typedef boost::shared_ptr< Attributes > | AttributesPtr
| Shared pointers to attribute collection.
typedef std::function< void(int)> | CallbackAcct
| Type of callback for accounting termination.
typedef std::function< void(int, AttributesPtr)> | CallbackAuth
| Type of callback for authentication termination.
typedef std::function< void(int)> | CallbackStatus
| Type of callback for status termination.
typedef boost::shared_ptr< const Attribute > | ConstAttributePtr
typedef boost::shared_ptr< util::CSVFile > | CSVFilePtr
| Type of pointers to CSV file.
typedef boost::shared_ptr< Exchange > | ExchangePtr
| Type of shared pointers to RADIUS exchange object.
typedef boost::shared_ptr< IntCstDef > | IntCstDefPtr
| Shared pointers to Integer constant definition.
typedef boost::shared_ptr< Message > | MessagePtr
| Shared pointers to message.
typedef boost::shared_ptr< RadiusAcctHandler > | RadiusAcctHandlerPtr
| Type of pointers to Radius accounting communication handler.
typedef boost::shared_ptr< RadiusAcctStatus > | RadiusAcctStatusPtr
| Pointer to accounting status.
typedef boost::shared_ptr< RadiusAsyncAcct > | RadiusAsyncAcctPtr
| Pointer to asynchronous accounting.
typedef boost::shared_ptr< RadiusAsyncAuth > | RadiusAsyncAuthPtr
| Pointer to asynchronous authentication.
typedef boost::shared_ptr< RadiusAuthHandler > | RadiusAuthHandlerPtr
| Type of pointers to Radius access communication handler.
template<class PktPtrType>
using | RadiusAuthPendingRequestPtr
| Pointer to a pending Radius access request.
typedef boost::shared_ptr< RadiusAuthStatus > | RadiusAuthStatusPtr
| Pointer to access status.
typedef boost::shared_ptr< RadiusBackend > | RadiusBackendPtr
| Pointer to host backend.
typedef boost::shared_ptr< RadiusImpl > | RadiusImplPtr
typedef boost::shared_ptr< RadiusService > | RadiusServicePtr
| Type of pointers to Radius service.
typedef boost::shared_ptr< RadiusSyncAcct > | RadiusSyncAcctPtr
| Pointer to synchronous accounting.
typedef boost::shared_ptr< RadiusSyncAuth > | RadiusSyncAuthPtr
| Pointer to synchronous authentication.
typedef boost::shared_ptr< RadiusTlsStatus > | RadiusTlsStatusPtr
| Pointer to access status.
typedef boost::shared_ptr< Server > | ServerPtr
| Type of shared pointers to a RADIUS server object.
typedef std::vector< ServerPtr > | Servers
| Type of RADIUS server collection.
typedef boost::shared_ptr< TcpExchange > | TcpExchangePtr
| Type of shared pointers to RADIUS/TCP exchange object.
typedef boost::multi_index_container< LeaseTS, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< TMAddressIndexTag >, boost::multi_index::member< LeaseTS, const asiolink::IOAddress, &LeaseTS::addr_ > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< TMTimestampIndexTag >, boost::multi_index::member< LeaseTS, const boost::posix_time::ptime, &LeaseTS::timestamp_ > > > > | TMContainer
| Create timestamp container.
typedef TMContainer::index< TMAddressIndexTag >::type | TMContainerAddressIndex
| First index type in the `TMContainer`.
typedef TMContainer::index< TMTimestampIndexTag >::type | TMContainerTimestampIndex
| Second index type in the `TMContainer`.
typedef boost::shared_ptr< UdpClient > | UdpClientPtr
| Pointer to UDP client.
typedef boost::shared_ptr< UdpExchange > | UdpExchangePtr
| Type of shared pointers to RADIUS/UDP exchange object.

## Enumerations
enum | AcctStatusType : uint32_t { PW_STATUS_START = 1 , PW_STATUS_STOP = 2 , PW_STATUS_ALIVE = 3 , PW_STATUS_MODEM_START = 4 , PW_STATUS_MODEM_STOP = 5 , PW_STATUS_CANCEL = 6 , PW_ACCOUNTING_ON = 7 , PW_ACCOUNTING_OFF = 8 }
| Accounting Status Type. More...
enum | AttrType : uint8_t { PW_USER_NAME = 1 , PW_USER_PASSWORD = 2 , PW_CHAP_PASSWORD = 3 , PW_NAS_IP_ADDRESS = 4 , PW_NAS_PORT = 5 , PW_SERVICE_TYPE = 6 , PW_FRAMED_PROTOCOL = 7 , PW_FRAMED_IP_ADDRESS = 8 , PW_FRAMED_IP_NETMASK = 9 , PW_FRAMED_ROUTING = 10 , PW_FILTER_ID = 11 , PW_FRAMED_MTU = 12 , PW_FRAMED_COMPRESSION = 13 , PW_LOGIN_IP_HOST = 14 , PW_LOGIN_SERVICE = 15 , PW_LOGIN_TCP_PORT = 16 , PW_REPLY_MESSAGE = 18 , PW_CALLBACK_NUMBER = 19 , PW_CALLBACK_ID = 20 , PW_FRAMED_ROUTE = 22 , PW_FRAMED_IPX_NETWORK = 23 , PW_STATE = 24 , PW_CLASS = 25 , PW_VENDOR_SPECIFIC = 26 , PW_SESSION_TIMEOUT = 27 , PW_IDLE_TIMEOUT = 28 , PW_TERMINATION_ACTION = 29 , PW_CALLED_STATION_ID = 30 , PW_CALLING_STATION_ID = 31 , PW_NAS_IDENTIFIER = 32 , PW_PROXY_STATE = 33 , PW_LOGIN_LAT_SERVICE = 34 , PW_LOGIN_LAT_NODE = 35 , PW_LOGIN_LAT_GROUP = 36 , PW_FRAMED_APPLETALK_LINK = 37 , PW_FRAMED_APPLETALK_NETWORK = 38 , PW_FRAMED_APPLETALK_ZONE = 39 , PW_ACCT_STATUS_TYPE = 40 , PW_ACCT_DELAY_TIME = 41 , PW_ACCT_INPUT_OCTETS = 42 , PW_ACCT_OUTPUT_OCTETS = 43 , PW_ACCT_SESSION_ID = 44 , PW_ACCT_AUTHENTIC = 45 , PW_ACCT_SESSION_TIME = 46 , PW_ACCT_INPUT_PACKETS = 47 , PW_ACCT_OUTPUT_PACKETS = 48 , PW_ACCT_TERMINATE_CAUSE = 49 , PW_ACCT_MULTI_SESSION_ID = 50 , PW_ACCT_LINK_COUNT = 51 , PW_ACCT_INPUT_GIGAWORDS = 52 , PW_ACCT_OUTPUT_GIGAWORDS = 53 , PW_EVENT_TIMESTAMP = 55 , PW_EGRESS_VLANID = 56 , PW_INGRESS_FILTERS = 57 , PW_EGRESS_VLAN_NAME = 58 , PW_USER_PRIORITY_TABLE = 59 , PW_CHAP_CHALLENGE = 60 , PW_NAS_PORT_TYPE = 61 , PW_PORT_LIMIT = 62 , PW_LOGIN_LAT_PORT = 63 , PW_TUNNEL_TYPE = 64 , PW_TUNNEL_MEDIUM_TYPE = 65 , PW_TUNNEL_CLIENT_ENDPOINT = 66 , PW_TUNNEL_SERVER_ENDPOINT = 67 , PW_ACCT_TUNNEL_CONNECTION = 68 , PW_TUNNEL_PASSWORD = 69 , PW_ARAP_PASSWORD = 70 , PW_ARAP_FEATURES = 71 , PW_ARAP_ZONE_ACCESS = 72 , PW_ARAP_SECURITY = 73 , PW_ARAP_SECURITY_DATA = 74 , PW_PASSWORD_RETRY = 75 , PW_PROMPT = 76 , PW_CONNECT_INFO = 77 , PW_CONFIGURATION_TOKEN = 78 , PW_EAP_MESSAGE = 79 , PW_MESSAGE_AUTHENTICATOR = 80 , PW_TUNNEL_PRIVATE_GROUP_ID = 81 , PW_TUNNEL_ASSIGNMENT_ID = 82 , PW_TUNNEL_PREFERENCE = 83 , PW_ARAP_CHALLENGE_RESPONSE = 84 , PW_ACCT_INTERIM_INTERVAL = 85 , PW_ACCT_TUNNEL_PACKETS_LOST = 86 , PW_NAS_PORT_ID_STRING = 87 , PW_FRAMED_POOL = 88 , PW_CHARGEABLE_USER_IDENTITY = 89 , PW_TUNNEL_CLIENT_AUTH_ID = 90 , PW_TUNNEL_SERVER_AUTH_ID = 91 , PW_NAS_FILTER_RULE = 92 , PW_ORIGINATING_LINE_INFO = 94 , PW_NAS_IPV6_ADDRESS = 95 , PW_FRAMED_INTERFACE_ID = 96 , PW_FRAMED_IPV6_PREFIX = 97 , PW_LOGIN_IPV6_HOST = 98 , PW_FRAMED_IPV6_ROUTE = 99 , PW_FRAMED_IPV6_POOL = 100 , PW_ERROR_CAUSE = 101 , PW_EAP_KEY_NAME = 102 , PW_DELEGATED_IPV6_PREFIX = 123 , PW_FRAMED_IPV6_ADDRESS = 168 , PW_DNS_SERVER_IPV6_ADDRESS = 169 , PW_ROUTE_IPV6_INFORMATION = 170 }
| Attribute types. More...
enum | AttrValueType { PW_TYPE_STRING , PW_TYPE_INTEGER , PW_TYPE_IPADDR , PW_TYPE_IPV6ADDR , PW_TYPE_IPV6PREFIX , PW_TYPE_VSA }
| Attribute value types. More...
enum | Event : uint16_t { EVENT_CREATE = 0 , EVENT_RENEW = 1 , EVENT_REBIND = 2 , EVENT_EXPIRE = 3 , EVENT_RELEASE = 4 , EVENT_DECLINE = 5 , EVENT_ADD = 6 , EVENT_UPDATE = 7 , EVENT_DEL = 8 }
| Type of accounting events. More...
enum | ExchangeRC { BADRESP_RC = -2 , ERROR_RC = -1 , OK_RC = 0 , TIMEOUT_RC = 1 , REJECT_RC = 2 , READBLOCK_RC = 3 }
| Exchange error codes. More...
enum | MsgCode : uint8_t { PW_ACCESS_REQUEST = 1 , PW_ACCESS_ACCEPT = 2 , PW_ACCESS_REJECT = 3 , PW_ACCOUNTING_REQUEST = 4 , PW_ACCOUNTING_RESPONSE = 5 , PW_ACCOUNTING_STATUS = 6 , PW_PASSWORD_REQUEST = 7 , PW_PASSWORD_ACK = 8 , PW_PASSWORD_REJECT = 9 , PW_ACCOUNTING_MESSAGE = 10 , PW_ACCESS_CHALLENGE = 11 , PW_STATUS_SERVER = 12 , PW_STATUS_CLIENT = 13 }
| Standard RADIUS message code. More...
enum | RadiusProtocol { PW_PROTO_UDP , PW_PROTO_TCP , PW_PROTO_TLS }
| Transport protocols. More...

## Functions
string | attrValueTypeToText (const AttrValueType value)
| AttrValueType value -> name function.
string | canonize (const std::string &hexdump)
| Canonize hardware address textual representation.
string | eventToText (Event event)
| Translate an event to text.
string | exchangeRCtoText (const int rc)
| ExchangeRC value -> name function.
vector< uint8_t > | extractDuid (const dhcp::ClientIdPtr &client_id, bool &extracted)
| Extract the duid from a RFC 4361 compliant DHCPv4 client ID.
uint32_t | getNASPort (uint32_t subnet_id)
| Remap a subnet ID to a NAS port.
string | msgCodeToText (const uint8_t code)
| MsgCode value -> name function.
vector< uint8_t > | pop0 (const dhcp::ClientIdPtr &client_id)
| Pop leading zero in a DHCPv4 client-id.
vector< uint8_t > | pop0 (const dhcp::DuidPtr &duid)
| Pop leading zeros in a DHCPv6 duid.
string | protocolToText (const int proto)
| Transport protocol to text.
AttrValueType | textToAttrValueType (const std::string &name)
| AttrValueType name -> value function.
string | toHex (const std::vector< uint8_t > &content)
| Return hexadecimal textual representation of a vector.
string | toPrintable (const std::vector< uint8_t > &content)
| Return printable textual representation of a vector.

## Variables
const isc::log::MessageID | RADIUS_ACCESS_BUILD_FAILED = "RADIUS_ACCESS_BUILD_FAILED"
const isc::log::MessageID | RADIUS_ACCESS_CACHE_GET = "RADIUS_ACCESS_CACHE_GET"
const isc::log::MessageID | RADIUS_ACCESS_CACHE_INSERT = "RADIUS_ACCESS_CACHE_INSERT"
const isc::log::MessageID | RADIUS_ACCESS_CONFLICT = "RADIUS_ACCESS_CONFLICT"
const isc::log::MessageID | RADIUS_ACCESS_DROP_PARKED_QUERY = "RADIUS_ACCESS_DROP_PARKED_QUERY"
const isc::log::MessageID | RADIUS_ACCESS_ERROR = "RADIUS_ACCESS_ERROR"
const isc::log::MessageID | RADIUS_ACCESS_GET_IDENTIFIER = "RADIUS_ACCESS_GET_IDENTIFIER"
const isc::log::MessageID | RADIUS_ACCESS_GET_IDENTIFIER_FAILED = "RADIUS_ACCESS_GET_IDENTIFIER_FAILED"
const isc::log::MessageID | RADIUS_ACCESS_HOST_BACKEND_ERROR = "RADIUS_ACCESS_HOST_BACKEND_ERROR"
const isc::log::MessageID | RADIUS_ACCESS_MAX_PENDING_REQUESTS = "RADIUS_ACCESS_MAX_PENDING_REQUESTS"
const isc::log::MessageID | RADIUS_ACCESS_NO_HOST_CACHE = "RADIUS_ACCESS_NO_HOST_CACHE"
const isc::log::MessageID | RADIUS_ACCESS_ORPHAN = "RADIUS_ACCESS_ORPHAN"
const isc::log::MessageID | RADIUS_ACCESS_RESUME_PARKED_QUERY = "RADIUS_ACCESS_RESUME_PARKED_QUERY"
const isc::log::MessageID | RADIUS_ACCESS_SUBNET_RESELECT = "RADIUS_ACCESS_SUBNET_RESELECT"
const isc::log::MessageID | RADIUS_ACCESS_TERMINATE_ERROR = "RADIUS_ACCESS_TERMINATE_ERROR"
const isc::log::MessageID | RADIUS_ACCOUNTING_ASYNC = "RADIUS_ACCOUNTING_ASYNC"
const isc::log::MessageID | RADIUS_ACCOUNTING_ASYNC_FAILED = "RADIUS_ACCOUNTING_ASYNC_FAILED"
const isc::log::MessageID | RADIUS_ACCOUNTING_ASYNC_SUCCEED = "RADIUS_ACCOUNTING_ASYNC_SUCCEED"
const isc::log::MessageID | RADIUS_ACCOUNTING_ERROR = "RADIUS_ACCOUNTING_ERROR"
const isc::log::MessageID | RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED = "RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED"
const isc::log::MessageID | RADIUS_ACCOUNTING_NO_HISTORY = "RADIUS_ACCOUNTING_NO_HISTORY"
const isc::log::MessageID | RADIUS_ACCOUNTING_STATUS = "RADIUS_ACCOUNTING_STATUS"
const isc::log::MessageID | RADIUS_ACCOUNTING_STATUS_ERROR = "RADIUS_ACCOUNTING_STATUS_ERROR"
const isc::log::MessageID | RADIUS_ACCOUNTING_STATUS_FAILED = "RADIUS_ACCOUNTING_STATUS_FAILED"
const isc::log::MessageID | RADIUS_ACCOUNTING_STATUS_SUCCEED = "RADIUS_ACCOUNTING_STATUS_SUCCEED"
const isc::log::MessageID | RADIUS_ACCOUNTING_SYNC = "RADIUS_ACCOUNTING_SYNC"
const isc::log::MessageID | RADIUS_ACCOUNTING_SYNC_FAILED = "RADIUS_ACCOUNTING_SYNC_FAILED"
const isc::log::MessageID | RADIUS_ACCOUNTING_SYNC_SUCCEED = "RADIUS_ACCOUNTING_SYNC_SUCCEED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_ASYNC = "RADIUS_AUTHENTICATION_ASYNC"
const isc::log::MessageID | RADIUS_AUTHENTICATION_ASYNC_ACCEPTED = "RADIUS_AUTHENTICATION_ASYNC_ACCEPTED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_ASYNC_FAILED = "RADIUS_AUTHENTICATION_ASYNC_FAILED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_ASYNC_REJECTED = "RADIUS_AUTHENTICATION_ASYNC_REJECTED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_STATUS = "RADIUS_AUTHENTICATION_STATUS"
const isc::log::MessageID | RADIUS_AUTHENTICATION_STATUS_ERROR = "RADIUS_AUTHENTICATION_STATUS_ERROR"
const isc::log::MessageID | RADIUS_AUTHENTICATION_STATUS_FAILED = "RADIUS_AUTHENTICATION_STATUS_FAILED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_STATUS_SUCCEED = "RADIUS_AUTHENTICATION_STATUS_SUCCEED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_SYNC = "RADIUS_AUTHENTICATION_SYNC"
const isc::log::MessageID | RADIUS_AUTHENTICATION_SYNC_ACCEPTED = "RADIUS_AUTHENTICATION_SYNC_ACCEPTED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_SYNC_FAILED = "RADIUS_AUTHENTICATION_SYNC_FAILED"
const isc::log::MessageID | RADIUS_AUTHENTICATION_SYNC_REJECTED = "RADIUS_AUTHENTICATION_SYNC_REJECTED"
const isc::log::MessageID | RADIUS_BACKEND_GET4 = "RADIUS_BACKEND_GET4"
const isc::log::MessageID | RADIUS_BACKEND_GET6 = "RADIUS_BACKEND_GET6"
const isc::log::MessageID | RADIUS_CLEANUP_EXCEPTION = "RADIUS_CLEANUP_EXCEPTION"
const isc::log::MessageID | RADIUS_CONFIGURATION_FAILED = "RADIUS_CONFIGURATION_FAILED"
const isc::log::MessageID | RADIUS_DECODE_MESSAGE = "RADIUS_DECODE_MESSAGE"
const isc::log::MessageID | RADIUS_DEINIT_OK = "RADIUS_DEINIT_OK"
const isc::log::MessageID | RADIUS_ENCODE_MESSAGE = "RADIUS_ENCODE_MESSAGE"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT = "RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT = "RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_MISMATCH = "RADIUS_EXCHANGE_RECEIVED_MISMATCH"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_RESPONSE"
const isc::log::MessageID | RADIUS_EXCHANGE_RECEIVED_UNEXPECTED = "RADIUS_EXCHANGE_RECEIVED_UNEXPECTED"
const isc::log::MessageID | RADIUS_HOOK_FAILED = "RADIUS_HOOK_FAILED"
const isc::log::MessageID | RADIUS_INIT_OK = "RADIUS_INIT_OK"
const isc::log::MessageID | RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED"
const isc::log::MessageID | RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED"
const isc::log::MessageID | RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED"
const isc::log::MessageID | RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED"
const isc::log::MessageID | RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED"
const isc::log::MessageID | RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED"
const isc::log::MessageID | RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED"
const isc::log::MessageID | RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED"
isc::log::Logger | radius_logger ("radius-hooks")
| Radius Logger.
const isc::log::MessageID | RADIUS_PAUSE_FAILED = "RADIUS_PAUSE_FAILED"
const isc::log::MessageID | RADIUS_PAUSE_ILLEGAL = "RADIUS_PAUSE_ILLEGAL"
const isc::log::MessageID | RADIUS_PAUSE_PERMISSIONS_FAILED = "RADIUS_PAUSE_PERMISSIONS_FAILED"
const isc::log::MessageID | RADIUS_REPLY_MESSAGE_ATTRIBUTE = "RADIUS_REPLY_MESSAGE_ATTRIBUTE"
const isc::log::MessageID | RADIUS_RESUME_FAILED = "RADIUS_RESUME_FAILED"
const isc::log::MessageID | RADIUS_SERVER_CONFIGURED = "RADIUS_SERVER_CONFIGURED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_APPEND_FAILED = "RADIUS_SESSION_HISTORY_APPEND_FAILED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_LOAD_FAILED = "RADIUS_SESSION_HISTORY_LOAD_FAILED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_LOADED = "RADIUS_SESSION_HISTORY_LOADED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_OPEN_FAILED = "RADIUS_SESSION_HISTORY_OPEN_FAILED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_OPENED = "RADIUS_SESSION_HISTORY_OPENED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_STORE_FAILED = "RADIUS_SESSION_HISTORY_STORE_FAILED"
const isc::log::MessageID | RADIUS_SESSION_HISTORY_STORED = "RADIUS_SESSION_HISTORY_STORED"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_FAILURE = "RADIUS_TCP_EXCHANGE_FAILURE"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_RECEIVE_FAILED = "RADIUS_TCP_EXCHANGE_RECEIVE_FAILED"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_RECEIVED = "RADIUS_TCP_EXCHANGE_RECEIVED"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_SEND = "RADIUS_TCP_EXCHANGE_SEND"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_START = "RADIUS_TCP_EXCHANGE_START"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_START_ERROR = "RADIUS_TCP_EXCHANGE_START_ERROR"
const isc::log::MessageID | RADIUS_TCP_EXCHANGE_SUCCESS = "RADIUS_TCP_EXCHANGE_SUCCESS"
const isc::log::MessageID | RADIUS_THREAD_POOL_STARTED = "RADIUS_THREAD_POOL_STARTED"
const isc::log::MessageID | RADIUS_TLS_STATUS = "RADIUS_TLS_STATUS"
const isc::log::MessageID | RADIUS_TLS_STATUS_ERROR = "RADIUS_TLS_STATUS_ERROR"
const isc::log::MessageID | RADIUS_TLS_STATUS_FAILED = "RADIUS_TLS_STATUS_FAILED"
const isc::log::MessageID | RADIUS_TLS_STATUS_SUCCEED = "RADIUS_TLS_STATUS_SUCCEED"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_FAILED = "RADIUS_UDP_EXCHANGE_FAILED"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_OPEN_FAILED = "RADIUS_UDP_EXCHANGE_OPEN_FAILED"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_RECEIVE_FAILED = "RADIUS_UDP_EXCHANGE_RECEIVE_FAILED"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_RECEIVED = "RADIUS_UDP_EXCHANGE_RECEIVED"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_SEND_FAILED = "RADIUS_UDP_EXCHANGE_SEND_FAILED"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_SEND_NEW = "RADIUS_UDP_EXCHANGE_SEND_NEW"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_SEND_RETRY = "RADIUS_UDP_EXCHANGE_SEND_RETRY"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_SENT = "RADIUS_UDP_EXCHANGE_SENT"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_START = "RADIUS_UDP_EXCHANGE_START"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_SYNC_RETURN = "RADIUS_UDP_EXCHANGE_SYNC_RETURN"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_TERMINATE = "RADIUS_UDP_EXCHANGE_TERMINATE"
const isc::log::MessageID | RADIUS_UDP_EXCHANGE_TIMEOUT = "RADIUS_UDP_EXCHANGE_TIMEOUT"
const int | RADIUS_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC
| Radius logging levels.

## Typedef Documentation

## ◆ AttrDefList

typedef std::list<AttrDef> isc::radius::AttrDefList

List of Attribute definitions.

Definition at line 84 of file client_dictionary.h.

## ◆ AttrDefPtr

typedef boost::shared_ptr<AttrDef> isc::radius::AttrDefPtr

Shared pointers to Attribute definition.

Definition at line 81 of file client_dictionary.h.

## ◆ AttributePtr

typedef boost::shared_ptr<Attribute> isc::radius::AttributePtr

Definition at line 39 of file client_attribute.h.

## ◆ AttributesPtr

typedef boost::shared_ptr<Attributes> isc::radius::AttributesPtr

Shared pointers to attribute collection.

Definition at line 963 of file client_attribute.h.

## ◆ CallbackAcct

typedef std::function<void(int)> isc::radius::CallbackAcct

Type of callback for accounting termination.

The argument is the result code.

Definition at line 31 of file radius_request.h.

## ◆ CallbackAuth

typedef std::function<void(int, AttributesPtr)> isc::radius::CallbackAuth

Type of callback for authentication termination.

First argument is the result code, second is the attribute collection from server response.

Definition at line 26 of file radius_request.h.

## ◆ CallbackStatus

typedef std::function<void(int)> isc::radius::CallbackStatus

Type of callback for status termination.

The argument is the result code.

Definition at line 25 of file radius_status.h.

## ◆ ConstAttributePtr

typedef boost::shared_ptr<const Attribute> isc::radius::ConstAttributePtr

Definition at line 40 of file client_attribute.h.

## ◆ CSVFilePtr

typedef boost::shared_ptr<util::CSVFile> isc::radius::CSVFilePtr

Type of pointers to CSV file.

Definition at line 177 of file radius_accounting.h.

## ◆ ExchangePtr

typedef boost::shared_ptr<Exchange> isc::radius::ExchangePtr

Type of shared pointers to RADIUS exchange object.

Definition at line 55 of file client_exchange.h.

## ◆ IntCstDefPtr

typedef boost::shared_ptr<IntCstDef> isc::radius::IntCstDefPtr

Shared pointers to Integer constant definition.

Definition at line 141 of file client_dictionary.h.

## ◆ MessagePtr

typedef boost::shared_ptr<Message> isc::radius::MessagePtr

Shared pointers to message.

Definition at line 262 of file client_message.h.

## ◆ RadiusAcctHandlerPtr

typedef boost::shared_ptr<RadiusAcctHandler> isc::radius::RadiusAcctHandlerPtr

Type of pointers to Radius accounting communication handler.

Definition at line 174 of file radius_accounting.h.

## ◆ RadiusAcctStatusPtr

typedef boost::shared_ptr<RadiusAcctStatus> isc::radius::RadiusAcctStatusPtr

Pointer to accounting status.

Definition at line 142 of file radius_status.h.

## ◆ RadiusAsyncAcctPtr

typedef boost::shared_ptr<RadiusAsyncAcct> isc::radius::RadiusAsyncAcctPtr

Pointer to asynchronous accounting.

Definition at line 279 of file radius_request.h.

## ◆ RadiusAsyncAuthPtr

typedef boost::shared_ptr<RadiusAsyncAuth> isc::radius::RadiusAsyncAuthPtr

Pointer to asynchronous authentication.

Definition at line 198 of file radius_request.h.

## ◆ RadiusAuthHandlerPtr

typedef boost::shared_ptr<RadiusAuthHandler> isc::radius::RadiusAuthHandlerPtr

Type of pointers to Radius access communication handler.

Definition at line 161 of file radius_access.h.

## ◆ RadiusAuthPendingRequestPtr

template<class PktPtrType>

using isc::radius::RadiusAuthPendingRequestPtr

Initial value:
boost::shared_ptr<RadiusAuthPendingRequest<PktPtrType>>

Pointer to a pending Radius access request.

Template Parameters

  PktPtrType | Either Pkt4Ptr or Pkt6Ptr.

Definition at line 41 of file radius_access.h.

## ◆ RadiusAuthStatusPtr

typedef boost::shared_ptr<RadiusAuthStatus> isc::radius::RadiusAuthStatusPtr

Pointer to access status.

Definition at line 112 of file radius_status.h.

## ◆ RadiusBackendPtr

typedef boost::shared_ptr<RadiusBackend> isc::radius::RadiusBackendPtr

Pointer to host backend.

Definition at line 349 of file radius_backend.h.

## ◆ RadiusImplPtr

typedef boost::shared_ptr<RadiusImpl> isc::radius::RadiusImplPtr

Definition at line 139 of file radius.h.

## ◆ RadiusServicePtr

typedef boost::shared_ptr<RadiusService> isc::radius::RadiusServicePtr

Type of pointers to Radius service.

Definition at line 80 of file radius_service.h.

## ◆ RadiusSyncAcctPtr

typedef boost::shared_ptr<RadiusSyncAcct> isc::radius::RadiusSyncAcctPtr

Pointer to synchronous accounting.

Definition at line 249 of file radius_request.h.

## ◆ RadiusSyncAuthPtr

typedef boost::shared_ptr<RadiusSyncAuth> isc::radius::RadiusSyncAuthPtr

Pointer to synchronous authentication.

Definition at line 168 of file radius_request.h.

## ◆ RadiusTlsStatusPtr

typedef boost::shared_ptr<RadiusTlsStatus> isc::radius::RadiusTlsStatusPtr

Pointer to access status.

Definition at line 172 of file radius_status.h.

## ◆ ServerPtr

typedef boost::shared_ptr<Server> isc::radius::ServerPtr

Type of shared pointers to a RADIUS server object.

Definition at line 225 of file client_server.h.

## ◆ Servers

typedef std::vector<ServerPtr> isc::radius::Servers

Type of RADIUS server collection.

Definition at line 228 of file client_server.h.

## ◆ TcpExchangePtr

typedef boost::shared_ptr<TcpExchange> isc::radius::TcpExchangePtr

Type of shared pointers to RADIUS/TCP exchange object.

Definition at line 352 of file client_exchange.h.

## ◆ TMContainer

typedef boost::multi_index_container< LeaseTS, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag<TMAddressIndexTag>, boost::multi_index::member<LeaseTS, const asiolink::IOAddress, &LeaseTS::addr_> >, boost::multi_index::ordered_non_unique< boost::multi_index::tag<TMTimestampIndexTag>, boost::multi_index::member<LeaseTS, const boost::posix_time::ptime, &LeaseTS::timestamp_> > >> isc::radius::TMContainer

Create timestamp container.

Definition at line 98 of file radius_accounting.h.

## ◆ TMContainerAddressIndex

typedef TMContainer::index<TMAddressIndexTag>::type isc::radius::TMContainerAddressIndex

First index type in the `TMContainer`.

Definition at line 101 of file radius_accounting.h.

## ◆ TMContainerTimestampIndex

typedef TMContainer::index<TMTimestampIndexTag>::type isc::radius::TMContainerTimestampIndex

Second index type in the `TMContainer`.

Definition at line 104 of file radius_accounting.h.

## ◆ UdpClientPtr

typedef boost::shared_ptr<UdpClient> isc::radius::UdpClientPtr

Pointer to UDP client.

Definition at line 122 of file radius.h.

## ◆ UdpExchangePtr

typedef boost::shared_ptr<UdpExchange> isc::radius::UdpExchangePtr

Type of shared pointers to RADIUS/UDP exchange object.

Definition at line 212 of file client_exchange.h.

## Enumeration Type Documentation

## ◆ AcctStatusType

enum isc::radius::AcctStatusType : uint32_t

Accounting Status Type.

Enumerator
PW_STATUS_START |
PW_STATUS_STOP |
PW_STATUS_ALIVE |
PW_STATUS_MODEM_START |
PW_STATUS_MODEM_STOP |
PW_STATUS_CANCEL |
PW_ACCOUNTING_ON |
PW_ACCOUNTING_OFF |

Definition at line 129 of file hooks/dhcp/radius/client.h.

## ◆ AttrType

enum isc::radius::AttrType : uint8_t

Attribute types.

From freeRADIUS client include and dictionary with fixes when the two sources differed.

Enumerator
PW_USER_NAME | string.
PW_USER_PASSWORD | string.
PW_CHAP_PASSWORD | string.
PW_NAS_IP_ADDRESS | ipaddr.
PW_NAS_PORT | integer.
PW_SERVICE_TYPE | integer.
PW_FRAMED_PROTOCOL | integer.
PW_FRAMED_IP_ADDRESS | ipaddr.
PW_FRAMED_IP_NETMASK | ipaddr.
PW_FRAMED_ROUTING | integer.
PW_FILTER_ID | string.
PW_FRAMED_MTU | integer.
PW_FRAMED_COMPRESSION | integer.
PW_LOGIN_IP_HOST | ipaddr.
PW_LOGIN_SERVICE | integer.
PW_LOGIN_TCP_PORT | integer.
PW_REPLY_MESSAGE | string.
PW_CALLBACK_NUMBER | string.
PW_CALLBACK_ID | string.
PW_FRAMED_ROUTE | string.
PW_FRAMED_IPX_NETWORK | ipaddr.
PW_STATE | string.
PW_CLASS | string.
PW_VENDOR_SPECIFIC | string.
PW_SESSION_TIMEOUT | integer.
PW_IDLE_TIMEOUT | integer.
PW_TERMINATION_ACTION | integer.
PW_CALLED_STATION_ID | string.
PW_CALLING_STATION_ID | string.
PW_NAS_IDENTIFIER | string.
PW_PROXY_STATE | string.
PW_LOGIN_LAT_SERVICE | string.
PW_LOGIN_LAT_NODE | string.
PW_LOGIN_LAT_GROUP | string.
PW_FRAMED_APPLETALK_LINK | integer.
PW_FRAMED_APPLETALK_NETWORK | integer.
PW_FRAMED_APPLETALK_ZONE | string.
PW_ACCT_STATUS_TYPE | integer.
PW_ACCT_DELAY_TIME | integer.
PW_ACCT_INPUT_OCTETS | integer.
PW_ACCT_OUTPUT_OCTETS | integer.
PW_ACCT_SESSION_ID | string.
PW_ACCT_AUTHENTIC | integer.
PW_ACCT_SESSION_TIME | integer.
PW_ACCT_INPUT_PACKETS | integer.
PW_ACCT_OUTPUT_PACKETS | integer.
PW_ACCT_TERMINATE_CAUSE | integer.
PW_ACCT_MULTI_SESSION_ID | string.
PW_ACCT_LINK_COUNT | integer.
PW_ACCT_INPUT_GIGAWORDS | integer.
PW_ACCT_OUTPUT_GIGAWORDS | integer.
PW_EVENT_TIMESTAMP | integer.
PW_EGRESS_VLANID | string.
PW_INGRESS_FILTERS | integer.
PW_EGRESS_VLAN_NAME | string.
PW_USER_PRIORITY_TABLE | string.
PW_CHAP_CHALLENGE | string.
PW_NAS_PORT_TYPE | integer.
PW_PORT_LIMIT | integer.
PW_LOGIN_LAT_PORT | string.
PW_TUNNEL_TYPE | string.
PW_TUNNEL_MEDIUM_TYPE | integer.
PW_TUNNEL_CLIENT_ENDPOINT | string.
PW_TUNNEL_SERVER_ENDPOINT | string.
PW_ACCT_TUNNEL_CONNECTION | string.
PW_TUNNEL_PASSWORD | string.
PW_ARAP_PASSWORD | string.
PW_ARAP_FEATURES | string.
PW_ARAP_ZONE_ACCESS | integer.
PW_ARAP_SECURITY | integer.
PW_ARAP_SECURITY_DATA | string.
PW_PASSWORD_RETRY | integer.
PW_PROMPT | integer.
PW_CONNECT_INFO | string.
PW_CONFIGURATION_TOKEN | string.
PW_EAP_MESSAGE | string.
PW_MESSAGE_AUTHENTICATOR | string.
PW_TUNNEL_PRIVATE_GROUP_ID | string.
PW_TUNNEL_ASSIGNMENT_ID | string.
PW_TUNNEL_PREFERENCE | string.
PW_ARAP_CHALLENGE_RESPONSE | string.
PW_ACCT_INTERIM_INTERVAL | integer.
PW_ACCT_TUNNEL_PACKETS_LOST | integer.
PW_NAS_PORT_ID_STRING | string.
PW_FRAMED_POOL | string.
PW_CHARGEABLE_USER_IDENTITY | string.
PW_TUNNEL_CLIENT_AUTH_ID | string.
PW_TUNNEL_SERVER_AUTH_ID | string.
PW_NAS_FILTER_RULE | string.
PW_ORIGINATING_LINE_INFO | string.
PW_NAS_IPV6_ADDRESS | ipv6addr.
PW_FRAMED_INTERFACE_ID | string.
PW_FRAMED_IPV6_PREFIX | ipv6prefix.
PW_LOGIN_IPV6_HOST | string.
PW_FRAMED_IPV6_ROUTE | string.
PW_FRAMED_IPV6_POOL | string.
PW_ERROR_CAUSE | integer.
PW_EAP_KEY_NAME | string.
PW_DELEGATED_IPV6_PREFIX | ipv6prefix.
PW_FRAMED_IPV6_ADDRESS | ipv6addr.
PW_DNS_SERVER_IPV6_ADDRESS | ipv6addr.
PW_ROUTE_IPV6_INFORMATION | ipv6prefix.

Definition at line 17 of file hooks/dhcp/radius/client.h.

## ◆ AttrValueType

enum isc::radius::AttrValueType

Attribute value types.

Removed PW_TYPE_DATE as it is not used.

Enumerator
PW_TYPE_STRING |
PW_TYPE_INTEGER |
PW_TYPE_IPADDR |
PW_TYPE_IPV6ADDR |
PW_TYPE_IPV6PREFIX |
PW_TYPE_VSA |

Definition at line 29 of file client_dictionary.h.

## ◆ Event

enum isc::radius::Event : uint16_t

Type of accounting events.

Enumerator
EVENT_CREATE |
EVENT_RENEW |
EVENT_REBIND |
EVENT_EXPIRE |
EVENT_RELEASE |
EVENT_DECLINE |
EVENT_ADD |
EVENT_UPDATE |
EVENT_DEL |

Definition at line 25 of file radius_accounting.h.

## ◆ ExchangeRC

enum isc::radius::ExchangeRC

Exchange error codes.

Todo
  Move to Exchange class.

Enumerator
BADRESP_RC |
ERROR_RC |
OK_RC |
TIMEOUT_RC |
REJECT_RC |
READBLOCK_RC |

Definition at line 37 of file client_exchange.h.

## ◆ MsgCode

enum isc::radius::MsgCode : uint8_t

Standard RADIUS message code.

Enumerator
PW_ACCESS_REQUEST |
PW_ACCESS_ACCEPT |
PW_ACCESS_REJECT |
PW_ACCOUNTING_REQUEST |
PW_ACCOUNTING_RESPONSE |
PW_ACCOUNTING_STATUS |
PW_PASSWORD_REQUEST |
PW_PASSWORD_ACK |
PW_PASSWORD_REJECT |
PW_ACCOUNTING_MESSAGE |
PW_ACCESS_CHALLENGE |
PW_STATUS_SERVER |
PW_STATUS_CLIENT |

Definition at line 21 of file client_message.h.

## ◆ RadiusProtocol

enum isc::radius::RadiusProtocol

Transport protocols.

Enumerator
PW_PROTO_UDP |
PW_PROTO_TCP |
PW_PROTO_TLS |

Definition at line 44 of file client_server.h.

## Function Documentation

## ◆ attrValueTypeToText()

std::string isc::radius::attrValueTypeToText | ( | const AttrValueType | value | ) |

AttrValueType value -> name function.

Parameters

  value | value to translate to name.

Returns
  the name of the value.

Definition at line 25 of file client_dictionary.cc.

References PW_TYPE_INTEGER, PW_TYPE_IPADDR, PW_TYPE_IPV6ADDR, PW_TYPE_IPV6PREFIX, PW_TYPE_STRING, and PW_TYPE_VSA.

Referenced by isc::radius::AttrDefs::add(), isc::radius::AttrDefs::checkStandardDefs(), isc::radius::Attribute::toBinary(), isc::radius::Attribute::toInt(), isc::radius::Attribute::toIpAddr(), isc::radius::Attribute::toIpv6Addr(), isc::radius::Attribute::toIpv6Prefix(), isc::radius::Attribute::toIpv6PrefixLen(), isc::radius::Attribute::toString(), isc::radius::Attribute::toVendorId(), and isc::radius::Attribute::toVsaData().

## ◆ canonize()

std::string isc::radius::canonize | ( | const std::string & | hexdump | ) |

Canonize hardware address textual representation.

FreeRADIUS prefers lowercase with '-' as the separator so translate 0A:0B:01:02:03 into 0a-0b-01-02-03.

Parameters

  hexdump | The dump in hexadecimal with ':' separator.

Returns
  The argument in canonical format.

Definition at line 25 of file radius_utils.cc.

Referenced by isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct4(), isc::radius::RadiusAccounting::buildAcct6(), isc::radius::RadiusAccess::buildAuth(), isc::radius::RadiusAccess::buildAuth(), isc::radius::RadiusAccess::getIdentifier(), and isc::radius::RadiusAccess::getIdentifier().

## ◆ eventToText()

std::string isc::radius::eventToText | ( | Event | event | ) |

Translate an event to text.

Parameters

  event | The event.

Returns
  textual representation of the event.

Definition at line 35 of file radius_accounting.cc.

References EVENT_ADD, EVENT_CREATE, EVENT_DECLINE, EVENT_DEL, EVENT_EXPIRE, EVENT_REBIND, EVENT_RELEASE, EVENT_RENEW, and EVENT_UPDATE.

Referenced by isc::radius::RadiusAccounting::terminate().

## ◆ exchangeRCtoText()

std::string isc::radius::exchangeRCtoText | ( | const int | rc | ) |

ExchangeRC value -> name function.

Parameters

  rc | the error code.

Definition at line 38 of file client_exchange.cc.

References BADRESP_RC, ERROR_RC, OK_RC, READBLOCK_RC, REJECT_RC, and TIMEOUT_RC.

Referenced by isc::radius::RadiusAcctStatus::invokeCallback(), isc::radius::RadiusAsyncAcct::invokeCallback(), isc::radius::RadiusAsyncAuth::invokeCallback(), isc::radius::RadiusAuthStatus::invokeCallback(), isc::radius::RadiusTlsStatus::invokeCallback(), isc::radius::Exchange::processResponse(), isc::radius::TcpExchange::RequestHandler(), isc::radius::RadiusSyncAcct::start(), isc::radius::RadiusSyncAuth::start(), isc::radius::RadiusAccounting::terminate(), isc::radius::UdpExchange::terminate(), isc::radius::RadiusAccess::terminate4Internal(), and isc::radius::RadiusAccess::terminate6Internal().

## ◆ extractDuid()

std::vector< uint8_t > isc::radius::extractDuid | ( | const dhcp::ClientIdPtr & | client_id,
|  | bool & | extracted )

Extract the duid from a RFC 4361 compliant DHCPv4 client ID.

Parameters

  client_id | Pointer to the client id.
  extracted | a reference to a boolean which is set to true when a DUID was extracted.

Returns
  A vector holding the duid or the client identifier itself.

Definition at line 98 of file radius_utils.cc.

Referenced by isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct4(), and isc::radius::RadiusAccess::getIdentifier().

## ◆ getNASPort()

uint32_t isc::radius::getNASPort | ( | uint32_t | subnet_id | ) |

Remap a subnet ID to a NAS port.

First the subnet ID is looked for in the remap table. Second if not found the default is tried. Finally the subnet ID is returned as it.

Parameters

  subnet_id | The subnet ID to map to a NAS port.

Returns
  (eventually) mapped NAS port

Definition at line 24 of file radius_request.cc.

References isc::radius::RadiusImpl::instance(), and isc::radius::RadiusImpl::remap_.

Referenced by isc::radius::RadiusRequest::RadiusRequest().

Here is the call graph for this function:

## ◆ msgCodeToText()

std::string isc::radius::msgCodeToText | ( | const uint8_t | code | ) |

MsgCode value -> name function.

Parameters

  code | code to translate to name.

Returns
  the name of the code.

Definition at line 30 of file client_message.cc.

References PW_ACCESS_ACCEPT, PW_ACCESS_CHALLENGE, PW_ACCESS_REJECT, PW_ACCESS_REQUEST, PW_ACCOUNTING_MESSAGE, PW_ACCOUNTING_REQUEST, PW_ACCOUNTING_RESPONSE, PW_ACCOUNTING_STATUS, PW_PASSWORD_ACK, PW_PASSWORD_REJECT, PW_PASSWORD_REQUEST, PW_STATUS_CLIENT, and PW_STATUS_SERVER.

Referenced by isc::radius::Message::decode(), isc::radius::Message::encode(), isc::radius::RadiusAcctStatus::invokeCallback(), isc::radius::RadiusAuthStatus::invokeCallback(), isc::radius::RadiusTlsStatus::invokeCallback(), and isc::radius::Exchange::processResponse().

## ◆ pop0() [1/2]

std::vector< uint8_t > isc::radius::pop0 | ( | const dhcp::ClientIdPtr & | client_id | ) |

Pop leading zero in a DHCPv4 client-id.

flex-id uses client-id with type field (leading byte) set to 0.

Parameters

  client_id | Pointer to the client id.

Returns
  A vector holding a client identifier without leading zero if exists.

Definition at line 50 of file radius_utils.cc.

Referenced by isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct4(), isc::radius::RadiusAccounting::buildAcct6(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAccess::getIdentifier(), and isc::radius::RadiusConfigParser::parse().

## ◆ pop0() [2/2]

std::vector< uint8_t > isc::radius::pop0 | ( | const dhcp::DuidPtr & | duid | ) |

Pop leading zeros in a DHCPv6 duid.

flex-id uses duid with type field (leading 2 bytes) set to 0.

Parameters

  duid | Pointer to the duid.

Definition at line 59 of file radius_utils.cc.

## ◆ protocolToText()

std::string isc::radius::protocolToText | ( | const int | proto | ) |

Transport protocol to text.

Definition at line 56 of file client_server.cc.

References PW_PROTO_TCP, PW_PROTO_TLS, and PW_PROTO_UDP.

Referenced by isc::radius::RadiusImpl::toElement().

## ◆ textToAttrValueType()

AttrValueType isc::radius::textToAttrValueType | ( | const std::string & | name | ) |

AttrValueType name -> value function.

The date value type is mapped to the compatible integer one.

Parameters

  name | name of the value.

Returns
  the value with the given name.

Definition at line 46 of file client_dictionary.cc.

References isc_throw, PW_TYPE_INTEGER, PW_TYPE_IPADDR, PW_TYPE_IPV6ADDR, PW_TYPE_IPV6PREFIX, PW_TYPE_STRING, and PW_TYPE_VSA.

Referenced by isc::radius::AttrDefs::parseLine().

## ◆ toHex()

std::string isc::radius::toHex | ( | const std::vector< uint8_t > & | content | ) |

Return hexadecimal textual representation of a vector.

Parameters

  content | The vector from a client-id or a duid.

Returns
  The hexadecimal representation.

Definition at line 83 of file radius_utils.cc.

Referenced by isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct4(), isc::radius::RadiusAccounting::buildAcct6(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAccess::terminate4Internal(), isc::radius::RadiusAccess::terminate6Internal(), and toPrintable().

## ◆ toPrintable()

std::string isc::radius::toPrintable | ( | const std::vector< uint8_t > & | content | ) |

Return printable textual representation of a vector.

Parameters

  content | The vector from a client-id or a duid.

Returns
  The textual or hexadecimal representation.

Definition at line 68 of file radius_utils.cc.

References isc::util::str::isPrintable(), and toHex().

Referenced by isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct(), isc::radius::RadiusAccounting::buildAcct4(), isc::radius::RadiusAccounting::buildAcct6(), isc::radius::RadiusAccess::getIdentifier(), and isc::radius::RadiusAccess::getIdentifier().

Here is the call graph for this function:

## Variable Documentation

## ◆ RADIUS_ACCESS_BUILD_FAILED

const isc::log::MessageID isc::radius::RADIUS_ACCESS_BUILD_FAILED = "RADIUS_ACCESS_BUILD_FAILED"
| extern

Definition at line 11 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::buildAuth(), and isc::radius::RadiusAccess::buildAuth().

## ◆ RADIUS_ACCESS_CACHE_GET

const isc::log::MessageID isc::radius::RADIUS_ACCESS_CACHE_GET = "RADIUS_ACCESS_CACHE_GET"
| extern

Definition at line 12 of file radius_messages.h.

## ◆ RADIUS_ACCESS_CACHE_INSERT

const isc::log::MessageID isc::radius::RADIUS_ACCESS_CACHE_INSERT = "RADIUS_ACCESS_CACHE_INSERT"
| extern

Definition at line 13 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::terminate4Internal(), and isc::radius::RadiusAccess::terminate6Internal().

## ◆ RADIUS_ACCESS_CONFLICT

const isc::log::MessageID isc::radius::RADIUS_ACCESS_CONFLICT = "RADIUS_ACCESS_CONFLICT"
| extern

Definition at line 14 of file radius_messages.h.

## ◆ RADIUS_ACCESS_DROP_PARKED_QUERY

const isc::log::MessageID isc::radius::RADIUS_ACCESS_DROP_PARKED_QUERY = "RADIUS_ACCESS_DROP_PARKED_QUERY"
| extern

Definition at line 15 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::terminate4(), and isc::radius::RadiusAccess::terminate6().

## ◆ RADIUS_ACCESS_ERROR

const isc::log::MessageID isc::radius::RADIUS_ACCESS_ERROR = "RADIUS_ACCESS_ERROR"
| extern

Definition at line 16 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::terminate4Internal(), and isc::radius::RadiusAccess::terminate6Internal().

## ◆ RADIUS_ACCESS_GET_IDENTIFIER

const isc::log::MessageID isc::radius::RADIUS_ACCESS_GET_IDENTIFIER = "RADIUS_ACCESS_GET_IDENTIFIER"
| extern

Definition at line 17 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::getIdentifier(), and isc::radius::RadiusAccess::getIdentifier().

## ◆ RADIUS_ACCESS_GET_IDENTIFIER_FAILED

const isc::log::MessageID isc::radius::RADIUS_ACCESS_GET_IDENTIFIER_FAILED = "RADIUS_ACCESS_GET_IDENTIFIER_FAILED"
| extern

Definition at line 18 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::getIdentifier(), and isc::radius::RadiusAccess::getIdentifier().

## ◆ RADIUS_ACCESS_HOST_BACKEND_ERROR

const isc::log::MessageID isc::radius::RADIUS_ACCESS_HOST_BACKEND_ERROR = "RADIUS_ACCESS_HOST_BACKEND_ERROR"
| extern

Definition at line 19 of file radius_messages.h.

Referenced by isc::radius::RadiusImpl::checkHostBackends().

## ◆ RADIUS_ACCESS_MAX_PENDING_REQUESTS

const isc::log::MessageID isc::radius::RADIUS_ACCESS_MAX_PENDING_REQUESTS = "RADIUS_ACCESS_MAX_PENDING_REQUESTS"
| extern

Definition at line 20 of file radius_messages.h.

## ◆ RADIUS_ACCESS_NO_HOST_CACHE

const isc::log::MessageID isc::radius::RADIUS_ACCESS_NO_HOST_CACHE = "RADIUS_ACCESS_NO_HOST_CACHE"
| extern

Definition at line 21 of file radius_messages.h.

Referenced by isc::radius::RadiusImpl::checkHostBackends(), and isc::radius::RadiusImpl::init().

## ◆ RADIUS_ACCESS_ORPHAN

const isc::log::MessageID isc::radius::RADIUS_ACCESS_ORPHAN = "RADIUS_ACCESS_ORPHAN"
| extern

Definition at line 22 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::terminate4Internal(), and isc::radius::RadiusAccess::terminate6Internal().

## ◆ RADIUS_ACCESS_RESUME_PARKED_QUERY

const isc::log::MessageID isc::radius::RADIUS_ACCESS_RESUME_PARKED_QUERY = "RADIUS_ACCESS_RESUME_PARKED_QUERY"
| extern

Definition at line 23 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::terminate4(), and isc::radius::RadiusAccess::terminate6().

## ◆ RADIUS_ACCESS_SUBNET_RESELECT

const isc::log::MessageID isc::radius::RADIUS_ACCESS_SUBNET_RESELECT = "RADIUS_ACCESS_SUBNET_RESELECT"
| extern

Definition at line 24 of file radius_messages.h.

## ◆ RADIUS_ACCESS_TERMINATE_ERROR

const isc::log::MessageID isc::radius::RADIUS_ACCESS_TERMINATE_ERROR = "RADIUS_ACCESS_TERMINATE_ERROR"
| extern

Definition at line 25 of file radius_messages.h.

Referenced by isc::radius::RadiusAccess::terminate4(), and isc::radius::RadiusAccess::terminate6().

## ◆ RADIUS_ACCOUNTING_ASYNC

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_ASYNC = "RADIUS_ACCOUNTING_ASYNC"
| extern

Definition at line 26 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAcct::start().

## ◆ RADIUS_ACCOUNTING_ASYNC_FAILED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_ASYNC_FAILED = "RADIUS_ACCOUNTING_ASYNC_FAILED"
| extern

Definition at line 27 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAcct::invokeCallback().

## ◆ RADIUS_ACCOUNTING_ASYNC_SUCCEED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_ASYNC_SUCCEED = "RADIUS_ACCOUNTING_ASYNC_SUCCEED"
| extern

Definition at line 28 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAcct::invokeCallback().

## ◆ RADIUS_ACCOUNTING_ERROR

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_ERROR = "RADIUS_ACCOUNTING_ERROR"
| extern

Definition at line 29 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::terminate().

## ◆ RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED = "RADIUS_ACCOUNTING_HISTORY_UPDATE_FAILED"
| extern

Definition at line 30 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::getCreateTimestamp().

## ◆ RADIUS_ACCOUNTING_NO_HISTORY

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_NO_HISTORY = "RADIUS_ACCOUNTING_NO_HISTORY"
| extern

Definition at line 31 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::getCreateTimestamp().

## ◆ RADIUS_ACCOUNTING_STATUS

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_STATUS = "RADIUS_ACCOUNTING_STATUS"
| extern

Definition at line 32 of file radius_messages.h.

Referenced by isc::radius::RadiusAcctStatus::start().

## ◆ RADIUS_ACCOUNTING_STATUS_ERROR

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_STATUS_ERROR = "RADIUS_ACCOUNTING_STATUS_ERROR"
| extern

Definition at line 33 of file radius_messages.h.

Referenced by isc::radius::RadiusAcctStatus::invokeCallback().

## ◆ RADIUS_ACCOUNTING_STATUS_FAILED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_STATUS_FAILED = "RADIUS_ACCOUNTING_STATUS_FAILED"
| extern

Definition at line 34 of file radius_messages.h.

Referenced by isc::radius::RadiusAcctStatus::invokeCallback().

## ◆ RADIUS_ACCOUNTING_STATUS_SUCCEED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_STATUS_SUCCEED = "RADIUS_ACCOUNTING_STATUS_SUCCEED"
| extern

Definition at line 35 of file radius_messages.h.

Referenced by isc::radius::RadiusAcctStatus::invokeCallback().

## ◆ RADIUS_ACCOUNTING_SYNC

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_SYNC = "RADIUS_ACCOUNTING_SYNC"
| extern

Definition at line 36 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAcct::start().

## ◆ RADIUS_ACCOUNTING_SYNC_FAILED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_SYNC_FAILED = "RADIUS_ACCOUNTING_SYNC_FAILED"
| extern

Definition at line 37 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAcct::start().

## ◆ RADIUS_ACCOUNTING_SYNC_SUCCEED

const isc::log::MessageID isc::radius::RADIUS_ACCOUNTING_SYNC_SUCCEED = "RADIUS_ACCOUNTING_SYNC_SUCCEED"
| extern

Definition at line 38 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAcct::start().

## ◆ RADIUS_AUTHENTICATION_ASYNC

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_ASYNC = "RADIUS_AUTHENTICATION_ASYNC"
| extern

Definition at line 39 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAuth::start().

## ◆ RADIUS_AUTHENTICATION_ASYNC_ACCEPTED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_ASYNC_ACCEPTED = "RADIUS_AUTHENTICATION_ASYNC_ACCEPTED"
| extern

Definition at line 40 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAuth::invokeCallback().

## ◆ RADIUS_AUTHENTICATION_ASYNC_FAILED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_ASYNC_FAILED = "RADIUS_AUTHENTICATION_ASYNC_FAILED"
| extern

Definition at line 41 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAuth::invokeCallback().

## ◆ RADIUS_AUTHENTICATION_ASYNC_REJECTED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_ASYNC_REJECTED = "RADIUS_AUTHENTICATION_ASYNC_REJECTED"
| extern

Definition at line 42 of file radius_messages.h.

Referenced by isc::radius::RadiusAsyncAuth::invokeCallback().

## ◆ RADIUS_AUTHENTICATION_STATUS

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_STATUS = "RADIUS_AUTHENTICATION_STATUS"
| extern

Definition at line 43 of file radius_messages.h.

Referenced by isc::radius::RadiusAuthStatus::start().

## ◆ RADIUS_AUTHENTICATION_STATUS_ERROR

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_STATUS_ERROR = "RADIUS_AUTHENTICATION_STATUS_ERROR"
| extern

Definition at line 44 of file radius_messages.h.

Referenced by isc::radius::RadiusAuthStatus::invokeCallback().

## ◆ RADIUS_AUTHENTICATION_STATUS_FAILED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_STATUS_FAILED = "RADIUS_AUTHENTICATION_STATUS_FAILED"
| extern

Definition at line 45 of file radius_messages.h.

Referenced by isc::radius::RadiusAuthStatus::invokeCallback().

## ◆ RADIUS_AUTHENTICATION_STATUS_SUCCEED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_STATUS_SUCCEED = "RADIUS_AUTHENTICATION_STATUS_SUCCEED"
| extern

Definition at line 46 of file radius_messages.h.

Referenced by isc::radius::RadiusAuthStatus::invokeCallback().

## ◆ RADIUS_AUTHENTICATION_SYNC

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_SYNC = "RADIUS_AUTHENTICATION_SYNC"
| extern

Definition at line 47 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAuth::start().

## ◆ RADIUS_AUTHENTICATION_SYNC_ACCEPTED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_SYNC_ACCEPTED = "RADIUS_AUTHENTICATION_SYNC_ACCEPTED"
| extern

Definition at line 48 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAuth::start().

## ◆ RADIUS_AUTHENTICATION_SYNC_FAILED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_SYNC_FAILED = "RADIUS_AUTHENTICATION_SYNC_FAILED"
| extern

Definition at line 49 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAuth::start().

## ◆ RADIUS_AUTHENTICATION_SYNC_REJECTED

const isc::log::MessageID isc::radius::RADIUS_AUTHENTICATION_SYNC_REJECTED = "RADIUS_AUTHENTICATION_SYNC_REJECTED"
| extern

Definition at line 50 of file radius_messages.h.

Referenced by isc::radius::RadiusSyncAuth::start().

## ◆ RADIUS_BACKEND_GET4

const isc::log::MessageID isc::radius::RADIUS_BACKEND_GET4 = "RADIUS_BACKEND_GET4"
| extern

Definition at line 51 of file radius_messages.h.

Referenced by isc::radius::RadiusBackendImpl::get4().

## ◆ RADIUS_BACKEND_GET6

const isc::log::MessageID isc::radius::RADIUS_BACKEND_GET6 = "RADIUS_BACKEND_GET6"
| extern

Definition at line 52 of file radius_messages.h.

Referenced by isc::radius::RadiusBackendImpl::get6().

## ◆ RADIUS_CLEANUP_EXCEPTION

const isc::log::MessageID isc::radius::RADIUS_CLEANUP_EXCEPTION = "RADIUS_CLEANUP_EXCEPTION"
| extern

Definition at line 53 of file radius_messages.h.

Referenced by isc::radius::RadiusImpl::~RadiusImpl().

## ◆ RADIUS_CONFIGURATION_FAILED

const isc::log::MessageID isc::radius::RADIUS_CONFIGURATION_FAILED = "RADIUS_CONFIGURATION_FAILED"
| extern

Definition at line 54 of file radius_messages.h.

Referenced by load().

## ◆ RADIUS_DBG_TRACE

const int isc::radius::RADIUS_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC

Radius logging levels.

Defines the levels used to output debug messages in Radius. Note that higher numbers equate to more verbose (and detailed) output.

Traces normal operations.

E.g. server communication etc.

Definition at line 26 of file radius_log.h.

Referenced by isc::radius::Message::decode(), isc::radius::Message::encode(), isc::radius::RadiusBackendImpl::get4(), isc::radius::RadiusBackendImpl::get6(), isc::radius::RadiusAccounting::getCreateTimestamp(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAcctStatus::invokeCallback(), isc::radius::RadiusAsyncAcct::invokeCallback(), isc::radius::RadiusAsyncAuth::invokeCallback(), isc::radius::RadiusAuthStatus::invokeCallback(), isc::radius::RadiusTlsStatus::invokeCallback(), isc::radius::UdpExchange::open(), isc::radius::Exchange::processResponse(), isc::radius::UdpExchange::receivedHandler(), isc::radius::TcpExchange::RequestHandler(), isc::radius::UdpExchange::sentHandler(), isc::radius::RadiusAcctStatus::start(), isc::radius::RadiusAsyncAcct::start(), isc::radius::RadiusAsyncAuth::start(), isc::radius::RadiusAuthStatus::start(), isc::radius::RadiusSyncAcct::start(), isc::radius::RadiusSyncAuth::start(), isc::radius::RadiusTlsStatus::start(), isc::radius::TcpExchange::start(), isc::radius::UdpExchange::start(), isc::radius::UdpExchange::terminate(), isc::radius::RadiusAccess::terminate4(), isc::radius::RadiusAccess::terminate4Internal(), isc::radius::RadiusAccess::terminate6(), and isc::radius::RadiusAccess::terminate6Internal().

## ◆ RADIUS_DECODE_MESSAGE

const isc::log::MessageID isc::radius::RADIUS_DECODE_MESSAGE = "RADIUS_DECODE_MESSAGE"
| extern

Definition at line 55 of file radius_messages.h.

Referenced by isc::radius::Message::decode().

## ◆ RADIUS_DEINIT_OK

const isc::log::MessageID isc::radius::RADIUS_DEINIT_OK = "RADIUS_DEINIT_OK"
| extern

Definition at line 56 of file radius_messages.h.

Referenced by unload().

## ◆ RADIUS_ENCODE_MESSAGE

const isc::log::MessageID isc::radius::RADIUS_ENCODE_MESSAGE = "RADIUS_ENCODE_MESSAGE"
| extern

Definition at line 57 of file radius_messages.h.

Referenced by isc::radius::Message::encode().

## ◆ RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT = "RADIUS_EXCHANGE_RECEIVED_ACCESS_ACCEPT"
| extern

Definition at line 58 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT = "RADIUS_EXCHANGE_RECEIVED_ACCESS_REJECT"
| extern

Definition at line 59 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_ACCOUNTING_RESPONSE"
| extern

Definition at line 60 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_BAD_RESPONSE"
| extern

Definition at line 61 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_EXCHANGE_RECEIVED_MISMATCH

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_MISMATCH = "RADIUS_EXCHANGE_RECEIVED_MISMATCH"
| extern

Definition at line 62 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_EXCHANGE_RECEIVED_RESPONSE

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_RESPONSE = "RADIUS_EXCHANGE_RECEIVED_RESPONSE"
| extern

Definition at line 63 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_EXCHANGE_RECEIVED_UNEXPECTED

const isc::log::MessageID isc::radius::RADIUS_EXCHANGE_RECEIVED_UNEXPECTED = "RADIUS_EXCHANGE_RECEIVED_UNEXPECTED"
| extern

Definition at line 64 of file radius_messages.h.

Referenced by isc::radius::Exchange::processResponse().

## ◆ RADIUS_HOOK_FAILED

const isc::log::MessageID isc::radius::RADIUS_HOOK_FAILED = "RADIUS_HOOK_FAILED"
| extern

Definition at line 65 of file radius_messages.h.

Referenced by command_processed(), lease4_decline(), lease4_expire(), lease4_release(), lease4_renew(), lease4_select(), lease6_decline(), lease6_expire(), lease6_rebind(), lease6_release(), lease6_renew(), and lease6_select().

## ◆ RADIUS_INIT_OK

const isc::log::MessageID isc::radius::RADIUS_INIT_OK = "RADIUS_INIT_OK"
| extern

Definition at line 66 of file radius_messages.h.

Referenced by load().

## ◆ RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED

const isc::log::MessageID isc::radius::RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_INTEGER_ATTRIBUTE_FROM_BYTES_FAILED"
| extern

Definition at line 67 of file radius_messages.h.

Referenced by isc::radius::AttrInt::fromBytes().

## ◆ RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED

const isc::log::MessageID isc::radius::RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_INTEGER_ATTRIBUTE_FROM_TEXT_FAILED"
| extern

Definition at line 68 of file radius_messages.h.

Referenced by isc::radius::AttrInt::fromText().

## ◆ RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED

const isc::log::MessageID isc::radius::RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPADDR_ATTRIBUTE_FROM_BYTES_FAILED"
| extern

Definition at line 69 of file radius_messages.h.

Referenced by isc::radius::AttrIpAddr::fromBytes().

## ◆ RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED

const isc::log::MessageID isc::radius::RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPADDR_ATTRIBUTE_FROM_TEXT_FAILED"
| extern

Definition at line 70 of file radius_messages.h.

Referenced by isc::radius::AttrIpAddr::fromText().

## ◆ RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED

const isc::log::MessageID isc::radius::RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_BYTES_FAILED"
| extern

Definition at line 71 of file radius_messages.h.

Referenced by isc::radius::AttrIpv6Addr::fromBytes().

## ◆ RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED

const isc::log::MessageID isc::radius::RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPV6ADDR_ATTRIBUTE_FROM_TEXT_FAILED"
| extern

Definition at line 72 of file radius_messages.h.

Referenced by isc::radius::AttrIpv6Addr::fromText().

## ◆ RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED

const isc::log::MessageID isc::radius::RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED = "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_BYTES_FAILED"
| extern

Definition at line 73 of file radius_messages.h.

Referenced by isc::radius::AttrIpv6Prefix::fromBytes().

## ◆ RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED

const isc::log::MessageID isc::radius::RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED = "RADIUS_IPV6PREFIX_ATTRIBUTE_FROM_TEXT_FAILED"
| extern

Definition at line 74 of file radius_messages.h.

Referenced by isc::radius::AttrIpv6Prefix::fromText().

## ◆ radius_logger

isc::log::Logger isc::radius::radius_logger | ( | "radius-hooks" |  | ) |

Radius Logger.

Define the logger used to log messages. We could define it in multiple modules, but defining in a single module and linking to it saves time and space.

Definition at line 35 of file radius_log.h.

Referenced by isc::radius::RadiusImpl::~RadiusImpl(), isc::radius::RadiusAccess::buildAuth(), isc::radius::RadiusAccess::buildAuth(), isc::radius::RadiusImpl::checkHostBackends(), isc::radius::UdpClient::checkPermissions(), command_processed(), isc::radius::Message::decode(), isc::radius::Message::encode(), isc::radius::RadiusAccounting::eraseCreateTimestamp(), isc::radius::AttrInt::fromBytes(), isc::radius::AttrIpAddr::fromBytes(), isc::radius::AttrIpv6Addr::fromBytes(), isc::radius::AttrIpv6Prefix::fromBytes(), isc::radius::AttrInt::fromText(), isc::radius::AttrIpAddr::fromText(), isc::radius::AttrIpv6Addr::fromText(), isc::radius::AttrIpv6Prefix::fromText(), isc::radius::RadiusBackendImpl::get4(), isc::radius::RadiusBackendImpl::get6(), isc::radius::RadiusAccounting::getCreateTimestamp(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAccess::getIdentifier(), isc::radius::RadiusAccounting::init(), isc::radius::RadiusImpl::init(), isc::radius::RadiusAcctStatus::invokeCallback(), isc::radius::RadiusAsyncAcct::invokeCallback(), isc::radius::RadiusAsyncAuth::invokeCallback(), isc::radius::RadiusAuthStatus::invokeCallback(), isc::radius::RadiusTlsStatus::invokeCallback(), lease4_decline(), lease4_expire(), lease4_release(), lease4_renew(), lease4_select(), lease6_decline(), lease6_expire(), lease6_rebind(), lease6_release(), lease6_renew(), lease6_select(), load(), isc::radius::RadiusAccounting::loadFromFile(), isc::radius::Exchange::logReplyMessages(), isc::radius::UdpExchange::open(), isc::radius::RadiusServerParser::parse(), isc::radius::UdpClient::pause(), isc::radius::Exchange::processResponse(), isc::radius::UdpExchange::receivedHandler(), isc::radius::TcpExchange::RequestHandler(), isc::radius::UdpClient::resume(), isc::radius::UdpExchange::sentHandler(), isc::radius::RadiusAcctStatus::start(), isc::radius::RadiusAsyncAcct::start(), isc::radius::RadiusAsyncAuth::start(), isc::radius::RadiusAuthStatus::start(), isc::radius::RadiusSyncAcct::start(), isc::radius::RadiusSyncAuth::start(), isc::radius::RadiusTlsStatus::start(), isc::radius::TcpExchange::start(), isc::radius::UdpClient::start(), isc::radius::UdpExchange::start(), isc::radius::RadiusAccounting::storeToFile(), isc::radius::RadiusAccounting::terminate(), isc::radius::UdpExchange::terminate(), isc::radius::RadiusAccess::terminate4(), isc::radius::RadiusAccess::terminate4Internal(), isc::radius::RadiusAccess::terminate6(), isc::radius::RadiusAccess::terminate6Internal(), isc::radius::UdpExchange::timeoutHandler(), and unload().

## ◆ RADIUS_PAUSE_FAILED

const isc::log::MessageID isc::radius::RADIUS_PAUSE_FAILED = "RADIUS_PAUSE_FAILED"
| extern

Definition at line 75 of file radius_messages.h.

Referenced by isc::radius::UdpClient::pause().

## ◆ RADIUS_PAUSE_ILLEGAL

const isc::log::MessageID isc::radius::RADIUS_PAUSE_ILLEGAL = "RADIUS_PAUSE_ILLEGAL"
| extern

Definition at line 76 of file radius_messages.h.

Referenced by isc::radius::UdpClient::checkPermissions().

## ◆ RADIUS_PAUSE_PERMISSIONS_FAILED

const isc::log::MessageID isc::radius::RADIUS_PAUSE_PERMISSIONS_FAILED = "RADIUS_PAUSE_PERMISSIONS_FAILED"
| extern

Definition at line 77 of file radius_messages.h.

Referenced by isc::radius::UdpClient::checkPermissions().

## ◆ RADIUS_REPLY_MESSAGE_ATTRIBUTE

const isc::log::MessageID isc::radius::RADIUS_REPLY_MESSAGE_ATTRIBUTE = "RADIUS_REPLY_MESSAGE_ATTRIBUTE"
| extern

Definition at line 78 of file radius_messages.h.

Referenced by isc::radius::Exchange::logReplyMessages().

## ◆ RADIUS_RESUME_FAILED

const isc::log::MessageID isc::radius::RADIUS_RESUME_FAILED = "RADIUS_RESUME_FAILED"
| extern

Definition at line 79 of file radius_messages.h.

Referenced by isc::radius::UdpClient::resume().

## ◆ RADIUS_SERVER_CONFIGURED

const isc::log::MessageID isc::radius::RADIUS_SERVER_CONFIGURED = "RADIUS_SERVER_CONFIGURED"
| extern

Definition at line 80 of file radius_messages.h.

Referenced by isc::radius::RadiusServerParser::parse().

## ◆ RADIUS_SESSION_HISTORY_APPEND_FAILED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_APPEND_FAILED = "RADIUS_SESSION_HISTORY_APPEND_FAILED"
| extern

Definition at line 81 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::eraseCreateTimestamp(), and isc::radius::RadiusAccounting::getCreateTimestamp().

## ◆ RADIUS_SESSION_HISTORY_LOAD_FAILED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_LOAD_FAILED = "RADIUS_SESSION_HISTORY_LOAD_FAILED"
| extern

Definition at line 83 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::loadFromFile().

## ◆ RADIUS_SESSION_HISTORY_LOADED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_LOADED = "RADIUS_SESSION_HISTORY_LOADED"
| extern

Definition at line 82 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::loadFromFile().

## ◆ RADIUS_SESSION_HISTORY_OPEN_FAILED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_OPEN_FAILED = "RADIUS_SESSION_HISTORY_OPEN_FAILED"
| extern

Definition at line 85 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::init().

## ◆ RADIUS_SESSION_HISTORY_OPENED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_OPENED = "RADIUS_SESSION_HISTORY_OPENED"
| extern

Definition at line 84 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::init().

## ◆ RADIUS_SESSION_HISTORY_STORE_FAILED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_STORE_FAILED = "RADIUS_SESSION_HISTORY_STORE_FAILED"
| extern

Definition at line 87 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::storeToFile().

## ◆ RADIUS_SESSION_HISTORY_STORED

const isc::log::MessageID isc::radius::RADIUS_SESSION_HISTORY_STORED = "RADIUS_SESSION_HISTORY_STORED"
| extern

Definition at line 86 of file radius_messages.h.

Referenced by isc::radius::RadiusAccounting::storeToFile().

## ◆ RADIUS_TCP_EXCHANGE_FAILURE

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_FAILURE = "RADIUS_TCP_EXCHANGE_FAILURE"
| extern

Definition at line 88 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::RequestHandler().

## ◆ RADIUS_TCP_EXCHANGE_RECEIVE_FAILED

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_RECEIVE_FAILED = "RADIUS_TCP_EXCHANGE_RECEIVE_FAILED"
| extern

Definition at line 90 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::RequestHandler().

## ◆ RADIUS_TCP_EXCHANGE_RECEIVED

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_RECEIVED = "RADIUS_TCP_EXCHANGE_RECEIVED"
| extern

Definition at line 89 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::RequestHandler().

## ◆ RADIUS_TCP_EXCHANGE_SEND

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_SEND = "RADIUS_TCP_EXCHANGE_SEND"
| extern

Definition at line 91 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::start().

## ◆ RADIUS_TCP_EXCHANGE_START

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_START = "RADIUS_TCP_EXCHANGE_START"
| extern

Definition at line 92 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::start().

## ◆ RADIUS_TCP_EXCHANGE_START_ERROR

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_START_ERROR = "RADIUS_TCP_EXCHANGE_START_ERROR"
| extern

Definition at line 93 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::start().

## ◆ RADIUS_TCP_EXCHANGE_SUCCESS

const isc::log::MessageID isc::radius::RADIUS_TCP_EXCHANGE_SUCCESS = "RADIUS_TCP_EXCHANGE_SUCCESS"
| extern

Definition at line 94 of file radius_messages.h.

Referenced by isc::radius::TcpExchange::RequestHandler().

## ◆ RADIUS_THREAD_POOL_STARTED

const isc::log::MessageID isc::radius::RADIUS_THREAD_POOL_STARTED = "RADIUS_THREAD_POOL_STARTED"
| extern

Definition at line 95 of file radius_messages.h.

Referenced by isc::radius::UdpClient::start().

## ◆ RADIUS_TLS_STATUS

const isc::log::MessageID isc::radius::RADIUS_TLS_STATUS = "RADIUS_TLS_STATUS"
| extern

Definition at line 96 of file radius_messages.h.

Referenced by isc::radius::RadiusTlsStatus::start().

## ◆ RADIUS_TLS_STATUS_ERROR

const isc::log::MessageID isc::radius::RADIUS_TLS_STATUS_ERROR = "RADIUS_TLS_STATUS_ERROR"
| extern

Definition at line 97 of file radius_messages.h.

Referenced by isc::radius::RadiusTlsStatus::invokeCallback().

## ◆ RADIUS_TLS_STATUS_FAILED

const isc::log::MessageID isc::radius::RADIUS_TLS_STATUS_FAILED = "RADIUS_TLS_STATUS_FAILED"
| extern

Definition at line 98 of file radius_messages.h.

Referenced by isc::radius::RadiusTlsStatus::invokeCallback().

## ◆ RADIUS_TLS_STATUS_SUCCEED

const isc::log::MessageID isc::radius::RADIUS_TLS_STATUS_SUCCEED = "RADIUS_TLS_STATUS_SUCCEED"
| extern

Definition at line 99 of file radius_messages.h.

Referenced by isc::radius::RadiusTlsStatus::invokeCallback().

## ◆ RADIUS_UDP_EXCHANGE_FAILED

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_FAILED = "RADIUS_UDP_EXCHANGE_FAILED"
| extern

Definition at line 100 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::terminate().

## ◆ RADIUS_UDP_EXCHANGE_OPEN_FAILED

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_OPEN_FAILED = "RADIUS_UDP_EXCHANGE_OPEN_FAILED"
| extern

Definition at line 101 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::open().

## ◆ RADIUS_UDP_EXCHANGE_RECEIVE_FAILED

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_RECEIVE_FAILED = "RADIUS_UDP_EXCHANGE_RECEIVE_FAILED"
| extern

Definition at line 103 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::receivedHandler().

## ◆ RADIUS_UDP_EXCHANGE_RECEIVED

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_RECEIVED = "RADIUS_UDP_EXCHANGE_RECEIVED"
| extern

Definition at line 102 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::receivedHandler().

## ◆ RADIUS_UDP_EXCHANGE_SEND_FAILED

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_SEND_FAILED = "RADIUS_UDP_EXCHANGE_SEND_FAILED"
| extern

Definition at line 104 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::sentHandler().

## ◆ RADIUS_UDP_EXCHANGE_SEND_NEW

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_SEND_NEW = "RADIUS_UDP_EXCHANGE_SEND_NEW"
| extern

Definition at line 105 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::open().

## ◆ RADIUS_UDP_EXCHANGE_SEND_RETRY

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_SEND_RETRY = "RADIUS_UDP_EXCHANGE_SEND_RETRY"
| extern

Definition at line 106 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::open().

## ◆ RADIUS_UDP_EXCHANGE_SENT

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_SENT = "RADIUS_UDP_EXCHANGE_SENT"
| extern

Definition at line 107 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::sentHandler().

## ◆ RADIUS_UDP_EXCHANGE_START

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_START = "RADIUS_UDP_EXCHANGE_START"
| extern

Definition at line 108 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::start().

## ◆ RADIUS_UDP_EXCHANGE_SYNC_RETURN

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_SYNC_RETURN = "RADIUS_UDP_EXCHANGE_SYNC_RETURN"
| extern

Definition at line 109 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::start().

## ◆ RADIUS_UDP_EXCHANGE_TERMINATE

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_TERMINATE = "RADIUS_UDP_EXCHANGE_TERMINATE"
| extern

Definition at line 110 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::terminate().

## ◆ RADIUS_UDP_EXCHANGE_TIMEOUT

const isc::log::MessageID isc::radius::RADIUS_UDP_EXCHANGE_TIMEOUT = "RADIUS_UDP_EXCHANGE_TIMEOUT"
| extern

Definition at line 111 of file radius_messages.h.

Referenced by isc::radius::UdpExchange::timeoutHandler().