|
-
July 3rd, 2013, 04:09 AM
#4
Re: WinPCap packet sending
 Originally Posted by kenaneo
YESS!!!!
I fixed the problem!!!
I just added Ethernet header with my mac addres and type of 0x0800 and destination mac filled with -1 (broadcast?! - ff ff ff ff ff ff)!!
I was able to capture the packet using Winshark and with other packet sniffers and they detected packet is ICMP echo request!!
But this packet was not being transmitted to destination IP address in IP header. Why?
I realized destination mac in Ethernet was wrong. I sniffed this address in other ICMP request and I replaced previous address with this new one...
Packet was successfully sent to destination IP and the client responded (echo replay)!!
My question is what is this destination mac address and how to obtain it? Is it the mac address of my gateway or what?
Please help,
thanks
I use winpcap too,
but I have a problem:
Packet was successfully sent to destination IP but the client didn't respond (echo replay)!!
Can you help me?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|