Module radius::core::rfc2869[][src]

Expand description

Utility for rfc2869 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 2869.
#    http://www.ietf.org/rfc/rfc2869.txt
#
#    $Id$
#
ATTRIBUTE    Acct-Input-Gigawords            52    integer
ATTRIBUTE    Acct-Output-Gigawords            53    integer

ATTRIBUTE    Event-Timestamp                55    date

ATTRIBUTE    ARAP-Password                70    octets[16]
ATTRIBUTE    ARAP-Features                71    octets[14]
ATTRIBUTE    ARAP-Zone-Access            72    integer
ATTRIBUTE    ARAP-Security                73    integer
ATTRIBUTE    ARAP-Security-Data            74    string
ATTRIBUTE    Password-Retry                75    integer
ATTRIBUTE    Prompt                    76    integer
ATTRIBUTE    Connect-Info                77    string
ATTRIBUTE    Configuration-Token            78    string
ATTRIBUTE    EAP-Message                79    octets    concat
ATTRIBUTE    Message-Authenticator            80    octets

ATTRIBUTE    ARAP-Challenge-Response            84    octets[8]
ATTRIBUTE    Acct-Interim-Interval            85    integer
# 86: RFC 2867
ATTRIBUTE    NAS-Port-Id                87    string
ATTRIBUTE    Framed-Pool                88    string

#    ARAP Zone Access

VALUE    ARAP-Zone-Access        Default-Zone        1
VALUE    ARAP-Zone-Access        Zone-Filter-Inclusive    2
VALUE    ARAP-Zone-Access        Zone-Filter-Exclusive    4

#    Prompt
VALUE    Prompt                No-Echo            0
VALUE    Prompt                Echo            1

Constants

ACCT_INPUT_GIGAWORDS_TYPE
ACCT_INTERIM_INTERVAL_TYPE
ACCT_OUTPUT_GIGAWORDS_TYPE
ARAP_CHALLENGE_RESPONSE_TYPE
ARAP_FEATURES_TYPE
ARAP_PASSWORD_TYPE
ARAP_SECURITY_DATA_TYPE
ARAP_SECURITY_TYPE
ARAP_ZONE_ACCESS_DEFAULT_ZONE
ARAP_ZONE_ACCESS_TYPE
ARAP_ZONE_ACCESS_ZONE_FILTER_EXCLUSIVE
ARAP_ZONE_ACCESS_ZONE_FILTER_INCLUSIVE
CONFIGURATION_TOKEN_TYPE
CONNECT_INFO_TYPE
EAP_MESSAGE_TYPE
EVENT_TIMESTAMP_TYPE
FRAMED_POOL_TYPE
MESSAGE_AUTHENTICATOR_TYPE
NAS_PORT_ID_TYPE
PASSWORD_RETRY_TYPE
PROMPT_ECHO
PROMPT_NO_ECHO
PROMPT_TYPE

Functions

add_acct_input_gigawords

Add acct_input_gigawords integer value to a packet.

add_acct_interim_interval

Add acct_interim_interval integer value to a packet.

add_acct_output_gigawords

Add acct_output_gigawords integer value to a packet.

add_arap_challenge_response

Add arap_challenge_response fixed-length octets value to a packet.

add_arap_features

Add arap_features fixed-length octets value to a packet.

add_arap_password

Add arap_password fixed-length octets value to a packet.

add_arap_security

Add arap_security integer value to a packet.

add_arap_security_data

Add arap_security_data string value to a packet.

add_arap_zone_access

Add arap_zone_access value-defined integer value to a packet.

add_configuration_token

Add configuration_token string value to a packet.

add_connect_info

Add connect_info string value to a packet.

add_eap_message
add_event_timestamp

Add event_timestamp date value to a packet.

add_framed_pool

Add framed_pool string value to a packet.

add_message_authenticator

Add message_authenticator octets value to a packet.

add_nas_port_id

Add nas_port_id string value to a packet.

add_password_retry

Add password_retry integer value to a packet.

add_prompt

Add prompt value-defined integer value to a packet.

delete_acct_input_gigawords

Delete all of acct_input_gigawords values from a packet.

delete_acct_interim_interval

Delete all of acct_interim_interval values from a packet.

delete_acct_output_gigawords

Delete all of acct_output_gigawords values from a packet.

delete_arap_challenge_response

Delete all of arap_challenge_response values from a packet.

delete_arap_features

Delete all of arap_features values from a packet.

delete_arap_password

Delete all of arap_password values from a packet.

delete_arap_security

Delete all of arap_security values from a packet.

delete_arap_security_data

Delete all of arap_security_data values from a packet.

delete_arap_zone_access

Delete all of arap_zone_access values from a packet.

delete_configuration_token

Delete all of configuration_token values from a packet.

delete_connect_info

Delete all of connect_info values from a packet.

delete_eap_message

Delete all of eap_message values from a packet.

delete_event_timestamp

Delete all of event_timestamp values from a packet.

delete_framed_pool

Delete all of framed_pool values from a packet.

delete_message_authenticator

Delete all of message_authenticator values from a packet.

delete_nas_port_id

Delete all of nas_port_id values from a packet.

delete_password_retry

Delete all of password_retry values from a packet.

delete_prompt

Delete all of prompt values from a packet.

lookup_acct_input_gigawords

Lookup a acct_input_gigawords integer value from a packet.

lookup_acct_interim_interval

Lookup a acct_interim_interval integer value from a packet.

lookup_acct_output_gigawords

Lookup a acct_output_gigawords integer value from a packet.

lookup_all_acct_input_gigawords

Lookup all of the acct_input_gigawords integer value from a packet.

lookup_all_acct_interim_interval

Lookup all of the acct_interim_interval integer value from a packet.

lookup_all_acct_output_gigawords

Lookup all of the acct_output_gigawords integer value from a packet.

lookup_all_arap_challenge_response

Lookup all of the arap_challenge_response fixed-length octets value from a packet.

lookup_all_arap_features

Lookup all of the arap_features fixed-length octets value from a packet.

lookup_all_arap_password

Lookup all of the arap_password fixed-length octets value from a packet.

lookup_all_arap_security

Lookup all of the arap_security integer value from a packet.

lookup_all_arap_security_data

Lookup all of the arap_security_data string value from a packet.

lookup_all_arap_zone_access

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

lookup_all_configuration_token

Lookup all of the configuration_token string value from a packet.

lookup_all_connect_info

Lookup all of the connect_info string value from a packet.

lookup_all_event_timestamp

Lookup all of the event_timestamp date value from a packet.

lookup_all_framed_pool

Lookup all of the framed_pool string value from a packet.

lookup_all_message_authenticator

Lookup all of the message_authenticator octets value from a packet.

lookup_all_nas_port_id

Lookup all of the nas_port_id string value from a packet.

lookup_all_password_retry

Lookup all of the password_retry integer value from a packet.

lookup_all_prompt

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

lookup_arap_challenge_response

Lookup a arap_challenge_response fixed-length octets value from a packet.

lookup_arap_features

Lookup a arap_features fixed-length octets value from a packet.

lookup_arap_password

Lookup a arap_password fixed-length octets value from a packet.

lookup_arap_security

Lookup a arap_security integer value from a packet.

lookup_arap_security_data

Lookup a arap_security_data string value from a packet.

lookup_arap_zone_access

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

lookup_configuration_token

Lookup a configuration_token string value from a packet.

lookup_connect_info

Lookup a connect_info string value from a packet.

lookup_eap_message
lookup_event_timestamp

Lookup a event_timestamp date value from a packet.

lookup_framed_pool

Lookup a framed_pool string value from a packet.

lookup_message_authenticator

Lookup a message_authenticator octets value from a packet.

lookup_nas_port_id

Lookup a nas_port_id string value from a packet.

lookup_password_retry

Lookup a password_retry integer value from a packet.

lookup_prompt

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

Type Definitions

ArapZoneAccess
Prompt