Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # IP netfilter configuration |
| 3 | # |
| 4 | |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 5 | menu "IPv6: Netfilter Configuration" |
| 6 | depends on INET && IPV6 && NETFILTER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Yasuyuki Kozakai | 9bdf87d | 2005-11-14 15:26:58 -0800 | [diff] [blame] | 8 | config NF_CONNTRACK_IPV6 |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 9 | tristate "IPv6 connection tracking support" |
| 10 | depends on INET && IPV6 && NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 11 | default m if NETFILTER_ADVANCED=n |
Yasuyuki Kozakai | 9bdf87d | 2005-11-14 15:26:58 -0800 | [diff] [blame] | 12 | ---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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | config IP6_NF_QUEUE |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 24 | tristate "IP6 Userspace queueing via NETLINK (OBSOLETE)" |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 25 | depends on INET && IPV6 && NETFILTER |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 26 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | ---help--- |
| 28 | |
| 29 | This option adds a queue handler to the kernel for IPv6 |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 30 | packets which enables users to receive the filtered packets |
| 31 | with QUEUE target using libipq. |
| 32 | |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 33 | This option enables the old IPv6-only "ip6_queue" implementation |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 34 | which has been obsoleted by the new "nfnetlink_queue" code (see |
| 35 | CONFIG_NETFILTER_NETLINK_QUEUE). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
| 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 | |
| 45 | config IP6_NF_IPTABLES |
Patrick McHardy | 844dc7c | 2006-10-30 15:12:16 -0800 | [diff] [blame] | 46 | tristate "IP6 tables support (required for filtering)" |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 47 | depends on INET && IPV6 |
Patrick McHardy | a3c941b | 2007-02-12 11:15:02 -0800 | [diff] [blame] | 48 | select NETFILTER_XTABLES |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 49 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | 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 Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 58 | if IP6_NF_IPTABLES |
| 59 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | # The simple matches. |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 61 | config IP6_NF_MATCH_AH |
| 62 | tristate '"ah" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 63 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | help |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 65 | This module allows one to match AH packets. |
| 66 | |
| 67 | To compile it as a module, choose M here. If unsure, say N. |
| 68 | |
| 69 | config IP6_NF_MATCH_EUI64 |
| 70 | tristate '"eui64" address check' |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 71 | 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 | |
| 79 | config IP6_NF_MATCH_FRAG |
| 80 | tristate '"frag" Fragmentation header match support' |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 81 | depends on NETFILTER_ADVANCED |
| 82 | help |
| 83 | frag matching allows you to match packets based on the fragmentation |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | header of the packet. |
| 85 | |
| 86 | To compile it as a module, choose M here. If unsure, say N. |
| 87 | |
| 88 | config IP6_NF_MATCH_OPTS |
Jan Engelhardt | 77d7358 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 89 | tristate '"hbh" hop-by-hop and "dst" opts header match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 90 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 91 | 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 | |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 97 | config IP6_NF_MATCH_HL |
| 98 | tristate '"hl" hoplimit match support' |
| 99 | depends on NETFILTER_ADVANCED |
| 100 | select NETFILTER_XT_MATCH_HL |
| 101 | ---help--- |
| 102 | This is a backwards-compat option for the user's convenience |
| 103 | (e.g. when running oldconfig). It selects |
Jan Engelhardt | 8dd1d04 | 2009-03-24 13:35:27 -0700 | [diff] [blame] | 104 | CONFIG_NETFILTER_XT_MATCH_HL. |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 105 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 106 | config IP6_NF_MATCH_IPV6HEADER |
Jan Engelhardt | 4c37799 | 2007-12-04 23:31:59 -0800 | [diff] [blame] | 107 | tristate '"ipv6header" IPv6 Extension Headers Match' |
Linus Torvalds | 44c45eb | 2008-01-31 00:26:10 +1100 | [diff] [blame] | 108 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 109 | help |
| 110 | This module allows one to match packets based upon |
| 111 | the ipv6 extension headers. |
| 112 | |
| 113 | To compile it as a module, choose M here. If unsure, say N. |
| 114 | |
Masahide NAKAMURA | a0ca215 | 2007-02-07 15:12:57 -0800 | [diff] [blame] | 115 | config IP6_NF_MATCH_MH |
Jan Engelhardt | 4c37799 | 2007-12-04 23:31:59 -0800 | [diff] [blame] | 116 | tristate '"mh" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 117 | depends on NETFILTER_ADVANCED |
Masahide NAKAMURA | a0ca215 | 2007-02-07 15:12:57 -0800 | [diff] [blame] | 118 | help |
| 119 | This module allows one to match MH packets. |
| 120 | |
| 121 | To compile it as a module, choose M here. If unsure, say N. |
| 122 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 123 | config IP6_NF_MATCH_RT |
| 124 | tristate '"rt" Routing header match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 125 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 126 | help |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 127 | rt matching allows you to match packets based on the routing |
| 128 | header of the packet. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | |
| 130 | To compile it as a module, choose M here. If unsure, say N. |
| 131 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | # The targets |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 133 | config IP6_NF_TARGET_HL |
| 134 | tristate '"HL" hoplimit target support' |
| 135 | depends on NETFILTER_ADVANCED |
| 136 | select NETFILTER_XT_TARGET_HL |
| 137 | ---help--- |
| 138 | This is a backwards-compat option for the user's convenience |
| 139 | (e.g. when running oldconfig). It selects |
Jan Engelhardt | 8dd1d04 | 2009-03-24 13:35:27 -0700 | [diff] [blame] | 140 | CONFIG_NETFILTER_XT_TARGET_HL. |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 141 | |
Jan Engelhardt | 2203eb4 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 142 | config IP6_NF_TARGET_LOG |
| 143 | tristate "LOG target support" |
Jan Engelhardt | 2203eb4 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 144 | default m if NETFILTER_ADVANCED=n |
| 145 | help |
| 146 | This option adds a `LOG' target, which allows you to create rules in |
| 147 | any iptables table which records the packet header to the syslog. |
| 148 | |
| 149 | To compile it as a module, choose M here. If unsure, say N. |
| 150 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 151 | config IP6_NF_FILTER |
| 152 | tristate "Packet filtering" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 153 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 154 | help |
| 155 | Packet filtering defines a table `filter', which has a series of |
| 156 | rules for simple packet filtering at local input, forwarding and |
| 157 | local output. See the man page for iptables(8). |
| 158 | |
| 159 | To compile it as a module, choose M here. If unsure, say N. |
| 160 | |
Patrick McHardy | 764d8a9 | 2005-08-21 23:31:06 -0700 | [diff] [blame] | 161 | config IP6_NF_TARGET_REJECT |
| 162 | tristate "REJECT target support" |
| 163 | depends on IP6_NF_FILTER |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 164 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | 764d8a9 | 2005-08-21 23:31:06 -0700 | [diff] [blame] | 165 | help |
| 166 | The REJECT target allows a filtering rule to specify that an ICMPv6 |
| 167 | error should be issued in response to an incoming packet, rather |
| 168 | than silently being dropped. |
| 169 | |
| 170 | To compile it as a module, choose M here. If unsure, say N. |
| 171 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 172 | config IP6_NF_MANGLE |
| 173 | tristate "Packet mangling" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 174 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 175 | help |
| 176 | This option adds a `mangle' table to iptables: see the man page for |
| 177 | iptables(8). This table is used for various packet alterations |
| 178 | which can effect how the packet is routed. |
| 179 | |
| 180 | To compile it as a module, choose M here. If unsure, say N. |
| 181 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 182 | config IP6_NF_RAW |
| 183 | tristate 'raw table support (required for TRACE)' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 184 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 185 | help |
| 186 | This option adds a `raw' table to ip6tables. This table is the very |
| 187 | first in the netfilter framework and hooks in at the PREROUTING |
| 188 | and OUTPUT chains. |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 189 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 190 | If you want to compile it as a module, say M here and read |
Alexander E. Patrakov | 39f5fb3 | 2007-03-16 18:28:43 +0500 | [diff] [blame] | 191 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 192 | |
James Morris | 17e6e59 | 2008-06-09 15:58:05 -0700 | [diff] [blame] | 193 | # security table for MAC policy |
| 194 | config IP6_NF_SECURITY |
| 195 | tristate "Security table" |
James Morris | 17e6e59 | 2008-06-09 15:58:05 -0700 | [diff] [blame] | 196 | depends on SECURITY |
Patrick McHardy | 70eed75 | 2008-07-23 16:42:42 -0700 | [diff] [blame] | 197 | depends on NETFILTER_ADVANCED |
James Morris | 17e6e59 | 2008-06-09 15:58:05 -0700 | [diff] [blame] | 198 | help |
| 199 | This option adds a `security' table to iptables, for use |
| 200 | with Mandatory Access Control (MAC) policy. |
| 201 | |
| 202 | If unsure, say N. |
| 203 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 204 | endif # IP6_NF_IPTABLES |
| 205 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 206 | endmenu |
| 207 | |