pf::radius::constants - Constants for RADIUS module and custom sub-modules
This file is splitted by packages and refering to the constant requires you to specify the package.
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
Same as src/include/radiusd.h
A useful reference: http://www.iana.org/assignments/radius-types/radius-types.xml
http://www.ietf.org/rfc/rfc2868.txt
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.
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".
Inverse inc. <info@inverse.ca>
Copyright (C) 2005-2015 Inverse inc.
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.