Module radius::core::rfc3576[][src]

Utility for rfc3576 packet.

This module handles the packet according to the following definition:

//! # -*- text -*-
# Copyright (C) 2020 The FreeRADIUS Server project and contributors
# This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0
# Version $Id$
#
#	Attributes and values defined in RFC 3576.
#	http://www.ietf.org/rfc/rfc3576.txt
#
#	$Id$
#
ATTRIBUTE	Error-Cause				101	integer

#	Service Types

VALUE	Service-Type			Authorize-Only		17

#	Error causes

VALUE	Error-Cause			Residual-Context-Removed	201
VALUE	Error-Cause			Invalid-EAP-Packet	202
VALUE	Error-Cause			Unsupported-Attribute	401
VALUE	Error-Cause			Missing-Attribute	402
VALUE	Error-Cause			NAS-Identification-Mismatch	403
VALUE	Error-Cause			Invalid-Request		404
VALUE	Error-Cause			Unsupported-Service	405
VALUE	Error-Cause			Unsupported-Extension	406
VALUE	Error-Cause			Administratively-Prohibited	501
VALUE	Error-Cause			Proxy-Request-Not-Routable	502
VALUE	Error-Cause			Session-Context-Not-Found	503
VALUE	Error-Cause			Session-Context-Not-Removable	504
VALUE	Error-Cause			Proxy-Processing-Error	505
VALUE	Error-Cause			Resources-Unavailable	506
VALUE	Error-Cause			Request-Initiated	507

Constants

ERROR_CAUSE_ADMINISTRATIVELY_PROHIBITED
ERROR_CAUSE_INVALID_EAP_PACKET
ERROR_CAUSE_INVALID_REQUEST
ERROR_CAUSE_MISSING_ATTRIBUTE
ERROR_CAUSE_NAS_IDENTIFICATION_MISMATCH
ERROR_CAUSE_PROXY_PROCESSING_ERROR
ERROR_CAUSE_PROXY_REQUEST_NOT_ROUTABLE
ERROR_CAUSE_REQUEST_INITIATED
ERROR_CAUSE_RESIDUAL_CONTEXT_REMOVED
ERROR_CAUSE_RESOURCES_UNAVAILABLE
ERROR_CAUSE_SESSION_CONTEXT_NOT_FOUND
ERROR_CAUSE_SESSION_CONTEXT_NOT_REMOVABLE
ERROR_CAUSE_TYPE
ERROR_CAUSE_UNSUPPORTED_ATTRIBUTE
ERROR_CAUSE_UNSUPPORTED_EXTENSION
ERROR_CAUSE_UNSUPPORTED_SERVICE
SERVICE_TYPE_AUTHORIZE_ONLY

Functions

add_error_cause

Add error_cause value-defined integer value to a packet.

delete_error_cause

Delete all of error_cause values from a packet.

lookup_all_error_cause

Lookup all of the error_cause value-defined integer value from a packet.

lookup_error_cause

Lookup a error_cause value-defined integer value from a packet.

Type Definitions

ErrorCause