This is a discussion on is host exist within the Linux Networking forums, part of the Linux Forums category; How can i test if host exist, when host doesn't response for ping ? -- pozdr.;) ~xEM...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Sun, 08 Feb 2004 12:07:48 +0000, xEM wrote:
> How can i test if host exist, when host doesn't response for ping ? If you know what services are running on it (you can scan it with nmap), you can "ping" a specific port using hping (or rather hping2) Cheers Horror Vacui |
|
|||
|
On 2004-02-08, Horror Vacui <vacuihorror@gmx.net> wrote:
> > If you know what services are running on it (you can scan it with nmap), > you can "ping" a specific port using hping (or rather hping2) > > Cheers > Horror Vacui Yes, that's working :) So.. when i don't know services... ? -- pozdr.;) ~xEM |
|
|||
|
"xEM" <me@o2.pl> wrote in message news:slrnc2c9kn.23p.me@192.168.1.5... > How can i test if host exist, when host doesn't response for ping ? > See if an ARP entry appears for it in /proc/arp Of course some other machine might answer for it. (how likely is that ? ) |
|
|||
|
Kurt <kurt@noemail.com> wrote:
> "xEM" <me@o2.pl> wrote in message news:slrnc2c9kn.23p.me@192.168.1.5... >> How can i test if host exist, when host doesn't response for ping ? > See if an ARP entry appears for it in /proc/arp > Of course some other machine might answer for it. (how likely is that ? ) A bigger problem is when the machine is in a different subnet. Then you won't see any ARP requests for that particular machine. -- Cameron Kerr cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/ Empowered by Perl! |
|
|||
|
xEM <me@o2.pl> wrote:
> How can i test if host exist, when host doesn't response for ping ? If you mean the ping is timing out, then the presence of the timeout should tell you that the host is not responding (or is dropping your ping packets). Using a UDP ping may be useful also. Otherwise, your kinda screwed (unless the host is in the some subnet, in which case you can solicit an ARP request (ping -c1 IP &)) -- Cameron Kerr cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/ Empowered by Perl! |
|
|||
|
"xEM" <me@o2.pl> a écrit dans le message de news:slrnc2dhd1.ib.me@192.168.1.5... > On 2004-02-08, Horror Vacui <vacuihorror@gmx.net> wrote: > > Yes, that's working :) > So.. when i don't know services... ? > > -- > pozdr.;) > ~xEM With nmap, you can scan the open ports : nmap -sT adress |
|
|||
|
On Mon, 09 Feb 2004 11:00:19 +0000, tibo wrote:
> nmap -sT adress ITYM 'nmap -sT -P0 host.name.or.ip' -- nmap normally tries to ping the host first. -- Some say the Wired doesn't have political borders like the real world, but there are far too many nonsense-spouting anarchists or idiots who think that pranks are a revolution. |