ALTQ feature of PF in FreeBSD

Sean Yeh sean.yeh117 at gmail.com
Sat Feb 29 13:28:00 UTC 2020


Hi Chris (and FreeBSD-pf members),

Thanks for the advice!

Truth be told, I am quite lost right now. But before I give up, could you
please point me in the right direction?

1) Figuring out if ALTQ is separable from pf is a little abstract to me.
Is there a definitive experiment to perform to answer this question?
Currently, I'm just looking and taking note of the differences between
NetBSD's and FreeBSD's pf/altq code. What other steps should I be
taking?

2) What are some indications that a port will fail/work?
When I find a difference between NetBSD's and FreeBSD's code,
I've already discovered several, what questions should I ask myself
to determine whether or not the difference will be an issue or not.

I'm sorry if these questions seem trivial or basic. I am truly
appreciative of all your time and help.

Best,

Sean

On Fri, Feb 28, 2020 at 8:37 PM Chris <bsd-lists at bsdforge.com> wrote:

> On Fri, 28 Feb 2020 15:35:23 -0800 Sean Yeh sean.yeh117 at gmail.com said
>
> > 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?
> In all honesty. If you have to ask. You will likely find it challenging.
> ;) ;)
> But *please* don't let that discourage you!
> If you're a kernel hacker, and or have a good eye for patterns. You should
> be able to find the similarities by different names to match them up.
> But that doesn't mean that in the end it'll work. I haven't personally
> made any comparisons. I'm only familiar with the FreeBSD variety.
>
> My 2¢ FWIW :)
>
> --Chris
> FreeBSD 14.0-FUTURE #0.000 cray256
>
> >
> > Thank you for all your help,
> >
> > Sean
> > _______________________________________________
> > freebsd-pf at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-pf
> > To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>
>
>


More information about the freebsd-pf mailing list