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