[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    [Wireshark-dev] Internet Protocol: Header checksum BAD:True
From:       "Rach, Darshan" <DarshanR () nds ! com>
Date:       2009-11-24 13:28:00
Message-ID: B62CF7DC92D6EF4E9E7C7D3155F3ACAC3D05CC0413 () INMA1 ! in ! nds ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 = HexEncoding.GetBytes("000300250000feca676574766f642e636f6de7424d5f \
3136313100000e10001505424d5f313631315f776974685f747261696c6f7200000edf090edc0554686572 \
65206172652074776f20726561736f6e7320666f722069742e20536865206c656674204d756d6261692061 \
6e642053616c6d616e204b68616e2077697468207468652070726f6d697365207468617420686572206269 \
7274686461792074686973207965617220776f756c642073747269636c747920626520612066616d696c79 \
206166666169722e204120667269656e64206f6620746865206269727468646179206769726c2073616964 \
2c20537570706f736520736865206d61646520616e20657863657074696f6e206a757374206265636175736520627564647920416b736861792077617320696e204c6f6e64", \
out discarded);  sock.Send(data, data.Length, iep);
}

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

[cid:image001.png@01CA6D36.5DADC010]

Kindly let me know what might have gone wrong?

Regards,
Darshan

________________________________
This message is confidential and intended only for the addressee. If you have \
received this message in error, please immediately notify the postmaster@nds.com and \
delete it from your system as well as any copies. The content of e-mails as well as \
traffic data may be monitored by NDS for employment and security purposes. To protect \
the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:p="urn:schemas-microsoft-com:office:powerpoint" \
xmlns:a="urn:schemas-microsoft-com:office:access" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" \
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" \
xmlns:b="urn:schemas-microsoft-com:office:publisher" \
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" \
xmlns:odc="urn:schemas-microsoft-com:office:odc" \
xmlns:oa="urn:schemas-microsoft-com:office:activation" \
xmlns:html="http://www.w3.org/TR/REC-html40" \
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" \
xmlns:Repl="http://schemas.microsoft.com/repl/" \
xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" \
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" \
xmlns:ppda="http://www.passport.com/NameSpace.xsd" \
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" \
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" \
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" \
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" \
xmlns:udc="http://schemas.microsoft.com/data/udc" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" \
xmlns:ec="http://www.w3.org/2001/04/xmlenc#" \
xmlns:sp="http://schemas.microsoft.com/sharepoint/" \
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" \
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" \
xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" \
xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" \
xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" \
xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" \
xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" \
xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" \
xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" \
xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" \
xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" \
xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" \
xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" \
xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have developed a C# application like this.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:&quot;Courier New&quot;;color:blue"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;
font-family:&quot;Courier New&quot;;color:blue">public</span><span \
style="font-size:10.0pt; font-family:&quot;Courier New&quot;">
<span style="color:blue">static</span> <span style="color:blue">void</span> \
Main()<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt; font-family:&quot;Courier New&quot;">{<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:.5in;text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;;color:teal">UdpClient</span><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> sock = <span \
style="color:blue">new</span> <span \
style="color:teal">UdpClient</span>();<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:teal">IPEndPoint</span> \
iep = <span style="color:blue">new</span> <span \
style="color:teal">IPEndPoint</span>(<span \
style="color:teal">IPAddress</span>.Parse(<span \
style="color:maroon">&quot;10.201.234.112&quot;</span>), \
32773);<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt; font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue">int</span> \
discarded;<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue">byte</span>[] data \
= <span style="color:teal">HexEncoding</span>.GetBytes(<span \
style="color:maroon">&quot;000300250000feca676574766f642e636f6de7424d5f3136313100000e1 \
0001505424d5f313631315f776974685f747261696c6f7200000edf090edc0554686572652061726520747 \
76f20726561736f6e7320666f722069742e20536865206c656674204d756d62616920616e642053616c6d6 \
16e204b68616e2077697468207468652070726f6d697365207468617420686572206269727468646179207 \
4686973207965617220776f756c642073747269636c747920626520612066616d696c79206166666169722 \
e204120667269656e64206f6620746865206269727468646179206769726c20736169642c20537570706f7 \
36520736865206d61646520616e20657863657074696f6e206a757374206265636175736520627564647920416b736861792077617320696e204c6f6e64&quot;</span>,
 <span style="color:blue">out</span> discarded);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sock.Send(data, data.Length, \
iep);<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">}<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">When I send packets this \
way, I am getting an exception when I sniff through Wireshark.<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><img width="1024" \
height="738" id="Picture_x0020_1" \
src="cid:image001.png@01CA6D36.5DADC010"><o:p></o:p></span></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">Kindly let me know what \
might have gone wrong?<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Darshan<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This message is confidential and intended \
only for the addressee. If you have received this message in error, please \
immediately notify the postmaster@nds.com and delete it from your system as well as \
any copies. The  content of e-mails as well as traffic data may be monitored by NDS \
for employment and security purposes.<br> To protect the environment please do not \
print this e-mail unless necessary.<br> <br>
An NDS Group Limited company. www.nds.com<br>
</font>
</body>
</html>


["image001.png" (image/png)]

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
--===============6775850362997608972==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic