[openwrt/openwrt] netfilter: add nf_conntrack_sane to kmod-nf-nathelpers-extra

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 31 10:56:09 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8b2f7beb074089b873cf0820b8ab1884778e8573

commit 8b2f7beb074089b873cf0820b8ab1884778e8573
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Tue Aug 13 08:04:56 2024 +0200

    netfilter: add nf_conntrack_sane to kmod-nf-nathelpers-extra
    
    'SANE' is a protocol for remote access to scanners as implemented by the
    'saned' daemon. Like FTP, it uses separate control and data connections.
    
    So let´s enable this in the kernel and add them to 'kmod-nf-nathelper-extra'.
    
    Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
 include/netfilter.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/netfilter.mk b/include/netfilter.mk
index 5bc336eb44..1b7224bc8c 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -208,6 +208,7 @@ $(eval $(call nf_add,NF_NATHELPER,CONFIG_NF_NAT_FTP, $(P_XT)nf_nat_ftp))
 
 $(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_BROADCAST, $(P_XT)nf_conntrack_broadcast))
 $(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_NETBIOS_NS, $(P_XT)nf_conntrack_netbios_ns))
+$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_SANE, $(P_XT)nf_conntrack_sane))
 $(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_AMANDA, $(P_XT)nf_conntrack_amanda))
 $(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_AMANDA, $(P_XT)nf_nat_amanda))
 $(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_H323, $(P_XT)nf_conntrack_h323))




More information about the lede-commits mailing list