radtest

command
v9.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package main implements radtest, a simple RADIUS protocol testing client.

radtest provides three subcommands for testing RADIUS servers:

  • auth: Send Access-Request (authentication only)
  • acct: Send Accounting-Request (start/stop/interim)
  • flow: Complete authentication + accounting flow (auth → acct-start → acct-stop)

The tool outputs formatted RADIUS packet details using the same formatter as the server, making it ideal for debugging RADIUS protocol interactions.

Example usage:

radtest auth -username test1 -password 111111 -server 127.0.0.1
radtest acct -acct-type start -username test1 -session-id abc123
radtest flow -username test1 -password 111111 -flow-delay 2s

Protocol conformance:

  • RFC 2865: RADIUS authentication (Access-Request/Accept/Reject)
  • RFC 2866: RADIUS accounting (Accounting-Request/Response)

Jump to

Keyboard shortcuts

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