radiusd

command module
v0.0.0-...-46a5f05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: BSD-2-Clause Imports: 15 Imported by: 0

README

Buy me a coffee

Radius Server.

Distributed Radius-server to do authentication+accounting.

Some of the motivations for writing this server:

  • Wanted 5min interval graphs of traffic usage
  • FreeRADIUS felt overly complex/forced me into a SQL structure I didn't like
  • Loved a good challenge

Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Implemented RFCs:

This daemon uses MariaDB/MySQL to store it's data and the SQL-file can be found in the /db dir.

ERD

Why is it distributed?

Because if MySQL is replicated this daemon shares it state with other radiusd-instances (as everything is administrated in MySQL)

To protect yourself against racing conditions between nodes it's adviced to use a replication method like Galera Cluster.

Run test/test.sh

radclient is part of the freeradius project

brew install freeradius-server

Production?

No, still testing.

RadiusD is only being tested against Mikrotik their RouterOS.

Used resources

Documentation

Overview

Control offers an HTTP JSON API.

http://golang.org/src/net/http/server.go?m=text

Directories

Path Synopsis
Queue metrics for 5min so we send less data to the DB and lower load/change of racing conditions.
Queue metrics for 5min so we send less data to the DB and lower load/change of racing conditions.
Packet to interpret the bits https://tools.ietf.org/html/rfc2865 https://tools.ietf.org/html/rfc2866
Packet to interpret the bits https://tools.ietf.org/html/rfc2865 https://tools.ietf.org/html/rfc2866
mschap
MPPE to support encryption with MSCHAPv1
MPPE to support encryption with MSCHAPv1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL