[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kern/72444: PF can't properly detect interface after 'ifconfig XXX name YYY'



>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_(_at_)_compy_(_dot_)_fxq_(_dot_)_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:

Visit your host, monkey.org