From owner-freebsd-pf@freebsd.org Sat Feb 29 04:37:25 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 B85B1255114 for ; Sat, 29 Feb 2020 04:37:25 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48TttD4NCKz41ft for ; Sat, 29 Feb 2020 04:37:23 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 01T4bX6c049180 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 28 Feb 2020 20:37:39 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: In-Reply-To: From: Chris Reply-To: bsd-lists@BSDforge.com To: Sean Yeh Subject: Re: ALTQ feature of PF in FreeBSD Date: Fri, 28 Feb 2020 20:37:39 -0800 Message-Id: <1bb2143ad2233dcd646ed1b25a780928@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48TttD4NCKz41ft X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bsd-lists@BSDforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@BSDforge.com X-Spamd-Result: default: False [-1.05 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[bsd-lists@BSDforge.com]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.67)[-0.667,0]; IP_SCORE(-0.29)[ip: (-0.54), ipnet: 24.113.0.0/16(-0.27), asn: 11404(-0.61), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[BSDforge.com]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.995,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Sat, 29 Feb 2020 04:37:25 -0000 On Fri, 28 Feb 2020 15:35:23 -0800 Sean Yeh sean=2Eyeh117@gmail=2Ecom said > Hi FreeBSD-pf members, >=20 > I hope you guys are enjoying your weekend! >=20 > 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=2E I'm > currently investigating methods to improve NetBSD's ALTQ feature, which > hasn't been updated in 15+ years: > https://wiki=2Enetbsd=2Eorg/projects/project/altq/ >=20 > According to the man pages of freeBSD's pf function, FreeBSD uses a > modified pf of openBSD 4=2E5 pf function=2E Are there any complications that > you foresee trying to port FreeBSD's current ALTQ code into NetBSD? In all honesty=2E If you have to ask=2E You will likely find it challenging=2E ;)= ;) But *please* don't let that discourage you! If you're a kernel hacker, and or have a good eye for patterns=2E You should be able to find the similarities by different names to match them up=2E But that doesn't mean that in the end it'll work=2E I haven't personally made any comparisons=2E I'm only familiar with the FreeBSD variety=2E My 2=C2=A2 FWIW :) --Chris FreeBSD 14=2E0-FUTURE #0=2E000 cray256 >=20 > Thank you for all your help, >=20 > Sean > _______________________________________________ > freebsd-pf@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd=2Eorg"