From owner-freebsd-questions Fri Sep 6 19:25:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA21209 for questions-outgoing; Fri, 6 Sep 1996 19:25:29 -0700 (PDT) Received: from orion.webspan.net (root@orion.webspan.net [206.154.70.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA21201 for ; Fri, 6 Sep 1996 19:25:27 -0700 (PDT) Received: from localhost (gpalmer@localhost [127.0.0.1]) by orion.webspan.net (8.7.5/8.6.12) with SMTP id WAA26357; Fri, 6 Sep 1996 22:25:02 -0400 (EDT) X-Authentication-Warning: orion.webspan.net: Host gpalmer@localhost [127.0.0.1] didn't use HELO protocol To: Christoph Kukulies cc: dg@Root.COM, freebsd-questions@freefall.freebsd.org From: "Gary Palmer" Subject: Re: catching a ping In-reply-to: Your message of "Fri, 06 Sep 1996 12:28:52 +0200." <199609061028.MAA20524@gilberto.physik.rwth-aachen.de> Date: Fri, 06 Sep 1996 22:25:02 -0400 Message-ID: <26354.842063102@orion.webspan.net> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 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