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
This is a multi-part message in MIME format.

------=_NextPart_000_0043_01C1EFD5.6E40FD70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

(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.

------=_NextPart_000_0043_01C1EFD5.6E40FD70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>(This is a PPP related =
question.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It seems the RedHat Linux 7.2 PPP =
client does not=20
work with the FreeBSD 4.5&nbsp;PPP server in the CCP (Compression =
Control=20
Protocol) negotiation. Briefly, the problem looks like the=20
following:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Linux ---&gt; CCP conf request (with 3 =
compression=20
schemes, A, B and C) --&gt; PPP server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Linux &lt;-- CCP conf reject (schemes, =
B and C)=20
&lt;-- PPP server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(That is, the PPP server picked the =
compression=20
scheme A, and rejected the rest.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Linux ---&gt; CCP conf request (with 3 =
compression=20
schemes, A, B and C) --&gt; PPP server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Linux &lt;-- CCP conf reject (schemes, =
B and C)=20
&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=20
the CCP reject messages.</DIV>
<DIV>The correct message exchange should&nbsp;look like the =
following:</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Linux ---&gt; CCP conf request (with 3 =
compression=20
schemes, A, B and C) --&gt; PPP server</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>Linux &lt;-- CCP conf reject (schemes, =
B and C)=20
&lt;-- PPP server</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---&gt; CCP conf =
request=20
(scheme A) --&gt; PPP server</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;---&nbsp; CCP conf =
ACK=20
(scheme A) &lt;-- PPP server</DIV>
<DIV>&nbsp;</DIV>
<DIV>Comments?</DIV>
<DIV>&nbsp;</DIV>
<DIV>P.S. I am using PPPoE for the=20
testing.</DIV></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0043_01C1EFD5.6E40FD70--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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