Re: NetBSD packet filter

Emmanuel Nyarko <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
So I am proposing a simple altq use case in npf:

Potential Design for altq in npf:
More ideas and critiques are welcome.

In npf.conf
……………………………..

queue “mail” {
	bandwidth X priority Y qdisc
}

Should be extensible to:
If there are child classes

queue “mail” {
	bandwidth X priority Y qdisc  { child_class1, child_class2 }
}

// another direct queue config for the child_classes
queue “child_class1” {
	bandwidth X% qdisc (borrow if there be need)
}
// same for child_class2

group “external” on $ext_if {

	pass …. Whatever rule…. \
		apply “mail"
	pass ……..for child_class1…. \
		apply “child_class1"
}
…………………….. 
Please let me know what you guys think of this. 

> On 30 Sep 2024, at 9:09 AM, Emmanuel Nyarko <[email protected]> wrote:
> 
> 
> 
>> On 29 Sep 2024, at 6:45 PM, Hauke Fath <[email protected]> wrote:
>> 
>> On Sun, 29 Sep 2024 17:09:38 +0000, Emmanuel Nyarko wrote:
>>> Any more NPF PF usage issues??
>> 
>> ftp-proxy(8) is missing support for npf.
> Noted!
>> 
>> Cheerio,
>> Hauke
>> 
>> -- 
>> Hauke Fath                        <[email protected]>
>> Linnéweg 7
>> 64342 Seeheim-Jugenheim
>> Germany
> 
> 
> Emmanuel
> 
> 
> 
> 
> 


Emmanuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.