summaryrefslogtreecommitdiff
path: root/lib/libradius/radlib.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326219
* The NAS-Identifier attribute is a string, not an integer.Dag-Erling Smørgrav2016-05-241-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=300602
* - Rewrite radius servers traversal algorithm.Sergey Matveychuk2012-12-061-0/+5
| | | | | | | | | - Add functions for working with IPv6 attributes. Approved by: ae Notes: svn path=/head/; revision=243956
* Add binding support to libradius(3).Alexander V. Chernikov2011-12-201-0/+1
| | | | | | | | | Submitted by: Sergey Matveychuk <sem33@yandex-team.ru> Approved by: ae (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=228730
* Add simple embedded RADIUS server support to libradius, by extending existingAlexander Motin2009-09-111-0/+12
| | | | | | | | | | | | API, keeping backward compatibility. First consumer for this functionality is going to become forthcoming MPD-5.4, supporting CoA and DR of RFC 3576: Dynamic Authorization Extensions to RADIUS. MFC after: 1 month Notes: svn path=/head/; revision=197086
* - Added rad_demangle() for demangling user-passwords (needed forRuslan Ermilov2004-04-271-0/+14
| | | | | | | | | | | | | | | | | | | | | | | MS-CHAPv1 MPPE-keys). - Added rad_demangle_mppe_key() for demangling mppe-keys (needed for MPPE-keys). - Added some typecasts for avoiding compiler warnings. - Fix: better handle wrong usage of the lib (if the programmer has not called rad_create_request() but rad_put_*(), then a weird error message was returned). - Added a new function for putting the Message-Authenticator. - Verify the Message-Authenticator, if it was found inside a response packet and silently drop the packet, if the validation failed. - Implicitly put the Message-Authenticator, if the EAP-Message attribute was added. - Added some missing defines. Submitted by: Michael Bretterklieber PR: 46555 Notes: svn path=/head/; revision=128684
* Add IPv6 related attributes defined in RFC3162.Hajimu UMEMOTO2003-06-181-0/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=116544
* Add the following functions:Brian Somers2002-06-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | rad_request_authenticator() Returns the Request-Authenticator relevant to the most recently received RADIUS response. rad_server_secret() Returns the Shared Secret relevant to the most recently received RADIUS response. Neither of these functions should be necessary, however, the MS-MPPE-Recv-Key and MS-MPPE-Send-Key Microsoft Vendor Specific attributes are supplied in a mangled (encrypted) format, requiring this information to demangle. It's not clear whether these functions should be replaced with a rad_demangle() function or whether these attributes are one-offs. Sponsored by: Monzoon Notes: svn path=/head/; revision=98131
* Mention the other RAS_PORT_TYPEs from rfc2865Brian Somers2002-05-111-0/+14
| | | | | | | Suggested by: "lsz8425" <lsz8425@mail.cd.hn.cn> Notes: svn path=/head/; revision=96377
* Add support for RADIUS accounting. Note, this changes the formatJohn Polstra1999-10-311-1/+54
| | | | | | | | | | | | | | of the /etc/radius.conf file. But the code contains hacks for backward compatibility, so old files will continue to work. I updated the man pages and made a couple of minor changes, but everything else was submitted by Oleg. PR: misc/14284 Submitted by: Oleg Semyonov <os@altavista.net> Notes: svn path=/head/; revision=52709
* Allow an alternate to rad_send_request() for programs thatBrian Somers1999-02-051-0/+5
| | | | | | | | don't wish to wait for the RADIUS server to respond. Reviewed by: jdp Notes: svn path=/head/; revision=43662
* Initial import of RADIUS client library donated by Juniper Networks, Inc.John Polstra1998-11-131-0/+125
Notes: svn path=/cvs2svn/branches/JUNIPER/; revision=41118