Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 21:29:03 +0200
From:      Hinrich.Eilts@t-online.de (Hinrich Eilts)
To:        freebsd-isdn@freebsd.org
Subject:   i4b and i4l loops in LCP
Message-ID:  <757439818.932765343@donar.muc.de>

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

regarding the looping, I got logfiles from peer side, a Linux box (SuSE
Linux 5.3 Kernel 2.0.35) called "Router1".
The first part shows a successfull connection to FreeBSD pppd using a ISDN
adapter (ELSA Microlinc ISDN).
Pppd is configured to use PAP and to be "silent":

May  9 21:50:58 Router1 isdnlog: May 09 21:50:58   tei 107 calling hini
with myself1  1.EH DM 0,12 
May  9 21:50:58 Router1 kernel: isdn_net: ippp0 connected
May  9 21:50:58 Router1 kernel: isdn_net: chargetime of ippp0 now 993454
May  9 21:50:58 Router1 ipppd[90]: Local number: 914269, Remote number:
08974299734, Type: outgoing
May  9 21:50:58 Router1 ipppd[90]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit:
0, linkunit: 0, fd: 6
May  9 21:50:58 Router1 ipppd[90]: sent [0][LCP ConfReq id=0x1 <mru 1524>
<magic 0x64267842>]
May  9 21:51:00 Router1 ipppd[90]: sent [0][LCP ConfReq id=0x1 <mru 1524>
<magic 0x64267842>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][LCP ConfReq id=0x1 <auth pap>
<magic 0x7acf8d41> <pcomp> <accomp>]
May  9 21:51:00 Router1 ipppd[90]: sent [0][LCP ConfRej id=0x1 <pcomp>
<accomp>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][LCP ConfAck id=0x1 <mru 1524>
<magic 0x64267842>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][LCP ConfReq id=0x2 <auth pap>
<magic 0x7acf8d41>]
May  9 21:51:00 Router1 ipppd[90]: sent [0][LCP ConfAck id=0x2 <auth pap>
<magic 0x7acf8d41>]
May  9 21:51:00 Router1 ipppd[90]: lcp layer is UP
May  9 21:51:00 Router1 ipppd[90]: sent [0][PAP AuthReq id=0x3 user="xyz"
password="xxxxxx"]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][PAP AuthAck id=0x3msg="Login
ok"]
May  9 21:51:00 Router1 ipppd[90]: Remote message: Login ok
May  9 21:51:00 Router1 ipppd[90]: bundle, he: 0 we: 0
May  9 21:51:00 Router1 ipppd[90]: sent [0][IPCP ConfReq id=0x1 <addr
0.0.0.0>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][IPCP ConfReq id=0x1 <addr
193.31.21.1> <compress VJ 0f 01>]
May  9 21:51:00 Router1 ipppd[90]: sent [0][IPCP ConfRej id=0x1 <compress
VJ 0f 01>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][IPCP ConfNak id=0x1 <addr
193.31.21.2>]
May  9 21:51:00 Router1 ipppd[90]: sent [0][IPCP ConfReq id=0x2 <addr
193.31.21.2>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][IPCP ConfReq id=0x2 <addr
193.31.21.1>]
May  9 21:51:00 Router1 ipppd[90]: sent [0][IPCP ConfAck id=0x2 <addr
193.31.21.1>]
May  9 21:51:00 Router1 ipppd[90]: rcvd [0][IPCP ConfAck id=0x2 <addr
193.31.21.2>]
May  9 21:51:00 Router1 ipppd[90]: local  IP address 193.31.21.2
May  9 21:51:00 Router1 ipppd[90]: remote IP address 193.31.21.1


The second part shows a looping connection. At Linux side was no change, at
FreeBSD I excanged pppd / ISDN adapter
by i4b 0.81:

Jun 25 22:46:00 Router1 kernel: isdn_net: ippp0 connected
Jun 25 22:46:00 Router1 kernel: isdn_net: chargetime of ippp0 now 121060523
Jun 25 22:46:00 Router1 ipppd[90]: Local number: 914269, Remote number:
08974299734, Type: outgoing
Jun 25 22:46:00 Router1 ipppd[90]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit:
0, linkunit: 0, fd: 6
Jun 25 22:46:00 Router1 ipppd[90]: sent [0][LCP ConfReq id=0x1 <mru 1524>
<magic 0x289cdc9a>]
Jun 25 22:46:00 Router1 ipppd[90]: rcvd [0][LCP ConfAck id=0x1 <mru 1524>
<magic 0x289cdc9a>]
Jun 25 22:46:02 Router1 ipppd[90]: sent [0][LCP ConfReq id=0x1 <mru 1524>
<magic 0x289cdc9a>]
Jun 25 22:46:02 Router1 ipppd[90]: rcvd [0][LCP ConfAck id=0x1 <mru 1524>
<magic 0x289cdc9a>]
Jun 25 22:46:04 Router1 ipppd[90]: sent [0][LCP ConfReq id=0x1 <mru 1524>
<magic 0x289cdc9a>]
Jun 25 22:46:04 Router1 ipppd[90]: rcvd [0][LCP ConfAck id=0x1 <mru 1524>
<magic 0x289cdc9a>]
Jun 25 22:46:06 Router1 ipppd[90]: sent [0][LCP ConfReq id=0x1 <mru 1524>
<magic 0x289cdc9a>]
.. (continues until terminated by hangup)

At FreeBSD i4b log looks for looping connection:

Jun 26 13:50:55 tor /kernel: isp0: Up event(incoming call)
Jun 26 13:50:55 tor /kernel: isp0: lcp open(initial)
Jun 26 13:50:55 tor /kernel: isp0: phase establish
Jun 26 13:50:55 tor /kernel: isp0: lcp up(starting)
Jun 26 13:50:55 tor /kernel: isp0: lcp output <conf-req id=0x4 len=14
05-06-11-03-c6-5d-03-04-c0-23>
Jun 26 13:50:55 tor /kernel: isp0: lcp input(req-sent): <conf-req id=0x1
len=14 01-04-05-f4-05-06-2d-b6-d2-a8>
Jun 26 13:50:55 tor /kernel: isp0: lcp parse opts:  mru  magic 
Jun 26 13:50:55 tor /kernel: isp0: lcp parse opt values:  mru 1524  magic
0x2db6d2a8  send conf-ack
Jun 26 13:50:55 tor /kernel: isp0: lcp output <conf-ack id=0x1 len=14
01-04-05-f4-05-06-2d-b6-d2-a8>
Jun 26 13:50:57 tor /kernel: isp0: lcp input(ack-sent): <conf-req id=0x1
len=14 01-04-05-f4-05-06-2d-b6-d2-a8>
Jun 26 13:50:57 tor /kernel: isp0: lcp parse opts:  mru  magic 
Jun 26 13:50:57 tor /kernel: isp0: lcp parse opt values:  mru 1524  magic
0x2db6d2a8  send conf-ack
Jun 26 13:50:57 tor /kernel: isp0: lcp output <conf-ack id=0x1 len=14
01-04-05-f4-05-06-2d-b6-d2-a8>
Jun 26 13:50:59 tor /kernel: isp0: lcp input(ack-sent): <conf-req id=0x1
len=14 01-04-05-f4-05-06-2d-b6-d2-a8>
Jun 26 13:50:59 tor /kernel: isp0: lcp parse opts:  mru  magic
..


Hinrich 



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?757439818.932765343>