git: libradius(3): Sync with FreeBSD head.

Nuno Antunes nant at crater.dragonflybsd.org
Fri Jul 4 01:57:45 PDT 2014


commit 50beab2d46ff14aa2fffee24aa46160398a87f7c
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Fri Jul 4 06:59:13 2014 +0100

    libradius(3): Sync with FreeBSD head.
    
    Here is a summary of the changes.
    
    * Added rad_request_authenticator() which returns the Request-Authenticator
      relevant to the most recently received RADIUS response.
    
    * Added rad_server_secret() which returns the Shared Secret relevant to the
      most recently received RADIUS response.
    
    * Added rad_demangle() for demangling user-passwords (needed for 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.
    
    * Add simple embedded RADIUS server support to libradius, by extending existing
      API, keeping backward compatibility.
    
    * Add binding support.
    
    * Alphabetically sort MLINKS in the Makefile.
    
    * Various other bugfixes.
    
    Taken-from: FreeBSD (with small adjustments)

Summary of changes:
 gnu/usr.bin/groff/tmac/mdoc.local |   2 +-
 lib/libradius/Makefile            |  52 ++-
 lib/libradius/libradius.3         | 316 ++++++++++----
 lib/libradius/radius.conf.5       |  62 ++-
 lib/libradius/radlib.c            | 864 ++++++++++++++++++++++++++++++++------
 lib/libradius/radlib.h            |  41 +-
 lib/libradius/radlib_private.h    |  27 +-
 lib/libradius/radlib_vs.h         |  18 +-
 8 files changed, 1125 insertions(+), 257 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50beab2d46ff14aa2fffee24aa46160398a87f7c


-- 
DragonFly BSD source repository



More information about the Commits mailing list