Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 23:22:26 -0400
From:      "fbsd" <fbsd@a1poweruser.com>
To:        "Daniel Bye" <freebsd-questions@slightlystrange.org>, <freebsd-questions@freebsd.org>
Subject:   RE: ipfw
Message-ID:  <MIEPLLIBMLEEABPDBIEGGENJHEAA.fbsd@a1poweruser.com>
In-Reply-To: <20060415030207.GD47768@catflap.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
you are wrong in giving this guy incorrect info.
ipfw can be run just by adding correct statement to rc.conf
it does not have to be compiled into kernel
maybe you should read the firewall section first before giving
advice

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Daniel Bye
Sent: Friday, April 14, 2006 11:02 PM
To: freebsd-questions@freebsd.org
Subject: Re: ipfw


On Sat, Apr 15, 2006 at 05:46:34AM -0700, nirvana - Cityshells.NET
wrote:
> Hello,
> when i type ipfw show/list i got this error msg
> ipfw: getsockopt(IP_FW_GET): Protocol not available
>
> how i can let ipfw work.
> Thanks

You need to recompile your kernel with the following options:

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=1000

(Change the value for IPFIREWALL_VERBOSE_LIMIT to suit your own
needs).

You also need to read the ipfw man page, and the bit of the handbook
about ipfw at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-
ipfw.html

HTH,

Dan

--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622
166A

_
                                              ASCII ribbon campaign
( )
                                         - against HTML, vCards and
X
                                - proprietary attachments in e-mail
/ \




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGGENJHEAA.fbsd>