From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 8 11:50:17 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DC6D16A4CE for ; Fri, 8 Oct 2004 11:50:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B2A043D4C for ; Fri, 8 Oct 2004 11:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i98BoGjk017973 for ; Fri, 8 Oct 2004 11:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i98BoGAd017972; Fri, 8 Oct 2004 11:50:16 GMT (envelope-from gnats) Resent-Date: Fri, 8 Oct 2004 11:50:16 GMT Resent-Message-Id: <200410081150.i98BoGAd017972@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ed Schouten Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2539A16A4CE for ; Fri, 8 Oct 2004 11:47:14 +0000 (GMT) Received: from compy.fxq.nl (cp265563-a.mill1.nb.home.nl [217.121.83.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633C743D41 for ; Fri, 8 Oct 2004 11:47:13 +0000 (GMT) (envelope-from ed@compy.fxq.nl) Received: from compy.fxq.nl (localhost [127.0.0.1]) by compy.fxq.nl (8.13.1/8.13.1) with ESMTP id i98BlACh000654 for ; Fri, 8 Oct 2004 13:47:10 +0200 (CEST) (envelope-from ed@compy.fxq.nl) Received: (from ed@localhost) by compy.fxq.nl (8.13.1/8.13.1/Submit) id i98BlAwx000653; Fri, 8 Oct 2004 13:47:10 +0200 (CEST) (envelope-from ed) Message-Id: <200410081147.i98BlAwx000653@compy.fxq.nl> Date: Fri, 8 Oct 2004 13:47:10 +0200 (CEST) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/72444: PF can't properly detect interface after 'ifconfig XXX name YYY' X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ed Schouten List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 11:50:17 -0000 >Number: 72444 >Category: kern >Synopsis: PF can't properly detect interface after 'ifconfig XXX name YYY' >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 08 11:50:16 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 5.3-BETA7 i386 >Organization: (none) >Environment: System: FreeBSD compy.fxq.nl 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Thu Oct 7 13:24:34 CEST 2004 ed@compy.fxq.nl:/usr/obj/usr/src/sys/COMPY i386 Intel Celeron 400 MHz 256 MB SDRAM memory 3 network interfaces: - pcn0 - xl0 - rl0 >Description: When I rename my network interfaces with ifconfig, I can't use them with PF anymore. For example: nat on rl0 from 10.0.0.0/24 to any -> (rl0) This line works. But renaming the interface: ifconfig rl0 name foo and using the following line in pf.conf: nat on foo from 10.0.0.0/24 to any (foo) does not. It won't apply NAT to my network packets (according to tcpdump). >How-To-Repeat: ifconfig rl0 name foo >Fix: Sorry, don't have one. >Release-Note: >Audit-Trail: >Unformatted: