forked from freifunk-franken/firmware
This firewall was introduced as a countermeasure for very slow routers directly connected to the internet without any firewall. Our routers have got quite a bit faster since then. Also, a setup like this is highly uncommon, especially for slower routers. Therefore this firewall rule is removed. Fixes: #138 Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de> [bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
44 lines
878 B
Makefile
44 lines
878 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-firewall
|
|
PKG_RELEASE:=5
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken firewall
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:=+arptables \
|
|
+ebtables +ebtables-utils \
|
|
+kmod-ebtables-ipv4 +kmod-ebtables-ipv6 \
|
|
+iptables-mod-filter +iptables-mod-ipopt +iptables-mod-conntrack-extra \
|
|
+kmod-nf-conntrack6
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This is the firewall for the Freifunk Franken Firmware
|
|
It is used to configure firewall.
|
|
endef
|
|
|
|
define Build/Prepare
|
|
echo "all: " > $(PKG_BUILD_DIR)/Makefile
|
|
endef
|
|
|
|
define Build/Configure
|
|
# nothing
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|