Skip to content

peppelinux/pyRadtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyRadtest

A Pure Python implementation of a Radius authentication client

It doesn't need any dependencies to work, the only thing needed is python. A very special thanks goes also to Sergej Srepfler sergej.srepfler@gmail.com for libRadius lib, this client is based on it.

To use pyRadtest you should simply download this repository and then run in its directory:

Usage: python pyRadtest.py -u UserLogin -p UserPassword -s ServerSecret

optional arguments:
  -h, --help            show this help message and exit
  -u U                  radius radcheck username
  -p P                  radius radcheck password
  -s S                  radius client secret
  -host HOST            radius server ip
  -port PORT            radius server port
  -f [F]                file path where dictRadius is
  -calling_id CALLING_ID
                        Calling-Station-Id
  -called_id CALLED_ID  Called-Station-Id
  -m M                  Message size. Default 4KB
  -t T                  Timeout. Default 15 secs
  -nas_port NAS_PORT    NAS port. Default 6000
  -nas_port_type NAS_PORT_TYPE
                        NAS port type. Default 5
  -nas_identifier NAS_IDENTIFIER
                        NAS-Identifier

About

A pure Python implementation of Radius auth client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages