From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 21:23:47 2005 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 A008216A4CE for ; Thu, 27 Jan 2005 21:23:47 +0000 (GMT) Received: from rogers.com (CPE00095bf5ff21-CM000f9f578d7a.cpe.net.cable.rogers.com [70.24.145.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0069643D46 for ; Thu, 27 Jan 2005 21:23:46 +0000 (GMT) (envelope-from gbell72@gardnerbell.ca) Received: from gardnerbell.ca (localhost [127.0.0.1]) by rogers.com (8.13.1/8.13.1) with ESMTP id j0RLLFk1015464 for ; Thu, 27 Jan 2005 16:21:15 -0500 (EST) (envelope-from gbell72@gardnerbell.ca) Received: (from gbell72@localhost) by gardnerbell.ca (8.13.1/8.13.1/Submit) id j0RLLAPg015463 for freebsd-questions@freebsd.org; Thu, 27 Jan 2005 16:21:10 -0500 (EST) (envelope-from gbell72) Date: Thu, 27 Jan 2005 16:21:10 -0500 From: Gardner Bell To: freebsd-questions@freebsd.org Message-ID: <20050127212110.GA15371@gardnerbell.ca> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Improving System Security 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, 27 Jan 2005 21:23:47 -0000 I normally run in securelevel 1 and according to the securelevel manual page not even root can change system immutable file flags. What I would like to do is set the schg and sappnd flags on as many system binaries as possible to improve security somewhat should my firewall get hacked. Question is, will I still be able to rebuild world in securelevel 1 without running into all sorts of errors due to schg being set? Is there an easier and more efficient way of improving the security of a firewall or is this about my best bet. I've read the sections on MAC in the FreeBSD handbook but I'm afraid I'd end up locking myself out if I were to go this route as I don't understand enough about MAC as of yet. Thanks Gardner