Forum: Ruby Listing of hosts in a LAN or domain name group?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
gga (Guest)
on 2007-06-21 08:57
(Received via mailing list)
What's the preferred ruby way of listing hosts in a LAN or within a
domain group?

In particular, I am interested in 4 things:
   - Listing all connected hosts in a LAN / domain group (assuming
there could be some hosts
     that appear and disappear, like wifi hosts -- ie. not just /etc/
hosts ).
  - Listing all hosts with a particular condition (say, allowing
authenticated ssh connections).
  - Avoiding any hosts that are not in a trusted group (say,
iptables).
  - Doing it fast.

I'm interested in Linux, mainly, but if the solution is multiplatform,
the better.
This topic is locked and can not be replied to.