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

Paul Wouters paul at xelerance.com
Mon Oct 23 11:45:44 EDT 2006


On Mon, 23 Oct 2006, Paul Freeman wrote:

> I am running openswan 2.4.6 and xl2tpd 1.0.4 (from Xelerance) on an IPCOP

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

I will have a look at this. Did switching the arguments make your log entries
go away?

> Should I be getting this error in my situation?

The error shouldn't be there, but currently we do get the error and ignore it.

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

No, that has nothing to do with it.

Paul


More information about the Users mailing list