From owner-freebsd-pf@FreeBSD.ORG Sun Nov 14 14:01:01 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7726716A4CE for ; Sun, 14 Nov 2004 14:01:01 +0000 (GMT) Received: from web88005.mail.re2.yahoo.com (web88005.mail.re2.yahoo.com [206.190.37.192]) by mx1.FreeBSD.org (Postfix) with SMTP id DC5CE43D2D for ; Sun, 14 Nov 2004 14:01:00 +0000 (GMT) (envelope-from rviau75@rogers.com) Message-ID: <20041114140100.68479.qmail@web88005.mail.re2.yahoo.com> Received: from [64.229.219.151] by web88005.mail.re2.yahoo.com via HTTP; Sun, 14 Nov 2004 09:01:00 EST Date: Sun, 14 Nov 2004 09:01:00 -0500 (EST) From: Robert Viau To: yongari@kt-is.co.kr In-Reply-To: <20041113035433.GA2853@kt-is.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-pf@freebsd.org Subject: Re: pfctl: DIOCGIFSPEED: Invalid argument X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rviau75@rogers.com 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, 14 Nov 2004 14:01:01 -0000 pflog0 shows up when you build with "device pflog". I just built with options pf, so there is a /dev/pf, and everything was working but altq. The reason altq wasn't working is because despite the man page implying you can do it the way I did, it actually has to be "altq on [interface] priq ...", not just "altq priq ...". It might work the other way with CBQ, I'm not sure. Thanks, Rob Pyun YongHyeon wrote: On Fri, Nov 12, 2004 at 08:21:06AM -0500, Robert Viau wrote: > Having some trouble with altq, here is all the > information that should be required: > > su-2.05b# uname -a > FreeBSD 5.3-RELEASE FreeBSD > 5.3-RELEASE #5: Thu Nov 11 16:23:28 EST 2004 > :/usr/obj/usr/src/sys/BEASTKERN i386 > > su-2.05b# grep queue /etc/pf.conf | grep -v ^# > altq priq queue { interactive, www } > queue interactive priority 15 > queue www priority 14 > > su-2.05b# pfctl -n -f /etc/pf.conf > pfctl: DIOCGIFSPEED: Invalid argument > su-2.05b# > > I can't figure out for the life of me what the problem > is. I'm not using the queues at all yet (commented > all that out to troubleshoot) so it doesn't look like > it's due to an unsupported interface type or anything, > but just in case, here are the interfaces on the box: > > su-2.05b# ifconfig -l > ath0 bge0 bge1 em0 lo0 tun0 lo1 > This may be stupid question. Did you compiled in pf or load pf module? ifconfig(8) didn't show pflog0 interface which should be listed if pf was available. > > Any thoughts? > -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org --------------------------------- Post your free ad now! Yahoo! Canada Personals