<?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: How to Code a Tcp Syn Port Scanner in C with Linux Sockets	</title>
	<atom:link href="https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Wed, 04 Jan 2023 00:51:19 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: jose alejandro varon carreño		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-348958</link>

		<dc:creator><![CDATA[jose alejandro varon carreño]]></dc:creator>
		<pubDate>Wed, 04 Jan 2023 00:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-348958</guid>

					<description><![CDATA[¿tienen esta version pero con winsock ?]]></description>
			<content:encoded><![CDATA[<p>¿tienen esta version pero con winsock ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: peacesheep		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-337407</link>

		<dc:creator><![CDATA[peacesheep]]></dc:creator>
		<pubDate>Sun, 22 May 2022 07:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-337407</guid>

					<description><![CDATA[Error creating socket. Error number : 93 . Error message : Protocol not supported]]></description>
			<content:encoded><![CDATA[<p>Error creating socket. Error number : 93 . Error message : Protocol not supported</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tuan Le		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-334326</link>

		<dc:creator><![CDATA[Tuan Le]]></dc:creator>
		<pubDate>Mon, 28 Mar 2022 16:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-334326</guid>

					<description><![CDATA[Thank you for posting this!
I have a problem when I send an incorrect SYN-ACK packet to receive a RST packet. But I don&#039;t receive RST packet, I checked on wireshark. What&#039;s happened to me.
Can you help me! Thank you!]]></description>
			<content:encoded><![CDATA[<p>Thank you for posting this!<br />
I have a problem when I send an incorrect SYN-ACK packet to receive a RST packet. But I don&#8217;t receive RST packet, I checked on wireshark. What&#8217;s happened to me.<br />
Can you help me! Thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: 4anonz		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-320763</link>

		<dc:creator><![CDATA[4anonz]]></dc:creator>
		<pubDate>Wed, 14 Jul 2021 21:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-320763</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-103437&quot;&gt;Steve&lt;/a&gt;.

Please I want to know why we divide the tcphdr-&#062;doff by 4.
tcph-&#062;doff = sizeof(struct tcphdr) / 4
I have read once that we should provide the exact length of the TCP header]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-103437">Steve</a>.</p>
<p>Please I want to know why we divide the tcphdr-&gt;doff by 4.<br />
tcph-&gt;doff = sizeof(struct tcphdr) / 4<br />
I have read once that we should provide the exact length of the TCP header</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hermann Stamm-Wilbrandt		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-166200</link>

		<dc:creator><![CDATA[Hermann Stamm-Wilbrandt]]></dc:creator>
		<pubDate>Sat, 25 Aug 2018 09:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-166200</guid>

					<description><![CDATA[Thank you for posting this!
10 years after you posted this I really needed to send a single SYN packet against a port for taking over video stream of a FPV drone camera. My 1st E52 drone firmware did not respond to SYN packet at all. Until yesterday I worked around the connect() hang on that port by forking each such stealth port connect. The 2nd E52 drone I got had a different firmware, wich responded with [RST, ACK] to [SYN]. There seems to be a problem with connect() since I was not able to make it send a single SYN as needed to get drone video. Instead alwazs two SYNs were sent. This is where your &quot;send single SYN&quot; od your code really was needed. I added it as 1st step to pull_video.c for 1st firmware drone and was able to get rid of the fork()s that way. Now pull_video.c does capture drone camera .h264 streak thingle threaded!
https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone/commit/ab10d132d56a3558bc7ad776826c922cba93db2a 

Next step is to use syn(target,port) to unlock 2nd E52 firmware video capturing as well, that where ports responded with [RST, ACK]. Thanks again,

Hermann.]]></description>
			<content:encoded><![CDATA[<p>Thank you for posting this!<br />
10 years after you posted this I really needed to send a single SYN packet against a port for taking over video stream of a FPV drone camera. My 1st E52 drone firmware did not respond to SYN packet at all. Until yesterday I worked around the connect() hang on that port by forking each such stealth port connect. The 2nd E52 drone I got had a different firmware, wich responded with [RST, ACK] to [SYN]. There seems to be a problem with connect() since I was not able to make it send a single SYN as needed to get drone video. Instead alwazs two SYNs were sent. This is where your &#8220;send single SYN&#8221; od your code really was needed. I added it as 1st step to pull_video.c for 1st firmware drone and was able to get rid of the fork()s that way. Now pull_video.c does capture drone camera .h264 streak thingle threaded!<br />
<a href="https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone/commit/ab10d132d56a3558bc7ad776826c922cba93db2a" rel="nofollow ugc">https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone/commit/ab10d132d56a3558bc7ad776826c922cba93db2a</a> </p>
<p>Next step is to use syn(target,port) to unlock 2nd E52 firmware video capturing as well, that where ports responded with [RST, ACK]. Thanks again,</p>
<p>Hermann.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amir		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-148276</link>

		<dc:creator><![CDATA[Amir]]></dc:creator>
		<pubDate>Fri, 22 Dec 2017 15:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-148276</guid>

					<description><![CDATA[Hi 
I’m really thankful ….
Could you send me a complete code for Fin scan  ack scan  syn scan connect scan
Thank you very much.]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
I’m really thankful ….<br />
Could you send me a complete code for Fin scan  ack scan  syn scan connect scan<br />
Thank you very much.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: srj		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-136116</link>

		<dc:creator><![CDATA[srj]]></dc:creator>
		<pubDate>Fri, 20 Oct 2017 02:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-136116</guid>

					<description><![CDATA[Haven&#039;t run the program, but it doesn&#039;t seem to stop !!
lines 232 - 235 are never reached! :/]]></description>
			<content:encoded><![CDATA[<p>Haven&#8217;t run the program, but it doesn&#8217;t seem to stop !!<br />
lines 232 &#8211; 235 are never reached! :/</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-103437</link>

		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Mon, 23 Jan 2017 23:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-103437</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-100384&quot;&gt;bob&lt;/a&gt;.

Those are warnings, not errors. If you copy and pasted correctly, everything should work fine.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-100384">bob</a>.</p>
<p>Those are warnings, not errors. If you copy and pasted correctly, everything should work fine.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bob		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-100384</link>

		<dc:creator><![CDATA[bob]]></dc:creator>
		<pubDate>Fri, 16 Dec 2016 22:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-100384</guid>

					<description><![CDATA[im getting this error when compiling:

PortScanner.c: In function ‘receive_ack’:
PortScanner.c:189:5: warning: implicit declaration of function ‘start_sniffer’ [-Wimplicit-function-declaration]
     start_sniffer();
     ^~~~~~~~~~~~~
PortScanner.c: In function ‘start_sniffer’:
PortScanner.c:232:5: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
     close(sock_raw);
     ^~~~~]]></description>
			<content:encoded><![CDATA[<p>im getting this error when compiling:</p>
<p>PortScanner.c: In function ‘receive_ack’:<br />
PortScanner.c:189:5: warning: implicit declaration of function ‘start_sniffer’ [-Wimplicit-function-declaration]<br />
     start_sniffer();<br />
     ^~~~~~~~~~~~~<br />
PortScanner.c: In function ‘start_sniffer’:<br />
PortScanner.c:232:5: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]<br />
     close(sock_raw);<br />
     ^~~~~</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mizmor		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-65870</link>

		<dc:creator><![CDATA[Mizmor]]></dc:creator>
		<pubDate>Tue, 03 Dec 2013 15:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-65870</guid>

					<description><![CDATA[Thank you so much! This is the best tutorial out there!]]></description>
			<content:encoded><![CDATA[<p>Thank you so much! This is the best tutorial out there!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Simba		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-65740</link>

		<dc:creator><![CDATA[Simba]]></dc:creator>
		<pubDate>Tue, 01 Oct 2013 13:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-65740</guid>

					<description><![CDATA[does (struct ip) == (struct iphdr) ?  and exit(0) -&#062; exit(1)?  
in function start_sniffer(), when we break from while(1), shall we free(buffer)?]]></description>
			<content:encoded><![CDATA[<p>does (struct ip) == (struct iphdr) ?  and exit(0) -&gt; exit(1)?<br />
in function start_sniffer(), when we break from while(1), shall we free(buffer)?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mohammad Yasin		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-62688</link>

		<dc:creator><![CDATA[Mohammad Yasin]]></dc:creator>
		<pubDate>Fri, 21 Dec 2012 21:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-62688</guid>

					<description><![CDATA[Hi ... 
I&#039;m really thankful .... 
I have to give a &quot;humble&quot; lecture about Port Scanning  , it&#039;s an activity in &quot;Network Programming&quot; in C and java ...
this blog is very useful, and very close to our study in this field ...
wish I can help you one day ... :)]]></description>
			<content:encoded><![CDATA[<p>Hi &#8230;<br />
I&#8217;m really thankful &#8230;.<br />
I have to give a &#8220;humble&#8221; lecture about Port Scanning  , it&#8217;s an activity in &#8220;Network Programming&#8221; in C and java &#8230;<br />
this blog is very useful, and very close to our study in this field &#8230;<br />
wish I can help you one day &#8230; :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Binary Tides		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-30607</link>

		<dc:creator><![CDATA[Binary Tides]]></dc:creator>
		<pubDate>Fri, 09 Dec 2011 14:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-30607</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-108&quot;&gt;??&lt;/a&gt;.

linux code has been posted]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-108">??</a>.</p>
<p>linux code has been posted</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ??		</title>
		<link>https://www.binarytides.com/tcp-syn-portscan-in-c-with-linux-sockets/comment-page-1/#comment-108</link>

		<dc:creator><![CDATA[??]]></dc:creator>
		<pubDate>Fri, 19 Dec 2008 03:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=19#comment-108</guid>

					<description><![CDATA[I &#039;m really admire your simple and logic roadmap about &quot;Tcp Syn Portscan &quot;.&lt;br/&gt;I  desire of the project sourcecode,because a simple test.&lt;br/&gt;Could you send me (jinxinliu@gmail.com).I&#039;m very  appreciate for that,It will be a great thanks.Thank you.]]></description>
			<content:encoded><![CDATA[<p>I &#8216;m really admire your simple and logic roadmap about &#8220;Tcp Syn Portscan &#8220;.<br />I  desire of the project sourcecode,because a simple test.<br />Could you send me (jinxinliu@gmail.com).I&#8217;m very  appreciate for that,It will be a great thanks.Thank you.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
