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 |
| 5 | tristate "Netfilter netlink interface" |
| 6 | help |
| 7 | If this option is enabled, the kernel will include support |
| 8 | for the new netfilter netlink interface. |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 9 | |
| 10 | config NETFILTER_NETLINK_QUEUE |
| 11 | tristate "Netfilter NFQUEUE over NFNETLINK interface" |
| 12 | depends on NETFILTER_NETLINK |
| 13 | help |
Thomas Vögtle | 50b521a | 2006-03-22 13:53:48 -0800 | [diff] [blame] | 14 | If this option is enabled, the kernel will include support |
Harald Welte | 7af4cc3 | 2005-08-09 19:44:15 -0700 | [diff] [blame] | 15 | for queueing packets via NFNETLINK. |
| 16 | |
Harald Welte | 0597f26 | 2005-08-09 19:58:39 -0700 | [diff] [blame] | 17 | config NETFILTER_NETLINK_LOG |
| 18 | tristate "Netfilter LOG over NFNETLINK interface" |
| 19 | depends on NETFILTER_NETLINK |
| 20 | help |
| 21 | If this option is enabled, the kernel will include support |
| 22 | for logging packets via NFNETLINK. |
| 23 | |
| 24 | This obsoletes the existing ipt_ULOG and ebg_ulog mechanisms, |
| 25 | and is also scheduled to replace the old syslog-based ipt_LOG |
| 26 | and ip6t_LOG modules. |
| 27 | |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 28 | # Rename this to NF_CONNTRACK in a 2.6.25 |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 29 | config NF_CONNTRACK_ENABLED |
| 30 | tristate "Netfilter connection tracking support" |
| 31 | help |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 32 | Connection tracking keeps a record of what packets have passed |
| 33 | through your machine, in order to figure out how they are related |
| 34 | into connections. |
| 35 | |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 36 | This is required to do Masquerading or other kinds of Network |
| 37 | Address Translation (except for Fast NAT). It can also be used to |
| 38 | enhance packet filtering (see `Connection state match support' |
| 39 | below). |
| 40 | |
| 41 | To compile it as a module, choose M here. If unsure, say N. |
| 42 | |
Patrick McHardy | b321e14 | 2006-12-02 22:05:46 -0800 | [diff] [blame] | 43 | config NF_CONNTRACK |
| 44 | tristate |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 45 | default NF_CONNTRACK_ENABLED |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 46 | |
| 47 | config NF_CT_ACCT |
| 48 | bool "Connection tracking flow accounting" |
| 49 | depends on NF_CONNTRACK |
| 50 | help |
| 51 | If this option is enabled, the connection tracking code will |
| 52 | keep per-flow packet and byte counters. |
| 53 | |
| 54 | Those counters can be used for flow-based accounting or the |
| 55 | `connbytes' match. |
| 56 | |
| 57 | If unsure, say `N'. |
| 58 | |
| 59 | config NF_CONNTRACK_MARK |
| 60 | bool 'Connection mark tracking support' |
| 61 | depends on NF_CONNTRACK |
| 62 | help |
| 63 | This option enables support for connection marks, used by the |
| 64 | `CONNMARK' target and `connmark' match. Similar to the mark value |
| 65 | of packets, but this mark value is kept in the conntrack session |
| 66 | instead of the individual packets. |
| 67 | |
James Morris | 7c9728c | 2006-06-09 00:31:46 -0700 | [diff] [blame] | 68 | config NF_CONNTRACK_SECMARK |
| 69 | bool 'Connection tracking security mark support' |
| 70 | depends on NF_CONNTRACK && NETWORK_SECMARK |
| 71 | help |
| 72 | This option enables security markings to be applied to |
| 73 | connections. Typically they are copied to connections from |
| 74 | packets using the CONNSECMARK target and copied back from |
| 75 | connections to packets with the same target, with the packets |
| 76 | being originally labeled via SECMARK. |
| 77 | |
| 78 | If unsure, say 'N'. |
| 79 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 80 | config NF_CONNTRACK_EVENTS |
Patrick McHardy | a795756 | 2005-12-05 13:36:25 -0800 | [diff] [blame] | 81 | bool "Connection tracking events (EXPERIMENTAL)" |
| 82 | depends on EXPERIMENTAL && NF_CONNTRACK |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 83 | help |
| 84 | If this option is enabled, the connection tracking code will |
| 85 | 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] | 86 | to get notified about changes in the connection tracking state. |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 87 | |
| 88 | If unsure, say `N'. |
| 89 | |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 90 | config NF_CT_PROTO_GRE |
| 91 | tristate |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 92 | depends on NF_CONNTRACK |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 93 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 94 | config NF_CT_PROTO_SCTP |
Patrick McHardy | a3c4797 | 2006-12-02 22:11:01 -0800 | [diff] [blame] | 95 | tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)' |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 96 | depends on EXPERIMENTAL && NF_CONNTRACK |
| 97 | default n |
| 98 | help |
| 99 | With this option enabled, the layer 3 independent connection |
| 100 | tracking code will be able to do state tracking on SCTP connections. |
| 101 | |
| 102 | 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] | 103 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 104 | |
Patrick McHardy | 59eecdf | 2007-07-14 20:48:44 -0700 | [diff] [blame] | 105 | config NF_CT_PROTO_UDPLITE |
| 106 | tristate 'UDP-Lite protocol connection tracking support (EXPERIMENTAL)' |
| 107 | depends on EXPERIMENTAL && NF_CONNTRACK |
| 108 | help |
| 109 | With this option enabled, the layer 3 independent connection |
| 110 | tracking code will be able to do state tracking on UDP-Lite |
| 111 | connections. |
| 112 | |
| 113 | To compile it as a module, choose M here. If unsure, say N. |
| 114 | |
Patrick McHardy | 1695890 | 2006-12-02 22:08:26 -0800 | [diff] [blame] | 115 | config NF_CONNTRACK_AMANDA |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 116 | tristate "Amanda backup protocol support" |
| 117 | depends on NF_CONNTRACK |
Patrick McHardy | 1695890 | 2006-12-02 22:08:26 -0800 | [diff] [blame] | 118 | select TEXTSEARCH |
| 119 | select TEXTSEARCH_KMP |
| 120 | help |
| 121 | If you are running the Amanda backup package <http://www.amanda.org/> |
| 122 | on this machine or machines that will be MASQUERADED through this |
| 123 | machine, then you may want to enable this feature. This allows the |
| 124 | connection tracking and natting code to allow the sub-channels that |
| 125 | Amanda requires for communication of the backup data, messages and |
| 126 | index. |
| 127 | |
| 128 | To compile it as a module, choose M here. If unsure, say N. |
| 129 | |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 130 | config NF_CONNTRACK_FTP |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 131 | tristate "FTP protocol support" |
| 132 | depends on NF_CONNTRACK |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 133 | help |
| 134 | Tracking FTP connections is problematic: special helpers are |
| 135 | required for tracking them, and doing masquerading and other forms |
| 136 | of Network Address Translation on them. |
| 137 | |
| 138 | This is FTP support on Layer 3 independent connection tracking. |
| 139 | Layer 3 independent connection tracking is experimental scheme |
| 140 | which generalize ip_conntrack to support other layer 3 protocols. |
| 141 | |
| 142 | To compile it as a module, choose M here. If unsure, say N. |
| 143 | |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 144 | config NF_CONNTRACK_H323 |
| 145 | tristate "H.323 protocol support (EXPERIMENTAL)" |
Adrian Bunk | 3e82198 | 2007-02-02 19:33:52 -0800 | [diff] [blame] | 146 | depends on EXPERIMENTAL && NF_CONNTRACK && (IPV6 || IPV6=n) |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 147 | help |
| 148 | H.323 is a VoIP signalling protocol from ITU-T. As one of the most |
| 149 | important VoIP protocols, it is widely used by voice hardware and |
| 150 | software including voice gateways, IP phones, Netmeeting, OpenPhone, |
| 151 | Gnomemeeting, etc. |
| 152 | |
| 153 | With this module you can support H.323 on a connection tracking/NAT |
| 154 | firewall. |
| 155 | |
| 156 | This module supports RAS, Fast Start, H.245 Tunnelling, Call |
| 157 | Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat, |
| 158 | whiteboard, file transfer, etc. For more information, please |
| 159 | visit http://nath323.sourceforge.net/. |
| 160 | |
| 161 | To compile it as a module, choose M here. If unsure, say N. |
| 162 | |
Patrick McHardy | 869f37d | 2006-12-02 22:09:06 -0800 | [diff] [blame] | 163 | config NF_CONNTRACK_IRC |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 164 | tristate "IRC protocol support" |
| 165 | depends on NF_CONNTRACK |
Patrick McHardy | 869f37d | 2006-12-02 22:09:06 -0800 | [diff] [blame] | 166 | help |
| 167 | There is a commonly-used extension to IRC called |
| 168 | Direct Client-to-Client Protocol (DCC). This enables users to send |
| 169 | files to each other, and also chat to each other without the need |
| 170 | of a server. DCC Sending is used anywhere you send files over IRC, |
| 171 | and DCC Chat is most commonly used by Eggdrop bots. If you are |
| 172 | using NAT, this extension will enable you to send files and initiate |
| 173 | chats. Note that you do NOT need this extension to get files or |
| 174 | have others initiate chats, or everything else in IRC. |
| 175 | |
| 176 | To compile it as a module, choose M here. If unsure, say N. |
| 177 | |
Patrick McHardy | 92703ee | 2006-12-02 22:09:24 -0800 | [diff] [blame] | 178 | config NF_CONNTRACK_NETBIOS_NS |
| 179 | tristate "NetBIOS name service protocol support (EXPERIMENTAL)" |
| 180 | depends on EXPERIMENTAL && NF_CONNTRACK |
| 181 | help |
| 182 | NetBIOS name service requests are sent as broadcast messages from an |
| 183 | unprivileged port and responded to with unicast messages to the |
| 184 | same port. This make them hard to firewall properly because connection |
| 185 | tracking doesn't deal with broadcasts. This helper tracks locally |
| 186 | originating NetBIOS name service requests and the corresponding |
| 187 | responses. It relies on correct IP address configuration, specifically |
| 188 | netmask and broadcast address. When properly configured, the output |
| 189 | of "ip address show" should look similar to this: |
| 190 | |
| 191 | $ ip -4 address show eth0 |
| 192 | 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 |
| 193 | inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0 |
| 194 | |
| 195 | To compile it as a module, choose M here. If unsure, say N. |
| 196 | |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 197 | config NF_CONNTRACK_PPTP |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 198 | tristate "PPtP protocol support" |
| 199 | depends on NF_CONNTRACK |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 200 | select NF_CT_PROTO_GRE |
| 201 | help |
| 202 | This module adds support for PPTP (Point to Point Tunnelling |
| 203 | Protocol, RFC2637) connection tracking and NAT. |
| 204 | |
| 205 | If you are running PPTP sessions over a stateful firewall or NAT |
| 206 | box, you may want to enable this feature. |
| 207 | |
| 208 | Please note that not all PPTP modes of operation are supported yet. |
| 209 | Specifically these limitations exist: |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 210 | - Blindly assumes that control connections are always established |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 211 | in PNS->PAC direction. This is a violation of RFC2637. |
| 212 | - Only supports a single call within each session |
| 213 | |
| 214 | To compile it as a module, choose M here. If unsure, say N. |
| 215 | |
Michal Schmidt | 6fecd19 | 2007-02-07 15:05:12 -0800 | [diff] [blame] | 216 | config NF_CONNTRACK_SANE |
| 217 | tristate "SANE protocol support (EXPERIMENTAL)" |
| 218 | depends on EXPERIMENTAL && NF_CONNTRACK |
| 219 | help |
| 220 | SANE is a protocol for remote access to scanners as implemented |
| 221 | by the 'saned' daemon. Like FTP, it uses separate control and |
| 222 | data connections. |
| 223 | |
| 224 | With this module you can support SANE on a connection tracking |
| 225 | firewall. |
| 226 | |
| 227 | To compile it as a module, choose M here. If unsure, say N. |
| 228 | |
Patrick McHardy | 9fafcd7 | 2006-12-02 22:09:57 -0800 | [diff] [blame] | 229 | config NF_CONNTRACK_SIP |
| 230 | tristate "SIP protocol support (EXPERIMENTAL)" |
| 231 | depends on EXPERIMENTAL && NF_CONNTRACK |
| 232 | help |
| 233 | SIP is an application-layer control protocol that can establish, |
| 234 | modify, and terminate multimedia sessions (conferences) such as |
| 235 | Internet telephony calls. With the ip_conntrack_sip and |
| 236 | the nf_nat_sip modules you can support the protocol on a connection |
| 237 | tracking/NATing firewall. |
| 238 | |
| 239 | To compile it as a module, choose M here. If unsure, say N. |
| 240 | |
Patrick McHardy | a536df3 | 2006-12-02 22:10:18 -0800 | [diff] [blame] | 241 | config NF_CONNTRACK_TFTP |
Patrick McHardy | c9386cf | 2007-01-04 12:16:06 -0800 | [diff] [blame] | 242 | tristate "TFTP protocol support" |
| 243 | depends on NF_CONNTRACK |
Patrick McHardy | a536df3 | 2006-12-02 22:10:18 -0800 | [diff] [blame] | 244 | help |
| 245 | TFTP connection tracking helper, this is required depending |
| 246 | on how restrictive your ruleset is. |
| 247 | If you are using a tftp client behind -j SNAT or -j MASQUERADING |
| 248 | you will need this. |
| 249 | |
| 250 | To compile it as a module, choose M here. If unsure, say N. |
| 251 | |
Pablo Neira Ayuso | c1d10ad | 2006-01-05 12:19:05 -0800 | [diff] [blame] | 252 | config NF_CT_NETLINK |
| 253 | tristate 'Connection tracking netlink interface (EXPERIMENTAL)' |
| 254 | depends on EXPERIMENTAL && NF_CONNTRACK && NETFILTER_NETLINK |
| 255 | depends on NF_CONNTRACK!=y || NETFILTER_NETLINK!=m |
Patrick McHardy | ca8fbb8 | 2007-03-22 12:29:57 -0700 | [diff] [blame] | 256 | depends on NF_NAT=n || NF_NAT |
Pablo Neira Ayuso | c1d10ad | 2006-01-05 12:19:05 -0800 | [diff] [blame] | 257 | help |
| 258 | This option enables support for a netlink-based userspace interface |
| 259 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 260 | config NETFILTER_XTABLES |
| 261 | tristate "Netfilter Xtables support (required for ip_tables)" |
| 262 | help |
| 263 | This is required if you intend to use any of ip_tables, |
| 264 | ip6_tables or arp_tables. |
| 265 | |
| 266 | # alphabetically ordered list of targets |
| 267 | |
| 268 | config NETFILTER_XT_TARGET_CLASSIFY |
| 269 | tristate '"CLASSIFY" target support' |
| 270 | depends on NETFILTER_XTABLES |
| 271 | help |
| 272 | This option adds a `CLASSIFY' target, which enables the user to set |
| 273 | the priority of a packet. Some qdiscs can use this value for |
| 274 | classification, among these are: |
| 275 | |
| 276 | atm, cbq, dsmark, pfifo_fast, htb, prio |
| 277 | |
| 278 | To compile it as a module, choose M here. If unsure, say N. |
| 279 | |
| 280 | config NETFILTER_XT_TARGET_CONNMARK |
| 281 | tristate '"CONNMARK" target support' |
| 282 | depends on NETFILTER_XTABLES |
| 283 | depends on IP_NF_MANGLE || IP6_NF_MANGLE |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 284 | depends on NF_CONNTRACK |
| 285 | select NF_CONNTRACK_MARK |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 286 | help |
| 287 | This option adds a `CONNMARK' target, which allows one to manipulate |
| 288 | the connection mark value. Similar to the MARK target, but |
| 289 | affects the connection mark value rather than the packet mark value. |
| 290 | |
| 291 | 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] | 292 | <file:Documentation/kbuild/modules.txt>. The module will be called |
| 293 | ipt_CONNMARK.ko. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 294 | |
Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 295 | config NETFILTER_XT_TARGET_DSCP |
| 296 | tristate '"DSCP" target support' |
| 297 | depends on NETFILTER_XTABLES |
| 298 | depends on IP_NF_MANGLE || IP6_NF_MANGLE |
| 299 | help |
| 300 | This option adds a `DSCP' target, which allows you to manipulate |
| 301 | the IPv4/IPv6 header DSCP field (differentiated services codepoint). |
| 302 | |
| 303 | The DSCP field can have any value between 0x0 and 0x3f inclusive. |
| 304 | |
| 305 | To compile it as a module, choose M here. If unsure, say N. |
| 306 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 307 | config NETFILTER_XT_TARGET_MARK |
| 308 | tristate '"MARK" target support' |
| 309 | depends on NETFILTER_XTABLES |
| 310 | help |
| 311 | This option adds a `MARK' target, which allows you to create rules |
| 312 | in the `mangle' table which alter the netfilter mark (nfmark) field |
| 313 | associated with the packet prior to routing. This can change |
| 314 | the routing method (see `Use netfilter MARK value as routing |
| 315 | key') and can also be used by other subsystems to change their |
| 316 | behavior. |
| 317 | |
| 318 | To compile it as a module, choose M here. If unsure, say N. |
| 319 | |
| 320 | config NETFILTER_XT_TARGET_NFQUEUE |
| 321 | tristate '"NFQUEUE" target Support' |
| 322 | depends on NETFILTER_XTABLES |
| 323 | help |
Thomas Vögtle | 50b521a | 2006-03-22 13:53:48 -0800 | [diff] [blame] | 324 | This target replaced the old obsolete QUEUE target. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 325 | |
| 326 | As opposed to QUEUE, it supports 65535 different queues, |
| 327 | not just one. |
| 328 | |
| 329 | To compile it as a module, choose M here. If unsure, say N. |
| 330 | |
Patrick McHardy | baf7b1e | 2006-11-29 02:35:38 +0100 | [diff] [blame] | 331 | config NETFILTER_XT_TARGET_NFLOG |
| 332 | tristate '"NFLOG" target support' |
| 333 | depends on NETFILTER_XTABLES |
| 334 | help |
| 335 | This option enables the NFLOG target, which allows to LOG |
| 336 | messages through the netfilter logging API, which can use |
| 337 | either the old LOG target, the old ULOG target or nfnetlink_log |
| 338 | as backend. |
| 339 | |
| 340 | To compile it as a module, choose M here. If unsure, say N. |
| 341 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 342 | config NETFILTER_XT_TARGET_NOTRACK |
| 343 | tristate '"NOTRACK" target support' |
| 344 | depends on NETFILTER_XTABLES |
| 345 | depends on IP_NF_RAW || IP6_NF_RAW |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 346 | depends on NF_CONNTRACK |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 347 | help |
| 348 | The NOTRACK target allows a select rule to specify |
| 349 | which packets *not* to enter the conntrack/NAT |
| 350 | subsystem with all the consequences (no ICMP error tracking, |
| 351 | no protocol helpers for the selected packets). |
| 352 | |
| 353 | 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] | 354 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 355 | |
Jozsef Kadlecsik | ba9dda3 | 2007-07-07 22:21:23 -0700 | [diff] [blame] | 356 | config NETFILTER_XT_TARGET_TRACE |
| 357 | tristate '"TRACE" target support' |
| 358 | depends on NETFILTER_XTABLES |
| 359 | depends on IP_NF_RAW || IP6_NF_RAW |
| 360 | help |
| 361 | The TRACE target allows you to mark packets so that the kernel |
| 362 | will log every rule which match the packets as those traverse |
| 363 | the tables, chains, rules. |
| 364 | |
| 365 | If you want to compile it as a module, say M here and read |
| 366 | <file:Documentation/modules.txt>. If unsure, say `N'. |
| 367 | |
James Morris | 5e6874c | 2006-06-09 00:30:57 -0700 | [diff] [blame] | 368 | config NETFILTER_XT_TARGET_SECMARK |
| 369 | tristate '"SECMARK" target support' |
| 370 | depends on NETFILTER_XTABLES && NETWORK_SECMARK |
| 371 | help |
| 372 | The SECMARK target allows security marking of network |
| 373 | packets, for use with security subsystems. |
| 374 | |
| 375 | To compile it as a module, choose M here. If unsure, say N. |
| 376 | |
James Morris | 100468e | 2006-06-09 00:32:39 -0700 | [diff] [blame] | 377 | config NETFILTER_XT_TARGET_CONNSECMARK |
| 378 | tristate '"CONNSECMARK" target support' |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 379 | depends on NETFILTER_XTABLES && NF_CONNTRACK && NF_CONNTRACK_SECMARK |
James Morris | 100468e | 2006-06-09 00:32:39 -0700 | [diff] [blame] | 380 | help |
| 381 | The CONNSECMARK target copies security markings from packets |
| 382 | to connections, and restores security markings from connections |
| 383 | to packets (if the packets are not already marked). This would |
| 384 | normally be used in conjunction with the SECMARK target. |
| 385 | |
| 386 | To compile it as a module, choose M here. If unsure, say N. |
| 387 | |
Patrick McHardy | cdd289a | 2007-02-07 15:09:46 -0800 | [diff] [blame] | 388 | config NETFILTER_XT_TARGET_TCPMSS |
| 389 | tristate '"TCPMSS" target support' |
| 390 | depends on NETFILTER_XTABLES && (IPV6 || IPV6=n) |
| 391 | ---help--- |
| 392 | This option adds a `TCPMSS' target, which allows you to alter the |
| 393 | MSS value of TCP SYN packets, to control the maximum size for that |
| 394 | connection (usually limiting it to your outgoing interface's MTU |
| 395 | minus 40). |
| 396 | |
| 397 | This is used to overcome criminally braindead ISPs or servers which |
| 398 | block ICMP Fragmentation Needed packets. The symptoms of this |
| 399 | problem are that everything works fine from your Linux |
| 400 | firewall/router, but machines behind it can never exchange large |
| 401 | packets: |
| 402 | 1) Web browsers connect, then hang with no data received. |
| 403 | 2) Small mail works fine, but large emails hang. |
| 404 | 3) ssh works fine, but scp hangs after initial handshaking. |
| 405 | |
| 406 | Workaround: activate this option and add a rule to your firewall |
| 407 | configuration like: |
| 408 | |
| 409 | iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \ |
| 410 | -j TCPMSS --clamp-mss-to-pmtu |
| 411 | |
| 412 | To compile it as a module, choose M here. If unsure, say N. |
| 413 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 414 | config NETFILTER_XT_MATCH_COMMENT |
| 415 | tristate '"comment" match support' |
| 416 | depends on NETFILTER_XTABLES |
| 417 | help |
| 418 | This option adds a `comment' dummy-match, which allows you to put |
| 419 | comments in your iptables ruleset. |
| 420 | |
| 421 | 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] | 422 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 423 | |
| 424 | config NETFILTER_XT_MATCH_CONNBYTES |
| 425 | tristate '"connbytes" per-connection counter match support' |
| 426 | depends on NETFILTER_XTABLES |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 427 | depends on NF_CONNTRACK |
| 428 | select NF_CT_ACCT |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 429 | help |
| 430 | This option adds a `connbytes' match, which allows you to match the |
| 431 | number of bytes and/or packets for each direction within a connection. |
| 432 | |
| 433 | 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] | 434 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 435 | |
Jan Engelhardt | 370786f | 2007-07-14 20:47:26 -0700 | [diff] [blame] | 436 | config NETFILTER_XT_MATCH_CONNLIMIT |
| 437 | tristate '"connlimit" match support"' |
| 438 | depends on NETFILTER_XTABLES |
Cornelia Huck | 3fd8f9e | 2007-07-18 02:38:32 -0700 | [diff] [blame] | 439 | depends on NF_CONNTRACK |
Jan Engelhardt | 370786f | 2007-07-14 20:47:26 -0700 | [diff] [blame] | 440 | ---help--- |
| 441 | This match allows you to match against the number of parallel |
| 442 | connections to a server per client IP address (or address block). |
| 443 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 444 | config NETFILTER_XT_MATCH_CONNMARK |
| 445 | tristate '"connmark" connection mark match support' |
| 446 | depends on NETFILTER_XTABLES |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 447 | depends on NF_CONNTRACK |
| 448 | select NF_CONNTRACK_MARK |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 449 | help |
| 450 | This option adds a `connmark' match, which allows you to match the |
| 451 | connection mark value previously set for the session by `CONNMARK'. |
| 452 | |
| 453 | 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] | 454 | <file:Documentation/kbuild/modules.txt>. The module will be called |
| 455 | ipt_connmark.ko. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 456 | |
| 457 | config NETFILTER_XT_MATCH_CONNTRACK |
| 458 | tristate '"conntrack" connection tracking match support' |
| 459 | depends on NETFILTER_XTABLES |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 460 | depends on NF_CONNTRACK |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 461 | help |
| 462 | This is a general conntrack match module, a superset of the state match. |
| 463 | |
| 464 | It allows matching on additional conntrack information, which is |
| 465 | useful in complex configurations, such as NAT gateways with multiple |
| 466 | internet links or tunnels. |
| 467 | |
| 468 | To compile it as a module, choose M here. If unsure, say N. |
| 469 | |
| 470 | config NETFILTER_XT_MATCH_DCCP |
| 471 | tristate '"DCCP" protocol match support' |
| 472 | depends on NETFILTER_XTABLES |
| 473 | help |
| 474 | With this option enabled, you will be able to use the iptables |
| 475 | `dccp' match in order to match on DCCP source/destination ports |
| 476 | and DCCP flags. |
| 477 | |
| 478 | 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] | 479 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 480 | |
Yasuyuki Kozakai | 9ba1627 | 2006-08-22 00:29:37 -0700 | [diff] [blame] | 481 | config NETFILTER_XT_MATCH_DSCP |
| 482 | tristate '"DSCP" match support' |
| 483 | depends on NETFILTER_XTABLES |
| 484 | help |
| 485 | This option adds a `DSCP' match, which allows you to match against |
| 486 | the IPv4/IPv6 header DSCP field (differentiated services codepoint). |
| 487 | |
| 488 | The DSCP field can have any value between 0x0 and 0x3f inclusive. |
| 489 | |
| 490 | To compile it as a module, choose M here. If unsure, say N. |
| 491 | |
Yasuyuki Kozakai | dc5ab2f | 2006-04-01 02:22:30 -0800 | [diff] [blame] | 492 | config NETFILTER_XT_MATCH_ESP |
| 493 | tristate '"ESP" match support' |
| 494 | depends on NETFILTER_XTABLES |
| 495 | help |
| 496 | This match extension allows you to match a range of SPIs |
| 497 | inside ESP header of IPSec packets. |
| 498 | |
| 499 | To compile it as a module, choose M here. If unsure, say N. |
| 500 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 501 | config NETFILTER_XT_MATCH_HELPER |
| 502 | tristate '"helper" match support' |
| 503 | depends on NETFILTER_XTABLES |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 504 | depends on NF_CONNTRACK |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 505 | help |
| 506 | Helper matching allows you to match packets in dynamic connections |
| 507 | tracked by a conntrack-helper, ie. ip_conntrack_ftp |
| 508 | |
| 509 | To compile it as a module, choose M here. If unsure, say Y. |
| 510 | |
| 511 | config NETFILTER_XT_MATCH_LENGTH |
| 512 | tristate '"length" match support' |
| 513 | depends on NETFILTER_XTABLES |
| 514 | help |
| 515 | This option allows you to match the length of a packet against a |
| 516 | specific value or range of values. |
| 517 | |
| 518 | To compile it as a module, choose M here. If unsure, say N. |
| 519 | |
| 520 | config NETFILTER_XT_MATCH_LIMIT |
| 521 | tristate '"limit" match support' |
| 522 | depends on NETFILTER_XTABLES |
| 523 | help |
| 524 | limit matching allows you to control the rate at which a rule can be |
| 525 | matched: mainly useful in combination with the LOG target ("LOG |
| 526 | target support", below) and to avoid some Denial of Service attacks. |
| 527 | |
| 528 | To compile it as a module, choose M here. If unsure, say N. |
| 529 | |
| 530 | config NETFILTER_XT_MATCH_MAC |
| 531 | tristate '"mac" address match support' |
| 532 | depends on NETFILTER_XTABLES |
| 533 | help |
| 534 | MAC matching allows you to match packets based on the source |
| 535 | Ethernet address of the packet. |
| 536 | |
| 537 | To compile it as a module, choose M here. If unsure, say N. |
| 538 | |
| 539 | config NETFILTER_XT_MATCH_MARK |
| 540 | tristate '"mark" match support' |
| 541 | depends on NETFILTER_XTABLES |
| 542 | help |
| 543 | Netfilter mark matching allows you to match packets based on the |
| 544 | `nfmark' value in the packet. This can be set by the MARK target |
| 545 | (see below). |
| 546 | |
| 547 | To compile it as a module, choose M here. If unsure, say N. |
| 548 | |
Patrick McHardy | c4b8851 | 2006-03-20 18:03:40 -0800 | [diff] [blame] | 549 | config NETFILTER_XT_MATCH_POLICY |
| 550 | tristate 'IPsec "policy" match support' |
| 551 | depends on NETFILTER_XTABLES && XFRM |
| 552 | help |
| 553 | Policy matching allows you to match packets based on the |
| 554 | IPsec policy that was used during decapsulation/will |
| 555 | be used during encapsulation. |
| 556 | |
| 557 | To compile it as a module, choose M here. If unsure, say N. |
| 558 | |
Yasuyuki Kozakai | a89ecb6 | 2006-04-01 02:22:54 -0800 | [diff] [blame] | 559 | config NETFILTER_XT_MATCH_MULTIPORT |
| 560 | tristate "Multiple port match support" |
| 561 | depends on NETFILTER_XTABLES |
| 562 | help |
| 563 | Multiport matching allows you to match TCP or UDP packets based on |
| 564 | a series of source or destination ports: normally a rule can only |
| 565 | match a single range of ports. |
| 566 | |
| 567 | To compile it as a module, choose M here. If unsure, say N. |
| 568 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 569 | config NETFILTER_XT_MATCH_PHYSDEV |
| 570 | tristate '"physdev" match support' |
Patrick McHardy | f1da706 | 2006-10-02 16:10:47 -0700 | [diff] [blame] | 571 | depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 572 | help |
| 573 | Physdev packet matching matches against the physical bridge ports |
| 574 | the IP packet arrived on or will leave by. |
| 575 | |
| 576 | To compile it as a module, choose M here. If unsure, say N. |
| 577 | |
| 578 | config NETFILTER_XT_MATCH_PKTTYPE |
| 579 | tristate '"pkttype" packet type match support' |
| 580 | depends on NETFILTER_XTABLES |
| 581 | help |
| 582 | Packet type matching allows you to match a packet by |
| 583 | its "class", eg. BROADCAST, MULTICAST, ... |
| 584 | |
| 585 | Typical usage: |
| 586 | iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG |
| 587 | |
| 588 | To compile it as a module, choose M here. If unsure, say N. |
| 589 | |
Patrick McHardy | 62b7743 | 2006-05-29 18:20:32 -0700 | [diff] [blame] | 590 | config NETFILTER_XT_MATCH_QUOTA |
| 591 | tristate '"quota" match support' |
| 592 | depends on NETFILTER_XTABLES |
| 593 | help |
| 594 | This option adds a `quota' match, which allows to match on a |
| 595 | byte counter. |
| 596 | |
| 597 | 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] | 598 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Patrick McHardy | 62b7743 | 2006-05-29 18:20:32 -0700 | [diff] [blame] | 599 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 600 | config NETFILTER_XT_MATCH_REALM |
| 601 | tristate '"realm" match support' |
| 602 | depends on NETFILTER_XTABLES |
| 603 | select NET_CLS_ROUTE |
| 604 | help |
| 605 | This option adds a `realm' match, which allows you to use the realm |
| 606 | key from the routing subsystem inside iptables. |
| 607 | |
| 608 | This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option |
| 609 | in tc world. |
| 610 | |
| 611 | 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] | 612 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 613 | |
| 614 | config NETFILTER_XT_MATCH_SCTP |
Patrick McHardy | d5af981 | 2006-07-24 22:55:29 -0700 | [diff] [blame] | 615 | tristate '"sctp" protocol match support (EXPERIMENTAL)' |
| 616 | depends on NETFILTER_XTABLES && EXPERIMENTAL |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 617 | help |
| 618 | With this option enabled, you will be able to use the |
| 619 | `sctp' match in order to match on SCTP source/destination ports |
| 620 | and SCTP chunk types. |
| 621 | |
| 622 | 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] | 623 | <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 624 | |
| 625 | config NETFILTER_XT_MATCH_STATE |
| 626 | tristate '"state" match support' |
| 627 | depends on NETFILTER_XTABLES |
Patrick McHardy | 587aa641 | 2007-03-14 16:37:25 -0700 | [diff] [blame] | 628 | depends on NF_CONNTRACK |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 629 | help |
| 630 | Connection state matching allows you to match packets based on their |
| 631 | relationship to a tracked connection (ie. previous packets). This |
| 632 | is a powerful tool for packet classification. |
| 633 | |
| 634 | To compile it as a module, choose M here. If unsure, say N. |
| 635 | |
Patrick McHardy | f338980 | 2006-05-29 18:21:00 -0700 | [diff] [blame] | 636 | config NETFILTER_XT_MATCH_STATISTIC |
| 637 | tristate '"statistic" match support' |
| 638 | depends on NETFILTER_XTABLES |
| 639 | help |
Patrick McHardy | 68c1692 | 2006-06-27 03:02:14 -0700 | [diff] [blame] | 640 | This option adds a `statistic' match, which allows you to match |
| 641 | on packets periodically or randomly with a given percentage. |
| 642 | |
| 643 | 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] | 644 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 645 | config NETFILTER_XT_MATCH_STRING |
| 646 | tristate '"string" match support' |
| 647 | depends on NETFILTER_XTABLES |
| 648 | select TEXTSEARCH |
| 649 | select TEXTSEARCH_KMP |
| 650 | select TEXTSEARCH_BM |
| 651 | select TEXTSEARCH_FSM |
| 652 | help |
| 653 | This option adds a `string' match, which allows you to look for |
| 654 | pattern matchings in packets. |
| 655 | |
| 656 | To compile it as a module, choose M here. If unsure, say N. |
| 657 | |
| 658 | config NETFILTER_XT_MATCH_TCPMSS |
| 659 | tristate '"tcpmss" match support' |
| 660 | depends on NETFILTER_XTABLES |
| 661 | help |
| 662 | This option adds a `tcpmss' match, which allows you to examine the |
| 663 | MSS value of TCP SYN packets, which control the maximum packet size |
| 664 | for that connection. |
| 665 | |
| 666 | To compile it as a module, choose M here. If unsure, say N. |
| 667 | |
Jan Engelhardt | ee4411a | 2007-09-28 14:46:43 -0700 | [diff] [blame^] | 668 | config NETFILTER_XT_MATCH_TIME |
| 669 | tristate '"time" match support' |
| 670 | depends on NETFILTER_XTABLES |
| 671 | ---help--- |
| 672 | This option adds a "time" match, which allows you to match based on |
| 673 | the packet arrival time (at the machine which netfilter is running) |
| 674 | on) or departure time/date (for locally generated packets). |
| 675 | |
| 676 | If you say Y here, try `iptables -m time --help` for |
| 677 | more information. |
| 678 | |
| 679 | If you want to compile it as a module, say M here. |
| 680 | If unsure, say N. |
| 681 | |
Jan Engelhardt | 1b50b8a | 2007-07-07 22:20:36 -0700 | [diff] [blame] | 682 | config NETFILTER_XT_MATCH_U32 |
| 683 | tristate '"u32" match support' |
| 684 | depends on NETFILTER_XTABLES |
| 685 | ---help--- |
| 686 | u32 allows you to extract quantities of up to 4 bytes from a packet, |
| 687 | AND them with specified masks, shift them by specified amounts and |
| 688 | test whether the results are in any of a set of specified ranges. |
| 689 | The specification of what to extract is general enough to skip over |
| 690 | headers with lengths stored in the packet, as in IP or TCP header |
| 691 | lengths. |
| 692 | |
| 693 | Details and examples are in the kernel module source. |
| 694 | |
Patrick McHardy | 39b46fc | 2006-11-29 02:35:36 +0100 | [diff] [blame] | 695 | config NETFILTER_XT_MATCH_HASHLIMIT |
| 696 | tristate '"hashlimit" match support' |
Patrick McHardy | 2e55302 | 2007-01-30 21:36:09 -0800 | [diff] [blame] | 697 | depends on NETFILTER_XTABLES && (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n) |
Patrick McHardy | 39b46fc | 2006-11-29 02:35:36 +0100 | [diff] [blame] | 698 | help |
| 699 | This option adds a `hashlimit' match. |
| 700 | |
| 701 | As opposed to `limit', this match dynamically creates a hash table |
| 702 | of limit buckets, based on your selection of source/destination |
| 703 | addresses and/or ports. |
| 704 | |
| 705 | It enables you to express policies like `10kpps for any given |
| 706 | destination address' or `500pps from any given source address' |
| 707 | with a single rule. |
| 708 | |
Harald Welte | a6c1cd5 | 2006-02-13 15:42:48 -0800 | [diff] [blame] | 709 | endmenu |
| 710 | |