[Olsr-users] Missing mandatory TLV 25 in extension 256

Mika Rajala (spam-protected)
Thu Feb 25 09:48:14 CET 2016


Well, I don’t know how much better I can try to describe the issue than this message I already sent, did you read this one?

> dlep_session.c : 742
> checks that I gave all mandatory TLVs in my session initialization response.
> dlep_session.c : 933
> fails when it doesn't find the TLV 25 for extension 256.
>
> My session initialization message doesn't have the Supported extensions TLV in it, here's my packet in octet form: ( I copied this from a hexdump of the traffic)
>
> 00 04 00 42			// Header, Message code 4, length 66 octets
> 00 05 00 02 00 0a 		// Heartbeat interval 10 seconds
> 00 0c 00 08 00 00 00 00 00 01 c2 00	// max recv bitrate 115200
> 00 0d 00 08 00 00 00 00 00 01 c2 00 	// max send bitrate 115200
> 00 0e 00 08 00 00 00 00 00 00 00 00 	// current recv bitrate 0
> 00 0f 00 08 00 00 00 00 00 00 00 00 	// current sendbitrate 0
> 00 10 00 08 00 00 00 00 00 0f 42 40 	// latency 1000000 microseconds

That is one message, I just broke it into lines to make it easy to read.

I suppose that dlep_radio should read the extensions I support from my Session Init Response Message, but I can't find that.

Maybe it's because mine doesn't have the "Supported Extensions" tlv with an empty list?

I'm using 0.10 or something, maybe this has already been fixed?

By barebones, I mean a one that implements only the mandatory fields and nothing more. I do think that It's likely that my implementation does it wrong.

-mika

-----Original Message-----
From: Henning Rogge [mailto:(spam-protected)] 
Sent: 25. helmikuuta 2016 10:34
To: Mika Rajala <(spam-protected)>
Cc: (spam-protected)
Subject: Re: [Olsr-users] Missing mandatory TLV 25 in extension 256

On Tue, Feb 23, 2016 at 10:09 AM, Mika Rajala <(spam-protected)> wrote:
> Hi
>
> It seems that the "hotwire" method of removing those two initialization lines works. Can you tell me if there is going to be trouble later?

I have a little bit trouble reproducing the problem with my own DLEP radio code.

I disabled the two extension in the DLEP radio (and on a second test in the DLEP router) and in both cases I just got a normal handshake

(without the additional metrics of course)

> Can I find a barebones example of DLEP modem somewhere?
>
> I don't consider the included dlep_radio as barebones.

What do you mean with "barebone" ?

Henning


More information about the Olsr-users mailing list