[Winpcap-users] target not receiving the packets

Fish fish at infidels.org
Fri Apr 18 17:24:59 GMT 2008


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

chitra .R wrote:

> Hi all,
>    
>     Thanks for your reply, I am framing the frame as
>    
>   [dstmac addr + src mac addr + type + data], i tried the type as 
> 0x0800, still I am not able to capture the packet at the target. 
> I verified for both source and destination are on the same network.
>    
>   Thanks,
>   Chitra

What is the packet payload? (the data?) An IP packet? Does it have a
correct checksum? What about TCP? Does it have a correct checksum? If
the payload (the data) is a TCP/IP packet then both the ip header and
the tcp header must both have a valid checksum or else the packet
will get rejected at the receiving end if receive checksum offloading
is enabled.

Check your adapter settings on the adapter you're trying to do the
capturing on. If receive checksum offloading is enabled on it, try
disabling it. Also, what is the size of the packet you're trying to
send? (including the 14 bytes (6+6+2) ethernet header overhead?)
AFAIK WinPCap will reject attempts to send packets longer than 1514
bytes, so if your TCP/IP packet (presuming that's what you're
sending) is larger than 1500 bytes then that too might explain why
you're never seeing it at the receiving end: because it's never
getting sent!

Hope that helps some.

- -- 
"Fish" (David B. Trout) - fish(at)infidels.org
Fight Spam! Join CAUCE! <http://www.cauce.org/>
(Any HTML email received will be deleted unread)
PGP key fingerprints:
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBSAjZakj11/TE7j4qEQJj4QCgs9e65vTDjI9wyawCwZS2g/5xDMQAoJ5M
txiy/sVUvYsQ7+eLUw5KY2lk
=Z1Tk
-----END PGP SIGNATURE-----



More information about the Winpcap-users mailing list