netfilter: nf_tables: convert built-in tables/chains to chain types
[deliverable/linux.git] / net / ipv6 / netfilter / Kconfig
CommitLineData
1da177e4
LT
1#
2# IP netfilter configuration
3#
4
8ce22fca
PM
5menu "IPv6: Netfilter Configuration"
6 depends on INET && IPV6 && NETFILTER
1da177e4 7
f6318e55
KK
8config NF_DEFRAG_IPV6
9 tristate
10 default n
11
9bdf87d9 12config NF_CONNTRACK_IPV6
8ce22fca
PM
13 tristate "IPv6 connection tracking support"
14 depends on INET && IPV6 && NF_CONNTRACK
33b8e776 15 default m if NETFILTER_ADVANCED=n
f6318e55 16 select NF_DEFRAG_IPV6
9bdf87d9
YK
17 ---help---
18 Connection tracking keeps a record of what packets have passed
19 through your machine, in order to figure out how they are related
20 into connections.
21
22 This is IPv6 support on Layer 3 independent connection tracking.
23 Layer 3 independent connection tracking is experimental scheme
24 which generalize ip_conntrack to support other layer 3 protocols.
25
26 To compile it as a module, choose M here. If unsure, say N.
58a317f1 27
96518518
PM
28config NF_TABLES_IPV6
29 depends on NF_TABLES
30 tristate "IPv6 nf_tables support"
31
9370761c 32config NFT_CHAIN_ROUTE_IPV6
96518518 33 depends on NF_TABLES_IPV6
9370761c 34 tristate "IPv6 nf_tables route chain support"
96518518 35
1da177e4 36config IP6_NF_IPTABLES
844dc7c8 37 tristate "IP6 tables support (required for filtering)"
8ce22fca 38 depends on INET && IPV6
a3c941b0 39 select NETFILTER_XTABLES
33b8e776 40 default m if NETFILTER_ADVANCED=n
1da177e4
LT
41 help
42 ip6tables is a general, extensible packet identification framework.
43 Currently only the packet filtering and packet mangling subsystem
44 for IPv6 use this, but connection tracking is going to follow.
45 Say 'Y' or 'M' here if you want to use either of those.
46
47 To compile it as a module, choose M here. If unsure, say N.
48
c2df73de
JE
49if IP6_NF_IPTABLES
50
1da177e4 51# The simple matches.
aba0d348
JE
52config IP6_NF_MATCH_AH
53 tristate '"ah" match support'
33b8e776 54 depends on NETFILTER_ADVANCED
1da177e4 55 help
aba0d348 56 This module allows one to match AH packets.
1da177e4
LT
57
58 To compile it as a module, choose M here. If unsure, say N.
59
aba0d348
JE
60config IP6_NF_MATCH_EUI64
61 tristate '"eui64" address check'
33b8e776 62 depends on NETFILTER_ADVANCED
1da177e4 63 help
aba0d348
JE
64 This module performs checking on the IPv6 source address
65 Compares the last 64 bits with the EUI64 (delivered
66 from the MAC address) address
1da177e4
LT
67
68 To compile it as a module, choose M here. If unsure, say N.
69
70config IP6_NF_MATCH_FRAG
4c37799c 71 tristate '"frag" Fragmentation header match support'
33b8e776 72 depends on NETFILTER_ADVANCED
1da177e4
LT
73 help
74 frag matching allows you to match packets based on the fragmentation
75 header of the packet.
76
77 To compile it as a module, choose M here. If unsure, say N.
78
aba0d348
JE
79config IP6_NF_MATCH_OPTS
80 tristate '"hbh" hop-by-hop and "dst" opts header match support'
aba0d348
JE
81 depends on NETFILTER_ADVANCED
82 help
83 This allows one to match packets based on the hop-by-hop
84 and destination options headers of a packet.
85
86 To compile it as a module, choose M here. If unsure, say N.
87
4323362e
JE
88config IP6_NF_MATCH_HL
89 tristate '"hl" hoplimit match support'
90 depends on NETFILTER_ADVANCED
91 select NETFILTER_XT_MATCH_HL
92 ---help---
93 This is a backwards-compat option for the user's convenience
94 (e.g. when running oldconfig). It selects
8dd1d047 95 CONFIG_NETFILTER_XT_MATCH_HL.
4323362e 96
1da177e4 97config IP6_NF_MATCH_IPV6HEADER
4c37799c 98 tristate '"ipv6header" IPv6 Extension Headers Match'
44c45eb9 99 default m if NETFILTER_ADVANCED=n
1da177e4
LT
100 help
101 This module allows one to match packets based upon
102 the ipv6 extension headers.
103
104 To compile it as a module, choose M here. If unsure, say N.
105
a0ca215a 106config IP6_NF_MATCH_MH
4c37799c 107 tristate '"mh" match support'
33b8e776 108 depends on NETFILTER_ADVANCED
a0ca215a
MN
109 help
110 This module allows one to match MH packets.
111
112 To compile it as a module, choose M here. If unsure, say N.
113
e26f9a48
FW
114config IP6_NF_MATCH_RPFILTER
115 tristate '"rpfilter" reverse path filter match support'
d37d6968 116 depends on NETFILTER_ADVANCED && (IP6_NF_MANGLE || IP6_NF_RAW)
e26f9a48
FW
117 ---help---
118 This option allows you to match packets whose replies would
119 go out via the interface the packet came in.
120
121 To compile it as a module, choose M here. If unsure, say N.
122 The module will be called ip6t_rpfilter.
123
aba0d348
JE
124config IP6_NF_MATCH_RT
125 tristate '"rt" Routing header match support'
33b8e776 126 depends on NETFILTER_ADVANCED
1da177e4 127 help
aba0d348
JE
128 rt matching allows you to match packets based on the routing
129 header of the packet.
1da177e4
LT
130
131 To compile it as a module, choose M here. If unsure, say N.
132
1da177e4 133# The targets
4323362e
JE
134config IP6_NF_TARGET_HL
135 tristate '"HL" hoplimit target support'
76b6717b 136 depends on NETFILTER_ADVANCED && IP6_NF_MANGLE
4323362e
JE
137 select NETFILTER_XT_TARGET_HL
138 ---help---
76b6717b 139 This is a backwards-compatible option for the user's convenience
4323362e 140 (e.g. when running oldconfig). It selects
8dd1d047 141 CONFIG_NETFILTER_XT_TARGET_HL.
4323362e 142
2203eb47
JE
143config IP6_NF_FILTER
144 tristate "Packet filtering"
33b8e776 145 default m if NETFILTER_ADVANCED=n
1da177e4 146 help
2203eb47
JE
147 Packet filtering defines a table `filter', which has a series of
148 rules for simple packet filtering at local input, forwarding and
149 local output. See the man page for iptables(8).
1da177e4
LT
150
151 To compile it as a module, choose M here. If unsure, say N.
152
764d8a9f
PM
153config IP6_NF_TARGET_REJECT
154 tristate "REJECT target support"
155 depends on IP6_NF_FILTER
33b8e776 156 default m if NETFILTER_ADVANCED=n
764d8a9f
PM
157 help
158 The REJECT target allows a filtering rule to specify that an ICMPv6
159 error should be issued in response to an incoming packet, rather
160 than silently being dropped.
161
162 To compile it as a module, choose M here. If unsure, say N.
163
4ad36228
PM
164config IP6_NF_TARGET_SYNPROXY
165 tristate "SYNPROXY target support"
166 depends on NF_CONNTRACK && NETFILTER_ADVANCED
167 select NETFILTER_SYNPROXY
168 select SYN_COOKIES
169 help
170 The SYNPROXY target allows you to intercept TCP connections and
171 establish them using syncookies before they are passed on to the
172 server. This allows to avoid conntrack and server resource usage
173 during SYN-flood attacks.
174
175 To compile it as a module, choose M here. If unsure, say N.
176
1da177e4
LT
177config IP6_NF_MANGLE
178 tristate "Packet mangling"
33b8e776 179 default m if NETFILTER_ADVANCED=n
1da177e4
LT
180 help
181 This option adds a `mangle' table to iptables: see the man page for
182 iptables(8). This table is used for various packet alterations
183 which can effect how the packet is routed.
184
185 To compile it as a module, choose M here. If unsure, say N.
1da177e4 186
1da177e4
LT
187config IP6_NF_RAW
188 tristate 'raw table support (required for TRACE)'
1da177e4
LT
189 help
190 This option adds a `raw' table to ip6tables. This table is the very
191 first in the netfilter framework and hooks in at the PREROUTING
192 and OUTPUT chains.
33b8e776 193
1da177e4 194 If you want to compile it as a module, say M here and read
39f5fb30 195 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
1da177e4 196
17e6e59f
JM
197# security table for MAC policy
198config IP6_NF_SECURITY
199 tristate "Security table"
17e6e59f 200 depends on SECURITY
70eed75d 201 depends on NETFILTER_ADVANCED
17e6e59f
JM
202 help
203 This option adds a `security' table to iptables, for use
204 with Mandatory Access Control (MAC) policy.
b0041d1b 205
17e6e59f
JM
206 If unsure, say N.
207
b0041d1b
PNA
208config NF_NAT_IPV6
209 tristate "IPv6 NAT"
210 depends on NF_CONNTRACK_IPV6
211 depends on NETFILTER_ADVANCED
212 select NF_NAT
213 help
214 The IPv6 NAT option allows masquerading, port forwarding and other
215 forms of full Network Address Port Translation. It is controlled by
216 the `nat' table in ip6tables, see the man page for ip6tables(8).
217
218 To compile it as a module, choose M here. If unsure, say N.
219
220if NF_NAT_IPV6
221
222config IP6_NF_TARGET_MASQUERADE
223 tristate "MASQUERADE target support"
224 help
225 Masquerading is a special case of NAT: all outgoing connections are
226 changed to seem to come from a particular interface's address, and
227 if the interface goes down, those connections are lost. This is
228 only useful for dialup accounts with dynamic IP address (ie. your IP
229 address will be different on next dialup).
230
231 To compile it as a module, choose M here. If unsure, say N.
232
b0041d1b
PNA
233config IP6_NF_TARGET_NPT
234 tristate "NPT (Network Prefix translation) target support"
235 help
236 This option adds the `SNPT' and `DNPT' target, which perform
237 stateless IPv6-to-IPv6 Network Prefix Translation per RFC 6296.
238
239 To compile it as a module, choose M here. If unsure, say N.
240
241endif # NF_NAT_IPV6
242
c2df73de
JE
243endif # IP6_NF_IPTABLES
244
1da177e4
LT
245endmenu
246
This page took 0.688749 seconds and 5 git commands to generate.