No release in over a year
These are a set of helpers to test Freeradius.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
 Project Readme

GovwifiEapoltest

This Gem is used to test FreeRADIUS installations

Usage

Initialize the test with\

eapol_test = GovwifiEapoltest.new(radius_ips: ["10.0.0.1", "10.0.0.2"], 
                                  secret: "mysecret")

And then to run a PEAP MSCHAP test run:

eapoltest.run_peap_mschapv2(server_cert_path: "/path/to/server/certificate.pem, 
                            username: "ABCDEF", 
                            password: "BearCatDuck",
                            tls_version: :tls1_2)

The output is an array with the contents of the output of the Eapol_test command run against each server.

Matchers

The gem also provides a set of RSpec matchers to facilitate testing.

expect(output).to use_tls_version_1_0
expect(output).to use_tls_version_1_1
expect(output).to use_tls_version_1_2
expect(output).to use_tls_version_1_3
expect(output).to have_been_successful
expect(output).to have_failed

The gem is available as open source under the terms of the MIT License.