26278 total geeks with 3498 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
MaxMouse
It's Friday... That's good enough for me!
CodeX
non stop lolz here but thats soon to end thanks to uni, surely the rest of the world is going good?
stabat
how things are going guys? Here... boring...
CodeX
I must be going wrong on the password lengths then, as long as it was done on ECB
MaxMouse
lol... the key is in hex (MD5: of the string "doit" without the "'s) and is in lower case. Maybe i should have submitted this as a challenge!

Donate
Donate and help us fund new challenges
Donate!
Due Date: May 31
May Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Yahoo! Japan says
22 MEELLION User
IDs may have been
nabbed
Nintendo throws
flaming legal
barrel at YouTubing
fans
Optus outlines its
4G future
Hold our tiny
silicon spheres,
say gravity wave
detection
scientists
EMC vuln gives mere
sysadmins the power
of storage admins
Four Anons cuffed
in Italy
IBM gives a cloudy
outlook for COBOL
Bureau of Stats
releases
educational
SimClone game
I know who "Satoshi
Nakamoto" is, says
Ted Nelson
Google builds
crowdsourcing into
new Maps code stack
Slashdot
Ask Slashdot:
Wiring Home
Furniture?
Medical Firm Sues
IRS For 4th
Amendment Violation
In Records Seizure
Military Dolphins
Discover 1800s
Torpedo
Apple Mobile
Devices Cleared For
Use On US Military
Networks
Mice, Newts
Retrieved After a
Month Orbiting
Earth At 345 Miles
Up
IBM Takes System/z
To the Cloud With
COBOL Update
Google"s Nexus Q
Successor Hits the
FCC
Yahoo Board
Approves a $1.1B
Pricetag For Tumblr
Trade Group: US
Software Developer
Wages Fell 2% Last
Year
Wikileaks Releases
Docs Before Trial
of TPB Founder Warg
Article viewer

PPP



Written by:synackall
Published by:Nightscript
Published on:2003-12-29 15:32:54
Topic:Networking
Search OSI about Networking.More articles by synackall.
 viewed 8714 times send this article printer friendly

Digg this!
    Rate this article :
PPP or Point-to-Point Protocol is the successor to SLIP (Serial Line Internet Protocol), in this article we will explain PPP and explore it's two most popular authentication methods PAP, and CHAP.

Point-to-Point Protocol is the successor to SLIP (Serial Line Internet Protocol) in this article we will explain PPP and explore it's two most popular authentication methods PAP, and CHAP.

First of all, what does PPP do? Well basically PPP is responsible for connecting a computer to the Internet.

When transmitting data over any network, first a path for the data must be established, and procedures for flow control must be implemented to ensure successful transmission. This is done through the Link Control Protocol, and the Network Control Protocols.

Phases of Transmission Sessions

There are 4 distinctive phases in the transmission of data over the WAN.

1. An LCP (Link Control Protocol) frame is sent to establish a means of data tranmission, in this phase compression and maximum transmission units are decided. Even the authentication type is decided at this phase (discussed in more detail later).

2. Link Quality. This phase is optional, but is usually used. This phase determines the quality of the link, it is decided at this phase whether to bring up the network-layer protocols.

3. At this phase the NCP (Network Control Protocols) are brought into play, NCP packets are used to determine network-layer protocols (IP/IPX etc) to be used. Once these have beeen decided upon, datagram transmission can begin.

4. Termination of the link by an LCP frame, this is usually requested but can happen at any time due to network problems such as media problems, or other common interruptions.

PPP Authentication

The two most well-known methods of authentication with PPP are PAP (Password Authentication Protocol) and (Challenge Handshalke Authentication Protocol).

PAP

PAP provides a very basic method for authentication, using a two way handshake procedure, and transmitting the username and password by plaintext accross the network, PAP has proven to be very insecure, and is not often used with modern network. Because authentication is done by hammering the username and password accross the network until it has been accepted, the PAP authentication method is also prone to brute force attacks.

CHAP

CHAP uses a three-way handshake to verify the remote node, the implementation of CHAP allows for periodic verification challenges which boost it's security. It uses a special method of verifaction, the server sends the client a special ID, which is hashed using MD5 and is (theoretically) impossible to reverse-engineer. By using this initial hash, the client and the server keep a secure connection, and periodic verification provides a more secure environment against reply attacks.


Becuase of these reasons, CHAP is the preferred method for PPP authentication. Any questions can be posted in the forum.

____
synackall

Did you like this article? There are hundreds more.

Comments:
<none>
Anonymously add a comment: (or register here)
(registration is really fast and we send you no spam)
BB Code is enabled.
Captcha Number:


Blogs: (People who have posted blogs on this subject..)
everyMan
Blog entry for Thu 1st Feb 1am on Thu 1st Feb 2am
I need to write "run.pl" that calls expect script. the expect will the take the user and pass given in run.pl and telnet to another device.

Test Yourself: (why not try testing your skill on this subject? Clicking the link will start the test.)
Hubs / Switches & Cable Wires/Wireless by DocHoliday

This test is revolved around networking with hubs and of course switches in which are performed to create a network route.
Beginning Networking by truthseeker

Basic, beginning networking test. Covers a little of everything, protocols, hardware, OSI model, etc.
Networking by emmanuelmalanda

simple exercise to test one's knowledge on various networking aspects
Various Networking (part 2) by think12

Started as a Ethernet based test, but... It grew a mind of its own
Various Networking (pt1) by think12

Mainly protocols


     
Your Ad Here
 
Copyright Open Source Institute, 2006