aa2c0dc3f9
This is a fix for the broken ingress traffic-shaping in gluon v2018.2.2
and possibly earlier.
For ingress traffic shaping the kernel option NET_ACT_POLICE is needed.
Before this patch there was no dependency to this. Neither in
gluon_core, gluon-mesh-vpn-core nor in the package.
This patch adds this dependency.
[Matthias Schiffer: move dependency from GLUON_CORE to gluon-mesh-vpn-core]
Fixes #1790
(cherry picked from commit dc8149abc4
)
23 lines
815 B
Makefile
23 lines
815 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-mesh-vpn-core
|
|
PKG_VERSION:=1
|
|
|
|
include ../gluon.mk
|
|
|
|
define Package/gluon-mesh-vpn-core
|
|
TITLE:=Basic support for connecting meshes via VPN tunnels
|
|
DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables +iptables-mod-extra +simple-tc \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NETFILTER_XT_MATCH_ADDRTYPE \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NETFILTER_XT_MATCH_OWNER \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NETFILTER_XT_MATCH_PKTTYPE \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NETFILTER_XT_MATCH_QUOTA \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NET_CLS_BASIC \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NET_ACT_POLICE \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NET_SCH_TBF \
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_NET_SCH_INGRESS
|
|
USERID:=:gluon-mesh-vpn=800
|
|
endef
|
|
|
|
$(eval $(call BuildPackageGluon,gluon-mesh-vpn-core))
|