Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 1 | menu "Core Netfilter Configuration" |
Patrick McHardy | 3a41135 | 2006-12-12 00:27:46 -0800 | [diff] [blame] | 2 | depends on NET && INET && NETFILTER |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 3 | |
Harald Welte | f9e815b | 2005-08-09 19:30:24 -0700 | [diff] [blame] | 4 | config NETFILTER_NETLINK |
Patrick McHardy | 2eeeba3 | 2007-12-05 01:31:52 -0800 | [diff] [blame] | 5 | tristate |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 6 | |
| 7 | config NETFILTER_NETLINK_QUEUE |
| 8 | tristate "Netfilter NFQUEUE over NFNETLINK interface" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 9 | depends on NETFILTER_ADVANCED |
Patrick McHardy | 2eeeba3 | 2007-12-05 01:31:52 -0800 | [diff] [blame] | 10 | select NETFILTER_NETLINK |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 11 | help |
Thomas Vögtle | 50b521a | 2006-03-22 13:53:48 -0800 | [diff] [blame] | 12 | If this option is enabled, the kernel will include support |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 13 | for queueing packets via NFNETLINK. |
| 14 | |
Harald Welte | 0597f26 | 2005-08-09 19:58:39 -0700 | [diff] [blame] | 15 | config NETFILTER_NETLINK_LOG |
| 16 | tristate "Netfilter LOG over NFNETLINK interface" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 17 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | 2eeeba3 | 2007-12-05 01:31:52 -0800 | [diff] [blame] | 18 | select NETFILTER_NETLINK |
Harald Welte | 0597f26 | 2005-08-09 19:58:39 -0700 | [diff] [blame] | 19 | help |
| 20 | If this option is enabled, the kernel will include support |
| 21 | for logging packets via NFNETLINK. |
| 22 | |
| 23 | This obsoletes the existing ipt_ULOG and ebg_ulog mechanisms, |
| 24 | and is also scheduled to replace the old syslog-based ipt_LOG |
| 25 | and ip6t_LOG modules. |
| 26 | |
Patrick McHardy | ab4f58c | 2007-12-05 01:31:37 -0800 | [diff] [blame] | 27 | config NF_CONNTRACK |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 28 | tristate "Netfilter connection tracking support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 29 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 30 | help |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 31 | Connection tracking keeps a record of what packets have passed |
| 32 | through your machine, in order to figure out how they are related |
| 33 | into connections. |
| 34 | |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 35 | This is required to do Masquerading or other kinds of Network |
Russ Dill | b11c16b | 2008-07-08 02:35:27 -0700 | [diff] [blame] | 36 | Address Translation. It can also be used to enhance packet |
| 37 | filtering (see `Connection state match support' below). |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 38 | |
| 39 | To compile it as a module, choose M here. If unsure, say N. |
| 40 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 41 | if NF_CONNTRACK |
| 42 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 43 | config NF_CONNTRACK_MARK |
| 44 | bool 'Connection mark tracking support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 45 | depends on NETFILTER_ADVANCED |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 46 | help |
| 47 | This option enables support for connection marks, used by the |
| 48 | `CONNMARK' target and `connmark' match. Similar to the mark value |
| 49 | of packets, but this mark value is kept in the conntrack session |
| 50 | instead of the individual packets. |
| 51 | |
James Morris | 7c9728c | 2006-06-09 00:31:46 -0700 | [diff] [blame] | 52 | config NF_CONNTRACK_SECMARK |
| 53 | bool 'Connection tracking security mark support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 54 | depends on NETWORK_SECMARK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 55 | default m if NETFILTER_ADVANCED=n |
James Morris | 7c9728c | 2006-06-09 00:31:46 -0700 | [diff] [blame] | 56 | help |
| 57 | This option enables security markings to be applied to |
| 58 | connections. Typically they are copied to connections from |
| 59 | packets using the CONNSECMARK target and copied back from |
| 60 | connections to packets with the same target, with the packets |
| 61 | being originally labeled via SECMARK. |
| 62 | |
| 63 | If unsure, say 'N'. |
| 64 | |
Patrick McHardy | 5d0aa2c | 2010-02-15 18:13:33 +0100 | [diff] [blame] | 65 | config NF_CONNTRACK_ZONES |
| 66 | bool 'Connection tracking zones' |
| 67 | depends on NETFILTER_ADVANCED |
| 68 | depends on NETFILTER_XT_TARGET_CT |
| 69 | help |
| 70 | This option enables support for connection tracking zones. |
| 71 | Normally, each connection needs to have a unique system wide |
| 72 | identity. Connection tracking zones allow to have multiple |
| 73 | connections using the same identity, as long as they are |
| 74 | contained in different zones. |
| 75 | |
| 76 | If unsure, say `N'. |
| 77 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 78 | config NF_CONNTRACK_EVENTS |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 79 | bool "Connection tracking events" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 80 | depends on NETFILTER_ADVANCED |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 81 | help |
| 82 | If this option is enabled, the connection tracking code will |
| 83 | provide a notifier chain that can be used by other kernel code |
Thomas Vögtle | 50b521a | 2006-03-22 13:53:48 -0800 | [diff] [blame] | 84 | to get notified about changes in the connection tracking state. |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 85 | |
| 86 | If unsure, say `N'. |
| 87 | |
Pablo Neira Ayuso | a992ca2 | 2011-01-19 16:00:07 +0100 | [diff] [blame] | 88 | config NF_CONNTRACK_TIMESTAMP |
| 89 | bool 'Connection tracking timestamping' |
| 90 | depends on NETFILTER_ADVANCED |
| 91 | help |
| 92 | This option enables support for connection tracking timestamping. |
| 93 | This allows you to store the flow start-time and to obtain |
| 94 | the flow-stop time (once it has been destroyed) via Connection |
| 95 | tracking events. |
| 96 | |
| 97 | If unsure, say `N'. |
| 98 | |
Patrick McHardy | 2bc7804 | 2008-03-20 15:15:55 +0100 | [diff] [blame] | 99 | config NF_CT_PROTO_DCCP |
| 100 | tristate 'DCCP protocol connection tracking support (EXPERIMENTAL)' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 101 | depends on EXPERIMENTAL |
Patrick McHardy | 2bc7804 | 2008-03-20 15:15:55 +0100 | [diff] [blame] | 102 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f3261af | 2008-05-08 01:16:04 -0700 | [diff] [blame] | 103 | default IP_DCCP |
Patrick McHardy | 2bc7804 | 2008-03-20 15:15:55 +0100 | [diff] [blame] | 104 | help |
| 105 | With this option enabled, the layer 3 independent connection |
| 106 | tracking code will be able to do state tracking on DCCP connections. |
| 107 | |
| 108 | If unsure, say 'N'. |
| 109 | |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 110 | config NF_CT_PROTO_GRE |
| 111 | tristate |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 112 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 113 | config NF_CT_PROTO_SCTP |
Patrick McHardy | a3c4797 | 2006-12-02 22:11:01 -0800 | [diff] [blame] | 114 | tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 115 | depends on EXPERIMENTAL |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 116 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f3261af | 2008-05-08 01:16:04 -0700 | [diff] [blame] | 117 | default IP_SCTP |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 118 | help |
| 119 | With this option enabled, the layer 3 independent connection |
| 120 | tracking code will be able to do state tracking on SCTP connections. |
| 121 | |
| 122 | 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] | 123 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 124 | |
Patrick McHardy | 59eecdf | 2007-07-14 20:48:44 -0700 | [diff] [blame] | 125 | config NF_CT_PROTO_UDPLITE |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 126 | tristate 'UDP-Lite protocol connection tracking support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 127 | depends on NETFILTER_ADVANCED |
Patrick McHardy | 59eecdf | 2007-07-14 20:48:44 -0700 | [diff] [blame] | 128 | help |
| 129 | With this option enabled, the layer 3 independent connection |
| 130 | tracking code will be able to do state tracking on UDP-Lite |
| 131 | connections. |
| 132 | |
| 133 | To compile it as a module, choose M here. If unsure, say N. |
| 134 | |
Patrick McHardy | 1695890 | 2006-12-02 22:08:26 -0800 | [diff] [blame] | 135 | config NF_CONNTRACK_AMANDA |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 136 | tristate "Amanda backup protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 137 | depends on NETFILTER_ADVANCED |
Patrick McHardy | 1695890 | 2006-12-02 22:08:26 -0800 | [diff] [blame] | 138 | select TEXTSEARCH |
| 139 | select TEXTSEARCH_KMP |
| 140 | help |
| 141 | If you are running the Amanda backup package <http://www.amanda.org/> |
| 142 | on this machine or machines that will be MASQUERADED through this |
| 143 | machine, then you may want to enable this feature. This allows the |
| 144 | connection tracking and natting code to allow the sub-channels that |
| 145 | Amanda requires for communication of the backup data, messages and |
| 146 | index. |
| 147 | |
| 148 | To compile it as a module, choose M here. If unsure, say N. |
| 149 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 150 | config NF_CONNTRACK_FTP |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 151 | tristate "FTP protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 152 | default m if NETFILTER_ADVANCED=n |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 153 | help |
| 154 | Tracking FTP connections is problematic: special helpers are |
| 155 | required for tracking them, and doing masquerading and other forms |
| 156 | of Network Address Translation on them. |
| 157 | |
| 158 | This is FTP support on Layer 3 independent connection tracking. |
| 159 | Layer 3 independent connection tracking is experimental scheme |
| 160 | which generalize ip_conntrack to support other layer 3 protocols. |
| 161 | |
| 162 | To compile it as a module, choose M here. If unsure, say N. |
| 163 | |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 164 | config NF_CONNTRACK_H323 |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 165 | tristate "H.323 protocol support" |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 166 | depends on (IPV6 || IPV6=n) |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 167 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 168 | help |
| 169 | H.323 is a VoIP signalling protocol from ITU-T. As one of the most |
| 170 | important VoIP protocols, it is widely used by voice hardware and |
| 171 | software including voice gateways, IP phones, Netmeeting, OpenPhone, |
| 172 | Gnomemeeting, etc. |
| 173 | |
| 174 | With this module you can support H.323 on a connection tracking/NAT |
| 175 | firewall. |
| 176 | |
| 177 | This module supports RAS, Fast Start, H.245 Tunnelling, Call |
| 178 | Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat, |
| 179 | whiteboard, file transfer, etc. For more information, please |
| 180 | visit http://nath323.sourceforge.net/. |
| 181 | |
| 182 | To compile it as a module, choose M here. If unsure, say N. |
| 183 | |
Patrick McHardy | 869f37d8 | 2006-12-02 22:09:06 -0800 | [diff] [blame] | 184 | config NF_CONNTRACK_IRC |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 185 | tristate "IRC protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 186 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | 869f37d8 | 2006-12-02 22:09:06 -0800 | [diff] [blame] | 187 | help |
| 188 | There is a commonly-used extension to IRC called |
| 189 | Direct Client-to-Client Protocol (DCC). This enables users to send |
| 190 | files to each other, and also chat to each other without the need |
| 191 | of a server. DCC Sending is used anywhere you send files over IRC, |
| 192 | and DCC Chat is most commonly used by Eggdrop bots. If you are |
| 193 | using NAT, this extension will enable you to send files and initiate |
| 194 | chats. Note that you do NOT need this extension to get files or |
| 195 | have others initiate chats, or everything else in IRC. |
| 196 | |
| 197 | To compile it as a module, choose M here. If unsure, say N. |
| 198 | |
Jiri Olsa | 93557f5 | 2011-01-18 18:12:24 +0100 | [diff] [blame] | 199 | config NF_CONNTRACK_BROADCAST |
| 200 | tristate |
| 201 | |
Patrick McHardy | 92703ee | 2006-12-02 22:09:24 -0800 | [diff] [blame] | 202 | config NF_CONNTRACK_NETBIOS_NS |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 203 | tristate "NetBIOS name service protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 204 | depends on NETFILTER_ADVANCED |
Jiri Olsa | 93557f5 | 2011-01-18 18:12:24 +0100 | [diff] [blame] | 205 | select NF_CONNTRACK_BROADCAST |
Patrick McHardy | 92703ee | 2006-12-02 22:09:24 -0800 | [diff] [blame] | 206 | help |
| 207 | NetBIOS name service requests are sent as broadcast messages from an |
| 208 | unprivileged port and responded to with unicast messages to the |
| 209 | same port. This make them hard to firewall properly because connection |
| 210 | tracking doesn't deal with broadcasts. This helper tracks locally |
| 211 | originating NetBIOS name service requests and the corresponding |
| 212 | responses. It relies on correct IP address configuration, specifically |
| 213 | netmask and broadcast address. When properly configured, the output |
| 214 | of "ip address show" should look similar to this: |
| 215 | |
| 216 | $ ip -4 address show eth0 |
| 217 | 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 |
| 218 | inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0 |
| 219 | |
| 220 | To compile it as a module, choose M here. If unsure, say N. |
| 221 | |
Jiri Olsa | 93557f5 | 2011-01-18 18:12:24 +0100 | [diff] [blame] | 222 | config NF_CONNTRACK_SNMP |
| 223 | tristate "SNMP service protocol support" |
| 224 | depends on NETFILTER_ADVANCED |
| 225 | select NF_CONNTRACK_BROADCAST |
| 226 | help |
| 227 | SNMP service requests are sent as broadcast messages from an |
| 228 | unprivileged port and responded to with unicast messages to the |
| 229 | same port. This make them hard to firewall properly because connection |
| 230 | tracking doesn't deal with broadcasts. This helper tracks locally |
| 231 | originating SNMP service requests and the corresponding |
| 232 | responses. It relies on correct IP address configuration, specifically |
| 233 | netmask and broadcast address. |
| 234 | |
| 235 | To compile it as a module, choose M here. If unsure, say N. |
| 236 | |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 237 | config NF_CONNTRACK_PPTP |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 238 | tristate "PPtP protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 239 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 240 | select NF_CT_PROTO_GRE |
| 241 | help |
| 242 | This module adds support for PPTP (Point to Point Tunnelling |
| 243 | Protocol, RFC2637) connection tracking and NAT. |
| 244 | |
| 245 | If you are running PPTP sessions over a stateful firewall or NAT |
| 246 | box, you may want to enable this feature. |
| 247 | |
| 248 | Please note that not all PPTP modes of operation are supported yet. |
| 249 | Specifically these limitations exist: |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 250 | - Blindly assumes that control connections are always established |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 251 | in PNS->PAC direction. This is a violation of RFC2637. |
| 252 | - Only supports a single call within each session |
| 253 | |
| 254 | To compile it as a module, choose M here. If unsure, say N. |
| 255 | |
Michal Schmidt | 6fecd19 | 2007-02-07 15:05:12 -0800 | [diff] [blame] | 256 | config NF_CONNTRACK_SANE |
| 257 | tristate "SANE protocol support (EXPERIMENTAL)" |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 258 | depends on EXPERIMENTAL |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 259 | depends on NETFILTER_ADVANCED |
Michal Schmidt | 6fecd19 | 2007-02-07 15:05:12 -0800 | [diff] [blame] | 260 | help |
| 261 | SANE is a protocol for remote access to scanners as implemented |
| 262 | by the 'saned' daemon. Like FTP, it uses separate control and |
| 263 | data connections. |
| 264 | |
| 265 | With this module you can support SANE on a connection tracking |
| 266 | firewall. |
| 267 | |
| 268 | To compile it as a module, choose M here. If unsure, say N. |
| 269 | |
Patrick McHardy | 9fafcd7 | 2006-12-02 22:09:57 -0800 | [diff] [blame] | 270 | config NF_CONNTRACK_SIP |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 271 | tristate "SIP protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 272 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | 9fafcd7 | 2006-12-02 22:09:57 -0800 | [diff] [blame] | 273 | help |
| 274 | SIP is an application-layer control protocol that can establish, |
| 275 | modify, and terminate multimedia sessions (conferences) such as |
| 276 | Internet telephony calls. With the ip_conntrack_sip and |
| 277 | the nf_nat_sip modules you can support the protocol on a connection |
| 278 | tracking/NATing firewall. |
| 279 | |
| 280 | To compile it as a module, choose M here. If unsure, say N. |
| 281 | |
Patrick McHardy | a536df3 | 2006-12-02 22:10:18 -0800 | [diff] [blame] | 282 | config NF_CONNTRACK_TFTP |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 283 | tristate "TFTP protocol support" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 284 | depends on NETFILTER_ADVANCED |
Patrick McHardy | a536df3 | 2006-12-02 22:10:18 -0800 | [diff] [blame] | 285 | help |
| 286 | TFTP connection tracking helper, this is required depending |
| 287 | on how restrictive your ruleset is. |
| 288 | If you are using a tftp client behind -j SNAT or -j MASQUERADING |
| 289 | you will need this. |
| 290 | |
| 291 | To compile it as a module, choose M here. If unsure, say N. |
| 292 | |
Pablo Neira Ayuso | c1d10ad | 2006-01-05 12:19:05 -0800 | [diff] [blame] | 293 | config NF_CT_NETLINK |
Patrick McHardy | 8ce22fc | 2008-01-14 23:31:36 -0800 | [diff] [blame] | 294 | tristate 'Connection tracking netlink interface' |
Patrick McHardy | 2eeeba3 | 2007-12-05 01:31:52 -0800 | [diff] [blame] | 295 | select NETFILTER_NETLINK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 296 | default m if NETFILTER_ADVANCED=n |
Pablo Neira Ayuso | c1d10ad | 2006-01-05 12:19:05 -0800 | [diff] [blame] | 297 | help |
| 298 | This option enables support for a netlink-based userspace interface |
| 299 | |
Laszlo Attila Toth | 4b07066 | 2009-04-24 16:55:25 +0200 | [diff] [blame] | 300 | endif # NF_CONNTRACK |
| 301 | |
KOVACS Krisztian | 9ad2d74 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 302 | # transparent proxy support |
| 303 | config NETFILTER_TPROXY |
| 304 | tristate "Transparent proxying support (EXPERIMENTAL)" |
| 305 | depends on EXPERIMENTAL |
| 306 | depends on IP_NF_MANGLE |
| 307 | depends on NETFILTER_ADVANCED |
| 308 | help |
| 309 | This option enables transparent proxying support, that is, |
| 310 | support for handling non-locally bound IPv4 TCP and UDP sockets. |
| 311 | For it to work you will have to configure certain iptables rules |
| 312 | and use policy routing. For more information on how to set it up |
| 313 | see Documentation/networking/tproxy.txt. |
| 314 | |
| 315 | To compile it as a module, choose M here. If unsure, say N. |
| 316 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 317 | config NETFILTER_XTABLES |
| 318 | tristate "Netfilter Xtables support (required for ip_tables)" |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 319 | default m if NETFILTER_ADVANCED=n |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 320 | help |
| 321 | This is required if you intend to use any of ip_tables, |
| 322 | ip6_tables or arp_tables. |
| 323 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 324 | if NETFILTER_XTABLES |
| 325 | |
Jan Engelhardt | 28b9498 | 2009-02-28 03:23:57 +0100 | [diff] [blame] | 326 | comment "Xtables combined modules" |
| 327 | |
| 328 | config NETFILTER_XT_MARK |
| 329 | tristate 'nfmark target and match support' |
| 330 | default m if NETFILTER_ADVANCED=n |
| 331 | ---help--- |
| 332 | This option adds the "MARK" target and "mark" match. |
| 333 | |
| 334 | Netfilter mark matching allows you to match packets based on the |
| 335 | "nfmark" value in the packet. |
| 336 | The target allows you to create rules in the "mangle" table which alter |
| 337 | the netfilter mark (nfmark) field associated with the packet. |
| 338 | |
| 339 | Prior to routing, the nfmark can influence the routing method (see |
| 340 | "Use netfilter MARK value as routing key") and can also be used by |
| 341 | other subsystems to change their behavior. |
| 342 | |
Jan Engelhardt | b8f00ba | 2010-02-26 14:20:32 +0100 | [diff] [blame] | 343 | config NETFILTER_XT_CONNMARK |
| 344 | tristate 'ctmark target and match support' |
| 345 | depends on NF_CONNTRACK |
| 346 | depends on NETFILTER_ADVANCED |
| 347 | select NF_CONNTRACK_MARK |
| 348 | ---help--- |
| 349 | This option adds the "CONNMARK" target and "connmark" match. |
| 350 | |
| 351 | Netfilter allows you to store a mark value per connection (a.k.a. |
| 352 | ctmark), similarly to the packet mark (nfmark). Using this |
| 353 | target and match, you can set and match on this mark. |
| 354 | |
Jozsef Kadlecsik | d956798 | 2011-02-01 15:56:00 +0100 | [diff] [blame] | 355 | config NETFILTER_XT_SET |
| 356 | tristate 'set target and match support' |
| 357 | depends on IP_SET |
| 358 | depends on NETFILTER_ADVANCED |
| 359 | help |
| 360 | This option adds the "SET" target and "set" match. |
| 361 | |
| 362 | Using this target and match, you can add/delete and match |
| 363 | elements in the sets created by ipset(8). |
| 364 | |
| 365 | To compile it as a module, choose M here. If unsure, say N. |
| 366 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 367 | # alphabetically ordered list of targets |
| 368 | |
Jan Engelhardt | 44c5873 | 2010-02-26 14:14:22 +0100 | [diff] [blame] | 369 | comment "Xtables targets" |
| 370 | |
Thomas Graf | 43f393c | 2011-01-16 18:10:28 +0100 | [diff] [blame] | 371 | config NETFILTER_XT_TARGET_AUDIT |
| 372 | tristate "AUDIT target support" |
| 373 | depends on AUDIT |
| 374 | depends on NETFILTER_ADVANCED |
| 375 | ---help--- |
| 376 | This option adds a 'AUDIT' target, which can be used to create |
| 377 | audit records for packets dropped/accepted. |
| 378 | |
| 379 | To compileit as a module, choose M here. If unsure, say N. |
| 380 | |
Michael S. Tsirkin | edf0e1f | 2010-07-15 17:20:46 +0200 | [diff] [blame] | 381 | config NETFILTER_XT_TARGET_CHECKSUM |
| 382 | tristate "CHECKSUM target support" |
| 383 | depends on IP_NF_MANGLE || IP6_NF_MANGLE |
| 384 | depends on NETFILTER_ADVANCED |
| 385 | ---help--- |
| 386 | This option adds a `CHECKSUM' target, which can be used in the iptables mangle |
| 387 | table. |
| 388 | |
| 389 | You can use this target to compute and fill in the checksum in |
| 390 | a packet that lacks a checksum. This is particularly useful, |
| 391 | if you need to work around old applications such as dhcp clients, |
| 392 | that do not work well with checksum offloads, but don't want to disable |
| 393 | checksum offload in your device. |
| 394 | |
| 395 | To compile it as a module, choose M here. If unsure, say N. |
| 396 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 397 | config NETFILTER_XT_TARGET_CLASSIFY |
| 398 | tristate '"CLASSIFY" target support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 399 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 400 | help |
| 401 | This option adds a `CLASSIFY' target, which enables the user to set |
| 402 | the priority of a packet. Some qdiscs can use this value for |
| 403 | classification, among these are: |
| 404 | |
| 405 | atm, cbq, dsmark, pfifo_fast, htb, prio |
| 406 | |
| 407 | To compile it as a module, choose M here. If unsure, say N. |
| 408 | |
| 409 | config NETFILTER_XT_TARGET_CONNMARK |
| 410 | tristate '"CONNMARK" target support' |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 411 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 412 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | b8f00ba | 2010-02-26 14:20:32 +0100 | [diff] [blame] | 413 | select NETFILTER_XT_CONNMARK |
| 414 | ---help--- |
| 415 | This is a backwards-compat option for the user's convenience |
| 416 | (e.g. when running oldconfig). It selects |
| 417 | CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module). |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 418 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 419 | config NETFILTER_XT_TARGET_CONNSECMARK |
| 420 | tristate '"CONNSECMARK" target support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 421 | depends on NF_CONNTRACK && NF_CONNTRACK_SECMARK |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 422 | default m if NETFILTER_ADVANCED=n |
| 423 | help |
| 424 | The CONNSECMARK target copies security markings from packets |
| 425 | to connections, and restores security markings from connections |
| 426 | to packets (if the packets are not already marked). This would |
| 427 | normally be used in conjunction with the SECMARK target. |
| 428 | |
| 429 | To compile it as a module, choose M here. If unsure, say N. |
| 430 | |
Patrick McHardy | 84f3bb9 | 2010-02-03 17:17:06 +0100 | [diff] [blame] | 431 | config NETFILTER_XT_TARGET_CT |
| 432 | tristate '"CT" target support' |
| 433 | depends on NF_CONNTRACK |
| 434 | depends on IP_NF_RAW || IP6_NF_RAW |
| 435 | depends on NETFILTER_ADVANCED |
| 436 | help |
| 437 | This options adds a `CT' target, which allows to specify initial |
| 438 | connection tracking parameters like events to be delivered and |
| 439 | the helper to be used. |
| 440 | |
| 441 | To compile it as a module, choose M here. If unsure, say N. |
| 442 | |
Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 443 | config NETFILTER_XT_TARGET_DSCP |
Jan Engelhardt | c9fd496 | 2007-12-04 23:38:13 -0800 | [diff] [blame] | 444 | tristate '"DSCP" and "TOS" target support' |
Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 445 | depends on IP_NF_MANGLE || IP6_NF_MANGLE |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 446 | depends on NETFILTER_ADVANCED |
Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 447 | help |
| 448 | This option adds a `DSCP' target, which allows you to manipulate |
| 449 | the IPv4/IPv6 header DSCP field (differentiated services codepoint). |
| 450 | |
| 451 | The DSCP field can have any value between 0x0 and 0x3f inclusive. |
| 452 | |
Jan Engelhardt | c9fd496 | 2007-12-04 23:38:13 -0800 | [diff] [blame] | 453 | It also adds the "TOS" target, which allows you to create rules in |
| 454 | the "mangle" table which alter the Type Of Service field of an IPv4 |
Jan Engelhardt | 5c350e5 | 2007-12-04 23:39:09 -0800 | [diff] [blame] | 455 | or the Priority field of an IPv6 packet, prior to routing. |
Jan Engelhardt | c9fd496 | 2007-12-04 23:38:13 -0800 | [diff] [blame] | 456 | |
Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 457 | To compile it as a module, choose M here. If unsure, say N. |
| 458 | |
Jan Engelhardt | 563d36e | 2009-02-18 18:38:40 +0100 | [diff] [blame] | 459 | config NETFILTER_XT_TARGET_HL |
| 460 | tristate '"HL" hoplimit target support' |
| 461 | depends on IP_NF_MANGLE || IP6_NF_MANGLE |
| 462 | depends on NETFILTER_ADVANCED |
| 463 | ---help--- |
| 464 | This option adds the "HL" (for IPv6) and "TTL" (for IPv4) |
| 465 | targets, which enable the user to change the |
| 466 | hoplimit/time-to-live value of the IP header. |
| 467 | |
| 468 | While it is safe to decrement the hoplimit/TTL value, the |
| 469 | modules also allow to increment and set the hoplimit value of |
| 470 | the header to arbitrary values. This is EXTREMELY DANGEROUS |
| 471 | since you can easily create immortal packets that loop |
| 472 | forever on the network. |
| 473 | |
Luciano Coelho | 0902b46 | 2010-06-15 15:04:00 +0200 | [diff] [blame] | 474 | config NETFILTER_XT_TARGET_IDLETIMER |
| 475 | tristate "IDLETIMER target support" |
| 476 | depends on NETFILTER_ADVANCED |
| 477 | help |
| 478 | |
| 479 | This option adds the `IDLETIMER' target. Each matching packet |
| 480 | resets the timer associated with label specified when the rule is |
| 481 | added. When the timer expires, it triggers a sysfs notification. |
| 482 | The remaining time for expiration can be read via sysfs. |
| 483 | |
| 484 | To compile it as a module, choose M here. If unsure, say N. |
| 485 | |
Adam Nielsen | 268cb38 | 2009-02-20 10:55:14 +0100 | [diff] [blame] | 486 | config NETFILTER_XT_TARGET_LED |
| 487 | tristate '"LED" target support' |
Alex Riesen | 3ae16f1 | 2009-04-06 17:09:43 +0200 | [diff] [blame] | 488 | depends on LEDS_CLASS && LEDS_TRIGGERS |
Adam Nielsen | 268cb38 | 2009-02-20 10:55:14 +0100 | [diff] [blame] | 489 | depends on NETFILTER_ADVANCED |
| 490 | help |
| 491 | This option adds a `LED' target, which allows you to blink LEDs in |
| 492 | response to particular packets passing through your machine. |
| 493 | |
| 494 | This can be used to turn a spare LED into a network activity LED, |
| 495 | which only flashes in response to FTP transfers, for example. Or |
| 496 | you could have an LED which lights up for a minute or two every time |
| 497 | somebody connects to your machine via SSH. |
| 498 | |
| 499 | You will need support for the "led" class to make this work. |
| 500 | |
| 501 | To create an LED trigger for incoming SSH traffic: |
| 502 | iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000 |
| 503 | |
| 504 | Then attach the new trigger to an LED on your system: |
| 505 | echo netfilter-ssh > /sys/class/leds/<ledname>/trigger |
| 506 | |
| 507 | For more information on the LEDs available on your system, see |
| 508 | Documentation/leds-class.txt |
| 509 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 510 | config NETFILTER_XT_TARGET_MARK |
| 511 | tristate '"MARK" target support' |
Jan Engelhardt | 28b9498 | 2009-02-28 03:23:57 +0100 | [diff] [blame] | 512 | depends on NETFILTER_ADVANCED |
| 513 | select NETFILTER_XT_MARK |
| 514 | ---help--- |
| 515 | This is a backwards-compat option for the user's convenience |
| 516 | (e.g. when running oldconfig). It selects |
| 517 | CONFIG_NETFILTER_XT_MARK (combined mark/MARK module). |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 518 | |
Patrick McHardy | baf7b1e | 2006-11-29 02:35:38 +0100 | [diff] [blame] | 519 | config NETFILTER_XT_TARGET_NFLOG |
| 520 | tristate '"NFLOG" target support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 521 | default m if NETFILTER_ADVANCED=n |
Eric Leblond | 293a4f2 | 2008-12-10 17:24:33 -0800 | [diff] [blame] | 522 | select NETFILTER_NETLINK_LOG |
Patrick McHardy | baf7b1e | 2006-11-29 02:35:38 +0100 | [diff] [blame] | 523 | help |
| 524 | This option enables the NFLOG target, which allows to LOG |
Eric Leblond | 293a4f2 | 2008-12-10 17:24:33 -0800 | [diff] [blame] | 525 | messages through nfnetlink_log. |
Patrick McHardy | baf7b1e | 2006-11-29 02:35:38 +0100 | [diff] [blame] | 526 | |
| 527 | To compile it as a module, choose M here. If unsure, say N. |
| 528 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 529 | config NETFILTER_XT_TARGET_NFQUEUE |
| 530 | tristate '"NFQUEUE" target Support' |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 531 | depends on NETFILTER_ADVANCED |
Florian Westphal | 5f2cafe | 2011-01-18 15:18:08 +0100 | [diff] [blame] | 532 | select NETFILTER_NETLINK_QUEUE |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 533 | help |
| 534 | This target replaced the old obsolete QUEUE target. |
| 535 | |
| 536 | As opposed to QUEUE, it supports 65535 different queues, |
| 537 | not just one. |
| 538 | |
| 539 | To compile it as a module, choose M here. If unsure, say N. |
| 540 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 541 | config NETFILTER_XT_TARGET_NOTRACK |
| 542 | tristate '"NOTRACK" target support' |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 543 | depends on IP_NF_RAW || IP6_NF_RAW |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 544 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 545 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 546 | help |
| 547 | The NOTRACK target allows a select rule to specify |
| 548 | which packets *not* to enter the conntrack/NAT |
| 549 | subsystem with all the consequences (no ICMP error tracking, |
| 550 | no protocol helpers for the selected packets). |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 551 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 552 | 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] | 553 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 554 | |
Patrick McHardy | 5859034 | 2007-12-04 23:40:05 -0800 | [diff] [blame] | 555 | config NETFILTER_XT_TARGET_RATEEST |
| 556 | tristate '"RATEEST" target support' |
Patrick McHardy | b26e76b | 2008-01-14 23:30:56 -0800 | [diff] [blame] | 557 | depends on NETFILTER_ADVANCED |
Patrick McHardy | 5859034 | 2007-12-04 23:40:05 -0800 | [diff] [blame] | 558 | help |
| 559 | This option adds a `RATEEST' target, which allows to measure |
| 560 | rates similar to TC estimators. The `rateest' match can be |
| 561 | used to match on the measured rates. |
| 562 | |
| 563 | To compile it as a module, choose M here. If unsure, say N. |
| 564 | |
Jan Engelhardt | e281b19 | 2010-04-19 14:17:47 +0200 | [diff] [blame] | 565 | config NETFILTER_XT_TARGET_TEE |
Arnd Hannemann | fe6fb55 | 2010-06-22 08:22:21 +0200 | [diff] [blame] | 566 | tristate '"TEE" - packet cloning to alternate destination' |
Jan Engelhardt | e281b19 | 2010-04-19 14:17:47 +0200 | [diff] [blame] | 567 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | 9b7ce2b | 2010-05-12 10:11:35 +0000 | [diff] [blame] | 568 | depends on (IPV6 || IPV6=n) |
Randy Dunlap | 83827f6 | 2010-05-14 13:52:30 -0700 | [diff] [blame] | 569 | depends on !NF_CONNTRACK || NF_CONNTRACK |
Jan Engelhardt | e281b19 | 2010-04-19 14:17:47 +0200 | [diff] [blame] | 570 | ---help--- |
| 571 | This option adds a "TEE" target with which a packet can be cloned and |
| 572 | this clone be rerouted to another nexthop. |
| 573 | |
KOVACS Krisztian | e843927 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 574 | config NETFILTER_XT_TARGET_TPROXY |
| 575 | tristate '"TPROXY" target support (EXPERIMENTAL)' |
| 576 | depends on EXPERIMENTAL |
| 577 | depends on NETFILTER_TPROXY |
| 578 | depends on NETFILTER_XTABLES |
| 579 | depends on NETFILTER_ADVANCED |
| 580 | select NF_DEFRAG_IPV4 |
KOVACS Krisztian | f6318e5 | 2010-10-24 23:38:32 +0000 | [diff] [blame] | 581 | select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES |
KOVACS Krisztian | e843927 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 582 | help |
| 583 | This option adds a `TPROXY' target, which is somewhat similar to |
| 584 | REDIRECT. It can only be used in the mangle table and is useful |
| 585 | to redirect traffic to a transparent proxy. It does _not_ depend |
| 586 | on Netfilter connection tracking and NAT, unlike REDIRECT. |
| 587 | |
| 588 | To compile it as a module, choose M here. If unsure, say N. |
| 589 | |
Jozsef Kadlecsik | ba9dda3 | 2007-07-07 22:21:23 -0700 | [diff] [blame] | 590 | config NETFILTER_XT_TARGET_TRACE |
| 591 | tristate '"TRACE" target support' |
Jozsef Kadlecsik | ba9dda3 | 2007-07-07 22:21:23 -0700 | [diff] [blame] | 592 | depends on IP_NF_RAW || IP6_NF_RAW |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 593 | depends on NETFILTER_ADVANCED |
Jozsef Kadlecsik | ba9dda3 | 2007-07-07 22:21:23 -0700 | [diff] [blame] | 594 | help |
| 595 | The TRACE target allows you to mark packets so that the kernel |
| 596 | will log every rule which match the packets as those traverse |
| 597 | the tables, chains, rules. |
| 598 | |
| 599 | 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] | 600 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Jozsef Kadlecsik | ba9dda3 | 2007-07-07 22:21:23 -0700 | [diff] [blame] | 601 | |
James Morris | 5e6874c | 2006-06-09 00:30:57 -0700 | [diff] [blame] | 602 | config NETFILTER_XT_TARGET_SECMARK |
| 603 | tristate '"SECMARK" target support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 604 | depends on NETWORK_SECMARK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 605 | default m if NETFILTER_ADVANCED=n |
James Morris | 5e6874c | 2006-06-09 00:30:57 -0700 | [diff] [blame] | 606 | help |
| 607 | The SECMARK target allows security marking of network |
| 608 | packets, for use with security subsystems. |
| 609 | |
| 610 | To compile it as a module, choose M here. If unsure, say N. |
| 611 | |
Patrick McHardy | cdd289a | 2007-02-07 15:09:46 -0800 | [diff] [blame] | 612 | config NETFILTER_XT_TARGET_TCPMSS |
| 613 | tristate '"TCPMSS" target support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 614 | depends on (IPV6 || IPV6=n) |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 615 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | cdd289a | 2007-02-07 15:09:46 -0800 | [diff] [blame] | 616 | ---help--- |
| 617 | This option adds a `TCPMSS' target, which allows you to alter the |
| 618 | MSS value of TCP SYN packets, to control the maximum size for that |
| 619 | connection (usually limiting it to your outgoing interface's MTU |
| 620 | minus 40). |
| 621 | |
| 622 | This is used to overcome criminally braindead ISPs or servers which |
| 623 | block ICMP Fragmentation Needed packets. The symptoms of this |
| 624 | problem are that everything works fine from your Linux |
| 625 | firewall/router, but machines behind it can never exchange large |
| 626 | packets: |
| 627 | 1) Web browsers connect, then hang with no data received. |
| 628 | 2) Small mail works fine, but large emails hang. |
| 629 | 3) ssh works fine, but scp hangs after initial handshaking. |
| 630 | |
| 631 | Workaround: activate this option and add a rule to your firewall |
| 632 | configuration like: |
| 633 | |
| 634 | iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \ |
| 635 | -j TCPMSS --clamp-mss-to-pmtu |
| 636 | |
| 637 | To compile it as a module, choose M here. If unsure, say N. |
| 638 | |
Sven Schnelle | 338e8a7 | 2007-12-04 23:21:50 -0800 | [diff] [blame] | 639 | config NETFILTER_XT_TARGET_TCPOPTSTRIP |
| 640 | tristate '"TCPOPTSTRIP" target support (EXPERIMENTAL)' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 641 | depends on EXPERIMENTAL |
Sven Schnelle | 338e8a7 | 2007-12-04 23:21:50 -0800 | [diff] [blame] | 642 | depends on IP_NF_MANGLE || IP6_NF_MANGLE |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 643 | depends on NETFILTER_ADVANCED |
Sven Schnelle | 338e8a7 | 2007-12-04 23:21:50 -0800 | [diff] [blame] | 644 | help |
| 645 | This option adds a "TCPOPTSTRIP" target, which allows you to strip |
| 646 | TCP options from TCP packets. |
| 647 | |
Jan Engelhardt | 44c5873 | 2010-02-26 14:14:22 +0100 | [diff] [blame] | 648 | # alphabetically ordered list of matches |
| 649 | |
| 650 | comment "Xtables matches" |
| 651 | |
Pablo Neira Ayuso | 0269ea4 | 2009-03-16 17:10:36 +0100 | [diff] [blame] | 652 | config NETFILTER_XT_MATCH_CLUSTER |
| 653 | tristate '"cluster" match support' |
| 654 | depends on NF_CONNTRACK |
| 655 | depends on NETFILTER_ADVANCED |
| 656 | ---help--- |
| 657 | This option allows you to build work-load-sharing clusters of |
| 658 | network servers/stateful firewalls without having a dedicated |
| 659 | load-balancing router/server/switch. Basically, this match returns |
| 660 | true when the packet must be handled by this cluster node. Thus, |
| 661 | all nodes see all packets and this match decides which node handles |
| 662 | what packets. The work-load sharing algorithm is based on source |
| 663 | address hashing. |
| 664 | |
| 665 | If you say Y or M here, try `iptables -m cluster --help` for |
| 666 | more information. |
| 667 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 668 | config NETFILTER_XT_MATCH_COMMENT |
| 669 | tristate '"comment" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 670 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 671 | help |
| 672 | This option adds a `comment' dummy-match, which allows you to put |
| 673 | comments in your iptables ruleset. |
| 674 | |
| 675 | 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] | 676 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 677 | |
| 678 | config NETFILTER_XT_MATCH_CONNBYTES |
| 679 | tristate '"connbytes" per-connection counter match support' |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 680 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 681 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 682 | help |
| 683 | This option adds a `connbytes' match, which allows you to match the |
| 684 | number of bytes and/or packets for each direction within a connection. |
| 685 | |
| 686 | 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] | 687 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 688 | |
Jan Engelhardt | 370786f | 2007-07-14 20:47:26 -0700 | [diff] [blame] | 689 | config NETFILTER_XT_MATCH_CONNLIMIT |
| 690 | tristate '"connlimit" match support"' |
Cornelia Huck | 3fd8f9e | 2007-07-18 02:38:32 -0700 | [diff] [blame] | 691 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 692 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | 370786f | 2007-07-14 20:47:26 -0700 | [diff] [blame] | 693 | ---help--- |
| 694 | This match allows you to match against the number of parallel |
| 695 | connections to a server per client IP address (or address block). |
| 696 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 697 | config NETFILTER_XT_MATCH_CONNMARK |
| 698 | tristate '"connmark" connection mark match support' |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 699 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 700 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | b8f00ba | 2010-02-26 14:20:32 +0100 | [diff] [blame] | 701 | select NETFILTER_XT_CONNMARK |
| 702 | ---help--- |
| 703 | This is a backwards-compat option for the user's convenience |
| 704 | (e.g. when running oldconfig). It selects |
| 705 | CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module). |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 706 | |
| 707 | config NETFILTER_XT_MATCH_CONNTRACK |
| 708 | tristate '"conntrack" connection tracking match support' |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 709 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 710 | default m if NETFILTER_ADVANCED=n |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 711 | help |
| 712 | This is a general conntrack match module, a superset of the state match. |
| 713 | |
| 714 | It allows matching on additional conntrack information, which is |
| 715 | useful in complex configurations, such as NAT gateways with multiple |
| 716 | internet links or tunnels. |
| 717 | |
| 718 | To compile it as a module, choose M here. If unsure, say N. |
| 719 | |
Eric Dumazet | e8648a1 | 2010-07-23 12:59:36 +0200 | [diff] [blame] | 720 | config NETFILTER_XT_MATCH_CPU |
| 721 | tristate '"cpu" match support' |
| 722 | depends on NETFILTER_ADVANCED |
| 723 | help |
| 724 | CPU matching allows you to match packets based on the CPU |
| 725 | currently handling the packet. |
| 726 | |
| 727 | To compile it as a module, choose M here. If unsure, say N. |
| 728 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 729 | config NETFILTER_XT_MATCH_DCCP |
Jan Engelhardt | 4c37799 | 2007-12-04 23:31:59 -0800 | [diff] [blame] | 730 | tristate '"dccp" protocol match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 731 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f3261af | 2008-05-08 01:16:04 -0700 | [diff] [blame] | 732 | default IP_DCCP |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 733 | help |
| 734 | With this option enabled, you will be able to use the iptables |
| 735 | `dccp' match in order to match on DCCP source/destination ports |
| 736 | and DCCP flags. |
| 737 | |
| 738 | 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] | 739 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 740 | |
Patrick McHardy | 9291747 | 2011-02-03 00:05:43 +0100 | [diff] [blame] | 741 | config NETFILTER_XT_MATCH_DEVGROUP |
| 742 | tristate '"devgroup" match support' |
| 743 | depends on NETFILTER_ADVANCED |
| 744 | help |
| 745 | This options adds a `devgroup' match, which allows to match on the |
| 746 | device group a network device is assigned to. |
| 747 | |
| 748 | To compile it as a module, choose M here. If unsure, say N. |
| 749 | |
Yasuyuki Kozakai | 9ba1627 | 2006-08-22 00:29:37 -0700 | [diff] [blame] | 750 | config NETFILTER_XT_MATCH_DSCP |
Jan Engelhardt | c3b33e6 | 2007-12-04 23:37:54 -0800 | [diff] [blame] | 751 | tristate '"dscp" and "tos" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 752 | depends on NETFILTER_ADVANCED |
Yasuyuki Kozakai | 9ba1627 | 2006-08-22 00:29:37 -0700 | [diff] [blame] | 753 | help |
| 754 | This option adds a `DSCP' match, which allows you to match against |
| 755 | the IPv4/IPv6 header DSCP field (differentiated services codepoint). |
| 756 | |
| 757 | The DSCP field can have any value between 0x0 and 0x3f inclusive. |
| 758 | |
Jan Engelhardt | c3b33e6 | 2007-12-04 23:37:54 -0800 | [diff] [blame] | 759 | It will also add a "tos" match, which allows you to match packets |
| 760 | based on the Type Of Service fields of the IPv4 packet (which share |
| 761 | the same bits as DSCP). |
| 762 | |
Yasuyuki Kozakai | 9ba1627 | 2006-08-22 00:29:37 -0700 | [diff] [blame] | 763 | To compile it as a module, choose M here. If unsure, say N. |
| 764 | |
Yasuyuki Kozakai | dc5ab2f | 2006-04-01 02:22:30 -0800 | [diff] [blame] | 765 | config NETFILTER_XT_MATCH_ESP |
Jan Engelhardt | 4c37799 | 2007-12-04 23:31:59 -0800 | [diff] [blame] | 766 | tristate '"esp" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 767 | depends on NETFILTER_ADVANCED |
Yasuyuki Kozakai | dc5ab2f | 2006-04-01 02:22:30 -0800 | [diff] [blame] | 768 | help |
| 769 | This match extension allows you to match a range of SPIs |
| 770 | inside ESP header of IPSec packets. |
| 771 | |
| 772 | To compile it as a module, choose M here. If unsure, say N. |
| 773 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 774 | config NETFILTER_XT_MATCH_HASHLIMIT |
| 775 | tristate '"hashlimit" match support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 776 | depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n) |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 777 | depends on NETFILTER_ADVANCED |
| 778 | help |
| 779 | This option adds a `hashlimit' match. |
| 780 | |
| 781 | As opposed to `limit', this match dynamically creates a hash table |
| 782 | of limit buckets, based on your selection of source/destination |
| 783 | addresses and/or ports. |
| 784 | |
| 785 | It enables you to express policies like `10kpps for any given |
| 786 | destination address' or `500pps from any given source address' |
| 787 | with a single rule. |
| 788 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 789 | config NETFILTER_XT_MATCH_HELPER |
| 790 | tristate '"helper" match support' |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 791 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 792 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 793 | help |
| 794 | Helper matching allows you to match packets in dynamic connections |
| 795 | tracked by a conntrack-helper, ie. ip_conntrack_ftp |
| 796 | |
| 797 | To compile it as a module, choose M here. If unsure, say Y. |
| 798 | |
Jan Engelhardt | cfac5ef | 2009-02-18 18:39:31 +0100 | [diff] [blame] | 799 | config NETFILTER_XT_MATCH_HL |
| 800 | tristate '"hl" hoplimit/TTL match support' |
| 801 | depends on NETFILTER_ADVANCED |
| 802 | ---help--- |
| 803 | HL matching allows you to match packets based on the hoplimit |
| 804 | in the IPv6 header, or the time-to-live field in the IPv4 |
| 805 | header of the packet. |
| 806 | |
Jan Engelhardt | f72e25a | 2008-01-14 23:42:47 -0800 | [diff] [blame] | 807 | config NETFILTER_XT_MATCH_IPRANGE |
| 808 | tristate '"iprange" address range match support' |
Jan Engelhardt | f72e25a | 2008-01-14 23:42:47 -0800 | [diff] [blame] | 809 | depends on NETFILTER_ADVANCED |
| 810 | ---help--- |
| 811 | This option adds a "iprange" match, which allows you to match based on |
| 812 | an IP address range. (Normal iptables only matches on single addresses |
| 813 | with an optional mask.) |
| 814 | |
| 815 | If unsure, say M. |
| 816 | |
Hannes Eder | 9c3e1c3 | 2010-07-23 12:42:58 +0200 | [diff] [blame] | 817 | config NETFILTER_XT_MATCH_IPVS |
| 818 | tristate '"ipvs" match support' |
| 819 | depends on IP_VS |
| 820 | depends on NETFILTER_ADVANCED |
| 821 | depends on NF_CONNTRACK |
| 822 | help |
| 823 | This option allows you to match against IPVS properties of a packet. |
| 824 | |
| 825 | If unsure, say N. |
| 826 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 827 | config NETFILTER_XT_MATCH_LENGTH |
| 828 | tristate '"length" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 829 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 830 | help |
| 831 | This option allows you to match the length of a packet against a |
| 832 | specific value or range of values. |
| 833 | |
| 834 | To compile it as a module, choose M here. If unsure, say N. |
| 835 | |
| 836 | config NETFILTER_XT_MATCH_LIMIT |
| 837 | tristate '"limit" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 838 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 839 | help |
| 840 | limit matching allows you to control the rate at which a rule can be |
| 841 | matched: mainly useful in combination with the LOG target ("LOG |
| 842 | target support", below) and to avoid some Denial of Service attacks. |
| 843 | |
| 844 | To compile it as a module, choose M here. If unsure, say N. |
| 845 | |
| 846 | config NETFILTER_XT_MATCH_MAC |
| 847 | tristate '"mac" address match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 848 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 849 | help |
| 850 | MAC matching allows you to match packets based on the source |
| 851 | Ethernet address of the packet. |
| 852 | |
| 853 | To compile it as a module, choose M here. If unsure, say N. |
| 854 | |
| 855 | config NETFILTER_XT_MATCH_MARK |
| 856 | tristate '"mark" match support' |
Jan Engelhardt | 28b9498 | 2009-02-28 03:23:57 +0100 | [diff] [blame] | 857 | depends on NETFILTER_ADVANCED |
| 858 | select NETFILTER_XT_MARK |
| 859 | ---help--- |
| 860 | This is a backwards-compat option for the user's convenience |
| 861 | (e.g. when running oldconfig). It selects |
| 862 | CONFIG_NETFILTER_XT_MARK (combined mark/MARK module). |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 863 | |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 864 | config NETFILTER_XT_MATCH_MULTIPORT |
| 865 | tristate '"multiport" Multiple port match support' |
Jan Engelhardt | aba0d34 | 2008-10-08 11:35:17 +0200 | [diff] [blame] | 866 | depends on NETFILTER_ADVANCED |
| 867 | help |
| 868 | Multiport matching allows you to match TCP or UDP packets based on |
| 869 | a series of source or destination ports: normally a rule can only |
| 870 | match a single range of ports. |
| 871 | |
| 872 | To compile it as a module, choose M here. If unsure, say N. |
| 873 | |
Jan Engelhardt | 115bc8f | 2010-03-16 20:06:55 +0100 | [diff] [blame] | 874 | config NETFILTER_XT_MATCH_OSF |
| 875 | tristate '"osf" Passive OS fingerprint match' |
| 876 | depends on NETFILTER_ADVANCED && NETFILTER_NETLINK |
| 877 | help |
| 878 | This option selects the Passive OS Fingerprinting match module |
| 879 | that allows to passively match the remote operating system by |
| 880 | analyzing incoming TCP SYN packets. |
| 881 | |
| 882 | Rules and loading software can be downloaded from |
| 883 | http://www.ioremap.net/projects/osf |
| 884 | |
| 885 | To compile it as a module, choose M here. If unsure, say N. |
| 886 | |
Jan Engelhardt | 0265ab4 | 2007-12-04 23:27:38 -0800 | [diff] [blame] | 887 | config NETFILTER_XT_MATCH_OWNER |
| 888 | tristate '"owner" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 889 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | 0265ab4 | 2007-12-04 23:27:38 -0800 | [diff] [blame] | 890 | ---help--- |
| 891 | Socket owner matching allows you to match locally-generated packets |
| 892 | based on who created the socket: the user or group. It is also |
| 893 | possible to check whether a socket actually exists. |
| 894 | |
Patrick McHardy | c4b8851 | 2006-03-20 18:03:40 -0800 | [diff] [blame] | 895 | config NETFILTER_XT_MATCH_POLICY |
| 896 | tristate 'IPsec "policy" match support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 897 | depends on XFRM |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 898 | default m if NETFILTER_ADVANCED=n |
Patrick McHardy | c4b8851 | 2006-03-20 18:03:40 -0800 | [diff] [blame] | 899 | help |
| 900 | Policy matching allows you to match packets based on the |
| 901 | IPsec policy that was used during decapsulation/will |
| 902 | be used during encapsulation. |
| 903 | |
| 904 | To compile it as a module, choose M here. If unsure, say N. |
| 905 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 906 | config NETFILTER_XT_MATCH_PHYSDEV |
| 907 | tristate '"physdev" match support' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 908 | depends on BRIDGE && BRIDGE_NETFILTER |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 909 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 910 | help |
| 911 | Physdev packet matching matches against the physical bridge ports |
| 912 | the IP packet arrived on or will leave by. |
| 913 | |
| 914 | To compile it as a module, choose M here. If unsure, say N. |
| 915 | |
| 916 | config NETFILTER_XT_MATCH_PKTTYPE |
| 917 | tristate '"pkttype" packet type match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 918 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 919 | help |
| 920 | Packet type matching allows you to match a packet by |
| 921 | its "class", eg. BROADCAST, MULTICAST, ... |
| 922 | |
| 923 | Typical usage: |
| 924 | iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG |
| 925 | |
| 926 | To compile it as a module, choose M here. If unsure, say N. |
| 927 | |
Patrick McHardy | 62b7743 | 2006-05-29 18:20:32 -0700 | [diff] [blame] | 928 | config NETFILTER_XT_MATCH_QUOTA |
| 929 | tristate '"quota" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 930 | depends on NETFILTER_ADVANCED |
Patrick McHardy | 62b7743 | 2006-05-29 18:20:32 -0700 | [diff] [blame] | 931 | help |
| 932 | This option adds a `quota' match, which allows to match on a |
| 933 | byte counter. |
| 934 | |
| 935 | 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] | 936 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Patrick McHardy | 62b7743 | 2006-05-29 18:20:32 -0700 | [diff] [blame] | 937 | |
Patrick McHardy | 50c164a | 2007-12-04 13:02:19 +0100 | [diff] [blame] | 938 | config NETFILTER_XT_MATCH_RATEEST |
| 939 | tristate '"rateest" match support' |
Patrick McHardy | b26e76b | 2008-01-14 23:30:56 -0800 | [diff] [blame] | 940 | depends on NETFILTER_ADVANCED |
Patrick McHardy | 50c164a | 2007-12-04 13:02:19 +0100 | [diff] [blame] | 941 | select NETFILTER_XT_TARGET_RATEEST |
| 942 | help |
| 943 | This option adds a `rateest' match, which allows to match on the |
| 944 | rate estimated by the RATEEST target. |
| 945 | |
| 946 | To compile it as a module, choose M here. If unsure, say N. |
| 947 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 948 | config NETFILTER_XT_MATCH_REALM |
| 949 | tristate '"realm" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 950 | depends on NETFILTER_ADVANCED |
Patrick McHardy | c7066f7 | 2011-01-14 13:36:42 +0100 | [diff] [blame] | 951 | select IP_ROUTE_CLASSID |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 952 | help |
| 953 | This option adds a `realm' match, which allows you to use the realm |
| 954 | key from the routing subsystem inside iptables. |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 955 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 956 | This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option |
| 957 | in tc world. |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 958 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 959 | 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] | 960 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 961 | |
Jan Engelhardt | e948b20 | 2008-10-08 11:35:00 +0200 | [diff] [blame] | 962 | config NETFILTER_XT_MATCH_RECENT |
| 963 | tristate '"recent" match support' |
Jan Engelhardt | e948b20 | 2008-10-08 11:35:00 +0200 | [diff] [blame] | 964 | depends on NETFILTER_ADVANCED |
| 965 | ---help--- |
| 966 | This match is used for creating one or many lists of recently |
| 967 | used addresses and then matching against that/those list(s). |
| 968 | |
| 969 | Short options are available by using 'iptables -m recent -h' |
| 970 | Official Website: <http://snowman.net/projects/ipt_recent/> |
| 971 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 972 | config NETFILTER_XT_MATCH_SCTP |
Patrick McHardy | d5af981e | 2006-07-24 22:55:29 -0700 | [diff] [blame] | 973 | tristate '"sctp" protocol match support (EXPERIMENTAL)' |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 974 | depends on EXPERIMENTAL |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 975 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f3261af | 2008-05-08 01:16:04 -0700 | [diff] [blame] | 976 | default IP_SCTP |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 977 | help |
| 978 | With this option enabled, you will be able to use the |
| 979 | `sctp' match in order to match on SCTP source/destination ports |
| 980 | and SCTP chunk types. |
| 981 | |
| 982 | 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] | 983 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 984 | |
KOVACS Krisztian | 136cdc7 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 985 | config NETFILTER_XT_MATCH_SOCKET |
| 986 | tristate '"socket" match support (EXPERIMENTAL)' |
| 987 | depends on EXPERIMENTAL |
| 988 | depends on NETFILTER_TPROXY |
| 989 | depends on NETFILTER_XTABLES |
| 990 | depends on NETFILTER_ADVANCED |
Laszlo Attila Toth | acda074 | 2009-05-01 15:23:10 -0700 | [diff] [blame] | 991 | depends on !NF_CONNTRACK || NF_CONNTRACK |
KOVACS Krisztian | 136cdc7 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 992 | select NF_DEFRAG_IPV4 |
KOVACS Krisztian | f6318e5 | 2010-10-24 23:38:32 +0000 | [diff] [blame] | 993 | select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES |
KOVACS Krisztian | 136cdc7 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 994 | help |
| 995 | This option adds a `socket' match, which can be used to match |
| 996 | packets for which a TCP or UDP socket lookup finds a valid socket. |
| 997 | It can be used in combination with the MARK target and policy |
| 998 | routing to implement full featured non-locally bound sockets. |
| 999 | |
| 1000 | To compile it as a module, choose M here. If unsure, say N. |
| 1001 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1002 | config NETFILTER_XT_MATCH_STATE |
| 1003 | tristate '"state" match support' |
Patrick McHardy | 587aa64 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 1004 | depends on NF_CONNTRACK |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 1005 | default m if NETFILTER_ADVANCED=n |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1006 | help |
| 1007 | Connection state matching allows you to match packets based on their |
| 1008 | relationship to a tracked connection (ie. previous packets). This |
| 1009 | is a powerful tool for packet classification. |
| 1010 | |
| 1011 | To compile it as a module, choose M here. If unsure, say N. |
| 1012 | |
Patrick McHardy | f338980 | 2006-05-29 18:21:00 -0700 | [diff] [blame] | 1013 | config NETFILTER_XT_MATCH_STATISTIC |
| 1014 | tristate '"statistic" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 1015 | depends on NETFILTER_ADVANCED |
Patrick McHardy | f338980 | 2006-05-29 18:21:00 -0700 | [diff] [blame] | 1016 | help |
Patrick McHardy | 68c1692 | 2006-06-27 03:02:14 -0700 | [diff] [blame] | 1017 | This option adds a `statistic' match, which allows you to match |
| 1018 | on packets periodically or randomly with a given percentage. |
| 1019 | |
| 1020 | To compile it as a module, choose M here. If unsure, say N. |
Patrick McHardy | f338980 | 2006-05-29 18:21:00 -0700 | [diff] [blame] | 1021 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1022 | config NETFILTER_XT_MATCH_STRING |
| 1023 | tristate '"string" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 1024 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1025 | select TEXTSEARCH |
| 1026 | select TEXTSEARCH_KMP |
| 1027 | select TEXTSEARCH_BM |
| 1028 | select TEXTSEARCH_FSM |
| 1029 | help |
| 1030 | This option adds a `string' match, which allows you to look for |
| 1031 | pattern matchings in packets. |
| 1032 | |
| 1033 | To compile it as a module, choose M here. If unsure, say N. |
| 1034 | |
| 1035 | config NETFILTER_XT_MATCH_TCPMSS |
| 1036 | tristate '"tcpmss" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 1037 | depends on NETFILTER_ADVANCED |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1038 | help |
| 1039 | This option adds a `tcpmss' match, which allows you to examine the |
| 1040 | MSS value of TCP SYN packets, which control the maximum packet size |
| 1041 | for that connection. |
| 1042 | |
| 1043 | To compile it as a module, choose M here. If unsure, say N. |
| 1044 | |
Jan Engelhardt | ee4411a | 2007-09-28 14:46:43 -0700 | [diff] [blame] | 1045 | config NETFILTER_XT_MATCH_TIME |
| 1046 | tristate '"time" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 1047 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | ee4411a | 2007-09-28 14:46:43 -0700 | [diff] [blame] | 1048 | ---help--- |
| 1049 | This option adds a "time" match, which allows you to match based on |
| 1050 | the packet arrival time (at the machine which netfilter is running) |
| 1051 | on) or departure time/date (for locally generated packets). |
| 1052 | |
| 1053 | If you say Y here, try `iptables -m time --help` for |
| 1054 | more information. |
| 1055 | |
| 1056 | If you want to compile it as a module, say M here. |
| 1057 | If unsure, say N. |
| 1058 | |
Jan Engelhardt | 1b50b8a | 2007-07-07 22:20:36 -0700 | [diff] [blame] | 1059 | config NETFILTER_XT_MATCH_U32 |
| 1060 | tristate '"u32" match support' |
Patrick McHardy | 33b8e77 | 2007-12-17 22:47:05 -0800 | [diff] [blame] | 1061 | depends on NETFILTER_ADVANCED |
Jan Engelhardt | 1b50b8a | 2007-07-07 22:20:36 -0700 | [diff] [blame] | 1062 | ---help--- |
| 1063 | u32 allows you to extract quantities of up to 4 bytes from a packet, |
| 1064 | AND them with specified masks, shift them by specified amounts and |
| 1065 | test whether the results are in any of a set of specified ranges. |
| 1066 | The specification of what to extract is general enough to skip over |
| 1067 | headers with lengths stored in the packet, as in IP or TCP header |
| 1068 | lengths. |
| 1069 | |
| 1070 | Details and examples are in the kernel module source. |
| 1071 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 1072 | endif # NETFILTER_XTABLES |
Harald Welte | a6c1cd57 | 2006-02-13 15:42:48 -0800 | [diff] [blame] | 1073 | |
Jan Engelhardt | c2df73d | 2008-10-08 11:35:18 +0200 | [diff] [blame] | 1074 | endmenu |
Harald Welte | f9e815b | 2005-08-09 19:30:24 -0700 | [diff] [blame] | 1075 | |
Jozsef Kadlecsik | a7b4f98 | 2011-02-01 15:28:35 +0100 | [diff] [blame] | 1076 | source "net/netfilter/ipset/Kconfig" |
| 1077 | |
Julius Volz | cb7f6a7 | 2008-09-19 12:32:57 +0200 | [diff] [blame] | 1078 | source "net/netfilter/ipvs/Kconfig" |