Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # IP netfilter configuration |
| 3 | # |
| 4 | |
| 5 | menu "IP: Netfilter Configuration" |
| 6 | depends on INET && NETFILTER |
| 7 | |
KOVACS Krisztian | 73e4022 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 8 | config NF_DEFRAG_IPV4 |
| 9 | tristate |
| 10 | default n |
| 11 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 12 | config NF_CONNTRACK_IPV4 |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 13 | tristate "IPv4 connection tracking support (required for NAT)" |
| 14 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 15 | default m if NETFILTER_ADVANCED=n |
KOVACS Krisztian | 73e4022 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 16 | select NF_DEFRAG_IPV4 |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 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 IPv4 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. |
| 27 | |
Patrick McHardy | a999e68 | 2006-11-29 02:35:20 +0100 | [diff] [blame] | 28 | config NF_CONNTRACK_PROC_COMPAT |
| 29 | bool "proc/sysctl compatibility with old connection tracking" |
Jan Engelhardt | 54b07dc | 2011-04-21 09:32:45 +0200 | [diff] [blame] | 30 | depends on NF_CONNTRACK_PROCFS && NF_CONNTRACK_IPV4 |
Patrick McHardy | a999e68 | 2006-11-29 02:35:20 +0100 | [diff] [blame] | 31 | default y |
| 32 | help |
| 33 | This option enables /proc and sysctl compatibility with the old |
Stephen Hemminger | 67c0d57 | 2009-03-16 15:17:23 +0100 | [diff] [blame] | 34 | layer 3 dependent connection tracking. This is needed to keep |
Patrick McHardy | a999e68 | 2006-11-29 02:35:20 +0100 | [diff] [blame] | 35 | old programs that have not been adapted to the new names working. |
| 36 | |
| 37 | If unsure, say Y. |
| 38 | |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 39 | config NF_TABLES_IPV4 |
| 40 | depends on NF_TABLES |
| 41 | tristate "IPv4 nf_tables support" |
| 42 | |
| 43 | config NFT_REJECT_IPV4 |
| 44 | depends on NF_TABLES_IPV4 |
| 45 | tristate "nf_tables IPv4 reject support" |
| 46 | |
Pablo Neira Ayuso | 9370761 | 2013-10-10 23:21:26 +0200 | [diff] [blame] | 47 | config NFT_CHAIN_ROUTE_IPV4 |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 48 | depends on NF_TABLES_IPV4 |
Pablo Neira Ayuso | 9370761 | 2013-10-10 23:21:26 +0200 | [diff] [blame] | 49 | tristate "IPv4 nf_tables route chain support" |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 50 | |
Pablo Neira Ayuso | 9370761 | 2013-10-10 23:21:26 +0200 | [diff] [blame] | 51 | config NFT_CHAIN_NAT_IPV4 |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 52 | depends on NF_TABLES_IPV4 |
Tomasz Bursztyka | eb31628 | 2013-10-10 13:39:19 +0200 | [diff] [blame] | 53 | depends on NF_NAT_IPV4 && NFT_NAT |
Pablo Neira Ayuso | 9370761 | 2013-10-10 23:21:26 +0200 | [diff] [blame] | 54 | tristate "IPv4 nf_tables nat chain support" |
Patrick McHardy | 9651851 | 2013-10-14 11:00:02 +0200 | [diff] [blame] | 55 | |
Pablo Neira Ayuso | ed683f1 | 2013-10-07 22:53:08 +0200 | [diff] [blame] | 56 | config NF_TABLES_ARP |
| 57 | depends on NF_TABLES |
| 58 | tristate "ARP nf_tables support" |
| 59 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | config IP_NF_IPTABLES |
| 61 | tristate "IP tables support (required for filtering/masq/NAT)" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 62 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | a3c941b | 2007-02-12 11:15:02 -0800 | [diff] [blame] | 63 | select NETFILTER_XTABLES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | help |
| 65 | iptables is a general, extensible packet identification framework. |
| 66 | The packet filtering and full NAT (masquerading, port forwarding, |
| 67 | etc) subsystems now use this: say `Y' or `M' here if you want to use |
| 68 | either of those. |
| 69 | |
| 70 | To compile it as a module, choose M here. If unsure, say N. |
| 71 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 72 | if IP_NF_IPTABLES |
| 73 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | # The matches. |
Yasuyuki Kozakai | dc5ab2f | 2006-04-01 02:22:30 -0800 | [diff] [blame] | 75 | config IP_NF_MATCH_AH |
Jan Engelhardt | 4c37799 | 2007-12-04 23:31:59 -0800 | [diff] [blame] | 76 | tristate '"ah" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 77 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | help |
Yasuyuki Kozakai | dc5ab2f | 2006-04-01 02:22:30 -0800 | [diff] [blame] | 79 | This match extension allows you to match a range of SPIs |
| 80 | inside AH header of IPSec packets. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 81 | |
| 82 | To compile it as a module, choose M here. If unsure, say N. |
| 83 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 84 | config IP_NF_MATCH_ECN |
| 85 | tristate '"ecn" match support' |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 86 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | d446a820 | 2011-06-09 21:03:07 +0200 | [diff] [blame] | 87 | select NETFILTER_XT_MATCH_ECN |
| 88 | ---help--- |
| 89 | This is a backwards-compat option for the user's convenience |
| 90 | (e.g. when running oldconfig). It selects |
| 91 | CONFIG_NETFILTER_XT_MATCH_ECN. |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 92 | |
Florian Westphal | 8f97339 | 2011-07-04 22:48:10 +0100 | [diff] [blame] | 93 | config IP_NF_MATCH_RPFILTER |
| 94 | tristate '"rpfilter" reverse path filter match support' |
Florian Westphal | d37d696 | 2013-04-17 22:45:25 +0000 | [diff] [blame] | 95 | depends on NETFILTER_ADVANCED && (IP_NF_MANGLE || IP_NF_RAW) |
Florian Westphal | 8f97339 | 2011-07-04 22:48:10 +0100 | [diff] [blame] | 96 | ---help--- |
| 97 | This option allows you to match packets whose replies would |
| 98 | go out via the interface the packet came in. |
| 99 | |
| 100 | To compile it as a module, choose M here. If unsure, say N. |
| 101 | The module will be called ipt_rpfilter. |
| 102 | |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 103 | config IP_NF_MATCH_TTL |
| 104 | tristate '"ttl" match support' |
| 105 | depends on NETFILTER_ADVANCED |
| 106 | select NETFILTER_XT_MATCH_HL |
| 107 | ---help--- |
| 108 | This is a backwards-compat option for the user's convenience |
| 109 | (e.g. when running oldconfig). It selects |
Stephen Hemminger | 67c0d57 | 2009-03-16 15:17:23 +0100 | [diff] [blame] | 110 | CONFIG_NETFILTER_XT_MATCH_HL. |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 111 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 112 | # `filter', generic and specific targets |
| 113 | config IP_NF_FILTER |
| 114 | tristate "Packet filtering" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 115 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 | help |
| 117 | Packet filtering defines a table `filter', which has a series of |
| 118 | rules for simple packet filtering at local input, forwarding and |
| 119 | local output. See the man page for iptables(8). |
| 120 | |
| 121 | To compile it as a module, choose M here. If unsure, say N. |
| 122 | |
| 123 | config IP_NF_TARGET_REJECT |
| 124 | tristate "REJECT target support" |
| 125 | depends on IP_NF_FILTER |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 126 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 127 | help |
| 128 | The REJECT target allows a filtering rule to specify that an ICMP |
| 129 | error should be issued in response to an incoming packet, rather |
| 130 | than silently being dropped. |
| 131 | |
| 132 | To compile it as a module, choose M here. If unsure, say N. |
| 133 | |
Patrick McHardy | 48b1de4 | 2013-08-27 08:50:14 +0200 | [diff] [blame] | 134 | config IP_NF_TARGET_SYNPROXY |
| 135 | tristate "SYNPROXY target support" |
| 136 | depends on NF_CONNTRACK && NETFILTER_ADVANCED |
| 137 | select NETFILTER_SYNPROXY |
| 138 | select SYN_COOKIES |
| 139 | help |
| 140 | The SYNPROXY target allows you to intercept TCP connections and |
| 141 | establish them using syncookies before they are passed on to the |
| 142 | server. This allows to avoid conntrack and server resource usage |
| 143 | during SYN-flood attacks. |
| 144 | |
| 145 | To compile it as a module, choose M here. If unsure, say N. |
| 146 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 147 | config IP_NF_TARGET_ULOG |
Pablo Neira Ayuso | de94c45 | 2013-05-22 22:42:37 +0000 | [diff] [blame] | 148 | tristate "ULOG target support (obsolete)" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 149 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 150 | ---help--- |
Harald Welte | f40863c | 2005-10-10 20:51:53 -0700 | [diff] [blame] | 151 | |
| 152 | This option enables the old IPv4-only "ipt_ULOG" implementation |
| 153 | which has been obsoleted by the new "nfnetlink_log" code (see |
| 154 | CONFIG_NETFILTER_NETLINK_LOG). |
| 155 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 156 | This option adds a `ULOG' target, which allows you to create rules in |
| 157 | any iptables table. The packet is passed to a userspace logging |
| 158 | daemon using netlink multicast sockets; unlike the LOG target |
| 159 | which can only be viewed through syslog. |
| 160 | |
Matt LaPlante | 44c0920 | 2006-10-03 22:34:14 +0200 | [diff] [blame] | 161 | The appropriate userspace logging daemon (ulogd) may be obtained from |
Justin P. Mattock | 631dd1a | 2010-10-18 11:03:14 +0200 | [diff] [blame] | 162 | <http://www.netfilter.org/projects/ulogd/index.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | |
| 164 | To compile it as a module, choose M here. If unsure, say N. |
| 165 | |
Jozsef Kadlecsik | 5b1158e | 2006-12-02 22:07:13 -0800 | [diff] [blame] | 166 | # NAT + specific targets: nf_conntrack |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 167 | config NF_NAT_IPV4 |
| 168 | tristate "IPv4 NAT" |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 169 | depends on NF_CONNTRACK_IPV4 |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 170 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 171 | select NF_NAT |
Jozsef Kadlecsik | 5b1158e | 2006-12-02 22:07:13 -0800 | [diff] [blame] | 172 | help |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 173 | The IPv4 NAT option allows masquerading, port forwarding and other |
Jozsef Kadlecsik | 5b1158e | 2006-12-02 22:07:13 -0800 | [diff] [blame] | 174 | forms of full Network Address Port Translation. It is controlled by |
| 175 | the `nat' table in iptables: see the man page for iptables(8). |
| 176 | |
| 177 | To compile it as a module, choose M here. If unsure, say N. |
| 178 | |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 179 | if NF_NAT_IPV4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 180 | |
| 181 | config IP_NF_TARGET_MASQUERADE |
| 182 | tristate "MASQUERADE target support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 183 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 184 | help |
| 185 | Masquerading is a special case of NAT: all outgoing connections are |
| 186 | changed to seem to come from a particular interface's address, and |
| 187 | if the interface goes down, those connections are lost. This is |
| 188 | only useful for dialup accounts with dynamic IP address (ie. your IP |
| 189 | address will be different on next dialup). |
| 190 | |
| 191 | To compile it as a module, choose M here. If unsure, say N. |
| 192 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 193 | config IP_NF_TARGET_NETMAP |
| 194 | tristate "NETMAP target support" |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 195 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | b3d54b3 | 2012-09-21 11:37:59 +0200 | [diff] [blame] | 196 | select NETFILTER_XT_TARGET_NETMAP |
| 197 | ---help--- |
| 198 | This is a backwards-compat option for the user's convenience |
| 199 | (e.g. when running oldconfig). It selects |
| 200 | CONFIG_NETFILTER_XT_TARGET_NETMAP. |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 201 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 202 | config IP_NF_TARGET_REDIRECT |
| 203 | tristate "REDIRECT target support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 204 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | 2cbc78a | 2012-09-21 11:41:34 +0200 | [diff] [blame] | 205 | select NETFILTER_XT_TARGET_REDIRECT |
| 206 | ---help--- |
| 207 | This is a backwards-compat option for the user's convenience |
| 208 | (e.g. when running oldconfig). It selects |
| 209 | CONFIG_NETFILTER_XT_TARGET_REDIRECT. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 210 | |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 211 | endif |
| 212 | |
Patrick McHardy | 807467c | 2006-12-02 22:10:34 -0800 | [diff] [blame] | 213 | config NF_NAT_SNMP_BASIC |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 214 | tristate "Basic SNMP-ALG support" |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 215 | depends on NF_CONNTRACK_SNMP && NF_NAT_IPV4 |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 216 | depends on NETFILTER_ADVANCED |
Jiri Olsa | 93557f5 | 2011-01-18 18:12:24 +0100 | [diff] [blame] | 217 | default NF_NAT && NF_CONNTRACK_SNMP |
Patrick McHardy | 807467c | 2006-12-02 22:10:34 -0800 | [diff] [blame] | 218 | ---help--- |
| 219 | |
| 220 | This module implements an Application Layer Gateway (ALG) for |
| 221 | SNMP payloads. In conjunction with NAT, it allows a network |
| 222 | management system to access multiple private networks with |
| 223 | conflicting addresses. It works by modifying IP addresses |
| 224 | inside SNMP payloads to match IP-layer NAT mapping. |
| 225 | |
| 226 | This is the "basic" form of SNMP-ALG, as described in RFC 2962 |
| 227 | |
| 228 | To compile it as a module, choose M here. If unsure, say N. |
| 229 | |
Jozsef Kadlecsik | 55a7332 | 2006-12-02 22:07:44 -0800 | [diff] [blame] | 230 | # If they want FTP, set to $CONFIG_IP_NF_NAT (m or y), |
| 231 | # or $CONFIG_IP_NF_FTP (m or y), whichever is weaker. |
| 232 | # From kconfig-language.txt: |
| 233 | # |
| 234 | # <expr> '&&' <expr> (6) |
| 235 | # |
| 236 | # (6) Returns the result of min(/expr/, /expr/). |
Patrick McHardy | 4910a08 | 2008-03-20 15:15:57 +0100 | [diff] [blame] | 237 | |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 238 | config NF_NAT_PROTO_GRE |
| 239 | tristate |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 240 | depends on NF_NAT_IPV4 && NF_CT_PROTO_GRE |
Patrick McHardy | 9d908a6 | 2008-04-14 11:15:50 +0200 | [diff] [blame] | 241 | |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 242 | config NF_NAT_PPTP |
| 243 | tristate |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 244 | depends on NF_CONNTRACK && NF_NAT_IPV4 |
| 245 | default NF_NAT_IPV4 && NF_CONNTRACK_PPTP |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 246 | select NF_NAT_PROTO_GRE |
| 247 | |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 248 | config NF_NAT_H323 |
| 249 | tristate |
Patrick McHardy | c7232c9 | 2012-08-26 19:14:06 +0200 | [diff] [blame] | 250 | depends on NF_CONNTRACK && NF_NAT_IPV4 |
| 251 | default NF_NAT_IPV4 && NF_CONNTRACK_H323 |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 252 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 253 | # mangle + specific targets |
| 254 | config IP_NF_MANGLE |
| 255 | tristate "Packet mangling" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 256 | default m if NETFILTER_ADVANCED=n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 257 | help |
| 258 | This option adds a `mangle' table to iptables: see the man page for |
| 259 | iptables(8). This table is used for various packet alterations |
| 260 | which can effect how the packet is routed. |
| 261 | |
| 262 | To compile it as a module, choose M here. If unsure, say N. |
| 263 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 264 | config IP_NF_TARGET_CLUSTERIP |
Kees Cook | aec9a0e | 2012-10-02 11:19:48 -0700 | [diff] [blame] | 265 | tristate "CLUSTERIP target support" |
| 266 | depends on IP_NF_MANGLE |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 267 | depends on NF_CONNTRACK_IPV4 |
| 268 | depends on NETFILTER_ADVANCED |
| 269 | select NF_CONNTRACK_MARK |
| 270 | help |
| 271 | The CLUSTERIP target allows you to build load-balancing clusters of |
| 272 | network servers without having a dedicated load-balancing |
| 273 | router/server/switch. |
| 274 | |
| 275 | To compile it as a module, choose M here. If unsure, say N. |
| 276 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 277 | config IP_NF_TARGET_ECN |
| 278 | tristate "ECN target support" |
| 279 | depends on IP_NF_MANGLE |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 280 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 281 | ---help--- |
| 282 | This option adds a `ECN' target, which can be used in the iptables mangle |
| 283 | table. |
| 284 | |
| 285 | You can use this target to remove the ECN bits from the IPv4 header of |
| 286 | an IP packet. This is particularly useful, if you need to work around |
| 287 | existing ECN blackholes on the internet, but don't want to disable |
| 288 | ECN support in general. |
| 289 | |
| 290 | To compile it as a module, choose M here. If unsure, say N. |
| 291 | |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 292 | config IP_NF_TARGET_TTL |
| 293 | tristate '"TTL" target support' |
Randy Dunlap | 76b6717 | 2010-10-18 11:13:30 +0200 | [diff] [blame] | 294 | depends on NETFILTER_ADVANCED && IP_NF_MANGLE |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 295 | select NETFILTER_XT_TARGET_HL |
| 296 | ---help--- |
Randy Dunlap | 76b6717 | 2010-10-18 11:13:30 +0200 | [diff] [blame] | 297 | This is a backwards-compatible option for the user's convenience |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 298 | (e.g. when running oldconfig). It selects |
Stephen Hemminger | 67c0d57 | 2009-03-16 15:17:23 +0100 | [diff] [blame] | 299 | CONFIG_NETFILTER_XT_TARGET_HL. |
Jan Engelhardt | 4323362 | 2009-02-19 11:16:03 +0100 | [diff] [blame] | 300 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 301 | # raw + specific targets |
| 302 | config IP_NF_RAW |
| 303 | tristate 'raw table support (required for NOTRACK/TRACE)' |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 304 | help |
| 305 | This option adds a `raw' table to iptables. This table is the very |
| 306 | first in the netfilter framework and hooks in at the PREROUTING |
| 307 | and OUTPUT chains. |
| 308 | |
| 309 | If you want to compile it as a module, say M here and read |
Dirk Hohndel | e403149 | 2007-10-30 13:37:19 -0700 | [diff] [blame] | 310 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 311 | |
James Morris | 560ee65 | 2008-06-09 15:57:24 -0700 | [diff] [blame] | 312 | # security table for MAC policy |
| 313 | config IP_NF_SECURITY |
| 314 | tristate "Security table" |
James Morris | 560ee65 | 2008-06-09 15:57:24 -0700 | [diff] [blame] | 315 | depends on SECURITY |
Patrick McHardy | 70eed75 | 2008-07-23 16:42:42 -0700 | [diff] [blame] | 316 | depends on NETFILTER_ADVANCED |
James Morris | 560ee65 | 2008-06-09 15:57:24 -0700 | [diff] [blame] | 317 | help |
| 318 | This option adds a `security' table to iptables, for use |
| 319 | with Mandatory Access Control (MAC) policy. |
| 320 | |
| 321 | If unsure, say N. |
| 322 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 323 | endif # IP_NF_IPTABLES |
| 324 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 325 | # ARP tables |
| 326 | config IP_NF_ARPTABLES |
| 327 | tristate "ARP tables support" |
Patrick McHardy | a3c941b | 2007-02-12 11:15:02 -0800 | [diff] [blame] | 328 | select NETFILTER_XTABLES |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 329 | depends on NETFILTER_ADVANCED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 330 | help |
| 331 | arptables is a general, extensible packet identification framework. |
| 332 | The ARP packet filtering and mangling (manipulation)subsystems |
| 333 | use this: say Y or M here if you want to use either of those. |
| 334 | |
| 335 | To compile it as a module, choose M here. If unsure, say N. |
| 336 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 337 | if IP_NF_ARPTABLES |
| 338 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 339 | config IP_NF_ARPFILTER |
| 340 | tristate "ARP packet filtering" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 341 | help |
| 342 | ARP packet filtering defines a table `filter', which has a series of |
| 343 | rules for simple ARP packet filtering at local input and |
| 344 | local output. On a bridge, you can also specify filtering rules |
| 345 | for forwarded ARP packets. See the man page for arptables(8). |
| 346 | |
| 347 | To compile it as a module, choose M here. If unsure, say N. |
| 348 | |
| 349 | config IP_NF_ARP_MANGLE |
| 350 | tristate "ARP payload mangling" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 351 | help |
| 352 | Allows altering the ARP packet payload: source and destination |
| 353 | hardware and network addresses. |
| 354 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 355 | endif # IP_NF_ARPTABLES |
| 356 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 357 | endmenu |
| 358 | |