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+.
NetworkingKept 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.
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."
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).
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.
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).
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.
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.
References
- RFC 2865, Remote Authentication Dial In User Service (RADIUS), June 2000: sections 3, 4.1, 5, 5.2, 5.3, 5.26, 5.44 and 7
- RFC Editor, errata for RFC 2865: verified errata 1469 and 6486 (two of the section 7 examples), erratum 9034 (held for document update: Message-Authenticator in Access-Request)
- IETF datatracker, draft-ietf-radext-deprecating-radius, Deprecating Insecure Practices in RADIUS: revision 10 of 2026-07-03, Active, WG Document, IESG state I-D Exists, no RFC number
- RFC 2866, RADIUS Accounting, June 2000: sections 3, 4.1 and 5.13
- RFC 2868, RADIUS Attributes for Tunnel Protocol Support, June 2000: sections 3.1 to 3.10 and 4
- RFC 2869, RADIUS Extensions, June 2000: sections 5.4, 5.8, 5.14, 5.15 and 5.19
- RFC 3162, RADIUS and IPv6, August 2001: sections 2.1 and 3
- RFC 3579, RADIUS Support For Extensible Authentication Protocol (EAP), September 2003: sections 3.1, 3.2, 3.3, 4.3.3 and 4.3.4
- RFC 3580, IEEE 802.1X Remote Authentication Dial In User Service (RADIUS) Usage Guidelines, September 2003: sections 3.20, 3.21 and 3.31
- RFC 5176, Dynamic Authorization Extensions to Remote Authentication Dial In User Service (RADIUS), January 2008: sections 2.3 and 7
- RFC 5997, Use of Status-Server Packets in the Remote Authentication Dial In User Service (RADIUS) Protocol, August 2010: sections 3, 5 and 6
- RFC Editor, errata for RFC 5997
- RFC 6929, Remote Authentication Dial In User Service (RADIUS) Protocol Extensions, April 2013: sections 2.1 to 2.8 and 9
- RFC 8044, Data Types in RADIUS, January 2017: section 3
- RFC 2548, Microsoft Vendor-specific RADIUS Attributes, March 1999: sections 2.1 to 2.7 and 4
- RFC 2759, Microsoft PPP CHAP Extensions, Version 2, January 2000: section 8.7
- RFC 5090, RADIUS Extension for Digest Authentication, February 2008: sections 3.1, 3.4, 3.19 and 8.2
- RFC 5904, RADIUS Attributes for IEEE 802.16 Privacy Key Management Version 1 (PKMv1) Protocol Support, June 2010: section 3.7
- RFC 3748, Extensible Authentication Protocol (EAP), June 2004: sections 4, 5.1 to 5.6, 7.6 and 7.14
- RFC 5952, A Recommendation for IPv6 Address Text Representation, August 2010: sections 4 and 5
- RFC 3629, UTF-8, a transformation format of ISO 10646, November 2003
- RFC 9765, RADIUS/1.1: Leveraging Application-Layer Protocol Negotiation (ALPN) to Remove MD5, April 2025 (Experimental): section 4.1
- RFC 8907, The Terminal Access Controller Access-Control System Plus (TACACS+) Protocol, September 2020: sections 1, 3.4, 4.1, 4.5, 6, 7 and 10.1
- RFC 9887, Terminal Access Controller Access-Control System Plus (TACACS+) over TLS 1.3, December 2025: sections 1 and 3
- RFC 6614, Transport Layer Security (TLS) Encryption for RADIUS, May 2012 (Experimental)
- IANA, RADIUS Types registry (last updated 2026-10-09): RADIUS Packet Type Codes, RADIUS Attribute Types with their data types, and the value sub-registries
- IANA, Extensible Authentication Protocol (EAP) Registry (last updated 2026-08-31): Packet Codes and Method Types
- IANA, Private Enterprise Numbers registry (last updated 2026-11-06)
- IANA, Service Name and Transport Protocol Port Number Registry
- IANA, Assigned Internet Protocol Numbers
- IANA, IEEE 802 Numbers: EtherTypes
- RFC 791, Internet Protocol, September 1981: section 3.1
- RFC 8200, Internet Protocol, Version 6 (IPv6) Specification, July 2017: section 3
- RFC 768, User Datagram Protocol, August 1980
- RFC 894, A Standard for the Transmission of IP Datagrams over Ethernet Networks, April 1984
- RFC 2464, Transmission of IPv6 Packets over Ethernet Networks, December 1998: section 3
- Wireshark, text2pcap(1) manual page, Text2pcap 4.6.9
- Cisco, Security Configuration Guide, Cisco IOS XE 17.18.x (Catalyst 9300 Switches): Configuring RADIUS
- Juniper Networks, User Access and Authentication Administration Guide (Junos OS): RADIUS Authentication, Juniper Networks Vendor-Specific RADIUS Attributes
- Arista Networks, EOS User Manual 4.36.2F: User Security
- HPE Aruba Networking, AOS-CX 10.16 Security Guide: Vendor-Specific Attributes in session authorization
- Extreme Networks, Switch Engine v33.7.1 User Guide: Supported RADIUS Attributes (Table 143) and Extreme Networks VSAs (Table 146)
- MikroTik, RouterOS manual 7.24: RADIUS, MikroTik Specific RADIUS Attribute Numeric Values
- Huawei, S5700 and S6700 V200R025C00 Configuration Guide - User Access and Authentication (EDOC1100514529): AAA Configuration, Understanding AAA, RADIUS AAA, Table 1-11 Huawei proprietary RADIUS attributes (read in a browser on 2026-11-08: the site refuses automated reads)
- RFC 3046, DHCP Relay Agent Information Option, January 2001: sections 2.0, 3.1 and 3.2
- Cisco, Compare TACACS + and RADIUS, tech note 13838, updated 30 June 2025 (read in a browser on 2026-11-08: the site refuses automated reads)
- RFC Editor, RFC index (XML): the current status of each RFC above
- RFC 3986, Uniform Resource Identifier (URI): Generic Syntax, January 2005: section 3.5