Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 13:24:18 -0700
From:      "'Luigi Rizzo'" <rizzo@icir.org>
To:        Trish Lynch <trish@bsdunix.net>
Cc:        arch@FreeBSD.ORG
Subject:   Re: ipfw rewrite - new snapshot available
Message-ID:  <20020614132418.A3981@iguana.icir.org>
In-Reply-To: <20020614115325.L461-100000@femme.listmistress.org>; from trish@bsdunix.net on Fri, Jun 14, 2002 at 11:58:23AM -0400
References:  <20020613171319.D93980@iguana.icir.org> <20020614115325.L461-100000@femme.listmistress.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 14, 2002 at 11:58:23AM -0400, Trish Lynch wrote:
...
> Did something change with the syntax of divert rules?

yeah, a misused a variable in ipfw.c ... have fixed it, thanks.
In the meantime you can use

	ipfw add divert natd ip from any to any via fxp1

(i just tested it, it works)

	cheers
	luigi

> ipfw add divert 8668 from any to any via fxp1
> 
> returns an error, "Illegal divert/tee port"
> 
> of course this makes it difficult to use natd with it :)
> 
> (how I built: I built world and a kernel with old ipfw, then rebooted,
> backed up /sbin/ipfw and the /boot/kernel directories, then backed up
> /include/netinet/ip_fw.h and /include/netinet/ip_dummynet.h and replaced
> them with your versions, and rebuilt ipfw and the kernel with the new
> code, did I miss something?)
> 
> -Trish
> 
> --
> Trish Lynch					trish@bsdunix.net
> FreeBSD						The Power to Serve
> Ecartis Core Team				trish@listmistress.org
>                    http://www.freebsd.org
> 
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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