PAP and CHAP authentication

Source: Internet
Author: User

Experiment Name: PPP PAP (CHAP) authentication

Experimental Purpose: Mastering the process and configuration of PPP PAP (CHAP) authentication

PPP protocol is located at the data link layer of the OSI seven layer model, and the PPP protocol is divided into two sub-layers according to function: LCP,
NCP. LCP is primarily responsible for chain

Road negotiation, establishment, callback, authentication, data compression, multi-link bundling and other functions.
NCP is primarily responsible for negotiating with upper-level protocols to provide services for network-layer protocols.
PPP is to verify the password during the establishment of the PPP link, verify the connection by establishing
verify not by removing the link.
PPP protocol supports two authentication methods, PAP and CHAP. PAP (Password authentication protocol,
password Authentication protocol) refers to verifying that both parties complete the verification process through two handshakes, It is a method for authenticating users who are trying to log on to the point on the
dot protocol server. The authentication request is initiated by the authenticated party and contains the validated
username and password. A reply is made after validation by the verifier, either through validation or validation failure. During the authentication process, the user name and the secret

Specific implementation code:

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/DA/wKiom1g9PGjwhn5gAABUle3ZcJ8374.png-wh_500x0-wm_3 -wmp_4-s_3338480092.png "title=" code. png "alt=" wkiom1g9pgjwhn5gaabule3zcj8374.png-wh_50 "style=" Padding:0px;margin : 0px;vertical-align:top;border:none;float:none; "/>

Where CHAP's configuration is basically consistent with PAP

Verify:

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8A/D5/wKioL1g9PGegin8EAABDIp9J11c136.png-wh_500x0-wm_3 -wmp_4-s_1047186488.png "title=" a authentication. png "alt=" wkiol1g9pgegin8eaabdip9j11c136.png-wh_50 "style=" Padding:0px;margin : 0px;vertical-align:top;border:none;float:none; "/>


PAP and CHAP authentication

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.