<?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: Packet Sniffer Code in C using Linux Sockets (BSD)</title>
	<atom:link href="http://www.binarytides.com/blog/packet-sniffer-code-in-c-using-linux-sockets-bsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binarytides.com/blog/packet-sniffer-code-in-c-using-linux-sockets-bsd/</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 17:45:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: guddu</title>
		<link>http://www.binarytides.com/blog/packet-sniffer-code-in-c-using-linux-sockets-bsd/comment-page-1/#comment-3513</link>
		<dc:creator>guddu</dc:creator>
		<pubDate>Tue, 20 Jul 2010 10:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=48#comment-3513</guid>
		<description>@sumit

The above program will work if you edit the statement
 sock_raw = socket(AF_INET , SOCK_RAW , IPPROTO_TCP); to 
 sock_raw = socket(AF_INET , SOCK_RAW , IPPROTO_UDP);

(atleast in my case it was working)
but there&#039;s still a bug
it just filters out the UDP Packets.
also if anyone can help me with how to enable timestamp option in IP packets</description>
		<content:encoded><![CDATA[<p>@sumit</p>
<p>The above program will work if you edit the statement<br />
 sock_raw = socket(AF_INET , SOCK_RAW , IPPROTO_TCP); to<br />
 sock_raw = socket(AF_INET , SOCK_RAW , IPPROTO_UDP);</p>
<p>(atleast in my case it was working)<br />
but there&#8217;s still a bug<br />
it just filters out the UDP Packets.<br />
also if anyone can help me with how to enable timestamp option in IP packets</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumit</title>
		<link>http://www.binarytides.com/blog/packet-sniffer-code-in-c-using-linux-sockets-bsd/comment-page-1/#comment-3406</link>
		<dc:creator>Sumit</dc:creator>
		<pubDate>Wed, 14 Jul 2010 09:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=48#comment-3406</guid>
		<description>hi
i have bee trying to run the above c program in my system but its not working. Though the compilation is done with some warnings but the execution gets stuck.Log file is created but its blank.
i want to know if i am doing it right way or some other steps are involved.
the program doesn&#039;t ask any port address to sniff data from.

Please help
Thank you</description>
		<content:encoded><![CDATA[<p>hi<br />
i have bee trying to run the above c program in my system but its not working. Though the compilation is done with some warnings but the execution gets stuck.Log file is created but its blank.<br />
i want to know if i am doing it right way or some other steps are involved.<br />
the program doesn&#8217;t ask any port address to sniff data from.</p>
<p>Please help<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bari</title>
		<link>http://www.binarytides.com/blog/packet-sniffer-code-in-c-using-linux-sockets-bsd/comment-page-1/#comment-144</link>
		<dc:creator>bari</dc:creator>
		<pubDate>Thu, 28 May 2009 12:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=48#comment-144</guid>
		<description>pleas have you a windows version of sniffer&lt;br /&gt;&lt;br /&gt;badr-bari@hotmail.com</description>
		<content:encoded><![CDATA[<p>pleas have you a windows version of sniffer</p>
<p><a href="mailto:badr-bari@hotmail.com">badr-bari@hotmail.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
