Date: Mon, 5 Aug 2002 08:44:59 +0100 From: Duncan Young <duncan.young@pobox.com> To: freebsd-ipfw@freebsd.org Subject: Fwd: Re: divert not working in 4.6.1-RELEASE-p7 ??? Message-ID: <200208050844.59243.dunk@pobox.com>
next in thread | raw e-mail | index | archive | help
uname -v: FreeBSD 4.6.1-RELEASE-p7 #1: Sat Aug 3 13:55:03 BST 2002 root@toyo.int.duncanyoung.com:/usr/obj/usr/src/sys/GENERIC My apologies, I feel a little foolish :-( Thanks for the help Duncan PS I've been using BSD only for a couple of months and think most of it is execelent. I'm used to ipfilter (on solaris). I think ipfw, except for the natd stuff/divert, seems easier to use. On Sunday 04 Aug 2002 2:21 pm, Philip Reynolds wrote: > 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? ------------------------------------------------------- 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?200208050844.59243.dunk>