[Openswan Users] l2tpd error when closing a connection- Peer tried to disconnect with invalid TID

Paul Freeman paul.freeman at eml.com.au
Sun Oct 22 23:00:25 EDT 2006


Hi,

I am running openswan 2.4.6 and xl2tpd 1.0.4 (from Xelerance) on an IPCOP
1.4.11 firewall for windows XP road warrior L2TP/IPSec connections.  I have
xl2tpd listening on the internal IP address of the firewall (not the external
internet facing IP address).  The L2TP/IPSec connections work fine.

 

However, I notice in the logs I always get the following type of error when
client disconnects.  The disconnection eventually times out successfully but
I would prefer the connection to close without errors.

 

Oct 23 12:04:53 firewall l2tpd[30017]: Connection established to
xxx.xxx.xxx.xxx, 1701.  Local: 56119, Remote: 6.  LNS session is 'default'

Oct 23 12:04:54 firewall l2tpd[30017]: Call established with xxx.xxx.xxx.xxx,
Local: 62656, Remote: 1, Serial: 0

...

Oct 23 12:34:33 firewall l2tpd[30017]: control_finish: Peer tried to
disconnect with invalid TID (6 != 56119)

...

Oct 23 12:34:59 firewall l2tpd[30017]: Maximum retries exceeded for tunnel
56119.  Closing.

Oct 23 12:34:59 firewall l2tpd[30017]: Connection 6 closed to
xxx.xxx.xxx.xxx, port 1701 (Timeout)

Oct 23 12:35:04 firewall l2tpd[30017]: Unable to deliver closing message for
tunnel 56119. Destroying anyway.

 

Looking through previous posts on this topic by Jacco de Leeuw and others I
notice that the code in control.c in (x)l2tpd has been changed, swapping to
try and correct this.  However I still get the error.  Looking at the values
of the connection and tunnel ID's I notice that the connection and tunnel
ID's are switched around, hence the error message.

 

Should I be getting this error in my situation?

 

Is this a function of having xl2tpd listening on the internal IP address or
is there some other problem?

 

Regards

 

Paul

+++---+++---+++---+++---+++---+++---+++---+++---+++---+++---+++---+++
EML Consulting Services Pty Ltd            Telephone: +61 3 9836 1999
417-431 Canterbury Road                    Facsimile: +61 3 9836 0517
SURREY HILLS, VICTORIA 3127            Email: Paul.Freeman at eml.com.au
+++---+++---+++---+++---+++---+++---+++---+++---+++---+++---+++---+++ 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061023/8acdbac1/attachment.html 


More information about the Users mailing list