RADIUS Client Troubleshooting

Only a few parameters are required by a RADIUS client when communicating with its server. If everything isn't perfect the response packets will not be sent and the stony silence of a server is no help in determining the problem. The most common problems are found in client and server configuration.

Basic checklist:

Attributes required for authentication:

User-Name, User-Password, NAS-IP-Address or NAS-Identifier.
Other attributes may also be required for specific types of authentication (especially if you’re emulating a piece of hardware for, lets say, a PPP connection) but in general you should see a rejection if such attributes are missing. Of course, there are no guarantees this will be the case with any particular server.

A word about UDP vs. TCP:

RADIUS packets are sent using UDP/IP. This is very different from TCP/IP. Under TCP a reliable connection is established between client and server (e.g. HTTP, FTP, telnet). By reliable it’s meant that a firm connection is established between the systems and the packets will automatically be resent in case of minor delivery failures.

A UDP request packet, on the other hand, is not reliable, and is manually resent if it fails to reach its destination. Detecting this problem is also manual, and relies on simply waiting too long for a response.

To complicate matters, the server may receive the packet and elect not to respond to it if its contents are unacceptable. This is done in the name of security so a cracker can’t gain information from a rejected packet. Nor can you, the legitimate tester. When the server drops packets, it looks just like a response timed out.