Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 1999 16:41:33 +0200 (CEST)
From:      Paul Herman <pherman@element-5.de>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   RFC 1661 Loop? (Was Re: if_spppsubr.c)
Message-ID:  <Pine.BSF.4.10.9909181602020.18697-100000@brain.element-5.de>
In-Reply-To: <199909162126.XAA03635@peedub.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
OK,

so I looked into the if_spppsubr.c (from 0.83) code this weekend.  Code
looks just fine.  But it looks to me that both sides are stuck in the same
automaton state which there seems to be no exit (state 8 - ack sent - to
use the language of RFC 1661.)

This only happens to me *sometimes*.  The rest of the time I connect no
problem.  From logs (which I have learned to understand the hex by now! :)

------- When it connects, it connects no problem -----
Sep 18 12:10:27 fw2-test /kernel: isp0: lcp open(initial)
Sep 18 12:10:27 fw2-test /kernel: isp0: phase establish
Sep 18 12:10:28 fw2-test /kernel: isp0: Up event
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp up(starting)
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp output <conf-req id=0x7 len=10 05-06-5f-cf-72-c0>
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp input(req-sent): <conf-req id=0x1 len=21 01-04-05-f4-03-04-c0-23-13-09-03-00$
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp parse opts:  mru  auth-proto lcp/0x13 [rej]  send conf-rej
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp output <conf-rej id=0x1 len=13 13-09-03-00-c0-7b-7c-36-6e>
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp input(req-sent): <conf-ack id=0x7 len=10 05-06-5f-cf-72-c0>
Sep 18 12:10:28 fw2-test /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0x2 len=12 01-04-05-f4-03-04-c0-23>
Sep 18 12:10:29 fw2-test /kernel: isp0: lcp parse opts:  mru  auth-proto
Sep 18 12:10:29 fw2-test /kernel: isp0: lcp parse opt values:  mru 1524 auth-proto  send conf-ack
Sep 18 12:10:29 fw2-test /kernel: isp0: lcp output <conf-ack id=0x2 len=12 01-04-05-f4-03-04-c0-23>
Sep 18 12:10:29 fw2-test /kernel: isp0: lcp tlu
Sep 18 12:10:29 fw2-test /kernel: isp0: phase authenticate
[....snip!....]

------- When I get problems, it gets stuck in this loop ------
Sep 18 12:10:58 fw2-test /kernel: isp0: lcp open(initial)
Sep 18 12:10:58 fw2-test /kernel: isp0: phase establish
Sep 18 12:10:59 fw2-test /kernel: isp0: Up event
Sep 18 12:10:59 fw2-test /kernel: isp0: lcp up(starting)
Sep 18 12:10:59 fw2-test /kernel: isp0: lcp output <conf-req id=0xd len=10 05-06-5f-cf-72-c0>
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp input(req-sent): <conf-req id=0xa4 len=24 03-04-c0-23-05-06-03-2f-a3-ce-11-0$
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp parse opts:  auth-proto  magic lcp/0x11 [rej]  lcp/0x13 [rej]  send conf-rej
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp output <conf-rej id=0xa4 len=14 11-04-05-f4-13-06-01-72-73-31>
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp input(req-sent): <conf-req id=0xa5 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp parse opts:  auth-proto  magic
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp parse opt values:  auth-proto magic 0x32fa3ce  send conf-ack
Sep 18 12:11:01 fw2-test /kernel: isp0: lcp output <conf-ack id=0xa5 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:03 fw2-test /kernel: isp0: lcp input(ack-sent): <conf-req id=0xa6 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:03 fw2-test /kernel: isp0: lcp parse opts:  auth-proto  magic
Sep 18 12:11:03 fw2-test /kernel: isp0: lcp parse opt values:  auth-proto magic 0x32fa3ce  send conf-ack
Sep 18 12:11:03 fw2-test /kernel: isp0: lcp output <conf-ack id=0xa6 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:05 fw2-test /kernel: isp0: lcp input(ack-sent): <conf-req id=0xa7 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:05 fw2-test /kernel: isp0: lcp parse opts:  auth-proto  magic
Sep 18 12:11:05 fw2-test /kernel: isp0: lcp parse opt values:  auth-proto magic 0x32fa3ce  send conf-ack
Sep 18 12:11:05 fw2-test /kernel: isp0: lcp output <conf-ack id=0xa7 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:07 fw2-test /kernel: isp0: lcp input(ack-sent): <conf-req id=0xa8 len=14 03-04-c0-23-05-06-03-2f-a3-ce>
Sep 18 12:11:07 fw2-test /kernel: isp0: lcp parse opts:  auth-proto  magic

...and repeats every 2 seconds until my ISP gives up and hangs up on me.

How could they both get stuck like this? Or even better, what needs to be
done to get out of this?  It happens with my provider (NetCologne) about
40% of the time.  I have 0.70 running on another box, and have no troubles
with it.  Ideas?  Help!  I'd like to fix some code! :)

Paul Herman
Netzwerkadministrator
--------------------------------------------------------------    _____ 5
+ element 5 AG - Sachsenring 69 - 50677 Köln - Germany       +   /  _  \
+                                                            +  |  <_>  |
+ Tel:  +49-221-31088-0      Fax: +49-221-31088-99           +  |   ___/
+ Mail: pherman@element-5.de WWW: http://www.element-5.de/   +  |  |__/\
--------------------------------------------------------------   \     /
                                                                   ---




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




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