From owner-freebsd-questions@FreeBSD.ORG Wed Jul 28 21:59:02 2004 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 743C616A4CE for ; Wed, 28 Jul 2004 21:59:02 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB92543D58 for ; Wed, 28 Jul 2004 21:59:00 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a156.otenet.gr [212.205.215.156]) i6SLwngS024139; Thu, 29 Jul 2004 00:58:49 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.11/8.12.11) with ESMTP id i6SKoRgi088495; Wed, 28 Jul 2004 23:50:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.11/8.12.11/Submit) id i6SKoReF088488; Wed, 28 Jul 2004 23:50:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 28 Jul 2004 23:50:27 +0300 From: Giorgos Keramidas To: bsd hack Message-ID: <20040728205027.GA76905@gothmog.gr> References: <20040728190254.82842.qmail@web21522.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040728190254.82842.qmail@web21522.mail.yahoo.com> cc: freebsd-questions@freebsd.org Subject: Re: Kernel Options 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: Wed, 28 Jul 2004 21:59:02 -0000 On 2004-07-28 12:02, bsd hack wrote: > > I have the following quetions: > (1) There are a few options that are not available in the default > kernel... like the IPFIREWALL options(and the like)... I basically need to > know all possible options I can add to the kernel config file! Try reading these: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > (2) I guess these options can be used to set the kernel variables > accessible through the sysctl command. So can I create my own options so > that I can set a few kernel variables as and when I build the custom > kernel? I don't think so. Read the Handbook sections I posted above for details. > (3) and also my aim includes optimizing the kernel... so by enabling > only the options I need to I should get a get optimization... is there > anything else that can be done? If security is what concerns you, the Handbook has also this chapter: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security.html There also many online articles that deal with the issue of security on a BSD system. Google will reveal dozens of them, but here's a starting pointer just to get you going: http://www.onlamp.com/pub/ct/13 Cheers, Giorgos