Protocol-Rej not received

"Sriram K" <[email protected]> Mon, 6 Nov 2006 10:01:33 +0530
Newsgroups gmane.linux.redhat.ppp
Message-ID <[email protected]>
--===============1580262286==
Content-Type: multipart/alternative; 
	boundary="----=_Part_49682_1391137.1162787493799"

------=_Part_49682_1391137.1162787493799
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
I have provided logs of two connections. With the first connection I
don't receive a protocol-reject packet
when I sent LCP packet with unknown protocol. As per RFC 1661 in the
opened state ppp should send a protocol reject when it receives a LCP
packet with unknown protocol.  I believe that in this case the ppp is
in opened state before sending the LCP packet with unknown protocol,
since a Config-Ack has been both sent and received.

Now with the second log, the ppp sends a protocol-reject packet when we
send a LCP packet with unknown code after the authentication phase. I
want to know why this happens and is it correct.

I am using Fedora Core 3.

Log 1:
======
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
rcvd [LCP ConfReq id=0x1]
sent [LCP ConfReq id=0x1 <auth pap>]
sent [LCP ConfAck id=0x1]
rcvd [LCP ConfAck id=0x1 <auth pap>]
sent [LCP EchoReq id=0x0 magic=0x0]
rcvd [proto=0x80ff] 01 01 00 04
discarding proto 0x80ff in phase 5
sent [LCP EchoReq id=0x1 magic=0x0]
No response to 2 echo-requests
Serial link appears to be disconnected.
sent [LCP TermReq id=0x2 "Peer not responding"]
sent [LCP TermReq id=0x3 "Peer not responding"]
Connection terminated.

Log 2:
=====
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
rcvd [LCP ConfReq id=0x1]
sent [LCP ConfReq id=0x1 <auth pap>]
sent [LCP ConfAck id=0x1]
rcvd [LCP ConfAck id=0x1 <auth pap>]
sent [LCP EchoReq id=0x0 magic=0x0]
rcvd [PAP AuthReq id=0x1 user="root" password=<hidden>]
sent [PAP AuthAck id=0x1 "Login ok"]
PAP peer authentication succeeded for root
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
rcvd [proto=0x80ff] 01 01 00 04
Unsupported protocol 0x80ff received
sent [LCP ProtRej id=0x2 80 ff 01 01 00 04]
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
sent [LCP EchoReq id=0x1 magic=0x0]
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
sent [IPCP ConfReq id=0x1 <addr 10.0.0.1>]
No response to 2 echo-requests
Serial link appears to be disconnected.
sent [LCP TermReq id=0x3 "Peer not responding"]
sent [LCP TermReq id=0x4 "Peer not responding"]
Connection terminated.
 --
Thanks & Regards,
Sriram K

------=_Part_49682_1391137.1162787493799
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi, <br>
 I have provided logs of two connections. With the first connection I <br>
 don't receive a protocol-reject packet <br>
 when I sent LCP packet with unknown protocol. As per RFC 1661 in the <br>
 opened state ppp should send a protocol reject when it receives a LCP <br>
 packet with unknown protocol. &nbsp;I believe that in this case the ppp is <br>
 in opened state before sending the LCP packet with unknown protocol, <br>
 since a Config-Ack has been both sent and received. <br>
 
<p>Now with the second log, the ppp sends a protocol-reject packet when we <br> send a LCP packet with unknown code after the authentication phase. I <br> want to know why this happens and is it correct. <br> </p>
<p>I am using Fedora Core 3. <br> </p>
<p>Log 1: <br> ====== <br> Using interface ppp0 <br> Connect: ppp0 &lt;--&gt; /dev/pts/6 <br> rcvd [LCP ConfReq id=0x1] <br> sent [LCP ConfReq id=0x1 &lt;auth pap&gt;] <br> sent [LCP ConfAck id=0x1] <br> rcvd [LCP ConfAck id=0x1 &lt;auth pap&gt;] 
<br> sent [LCP EchoReq id=0x0 magic=0x0] <br> rcvd [proto=0x80ff] 01 01 00 04 <br> discarding proto 0x80ff in phase 5 <br> sent [LCP EchoReq id=0x1 magic=0x0] <br> No response to 2 echo-requests <br> Serial link appears to be disconnected. 
<br> sent [LCP TermReq id=0x2 &quot;Peer not responding&quot;] <br> sent [LCP TermReq id=0x3 &quot;Peer not responding&quot;] <br> Connection terminated. <br> </p>
<p>Log 2: <br> ===== <br> Using interface ppp0 <br> Connect: ppp0 &lt;--&gt; /dev/pts/6 <br> rcvd [LCP ConfReq id=0x1] <br> sent [LCP ConfReq id=0x1 &lt;auth pap&gt;] <br> sent [LCP ConfAck id=0x1] <br> rcvd [LCP ConfAck id=0x1 &lt;auth pap&gt;] 
<br> sent [LCP EchoReq id=0x0 magic=0x0] <br> rcvd [PAP AuthReq id=0x1 user=&quot;root&quot; password=&lt;hidden&gt;] <br> sent [PAP AuthAck id=0x1 &quot;Login ok&quot;] <br> PAP peer authentication succeeded for root <br>
 sent [IPCP ConfReq id=0x1 &lt;addr <a href="http://10.0.0.1">10.0.0.1</a>&gt;] <br> rcvd [proto=0x80ff] 01 01 00 04 <br> Unsupported protocol 0x80ff received <br> sent [LCP ProtRej id=0x2 80 ff 01 01 00 04] <br> sent [IPCP ConfReq id=0x1 &lt;addr 
<a href="http://10.0.0.1">10.0.0.1</a>&gt;] <br> sent [IPCP ConfReq id=0x1 &lt;addr <a href="http://10.0.0.1">10.0.0.1</a>&gt;] <br> sent [IPCP ConfReq id=0x1 &lt;addr <a href="http://10.0.0.1">10.0.0.1</a>&gt;] <br> sent [LCP EchoReq id=0x1 magic=0x0] 
<br> sent [IPCP ConfReq id=0x1 &lt;addr <a href="http://10.0.0.1">10.0.0.1</a>&gt;] <br> sent [IPCP ConfReq id=0x1 &lt;addr <a href="http://10.0.0.1">10.0.0.1</a>&gt;] <br> sent [IPCP ConfReq id=0x1 &lt;addr <a href="http://10.0.0.1">
10.0.0.1</a>&gt;] <br> No response to 2 echo-requests <br> Serial link appears to be disconnected. <br> sent [LCP TermReq id=0x3 &quot;Peer not responding&quot;] <br> sent [LCP TermReq id=0x4 &quot;Peer not responding&quot;] 
<br> Connection terminated. <br> </p>
-- <br>Thanks &amp; Regards,<br>Sriram K

------=_Part_49682_1391137.1162787493799--


--===============1580262286==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Redhat-ppp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ppp-list
--===============1580262286==--