class-Radius

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
Overview

Classes

Interfaces

Exceptions

Functions

Class Radius

Methods summary
public
# __construct( $ip_radius_server = '127.0.0.1', $shared_secret = '', $radius_suffix = '', $udp_timeout = 5, $authentication_port = 1812, $accounting_port = 1813 )
public
public
public
public
public
public
public
# SetPacketCodeToSend( $packet_code )
public
# SetDebugMode( $debug_mode )
public
# SetIpRadiusServer( $ip_radius_server )
public
# SetSharedSecret( $shared_secret )
public
# SetRadiusSuffix( $radius_suffix )
public
# SetUsername( $username = '' )
public
# SetPassword( $password = '' )
public
# SetNasIPAddress( $nas_ip_address = '' )
public
# SetNasPort( $nas_port = 0 )
public
# SetUdpTimeout( $udp_timeout = 5 )
public
public
# SetAuthenticationPort( $authentication_port )
public
# SetAccountingPort( $accounting_port )
public
public
public
public
# GetAttribute( $attribute_type )
public
# GetRadiusPacketInfo( $info_index )
public
# GetAttributesInfo( $info_index )
public
# DebugInfo( $debug_info )
public
# SetAttribute( $type, $value )
public
# DecodeAttribute( $attribute_raw_value, $attribute_format )
public
# DecodeVendorSpecificContent( $vendor_specific_raw_value )
public
# AccessRequest( $username = '', $password = '', $udp_timeout = 0, $state = NULL )
Properties summary
public Radius $_ip_radius_server

server IP address

public Shared $_shared_secret

secret with the radius server

public Radius $_radius_suffix

suffix (default is '');

public Timeout $_udp_timeout

of the UDP connection in seconds (default value is 5)

public Authentication $_authentication_port

port (default value is 1812)

public Accouting $_accounting_port

port (default value is 1813)

public NAS $_nas_ip_address

IP address

public NAS $_nas_port

port

public Encrypted $_encrypted_password

password, as described in the RFC 2865

public Remote $_user_ip_address

IP address of the user

public Request-Authenticator, $_request_authenticator

16 octets random number

public Request-Authenticator, $_response_authenticator

16 octets random number

public Username $_username

to sent to the Radius server

public Password $_password

to sent to the Radius server (clear password, must be encrypted)

public Identifier $_identifier_to_send

field for the packet to be sent

public Identifier $_identifier_received

field for the received packet

public Radius $_radius_packet_to_send

packet code (1=Access-Request, 2=Access-Accept, 3=Access-Reject, 4=Accounting-Request, 5=Accounting-Response, 11=Access-Challenge, 12=Status-Server (experimental), 13=Status-Client (experimental), 255=Reserved

public Radius $_radius_packet_received

packet code (1=Access-Request, 2=Access-Accept, 3=Access-Reject, 4=Accounting-Request, 5=Accounting-Response, 11=Access-Challenge, 12=Status-Server (experimental), 13=Status-Client (experimental), 255=Reserved

public Radius $_attributes_to_send

attributes to send

public Radius $_attributes_received

attributes received

public Socket $_socket_to_server

connection

public Debug $_debug_mode

mode flag

public Attributes $_attributes_info

info array

public Radius $_radius_packet_info

packet codes info array

public Last $_last_error_code

error code

public Last $_last_error_message

error message

 

© 2004-2018 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy