Date: Fri, 06 Sep 1996 03:45:35 -0700 From: David Greenman <dg@root.com> To: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> Cc: freebsd-questions@freefall.freebsd.org Subject: Re: catching a ping Message-ID: <199609061045.DAA06009@root.com> 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
>> >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 That's the echo port for TCP, but this has nothing at all to do with 'ping'. Ping isn't a TCP (or UDP) application...it uses the ICMP protocol and thus doesn't involve /etc/services. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609061045.DAA06009>