From owner-freebsd-net@FreeBSD.ORG  Tue Apr  5 15:26:52 2011
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 78170106566B
	for <freebsd-net@freebsd.org>; Tue,  5 Apr 2011 15:26:52 +0000 (UTC)
	(envelope-from ali.gouta@gmail.com)
Received: from sam.nabble.com (sam.nabble.com [216.139.236.26])
	by mx1.freebsd.org (Postfix) with ESMTP id 5828B8FC0C
	for <freebsd-net@freebsd.org>; Tue,  5 Apr 2011 15:26:52 +0000 (UTC)
Received: from [192.168.236.26] (helo=sam.nabble.com)
	by sam.nabble.com with esmtp (Exim 4.69)
	(envelope-from <ali.gouta@gmail.com>) id 1Q77nY-00078K-SV
	for freebsd-net@freebsd.org; Tue, 05 Apr 2011 08:04:04 -0700
Date: Tue, 5 Apr 2011 08:04:04 -0700 (PDT)
From: aliBSD <ali.gouta@gmail.com>
To: freebsd-net@freebsd.org
Message-ID: <1302015844876-4284220.post@n5.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Applying QoS on trafic
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2011 15:26:52 -0000

Hello guys,

Here is the issue:

For sessions that exceeds a threshold I want to insert its packets to a less
prioritized queue.
assumption : a session is defined as follow :(@source, @dest, port source,
port dest, prototcole used UDP/TCP)

Surely creating queues wouldn't be a matter since I made it using
altq/queue. My problem is to HOW can I detect that a session had exceeded a
threshold and how to redirect that session in the less prioritized queue. i
thought about using pftop that shows information I need but how can I call
pf.conf then to tell it redirect this section to queue 2 (less prioritized
than 1) ?

Thx and hope really you will give me some ideas !!!  

--
View this message in context: http://freebsd.1045724.n5.nabble.com/Applying-QoS-on-trafic-tp4284220p4284220.html
Sent from the freebsd-net mailing list archive at Nabble.com.