Networking Forums

Networking Forums > Computer Networking > Linux Networking > Protocol-Rej not received

Reply
Thread Tools Display Modes

Protocol-Rej not received

 
 
ksriram29@gmail.com
Guest
Posts: n/a

 
      11-06-2006, 03:30 AM
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 in advance.
Sriram K

 
Reply With Quote
 
 
 
 
Patrick Klos
Guest
Posts: n/a

 
      11-06-2006, 01:43 PM
In article <(E-Mail Removed) .com>,
(E-Mail Removed) <(E-Mail Removed)> wrote:
>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


Based on what's shown here, this peer SHOULD be sending a Protocol-Reject
for the 80ff packet. Note that this peer is expecting the other peer to
authticate itself. Even so, LCP should be in the OPENED state and should
respond with the Protocol-Reject when it sees a protocol it doesn't support.

>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]


This peer did the right thing in sending a Protocol-Reject. It should be
independent of the peer having authenticated itself to the local peer, but
maybe there's a bug in the local peer??

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


Notice in both cases, the local peer stops receiving any data from the remote
peer after it receives the packet with the unsupported protocol. You may
want to try ACCM = 0xffffffff to see if something is acting on one of the
control characters in the 0x80ff packet?

Patrick
=========== For PPP Protocol Analysis, check out PacketView Pro! ===========
Patrick Klos Email: (E-Mail Removed)
Klos Technologies, Inc. Web: http://www.klos.com/
================================================== ==========================
 
Reply With Quote
 
ksriram29@gmail.com
Guest
Posts: n/a

 
      11-06-2006, 01:58 PM
Thanks Patrick. The local peer stops responding because I am simulating
it. I stop it when I didn't receive the Protocol - Reject. And what is
that ACCM
stuff. Could you explain so that I can try?

Thanks & Regards,
Sriram K
Patrick Klos wrote:
> In article <(E-Mail Removed) .com>,
> (E-Mail Removed) <(E-Mail Removed)> wrote:
> >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

>
> Based on what's shown here, this peer SHOULD be sending a Protocol-Reject
> for the 80ff packet. Note that this peer is expecting the other peer to
> authticate itself. Even so, LCP should be in the OPENED state and should
> respond with the Protocol-Reject when it sees a protocol it doesn't support.
>
> >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]

>
> This peer did the right thing in sending a Protocol-Reject. It should be
> independent of the peer having authenticated itself to the local peer, but
> maybe there's a bug in the local peer??
>
> >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.

>
> Notice in both cases, the local peer stops receiving any data from the remote
> peer after it receives the packet with the unsupported protocol. You may
> want to try ACCM = 0xffffffff to see if something is acting on one of the
> control characters in the 0x80ff packet?
>
> Patrick
> =========== For PPP Protocol Analysis, check out PacketView Pro! ===========
> Patrick Klos Email: (E-Mail Removed)
> Klos Technologies, Inc. Web: http://www.klos.com/
> ================================================== ==========================


 
Reply With Quote
 
Patrick Klos
Guest
Posts: n/a

 
      11-06-2006, 03:18 PM
In article <(E-Mail Removed) .com>,
(E-Mail Removed) <(E-Mail Removed)> wrote:
>Thanks Patrick. The local peer stops responding because I am simulating
>it.


Oh, you didn't mention that.

>I stop it when I didn't receive the Protocol - Reject. And what is
>that ACCM
>stuff. Could you explain so that I can try?


Well, I only suggested it because your remote peer stopped talking to you.
Actually, since the option wasn't negotiated, LCP is supposed to use the
default, which is 0xffffffff (meaning it was already configured the way I
was suggesting you try).

FYI: ACCM is the async control character map. It tells the serial framer
to escape certain control characters (0x00 thru 0x1f) based on the mask on
the premise that some serial links may have control characters that cannot
be ignored and would cause problems with the serial data stream if used.

>Patrick Klos wrote:
>> In article <(E-Mail Removed) .com>,
>> (E-Mail Removed) <(E-Mail Removed)> wrote:
>> >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

>>
>> Based on what's shown here, this peer SHOULD be sending a Protocol-Reject
>> for the 80ff packet. Note that this peer is expecting the other peer to
>> authticate itself. Even so, LCP should be in the OPENED state and should
>> respond with the Protocol-Reject when it sees a protocol it doesn't support.
>>
>> >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]

>>
>> This peer did the right thing in sending a Protocol-Reject. It should be
>> independent of the peer having authenticated itself to the local peer, but
>> maybe there's a bug in the local peer??
>>
>> >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.

>>
>> Notice in both cases, the local peer stops receiving any data from the remote
>> peer after it receives the packet with the unsupported protocol. You may
>> want to try ACCM = 0xffffffff to see if something is acting on one of the
>> control characters in the 0x80ff packet?


Patrick
=========== For PPP Protocol Analysis, check out PacketView Pro! ===========
Patrick Klos Email: (E-Mail Removed)
Klos Technologies, Inc. Web: http://www.klos.com/
================================================== ==========================
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frames received with errors greater than frames received ok affiliateian@gmail.com Wireless Internet 1 06-05-2006 11:41 PM
RedHat 9.0 PPP warning: Unsupported protocol 0x8057 received Dennis C Linux Networking 1 12-04-2004 05:10 PM
Protocol Chart - Learn how to use a Protocol Analyzer news.comcast.giganews.com Windows Networking 0 08-21-2004 04:36 PM
Protocol Chart - Learn how to use a Protocol Analyzer news.comcast.giganews.com Windows Networking 0 08-21-2004 04:35 PM
Protocol Chart - Learn how to use a Protocol Analyzer news.comcast.giganews.com Windows Networking 0 08-21-2004 04:34 PM



1 2 3 4 5 6 7 8 9 10 11