wongsyrone / openwrt-1

已废弃DEPRECATED-see https://github.com/wongsyrone/lede-1 | modifications on OpenWrt official repository
https://www.lede-project.org/
GNU General Public License v2.0
37 stars 19 forks source link

石像鬼QoS #23

Closed wongsyrone closed 9 years ago

wongsyrone commented 9 years ago

http://www.gargoylerouter.com/gargoyle/projects/gargoyle

wongsyrone commented 9 years ago

http://www.zoublog.com/compile-gargoyle-tp-link-wr720n/

wongsyrone commented 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

wongsyrone commented 9 years ago

mostly done in commit history and need review

wongsyrone commented 9 years ago

主要关注的更新文件 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

wongsyrone commented 9 years ago

upstream removed layer7 support https://github.com/openwrt-mirror/openwrt/commit/9e3b0850e063d00025a90d7b07a3b29568ec7599 https://github.com/openwrt-mirror/openwrt/commit/b4a8fe370caa8635a5a609086e7774f2bf3ca277 http://blog.csdn.net/xaaaaaaaaaaaaaa/article/details/38637693

wongsyrone commented 9 years ago

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.

wongsyrone commented 9 years ago

从gargoyle官方仓库查看和当前commit有差别大了在开,先close