Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 10:06:38 +0200 (CEST)
From:      Paul Herman <pherman@element-5.de>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: RFC 1661 Loop? (Was Re: if_spppsubr.c) 
Message-ID:  <Pine.BSF.4.10.9909210927080.2732-100000@brain.element-5.de>
In-Reply-To: <199909201802.TAA00996@keep.lan.Awfulhak.org>

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

> It looks like your ISP is requesting LCP options 0x11 (unknown to me) 
> and 0x13 (callback).  When sppp rejects them, it requests them again.

In both cases my ISP only requests them once.  After sppp rejects them he
doesn't ask for them again.

*When* it gets stuck, the loop that sppp gets stuck in goes a little
sompin like dis:
  SPPP:  (conf-req) "Hi, I want Magic = xxxx"
  ISP:   (conf-req) "Hi, I want PAP, Multilink, and Callback"
  SPPP:  (conf-rej) "Sorry, I don't do Multilink and Callback"
  ISP:   (conf-ack) "Fine by me.  I'll do PAP, and Magic = xxxx"
  SPPP:  (conf-ack) "Fine by me.  I'll do PAP, and Magic = xxxx"
  ISP:   (conf-ack) "Fine by me.  I'll do PAP, and Magic = xxxx"
  SPPP:  (conf-ack) "Fine by me.  I'll do PAP, and Magic = xxxx"
  ISP:   (conf-ack) "Fine by me.  I'll do PAP, and Magic = xxxx"
  SPPP:  (conf-ack) "Fine by me.  I'll do PAP, and Magic = xxxx"

Both my ISP and SPPP seem to be in "ack-sent" state, and looking at RFC
1661, if both are in this same "ack-sent" state and all they do is send
"conf-acks", then there's no way out of this -- until they just timeout.
Like I said, this only happens 1/2 the time.

Is this good?  I dunno, but it must be something else, because the older
code (the old i4b 0.7x days) works with my same provider, no problem.  I
could of course use 0.7x but it has other problems.

Thoughts?  Anyone?  I'm just chomping at the bit to start digging into the
code (already have played around a lot) but I'm stumped on this one.  
Just need some direction.  In the mean time, my boss wants to replace this
box with a Linux ISDN box.  Staunch diehard I am, I still keep pushing for
FreeBSD, but I don't know how long I can hold out...

Paul Herman

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