From owner-freebsd-pf@freebsd.org Wed Mar 4 10:03:12 2020 Return-Path: Delivered-To: freebsd-pf@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA6F426A8D5 for ; Wed, 4 Mar 2020 10:03:12 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48XTwJ4btyz4HH6; Wed, 4 Mar 2020 10:03:12 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 7D10CFDD0; Wed, 4 Mar 2020 10:03:12 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [192.168.183.1] (ptr-8rg5e4f7ukvki2vza9q.18120a2.ip6.access.telenet.be [IPv6:2a02:1811:2408:6002:2df3:c225:4584:5be]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id EC78E15DCA; Wed, 4 Mar 2020 11:03:09 +0100 (CET) From: "Kristof Provost" To: "Sean Yeh" Cc: freebsd-pf@freebsd.org Subject: Re: ALTQ feature of PF in FreeBSD Date: Wed, 04 Mar 2020 11:03:09 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: <82251045-98CE-4B08-8716-BD958714017C@FreeBSD.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 04 Mar 2020 10:03:12 -0000 On 29 Feb 2020, at 0:35, Sean Yeh wrote: > Hi FreeBSD-pf members, > > I hope you guys are enjoying your weekend! > > I was wondering if any of you happened to know if the code for the > ALTQ > feature of pf could be separated and used for NetBSD's pf function. > I'm > currently investigating methods to improve NetBSD's ALTQ feature, > which > hasn't been updated in 15+ years: > https://wiki.netbsd.org/projects/project/altq/ > > According to the man pages of freeBSD's pf function, FreeBSD uses a > modified pf of openBSD 4.5 pf function. Are there any complications > that > you foresee trying to port FreeBSD's current ALTQ code into NetBSD? > > Thank you for all your help, > It might be more interesting to look at dummynet. Last year there was a GSoC proposal (in FreeBSD) to port dummynet to pf. Sadly the project wasn’t selected, but I believe the student did spend some time on investigating it. I’ll ask them to get in touch with you. Best regards, Kristof