to find out whether a host is alive in a n/w

March 7, 2010 at 14:51:25
Specs: Windows Vista, 1gb
hi,
I need to develop an application whose
purpose is to discover and represent all the
devices in any network.
requirements:
1. The application should discover devices
based on the given IP address range.
2. Can use ICMP ping for discovering
devices, However it should also discover
devices which doesn’t have ICMP enabled.
My doubts are:
1.what does ICMP disabled means?how to find
out whether the device is ICMP enabled or
disabled ?
2.which port of the host is scanned to see
whether the host is alive?
3.which port does ping utility scan?
4.the techniques to discover a host in a
network which has ICMP disabled?
please guide me.

See More: to find out whether a host is alive in a n/w

Report •


#1
March 7, 2010 at 17:25:59
http://www.hping.org/download.html

hping3 maybe what you want. It's a unix command line programs but there is a windows version on that site for download. It's G zipped, so make sure you can unpack it.

Let's say you ping a host & get no response due to ICMP being disabled or blocked, you can run hping3 -8 1-30 IP-address & that port scan the first 30 ports. You can changed that to any ports you want. The point is, it will tell if the host is running or not. There are many other options.

How do you know when a politician is lying? His mouth is moving.


Report •

#2
March 8, 2010 at 07:15:19
I was going to say, you're reinventing the wheel here. There are already plenty of port scanners available on the internet.

A word of caution though. Aside from being an important network tool, they are used by hackers and most external sites watch for port scan's as they're a potential threat. I wouldn't recommend scanning anything on the internet with them.


Report •

#3
March 13, 2010 at 04:36:59
hey... thanks for replying..
but i stil have a doubt..which port does the ping scan in a
system to check whether it is alive or no..
does it scan a single port or a group of ports..?..

Report •

Related Solutions

#4
March 13, 2010 at 05:55:27
Ping doesn't scan any ports.

You do realize that you could google stuff like this and find the information too right?

Humor me and go to www.google.com and search the following string: how does ping work

Google is your friend.


Report •

#5
March 13, 2010 at 05:55:56
ICMP does not use ports.

How do you know when a politician is lying? His mouth is moving.


Report •

Ask Question