A python radius implementation which supports Status-Server and Message-Authenticators
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
radius
tests/unit
.gitignore
.travis.yml
README.md
setup.py

README.md

Build Status

Python Radius is a pure python 2.7.x radius client which supports two important extension RFCs:

RFC2869 / 5.14 (http://www.ietf.org/rfc/rfc2869.txt)

The Message-Authenticator extension - authenticating a radius packet using an MD5 HMAC

and

RFC5997 (http://tools.ietf.org/html/rfc5997)

Use of Status-Server Packets in the Remote Authentication Dial In User Service (RADIUS) Protocol - checking a radius server is alive without generating spurious log entries.

Usage:

import radius

with radius.connect(('10.0.0.1', 1812), 'secret') as connection:
    print connection.ping()
    print connection.authenticate('username', 'password')