Skip to content
/ tlv Public

A toolkit for working with TLV (Type-Length-Value) objects and TLV object List.

License

Notifications You must be signed in to change notification settings

Akagi201/tlv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLV

GoDoc

TLV is the representative of type-length-value.

It might be found in a binary file format or a network protocol.

Brief

One TLV Object:

 1 Byte   4 Bytes  $Length Bytes
+-------+---------+-------------+
| Type  | Length  |    Value    |
+-------+---------+-------------+

Serial TLV Objects:

 1 Byte   4 Bytes  $Length Bytes 1 Byte   4 Bytes  $Length Bytes
+-------+---------+-------------+-------+---------+-------------+
| Type  | Length  |    Value    | Type  | Length  |    Value    | ...
+-------+---------+-------------+-------+---------+-------------+

Embedded TLV Objects:

 1 Byte   4 Bytes          $Length Bytes
                   1 Byte   4 Bytes  $Length Bytes
+-------+---------+-------+---------+-------------+
| Type  | Length  | Type  | Length  |    Value    |
+-------+---------+-------+---------+-------------+

Wireshark Plugin

  • Put wssdl and tlv.lua to ~/.config/wireshark/plugins
  • The UDP port 8327 will be decoded as tlv protocol.

About

A toolkit for working with TLV (Type-Length-Value) objects and TLV object List.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published