Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 14:09:26 +0100
From:      Polytropon <freebsd@edvax.de>
To:        cbrace <cb@lim.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PF error: DIOCSETLIMIT
Message-ID:  <20140318140926.6a0a9ef1.freebsd@edvax.de>
In-Reply-To: <1395147094009-5895376.post@n5.nabble.com>
References:  <1395147094009-5895376.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Mar 2014 05:51:34 -0700 (PDT), cbrace wrote:
> Hi all,
> 
> Since recently upgrading my VPS running FreeBSD to 10-RELEASE, something
> broke my PF config; Every time I try to load the ruleset, I see this:
> 
> # pfctl -f /etc/pf.conf
> No ALTQ support in kernel
> ALTQ related functions disabled
> pfctl: DIOCSETLIMIT
> 
> And the rules are not loaded. I've Googled this but found only this post
> from several weeks ago on the FreeBSD webforum:
> https://forums.freebsd.org/viewtopic.php?f=44&t=45325 
> 
> No answer there yet.
> 
> Does anyone here have any idea what is going wrong on my server?

Are you using the GENERIC or a custom kernel? Check if the
configuration file contains the ALTQ options, just to be sure.
I assume those are not part of the kernel you're currently
running. At least that's what I would conclude from the
error message you've shown.

If I remember correctly, for pf you need the following entries
in the kernel configuration file:

	device	pf
	device	pflog
	device	pfsync
	options	ALTQ
	options	ALTQ_CBQ
	options	ALTQ_RED
	options	ALTQ_RIO
	options	ALTQ_HFSC
	options	ALTQ_PRIQ
	options	ALTQ_NOPCC

Or aren't they need anymore in 10.0?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140318140926.6a0a9ef1.freebsd>