From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 11:36:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B235106564A for ; Tue, 19 Aug 2008 11:36:56 +0000 (UTC) (envelope-from riaank@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id ED9E48FC18 for ; Tue, 19 Aug 2008 11:36:55 +0000 (UTC) (envelope-from riaank@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so4244712fgb.35 for ; Tue, 19 Aug 2008 04:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=eRZgxnyErJTjfR3X7XYl/Ja61IewRP6HbvAAUq1GyO0=; b=ALGNqUrcvlC7rcYU1v9tetOhV3Kv1TIUApmd2GwxTM1R/ad1pDqbxWoABMfGX9xieE vdhPCrZa2rAma0FtWUvP5AsCHKQdLdwKmjn056/kqWfyprfCke/7cHNIxt8ruqrPLnbN iF7M/X4qrOv5AVRiAR/zQ/IJp2HR4Cac0wntk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=CPjic3/DPz8jrYDj9RcO7OIypLPaRldEpARAITOBAm1RjpL9/nsSZFtfnv5IJHuwOF yYkLBgW4KnQ+Fcwo/1KsYg20GDRZ8rHU99kJ7Ziefyi+2fJfdfmqkZzI6VqeRtK0Ww5p m1PnPo/BODicrrSm+s/BXS+K8caACZtyrUkoM= Received: by 10.187.194.1 with SMTP id w1mr437743fap.41.1219145813956; Tue, 19 Aug 2008 04:36:53 -0700 (PDT) Received: by 10.187.211.19 with HTTP; Tue, 19 Aug 2008 04:36:53 -0700 (PDT) Message-ID: <85c4b1850808190436q41da2322o82f6bb04d70ce80b@mail.gmail.com> Date: Tue, 19 Aug 2008 13:36:53 +0200 From: "Riaan Kruger" To: "Zbigniew Szalbot" In-Reply-To: <48AAA48A.4030704@lcwords.com> MIME-Version: 1.0 References: <48AAA48A.4030704@lcwords.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ALTQ and services X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 11:36:56 -0000 2008/8/19 Zbigniew Szalbot > Hello, > > I am trying to find out how to specify services in the below scenario: > > ext_if=3D"kue0" > > altq on $=ADext_if priq bandwidth 1024Kb queue { q_pri, q_def } > queue q_pri priority 7 > queue q_def priority 1 priq(default) > > pass out on $=ADext_if proto tcp from $=ADext_if to any flags S/SA > keep state queue (q_def, q_pri) > > pass in on $=ADext_if proto tcp from any to $=ADext_if flags S/SA > keep state queue (q_def, q_pri) > > > I grabbed this example off a web page but would anyone help me > understand how I can define queue priority for ssh, smtp, httpd and ftp? > > I understand that q_pri has a priority over q_def, but where do I define > what's inside them? Many, many thanks! > > -- > Zbigniew Szalbot > www.LCWords.com > See http://www.openbsd.org/faq/pf/queueing.html or http://home.nuug.no/~peter/pf/en/altqintro.html Hope it helps Riaan