Date: Sun, 4 Aug 2002 13:21:13 +0000 From: Philip Reynolds <philip.reynolds@rfc-networks.ie> To: freebsd-ipfw@freebsd.org Subject: Re: divert not working in 4.6.1-RELEASE-p7 ??? Message-ID: <20020804132113.C3361@rfc-networks.ie> In-Reply-To: <20020804131809.B3361@rfc-networks.ie>; from philip.reynolds@rfc-networks.ie on Sun, Aug 04, 2002 at 01:18:09PM %2B0000 References: <200208041047.04043.duncan.young@pobox.com> <20020804131809.B3361@rfc-networks.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
Philip Reynolds <philip.reynolds@rfc-networks.ie> 27 lines of wisdom included: > Duncan Young <duncan.young@pobox.com> 21 lines of wisdom included: > > Hi all, > > > > I did have ipfw working fine, but since a recent patch upgrade I am getting > > the following error when I add my divert rules: > > > > i.e. from the command line: > > > > toyo# ipfw 2000 add divert natd all from any to any in via sis0 > > ipfw: getsockopt(IP_FW_ADD): Invalid argument > > > > Has anyone any idea's on why it's occurring? > > > > Any suggestions would be appreciated. > > Are you sure you are not using the loadable module of IPFW which > does not support divert sockets. > > Just in case, double check that kldstat does _not_ show ipfw.ko Sorry for replying to my own mail, but the two lines you should have in your configuration for divert sockets are: options IPFIREWALL options IPDIVERT Make sure you are running your custom kernel and not GENERIC (``uname -v'') Is it purely the divert lines which are failing. Also, what patch upgrade did you do, and what version of FreeBSD are you running? -- Philip Reynolds | Technical Director philip.reynolds@rfc-networks.ie | RFC Networks Ltd. http://www.rfc-networks.ie | +353 (0)1 8832063 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020804132113.C3361>