<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>i cant think &#187; hping2</title>
	<atom:link href="http://wan.pengganas.net/tag/hping2/feed/" rel="self" type="application/rss+xml" />
	<link>http://wan.pengganas.net</link>
	<description>a personal blog belong to mohammad azwan bin ali. you can find his writing about his life, thoughts , linux tips &#38; tricks, programming and many more</description>
	<lastBuildDate>Fri, 23 Jul 2010 13:44:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>check host uptime with hping2</title>
		<link>http://wan.pengganas.net/entry/check-host-uptime-with-hping2/</link>
		<comments>http://wan.pengganas.net/entry/check-host-uptime-with-hping2/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 22:36:59 +0000</pubDate>
		<dc:creator>azwan ali</dc:creator>
				<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[hping2]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://wan.pengganas.net/entry/check-host-uptime-with-hping2/</guid>
		<description><![CDATA[here's some trick to find a host uptime beside using nmap type this command in your terminal/console (whatever you call it) $ hping2 host -p portnumber -S --tcp-timestamp where host is the ip/hostname of a machine you want to check and portnumber is the open port on remote machine. oh, you be root in order [...]]]></description>
			<content:encoded><![CDATA[<p>here's some trick to find a host uptime beside using nmap</p>
<p>type this command in your terminal/console (whatever you call it)</p>
<p>$ hping2 <span style="font-weight: bold">host</span> -p <span style="font-weight: bold">portnumber</span> -S --tcp-timestamp</p>
<p>where host is the ip/hostname of a machine you want to check and portnumber is the open port on remote machine.</p>
<p>oh, you be root in order to use that command.</p>
<p>here's some example how it gonna work, scanning my college wireless gateway uptime.</p>
<pre>novatech@bagiro:~$ sudo hping2 10.10.15.250 -p 443 -S --tcp-timestamp</pre>
<pre>HPING 10.10.15.250 (eth1 10.10.15.250): S set, 40 headers + 0 data bytes</pre>
<pre>len=56 ip=10.10.15.250 ttl=64 id=1 sport=443 flags=SA seq=0 win=8192 rtt=161.5 ms</pre>
<pre>  TCP timestamp: tcpts=986124</pre>
<pre>len=56 ip=10.10.15.250 ttl=64 id=1 sport=443 flags=SA seq=1 win=8192 rtt=196.2 ms</pre>
<pre>  TCP timestamp: tcpts=986126</pre>
<pre>  HZ seems hz=2</pre>
<pre><span style="font-weight: bold">  System uptime seems: 5 days, 16 hours, 57 minutes, 43 seconds</span></pre>
<p>shit, uptime are 5days ++ but i can only use internet in the morning.</p>
<p>note : i use port 443 since it's the only port opened on the gateway. that's all for today's lesson. see ya</p>
<p style="font-weight: bold">get windows version of hping2 at http://wiki.hping.org/86</p>
]]></content:encoded>
			<wfw:commentRss>http://wan.pengganas.net/entry/check-host-uptime-with-hping2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
