Originally posted by justjake
I'll give you some hints:
man page on ethereal or tcpdump on "unprintable" for correlation with the "." characters you see when converting the Hex vales of the MAC address to "ASCII" that you see printed.
[It seems the don't use "unprintable" in either manpage. The "." character is used to represent any unprintable ASCII character after conversion from decimal. This is The default behavior for many network sniffing tools. Just because you see"." as the ASCII equivalnet of a hex/dec value does not mean that the hex/dec imal value is really a "."]
Next, a question for you to consider to answer this question on your own:
Would you consider converting each octet of an IP Address to ASCII? Why do the same for a MAC Address?
If you had to consider the "type" of an octet of an IP Address, which datatype would you choose to represent it if you ignored isses of use of memory for each?
unsigned integer, character, boolean, string?
I imagine that there is a very simple answer for this such as "it just does, or its discarded, or the actual value in ascii doesn't really matter, as long as you have the actual mac address" which is fine, (and I'm thinking its probably the latter), and if that's the case, then I just move forward and continue the learning of packet analysis.
And on a side note, while talking with Mr. Google on various DNS sample packets, I did see some links pointing to crafting some malformed packets for crashing tcpdump and the like, so I'm glad I'm using a firewall and testing on my home network.
Comment