From owner-cvs-all Thu Jan 10 7:39:54 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6F0FB37B423; Thu, 10 Jan 2002 07:39:23 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0AFckE24858; Thu, 10 Jan 2002 17:38:46 +0200 (EET) (envelope-from ru) Date: Thu, 10 Jan 2002 17:38:46 +0200 From: Ruslan Ermilov To: Julian Elischer Cc: Robert Watson , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ipfw ipfw.8 Message-ID: <20020110173846.D98225@sunbay.com> References: <200201030100.g0310NQ98239@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 03, 2002 at 12:56:05AM -0800, Julian Elischer wrote: > However this is NOT TRUE if you use the same sockaddr > because the source address is encoded into the > 8 bytes after the address. > > (This is documented in the divert man page I believe) > Yes. > you can also SET the source address by encoding the bytes there yourself. > I believe NATD keeps this information but I may be wrong. > Also true. Robert, could you please explain what you have seen wrong with natd(8) in more details, or back your change out? In any case, I believe this sort of explanation belongs into the divert(4) manpage. > On Wed, 2 Jan 2002, Robert Watson wrote: > > > rwatson 2002/01/02 17:00:23 PST > > > > Modified files: > > sbin/ipfw ipfw.8 > > Log: > > o Note that packets diverted using a 'divert' socket, and then > > reinserted by a userland process, will lose a number of packet > > attributes, including their source interface. This may affect > > the behavior of later rules, and while not strictly a BUG, may > > cause unexpected behavior if not clearly documented. A similar > > note for natd(8) might be desirable. > > > > Revision Changes Path > > 1.100 +9 -0 src/sbin/ipfw/ipfw.8 Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message