From owner-freebsd-questions@FreeBSD.ORG Mon Oct 25 14:35:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02B5E106564A for ; Mon, 25 Oct 2010 14:35:54 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD27C8FC16 for ; Mon, 25 Oct 2010 14:35:53 +0000 (UTC) Received: by gya6 with SMTP id 6so2145908gya.13 for ; Mon, 25 Oct 2010 07:35:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.162.209 with SMTP id m17mr1634450hbd.10.1288017349390; Mon, 25 Oct 2010 07:35:49 -0700 (PDT) Received: by 10.220.202.77 with HTTP; Mon, 25 Oct 2010 07:35:48 -0700 (PDT) X-Originating-IP: [128.95.133.23] In-Reply-To: References: Date: Mon, 25 Oct 2010 07:35:48 -0700 Message-ID: From: Rob Farmer To: Chetan Shukla Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" Subject: Re: how to disable SCTP kernel in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2010 14:35:54 -0000 On Mon, Oct 25, 2010 at 07:11, Chetan Shukla wrote: > Hi, > How we can disable SCTP kernel in FreeBSD. > I tried lsmod and kldstat but neither of them worked. lsmod is a linux command and kldstat shows modules that are loaded. In the GENERIC kernel SCTP is compiled in, so it won't show up this way unless you run kldstat -v (and it can't be unloaded since there's no module). I'm not familiar with SCTP, but I bet you can shut it off/control it with sysctl (assuming it does anything by default). To completely delete support for it will require building a custom kernel. -- Rob Farmer