Password Authentication Protocol: Difference between revisions

Content deleted Content added
Added RFC 1334
Working cycle: Clarification
Line 4:
 
==Working cycle==
PAP authentication is only done at the time of the initial link establishment, and verifies the identity of the client using a [[Handshaking|two-way handshake]].
*Client sends username and password
 
*Server sends authentication-ack (if credentials are OK) or authentication-nak (otherwise)<ref name="Forouzan2007">{{cite book|author=Forouzan|title=Data Commn & Networking 4E Sie|url=https://books.google.com/books?id=6HaNKmfBK1oC&pg=PA352|accessdate=24 November 2012|year=2007|publisher=McGraw-Hill Education (India) Pvt Limited|isbn=978-0-07-063414-5|pages=352–}}</ref>
#Client sends username and password. This is sent repeatedly until a response is received from the server.
*#Server sends authentication-ack (if credentials are OK) or authentication-nak (otherwise)<ref name="Forouzan2007">{{cite book|author=Forouzan|title=Data Commn & Networking 4E Sie|url=https://books.google.com/books?id=6HaNKmfBK1oC&pg=PA352|accessdate=24 November 2012|year=2007|publisher=McGraw-Hill Education (India) Pvt Limited|isbn=978-0-07-063414-5|pages=352–}}</ref>
 
==PAP Packets==