To resolve wireless local area network (LAN) security issues, the Institute of Electrical and Electronics Engineers (IEEE) 802 LAN/wide area network (WAN) committee developed the 802.1X protocol. Later, the 802.1X protocol was widely applied as a common access control mechanism on LAN interfaces for authentication and security on Ethernet networks.
The 802.1X protocol is an interface-based network access control protocol. It controls users' access to network resources by authenticating the users on access interfaces.
As shown in Figure 1, an 802.1X system uses a standard client/server architecture with three components: client, access device, and authentication server.
The device supports the following EAP protocols: EAP-TLS, EAP-TTLS, EAP-PAP, EAP-CHAP (EAP-MD5), and EAP-PEAP.
Figure 2 shows the 802.1X authentication process in EAP relay mode.
When a user needs to access an external network, the user starts the 802.1X client program, enters the applied and registered user name and password, and initiates a connection request. At this time, the client sends an authentication request packet to the device to start the authentication process.
After receiving the authentication request packet, the device sends a user name request packet, requesting the client to send the previously entered user name.
In response to the request sent by the device, the client sends the user name to the device.
The device sends the user name to the authentication server for processing.
After receiving the user name forwarded by the device, the authentication server verifies the user password.
After the password verification succeeds, the authentication server sends an authentication success packet to the access device.
After receiving the authentication success packet, the device sends a packet indicating that the authentication is successful to the client, changes the interface status to authorized, and allows the user to access the network through the interface.
If the user wants to go offline, the client sends a logoff packet to the device.
The access device changes the interface status from authorized to unauthorized. It sends an authentication failure packet to the client and concurrently deletes the user login information.
Steps 4 and 5 are different in the authentication processes in EAP termination and relay modes. In EAP termination mode, when sending the user name from the client to the authentication server, the access device randomly generates an MD5 challenge to the client. (In this mode, the MD5 challenge is not generated by the authentication server.) The access device then sends the user name, MD5 challenge, and encrypted password to the authentication server for processing.