Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 1996 22:25:02 -0400
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
Cc:        dg@Root.COM, freebsd-questions@freefall.freebsd.org
Subject:   Re: catching a ping 
Message-ID:  <26354.842063102@orion.webspan.net>
In-Reply-To: Your message of "Fri, 06 Sep 1996 12:28:52 %2B0200." <199609061028.MAA20524@gilberto.physik.rwth-aachen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Christoph Kukulies wrote in message ID
<199609061028.MAA20524@gilberto.physik.rwth-aachen.de>:
> > >Is there a way to test if some host is pinging me in intervals?
> > >I tried systat -netstat and did a ping -c 1 <host> and the
> > >connection didn't show up (would port 7 be used in that case)
> > 
> >    Ping uses ICMP echo requests, so I don't know what you mean by "port 7".

> I meant /etc/services  echo 7/tcp

`ping' uses ICMP, not TCP or UDP. As such it doesn't use any `ports'
in the sense of a TCP port.

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26354.842063102>