kern/76464: PF, set loginterface & non existing interface

Eric Masson e-masson at kisoft-services.com
Wed Jan 19 07:00:47 PST 2005


>Number:         76464
>Category:       kern
>Synopsis:       PF, set loginterface & non existing interface
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 19 15:00:46 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Eric Masson
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Kisoft Services
>Environment:
System: FreeBSD srvbsdnanssv.interne.kisoft-services.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Jan 11 11:44:56 CET 2005 emss at srvbsdnanssv.interne.kisoft-services.com:/vol0/build/usr/src/sys/K6II i386


>Description:
	Loading a PF ruleset containing a set loginterface line referencing a non existent interface
	ends by no rules loaded.
	The problem occurs here with clonable interfaces, I use pppd for internet connection and pppX
	devices are created on the fly as soon as pppd requests creation.
	PF is initialized earlier in the boot process and pppX aren't existing at this moment, so the existence
	of a line like :
	set loginterface ppp0
	makes pfctl fails in loading rules
>How-To-Repeat:
	Reference an interface that doesn't exist in set loginterface clause
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list