radsniff(8)

radsniff8

Dump radius protocol

Usage

radsniff [-c count] [-d directory] [-F] [-f filter] [-h] [-i interface] [-I filename] [-m] [-p port] [-r requestfilter] [-R responsefilter] [-s secret] [-S] [-w file] [-x]

Overview

radsniff is a simple wrapper around libpcap. It can also print out the contents of RADIUS packets using the FreeRADIUS dictionaries.

Options

-c count

Number of packets to capture.

-d directory

Directory where the dictionaries are found.

-F

Filter PCAP file from stdin to stdout. Output file will contain RADIUS packets.

-f filter

PCAP filter. (default is udp port 1812 or 1813)

-h

Print usage help information.

-i interface

Interface to capture.

-I filename

Read packets from filename.

-m

Print packet headers only, not contents.

-p port

Listen for packets on port.

-r attribute-filter

RADIUS attribute request filter.

-R attribute-filter

RADIUS attribute response filter.

-s secret

RADIUS secret.

-S

Sort attributes in the packet. Used to compare server results.

-w file

Write output packets to file.

-x

Print out debugging information.

Releases

8 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7–8
  2. 9–10
  3. 11–Arch

-R since Debian 9 (Stretch).

Authors

Nicolas Baradakis <[email protected]>

From freeradius 3.2.10-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.