freeradius

package
v8.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

README

freeRADIUS integration

freeradius-toughradius

TOUGHRADIUS integrates the FreeRADIUS API interface, extending its already comprehensive authentication capabilities and providing even more robust solutions to its clients. Our integration of the FreeRADIUS API allows for seamless integration with existing network infrastructures and enables us to offer a wider range of authentication options to meet the unique needs of our clients. Whether you require support for 802.1X, Wi-Fi, VPN, or other network access protocols, TOUGHRADIUS has you covered. With our advanced authentication capabilities and integration with FreeRADIUS, our clients can enjoy a secure, reliable, and efficient network management experience.

  • FreeRadius enables the REST Module to interface with ToughRadius and uses HTTP parameters to pass user information
  • Freeradius acts as the core of the RADIUS protocol processing
  • Toughradius acts as a function for user management, billing, device management, device configuration management, and more
  • Toughradius starts an HTTP server that listens for Freeradius requests and handles user authentication, billing, device management, and more

Please refer to Freeradius Official Documentation

FreeRadius configuration case

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchClearRadiusOnlineDataByNas

func BatchClearRadiusOnlineDataByNas(nasip, nasid string) error

func Listen

func Listen() error

Types

type FreeradiusServer

type FreeradiusServer struct {
	// contains filtered or unexported fields
}

func NewFreeRADIUSServer

func NewFreeRADIUSServer() *FreeradiusServer

func (*FreeradiusServer) FreeradiusAccounting

func (s *FreeradiusServer) FreeradiusAccounting(c echo.Context) error

FreeradiusAccounting Accounting processing

func (*FreeradiusServer) FreeradiusAuthenticate

func (s *FreeradiusServer) FreeradiusAuthenticate(c echo.Context) error

FreeradiusAuthenticate Authenticate processing

#  FreeradiusAuthorize/FreeradiusAuthenticate
#
#  Code   Meaning       Process body  Module code
#  404    not found     no            notfound
#  410    gone          no            notfound
#  403    forbidden     no            userlock
#  401    unauthorized  yes           reject
#  204    no content    no            ok
#  2xx    successful    yes           ok/updated
#  5xx    server error  no            fail
#  xxx    -             no            invalid

func (*FreeradiusServer) FreeradiusAuthorize

func (s *FreeradiusServer) FreeradiusAuthorize(c echo.Context) error

FreeradiusAuthorize Authorize processing, if the user exists, the password response is sent back for further verification.

#  FreeradiusAuthorize/FreeradiusAuthenticate
#
#  Code   Meaning       Process body  Module code
#  404    not found     no            notfound
#  410    gone          no            notfound
#  403    forbidden     no            userlock
#  401    unauthorized  yes           reject
#  204    no content    no            ok
#  2xx    successful    yes           ok/updated
#  5xx    server error  no            fail
#  xxx    -             no            invalid

func (*FreeradiusServer) FreeradiusPostauth

func (s *FreeradiusServer) FreeradiusPostauth(c echo.Context) error

FreeradiusPostauth Postauth processing

func (*FreeradiusServer) Start

func (s *FreeradiusServer) Start() error

Start 启动服务器

Jump to

Keyboard shortcuts

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