From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 14:51:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75A1937B401 for ; Thu, 3 Jul 2003 14:51:13 -0700 (PDT) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A798244034 for ; Thu, 3 Jul 2003 14:51:12 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: from wopr.caltech.edu (localhost.caltech.edu [127.0.0.1]) by wopr.caltech.edu (8.12.9/8.12.8) with ESMTP id h63LpBb9024983; Thu, 3 Jul 2003 14:51:11 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.12.9/8.12.3/Submit) id h63LpAlw024982; Thu, 3 Jul 2003 14:51:10 -0700 (PDT) Date: Thu, 3 Jul 2003 14:51:10 -0700 From: Matthew Hunt To: K Anderson Message-ID: <20030703215110.GA24901@wopr.caltech.edu> References: <3F049A3D.3040104@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F049A3D.3040104@comcast.net> User-Agent: Mutt/1.5.1i cc: Nucking Futs cc: freebsd-questions@freebsd.org Subject: Re: Disable PING command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 21:51:13 -0000 On Thu, Jul 03, 2003 at 02:03:57PM -0700, K Anderson wrote: > Good luck. All it takes is a user to port, transfere, compile, copy, > move or hack in a ping command of their own. Any languages could be > used, PERL, PHP, Python and much more. Well, it takes that along with making their copy SUID root, which they presumably can't do. wopr:~$ sudo chmod u-s /sbin/ping wopr:~$ ping wopr ping: socket: Operation not permitted wopr:~$ sudo chmod u+s /sbin/ping wopr:~$ ping wopr PING wopr.caltech.edu (131.215.103.10): 56 data bytes 64 bytes from 131.215.103.10: icmp_seq=0 ttl=64 time=0.240 ms -- Matthew Hunt * Science rules. http://www.pobox.com/~mph/ *