If I have a packet sending out from a LAN, can I find out which computer in the LAN sending out this packet?
Does this out going packet contains source information such as MAC address?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://www.ietf.org/rfc/rfc2464.txt
Read section 3, “Frame Format”. Each frame has a source Ethernet address, aka MAC address. All you need to do is read the memory at that offset. This is for IPv6, check out IPv4 here: http://www.ietf.org/rfc/rfc791.txt (see section 3, “Specification”)