Re: Detecting computers on network

2005-07-24 Thread Marek Kubica
Hello! On Fri, 22 Jul 2005 10:32:04 -0600 Sandeep Arya wrote: Sybren.. Does nmap is available on every systems? I tried on my linux fc4 machine in user previleage. it was not working. Does this just belongs to superuser... I'm not Sybren, but I think I'm able to respond. nmap is only

Re: Detecting computers on network

2005-07-22 Thread Sybren Stuvel
linuxfreak enlightened us with: How about sending an ICMP echo packet to your broadcast address and checking which hosts send a reply Won't work on all boxes. Windows boxes ignore broadcast pings, for example. I'd go for a call to nmap -sP instead, and filter it's output. Sybren -- The

Re: Detecting computers on network

2005-07-22 Thread linuxfreak
How about sending an ICMP echo packet to your broadcast address and checking which hosts send a reply -- http://mail.python.org/mailman/listinfo/python-list

Re: Detecting computers on network

2005-07-22 Thread Peter Tillotson
You could use a sniffer in promiscuous mode. pypcap -- or something like. This will record every packet seen by your network card. Whether is will work depends on whether you are on a true braodcast network. if a box is on and completely inactive you'll never see it, but most boxes do

Detecting computers on network

2005-07-22 Thread Sandeep Arya
. it was not working. Does this just belongs to superuser... Is there any other way ? Can just socket.connect or sendto help me? I.E. their return valuess... Sandeep From: Sybren Stuvel [EMAIL PROTECTED] To: python-list@python.org Subject: Re: Detecting computers on network Sent: Friday, July 22, 2005 1:59

Re: Detecting computers on network

2005-07-22 Thread gene tani
Hi Sandeep, i didn't see where you said if these hosts you want to ping are on your internal network, or beyond your gateway. Probably the only truly reliable way to maintain an active hosts list is to install a ping-sending client on them, like

Re: Detecting computers on network

2005-07-22 Thread Cameron Laird
In article [EMAIL PROTECTED], gene tani [EMAIL PROTECTED] wrote: Hi Sandeep, i didn't see where you said if these hosts you want to ping are on your internal network, or beyond your gateway. Probably the only truly reliable way to maintain an active hosts list is to install a ping-sending client

Re: Detecting computers on network

2005-07-21 Thread linuxfreak
How about sending an ICMP echo packet to your broadcast address and checking which hosts send a reply -- http://mail.python.org/mailman/listinfo/python-list