<<

NAME

pf::radius::constants - Constants for RADIUS module and custom sub-modules

DESCRIPTION

This file is splitted by packages and refering to the constant requires you to specify the package.

FreeRADIUS

FreeRADIUS return codes

These constants were extracted from the FreeRADIUS' rlm_perl example.pl. Care should be taken to align with upstream since the code returned by our module will be interpreted by FreeRADIUS.

 RLM_MODULE_REJECT: immediately reject the request
 RLM_MODULE_FAIL: module failed, don't reply
 RLM_MODULE_OK: the module is OK, continue
 RLM_MODULE_HANDLED: the module handled the request, so stop.
 RLM_MODULE_INVALID: the module considers the request invalid.
 RLM_MODULE_USERLOCK: reject the request (user is locked out)
 RLM_MODULE_NOTFOUND: user not found
 RLM_MODULE_NOOP: module succeeded without doing anything
 RLM_MODULE_UPDATED: OK (pairs modified)
 RLM_MODULE_NUMCODES: How many return codes there are
FreeRADIUS log facility names

Same as src/include/radiusd.h

RADIUS Standard Values

A useful reference: http://www.iana.org/assignments/radius-types/radius-types.xml

RFC2868: RADIUS Attributes for Tunnel Protocol Support

http://www.ietf.org/rfc/rfc2868.txt

Tunnel Type

First defined in RFC2868 but further additions made in RFC3580: IEEE 802.1X Remote Authentication Dial In User Service (RADIUS)

http://tools.ietf.org/html/rfc3580

Only useful ones included from RFC.

Tunnel Medium Type

Only useful ones included from RFC.

IP or IPv4 are the same. Both assigned to 1.

Ethernet is actually called 802 in the standard and includes all 802 media plus Ethernet "canonical format".

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<