NetBSD Problem Report #39038

From apb@cequrux.com  Wed Jun 25 18:14:35 2008
Return-Path: <apb@cequrux.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 540AF63B880
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 25 Jun 2008 18:14:35 +0000 (UTC)
Message-Id: <20080625181157.C8811E9307C@apb-laptoy.apb.alt.za>
Date: Wed, 25 Jun 2008 18:11:57 +0000 (UTC)
From: apb@cequrux.com
To: gnats-bugs@gnats.NetBSD.org
Subject: missing backward compaatibility in pf(4)
X-Send-Pr-Version: 3.95

>Number:         39038
>Category:       kern
>Synopsis:       missing backward compaatibility in pf(4)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 25 18:15:00 +0000 2008
>Closed-Date:    Sat Feb 10 09:50:44 +0000 2018
>Last-Modified:  Sat Feb 10 09:50:44 +0000 2018
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.66
>Organization:
Not much
>Environment:
System: NetBSD 4.99.66
Architecture: i386
Machine: i386
>Description:
	The pf(4) driver in a recent kernel (4.99.66) does not support
	the ioctl requests that are used by older pfctl(1) userland
	program.

>How-To-Repeat:
	Have /sbin/pfctl from NetBSD 4.99.63.
	Have a kernel from NetBSD 4.99.66.

	$ sudo pfctl -f /etc/pf.conf
	No ALTQ support in kernel
	ALTQ related functions disabled
	pfctl: DIOCADDRULE: Operation not supported by device
	$ sudo pfctl -s all
	pfctl: DIOCGETALTQS: Permission denied

>Fix:
	Provide backward compatibility in the pf(4) driver.

>Release-Note:

>Audit-Trail:
From: Peter Postma <peter@pointless.nl>
To: gnats-bugs@gnats.netbsd.org
Cc: apb@cequrux.com
Subject: Re: kern/39038: missing backward compaatibility in pf(4)
Date: Thu, 26 Jun 2008 19:29:23 +0200

 > >Description:
 >         The pf(4) driver in a recent kernel (4.99.66) does not support
 >         the ioctl requests that are used by older pfctl(1) userland
 >         program.
 > 
 > >How-To-Repeat:
 >         Have /sbin/pfctl from NetBSD 4.99.63.
 >         Have a kernel from NetBSD 4.99.66.
 >         $ sudo pfctl -f /etc/pf.conf
 >         No ALTQ support in kernel
 >         ALTQ related functions disabled
 >         pfctl: DIOCADDRULE: Operation not supported by device
 >         $ sudo pfctl -s all
 >         pfctl: DIOCGETALTQS: Permission denied
 > 
 > >Fix:
 >         Provide backward compatibility in the pf(4) driver.
 > 

 Can you provide a patch?

 -- 
 Peter Postma

State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Sat, 10 Feb 2018 09:50:44 +0000
State-Changed-Why:
PF 4.2 was imported 10 years ago now. The old pfctl is long gone. I'm
closing this PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.