Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Ppp pap and chap certification

Shulou Source: shulou.com Published: 2022-06-01 08:45:03 10月30日 Update

Principle topology diagram

[experimental equipment]

2 routers (with serial port)

V.35 cable (DTE/DCE) 1 pair

[experimental principle]

PPP protocol is located in the data link layer of OSI seven-layer model. PPP protocol is divided into two sublayers according to its function: LCP,

NCP . LCP is mainly responsible for link negotiation, establishment, callback, authentication, data compression, multi-link bundling and other functions.

NCP is mainly responsible for negotiating with the upper layer protocols and providing services for the network layer protocols.

The authentication function of PPP refers to the authentication of passwords in the process of establishing a PPP link.

Verify that the link is not removed.

CHAP (Challenge Handshake Authentication Protocol, Challenge handshake Verification Protocol) refers to

Both parties complete the verification process through a three-way handshake, which is safer than PAP. The verifier shall take the initiative to send a challenge message, and the challenge message shall be sent by the authenticator.

The verifier responds. Throughout the verification process, the information transmitted on the link is encrypted.

The purpose of this experiment is to authenticate R1 with pap, R2 with chap.

The test steps are as follows:

This will be ok.

Tags: Authentication link authentication function process principle data negotiation experiment test initiative security upper layer two serial port information both sides experimental equipment password message Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Huawei MariaDB OPPO Reno Microsoft