[Olsr-dev] OLSRv2 packetbb parser
Henning Rogge
(spam-protected)
Wed Sep 17 22:00:26 CEST 2008
On Wed, Sep 17, 2008 at 20:37, Ulrich Herberg
<(spam-protected)> wrote:
> Sounds great! I have written a dissector for Wireshark that uses my Java
> packetbb implementation via Java Native Interface. I will create a patch for
> wireshark and put it on my webpage.
I have finished a first prototype of the packetbb-reader. Just
checkout the latest tip of
http://gredler.at/hg/olsrd-packetbb/
and compile it with "make".
You can start the reader with
./bin/packetbb -f ./olsrv2_dump.dat
(see "./bin/packetbb -h" for other options).
It will produce an output like this (for each packet in the capture
file or captured from a live interface):
Packet total length: 93 bytes PacketBB-Payload: 51 bytes
0000: 0830f305 f000300a 00000201 00386200 081e1001 58231001 64028003 0a000003
0020: 01001002 30000001 01023001 01010205 200000
Packet: (sequence number 12531) {
Message 5 origaddr: 10.0.0.2 hoplimit 1 hopcount 0 seqnr 14434 {
TLV 30: 0000: 58
TLV 35: 0000: 64
Address: 10.0.0.3 {
TLV 2: 0000: 01
TLV 5:
}
Address: 10.0.0.1 {
TLV 2: 0000: 02
}
}
}
Henning
--
"Wo kämen wir hin, wenn alle sagten, wo kämem wir hin, und niemand
ginge, um einmal zu schauen, wohin man käme, wenn man ginge." (Kurt
Marti)
More information about the Olsr-dev
mailing list