From owner-freebsd-net@FreeBSD.ORG Sat Aug 11 08:22:43 2012 Return-Path: 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 D07CE106566C for ; Sat, 11 Aug 2012 08:22:43 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9132B8FC0A for ; Sat, 11 Aug 2012 08:22:43 +0000 (UTC) Received: by obbun3 with SMTP id un3so4660009obb.13 for ; Sat, 11 Aug 2012 01:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=f32Ytm72SlpvNkKofM9o0RWM3EPASCwLmDO4zakAnC0=; b=m2kA71T35k8OPIVgdPw5Wf6Hbbyf840xqEJGnKM3Tg/ZWVnewN5qGjBvyMjkdwbrJA zizkyWPsaA1YODrEG7Dt/SHVPI23Wpg3z5e7G1RQvYVavczyxyBLxlV+nWcEL0XJ6tJz JYBp+7lL9ftwZW/3gy8f9EeAkhJZ5DAdCWfMqTgHlnZkaOHJpKl/Z0lbwpqeM7fi/qbu 027Uw6mnhOgsYjs6+22ac5M/Y8kTepujrjgH/QZnhtDH7PEwwJtRdoK44A38h9gy5fDf v2KmfQu+44xnAFBCwREpInR5ebjKcaDacu8ep+S1PSWgAIv8OCwJJLSDCK9KslouKQJi MbDg== Received: by 10.60.154.232 with SMTP id vr8mr2617545oeb.30.1344673362784; Sat, 11 Aug 2012 01:22:42 -0700 (PDT) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.76.154.133 with HTTP; Sat, 11 Aug 2012 01:22:22 -0700 (PDT) In-Reply-To: References: From: h bagade Date: Sat, 11 Aug 2012 12:52:22 +0430 X-Google-Sender-Auth: fDjKNHZGDqm5ZlN5subEldl8fjY Message-ID: To: Nikolay Denev Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: how to set dscp field using altq? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2012 08:22:44 -0000 On Wed, Aug 8, 2012 at 6:44 PM, Nikolay Denev wrote: > > On Aug 8, 2012, at 10:31 AM, h bagade wrote: > > > Hi all, > > > > I want to use combination of pf and the embedded altq to set the dscp > field > > on a group of packets. I didn't find any relevant configuration on > pf.conf > > manual, but I find out some tips which mention that altq has the ability > to > > do the diffserv. I need to know if there is such a possibility in altq > > embedded in pf and how to do so? > > > > Any hints or comments are really appreciated > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > Probably you want to look at ng_patch(8) as it seems is the only way to do > this > kind of packet modification at the moment. > > I try to use ng_patch and it doesn't work as I expected to be. I explain my problem with this node in another post under the name "problem on using ng_patch". I would be glad if you take a look and suggest me what should I do to solve the problem.