Re: Discover machines on local network



dk wrote:
Is there a quick and simple way to discover what machines might be connected
on a local network? This is actually for a plot point in a novel I'm
writing.

A character breaks into a server room. She can see 10 servers in a rack plus
a desktop machine. The desktop machine is running Linux. What's the easiest
way for her to discover the IP of that machine? (I assume she's not got
root access, so can't run ifconfig). And what's the easiest way to find the
IPs of the other machines? Nmap? Just pinging addresses in the same range
as the desktop machine? Or is there an easier way?


Since asking in a Suse group, try multicast :-)
Won't work for Windows by default!

ping 224.0.0.1 gives all (linux) hosts on network


--
For network on local host
/sbin/ifconfig -a

gives all there is to tell being non-root.

--

However if you have 10 servers in a rack and a desktop computer
used for monitoring, the servers may not be connected to the desktop using IP addresses.

Servers often have their console redirected to the serial console (*), thus the desktop computer may run 10 minicoms one attached to each server.

If one of the minicom sessions is left with a login session open -
you either need to allow it to be a root session or know the root/administrator password for the server in question.

This will be a very sloppy securety level for production servers.
However not unlikely in developement/testing networks as these often
are disconnected from any other networks.

../Preben
(*) Do not know if this applies to Window based servers!



As on how to "down" a server being non root:
You might get away with running a fork bomb, but this leaves
evidence...

You can have her doing omething like....

$cat fork_bomb1

#!/bin/bash

sleep (seconds need to get away)

../fork_bomb2
rm fork_bomb1



$cat fork_bomb2

#!/bin/bash

../fork_bomb2 &

while 1; do
sleep 1
done


---
This will _not_ down your machine, but if you have skills, you figure out what needs to be changed to "down" a machine as intended....

Please do not post a working script, no need to give away ammo away for the clueless.


../Preben





.



Relevant Pages

  • Re: Dcidag errors
    ... Port blockage between servers ... Other sorts of networking issues (lack of connectivity between the points ... These errors are typically a result of a network connectivity issue of some ... > replicating this nc. ...
    (microsoft.public.windows.server.active_directory)
  • Re: I need Job Blobb
    ... > Windows and Network administratation. ... > In a job I would like to administrate servers, ... > Title: ISP Network Administrator ... > o Building, installation, configuration and tuning ...
    (microsoft.public.cert.exam.mcse)
  • Re: I need Job Blobb
    ... > Windows and Network administratation. ... > In a job I would like to administrate servers, ... > Title: ISP Network Administrator ... > o Building, installation, configuration and tuning ...
    (microsoft.public.cert.exam.mcse)
  • Re: A question about capacity planning and scalability [2]...
    ... and this will be modeled as a Jackson network like this: ... We know for an M/M/c queue that: ... try to add servers with almost the same hardware ...
    (comp.programming.threads)
  • Event Viewer Networking Connectivity
    ... What we need is a very solid working network. ... Here's what lead up to this scenario of BDC replacement. ... On the corporate side I can see our servers. ... Registration of the DNS record ...
    (microsoft.public.windows.server.networking)