From owner-freebsd-isdn Mon Sep 20 17:56:30 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from awfulhak.org (dynamic-48.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.48]) by hub.freebsd.org (Postfix) with ESMTP id 3AE1614D0B for ; Mon, 20 Sep 1999 17:56:17 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id UAA27670; Mon, 20 Sep 1999 20:05:15 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA00996; Mon, 20 Sep 1999 19:02:36 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199909201802.TAA00996@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Paul Herman Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: RFC 1661 Loop? (Was Re: if_spppsubr.c) In-reply-to: Your message of "Sat, 18 Sep 1999 16:41:33 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 20 Sep 1999 19:02:36 +0100 From: Brian Somers Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It looks like your ISP is requesting LCP options 0x11 (unknown to me) = and 0x13 (callback). When sppp rejects them, it requests them again. This is illegal. The requesting side should either change its = request or send a terminate request. You could always try ppp(8) (from my website). I may be wrong = interpreting your logs :-0 If you do, make sure you build ppp(8) = *after* your i4b installation (you shouldn't see any -DNOI4B s on the = make command lines). > 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 s= ame > automaton state which there seems to be no exit (state 8 - ack sent - t= o > 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 > Sep 18 12:10:28 fw2-test /kernel: isp0: lcp input(req-sent): Sep 18 12:10:28 fw2-test /kernel: isp0: lcp parse opts: mru auth-prot= o lcp/0x13 [rej] send conf-rej > Sep 18 12:10:28 fw2-test /kernel: isp0: lcp output > Sep 18 12:10:28 fw2-test /kernel: isp0: lcp input(req-sent): > Sep 18 12:10:28 fw2-test /kernel: isp0: lcp input(ack-rcvd): > Sep 18 12:10:29 fw2-test /kernel: isp0: lcp parse opts: mru auth-prot= o > 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 > 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 > Sep 18 12:11:01 fw2-test /kernel: isp0: lcp input(req-sent): Sep 18 12:11:01 fw2-test /kernel: isp0: lcp parse opts: auth-proto ma= gic lcp/0x11 [rej] lcp/0x13 [rej] send conf-rej > Sep 18 12:11:01 fw2-test /kernel: isp0: lcp output > Sep 18 12:11:01 fw2-test /kernel: isp0: lcp input(req-sent): > Sep 18 12:11:01 fw2-test /kernel: isp0: lcp parse opts: auth-proto ma= gic > Sep 18 12:11:01 fw2-test /kernel: isp0: lcp parse opt values: auth-pro= to magic 0x32fa3ce send conf-ack > Sep 18 12:11:01 fw2-test /kernel: isp0: lcp output > Sep 18 12:11:03 fw2-test /kernel: isp0: lcp input(ack-sent): > Sep 18 12:11:03 fw2-test /kernel: isp0: lcp parse opts: auth-proto ma= gic > Sep 18 12:11:03 fw2-test /kernel: isp0: lcp parse opt values: auth-pro= to magic 0x32fa3ce send conf-ack > Sep 18 12:11:03 fw2-test /kernel: isp0: lcp output > Sep 18 12:11:05 fw2-test /kernel: isp0: lcp input(ack-sent): > Sep 18 12:11:05 fw2-test /kernel: isp0: lcp parse opts: auth-proto ma= gic > Sep 18 12:11:05 fw2-test /kernel: isp0: lcp parse opt values: auth-pro= to magic 0x32fa3ce send conf-ack > Sep 18 12:11:05 fw2-test /kernel: isp0: lcp output > Sep 18 12:11:07 fw2-test /kernel: isp0: lcp input(ack-sent): > Sep 18 12:11:07 fw2-test /kernel: isp0: lcp parse opts: auth-proto ma= gic > = > ...and repeats every 2 seconds until my ISP gives up and hangs up on me= =2E > = > 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) abou= t > 40% of the time. I have 0.70 running on another box, and have no troub= les > with it. Ideas? Help! I'd like to fix some code! :) > = > Paul Herman > Netzwerkadministrator > -------------------------------------------------------------- _____= 5 > + element 5 AG - Sachsenring 69 - 50677 K=F6ln - 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 > = -- = Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message