Challenge-Handshake Authentication Protocol - Working Cycle

Working Cycle

CHAP is an authentication scheme used by Point to Point Protocol (PPP) servers to validate the identity of remote clients. CHAP periodically verifies the identity of the client by using a three-way handshake. This happens at the time of establishing the initial link (LCP), and may happen again at any time afterwards. The verification is based on a shared secret (such as the client user's password).

  1. After the completion of the link establishment phase, the authenticator sends a "challenge" message to the peer.
  2. The peer responds with a value calculated using a one-way hash function on the challenge and the secret combined.
  3. The authenticator checks the response against its own calculation of the expected hash value. If the values match, the authenticator acknowledges the authentication; otherwise it should terminate the connection.
  4. At random intervals the authenticator sends a new challenge to the peer and repeats steps 1 through 3.

Read more about this topic:  Challenge-Handshake Authentication Protocol

Famous quotes containing the words working and/or cycle:

    Simplicity of life, even the barest, is not a misery, but the very foundation of refinement; a sanded floor and whitewashed walls and the green trees, and flowery meads, and living waters outside; or a grimy palace amid the same with a regiment of housemaids always working to smear the dirt together so that it may be unnoticed; which, think you, is the most refined, the most fit for a gentleman of those two dwellings?
    William Morris (1834–1896)

    Only mediocrities progress. An artist revolves in a cycle of masterpieces, the first of which is no less perfect than the last.
    Oscar Wilde (1854–1900)