Security Basics mailing list archives

RE: how to search all machines on a network.


From: YashPal Singh <ysingh () quark co in>
Date: Wed, 11 Dec 2002 12:06:57 +0530

Hi All, 
Thanks a lot to all of you for so much info.You all suggested many good
tools which even i have not used yet. We decided to use nmap as reinventing
the wheel is not of much use and our task can be done by nmap.

Thanks a lot again.
Yash


-----Original Message-----
From: John Fastabend [mailto:jfastabe () up edu]
Sent: Tuesday, December 10, 2002 4:42 AM
To: YashPal Singh
Cc: 'ssgill () gilltechnologies com'; 'security-basics () securityfocus com'
Subject: RE: how to search all machines on a network.


Singh,

This is how I would do this though it is probably not the easiest nor the 
best.  First it depends on what language your doing this in.  In perl I 
could see it being possible to use a loop, incrementing the ip addressing 
and pinging the host to see if it is alive.  Then if it is alive add it to 
an array if it isn't dont.  If you are in C I would imagine the best idea 
would be to create a similiar loop sending a ping packet (I would use the 
libnet library to do this, but that is just because I am lazy) and using 
libpcap to analyze the reply echo_host_reply or host_unreachable. Then do 
what ever you want to with this.  Thats how I would do this hopefully it 
helps some.

John Fastabend
jfastabe () up edu


On Mon, 9 Dec 2002, YashPal Singh wrote:

Thanks a lot for so much info. But i m sorry i missed something. I have to
do it programmatically. Tools are very good. but i have to include it in
my
code. So should i rely on my DNS zone files, arp caches or broadcast
ping..or is there something better where i have less chances of error.
Sorry and thanks a lot again.
Yash

-----Original Message-----
From: Sarbjit Singh Gill [mailto:ssgill () gilltechnologies com]
Sent: Saturday, December 07, 2002 8:43 AM
To: 'YashPal Singh'
Subject: RE: how to search all machines on a network.


I would recommend this too..

-----Original Message-----
From: Matt Schaelling [mailto:mschaelling () cricketcommunications com]
Sent: Saturday, December 07, 2002 2:41 AM
To: 'YashPal Singh'; 'security-basics () securityfocus com'
Cc: 'vikask () in niksun com'
Subject: RE: how to search all machines on a network.


Languard Network Scanner from www.gfi.com

-----Original Message-----
From: YashPal Singh [mailto:ysingh () quark co in]
Sent: Friday, December 06, 2002 5:23 AM
To: 'security-basics () securityfocus com'
Cc: 'vikask () in niksun com'
Subject: how to search all machines on a network.


Hi All,

How we can search all the alive machines on the network. Say my network is
10.60.0.0 to 10.60.255.255. So what are the different ways(pros and cons)
to
search all the machines.

Thanks in advance,
Yash


.


Current thread: