<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Raw socket programming on windows with Winpcap	</title>
	<atom:link href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Sat, 01 Aug 2020 10:50:45 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: paul		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-114900</link>

		<dc:creator><![CDATA[paul]]></dc:creator>
		<pubDate>Fri, 14 Apr 2017 23:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-114900</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65545&quot;&gt;anon&lt;/a&gt;.

line error:
seudo = new unsigned char(sizeof P_HDR + strlen(dump));

correct:

seudo = new unsigned char[sizeof P_HDR + strlen(dump)];  // type *p =  new type[ size ];]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65545">anon</a>.</p>
<p>line error:<br />
seudo = new unsigned char(sizeof P_HDR + strlen(dump));</p>
<p>correct:</p>
<p>seudo = new unsigned char[sizeof P_HDR + strlen(dump)];  // type *p =  new type[ size ];</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: paul		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-114539</link>

		<dc:creator><![CDATA[paul]]></dc:creator>
		<pubDate>Tue, 11 Apr 2017 01:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-114539</guid>

					<description><![CDATA[nice code thank you for share your knowledge!
exists a coding error on line 170 main.cpp

seudo = new unsigned char(sizeof P_HDR + strlen(dump)); 

correct:
seudo = new unsigned char[sizeof P_HDR + strlen(dump)];

thank you!!!]]></description>
			<content:encoded><![CDATA[<p>nice code thank you for share your knowledge!<br />
exists a coding error on line 170 main.cpp</p>
<p>seudo = new unsigned char(sizeof P_HDR + strlen(dump)); </p>
<p>correct:<br />
seudo = new unsigned char[sizeof P_HDR + strlen(dump)];</p>
<p>thank you!!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kenhero		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-85918</link>

		<dc:creator><![CDATA[kenhero]]></dc:creator>
		<pubDate>Sat, 25 Jun 2016 09:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-85918</guid>

					<description><![CDATA[Hi,
i&#039;m building on MSVS 2013 on Win10 and i have some run time errors:
the first is in adatper.cpp

HINSTANCE hDll = LoadLibrary((LPCWSTR)&quot;iphlpapi.dll&quot;);

hDll == NULL  and then 
GetAdaptersInfo = (pgetadaptersinfo)GetProcAddress(hDll,&quot;GetAdaptersInfo&quot;);

GetAdaptersInfo = NULL too!!!

Suggestions?Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
i&#8217;m building on MSVS 2013 on Win10 and i have some run time errors:<br />
the first is in adatper.cpp</p>
<p>HINSTANCE hDll = LoadLibrary((LPCWSTR)&#8221;iphlpapi.dll&#8221;);</p>
<p>hDll == NULL  and then<br />
GetAdaptersInfo = (pgetadaptersinfo)GetProcAddress(hDll,&#8221;GetAdaptersInfo&#8221;);</p>
<p>GetAdaptersInfo = NULL too!!!</p>
<p>Suggestions?Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: uzi		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-66093</link>

		<dc:creator><![CDATA[uzi]]></dc:creator>
		<pubDate>Sat, 12 Apr 2014 23:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-66093</guid>

					<description><![CDATA[Excellent tutorial  ! Thank you]]></description>
			<content:encoded><![CDATA[<p>Excellent tutorial  ! Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anonym		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65580</link>

		<dc:creator><![CDATA[anonym]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 08:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-65580</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65579&quot;&gt;Silver Moon&lt;/a&gt;.

the port 8000 is not open. i check it with open ports 139 and 445. but again don&#039;t receive SYN/ACK. i check wireshark report on both client and server. (also firewall and anti virus is disabled on both.)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65579">Silver Moon</a>.</p>
<p>the port 8000 is not open. i check it with open ports 139 and 445. but again don&#8217;t receive SYN/ACK. i check wireshark report on both client and server. (also firewall and anti virus is disabled on both.)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Silver Moon		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65579</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 08:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-65579</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65578&quot;&gt;anonym&lt;/a&gt;.

the packet is being sent to destination port 8000
check if port 8000 is open on the remote server. this can be done using telnet
telnet server_name 8000


If the remote port is not open, no syn+ack reply would come.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65578">anonym</a>.</p>
<p>the packet is being sent to destination port 8000<br />
check if port 8000 is open on the remote server. this can be done using telnet<br />
telnet server_name 8000</p>
<p>If the remote port is not open, no syn+ack reply would come.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anonym		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65578</link>

		<dc:creator><![CDATA[anonym]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 07:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-65578</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65577&quot;&gt;Silver Moon&lt;/a&gt;.

the syn packet is sent and ip and tcp checksums are correct. here is the output and the wireshark report on this packet:]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65577">Silver Moon</a>.</p>
<p>the syn packet is sent and ip and tcp checksums are correct. here is the output and the wireshark report on this packet:</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Silver Moon		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65577</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 06:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-65577</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65576&quot;&gt;anonym&lt;/a&gt;.

verify the syn packet sent out using wireshark.
ensure that the ip and tcp checksum of the packet is correct as reported by wireshark.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65576">anonym</a>.</p>
<p>verify the syn packet sent out using wireshark.<br />
ensure that the ip and tcp checksum of the packet is correct as reported by wireshark.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anonym		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65576</link>

		<dc:creator><![CDATA[anonym]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 05:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-65576</guid>

					<description><![CDATA[Thank you for the excellent code!

I run it. it send syn flood to my server. But server does not send back any SYN/ACK. Any idea? Please...]]></description>
			<content:encoded><![CDATA[<p>Thank you for the excellent code!</p>
<p>I run it. it send syn flood to my server. But server does not send back any SYN/ACK. Any idea? Please&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anon		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-65545</link>

		<dc:creator><![CDATA[anon]]></dc:creator>
		<pubDate>Thu, 20 Jun 2013 11:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-65545</guid>

					<description><![CDATA[I have downloaded the source code, but it gives an fault message on the following lines (especially: P_HDR: Unexpected type)

unsigned char *seudo;
seudo = new unsigned char(sizeof P_HDR + strlen(dump));
memcpy(seudo, &#038;pseudo_header, sizeof P_HDR);
memcpy(seudo + sizeof P_HDR , data , strlen(dump));

I hope somebody can help me out?]]></description>
			<content:encoded><![CDATA[<p>I have downloaded the source code, but it gives an fault message on the following lines (especially: P_HDR: Unexpected type)</p>
<p>unsigned char *seudo;<br />
seudo = new unsigned char(sizeof P_HDR + strlen(dump));<br />
memcpy(seudo, &amp;pseudo_header, sizeof P_HDR);<br />
memcpy(seudo + sizeof P_HDR , data , strlen(dump));</p>
<p>I hope somebody can help me out?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Marshall Katelansky		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-57343</link>

		<dc:creator><![CDATA[Dave Marshall Katelansky]]></dc:creator>
		<pubDate>Fri, 02 Nov 2012 21:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-57343</guid>

					<description><![CDATA[Somebody (Anonymous) posted that they aren&#039;t getting anything in Wireshark. I modified the example code for basic_dump, an example program that comes with the WinPcap developer package. I have basic_dump producing all the info I need to know if this program or any network program can send packets or not. I didn&#039;t get anything from a Linux system (using a raw socket program) or Windows XP (using this program). I tried this this program on Windows 2000 and it worked. Try running on Windows 2000 or earlier.]]></description>
			<content:encoded><![CDATA[<p>Somebody (Anonymous) posted that they aren&#8217;t getting anything in Wireshark. I modified the example code for basic_dump, an example program that comes with the WinPcap developer package. I have basic_dump producing all the info I need to know if this program or any network program can send packets or not. I didn&#8217;t get anything from a Linux system (using a raw socket program) or Windows XP (using this program). I tried this this program on Windows 2000 and it worked. Try running on Windows 2000 or earlier.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Binary Tides		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-30669</link>

		<dc:creator><![CDATA[Binary Tides]]></dc:creator>
		<pubDate>Sun, 11 Dec 2011 14:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-30669</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-90&quot;&gt;Anonymous&lt;/a&gt;.

Is there any firewall like zonealarm running ? Firewalls will tend to block such packets.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-90">Anonymous</a>.</p>
<p>Is there any firewall like zonealarm running ? Firewalls will tend to block such packets.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Binary Tides		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-30667</link>

		<dc:creator><![CDATA[Binary Tides]]></dc:creator>
		<pubDate>Sun, 11 Dec 2011 12:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-30667</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-105&quot;&gt;moeloek&lt;/a&gt;.

source code link is now working.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-105">moeloek</a>.</p>
<p>source code link is now working.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alexander The Great		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-29047</link>

		<dc:creator><![CDATA[Alexander The Great]]></dc:creator>
		<pubDate>Mon, 10 Oct 2011 12:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-29047</guid>

					<description><![CDATA[Thanks!]]></description>
			<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: AlexIzeld		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-18924</link>

		<dc:creator><![CDATA[AlexIzeld]]></dc:creator>
		<pubDate>Thu, 28 Apr 2011 16:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-18924</guid>

					<description><![CDATA[Still usefull after all this time .... thanks alot]]></description>
			<content:encoded><![CDATA[<p>Still usefull after all this time &#8230;. thanks alot</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: moeloek		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-105</link>

		<dc:creator><![CDATA[moeloek]]></dc:creator>
		<pubDate>Mon, 01 Dec 2008 10:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-105</guid>

					<description><![CDATA[Hi, I try to get your full source code, but I can&#039;t open the link that you gave]]></description>
			<content:encoded><![CDATA[<p>Hi, I try to get your full source code, but I can&#8217;t open the link that you gave</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-90</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Fri, 10 Oct 2008 00:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-90</guid>

					<description><![CDATA[It says its sending, but nothing is picked up by wireshark...]]></description>
			<content:encoded><![CDATA[<p>It says its sending, but nothing is picked up by wireshark&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-89</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Tue, 07 Oct 2008 17:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-89</guid>

					<description><![CDATA[thanks alot :D i&#039;ve been looking for something like this for a long time :P :)]]></description>
			<content:encoded><![CDATA[<p>thanks alot :D i&#8217;ve been looking for something like this for a long time :P :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-85</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Sun, 05 Oct 2008 02:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-85</guid>

					<description><![CDATA[Hmm maybe I can use this to make a nice winpcap class. Thanks again.]]></description>
			<content:encoded><![CDATA[<p>Hmm maybe I can use this to make a nice winpcap class. Thanks again.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.binarytides.com/raw-sockets-packets-with-winpcap/comment-page-1/#comment-84</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Sun, 05 Oct 2008 02:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=20#comment-84</guid>

					<description><![CDATA[I can&#039;t believe how easy you made this look. You should write some networking tutorials. Thanks heaps for this guide it&#039;s amazing.]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe how easy you made this look. You should write some networking tutorials. Thanks heaps for this guide it&#8217;s amazing.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
