From owner-freebsd-net@FreeBSD.ORG Wed Apr 27 17:23:13 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF1EE16A4CE for ; Wed, 27 Apr 2005 17:23:13 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88B0743D48 for ; Wed, 27 Apr 2005 17:23:13 +0000 (GMT) (envelope-from cristjc@comcast.net) Received: from goku.cjclark.org (c-24-6-187-112.hsd1.ca.comcast.net[24.6.187.112]) by comcast.net (rwcrmhc12) with ESMTP id <2005042717231301400kvehce>; Wed, 27 Apr 2005 17:23:13 +0000 Received: from goku.cjclark.org (localhost. [127.0.0.1]) by goku.cjclark.org (8.13.3/8.12.8) with ESMTP id j3RHN6Js026753 for ; Wed, 27 Apr 2005 10:23:07 -0700 (PDT) (envelope-from cristjc@comcast.net) Received: (from cjc@localhost) by goku.cjclark.org (8.13.3/8.13.1/Submit) id j3RHN59q026752 for freebsd-net@freebsd.org; Wed, 27 Apr 2005 10:23:05 -0700 (PDT) (envelope-from cristjc@comcast.net) X-Authentication-Warning: goku.cjclark.org: cjc set sender to cristjc@comcast.net using -f Date: Wed, 27 Apr 2005 10:23:04 -0700 From: "Crist J. Clark" To: freebsd-net@freebsd.org Message-ID: <20050427172304.GA26712@goku.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-URL: http://people.freebsd.org/~cjc/ Subject: PPP-layer Echo X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Crist J. Clark" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 17:23:13 -0000 I want to do something rather simple, but a quick look at documentation ("man ppp") didn't give me an answer, and I'm rather pressed for time. All I want to do is send an echo-request and listen for the echo-reply at the PPP layer. Note that I am talking about pings _at the link layer,_ not IP layer pings. A quick look at the ppp(8) manpage didn't seem to indicate any tools for sending or receiving PPP-layer echoes. If ppp(8) doesn't have the ability, does anyone have any other _simple_ suggestions for doing this (e.g. dunno if it's worth writing a netgrap(4) node for this unless its really simple)? (BTW, support for PPP-layer echoes seems to be required by RFC1661. Anyone know to what extent real-world PPP implementations really handle them correctly?) -- Crist J. Clark | cjclark@alum.mit.edu