From owner-freebsd-pf@FreeBSD.ORG Sun Jul 4 13:27:20 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B518010659C9 for ; Sun, 4 Jul 2010 13:27:20 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6C76D8FC13 for ; Sun, 4 Jul 2010 13:27:20 +0000 (UTC) Received: by vws6 with SMTP id 6so5107005vws.13 for ; Sun, 04 Jul 2010 06:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=MXu6QF9bpoaCAd12MMfMLdQ0oZF0Z0KTuiYRttcED+o=; b=WbT1M5I+Z6VLN2l0jGZxxhwalK/jzD7oH1YYukbodn9+e/b9NObQrLnLIR+UMUoUnN NQ/vSKRD+/bnuxQPHfbPM3cRu7BzV10cM3Seqlh8OzmyMQIowXO3iZ3xRV3aVPYP1GTX 3zudRXtKq6cb3QaooJCKQr22enffqY3ulrn6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=BWEY7pfWkw99BMlzy2lbcMpILLWPqwUB14HtyQZc47knQqZiOARnpviSKiyeFIC4Oy rUV+l4qFT+wpLQNSc7WwZn6v5oRnZCyCEuIXz/uP5c5n42pdYh+XLN0lprcvbVFXoLum pJrUmN/8Vy+hK1SXQdlPSlLogU4QSWHZS8sng= Received: by 10.229.240.199 with SMTP id lb7mr754327qcb.132.1278250033164; Sun, 04 Jul 2010 06:27:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.88.197 with HTTP; Sun, 4 Jul 2010 06:26:53 -0700 (PDT) From: Maxim Khitrov Date: Sun, 4 Jul 2010 09:26:53 -0400 Message-ID: To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Same priority pf/altq queues not supported? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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, 04 Jul 2010 13:27:20 -0000 Hello all, I'm configuring pf on FreeBSD 7.3 and would like to use the following altq settings: altq on $ext priq bandwidth 9240Kb queue {low, red, med, top} altq on {$int1, $int2, $srv} priq bandwidth 100Mb queue {low, red, med, top} queue low priority 1 priq(default) # Default priority queue queue red priority 1 priq(red) # Default priority TCP queue with RED queue med priority 2 # DNS, DHCP, ACKs, and TOS == lowdelay queue top priority 3 # ICMP, NTP When I try to load these settings, I get the following errors: pfctl: low and red have the same priority pfctl: low and red have the same priority pfctl: low and red have the same priority pfctl: low and red have the same priority /etc/pf.conf:79: errors in queue definition OpenBSD 4.1 documentation states that "if two or more queues are assigned the same priority then those queues are processed in a round-robin fashion." Is there any specific reason why this behavior was altered in the FreeBSD port? I'm not really sure of what to do, because I don't want to prioritize or deprioritize TCP traffic, and I can't have RED enabled for any other protocol. If you have any other general-purpose queuing suggestions, please let me know. - Max