Date: Wed, 10 May 2000 09:00:02 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/18354: NATD diverts DMZ packets to firewall host Message-ID: <200005101600.JAA67520@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/18354; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: Charles Mott <cmott@scientech.com> Cc: Brian Somers <brian@Awfulhak.org>, goran.lowkrantz@infologigruppen.se, freebsd-gnats-submit@FreeBSD.org, Eivind Eklund <perhaps@yes.no>, Ari Suutari <ari@suutari.iki.fi> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005101600.JAA67520>
