From owner-freebsd-ipfw Sun Aug 4 5:17:15 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA72037B400 for ; Sun, 4 Aug 2002 05:17:13 -0700 (PDT) Received: from relay02.esat.net (relay02.esat.net [192.111.39.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF08143E65 for ; Sun, 4 Aug 2002 05:17:12 -0700 (PDT) (envelope-from phil@ipac.ie) Received: from ipac-gw.cr001.ddm.esat.net (mail.rfc-networks.ie) [193.95.188.30] by relay02.esat.net with esmtp id 17bKJm-0006yC-00; Sun, 04 Aug 2002 13:17:06 +0100 Received: from tear.domain (unknown [10.0.1.254]) by mail.rfc-networks.ie (Postfix) with ESMTP id 1C08F54834 for ; Sun, 4 Aug 2002 12:21:04 +0100 (IST) Received: by tear.domain (Postfix, from userid 1000) id 631E121146; Sun, 4 Aug 2002 13:18:09 +0000 (GMT) Date: Sun, 4 Aug 2002 13:18:09 +0000 From: Philip Reynolds To: freebsd-ipfw@freebsd.org Subject: Re: divert not working in 4.6.1-RELEASE-p7 ??? Message-ID: <20020804131809.B3361@rfc-networks.ie> Reply-To: philip.reynolds@rfc-networks.ie References: <200208041047.04043.duncan.young@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208041047.04043.duncan.young@pobox.com>; from duncan.young@pobox.com on Sun, Aug 04, 2002 at 10:47:04AM +0100 X-Operating-System: FreeBSD 4.6-STABLE X-URL: http://www.rfc-networks.ie Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Duncan Young 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 -- 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