From owner-freebsd-pf@FreeBSD.ORG Sun May 23 22:06:41 2010 Return-Path: Delivered-To: freebsd-pf@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C4B7106566C for ; Sun, 23 May 2010 22:06:41 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0C12C8FC13 for ; Sun, 23 May 2010 22:06:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4NM6eV7016851 for ; Sun, 23 May 2010 22:06:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4NM6eAS016850; Sun, 23 May 2010 22:06:40 GMT (envelope-from gnats) Date: Sun, 23 May 2010 22:06:40 GMT Message-Id: <201005232206.o4NM6eAS016850@freefall.freebsd.org> To: freebsd-pf@FreeBSD.org From: Christian Laursen Cc: Subject: Re: kern/146832: [pf] "(self)" not always matching all local IPv6 addresses X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christian Laursen List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 22:06:41 -0000 The following reply was made to PR kern/146832; it has been noted by GNATS. From: Christian Laursen To: bug-followup@FreeBSD.org, xi@borderworlds.dk Cc: Subject: Re: kern/146832: [pf] "(self)" not always matching all local IPv6 addresses Date: Sun, 23 May 2010 15:50:16 +0200 Just to make sure I reproduced it on -CURRENT from yesterday. FreeBSD pftest.borderworlds.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sat May 22 21:53:04 CEST 2010 root@pftest.borderworlds.dk:/usr/obj/usr/src/sys/GENERIC i386 If I configure IPv6 via rc.conf this line: ifconfig_em0_ipv6="RTADV" Then the problem isn't there. "(self)" matches the autoconfigured address. However, if I remove that line from rc.conf and manually run the following sequence of commands: ifconfig em0 inet6 -ifdisabled ifconfig em0 inet6 auto_linklocal ifconfig em0 inet6 accept_rtadv and then wait for the autoconfigured address to appear on the interface. Then the problem I have described manifests itself. -- Christian Laursen