2017-04-09 16:18:51 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-ebtables-source-filter
|
|
|
|
PKG_VERSION:=1
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
include ../gluon.mk
|
|
|
|
|
|
|
|
define Package/gluon-ebtables-source-filter
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Ebtables rules to filter unreasonable L2 traffic.
|
2017-07-08 19:23:00 +00:00
|
|
|
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
2017-04-09 16:18:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-ebtables-source-filter/description
|
|
|
|
This package adds an additional layer-2 filter-ruleset to prevent unreasonable
|
|
|
|
traffic entering the network via the nodes.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-ebtables-source-filter/install
|
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-ebtables-source-filter/postinst
|
|
|
|
#!/bin/sh
|
|
|
|
$(call GluonCheckSite,check_site.lua)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-ebtables-source-filter))
|