Binary IPv6 Addresses

Published: 2023-10-07
Last Updated: 2023-10-07 09:37:50 UTC
by Didier Stevens (Version: 1)
0 comment(s)

Jim was inspired by my diary entry "IPv4 Addresses in Little Endian Decimal Format" to make a new tool "New tool: le-hex-to-ip.py".

His new tool takes hexadecimal input and dispays it as formatted IPv4 or IPv6 addresses. Jim's new tool inspired me to add IPv6 support to my tool format-bytes.py. This tool takes arbitrary binary input, and interprets it according to many standards and formats. IPv4 is one of them, but not IPv6.

Sequences of 16 bytes were already inerpreted as GUIDs/UUIDs (in big-endian and mixed-endian format), but now IPv6 (16N) is also displayed: big-endian (b), little-endian (l) and the format that Jim described, and that was new to me: a set of 4 consecutive, little-endian unsigned 32-bit integers (l4) (I don't know how this format is called, so I'm abbreviating it as l4: little-enian 4).

 

 

 

Didier Stevens
Senior handler
Microsoft MVP
blog.DidierStevens.com

Keywords: ipv6
0 comment(s)

Comments


Diary Archives