kernel/iptables: add modules for qos-gargoyle

This commit is contained in:
CN_SZTL 2020-02-25 23:08:37 +08:00
parent 577180ffdd
commit a4cc047af5
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
8 changed files with 24583 additions and 1 deletions

View File

@ -114,6 +114,13 @@ $(eval $(call nf_add,IPT_FILTER,CONFIG_NETFILTER_XT_MATCH_BPF, $(P_XT)xt_bpf))
$(eval $(call nf_add,IPT_IMQ,CONFIG_IP_NF_TARGET_IMQ, $(P_V4)ipt_IMQ))
$(eval $(call nf_add,IPT_IMQ,CONFIG_NETFILTER_XT_TARGET_IMQ, $(P_XT)xt_IMQ))
# gargoyle-qos
$(eval $(call nf_add,IPT_BANDWIDTH,CONFIG_IP_NF_MATCH_BANDWIDTH, $(P_V4)ipt_bandwidth))
$(eval $(call nf_add,IPT_TIMERANGE,CONFIG_IP_NF_MATCH_TIMERANGE, $(P_V4)ipt_timerange))
$(eval $(call nf_add,IPT_WEBMON,CONFIG_IP_NF_MATCH_WEBMON, $(P_V4)ipt_webmon))
$(eval $(call nf_add,IPT_WEBURL,CONFIG_IP_NF_MATCH_WEBURL, $(P_V4)ipt_weburl))
# ipopt
$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_DSCP, $(P_XT)xt_dscp))

View File

@ -505,6 +505,7 @@ endef
$(eval $(call KernelPackage,ipt-imq))
define KernelPackage/ipt-bandwidth
SUBMENU:=$(NF_MENU)
TITLE:=bandwidth
@ -516,6 +517,7 @@ endef
$(eval $(call KernelPackage,ipt-bandwidth))
define KernelPackage/ipt-timerange
SUBMENU:=$(NF_MENU)
TITLE:=timerange
@ -527,6 +529,7 @@ endef
$(eval $(call KernelPackage,ipt-timerange))
define KernelPackage/ipt-webmon
SUBMENU:=$(NF_MENU)
TITLE:=webmon
@ -538,6 +541,7 @@ endef
$(eval $(call KernelPackage,ipt-webmon))
define KernelPackage/ipt-weburl
SUBMENU:=$(NF_MENU)
TITLE:=weburl

View File

@ -171,7 +171,7 @@ endef
define Package/iptables-mod-cgroup
$(call Package/iptables/Module, +kmod-ipt-cgroup)
TITLE:=cgroup extension
TITLE:=cgroup extension
endef
define Package/iptables-mod-cgroup/description
@ -187,6 +187,26 @@ $(call Package/iptables/Module, +kmod-ipt-imq)
TITLE:=IMQ support
endef
define Package/iptables-mod-bandwidth
$(call Package/iptables/Module, +kmod-ipt-bandwidth)
TITLE:=bandwidth option extensions
endef
define Package/iptables-mod-timerange
$(call Package/iptables/Module, +kmod-ipt-timerange)
TITLE:=timerange option extensions
endef
define Package/iptables-mod-webmon
$(call Package/iptables/Module, +kmod-ipt-webmon)
TITLE:=webmon option extensions
endef
define Package/iptables-mod-weburl
$(call Package/iptables/Module, +kmod-ipt-weburl)
TITLE:=weburl option extensions
endef
define Package/iptables-mod-imq/description
iptables extension for IMQ support.
@ -706,6 +726,10 @@ $(eval $(call BuildPlugin,iptables-mod-physdev,$(IPT_PHYSDEV-m)))
$(eval $(call BuildPlugin,iptables-mod-filter,$(IPT_FILTER-m)))
$(eval $(call BuildPlugin,iptables-mod-cgroup,$(IPT_CGROUP-m)))
$(eval $(call BuildPlugin,iptables-mod-imq,$(IPT_IMQ-m)))
$(eval $(call BuildPlugin,iptables-mod-bandwidth,$(IPT_BANDWIDTH-m)))
$(eval $(call BuildPlugin,iptables-mod-timerange,$(IPT_TIMERANGE-m)))
$(eval $(call BuildPlugin,iptables-mod-webmon,$(IPT_WEBMON-m)))
$(eval $(call BuildPlugin,iptables-mod-weburl,$(IPT_WEBURL-m)))
$(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m)))
$(eval $(call BuildPlugin,iptables-mod-ipsec,$(IPT_IPSEC-m)))
$(eval $(call BuildPlugin,iptables-mod-nat-extra,$(IPT_NAT_EXTRA-m)))

View File

@ -5812,3 +5812,7 @@ CONFIG_IMQ_NUM_DEVS=2
# CONFIG_IMQ_BEHAVIOR_AB is not set
CONFIG_IMQ_BEHAVIOR_BA=y
# CONFIG_IMQ_BEHAVIOR_BB is not set
CONFIG_IP_NF_MATCH_WEBURL=m
CONFIG_IP_NF_MATCH_WEBMON=m
CONFIG_IP_NF_MATCH_TIMERANGE=m
CONFIG_IP_NF_MATCH_BANDWIDTH=m

View File

@ -6112,3 +6112,7 @@ CONFIG_IMQ_NUM_DEVS=2
# CONFIG_IMQ_BEHAVIOR_AB is not set
CONFIG_IMQ_BEHAVIOR_BA=y
# CONFIG_IMQ_BEHAVIOR_BB is not set
CONFIG_IP_NF_MATCH_WEBURL=m
CONFIG_IP_NF_MATCH_WEBMON=m
CONFIG_IP_NF_MATCH_TIMERANGE=m
CONFIG_IP_NF_MATCH_BANDWIDTH=m