@@ -25,19 +25,57 @@ config NETFILTER_NETLINK_LOG
2525 and is also scheduled to replace the old syslog-based ipt_LOG
2626 and ip6t_LOG modules.
2727
28- config NF_CONNTRACK
29- tristate "Layer 3 Independent Connection tracking (EXPERIMENTAL)"
30- depends on EXPERIMENTAL && IP_NF_CONNTRACK=n
31- default n
32- ---help---
28+ config NF_CONNTRACK_ENABLED
29+ tristate "Netfilter connection tracking support"
30+ help
3331 Connection tracking keeps a record of what packets have passed
3432 through your machine, in order to figure out how they are related
3533 into connections.
3634
35+ This is required to do Masquerading or other kinds of Network
36+ Address Translation (except for Fast NAT). It can also be used to
37+ enhance packet filtering (see `Connection state match support'
38+ below).
39+
40+ To compile it as a module, choose M here. If unsure, say N.
41+
42+ choice
43+ prompt "Netfilter connection tracking support"
44+ depends on NF_CONNTRACK_ENABLED
45+
46+ config NF_CONNTRACK_SUPPORT
47+ bool "Layer 3 Independent Connection tracking (EXPERIMENTAL)"
48+ depends on EXPERIMENTAL
49+ help
3750 Layer 3 independent connection tracking is experimental scheme
3851 which generalize ip_conntrack to support other layer 3 protocols.
3952
40- To compile it as a module, choose M here. If unsure, say N.
53+ This is required to do Masquerading or other kinds of Network
54+ Address Translation (except for Fast NAT). It can also be used to
55+ enhance packet filtering (see `Connection state match support'
56+ below).
57+
58+ config IP_NF_CONNTRACK_SUPPORT
59+ bool "Layer 3 Dependent Connection tracking"
60+ help
61+ The old, Layer 3 dependent ip_conntrack subsystem of netfilter.
62+
63+ This is required to do Masquerading or other kinds of Network
64+ Address Translation (except for Fast NAT). It can also be used to
65+ enhance packet filtering (see `Connection state match support'
66+ below).
67+
68+ endchoice
69+
70+ config NF_CONNTRACK
71+ tristate
72+ default m if NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=m
73+ default y if NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=y
74+
75+ config IP_NF_CONNTRACK
76+ tristate
77+ default m if IP_NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=m
78+ default y if IP_NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=y
4179
4280config NF_CT_ACCT
4381 bool "Connection tracking flow accounting"
0 commit comments