Score:0

nft Quality of Service (qos)

jp flag

Is there any way to have a QoS over nftables.

I have a webserver and I want to restrict that HTTP input traffic should have maximum of 90% of bandwith. Is it possible?

Nothing found in official documentation.

A.B avatar
cl flag
A.B
nftables or iptables can do policing (drop) but not shaping (slow down). It's intended for security, not for QoS. You should check tc instead (or in addition). Btw, it is in documentation (both wiki and manpage).
somenxavier avatar
jp flag
@A.B What is `tc`?
A.B avatar
cl flag
A.B
Here's an old ( ~ 20 years ago) howto, so some parts may be outdated. chapter 9 is about traffic shaping: https://lartc.org/howto/lartc.qdisc.html
A.B avatar
cl flag
A.B
You could also check https://github.com/magnific0/wondershaper for implementation examples (don't use the Debian-based packages, they are all outdated, including in Debian 12).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.