From owner-freebsd-bugs Wed May 10 9: 0: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7ACBF37B70E for ; Wed, 10 May 2000 09:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA67520; Wed, 10 May 2000 09:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 10 May 2000 09:00:02 -0700 (PDT) Message-Id: <200005101600.JAA67520@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: bin/18354: NATD diverts DMZ packets to firewall host Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/18354; it has been noted by GNATS. From: Ruslan Ermilov To: Charles Mott Cc: Brian Somers , goran.lowkrantz@infologigruppen.se, freebsd-gnats-submit@FreeBSD.org, Eivind Eklund , Ari Suutari Subject: Re: bin/18354: NATD diverts DMZ packets to firewall host Date: Wed, 10 May 2000 18:52:19 +0300 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii On Wed, May 10, 2000 at 09:22:39AM -0600, Charles Mott wrote: > On Wed, 10 May 2000, Ruslan Ermilov wrote: > [..] > > The question here is what to do if PKT_ALIAS_DENY_INCOMING is NOT SET! > > My opinion is that it should not be altered by libalias(3) at all. > > As of current, it is redirected (by default) to aliasAddress. > > I agree with your opinion. > Please, Brian, apply the following patch and close this PR. Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Index: alias_db.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/lib/libalias/alias_db.c,v retrieving revision 1.29 diff -u -p -r1.29 alias_db.c --- alias_db.c 2000/04/28 13:44:48 1.29 +++ alias_db.c 2000/05/10 15:48:46 @@ -2284,7 +2284,7 @@ PacketAliasInit(void) } aliasAddress.s_addr = INADDR_ANY; - targetAddress.s_addr = INADDR_NONE; + targetAddress.s_addr = INADDR_ANY; icmpLinkCount = 0; udpLinkCount = 0; Index: libalias.3 =================================================================== RCS file: /usr/FreeBSD-CVS/src/lib/libalias/libalias.3,v retrieving revision 1.30 diff -u -p -r1.30 libalias.3 --- libalias.3 2000/04/28 13:44:49 1.30 +++ libalias.3 2000/05/10 15:50:54 @@ -784,12 +784,12 @@ arrives at the host machine, it will be call to .Fn PacketAliasSetTarget . .Pp -If this function is not called, or is called with an +If this function is called with an .Dv INADDR_NONE address argument, then all new incoming packets go to the address set by .Fn PacketAliasSetAddress . .Pp -If this function is called with an +If this function is not called, or is called with an .Dv INADDR_ANY address argument, then all new incoming packets go to the address specified in the packet. --CE+1k2dSO48ffgeK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message