Where is the RADIUS protocol documented?
RADIUS is documented as a Proposed Standard in RFC 2058 and 2059, but those have three misprints: RADIUS uses UDP port 1645, not 1812, and RADIUS Accounting uses UDP port 1646, not 1813. In RFC 2058, the examples at the end do not include length when calculating the checksum, and should include it. These errors will be fixed in a forthcoming revision to the RFCs.