From 98c6bd245efdce4a73128cff3a5740f27151624d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Tue, 5 Jun 2018 22:10:57 +0200 Subject: [PATCH] gluon-mesh-batman-adv: unconditionally rate limit ARP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With a reasoning similar to "gluon-ebtables: unconditionally segment IGMP/MLD" also make the ARP rate limiting mandatory. It turned out to be very common that there is a client device with an application scanning the IP subnet, causing congestion and high load for any community which did not add the gluon-ebtables-limit-arp package yet. Therefore just always add gluon-ebtables-limit-arp via a dependency. Signed-off-by: Linus Lüssing --- package/gluon-ebtables-limit-arp/Makefile | 2 +- package/gluon-mesh-batman-adv/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/gluon-ebtables-limit-arp/Makefile b/package/gluon-ebtables-limit-arp/Makefile index f7bdc48d..5c39b37d 100644 --- a/package/gluon-ebtables-limit-arp/Makefile +++ b/package/gluon-ebtables-limit-arp/Makefile @@ -8,7 +8,7 @@ include ../gluon.mk define Package/gluon-ebtables-limit-arp TITLE:=Ebtables limiter for ARP packets - DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv \ + DEPENDS:=+gluon-core +gluon-ebtables \ +@GLUON_SPECIALIZE_KERNEL:KERNEL_BRIDGE_EBT_LIMIT \ +@GLUON_SPECIALIZE_KERNEL:KERNEL_BRIDGE_EBT_MARK \ +@GLUON_SPECIALIZE_KERNEL:KERNEL_BRIDGE_EBT_MARK_T diff --git a/package/gluon-mesh-batman-adv/Makefile b/package/gluon-mesh-batman-adv/Makefile index 4b158f5a..bb18a70d 100644 --- a/package/gluon-mesh-batman-adv/Makefile +++ b/package/gluon-mesh-batman-adv/Makefile @@ -7,7 +7,7 @@ include ../gluon.mk define Package/gluon-mesh-batman-adv/common PROVIDES:=gluon-mesh-batman-adv - DEPENDS:=+gluon-core +libgluonutil +gluon-client-bridge +gluon-ebtables +firewall +libiwinfo +kmod-dummy +libnl-tiny +libbatadv +@GLUON_SPECIALIZE_KERNEL:KERNEL_DUMMY +@GLUON_SPECIALIZE_KERNEL:KERNEL_CRC16 +@GLUON_SPECIALIZE_KERNEL:KERNEL_LIBCRC32C + DEPENDS:=+gluon-core +libgluonutil +gluon-client-bridge +gluon-ebtables +gluon-ebtables-limit-arp +firewall +libiwinfo +kmod-dummy +libnl-tiny +libbatadv +@GLUON_SPECIALIZE_KERNEL:KERNEL_DUMMY +@GLUON_SPECIALIZE_KERNEL:KERNEL_CRC16 +@GLUON_SPECIALIZE_KERNEL:KERNEL_LIBCRC32C endef define Package/gluon-mesh-batman-adv-14