blob: 4a8d7ecd6d097cd7f0e7f875b85bd64a2c2cd352 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# IP netfilter configuration
3#
4
Patrick McHardy8ce22fc2008-01-14 23:31:36 -08005menu "IPv6: Netfilter Configuration"
6 depends on INET && IPV6 && NETFILTER
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Yasuyuki Kozakai9bdf87d2005-11-14 15:26:58 -08008config NF_CONNTRACK_IPV6
Patrick McHardy8ce22fc2008-01-14 23:31:36 -08009 tristate "IPv6 connection tracking support"
10 depends on INET && IPV6 && NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -080011 default m if NETFILTER_ADVANCED=n
Yasuyuki Kozakai9bdf87d2005-11-14 15:26:58 -080012 ---help---
13 Connection tracking keeps a record of what packets have passed
14 through your machine, in order to figure out how they are related
15 into connections.
16
17 This is IPv6 support on Layer 3 independent connection tracking.
18 Layer 3 independent connection tracking is experimental scheme
19 which generalize ip_conntrack to support other layer 3 protocols.
20
21 To compile it as a module, choose M here. If unsure, say N.
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config IP6_NF_QUEUE
Harald Welte7af4cc32005-08-09 19:44:15 -070024 tristate "IP6 Userspace queueing via NETLINK (OBSOLETE)"
Patrick McHardy8ce22fc2008-01-14 23:31:36 -080025 depends on INET && IPV6 && NETFILTER
Patrick McHardy33b8e772007-12-17 22:47:05 -080026 depends on NETFILTER_ADVANCED
Linus Torvalds1da177e2005-04-16 15:20:36 -070027 ---help---
28
29 This option adds a queue handler to the kernel for IPv6
Harald Welte7af4cc32005-08-09 19:44:15 -070030 packets which enables users to receive the filtered packets
31 with QUEUE target using libipq.
32
David Sterba3dde6ad2007-05-09 07:12:20 +020033 This option enables the old IPv6-only "ip6_queue" implementation
Harald Welte7af4cc32005-08-09 19:44:15 -070034 which has been obsoleted by the new "nfnetlink_queue" code (see
35 CONFIG_NETFILTER_NETLINK_QUEUE).
Linus Torvalds1da177e2005-04-16 15:20:36 -070036
37 (C) Fernando Anton 2001
38 IPv64 Project - Work based in IPv64 draft by Arturo Azcorra.
39 Universidad Carlos III de Madrid
40 Universidad Politecnica de Alcala de Henares
41 email: <fanton@it.uc3m.es>.
42
43 To compile it as a module, choose M here. If unsure, say N.
44
45config IP6_NF_IPTABLES
Patrick McHardy844dc7c2006-10-30 15:12:16 -080046 tristate "IP6 tables support (required for filtering)"
Patrick McHardy8ce22fc2008-01-14 23:31:36 -080047 depends on INET && IPV6
Patrick McHardya3c941b2007-02-12 11:15:02 -080048 select NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -080049 default m if NETFILTER_ADVANCED=n
Linus Torvalds1da177e2005-04-16 15:20:36 -070050 help
51 ip6tables is a general, extensible packet identification framework.
52 Currently only the packet filtering and packet mangling subsystem
53 for IPv6 use this, but connection tracking is going to follow.
54 Say 'Y' or 'M' here if you want to use either of those.
55
56 To compile it as a module, choose M here. If unsure, say N.
57
Jan Engelhardtc2df73d2008-10-08 11:35:18 +020058if IP6_NF_IPTABLES
59
Linus Torvalds1da177e2005-04-16 15:20:36 -070060# The simple matches.
Jan Engelhardtaba0d342008-10-08 11:35:17 +020061config IP6_NF_MATCH_AH
62 tristate '"ah" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -080063 depends on NETFILTER_ADVANCED
Linus Torvalds1da177e2005-04-16 15:20:36 -070064 help
Jan Engelhardtaba0d342008-10-08 11:35:17 +020065 This module allows one to match AH packets.
66
67 To compile it as a module, choose M here. If unsure, say N.
68
69config IP6_NF_MATCH_EUI64
70 tristate '"eui64" address check'
Jan Engelhardtaba0d342008-10-08 11:35:17 +020071 depends on NETFILTER_ADVANCED
72 help
73 This module performs checking on the IPv6 source address
74 Compares the last 64 bits with the EUI64 (delivered
75 from the MAC address) address
76
77 To compile it as a module, choose M here. If unsure, say N.
78
79config IP6_NF_MATCH_FRAG
80 tristate '"frag" Fragmentation header match support'
Jan Engelhardtaba0d342008-10-08 11:35:17 +020081 depends on NETFILTER_ADVANCED
82 help
83 frag matching allows you to match packets based on the fragmentation
Linus Torvalds1da177e2005-04-16 15:20:36 -070084 header of the packet.
85
86 To compile it as a module, choose M here. If unsure, say N.
87
88config IP6_NF_MATCH_OPTS
Jan Engelhardt77d73582008-10-08 11:35:17 +020089 tristate '"hbh" hop-by-hop and "dst" opts header match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -080090 depends on NETFILTER_ADVANCED
Linus Torvalds1da177e2005-04-16 15:20:36 -070091 help
92 This allows one to match packets based on the hop-by-hop
93 and destination options headers of a packet.
94
95 To compile it as a module, choose M here. If unsure, say N.
96
Linus Torvalds1da177e2005-04-16 15:20:36 -070097config IP6_NF_MATCH_IPV6HEADER
Jan Engelhardt4c377992007-12-04 23:31:59 -080098 tristate '"ipv6header" IPv6 Extension Headers Match'
Linus Torvalds44c45eb2008-01-31 00:26:10 +110099 default m if NETFILTER_ADVANCED=n
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 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
Masahide NAKAMURAa0ca2152007-02-07 15:12:57 -0800106config IP6_NF_MATCH_MH
Jan Engelhardt4c377992007-12-04 23:31:59 -0800107 tristate '"mh" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800108 depends on NETFILTER_ADVANCED
Masahide NAKAMURAa0ca2152007-02-07 15:12:57 -0800109 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
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200114config IP6_NF_MATCH_RT
115 tristate '"rt" Routing header match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800116 depends on NETFILTER_ADVANCED
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117 help
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200118 rt matching allows you to match packets based on the routing
119 header of the packet.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120
121 To compile it as a module, choose M here. If unsure, say N.
122
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123# The targets
Jan Engelhardt2203eb42008-10-08 11:35:17 +0200124config IP6_NF_TARGET_LOG
125 tristate "LOG target support"
Jan Engelhardt2203eb42008-10-08 11:35:17 +0200126 default m if NETFILTER_ADVANCED=n
127 help
128 This option adds a `LOG' target, which allows you to create rules in
129 any iptables table which records the packet header to the syslog.
130
131 To compile it as a module, choose M here. If unsure, say N.
132
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133config IP6_NF_FILTER
134 tristate "Packet filtering"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800135 default m if NETFILTER_ADVANCED=n
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136 help
137 Packet filtering defines a table `filter', which has a series of
138 rules for simple packet filtering at local input, forwarding and
139 local output. See the man page for iptables(8).
140
141 To compile it as a module, choose M here. If unsure, say N.
142
Patrick McHardy764d8a92005-08-21 23:31:06 -0700143config IP6_NF_TARGET_REJECT
144 tristate "REJECT target support"
145 depends on IP6_NF_FILTER
Patrick McHardy33b8e772007-12-17 22:47:05 -0800146 default m if NETFILTER_ADVANCED=n
Patrick McHardy764d8a92005-08-21 23:31:06 -0700147 help
148 The REJECT target allows a filtering rule to specify that an ICMPv6
149 error should be issued in response to an incoming packet, rather
150 than silently being dropped.
151
152 To compile it as a module, choose M here. If unsure, say N.
153
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154config IP6_NF_MANGLE
155 tristate "Packet mangling"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800156 default m if NETFILTER_ADVANCED=n
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 help
158 This option adds a `mangle' table to iptables: see the man page for
159 iptables(8). This table is used for various packet alterations
160 which can effect how the packet is routed.
161
162 To compile it as a module, choose M here. If unsure, say N.
163
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164config IP6_NF_RAW
165 tristate 'raw table support (required for TRACE)'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800166 depends on NETFILTER_ADVANCED
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167 help
168 This option adds a `raw' table to ip6tables. This table is the very
169 first in the netfilter framework and hooks in at the PREROUTING
170 and OUTPUT chains.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800171
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500173 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174
James Morris17e6e592008-06-09 15:58:05 -0700175# security table for MAC policy
176config IP6_NF_SECURITY
177 tristate "Security table"
James Morris17e6e592008-06-09 15:58:05 -0700178 depends on SECURITY
Patrick McHardy70eed752008-07-23 16:42:42 -0700179 depends on NETFILTER_ADVANCED
James Morris17e6e592008-06-09 15:58:05 -0700180 help
181 This option adds a `security' table to iptables, for use
182 with Mandatory Access Control (MAC) policy.
183
184 If unsure, say N.
185
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200186endif # IP6_NF_IPTABLES
187
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188endmenu
189