Anyone out there have a straightforward tutorial on packet analyzing? I have been trying to wrap my mind around this thing and cannot seem to understand it. The library im using is winPcap and I get an unsigned char* for incoming data. The ethernet header is in the first 48 bits? The first bit designates Individual or Group Addressing and the second bit is Globally or Locally Administered Address. And then there is 46-bit address.
I'm missing something because I don't know where I am to get the Destination address, Source address, Ether type and IP.
I also do not understand is the packets coming in are ordered left to right LSB first.
1337
is coming in as
8CCE ?
or
C8EC ?
I know each packet is way more than 48 bits so im guessing im goin to be going into the rest of the unsigned char*.
help

I'm missing something because I don't know where I am to get the Destination address, Source address, Ether type and IP.
I also do not understand is the packets coming in are ordered left to right LSB first.
does this mean that:Each octet of each address field shall be transmitted least significant bit first.
1337
is coming in as
8CCE ?
or
C8EC ?
I know each packet is way more than 48 bits so im guessing im goin to be going into the rest of the unsigned char*.
help


Last edited: