From owner-freebsd-pf@freebsd.org Fri Feb 28 23:35:41 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 98643248D4F for ; Fri, 28 Feb 2020 23:35:41 +0000 (UTC) (envelope-from sean.yeh117@gmail.com) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48TmB31tTfz4NWJ for ; Fri, 28 Feb 2020 23:35:39 +0000 (UTC) (envelope-from sean.yeh117@gmail.com) Received: by mail-pf1-x444.google.com with SMTP id i19so2493537pfa.2 for ; Fri, 28 Feb 2020 15:35:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=meJ8Zh+ryUV0NniIxKdL448UqOwqYacyE6MIaFLBgjg=; b=ZU++6Ep7LV/byv/8IH2NGHp3LdVj6p6VcA3HH14Y2xVbzjtkIOOguXCIJ9IOkV2lZF d9+9aZkZPNgW8pPv7gIp8gp8pOPapjPjR6T5rLgNHlfTjkd0Sc5aeWmS9jrwju2e+W14 tqszpL0d/OV8pqk/fU3cEI1QyBXx4PZ7uWV5ijCx2rGbACmIZD5NQ7tyImO8pSJJpHqI 3vKUs/J05jxtyrqn+grIqDStozCVjIpYN4Aj6Jy2dLnty9GiqwfLp/cj0FMUTU2/jyjd uxR1hMAnQu50gQNZg+rF0P7QXOHZRpcmmArnKt3GxlKgg87WSXZsKYf/BbMG0k4yEgqV roGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=meJ8Zh+ryUV0NniIxKdL448UqOwqYacyE6MIaFLBgjg=; b=rGeJmL4JKgMfpD4myZhod7Gd/lh+KZSxJMiBNdZQSmEMQ0bNmUHhmi4VpMl9GDIoCi HZSHEUG2kVDUSFUoleLDuW8J5klA5JjIrDr6jLuHvnv6jvcojoHdBI8lzvGCv/MPS+oq SHD6gD4xbThOy9Tm8/qze1uP/agQcUy/7sQ5h1rgrOAjJDe7cWa6rqF2vY2iW/FcPBPN Bz1MT2SogDVM+9pvxnAwfeWBBbMpnBreWm2xDfncarT8KBE+jpYPxIRNLHRTSNml6z2i 2ZRBcY5fGotpssxRyBxTZLCasvF/hBjNyHGwoGKb62y75GAAYb+OZKw8sjH7pKqcZlKA Ybaw== X-Gm-Message-State: APjAAAVlE38AwunVIuq5Oo2DrpjWBHma1YGMFZ0piHVdA9kIuzNAXkUQ JD3GB+iPt8Ch9dq0M4PziJvGMgN/grAfqcxkhysXjG2QPIo= X-Google-Smtp-Source: APXvYqzX6J80+xfJXdolJFrl+t5+09b/XTrNCjReznAqG2e+9K6bdkueLn6ZFS2RgHSG++cqx0tcOwBY0YW0ZxZ6nso= X-Received: by 2002:a62:17c4:: with SMTP id 187mr6997946pfx.9.1582932936703; Fri, 28 Feb 2020 15:35:36 -0800 (PST) MIME-Version: 1.0 From: Sean Yeh Date: Fri, 28 Feb 2020 15:35:23 -0800 Message-ID: Subject: ALTQ feature of PF in FreeBSD To: freebsd-pf@freebsd.org X-Rspamd-Queue-Id: 48TmB31tTfz4NWJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZU++6Ep7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of seanyeh117@gmail.com designates 2607:f8b0:4864:20::444 as permitted sender) smtp.mailfrom=seanyeh117@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-0.51), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pf@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[4.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 28 Feb 2020 23:35:41 -0000 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, Sean