From owner-freebsd-questions Thu Sep 5 08:24:23 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA23861 for questions-outgoing; Thu, 5 Sep 1996 08:24:23 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA23855 for ; Thu, 5 Sep 1996 08:24:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id IAA04413; Thu, 5 Sep 1996 08:24:09 -0700 (PDT) Message-Id: <199609051524.IAA04413@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Christoph Kukulies cc: freebsd-questions@freefall.FreeBSD.org Subject: Re: catching a ping In-reply-to: Your message of "Thu, 05 Sep 1996 17:17:44 +0200." <199609051517.RAA17829@gilberto.physik.rwth-aachen.de> From: David Greenman Reply-To: dg@root.com Date: Thu, 05 Sep 1996 08:24:09 -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Is there a way to test if some host is pinging me in intervals? >I tried systat -netstat and did a ping -c 1 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". You could use netstat -s and look at the ICMP echo requests/replies stat. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project