Skip to content

wildchild/radius-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby RADIUS client

This is a basic RADIUS client with support for PAP authentication. This is experimental software. You may hurt yourself while using it.

Synopsys

dict = RADIUS::Dictionary.new
dict << RADIUS::Attribute.new("User-Name", 1, :string)
dict << RADIUS::Attribute.new("User-Password", 2, :string)
client = RADIUS::Client.new(dict, "0.0.0.0:1812")
pap = RADIUS::PAP.new("username", "password", "secret")
request = RADIUS::AccessRequest.new(dict, pap)
request.identifier = 1
response = client.send(request)

Contribution

Feel free to report issues and suggestions, patches are also welcome.

Credits

About

Ruby RADIUS client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages