浏览代码

xt_socket: checks for the state of nf_conntrack

xt_socket can use connection tracking, and checks whether it is a module.

Signed-off-by: Laszlo Attila Toth <panther@balabit.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Laszlo Attila Toth 16 年之前
父节点
当前提交
acda074390
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/netfilter/Kconfig

+ 1 - 0
net/netfilter/Kconfig

@@ -837,6 +837,7 @@ config NETFILTER_XT_MATCH_SOCKET
 	depends on NETFILTER_TPROXY
 	depends on NETFILTER_TPROXY
 	depends on NETFILTER_XTABLES
 	depends on NETFILTER_XTABLES
 	depends on NETFILTER_ADVANCED
 	depends on NETFILTER_ADVANCED
+	depends on !NF_CONNTRACK || NF_CONNTRACK
 	select NF_DEFRAG_IPV4
 	select NF_DEFRAG_IPV4
 	help
 	help
 	  This option adds a `socket' match, which can be used to match
 	  This option adds a `socket' match, which can be used to match