DEV Community

moznion
moznion

Posted on

2

Released radius-rs: an async/await native RADIUS implementation for Rust

I've published an implementation of the RADIUS server and client for Rust.

GitHub logo moznion / radius-rs

An async/await native implementation of the RADIUS server and client for Rust.

And this is also available on crates.io: https://crates.io/crates/radius

RADIUS is one of the major protocols for AAA (Authentication, Authorization and Accounting). According to the Wikipedia article:

Remote Authentication Dial-In User Service (RADIUS) is a networking protocol, operating on ports 1812 and 1813, that provides centralized Authentication, Authorization, and Accounting (AAA or Triple A) management for users who connect and use a network service.

This library aims to provide the functions of that protocol for Rust programming language.

The feature of this implementation is async/await native functions powered by tokio.
And this implementation and design is based on layeh/radius, this is a RADIUS implementation for golang, so it can generate the Rust code to make the RADIUS applications by giving the dictionary files of FreeRADIUS.

A simple example for the server and client is here:

Please use this library when you implement the RADIUS application in Rust!
And if you have some troubles, questions and etc on this library, please feel free to open an issue.

Enjoy!

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay