Wireshark-dev: Re: [Wireshark-dev] Internet Protocol: Header checksum BAD:True
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 24 Nov 2009 08:25:47 -0500

http://wiki.wireshark.org/CaptureSetup/Offloading

- Chris

 

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Rach, Darshan
Sent: Tuesday, November 24, 2009 8:16 AM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Internet Protocol: Header checksum BAD:True

 

Hi,

 

I have developed a C# application like this.

 

public static void Main()

{

UdpClient sock = new UdpClient();

      IPEndPoint iep = new IPEndPoint(IPAddress.Parse("10.201.234.112"), 32773);

      int discarded;

      byte[] data = "" style='color:teal'>HexEncoding.GetBytes("000300250000feca676574766f642e636f6de7424d5f3136313100000e10001505424d5f313631315f776974685f747261696c6f7200000edf090edc055468657265206172652074776f20726561736f6e7320666f722069742e20536865206c656674204d756d62616920616e642053616c6d616e204b68616e2077697468207468652070726f6d6973652074686174206865722062697274686461792074686973207965617220776f756c642073747269636c747920626520612066616d696c79206166666169722e204120667269656e64206f6620746865206269727468646179206769726c20736169642c20537570706f736520736865206d61646520616e20657863657074696f6e206a757374206265636175736520627564647920416b736861792077617320696e204c6f6e64", out discarded);

      sock.Send(data, data.Length, iep);

}

 

When I send packets this way, I am getting an exception when I sniff through Wireshark.

 

<snip>

 

Kindly let me know what might have gone wrong?

 

Regards,

Darshan

CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.