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 avai

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-sendi

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 http://aspn.activestate.com/ASPN/Cookbook/Python/R

Detecting computers on network

2005-07-22 Thread Sandeep Arya
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,

Re: Detecting computers on network

2005-07-22 Thread Sybren Stuvel
Peter Tillotson enlightened us with: > 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. That's not going to work on a switched networ

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 something

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 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 pr

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

Detecting computers on network

2005-07-21 Thread Sandeep Arya
Hello dear I had sent my earlier queries regarding same topic. However just to be more specific this time.. I just wann try to detect that if there are some ip address in a list of some ip address alive or not. How can i do this? Shall i try to connect them and check that my connection is wor