It is currently Sun Aug 19, 2018 8:19 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: unable to connect with new kernel and openl2tp 1.8
PostPosted: Thu Sep 22, 2011 9:45 pm 

Joined: Thu Sep 22, 2011 12:22 pm
Posts: 3
kernel 2.6.39.4

Code:
nfsd                   66312  11
lockd                  51564  1 nfsd
sunrpc                132640  8 nfsd,lockd
ipt_REJECT              1636  7
l2tp_ppp               11336  0
pppox                    980  1 l2tp_ppp
l2tp_core              11536  1 l2tp_ppp
mousedev                7620  1


Code:
# /mnt/build/o2/openl2tp-1.8/openl2tpd -D -f -c /etc/openl2tpd.conf
Start, trace_flags=00000000 (debug enabled)
OpenL2TP V1.8, (c) Copyright 2004-2010 Katalix Systems Ltd.
Loading plugin /opt/openl2tp/lib/openl2tp/ppp_unix.so, version V1.5
Using config file: /etc/openl2tpd.conf
FUNC: tunl 12469: allocated context using profile 'default'
FSM: CCE(12469) event OPEN_REQ in state IDLE
AVP: tunl 12469: building SCCRQ message, 9 AVPs
PROTO: tunl 12469: sending SCCRQ
XPRT: tunl 12469: queuing tx packet, type 1, len 132, ns/nr 0/0
XPRT: tunl 12469: update ns to 1
XPRT: tunl 12469: adding packet to ackq, type 1, len 132, ns/nr 0/0
DATA: TX: tunl 12469/0: send 132 bytes to peer 82.102.129.22, packet ns/nr 0/0 type 1, retry 0
FSM: CCE(12469) state change: IDLE --> WAITCTLREPLY
FUNC: tunl 12469 created
FSM: LAIC(12469/46816) event INCALL_IND in state IDLE
PROTO: tunl 12469/46816: waiting for tunnel up
FSM: LAIC(12469/46816) state change: IDLE --> WAITTUNNEL
12469/46816: creating UNIX pppd context
12469/46816: using ppp profile 'default'
XPRT: RX: tunl 12469/0: len=106 ns/nr=0/1, our ns/nr=1/0, peer ns/nr=0/0
XPRT: tunl 12469: peer ns/nr is 0/1
XPRT: tunl 12469: pkt 0/0 is acked by nr 1
DATA: RX: tunl 12469/0: rcv 106 bytes from peer 82.102.129.22, packet ns/nr 0/1 type 0
XPRT: tunl 12469: update nr from 0 to 1
AVP: tunl 12469: SCCRP message decode of 86 bytes started
AVPDATA: PROTOCOL_VERSION: ver=1 rev=0
AVPDATA: HOST_NAME: name=r1.bras.rh
AVPDATA: FRAMING_CAP: cap=1
AVPDATA: TUNNEL_ID: id=22473
AVPDATA: RX_WINDOW_SIZE: size=64
AVPDATA: FIRMWARE_VERSION: revision=12056
AVPDATA: VENDOR_NAME: name=Juniper Networks, Inc.
PROTO: tunl 12469: SCCRP received from peer 22473
FSM: CCE(12469) event SCCRP_ACCEPT in state WAITCTLREPLY
AVP: tunl 12469: building SCCCN message, 1 AVPs
PROTO: tunl 12469: sending SCCCN to peer 22473
XPRT: tunl 12469: queuing tx packet, type 3, len 20, ns/nr 1/1
XPRT: tunl 12469: update ns to 2
XPRT: tunl 12469: adding packet to ackq, type 3, len 20, ns/nr 1/1
DATA: TX: tunl 12469/0: send 20 bytes to peer 82.102.129.22, packet ns/nr 1/1 type 3, retry 0
FUNC: tunl 12469 up
FSM: CCE(12469) state change: WAITCTLREPLY --> ESTABLISHED
FSM: LAIC(12469/46816) event TUNNEL_OPEN_IND in state WAITTUNNEL
AVP: tunl 12469: building ICRQ message, 4 AVPs
PROTO: tunl 12469/46816: sending ICRQ to peer 22473/0
XPRT: tunl 12469: queuing tx packet, type 10, len 48, ns/nr 2/1
XPRT: tunl 12469: update ns to 3
XPRT: tunl 12469: adding packet to ackq, type 10, len 48, ns/nr 2/1
DATA: TX: tunl 12469/0: send 48 bytes to peer 82.102.129.22, packet ns/nr 2/1 type 10, retry 0
FSM: LAIC(12469/46816) state change: WAITTUNNEL --> WAITREPLY
XPRT: RX: tunl 12469/46816: len=28 ns/nr=1/3, our ns/nr=3/1, peer ns/nr=0/1
XPRT: tunl 12469: peer ns/nr is 1/3
XPRT: tunl 12469: pkt 1/1 is acked by nr 3
XPRT: tunl 12469: pkt 2/1 is acked by nr 3
DATA: RX: tunl 12469/46816: rcv 28 bytes from peer 82.102.129.22, packet ns/nr 1/3 type 0
XPRT: tunl 12469: update nr from 1 to 2
AVP: tunl 12469: ICRP message decode of 8 bytes started
AVPDATA: SESSION_ID: id=37493
PROTO: tunl 12469/46816: ICRP received from peer 22473
FSM: LAIC(12469/46816) event ICRP_ACCEPT in state WAITREPLY
AVP: tunl 12469: building ICCN message, 4 AVPs
PROTO: tunl 12469/46816: sending ICCN to peer 22473/37493
XPRT: tunl 12469: queuing tx packet, type 12, len 50, ns/nr 3/2
XPRT: tunl 12469: update ns to 4
XPRT: tunl 12469: adding packet to ackq, type 12, len 50, ns/nr 3/2
DATA: TX: tunl 12469/37493: send 50 bytes to peer 82.102.129.22, packet ns/nr 3/2 type 12, retry 0
12469/46816: starting UNIX pppd
sess 12469/46816: spawned pppd pid=2508
FSM: LAIC(12469/46816) state change: WAITREPLY --> ESTABLISHED
sess 12469/46816: pppd debug kdebug 7 mtu 1460 mru 1460 defaultroute noipdefault sync nodetach user resu password drowssap local noauth noaccomp nopcomp nobsdcomp nodeflate nopredictor1 novj novjccomp noendpoint plugin pppol2tp.so plugin openl2tp.so pppol2tp 18 pppol2tp_send_seq pppol2tp_tunnel_id 12469 pppol2tp_session_id 46816 pppol2tp_debug_mask 15
Plugin pppol2tp.so loaded.
Plugin openl2tp.so loaded.
using channel 18
Using interface ppp0
Connect: ppp0 <-->
Overriding mtu 1500 to 1460
PPPoL2TP options: sendseq tid 12469 sid 46816 debugmask 15
Overriding mru 1500 to mtu value 1460
sent [LCP ConfReq id=0x1 <mru 1460> <asyncmap 0x0> <magic 0x3e4e44da>]
rcvd [LCP ConfReq id=0x66 <mru 32725> <auth pap> <magic 0x26bfec32>]
sent [LCP ConfAck id=0x66 <mru 32725> <auth pap> <magic 0x26bfec32>]
XPRT: tunl 12469: set retry interval to 0
XPRT: RX: tunl 12469/0: len=12 ns/nr=2/4, our ns/nr=4/2, peer ns/nr=1/3
XPRT: tunl 12469: zlb ack received: ns/nr=2/4
XPRT: tunl 12469: peer ns/nr is 2/4
XPRT: tunl 12469: pkt 3/2 is acked by nr 4
XPRT: tunl 12469: send zlb ack, ns/nr=4/2
sent [LCP ConfReq id=0x1 <mru 1460> <asyncmap 0x0> <magic 0x3e4e44da>]
rcvd [LCP ConfReq id=0x67 <mru 32725> <auth pap> <magic 0x26bfec32>]
sent [LCP ConfAck id=0x67 <mru 32725> <auth pap> <magic 0x26bfec32>]
sent [LCP ConfReq id=0x1 <mru 1460> <asyncmap 0x0> <magic 0x3e4e44da>]
rcvd [LCP ConfAck id=0x1 <mru 1460> <asyncmap 0x0> <magic 0x3e4e44da>]
Overriding mtu 32725 to 1460
PPPoL2TP options: sendseq tid 12469 sid 46816 debugmask 15
sent [PAP AuthReq id=0x1 user="resu" password=<hidden>]
sent [PAP AuthReq id=0x2 user="resu" password=<hidden>]
sent [PAP AuthReq id=0x3 user="resu" password=<hidden>]
sent [PAP AuthReq id=0x4 user="resu" password=<hidden>]
sent [PAP AuthReq id=0x5 user="resu" password=<hidden>]
sent [PAP AuthReq id=0x6 user="resu" password=<hidden>]
sent [PAP AuthReq id=0x7 user="resu" password=<hidden>]
rcvd [LCP TermReq id=0x68]
LCP terminated by peer
Overriding mtu 1500 to 1460
PPPoL2TP options: sendseq tid 12469 sid 46816 debugmask 15
Overriding mru 1500 to mtu value 1460
sent [LCP TermAck id=0x68]
XPRT: RX: tunl 12469/46816: len=59 ns/nr=2/4, our ns/nr=4/2, peer ns/nr=2/4
XPRT: tunl 12469: peer ns/nr is 2/4
DATA: RX: tunl 12469/46816: rcv 59 bytes from peer 82.102.129.22, packet ns/nr 2/4 type 0
XPRT: tunl 12469: update nr from 2 to 3
AVP: tunl 12469: CDN message decode of 39 bytes started
AVPDATA: SESSION_ID: id=37493
AVPDATA: RESULT_CODE: result=1 error=0 msg=session upper removed
PROTO: tunl 12469/46816: CDN received from peer 22473
PROTO: session 12469/46816, CDN error 1/0: Call disconnected due to loss of carrier - session upper removed
FSM: LAIC(12469/46816) event CDN in state ESTABLISHED
12469/46816: stopping unix pppd pid 2508
12469/46816: cleaning UNIX pppd context
FUNC: tunl 12469/46816: holding locally created session in persistent tunnel for retry
FSM: LAIC(12469/46816) state change: ESTABLISHED --> IDLE
Terminating on signal 15
XPRT: tunl 12469: send zlb ack, ns/nr=4/3
Connection terminated.
Modem hangup


with the old kernel (2.6.34) the Auth passes and the connection is established
the kernel log: http://manoa.flnet.org/l2tp.log


Top
 Profile  
 
 Post subject: Re: unable to connect with new kernel and openl2tp 1.8
PostPosted: Thu Nov 10, 2011 10:14 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
Thanks for the detailed logs.

The client has sequence numbers enabled but the LNS seems to be replying without sequence numbers. Have you tried turning sequence numbers off at the client? Perhaps the new drivers no longer handle this case properly.

Is it possible to try other kernels between the working version and your current version to find where things broke?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group