Closed wongsyrone closed 9 years ago
refer to: https://github.com/981213/openwrt/commit/528fe567490f14929ec4e2f7583121d41c6a812f https://github.com/981213/openwrt/commit/724de699599cd6cd653becafca18e7f43eca1b4c https://github.com/981213/openwrt/commit/347d3c4cd5ec9a96cd65d5b2b0d08706f2e4b3a6 and folder: https://github.com/981213/openwrt/tree/master/package/gargoyle
mostly done in commit history and need review
主要关注的更新文件 IMQ模块官方更新 https://github.com/imq/linuximq/tree/master/latest 其中iptables版本1.4.13 op版本 https://github.com/wongsyrone/openwrt-1/blob/master/package/network/utils/iptables/Makefile#L12 kernel版本3.13 op版本 https://github.com/wongsyrone/openwrt-1/blob/master/include/kernel-version.mk#L5 以下文件在 patches-generic/ 文件夹中 libxt_IMQ.{c,man}-------package/network/utils/iptables/patches/300-imq.patch imq.c-------------target/linux/generic/patches-3.18/999-imq.patch
石像鬼官方仓库更新:netfilter-match-modules文件夹 以下文件都在 netfilter-match-modules文件夹中 libipt_{weburl,bandwidth,timerange,webmon}.c------------package/network/utils/iptables/patches/650-custom_netfilter_match_modules.patch
ipt_timerange[.mod].c--------target/linux/generic/patches-3.14/650-custom_netfilter_match_modules.patch ipt_weburl[.mod].c ipt_bandwidth[.mod].c ipt_webmon[.mod].c
seems we dont need layer7 support, must add l7-protocols
as dependency
test result:
Tue Apr 28 19:32:42 2015 daemon.err uhttpd[1856]: + iptables -t mangle -I qos_egress -m layer7 --l7proto ssh -j MARK --set-mark 0x5
Tue Apr 28 19:32:42 2015 daemon.err uhttpd[1856]: iptables v1.4.21: Couldn't load match `layer7':No such file or directory
can successfully add config entries but dont have iptables layer7 module cuz upstream removed it before, so remove layer7 from LuCI qos-gargoyle pkg.
从gargoyle官方仓库查看和当前commit有差别大了在开,先close
http://www.gargoylerouter.com/gargoyle/projects/gargoyle