RE: how to search all machines on a network.

From: YashPal Singh (
Date: 12/11/02

  • Next message: Sumit Dhar: "Re: how to search all machines on a network."
    From: YashPal Singh <>
    To: 'John Fastabend' <>
    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.

    -----Original Message-----
    From: John Fastabend []
    Sent: Tuesday, December 10, 2002 4:42 AM
    To: YashPal Singh
    Cc: ''; ''
    Subject: RE: how to search all machines on a network.


    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

    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
    > 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 []
    > 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 []
    > Sent: Saturday, December 07, 2002 2:41 AM
    > To: 'YashPal Singh'; ''
    > Cc: ''
    > Subject: RE: how to search all machines on a network.
    > Languard Network Scanner from
    > -----Original Message-----
    > From: YashPal Singh []
    > Sent: Friday, December 06, 2002 5:23 AM
    > To: ''
    > Cc: ''
    > 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
    > to So what are the different ways(pros and cons)
    > search all the machines.
    > Thanks in advance,
    > Yash


    Relevant Pages

    • Re: Can find Vista box, cant share folders or printers.
      ... When I click 'Network' on the laptop the ... I've disabled Norton and Windows firewall entirely to make sure that's not ... public folder sharing - on ... start by running the Network Setup Wizard on all machines (see ...
    • Re: XP to Vista -- only halfway there
      ... concerning networks that combine Vista and XP machines. ... I am setting up an inhouse network that links together three machines, ... by 1) a misconfigured firewall or overlooked firewall (including stateful ...
    • Re: SBS 2003 Win XP/2000 Pro Clients TCP/IP Problems
      ... network and no DHCP services provided by any machines still on the network. ... Check all machines for DNS entries. ... It really sounds like a IP Address conflict the way the server stops ... > PCs, 3 of which are running Windows XP Pro, the rest 2000 Pro. ...
    • Re: Audacity and Gentoo
      ... can only pick up radio 4 when using the TV aerial to ... I freak if my machines disagree by more than about 50 ... > ADSL cable, 2 power cables, one network ...
    • Re: Active Directory Setup Advice
      ... A domain is really an entity with a single security remit. ... seen as on the same network it will be like one big network. ... Under one domain all machines have to be unique in naming scheme. ... sub domains you can have same names under different domain. ...