From owner-freebsd-pf@FreeBSD.ORG Mon Feb 4 00:06:42 2008 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 6581916A417 for ; Mon, 4 Feb 2008 00:06:42 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 4734313C447 for ; Mon, 4 Feb 2008 00:06:42 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JLoZk-0006IK-0G for freebsd-pf@freebsd.org; Sun, 03 Feb 2008 15:48:40 -0800 Message-ID: <15260126.post@talk.nabble.com> Date: Sun, 3 Feb 2008 15:48:40 -0800 (PST) From: cnupm To: freebsd-pf@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sizov@phys.ru Subject: altq: dynamic queues 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: Mon, 04 Feb 2008 00:06:42 -0000 My English is no good, so I tried to describe what I want at this example: ### /etc/pf.conf altq on bge0 bandwidth 10Mb hfsc queue { u1_in, u1_out, u2_in, u2_out...} anchor users_queues block all anchor users_rules ### When user connected - teke parameter $x from DB (for example) and execute: echo "queue u1_in bandwidth 1Kb hfsc (upperlimit $xKb)" | pfctl -a user_queues:u1_in -f - echo "queue u1_out bandwidth 1Kb hfsc (upperlimit $xKb)" | pfctl -a user_queues:u1_out -f - *** ... users_rules... *** I know: it doesn't works - it's simplest way (with my English) to explain what I wont. How to dynamicly create/delete queues? -- View this message in context: http://www.nabble.com/altq%3A-dynamic-queues-tp15260126p15260126.html Sent from the freebsd-pf mailing list archive at Nabble.com.