tohojo / sqm-scripts

SQM scripts traffic shaper
http://www.bufferbloat.net/projects/cerowrt/wiki/Smart_Queue_Management
234 stars 64 forks source link

Is it possible to manually remove old dependencies in OpenWRT ? #165

Open CallMeR opened 1 year ago

CallMeR commented 1 year ago

In the OpenWRT project, I saw some changes in firewall components

Certain upstream switch to firewall4 aka nftables instead of iptables

image

I saw the update information of sqm-scripts 1.6.0, so do I need to adjust the dependencies when compiling OpenWRT ?

Or is it possible to manually remove old dependencies in OpenWRT ?

tohojo commented 1 year ago

The 'iptables' package should be a meta-package, so as long as you have iptables-nft installed that should satisfy the dependency :)

CallMeR commented 1 year ago

I tried to custom compile the firmware ( 22.03.5 (r20134-5f15225c1e) ) from https://firmware-selector.openwrt.org/ , and then added the luci-app-sqm component.

The dependencies related to iptables are as follows, but I use nftables (fw4).

In this case, will I encounter performance problems or other problems when using cake sqm ?

Configuring iptables-zz-legacy.
Configuring kmod-ipt-ipopt.
Configuring iptables-mod-ipopt.
tohojo commented 1 year ago

You should be able to get rid of the iptables-zz-legacy package by manually selecting the iptables-nft package instead. But in any case, if you're using cake sqm-scripts doesn't install any iptables rules, so the only overhead will be the extra packages installed...