Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 23:27:29 -0400
From:      "ipver4" <ipver4@hotmail.com>
To:        <freebsd-net@FreeBSD.ORG>
Subject:   CCP does not work between Linux ppp client and FreeBSD ppp server
Message-ID:  <OE56o0nQZEMO6y4I5Jv00002a73@hotmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
(This is a PPP related question.)

It seems the RedHat Linux 7.2 PPP client does not work with the FreeBSD 4.5 PPP server in the CCP (Compression Control Protocol) negotiation. Briefly, the problem looks like the following:

Linux ---> CCP conf request (with 3 compression schemes, A, B and C) --> PPP server
Linux <-- CCP conf reject (schemes, B and C) <-- PPP server
(That is, the PPP server picked the compression scheme A, and rejected the rest.)

Linux ---> CCP conf request (with 3 compression schemes, A, B and C) --> PPP server
Linux <-- CCP conf reject (schemes, B and C) <-- PPP server
(repeat may times without progress.)

It seems the Linux client did not follow the PPP protocol and ignored the CCP reject messages.
The correct message exchange should look like the following:

Linux ---> CCP conf request (with 3 compression schemes, A, B and C) --> PPP server
Linux <-- CCP conf reject (schemes, B and C) <-- PPP server
         ---> CCP conf request (scheme A) --> PPP server
        <---  CCP conf ACK (scheme A) <-- PPP server

Comments?

P.S. I am using PPPoE for the testing.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>(This is a PPP related question.)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It seems the RedHat Linux 7.2 PPP client does not 
work with the FreeBSD 4.5&nbsp;PPP server in the CCP (Compression Control 
Protocol) negotiation. Briefly, the problem looks like the 
following:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Linux ---&gt; CCP conf request (with 3 compression 
schemes, A, B and C) --&gt; PPP server</FONT></DIV>
<DIV><FONT face=Arial size=2>Linux &lt;-- CCP conf reject (schemes, B and C) 
&lt;-- PPP server</FONT></DIV>
<DIV><FONT face=Arial size=2>(That is, the PPP server picked the compression 
scheme A, and rejected the rest.)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Linux ---&gt; CCP conf request (with 3 compression 
schemes, A, B and C) --&gt; PPP server</FONT></DIV>
<DIV><FONT face=Arial size=2>Linux &lt;-- CCP conf reject (schemes, B and C) 
&lt;-- PPP server</FONT></DIV>
<DIV>(repeat may times without progress.)</DIV>
<DIV>&nbsp;</DIV>
<DIV>It seems the Linux client&nbsp;did not follow the PPP protocol and ignored 
the CCP reject messages.</DIV>
<DIV>The correct message exchange should&nbsp;look like the following:</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Linux ---&gt; CCP conf request (with 3 compression 
schemes, A, B and C) --&gt; PPP server</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Linux &lt;-- CCP conf reject (schemes, B and C) 
&lt;-- PPP server</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---&gt; CCP conf request 
(scheme A) --&gt; PPP server</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;---&nbsp; CCP conf ACK 
(scheme A) &lt;-- PPP server</DIV>
<DIV>&nbsp;</DIV>
<DIV>Comments?</DIV>
<DIV>&nbsp;</DIV>
<DIV>P.S. I am using PPPoE for the 
testing.</DIV></DIV></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE56o0nQZEMO6y4I5Jv00002a73>