Skip to content

Commit

Permalink
realtek: Use firewall4
Browse files Browse the repository at this point in the history
The realtek target is not a router, but basic device, see DEVICE_TYPE.
The basic device type does not come with firewall by default, see
include/target.mk for details. The realtek target extended
DEFAULT_PACKAGES manually with firewall.

This changes the defaults to take firewall4 and nftables instead of
firewall and iptables. This also adds the additional package
kmod-nft-offload.

The only difference to the router type is the missing ppp,
ppp-mod-pppoe, dnsmasq and odhcpd-ipv6only package.

This increases the compressed image size by about 422KBytes.

Tested-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke committed Mar 29, 2022
1 parent 2acebbd commit 4690306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/realtek/Makefile
Expand Up @@ -18,7 +18,7 @@ endef
include $(INCLUDE_DIR)/target.mk

DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
firewall ip6tables iptables odhcp6c \
firewall4 nftables kmod-nft-offload odhcp6c \
ip-full ip-bridge tc

$(eval $(call BuildTarget))

0 comments on commit 4690306

Please sign in to comment.