From owner-freebsd-hackers Wed May 8 11:52:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 5EFD937B40A for ; Wed, 8 May 2002 11:52:22 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020508185222.VTZK25765.rwcrmhc54.attbi.com@blossom.cjclark.org>; Wed, 8 May 2002 18:52:22 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g48IqLj94902; Wed, 8 May 2002 11:52:21 -0700 (PDT) (envelope-from cjc) Date: Wed, 8 May 2002 11:52:21 -0700 From: "Crist J. Clark" To: Miguel Mendez Cc: hackers@FreeBSD.ORG Subject: Re: extra sanity check in modules Message-ID: <20020508115221.E94469@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020508171635.A50078@energyhq.homeip.net> <20020508111607.C94469@blossom.cjclark.org> <20020508203130.A50402@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020508203130.A50402@energyhq.homeip.net>; from flynn@energyhq.homeip.net on Wed, May 08, 2002 at 08:31:30PM +0200 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 08, 2002 at 08:31:30PM +0200, Miguel Mendez wrote: > On Wed, May 08, 2002 at 11:16:07AM -0700, Crist J. Clark wrote: > > > What does it gain you? If someone can modify the foo.ko, they can > > modify the foo.ko.md5. What does making foo.ko.md5 immutable do that > > that just making foo.ko immutable wouldn't? > > Hmmm, okay, so what if the md5 data is stored in a read only place? Why not store the modules there? > I wasn't > only thinking about security here, I was also thinking about a way to > avoid loading a module in case somehow it became corrupted. In that case, you might just be better off putting a checksum in the module itself. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message