Re: Mapping a netwok

2004-12-25 Thread nospam-foo
On Fri, Dec 24, 2004 at 04:14:43PM +0200, naim abu darwish wrote:
 hi,
 Consider you have a network that you know nothing about. if you have
 traceroute results to and from many hosts, theoretically and map could
 be drawn to visuallise the network using common intersections. I need
 a map, and if possible a report on each machine.
 All i want to give the software is the IP's of the machines.
 If packets go through IP's i did not include in my list, I also want
 to know about them.
 Looked around but found but didn't really find anything helpfull.
 Help appreciated, thanks

Tkined and scotty can do this. You put the program on a host and tell it
to scan networks (eg. 192.168.17.0/24) or tell it to traceroute to a
particular host, then it draws up a map of the intervening networks and
known hosts. It can also do network monitoring etc.

Iirc, it's available from within apt as 'scotty'.

Enjoy,

foo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mapping a netwok

2004-12-24 Thread Marty Landman
At 09:14 AM 12/24/2004, naim abu darwish wrote:
Consider you have a network that you know nothing about. if you have
traceroute results to and from many hosts, theoretically and map could
be drawn to visuallise the network using common intersections.
Naim, this may or may not be helpful but I wrote this bash script a while 
ago to establish which ip's were active on my class C network:

The code is:
#!/bin/bash
pingEm()
{
 echo preparing pings
 for((i=1;i255;i++))
 do
 echo ping -c1 192.168.0.$i  $$/$i   pingEmAll.$$
 done
 echo start pinging
 chmod +x pingEmAll.$$  `./pingEmAll.$$`
}
findEm()
{
 for((i=1;i255;i++))
 do
 awk '/64 bytes from /' $$/$i  ans
 awk '{ print length($0) }' ans  len
 if [ `more len` ]
 then
 echo $i is on the network
 fi
 done
}
mkdir $$  pingEm
findEm
rm -r $$  rm pingEmAll.$$ ans len
echo End of story

The output looks like this:
$ ./findIps
preparing pings
start pinging
1 is on the network
3 is on the network
7 is on the network
160 is on the network
240 is on the network
End of story
$
hth,
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Mapping a netwok

2004-12-24 Thread naim abu darwish
On Fri, 24 Dec 2004 11:29:33 -0500, Marty Landman
[EMAIL PROTECTED] wrote:
 At 09:14 AM 12/24/2004, naim abu darwish wrote:
 
 Consider you have a network that you know nothing about. if you have
 traceroute results to and from many hosts, theoretically and map could
 be drawn to visuallise the network using common intersections.
 
 Naim, this may or may not be helpful but I wrote this bash script a while
 ago to establish which ip's were active on my class C network:
 
 The code is:
 
 #!/bin/bash
 
 pingEm()
 {
   echo preparing pings
   for((i=1;i255;i++))
   do
   echo ping -c1 192.168.0.$i  $$/$i   pingEmAll.$$
   done
   echo start pinging
   chmod +x pingEmAll.$$  `./pingEmAll.$$`
 }
 
 findEm()
 {
   for((i=1;i255;i++))
   do
   awk '/64 bytes from /' $$/$i  ans
   awk '{ print length($0) }' ans  len
   if [ `more len` ]
   then
   echo $i is on the network
   fi
   done
 }
 
 mkdir $$  pingEm
 findEm
 rm -r $$  rm pingEmAll.$$ ans len
 
 echo End of story
 
 
 
 The output looks like this:
 
 $ ./findIps
 preparing pings
 start pinging
 1 is on the network
 3 is on the network
 7 is on the network
 160 is on the network
 240 is on the network
 End of story
 $
 
 hth,
 
 Marty
 
 
 Marty Landman, Face 2 Interface Inc. 845-679-9387
 Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
 Web Installed Formmail: http://face2interface.com/formINSTal
 
 
Thanks Marty
I Forgot to mention that the network has routers. The main objective
is to understand the network better, and have some kind of visual aid,
like a map with the machines labeled.
Greets
-Naim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mapping a netwok

2004-12-24 Thread Steve Kemp
On Fri, Dec 24, 2004 at 07:02:52PM +0200, naim abu darwish wrote:

 Thanks Marty
 I Forgot to mention that the network has routers. The main objective
 is to understand the network better, and have some kind of visual aid,
 like a map with the machines labeled.

  cheops ?

Steve
--
www.debian-administration.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]