Commit graph

4 commits

Author SHA1 Message Date
Rosy Song
6a42b7bf38 nft-qos: fix monitor doesn't work when firstboot
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2019-01-02 09:20:36 +08:00
Rosy Song
cf239752d2 nft-qos: replace input chain with prerouting for monitor and dynamic QoS as well
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-11-12 09:42:55 +08:00
Rosy Song
07c2d29859 nft-qos: use prerouting chain rather than input
Using the input chain can only limit the upload rate in local network.
Since to do the limit rate on both native and remote, we have to
replace the input hook with prerouting.

Signed-off-by: Rosy Song <rosysong@rosinson.com>

(Added Makefile version bump)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10 20:47:23 +02:00
Rosy Song
6649ac91e9 nft-qos: add new package
This is the nftables implementation for qos on OpenWrt,
Currently, it has below features:

* Static QoS : setting limit rate for devices or global network.

* Dynamic/Auto QoS : setting limit rate according to the network
  bandwidth and adjust itself automatically (hotplug event).

* Traffic Priority : this feature is like traffic shaping under tc,
  it uses ingress hook to handle to packets here.

Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-11-06 16:13:28 +08:00