RADIUS packet decoder

Paste the hex of a RADIUS (Remote Authentication Dial-In User Service) packet as a capture shows it and read its Code, Identifier, Length and Authenticator and every attribute in its data type, named from IANA's registries, with vendor attributes, EAP and VLAN assignment explained; hidden passwords are explained, never decrypted, and a short comparison sets RADIUS beside TACACS+.

Networking

Kept in this browser · My desk

Plain hex, bytes separated by spaces, colons, hyphens or dots, 0x prefixes, or a hex dump with offsets as Wireshark copies it (the ASCII column is ignored). Copy the RADIUS layer, not the whole frame: a pasted Ethernet frame or IP packet is recognized and refused with the octet where RADIUS starts.

Decoded in your browser: nothing is sent anywhere, and no shared secret is ever asked for.

Paste a packet, press Example, or pick one of the RFCs' own packets above.

RADIUS and TACACS+ side by side

What the two protocols' own documents say, as chapter 4.6 of the course presents them: RADIUS for network access, TACACS+ for device administration.

Transport and ports

RADIUS: UDP: port 1812 for authentication (RFC 2865, section 3), 1813 for accounting (RFC 2866, section 3) and 3799 for Disconnect and CoA requests (RFC 5176, section 2.3).

TACACS+: TCP: server port 49 (RFC 8907, section 3.4). Cisco's tech note 13838 draws the same line: "RADIUS uses UDP while TACACS+ uses TCP."

What is protected

RADIUS: Only the hidden attributes: User-Password and Tunnel-Password are XORed with MD5 of the shared secret (RFC 2865, section 5.2; RFC 2868, section 3.5), and the Authenticators and Message-Authenticator authenticate the packet (RFC 2865, section 3; RFC 3579, section 3.2). Every other attribute is sent as it is, which is why this decoder reads it without the secret; Cisco's tech note 13838 says the same of the Access-Request: "The remainder of the packet is unencrypted."

TACACS+: The whole body, XORed with an MD5 pad built from the shared secret; the 12-byte header is not (Cisco's tech note 13838: TACACS+ "leaves a standard TACACS+ header"). Where Cisco says the body is encrypted, RFC 8907 calls it obfuscation, not encryption: it provides "no meaningful integrity, privacy, or replay protection" (sections 4.5 and 10.1).

Authentication, authorization, accounting

RADIUS: Authentication and authorization in one exchange: the server authenticates the user and returns "all configuration information necessary for the client to deliver service" (RFC 2865, section 1); accounting is separate, on its own port (RFC 2866). Cisco's tech note 13838 puts it as "RADIUS combines authentication and authorization."

TACACS+: Three separate exchanges, "essentially ... a suite of three protocols", which allows authorization and accounting "of individual commands in a session" (RFC 8907, section 1); in Cisco's tech note 13838, TACACS+ separates authentication, authorization and accounting.

Typical use

RADIUS: Network access: a Network Access Server (NAS), such as a switch port or an access point, admits a user or a device (RFC 2865, section 1); 802.1X carries EAP inside RADIUS (RFC 3579; RFC 3580).

TACACS+: Device administration: "authenticating access to network devices, providing central authorization of operations, and auditing of those operations" (RFC 8907, section 1).

Over TLS

RADIUS: RADIUS over TLS on TCP 2083 (RFC 6614, Experimental); RADIUS/1.1 drops the MD5 methods over TLS (RFC 9765, Experimental).

TACACS+: TACACS+ over TLS 1.3 on TCP 300 (RFC 9887, Proposed Standard, December 2025), which makes the obfuscation obsolete.

Status of the specification

RADIUS: RFC 2865 is a Draft Standard; RFC 2866 (accounting) is Informational.

TACACS+: RFC 8907 (September 2020) is Informational: it documents the protocol as deployed.

From RFC 2865, 2866, 2868, 3579, 3580, 5176, 6614, 8907, 9765 and 9887, the RFC Editor's index and IANA's port registry, read on 8 November 2026, and Cisco's tech note 13838, Compare TACACS + and RADIUS (updated 30 June 2025), read in a browser on 8 November 2026 because the site refuses automated reads.

API endpointGEThttps://ronutz.com/api/v1/radius-packet-decoderDocumented, not served. Opens the specification.

References