Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Challenge-Handshake Authentication Protocol
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==CHAP packets== {| class="wikitable" !Description !1 byte !1 byte !2 bytes !1 byte !Variable !Variable |- |Challenge |Code = 1 |ID |Length |Challenge length |Challenge value |Name |- |Response |Code = 2 |ID |Length |Response length |Response value |Name |- |Success |Code = 3 |ID |Length | |Message | |- |Failure |Code = 4 |ID |Length | |Message | |} The ID chosen for the random challenge is also used in the corresponding response, success, and failure packets. A new challenge with a new ID must be different from the last challenge with another ID. If the success or failure is lost, the same response can be sent again, and it triggers the same success or failure indication. For [[MD5]] as hash the response value is <code>MD5(ID||secret||challenge)</code>, the MD5 for the concatenation of ID, secret, and challenge.<ref>{{cite web |url=http://www.cisco.com/en/US/tech/tk713/tk507/technologies_tech_note09186a00800b4131.shtml |title=Understanding and Configuring PPP CHAP Authentication |publisher=[[Cisco Systems|Cisco tech note]] |year=2005 |access-date=2011-08-14}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)