3. 3 Way Handshake
Peer
Authenticator
1. Sends Challenge Message
2. Peer Sends value calculated using one way Hash
Function
3 .The authenticator checks the response against
its own calculation of the expected hash value.
If the values match, the authentication is acknowledged;
otherwise the connection SHOULD be terminated.
4. Perform Step 1 to 3 at Random Interval
http://www.youtube.com/zarigatongy
4. Packet Format
Exactly
one
Challenge-Handshake
Authentication Protocol packet is encapsulated
in the Information field of a PPP Data Link Layer
frame where the protocol field indicates type
hex c223 (Challenge-Handshake Authentication
Protocol)
http://www.youtube.com/zarigatongy
5. Packet Format :: Code
The Code field is one octet and identifies the
type of CHAP packet
challenge
Response Success
Failure
http://www.youtube.com/zarigatongy
6. Packet Format :: Identifier
Used in Matching Challenges and Responses
http://www.youtube.com/zarigatongy
10. More Protocol Tutorials
•
•
•
•
•
•
•
•
SSL Protocol Click here
DHCPv6 Protocol Click Here
CHAP Protocol Click Here
ISCSI Protocol Tutorial Click Here
BGP Tutorial Click Here
RADIUS Protocol Click Here
PPP Protocol Click Here
PPPoE Protocol Click Here
http://youtube.com/zarigatongy