From rfg@monkeys.com  Fri Sep 15 13:48:26 2000
Return-Path: <rfg@monkeys.com>
Received: from monkeys.com (236.dsl9226.rcsis.com [63.92.26.236])
	by hub.freebsd.org (Postfix) with ESMTP id BB54037B43E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Sep 2000 13:48:25 -0700 (PDT)
Received: (from rfg@localhost)
	by monkeys.com (8.9.3/8.9.3) id NAA87328;
	Fri, 15 Sep 2000 13:48:25 -0700 (PDT)
Message-Id: <200009152048.NAA87328@monkeys.com>
Date: Fri, 15 Sep 2000 13:48:25 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@monkeys.com>
Reply-To: rfg@monkeys.com (Ronald F. Guilmette)
To: FreeBSD-gnats-submit@freebsd.org
Subject: Primary IP receives datagrams addressed to alias IP address
X-Send-Pr-Version: 3.2

>Number:         21299
>Category:       kern
>Synopsis:       Primary IP receives datagrams addressed to alias IP address
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 15 13:50:00 PDT 2000
>Closed-Date:    Mon Sep 18 02:15:38 PDT 2000
>Last-Modified:  Mon Sep 18 02:17:36 PDT 2000
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
Infinite Monkeys & Co.
>Environment:

	BIND 8.8.2 patchlevel 5
	See bug Description Section for further info.

>Description:

	Please see detailed bug description at:
	http://www.monkeys.com/bugs/freebsd/2000-09-15.txt

>How-To-Repeat:

	Assign one IP address to an interface, then assign one ``alias'' IP
	address to the same interface.  Run a program which listens for
	incoming UDP datagrams on [xxx.xxx.xxx.xxx].ppppp where the IP
	address xxx.xxx.xxx.xxx is the ``real'' address of the interface,
	and ppppp is some specific port number.  Then send some UDP packets
	(from the outside) to [yyy.yyy.yyy.yyy].ppppp where yyy.yyy.yyy.yyy
	is the alias IP address.  The program that is (ostensibly) listening
	ONLY to [xxx.xxx.xxx.xxx].ppppp will (improperly) receive the packets.

>Fix:
	
	a) None known.
	b) Avoid using ``alias'' IP addresses.
	c) Buy more ethernet cards.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Sep 18 02:15:38 PDT 2000 
State-Changed-Why:  
Originator writes (http://www.monkeys.com/bugs/freebsd/2000-09-15.txt): 
The bug turned out to be NOT a bug in the FreeBSD kernel at all, but 
merely a misunderstanding on my part relating to BIND 8.2.2 configuration 
directives. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21299 
>Unformatted:
