blob: 9ad74e8bc5bd22bea5985c83cc9430e107e76e93 [file] [log] [blame]
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -08001menu "Core Netfilter Configuration"
Patrick McHardy3a411352006-12-12 00:27:46 -08002 depends on NET && INET && NETFILTER
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -08003
Harald Weltef9e815b2005-08-09 19:30:24 -07004config NETFILTER_NETLINK
Patrick McHardy2eeeba32007-12-05 01:31:52 -08005 tristate
Harald Welte7af4cc32005-08-09 19:44:15 -07006
7config NETFILTER_NETLINK_QUEUE
8 tristate "Netfilter NFQUEUE over NFNETLINK interface"
Patrick McHardy33b8e772007-12-17 22:47:05 -08009 depends on NETFILTER_ADVANCED
Patrick McHardy2eeeba32007-12-05 01:31:52 -080010 select NETFILTER_NETLINK
Harald Welte7af4cc32005-08-09 19:44:15 -070011 help
Thomas Vögtle50b521a2006-03-22 13:53:48 -080012 If this option is enabled, the kernel will include support
Harald Welte7af4cc32005-08-09 19:44:15 -070013 for queueing packets via NFNETLINK.
14
Harald Welte0597f262005-08-09 19:58:39 -070015config NETFILTER_NETLINK_LOG
16 tristate "Netfilter LOG over NFNETLINK interface"
Patrick McHardy33b8e772007-12-17 22:47:05 -080017 default m if NETFILTER_ADVANCED=n
Patrick McHardy2eeeba32007-12-05 01:31:52 -080018 select NETFILTER_NETLINK
Harald Welte0597f262005-08-09 19:58:39 -070019 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 McHardyab4f58c2007-12-05 01:31:37 -080027config NF_CONNTRACK
Patrick McHardyb321e142006-12-02 22:05:46 -080028 tristate "Netfilter connection tracking support"
Patrick McHardy33b8e772007-12-17 22:47:05 -080029 default m if NETFILTER_ADVANCED=n
Patrick McHardyb321e142006-12-02 22:05:46 -080030 help
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080031 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 McHardyb321e142006-12-02 22:05:46 -080035 This is required to do Masquerading or other kinds of Network
Russ Dillb11c16b2008-07-08 02:35:27 -070036 Address Translation. It can also be used to enhance packet
37 filtering (see `Connection state match support' below).
Patrick McHardyb321e142006-12-02 22:05:46 -080038
39 To compile it as a module, choose M here. If unsure, say N.
40
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080041config NF_CT_ACCT
42 bool "Connection tracking flow accounting"
Patrick McHardy33b8e772007-12-17 22:47:05 -080043 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080044 depends on NF_CONNTRACK
45 help
46 If this option is enabled, the connection tracking code will
47 keep per-flow packet and byte counters.
48
49 Those counters can be used for flow-based accounting or the
50 `connbytes' match.
51
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -070052 Please note that currently this option only sets a default state.
53 You may change it at boot time with nf_conntrack.acct=0/1 kernel
54 paramater or by loading the nf_conntrack module with acct=0/1.
55
56 You may also disable/enable it on a running system with:
57 sysctl net.netfilter.nf_conntrack_acct=0/1
58
59 This option will be removed in 2.6.29.
60
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080061 If unsure, say `N'.
62
63config NF_CONNTRACK_MARK
64 bool 'Connection mark tracking support'
Patrick McHardy33b8e772007-12-17 22:47:05 -080065 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080066 depends on NF_CONNTRACK
67 help
68 This option enables support for connection marks, used by the
69 `CONNMARK' target and `connmark' match. Similar to the mark value
70 of packets, but this mark value is kept in the conntrack session
71 instead of the individual packets.
72
James Morris7c9728c2006-06-09 00:31:46 -070073config NF_CONNTRACK_SECMARK
74 bool 'Connection tracking security mark support'
75 depends on NF_CONNTRACK && NETWORK_SECMARK
Patrick McHardy33b8e772007-12-17 22:47:05 -080076 default m if NETFILTER_ADVANCED=n
James Morris7c9728c2006-06-09 00:31:46 -070077 help
78 This option enables security markings to be applied to
79 connections. Typically they are copied to connections from
80 packets using the CONNSECMARK target and copied back from
81 connections to packets with the same target, with the packets
82 being originally labeled via SECMARK.
83
84 If unsure, say 'N'.
85
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080086config NF_CONNTRACK_EVENTS
Patrick McHardy8ce22fc2008-01-14 23:31:36 -080087 bool "Connection tracking events"
88 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -080089 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080090 help
91 If this option is enabled, the connection tracking code will
92 provide a notifier chain that can be used by other kernel code
Thomas Vögtle50b521a2006-03-22 13:53:48 -080093 to get notified about changes in the connection tracking state.
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080094
95 If unsure, say `N'.
96
Patrick McHardy2bc78042008-03-20 15:15:55 +010097config NF_CT_PROTO_DCCP
98 tristate 'DCCP protocol connection tracking support (EXPERIMENTAL)'
99 depends on EXPERIMENTAL && NF_CONNTRACK
100 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700101 default IP_DCCP
Patrick McHardy2bc78042008-03-20 15:15:55 +0100102 help
103 With this option enabled, the layer 3 independent connection
104 tracking code will be able to do state tracking on DCCP connections.
105
106 If unsure, say 'N'.
107
Patrick McHardyf09943f2006-12-02 22:09:41 -0800108config NF_CT_PROTO_GRE
109 tristate
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800110 depends on NF_CONNTRACK
Patrick McHardyf09943f2006-12-02 22:09:41 -0800111
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800112config NF_CT_PROTO_SCTP
Patrick McHardya3c47972006-12-02 22:11:01 -0800113 tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)'
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800114 depends on EXPERIMENTAL && NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800115 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700116 default IP_SCTP
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800117 help
118 With this option enabled, the layer 3 independent connection
119 tracking code will be able to do state tracking on SCTP connections.
120
121 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500122 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800123
Patrick McHardy59eecdf2007-07-14 20:48:44 -0700124config NF_CT_PROTO_UDPLITE
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800125 tristate 'UDP-Lite protocol connection tracking support'
126 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800127 depends on NETFILTER_ADVANCED
Patrick McHardy59eecdf2007-07-14 20:48:44 -0700128 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 McHardy16958902006-12-02 22:08:26 -0800135config NF_CONNTRACK_AMANDA
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800136 tristate "Amanda backup protocol support"
137 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800138 depends on NETFILTER_ADVANCED
Patrick McHardy16958902006-12-02 22:08:26 -0800139 select TEXTSEARCH
140 select TEXTSEARCH_KMP
141 help
142 If you are running the Amanda backup package <http://www.amanda.org/>
143 on this machine or machines that will be MASQUERADED through this
144 machine, then you may want to enable this feature. This allows the
145 connection tracking and natting code to allow the sub-channels that
146 Amanda requires for communication of the backup data, messages and
147 index.
148
149 To compile it as a module, choose M here. If unsure, say N.
150
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800151config NF_CONNTRACK_FTP
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800152 tristate "FTP protocol support"
153 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800154 default m if NETFILTER_ADVANCED=n
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800155 help
156 Tracking FTP connections is problematic: special helpers are
157 required for tracking them, and doing masquerading and other forms
158 of Network Address Translation on them.
159
160 This is FTP support on Layer 3 independent connection tracking.
161 Layer 3 independent connection tracking is experimental scheme
162 which generalize ip_conntrack to support other layer 3 protocols.
163
164 To compile it as a module, choose M here. If unsure, say N.
165
Patrick McHardyf587de02006-12-02 22:08:46 -0800166config NF_CONNTRACK_H323
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800167 tristate "H.323 protocol support"
168 depends on NF_CONNTRACK && (IPV6 || IPV6=n)
Patrick McHardy33b8e772007-12-17 22:47:05 -0800169 depends on NETFILTER_ADVANCED
Patrick McHardyf587de02006-12-02 22:08:46 -0800170 help
171 H.323 is a VoIP signalling protocol from ITU-T. As one of the most
172 important VoIP protocols, it is widely used by voice hardware and
173 software including voice gateways, IP phones, Netmeeting, OpenPhone,
174 Gnomemeeting, etc.
175
176 With this module you can support H.323 on a connection tracking/NAT
177 firewall.
178
179 This module supports RAS, Fast Start, H.245 Tunnelling, Call
180 Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat,
181 whiteboard, file transfer, etc. For more information, please
182 visit http://nath323.sourceforge.net/.
183
184 To compile it as a module, choose M here. If unsure, say N.
185
Patrick McHardy869f37d2006-12-02 22:09:06 -0800186config NF_CONNTRACK_IRC
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800187 tristate "IRC protocol support"
188 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800189 default m if NETFILTER_ADVANCED=n
Patrick McHardy869f37d2006-12-02 22:09:06 -0800190 help
191 There is a commonly-used extension to IRC called
192 Direct Client-to-Client Protocol (DCC). This enables users to send
193 files to each other, and also chat to each other without the need
194 of a server. DCC Sending is used anywhere you send files over IRC,
195 and DCC Chat is most commonly used by Eggdrop bots. If you are
196 using NAT, this extension will enable you to send files and initiate
197 chats. Note that you do NOT need this extension to get files or
198 have others initiate chats, or everything else in IRC.
199
200 To compile it as a module, choose M here. If unsure, say N.
201
Patrick McHardy92703ee2006-12-02 22:09:24 -0800202config NF_CONNTRACK_NETBIOS_NS
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800203 tristate "NetBIOS name service protocol support"
204 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800205 depends on NETFILTER_ADVANCED
Patrick McHardy92703ee2006-12-02 22:09:24 -0800206 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
Patrick McHardyf09943f2006-12-02 22:09:41 -0800222config NF_CONNTRACK_PPTP
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800223 tristate "PPtP protocol support"
224 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800225 depends on NETFILTER_ADVANCED
Patrick McHardyf09943f2006-12-02 22:09:41 -0800226 select NF_CT_PROTO_GRE
227 help
228 This module adds support for PPTP (Point to Point Tunnelling
229 Protocol, RFC2637) connection tracking and NAT.
230
231 If you are running PPTP sessions over a stateful firewall or NAT
232 box, you may want to enable this feature.
233
234 Please note that not all PPTP modes of operation are supported yet.
235 Specifically these limitations exist:
David Sterba3dde6ad2007-05-09 07:12:20 +0200236 - Blindly assumes that control connections are always established
Patrick McHardyf09943f2006-12-02 22:09:41 -0800237 in PNS->PAC direction. This is a violation of RFC2637.
238 - Only supports a single call within each session
239
240 To compile it as a module, choose M here. If unsure, say N.
241
Michal Schmidt6fecd192007-02-07 15:05:12 -0800242config NF_CONNTRACK_SANE
243 tristate "SANE protocol support (EXPERIMENTAL)"
244 depends on EXPERIMENTAL && NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800245 depends on NETFILTER_ADVANCED
Michal Schmidt6fecd192007-02-07 15:05:12 -0800246 help
247 SANE is a protocol for remote access to scanners as implemented
248 by the 'saned' daemon. Like FTP, it uses separate control and
249 data connections.
250
251 With this module you can support SANE on a connection tracking
252 firewall.
253
254 To compile it as a module, choose M here. If unsure, say N.
255
Patrick McHardy9fafcd72006-12-02 22:09:57 -0800256config NF_CONNTRACK_SIP
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800257 tristate "SIP protocol support"
258 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800259 default m if NETFILTER_ADVANCED=n
Patrick McHardy9fafcd72006-12-02 22:09:57 -0800260 help
261 SIP is an application-layer control protocol that can establish,
262 modify, and terminate multimedia sessions (conferences) such as
263 Internet telephony calls. With the ip_conntrack_sip and
264 the nf_nat_sip modules you can support the protocol on a connection
265 tracking/NATing firewall.
266
267 To compile it as a module, choose M here. If unsure, say N.
268
Patrick McHardya536df32006-12-02 22:10:18 -0800269config NF_CONNTRACK_TFTP
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800270 tristate "TFTP protocol support"
271 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800272 depends on NETFILTER_ADVANCED
Patrick McHardya536df32006-12-02 22:10:18 -0800273 help
274 TFTP connection tracking helper, this is required depending
275 on how restrictive your ruleset is.
276 If you are using a tftp client behind -j SNAT or -j MASQUERADING
277 you will need this.
278
279 To compile it as a module, choose M here. If unsure, say N.
280
Pablo Neira Ayusoc1d10ad2006-01-05 12:19:05 -0800281config NF_CT_NETLINK
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800282 tristate 'Connection tracking netlink interface'
283 depends on NF_CONNTRACK
Patrick McHardy2eeeba32007-12-05 01:31:52 -0800284 select NETFILTER_NETLINK
Patrick McHardyca8fbb82007-03-22 12:29:57 -0700285 depends on NF_NAT=n || NF_NAT
Patrick McHardy33b8e772007-12-17 22:47:05 -0800286 default m if NETFILTER_ADVANCED=n
Pablo Neira Ayusoc1d10ad2006-01-05 12:19:05 -0800287 help
288 This option enables support for a netlink-based userspace interface
289
KOVACS Krisztian9ad2d742008-10-08 11:35:12 +0200290# transparent proxy support
291config NETFILTER_TPROXY
292 tristate "Transparent proxying support (EXPERIMENTAL)"
293 depends on EXPERIMENTAL
294 depends on IP_NF_MANGLE
295 depends on NETFILTER_ADVANCED
296 help
297 This option enables transparent proxying support, that is,
298 support for handling non-locally bound IPv4 TCP and UDP sockets.
299 For it to work you will have to configure certain iptables rules
300 and use policy routing. For more information on how to set it up
301 see Documentation/networking/tproxy.txt.
302
303 To compile it as a module, choose M here. If unsure, say N.
304
Harald Welte2e4e6a12006-01-12 13:30:04 -0800305config NETFILTER_XTABLES
306 tristate "Netfilter Xtables support (required for ip_tables)"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800307 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800308 help
309 This is required if you intend to use any of ip_tables,
310 ip6_tables or arp_tables.
311
312# alphabetically ordered list of targets
313
314config NETFILTER_XT_TARGET_CLASSIFY
315 tristate '"CLASSIFY" target support'
316 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800317 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800318 help
319 This option adds a `CLASSIFY' target, which enables the user to set
320 the priority of a packet. Some qdiscs can use this value for
321 classification, among these are:
322
323 atm, cbq, dsmark, pfifo_fast, htb, prio
324
325 To compile it as a module, choose M here. If unsure, say N.
326
327config NETFILTER_XT_TARGET_CONNMARK
328 tristate '"CONNMARK" target support'
329 depends on NETFILTER_XTABLES
330 depends on IP_NF_MANGLE || IP6_NF_MANGLE
Patrick McHardy587aa642007-03-14 16:37:25 -0700331 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800332 depends on NETFILTER_ADVANCED
Patrick McHardy587aa642007-03-14 16:37:25 -0700333 select NF_CONNTRACK_MARK
Harald Welte2e4e6a12006-01-12 13:30:04 -0800334 help
335 This option adds a `CONNMARK' target, which allows one to manipulate
336 the connection mark value. Similar to the MARK target, but
337 affects the connection mark value rather than the packet mark value.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800338
Harald Welte2e4e6a12006-01-12 13:30:04 -0800339 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500340 <file:Documentation/kbuild/modules.txt>. The module will be called
341 ipt_CONNMARK.ko. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800342
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200343config NETFILTER_XT_TARGET_CONNSECMARK
344 tristate '"CONNSECMARK" target support'
345 depends on NETFILTER_XTABLES && NF_CONNTRACK && NF_CONNTRACK_SECMARK
346 default m if NETFILTER_ADVANCED=n
347 help
348 The CONNSECMARK target copies security markings from packets
349 to connections, and restores security markings from connections
350 to packets (if the packets are not already marked). This would
351 normally be used in conjunction with the SECMARK target.
352
353 To compile it as a module, choose M here. If unsure, say N.
354
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700355config NETFILTER_XT_TARGET_DSCP
Jan Engelhardtc9fd4962007-12-04 23:38:13 -0800356 tristate '"DSCP" and "TOS" target support'
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700357 depends on NETFILTER_XTABLES
358 depends on IP_NF_MANGLE || IP6_NF_MANGLE
Patrick McHardy33b8e772007-12-17 22:47:05 -0800359 depends on NETFILTER_ADVANCED
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700360 help
361 This option adds a `DSCP' target, which allows you to manipulate
362 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
363
364 The DSCP field can have any value between 0x0 and 0x3f inclusive.
365
Jan Engelhardtc9fd4962007-12-04 23:38:13 -0800366 It also adds the "TOS" target, which allows you to create rules in
367 the "mangle" table which alter the Type Of Service field of an IPv4
Jan Engelhardt5c350e52007-12-04 23:39:09 -0800368 or the Priority field of an IPv6 packet, prior to routing.
Jan Engelhardtc9fd4962007-12-04 23:38:13 -0800369
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700370 To compile it as a module, choose M here. If unsure, say N.
371
Harald Welte2e4e6a12006-01-12 13:30:04 -0800372config NETFILTER_XT_TARGET_MARK
373 tristate '"MARK" target support'
374 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800375 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800376 help
377 This option adds a `MARK' target, which allows you to create rules
378 in the `mangle' table which alter the netfilter mark (nfmark) field
379 associated with the packet prior to routing. This can change
380 the routing method (see `Use netfilter MARK value as routing
381 key') and can also be used by other subsystems to change their
382 behavior.
383
384 To compile it as a module, choose M here. If unsure, say N.
385
Patrick McHardybaf7b1e2006-11-29 02:35:38 +0100386config NETFILTER_XT_TARGET_NFLOG
387 tristate '"NFLOG" target support'
388 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800389 default m if NETFILTER_ADVANCED=n
Patrick McHardybaf7b1e2006-11-29 02:35:38 +0100390 help
391 This option enables the NFLOG target, which allows to LOG
392 messages through the netfilter logging API, which can use
393 either the old LOG target, the old ULOG target or nfnetlink_log
394 as backend.
395
396 To compile it as a module, choose M here. If unsure, say N.
397
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200398config NETFILTER_XT_TARGET_NFQUEUE
399 tristate '"NFQUEUE" target Support'
400 depends on NETFILTER_XTABLES
401 depends on NETFILTER_ADVANCED
402 help
403 This target replaced the old obsolete QUEUE target.
404
405 As opposed to QUEUE, it supports 65535 different queues,
406 not just one.
407
408 To compile it as a module, choose M here. If unsure, say N.
409
Harald Welte2e4e6a12006-01-12 13:30:04 -0800410config NETFILTER_XT_TARGET_NOTRACK
411 tristate '"NOTRACK" target support'
412 depends on NETFILTER_XTABLES
413 depends on IP_NF_RAW || IP6_NF_RAW
Patrick McHardy587aa642007-03-14 16:37:25 -0700414 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800415 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800416 help
417 The NOTRACK target allows a select rule to specify
418 which packets *not* to enter the conntrack/NAT
419 subsystem with all the consequences (no ICMP error tracking,
420 no protocol helpers for the selected packets).
Patrick McHardy33b8e772007-12-17 22:47:05 -0800421
Harald Welte2e4e6a12006-01-12 13:30:04 -0800422 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500423 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800424
Patrick McHardy58590342007-12-04 23:40:05 -0800425config NETFILTER_XT_TARGET_RATEEST
426 tristate '"RATEEST" target support'
427 depends on NETFILTER_XTABLES
Patrick McHardyb26e76b2008-01-14 23:30:56 -0800428 depends on NETFILTER_ADVANCED
Patrick McHardy58590342007-12-04 23:40:05 -0800429 help
430 This option adds a `RATEEST' target, which allows to measure
431 rates similar to TC estimators. The `rateest' match can be
432 used to match on the measured rates.
433
434 To compile it as a module, choose M here. If unsure, say N.
435
KOVACS Krisztiane8439272008-10-08 11:35:12 +0200436config NETFILTER_XT_TARGET_TPROXY
437 tristate '"TPROXY" target support (EXPERIMENTAL)'
438 depends on EXPERIMENTAL
439 depends on NETFILTER_TPROXY
440 depends on NETFILTER_XTABLES
441 depends on NETFILTER_ADVANCED
442 select NF_DEFRAG_IPV4
443 help
444 This option adds a `TPROXY' target, which is somewhat similar to
445 REDIRECT. It can only be used in the mangle table and is useful
446 to redirect traffic to a transparent proxy. It does _not_ depend
447 on Netfilter connection tracking and NAT, unlike REDIRECT.
448
449 To compile it as a module, choose M here. If unsure, say N.
450
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700451config NETFILTER_XT_TARGET_TRACE
452 tristate '"TRACE" target support'
453 depends on NETFILTER_XTABLES
454 depends on IP_NF_RAW || IP6_NF_RAW
Patrick McHardy33b8e772007-12-17 22:47:05 -0800455 depends on NETFILTER_ADVANCED
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700456 help
457 The TRACE target allows you to mark packets so that the kernel
458 will log every rule which match the packets as those traverse
459 the tables, chains, rules.
460
461 If you want to compile it as a module, say M here and read
Dirk Hohndele4031492007-10-30 13:37:19 -0700462 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700463
James Morris5e6874cd2006-06-09 00:30:57 -0700464config NETFILTER_XT_TARGET_SECMARK
465 tristate '"SECMARK" target support'
466 depends on NETFILTER_XTABLES && NETWORK_SECMARK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800467 default m if NETFILTER_ADVANCED=n
James Morris5e6874cd2006-06-09 00:30:57 -0700468 help
469 The SECMARK target allows security marking of network
470 packets, for use with security subsystems.
471
472 To compile it as a module, choose M here. If unsure, say N.
473
Patrick McHardycdd289a2007-02-07 15:09:46 -0800474config NETFILTER_XT_TARGET_TCPMSS
475 tristate '"TCPMSS" target support'
476 depends on NETFILTER_XTABLES && (IPV6 || IPV6=n)
Patrick McHardy33b8e772007-12-17 22:47:05 -0800477 default m if NETFILTER_ADVANCED=n
Patrick McHardycdd289a2007-02-07 15:09:46 -0800478 ---help---
479 This option adds a `TCPMSS' target, which allows you to alter the
480 MSS value of TCP SYN packets, to control the maximum size for that
481 connection (usually limiting it to your outgoing interface's MTU
482 minus 40).
483
484 This is used to overcome criminally braindead ISPs or servers which
485 block ICMP Fragmentation Needed packets. The symptoms of this
486 problem are that everything works fine from your Linux
487 firewall/router, but machines behind it can never exchange large
488 packets:
489 1) Web browsers connect, then hang with no data received.
490 2) Small mail works fine, but large emails hang.
491 3) ssh works fine, but scp hangs after initial handshaking.
492
493 Workaround: activate this option and add a rule to your firewall
494 configuration like:
495
496 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
497 -j TCPMSS --clamp-mss-to-pmtu
498
499 To compile it as a module, choose M here. If unsure, say N.
500
Sven Schnelle338e8a72007-12-04 23:21:50 -0800501config NETFILTER_XT_TARGET_TCPOPTSTRIP
502 tristate '"TCPOPTSTRIP" target support (EXPERIMENTAL)'
503 depends on EXPERIMENTAL && NETFILTER_XTABLES
504 depends on IP_NF_MANGLE || IP6_NF_MANGLE
Patrick McHardy33b8e772007-12-17 22:47:05 -0800505 depends on NETFILTER_ADVANCED
Sven Schnelle338e8a72007-12-04 23:21:50 -0800506 help
507 This option adds a "TCPOPTSTRIP" target, which allows you to strip
508 TCP options from TCP packets.
509
Harald Welte2e4e6a12006-01-12 13:30:04 -0800510config NETFILTER_XT_MATCH_COMMENT
511 tristate '"comment" match support'
512 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800513 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800514 help
515 This option adds a `comment' dummy-match, which allows you to put
516 comments in your iptables ruleset.
517
518 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500519 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800520
521config NETFILTER_XT_MATCH_CONNBYTES
522 tristate '"connbytes" per-connection counter match support'
523 depends on NETFILTER_XTABLES
Patrick McHardy587aa642007-03-14 16:37:25 -0700524 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800525 depends on NETFILTER_ADVANCED
Patrick McHardy587aa642007-03-14 16:37:25 -0700526 select NF_CT_ACCT
Harald Welte2e4e6a12006-01-12 13:30:04 -0800527 help
528 This option adds a `connbytes' match, which allows you to match the
529 number of bytes and/or packets for each direction within a connection.
530
531 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500532 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800533
Jan Engelhardt370786f2007-07-14 20:47:26 -0700534config NETFILTER_XT_MATCH_CONNLIMIT
535 tristate '"connlimit" match support"'
536 depends on NETFILTER_XTABLES
Cornelia Huck3fd8f9e2007-07-18 02:38:32 -0700537 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800538 depends on NETFILTER_ADVANCED
Jan Engelhardt370786f2007-07-14 20:47:26 -0700539 ---help---
540 This match allows you to match against the number of parallel
541 connections to a server per client IP address (or address block).
542
Harald Welte2e4e6a12006-01-12 13:30:04 -0800543config NETFILTER_XT_MATCH_CONNMARK
544 tristate '"connmark" connection mark match support'
545 depends on NETFILTER_XTABLES
Patrick McHardy587aa642007-03-14 16:37:25 -0700546 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800547 depends on NETFILTER_ADVANCED
Patrick McHardy587aa642007-03-14 16:37:25 -0700548 select NF_CONNTRACK_MARK
Harald Welte2e4e6a12006-01-12 13:30:04 -0800549 help
550 This option adds a `connmark' match, which allows you to match the
551 connection mark value previously set for the session by `CONNMARK'.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800552
Harald Welte2e4e6a12006-01-12 13:30:04 -0800553 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500554 <file:Documentation/kbuild/modules.txt>. The module will be called
555 ipt_connmark.ko. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800556
557config NETFILTER_XT_MATCH_CONNTRACK
558 tristate '"conntrack" connection tracking match support'
559 depends on NETFILTER_XTABLES
Patrick McHardy587aa642007-03-14 16:37:25 -0700560 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800561 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800562 help
563 This is a general conntrack match module, a superset of the state match.
564
565 It allows matching on additional conntrack information, which is
566 useful in complex configurations, such as NAT gateways with multiple
567 internet links or tunnels.
568
569 To compile it as a module, choose M here. If unsure, say N.
570
571config NETFILTER_XT_MATCH_DCCP
Jan Engelhardt4c377992007-12-04 23:31:59 -0800572 tristate '"dccp" protocol match support'
Harald Welte2e4e6a12006-01-12 13:30:04 -0800573 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800574 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700575 default IP_DCCP
Harald Welte2e4e6a12006-01-12 13:30:04 -0800576 help
577 With this option enabled, you will be able to use the iptables
578 `dccp' match in order to match on DCCP source/destination ports
579 and DCCP flags.
580
581 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500582 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800583
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700584config NETFILTER_XT_MATCH_DSCP
Jan Engelhardtc3b33e62007-12-04 23:37:54 -0800585 tristate '"dscp" and "tos" match support'
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700586 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800587 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700588 help
589 This option adds a `DSCP' match, which allows you to match against
590 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
591
592 The DSCP field can have any value between 0x0 and 0x3f inclusive.
593
Jan Engelhardtc3b33e62007-12-04 23:37:54 -0800594 It will also add a "tos" match, which allows you to match packets
595 based on the Type Of Service fields of the IPv4 packet (which share
596 the same bits as DSCP).
597
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700598 To compile it as a module, choose M here. If unsure, say N.
599
Yasuyuki Kozakaidc5ab2f2006-04-01 02:22:30 -0800600config NETFILTER_XT_MATCH_ESP
Jan Engelhardt4c377992007-12-04 23:31:59 -0800601 tristate '"esp" match support'
Yasuyuki Kozakaidc5ab2f2006-04-01 02:22:30 -0800602 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800603 depends on NETFILTER_ADVANCED
Yasuyuki Kozakaidc5ab2f2006-04-01 02:22:30 -0800604 help
605 This match extension allows you to match a range of SPIs
606 inside ESP header of IPSec packets.
607
608 To compile it as a module, choose M here. If unsure, say N.
609
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200610config NETFILTER_XT_MATCH_HASHLIMIT
611 tristate '"hashlimit" match support'
612 depends on NETFILTER_XTABLES && (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
613 depends on NETFILTER_ADVANCED
614 help
615 This option adds a `hashlimit' match.
616
617 As opposed to `limit', this match dynamically creates a hash table
618 of limit buckets, based on your selection of source/destination
619 addresses and/or ports.
620
621 It enables you to express policies like `10kpps for any given
622 destination address' or `500pps from any given source address'
623 with a single rule.
624
Harald Welte2e4e6a12006-01-12 13:30:04 -0800625config NETFILTER_XT_MATCH_HELPER
626 tristate '"helper" match support'
627 depends on NETFILTER_XTABLES
Patrick McHardy587aa642007-03-14 16:37:25 -0700628 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800629 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800630 help
631 Helper matching allows you to match packets in dynamic connections
632 tracked by a conntrack-helper, ie. ip_conntrack_ftp
633
634 To compile it as a module, choose M here. If unsure, say Y.
635
Jan Engelhardtf72e25a2008-01-14 23:42:47 -0800636config NETFILTER_XT_MATCH_IPRANGE
637 tristate '"iprange" address range match support'
638 depends on NETFILTER_XTABLES
639 depends on NETFILTER_ADVANCED
640 ---help---
641 This option adds a "iprange" match, which allows you to match based on
642 an IP address range. (Normal iptables only matches on single addresses
643 with an optional mask.)
644
645 If unsure, say M.
646
Harald Welte2e4e6a12006-01-12 13:30:04 -0800647config NETFILTER_XT_MATCH_LENGTH
648 tristate '"length" match support'
649 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800650 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800651 help
652 This option allows you to match the length of a packet against a
653 specific value or range of values.
654
655 To compile it as a module, choose M here. If unsure, say N.
656
657config NETFILTER_XT_MATCH_LIMIT
658 tristate '"limit" match support'
659 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800660 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800661 help
662 limit matching allows you to control the rate at which a rule can be
663 matched: mainly useful in combination with the LOG target ("LOG
664 target support", below) and to avoid some Denial of Service attacks.
665
666 To compile it as a module, choose M here. If unsure, say N.
667
668config NETFILTER_XT_MATCH_MAC
669 tristate '"mac" address match support'
670 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800671 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800672 help
673 MAC matching allows you to match packets based on the source
674 Ethernet address of the packet.
675
676 To compile it as a module, choose M here. If unsure, say N.
677
678config NETFILTER_XT_MATCH_MARK
679 tristate '"mark" match support'
680 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800681 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800682 help
683 Netfilter mark matching allows you to match packets based on the
684 `nfmark' value in the packet. This can be set by the MARK target
685 (see below).
686
687 To compile it as a module, choose M here. If unsure, say N.
688
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200689config NETFILTER_XT_MATCH_MULTIPORT
690 tristate '"multiport" Multiple port match support'
691 depends on NETFILTER_XTABLES
692 depends on NETFILTER_ADVANCED
693 help
694 Multiport matching allows you to match TCP or UDP packets based on
695 a series of source or destination ports: normally a rule can only
696 match a single range of ports.
697
698 To compile it as a module, choose M here. If unsure, say N.
699
Jan Engelhardt0265ab42007-12-04 23:27:38 -0800700config NETFILTER_XT_MATCH_OWNER
701 tristate '"owner" match support'
702 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800703 depends on NETFILTER_ADVANCED
Jan Engelhardt0265ab42007-12-04 23:27:38 -0800704 ---help---
705 Socket owner matching allows you to match locally-generated packets
706 based on who created the socket: the user or group. It is also
707 possible to check whether a socket actually exists.
708
Patrick McHardyc4b88512006-03-20 18:03:40 -0800709config NETFILTER_XT_MATCH_POLICY
710 tristate 'IPsec "policy" match support'
711 depends on NETFILTER_XTABLES && XFRM
Patrick McHardy33b8e772007-12-17 22:47:05 -0800712 default m if NETFILTER_ADVANCED=n
Patrick McHardyc4b88512006-03-20 18:03:40 -0800713 help
714 Policy matching allows you to match packets based on the
715 IPsec policy that was used during decapsulation/will
716 be used during encapsulation.
717
718 To compile it as a module, choose M here. If unsure, say N.
719
Harald Welte2e4e6a12006-01-12 13:30:04 -0800720config NETFILTER_XT_MATCH_PHYSDEV
721 tristate '"physdev" match support'
Patrick McHardyf1da7062006-10-02 16:10:47 -0700722 depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
Patrick McHardy33b8e772007-12-17 22:47:05 -0800723 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800724 help
725 Physdev packet matching matches against the physical bridge ports
726 the IP packet arrived on or will leave by.
727
728 To compile it as a module, choose M here. If unsure, say N.
729
730config NETFILTER_XT_MATCH_PKTTYPE
731 tristate '"pkttype" packet type match support'
732 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800733 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800734 help
735 Packet type matching allows you to match a packet by
736 its "class", eg. BROADCAST, MULTICAST, ...
737
738 Typical usage:
739 iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
740
741 To compile it as a module, choose M here. If unsure, say N.
742
Patrick McHardy62b77432006-05-29 18:20:32 -0700743config NETFILTER_XT_MATCH_QUOTA
744 tristate '"quota" match support'
745 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800746 depends on NETFILTER_ADVANCED
Patrick McHardy62b77432006-05-29 18:20:32 -0700747 help
748 This option adds a `quota' match, which allows to match on a
749 byte counter.
750
751 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500752 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Patrick McHardy62b77432006-05-29 18:20:32 -0700753
Patrick McHardy50c164a2007-12-04 13:02:19 +0100754config NETFILTER_XT_MATCH_RATEEST
755 tristate '"rateest" match support'
756 depends on NETFILTER_XTABLES
Patrick McHardyb26e76b2008-01-14 23:30:56 -0800757 depends on NETFILTER_ADVANCED
Patrick McHardy50c164a2007-12-04 13:02:19 +0100758 select NETFILTER_XT_TARGET_RATEEST
759 help
760 This option adds a `rateest' match, which allows to match on the
761 rate estimated by the RATEEST target.
762
763 To compile it as a module, choose M here. If unsure, say N.
764
Harald Welte2e4e6a12006-01-12 13:30:04 -0800765config NETFILTER_XT_MATCH_REALM
766 tristate '"realm" match support'
767 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800768 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800769 select NET_CLS_ROUTE
770 help
771 This option adds a `realm' match, which allows you to use the realm
772 key from the routing subsystem inside iptables.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800773
Harald Welte2e4e6a12006-01-12 13:30:04 -0800774 This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
775 in tc world.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800776
Harald Welte2e4e6a12006-01-12 13:30:04 -0800777 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500778 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800779
Jan Engelhardte948b202008-10-08 11:35:00 +0200780config NETFILTER_XT_MATCH_RECENT
781 tristate '"recent" match support'
782 depends on NETFILTER_XTABLES
783 depends on NETFILTER_ADVANCED
784 ---help---
785 This match is used for creating one or many lists of recently
786 used addresses and then matching against that/those list(s).
787
788 Short options are available by using 'iptables -m recent -h'
789 Official Website: <http://snowman.net/projects/ipt_recent/>
790
Jan Engelhardt079aa882008-10-08 11:35:00 +0200791config NETFILTER_XT_MATCH_RECENT_PROC_COMPAT
792 bool 'Enable obsolete /proc/net/ipt_recent'
793 depends on NETFILTER_XT_MATCH_RECENT && PROC_FS
794 ---help---
795 This option enables the old /proc/net/ipt_recent interface,
796 which has been obsoleted by /proc/net/xt_recent.
797
Harald Welte2e4e6a12006-01-12 13:30:04 -0800798config NETFILTER_XT_MATCH_SCTP
Patrick McHardyd5af9812006-07-24 22:55:29 -0700799 tristate '"sctp" protocol match support (EXPERIMENTAL)'
800 depends on NETFILTER_XTABLES && EXPERIMENTAL
Patrick McHardy33b8e772007-12-17 22:47:05 -0800801 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700802 default IP_SCTP
Harald Welte2e4e6a12006-01-12 13:30:04 -0800803 help
804 With this option enabled, you will be able to use the
805 `sctp' match in order to match on SCTP source/destination ports
806 and SCTP chunk types.
807
808 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500809 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800810
KOVACS Krisztian136cdc72008-10-08 11:35:12 +0200811config NETFILTER_XT_MATCH_SOCKET
812 tristate '"socket" match support (EXPERIMENTAL)'
813 depends on EXPERIMENTAL
814 depends on NETFILTER_TPROXY
815 depends on NETFILTER_XTABLES
816 depends on NETFILTER_ADVANCED
817 select NF_DEFRAG_IPV4
818 help
819 This option adds a `socket' match, which can be used to match
820 packets for which a TCP or UDP socket lookup finds a valid socket.
821 It can be used in combination with the MARK target and policy
822 routing to implement full featured non-locally bound sockets.
823
824 To compile it as a module, choose M here. If unsure, say N.
825
Harald Welte2e4e6a12006-01-12 13:30:04 -0800826config NETFILTER_XT_MATCH_STATE
827 tristate '"state" match support'
828 depends on NETFILTER_XTABLES
Patrick McHardy587aa642007-03-14 16:37:25 -0700829 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800830 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800831 help
832 Connection state matching allows you to match packets based on their
833 relationship to a tracked connection (ie. previous packets). This
834 is a powerful tool for packet classification.
835
836 To compile it as a module, choose M here. If unsure, say N.
837
Patrick McHardyf3389802006-05-29 18:21:00 -0700838config NETFILTER_XT_MATCH_STATISTIC
839 tristate '"statistic" match support'
840 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800841 depends on NETFILTER_ADVANCED
Patrick McHardyf3389802006-05-29 18:21:00 -0700842 help
Patrick McHardy68c16922006-06-27 03:02:14 -0700843 This option adds a `statistic' match, which allows you to match
844 on packets periodically or randomly with a given percentage.
845
846 To compile it as a module, choose M here. If unsure, say N.
Patrick McHardyf3389802006-05-29 18:21:00 -0700847
Harald Welte2e4e6a12006-01-12 13:30:04 -0800848config NETFILTER_XT_MATCH_STRING
849 tristate '"string" match support'
850 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800851 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800852 select TEXTSEARCH
853 select TEXTSEARCH_KMP
854 select TEXTSEARCH_BM
855 select TEXTSEARCH_FSM
856 help
857 This option adds a `string' match, which allows you to look for
858 pattern matchings in packets.
859
860 To compile it as a module, choose M here. If unsure, say N.
861
862config NETFILTER_XT_MATCH_TCPMSS
863 tristate '"tcpmss" match support'
864 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800865 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800866 help
867 This option adds a `tcpmss' match, which allows you to examine the
868 MSS value of TCP SYN packets, which control the maximum packet size
869 for that connection.
870
871 To compile it as a module, choose M here. If unsure, say N.
872
Jan Engelhardtee4411a2007-09-28 14:46:43 -0700873config NETFILTER_XT_MATCH_TIME
874 tristate '"time" match support'
875 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800876 depends on NETFILTER_ADVANCED
Jan Engelhardtee4411a2007-09-28 14:46:43 -0700877 ---help---
878 This option adds a "time" match, which allows you to match based on
879 the packet arrival time (at the machine which netfilter is running)
880 on) or departure time/date (for locally generated packets).
881
882 If you say Y here, try `iptables -m time --help` for
883 more information.
884
885 If you want to compile it as a module, say M here.
886 If unsure, say N.
887
Jan Engelhardt1b50b8a2007-07-07 22:20:36 -0700888config NETFILTER_XT_MATCH_U32
889 tristate '"u32" match support'
890 depends on NETFILTER_XTABLES
Patrick McHardy33b8e772007-12-17 22:47:05 -0800891 depends on NETFILTER_ADVANCED
Jan Engelhardt1b50b8a2007-07-07 22:20:36 -0700892 ---help---
893 u32 allows you to extract quantities of up to 4 bytes from a packet,
894 AND them with specified masks, shift them by specified amounts and
895 test whether the results are in any of a set of specified ranges.
896 The specification of what to extract is general enough to skip over
897 headers with lengths stored in the packet, as in IP or TCP header
898 lengths.
899
900 Details and examples are in the kernel module source.
901
Harald Weltea6c1cd572006-02-13 15:42:48 -0800902endmenu
903