PASSWORD AUTHENTICATION PROTOCOL

'Password Authentication Protocol', sometimes abbreviated 'PAP', is a simple authentication protocol used to authenticate a user to a network access server used for example by internet service providers. PAP is used by Point to Point Protocol. Authentication is a process of validating a user before accessing the resources. Almost all network operating system remote servers support PAP.
PAP transmits unencrypted ASCII passwords over the network and is therefore considered insecure. It is used as a last resort when the remote server does not support a stronger authentication protocol, like CHAP or
EAP (while the last is actually a framework).

Contents
Working cycle
PAP Packets
See also

Working cycle



★ Client sends username and password

★ Server sends authentication-ack (if credentials are OK) or authentication-nak (otherwise)

PAP Packets


Description1 byte1 byte2 bytes1 byteVariable1 byteVariable
Authentication-requestCode = 1IDLengthUsername lengthUsernamePassword lengthPassword
Authentication-ackCode = 2IDLengthMessage lengthUsername
Authentication-nakCode = 3IDLengthMessage lengthUsername

PAP packet embedded in a PPP frame. The protocol field has a value of
C023 (hex).
FlagAddressControlProtocol (C023 (hex))Payload (table above)FCSFlag

See also



★ CHAP - Challenge-handshake authentication protocol

★ EAP - Extensible Authentication Protocol

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves