blob: 25dcef9f219493a597511c157efc9c2fe4f343e6 [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
Jan Engelhardtc2df73d2008-10-08 11:35:18 +020041if NF_CONNTRACK
42
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080043config NF_CT_ACCT
44 bool "Connection tracking flow accounting"
Patrick McHardy33b8e772007-12-17 22:47:05 -080045 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080046 help
47 If this option is enabled, the connection tracking code will
48 keep per-flow packet and byte counters.
49
50 Those counters can be used for flow-based accounting or the
51 `connbytes' match.
52
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -070053 Please note that currently this option only sets a default state.
54 You may change it at boot time with nf_conntrack.acct=0/1 kernel
55 paramater or by loading the nf_conntrack module with acct=0/1.
56
57 You may also disable/enable it on a running system with:
58 sysctl net.netfilter.nf_conntrack_acct=0/1
59
60 This option will be removed in 2.6.29.
61
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080062 If unsure, say `N'.
63
64config NF_CONNTRACK_MARK
65 bool 'Connection mark tracking support'
Patrick McHardy33b8e772007-12-17 22:47:05 -080066 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080067 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'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +020075 depends on 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"
Patrick McHardy33b8e772007-12-17 22:47:05 -080088 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080089 help
90 If this option is enabled, the connection tracking code will
91 provide a notifier chain that can be used by other kernel code
Thomas Vögtle50b521a2006-03-22 13:53:48 -080092 to get notified about changes in the connection tracking state.
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -080093
94 If unsure, say `N'.
95
Patrick McHardy2bc78042008-03-20 15:15:55 +010096config NF_CT_PROTO_DCCP
97 tristate 'DCCP protocol connection tracking support (EXPERIMENTAL)'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +020098 depends on EXPERIMENTAL
Patrick McHardy2bc78042008-03-20 15:15:55 +010099 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700100 default IP_DCCP
Patrick McHardy2bc78042008-03-20 15:15:55 +0100101 help
102 With this option enabled, the layer 3 independent connection
103 tracking code will be able to do state tracking on DCCP connections.
104
105 If unsure, say 'N'.
106
Patrick McHardyf09943f2006-12-02 22:09:41 -0800107config NF_CT_PROTO_GRE
108 tristate
Patrick McHardyf09943f2006-12-02 22:09:41 -0800109
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800110config NF_CT_PROTO_SCTP
Patrick McHardya3c47972006-12-02 22:11:01 -0800111 tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200112 depends on EXPERIMENTAL
Patrick McHardy33b8e772007-12-17 22:47:05 -0800113 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700114 default IP_SCTP
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800115 help
116 With this option enabled, the layer 3 independent connection
117 tracking code will be able to do state tracking on SCTP connections.
118
119 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500120 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800121
Patrick McHardy59eecdf2007-07-14 20:48:44 -0700122config NF_CT_PROTO_UDPLITE
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800123 tristate 'UDP-Lite protocol connection tracking support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800124 depends on NETFILTER_ADVANCED
Patrick McHardy59eecdf2007-07-14 20:48:44 -0700125 help
126 With this option enabled, the layer 3 independent connection
127 tracking code will be able to do state tracking on UDP-Lite
128 connections.
129
130 To compile it as a module, choose M here. If unsure, say N.
131
Patrick McHardy16958902006-12-02 22:08:26 -0800132config NF_CONNTRACK_AMANDA
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800133 tristate "Amanda backup protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800134 depends on NETFILTER_ADVANCED
Patrick McHardy16958902006-12-02 22:08:26 -0800135 select TEXTSEARCH
136 select TEXTSEARCH_KMP
137 help
138 If you are running the Amanda backup package <http://www.amanda.org/>
139 on this machine or machines that will be MASQUERADED through this
140 machine, then you may want to enable this feature. This allows the
141 connection tracking and natting code to allow the sub-channels that
142 Amanda requires for communication of the backup data, messages and
143 index.
144
145 To compile it as a module, choose M here. If unsure, say N.
146
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800147config NF_CONNTRACK_FTP
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800148 tristate "FTP protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800149 default m if NETFILTER_ADVANCED=n
Yasuyuki Kozakai9fb9cbb2005-11-09 16:38:16 -0800150 help
151 Tracking FTP connections is problematic: special helpers are
152 required for tracking them, and doing masquerading and other forms
153 of Network Address Translation on them.
154
155 This is FTP support on Layer 3 independent connection tracking.
156 Layer 3 independent connection tracking is experimental scheme
157 which generalize ip_conntrack to support other layer 3 protocols.
158
159 To compile it as a module, choose M here. If unsure, say N.
160
Patrick McHardyf587de02006-12-02 22:08:46 -0800161config NF_CONNTRACK_H323
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800162 tristate "H.323 protocol support"
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200163 depends on (IPV6 || IPV6=n)
Patrick McHardy33b8e772007-12-17 22:47:05 -0800164 depends on NETFILTER_ADVANCED
Patrick McHardyf587de02006-12-02 22:08:46 -0800165 help
166 H.323 is a VoIP signalling protocol from ITU-T. As one of the most
167 important VoIP protocols, it is widely used by voice hardware and
168 software including voice gateways, IP phones, Netmeeting, OpenPhone,
169 Gnomemeeting, etc.
170
171 With this module you can support H.323 on a connection tracking/NAT
172 firewall.
173
174 This module supports RAS, Fast Start, H.245 Tunnelling, Call
175 Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat,
176 whiteboard, file transfer, etc. For more information, please
177 visit http://nath323.sourceforge.net/.
178
179 To compile it as a module, choose M here. If unsure, say N.
180
Patrick McHardy869f37d2006-12-02 22:09:06 -0800181config NF_CONNTRACK_IRC
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800182 tristate "IRC protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800183 default m if NETFILTER_ADVANCED=n
Patrick McHardy869f37d2006-12-02 22:09:06 -0800184 help
185 There is a commonly-used extension to IRC called
186 Direct Client-to-Client Protocol (DCC). This enables users to send
187 files to each other, and also chat to each other without the need
188 of a server. DCC Sending is used anywhere you send files over IRC,
189 and DCC Chat is most commonly used by Eggdrop bots. If you are
190 using NAT, this extension will enable you to send files and initiate
191 chats. Note that you do NOT need this extension to get files or
192 have others initiate chats, or everything else in IRC.
193
194 To compile it as a module, choose M here. If unsure, say N.
195
Patrick McHardy92703ee2006-12-02 22:09:24 -0800196config NF_CONNTRACK_NETBIOS_NS
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800197 tristate "NetBIOS name service protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800198 depends on NETFILTER_ADVANCED
Patrick McHardy92703ee2006-12-02 22:09:24 -0800199 help
200 NetBIOS name service requests are sent as broadcast messages from an
201 unprivileged port and responded to with unicast messages to the
202 same port. This make them hard to firewall properly because connection
203 tracking doesn't deal with broadcasts. This helper tracks locally
204 originating NetBIOS name service requests and the corresponding
205 responses. It relies on correct IP address configuration, specifically
206 netmask and broadcast address. When properly configured, the output
207 of "ip address show" should look similar to this:
208
209 $ ip -4 address show eth0
210 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
211 inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0
212
213 To compile it as a module, choose M here. If unsure, say N.
214
Patrick McHardyf09943f2006-12-02 22:09:41 -0800215config NF_CONNTRACK_PPTP
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800216 tristate "PPtP protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800217 depends on NETFILTER_ADVANCED
Patrick McHardyf09943f2006-12-02 22:09:41 -0800218 select NF_CT_PROTO_GRE
219 help
220 This module adds support for PPTP (Point to Point Tunnelling
221 Protocol, RFC2637) connection tracking and NAT.
222
223 If you are running PPTP sessions over a stateful firewall or NAT
224 box, you may want to enable this feature.
225
226 Please note that not all PPTP modes of operation are supported yet.
227 Specifically these limitations exist:
David Sterba3dde6ad2007-05-09 07:12:20 +0200228 - Blindly assumes that control connections are always established
Patrick McHardyf09943f2006-12-02 22:09:41 -0800229 in PNS->PAC direction. This is a violation of RFC2637.
230 - Only supports a single call within each session
231
232 To compile it as a module, choose M here. If unsure, say N.
233
Michal Schmidt6fecd192007-02-07 15:05:12 -0800234config NF_CONNTRACK_SANE
235 tristate "SANE protocol support (EXPERIMENTAL)"
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200236 depends on EXPERIMENTAL
Patrick McHardy33b8e772007-12-17 22:47:05 -0800237 depends on NETFILTER_ADVANCED
Michal Schmidt6fecd192007-02-07 15:05:12 -0800238 help
239 SANE is a protocol for remote access to scanners as implemented
240 by the 'saned' daemon. Like FTP, it uses separate control and
241 data connections.
242
243 With this module you can support SANE on a connection tracking
244 firewall.
245
246 To compile it as a module, choose M here. If unsure, say N.
247
Patrick McHardy9fafcd72006-12-02 22:09:57 -0800248config NF_CONNTRACK_SIP
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800249 tristate "SIP protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800250 default m if NETFILTER_ADVANCED=n
Patrick McHardy9fafcd72006-12-02 22:09:57 -0800251 help
252 SIP is an application-layer control protocol that can establish,
253 modify, and terminate multimedia sessions (conferences) such as
254 Internet telephony calls. With the ip_conntrack_sip and
255 the nf_nat_sip modules you can support the protocol on a connection
256 tracking/NATing firewall.
257
258 To compile it as a module, choose M here. If unsure, say N.
259
Patrick McHardya536df32006-12-02 22:10:18 -0800260config NF_CONNTRACK_TFTP
Patrick McHardyc9386cf2007-01-04 12:16:06 -0800261 tristate "TFTP protocol support"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800262 depends on NETFILTER_ADVANCED
Patrick McHardya536df32006-12-02 22:10:18 -0800263 help
264 TFTP connection tracking helper, this is required depending
265 on how restrictive your ruleset is.
266 If you are using a tftp client behind -j SNAT or -j MASQUERADING
267 you will need this.
268
269 To compile it as a module, choose M here. If unsure, say N.
270
Pablo Neira Ayusoc1d10ad2006-01-05 12:19:05 -0800271config NF_CT_NETLINK
Patrick McHardy8ce22fc2008-01-14 23:31:36 -0800272 tristate 'Connection tracking netlink interface'
Patrick McHardy2eeeba32007-12-05 01:31:52 -0800273 select NETFILTER_NETLINK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800274 default m if NETFILTER_ADVANCED=n
Pablo Neira Ayusoc1d10ad2006-01-05 12:19:05 -0800275 help
276 This option enables support for a netlink-based userspace interface
277
KOVACS Krisztian9ad2d742008-10-08 11:35:12 +0200278# transparent proxy support
279config NETFILTER_TPROXY
280 tristate "Transparent proxying support (EXPERIMENTAL)"
281 depends on EXPERIMENTAL
282 depends on IP_NF_MANGLE
283 depends on NETFILTER_ADVANCED
284 help
285 This option enables transparent proxying support, that is,
286 support for handling non-locally bound IPv4 TCP and UDP sockets.
287 For it to work you will have to configure certain iptables rules
288 and use policy routing. For more information on how to set it up
289 see Documentation/networking/tproxy.txt.
290
291 To compile it as a module, choose M here. If unsure, say N.
292
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200293endif # NF_CONNTRACK
294
Harald Welte2e4e6a12006-01-12 13:30:04 -0800295config NETFILTER_XTABLES
296 tristate "Netfilter Xtables support (required for ip_tables)"
Patrick McHardy33b8e772007-12-17 22:47:05 -0800297 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800298 help
299 This is required if you intend to use any of ip_tables,
300 ip6_tables or arp_tables.
301
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200302if NETFILTER_XTABLES
303
Harald Welte2e4e6a12006-01-12 13:30:04 -0800304# alphabetically ordered list of targets
305
306config NETFILTER_XT_TARGET_CLASSIFY
307 tristate '"CLASSIFY" target support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800308 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800309 help
310 This option adds a `CLASSIFY' target, which enables the user to set
311 the priority of a packet. Some qdiscs can use this value for
312 classification, among these are:
313
314 atm, cbq, dsmark, pfifo_fast, htb, prio
315
316 To compile it as a module, choose M here. If unsure, say N.
317
318config NETFILTER_XT_TARGET_CONNMARK
319 tristate '"CONNMARK" target support'
Patrick McHardy587aa642007-03-14 16:37:25 -0700320 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800321 depends on NETFILTER_ADVANCED
Patrick McHardy587aa642007-03-14 16:37:25 -0700322 select NF_CONNTRACK_MARK
Harald Welte2e4e6a12006-01-12 13:30:04 -0800323 help
324 This option adds a `CONNMARK' target, which allows one to manipulate
325 the connection mark value. Similar to the MARK target, but
326 affects the connection mark value rather than the packet mark value.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800327
Harald Welte2e4e6a12006-01-12 13:30:04 -0800328 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500329 <file:Documentation/kbuild/modules.txt>. The module will be called
330 ipt_CONNMARK.ko. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800331
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200332config NETFILTER_XT_TARGET_CONNSECMARK
333 tristate '"CONNSECMARK" target support'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200334 depends on NF_CONNTRACK && NF_CONNTRACK_SECMARK
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200335 default m if NETFILTER_ADVANCED=n
336 help
337 The CONNSECMARK target copies security markings from packets
338 to connections, and restores security markings from connections
339 to packets (if the packets are not already marked). This would
340 normally be used in conjunction with the SECMARK target.
341
342 To compile it as a module, choose M here. If unsure, say N.
343
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700344config NETFILTER_XT_TARGET_DSCP
Jan Engelhardtc9fd4962007-12-04 23:38:13 -0800345 tristate '"DSCP" and "TOS" target support'
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700346 depends on IP_NF_MANGLE || IP6_NF_MANGLE
Patrick McHardy33b8e772007-12-17 22:47:05 -0800347 depends on NETFILTER_ADVANCED
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700348 help
349 This option adds a `DSCP' target, which allows you to manipulate
350 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
351
352 The DSCP field can have any value between 0x0 and 0x3f inclusive.
353
Jan Engelhardtc9fd4962007-12-04 23:38:13 -0800354 It also adds the "TOS" target, which allows you to create rules in
355 the "mangle" table which alter the Type Of Service field of an IPv4
Jan Engelhardt5c350e52007-12-04 23:39:09 -0800356 or the Priority field of an IPv6 packet, prior to routing.
Jan Engelhardtc9fd4962007-12-04 23:38:13 -0800357
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -0700358 To compile it as a module, choose M here. If unsure, say N.
359
Harald Welte2e4e6a12006-01-12 13:30:04 -0800360config NETFILTER_XT_TARGET_MARK
361 tristate '"MARK" target support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800362 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800363 help
364 This option adds a `MARK' target, which allows you to create rules
365 in the `mangle' table which alter the netfilter mark (nfmark) field
366 associated with the packet prior to routing. This can change
367 the routing method (see `Use netfilter MARK value as routing
368 key') and can also be used by other subsystems to change their
369 behavior.
370
371 To compile it as a module, choose M here. If unsure, say N.
372
Patrick McHardybaf7b1e2006-11-29 02:35:38 +0100373config NETFILTER_XT_TARGET_NFLOG
374 tristate '"NFLOG" target support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800375 default m if NETFILTER_ADVANCED=n
Patrick McHardybaf7b1e2006-11-29 02:35:38 +0100376 help
377 This option enables the NFLOG target, which allows to LOG
378 messages through the netfilter logging API, which can use
379 either the old LOG target, the old ULOG target or nfnetlink_log
380 as backend.
381
382 To compile it as a module, choose M here. If unsure, say N.
383
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200384config NETFILTER_XT_TARGET_NFQUEUE
385 tristate '"NFQUEUE" target Support'
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200386 depends on NETFILTER_ADVANCED
387 help
388 This target replaced the old obsolete QUEUE target.
389
390 As opposed to QUEUE, it supports 65535 different queues,
391 not just one.
392
393 To compile it as a module, choose M here. If unsure, say N.
394
Harald Welte2e4e6a12006-01-12 13:30:04 -0800395config NETFILTER_XT_TARGET_NOTRACK
396 tristate '"NOTRACK" target support'
Harald Welte2e4e6a12006-01-12 13:30:04 -0800397 depends on IP_NF_RAW || IP6_NF_RAW
Patrick McHardy587aa642007-03-14 16:37:25 -0700398 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800399 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800400 help
401 The NOTRACK target allows a select rule to specify
402 which packets *not* to enter the conntrack/NAT
403 subsystem with all the consequences (no ICMP error tracking,
404 no protocol helpers for the selected packets).
Patrick McHardy33b8e772007-12-17 22:47:05 -0800405
Harald Welte2e4e6a12006-01-12 13:30:04 -0800406 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500407 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800408
Patrick McHardy58590342007-12-04 23:40:05 -0800409config NETFILTER_XT_TARGET_RATEEST
410 tristate '"RATEEST" target support'
Patrick McHardyb26e76b2008-01-14 23:30:56 -0800411 depends on NETFILTER_ADVANCED
Patrick McHardy58590342007-12-04 23:40:05 -0800412 help
413 This option adds a `RATEEST' target, which allows to measure
414 rates similar to TC estimators. The `rateest' match can be
415 used to match on the measured rates.
416
417 To compile it as a module, choose M here. If unsure, say N.
418
KOVACS Krisztiane8439272008-10-08 11:35:12 +0200419config NETFILTER_XT_TARGET_TPROXY
420 tristate '"TPROXY" target support (EXPERIMENTAL)'
421 depends on EXPERIMENTAL
422 depends on NETFILTER_TPROXY
423 depends on NETFILTER_XTABLES
424 depends on NETFILTER_ADVANCED
425 select NF_DEFRAG_IPV4
426 help
427 This option adds a `TPROXY' target, which is somewhat similar to
428 REDIRECT. It can only be used in the mangle table and is useful
429 to redirect traffic to a transparent proxy. It does _not_ depend
430 on Netfilter connection tracking and NAT, unlike REDIRECT.
431
432 To compile it as a module, choose M here. If unsure, say N.
433
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700434config NETFILTER_XT_TARGET_TRACE
435 tristate '"TRACE" target support'
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700436 depends on IP_NF_RAW || IP6_NF_RAW
Patrick McHardy33b8e772007-12-17 22:47:05 -0800437 depends on NETFILTER_ADVANCED
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700438 help
439 The TRACE target allows you to mark packets so that the kernel
440 will log every rule which match the packets as those traverse
441 the tables, chains, rules.
442
443 If you want to compile it as a module, say M here and read
Dirk Hohndele4031492007-10-30 13:37:19 -0700444 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Jozsef Kadlecsikba9dda32007-07-07 22:21:23 -0700445
James Morris5e6874cd2006-06-09 00:30:57 -0700446config NETFILTER_XT_TARGET_SECMARK
447 tristate '"SECMARK" target support'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200448 depends on NETWORK_SECMARK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800449 default m if NETFILTER_ADVANCED=n
James Morris5e6874cd2006-06-09 00:30:57 -0700450 help
451 The SECMARK target allows security marking of network
452 packets, for use with security subsystems.
453
454 To compile it as a module, choose M here. If unsure, say N.
455
Patrick McHardycdd289a2007-02-07 15:09:46 -0800456config NETFILTER_XT_TARGET_TCPMSS
457 tristate '"TCPMSS" target support'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200458 depends on (IPV6 || IPV6=n)
Patrick McHardy33b8e772007-12-17 22:47:05 -0800459 default m if NETFILTER_ADVANCED=n
Patrick McHardycdd289a2007-02-07 15:09:46 -0800460 ---help---
461 This option adds a `TCPMSS' target, which allows you to alter the
462 MSS value of TCP SYN packets, to control the maximum size for that
463 connection (usually limiting it to your outgoing interface's MTU
464 minus 40).
465
466 This is used to overcome criminally braindead ISPs or servers which
467 block ICMP Fragmentation Needed packets. The symptoms of this
468 problem are that everything works fine from your Linux
469 firewall/router, but machines behind it can never exchange large
470 packets:
471 1) Web browsers connect, then hang with no data received.
472 2) Small mail works fine, but large emails hang.
473 3) ssh works fine, but scp hangs after initial handshaking.
474
475 Workaround: activate this option and add a rule to your firewall
476 configuration like:
477
478 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
479 -j TCPMSS --clamp-mss-to-pmtu
480
481 To compile it as a module, choose M here. If unsure, say N.
482
Sven Schnelle338e8a72007-12-04 23:21:50 -0800483config NETFILTER_XT_TARGET_TCPOPTSTRIP
484 tristate '"TCPOPTSTRIP" target support (EXPERIMENTAL)'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200485 depends on EXPERIMENTAL
Sven Schnelle338e8a72007-12-04 23:21:50 -0800486 depends on IP_NF_MANGLE || IP6_NF_MANGLE
Patrick McHardy33b8e772007-12-17 22:47:05 -0800487 depends on NETFILTER_ADVANCED
Sven Schnelle338e8a72007-12-04 23:21:50 -0800488 help
489 This option adds a "TCPOPTSTRIP" target, which allows you to strip
490 TCP options from TCP packets.
491
Harald Welte2e4e6a12006-01-12 13:30:04 -0800492config NETFILTER_XT_MATCH_COMMENT
493 tristate '"comment" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800494 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800495 help
496 This option adds a `comment' dummy-match, which allows you to put
497 comments in your iptables ruleset.
498
499 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500500 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800501
502config NETFILTER_XT_MATCH_CONNBYTES
503 tristate '"connbytes" per-connection counter match support'
Patrick McHardy587aa642007-03-14 16:37:25 -0700504 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800505 depends on NETFILTER_ADVANCED
Patrick McHardy587aa642007-03-14 16:37:25 -0700506 select NF_CT_ACCT
Harald Welte2e4e6a12006-01-12 13:30:04 -0800507 help
508 This option adds a `connbytes' match, which allows you to match the
509 number of bytes and/or packets for each direction within a connection.
510
511 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500512 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800513
Jan Engelhardt370786f2007-07-14 20:47:26 -0700514config NETFILTER_XT_MATCH_CONNLIMIT
515 tristate '"connlimit" match support"'
Cornelia Huck3fd8f9e2007-07-18 02:38:32 -0700516 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800517 depends on NETFILTER_ADVANCED
Jan Engelhardt370786f2007-07-14 20:47:26 -0700518 ---help---
519 This match allows you to match against the number of parallel
520 connections to a server per client IP address (or address block).
521
Harald Welte2e4e6a12006-01-12 13:30:04 -0800522config NETFILTER_XT_MATCH_CONNMARK
523 tristate '"connmark" connection mark match support'
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_CONNTRACK_MARK
Harald Welte2e4e6a12006-01-12 13:30:04 -0800527 help
528 This option adds a `connmark' match, which allows you to match the
529 connection mark value previously set for the session by `CONNMARK'.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800530
Harald Welte2e4e6a12006-01-12 13:30:04 -0800531 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>. The module will be called
533 ipt_connmark.ko. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800534
535config NETFILTER_XT_MATCH_CONNTRACK
536 tristate '"conntrack" connection tracking match support'
Patrick McHardy587aa642007-03-14 16:37:25 -0700537 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800538 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800539 help
540 This is a general conntrack match module, a superset of the state match.
541
542 It allows matching on additional conntrack information, which is
543 useful in complex configurations, such as NAT gateways with multiple
544 internet links or tunnels.
545
546 To compile it as a module, choose M here. If unsure, say N.
547
548config NETFILTER_XT_MATCH_DCCP
Jan Engelhardt4c377992007-12-04 23:31:59 -0800549 tristate '"dccp" protocol match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800550 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700551 default IP_DCCP
Harald Welte2e4e6a12006-01-12 13:30:04 -0800552 help
553 With this option enabled, you will be able to use the iptables
554 `dccp' match in order to match on DCCP source/destination ports
555 and DCCP flags.
556
557 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500558 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800559
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700560config NETFILTER_XT_MATCH_DSCP
Jan Engelhardtc3b33e62007-12-04 23:37:54 -0800561 tristate '"dscp" and "tos" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800562 depends on NETFILTER_ADVANCED
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700563 help
564 This option adds a `DSCP' match, which allows you to match against
565 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
566
567 The DSCP field can have any value between 0x0 and 0x3f inclusive.
568
Jan Engelhardtc3b33e62007-12-04 23:37:54 -0800569 It will also add a "tos" match, which allows you to match packets
570 based on the Type Of Service fields of the IPv4 packet (which share
571 the same bits as DSCP).
572
Yasuyuki Kozakai9ba16272006-08-22 00:29:37 -0700573 To compile it as a module, choose M here. If unsure, say N.
574
Yasuyuki Kozakaidc5ab2f2006-04-01 02:22:30 -0800575config NETFILTER_XT_MATCH_ESP
Jan Engelhardt4c377992007-12-04 23:31:59 -0800576 tristate '"esp" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800577 depends on NETFILTER_ADVANCED
Yasuyuki Kozakaidc5ab2f2006-04-01 02:22:30 -0800578 help
579 This match extension allows you to match a range of SPIs
580 inside ESP header of IPSec packets.
581
582 To compile it as a module, choose M here. If unsure, say N.
583
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200584config NETFILTER_XT_MATCH_HASHLIMIT
585 tristate '"hashlimit" match support'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200586 depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200587 depends on NETFILTER_ADVANCED
588 help
589 This option adds a `hashlimit' match.
590
591 As opposed to `limit', this match dynamically creates a hash table
592 of limit buckets, based on your selection of source/destination
593 addresses and/or ports.
594
595 It enables you to express policies like `10kpps for any given
596 destination address' or `500pps from any given source address'
597 with a single rule.
598
Harald Welte2e4e6a12006-01-12 13:30:04 -0800599config NETFILTER_XT_MATCH_HELPER
600 tristate '"helper" match support'
Patrick McHardy587aa642007-03-14 16:37:25 -0700601 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800602 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800603 help
604 Helper matching allows you to match packets in dynamic connections
605 tracked by a conntrack-helper, ie. ip_conntrack_ftp
606
607 To compile it as a module, choose M here. If unsure, say Y.
608
Jan Engelhardtf72e25a2008-01-14 23:42:47 -0800609config NETFILTER_XT_MATCH_IPRANGE
610 tristate '"iprange" address range match support'
Jan Engelhardtf72e25a2008-01-14 23:42:47 -0800611 depends on NETFILTER_ADVANCED
612 ---help---
613 This option adds a "iprange" match, which allows you to match based on
614 an IP address range. (Normal iptables only matches on single addresses
615 with an optional mask.)
616
617 If unsure, say M.
618
Harald Welte2e4e6a12006-01-12 13:30:04 -0800619config NETFILTER_XT_MATCH_LENGTH
620 tristate '"length" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800621 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800622 help
623 This option allows you to match the length of a packet against a
624 specific value or range of values.
625
626 To compile it as a module, choose M here. If unsure, say N.
627
628config NETFILTER_XT_MATCH_LIMIT
629 tristate '"limit" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800630 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800631 help
632 limit matching allows you to control the rate at which a rule can be
633 matched: mainly useful in combination with the LOG target ("LOG
634 target support", below) and to avoid some Denial of Service attacks.
635
636 To compile it as a module, choose M here. If unsure, say N.
637
638config NETFILTER_XT_MATCH_MAC
639 tristate '"mac" address match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800640 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800641 help
642 MAC matching allows you to match packets based on the source
643 Ethernet address of the packet.
644
645 To compile it as a module, choose M here. If unsure, say N.
646
647config NETFILTER_XT_MATCH_MARK
648 tristate '"mark" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800649 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800650 help
651 Netfilter mark matching allows you to match packets based on the
652 `nfmark' value in the packet. This can be set by the MARK target
653 (see below).
654
655 To compile it as a module, choose M here. If unsure, say N.
656
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200657config NETFILTER_XT_MATCH_MULTIPORT
658 tristate '"multiport" Multiple port match support'
Jan Engelhardtaba0d342008-10-08 11:35:17 +0200659 depends on NETFILTER_ADVANCED
660 help
661 Multiport matching allows you to match TCP or UDP packets based on
662 a series of source or destination ports: normally a rule can only
663 match a single range of ports.
664
665 To compile it as a module, choose M here. If unsure, say N.
666
Jan Engelhardt0265ab42007-12-04 23:27:38 -0800667config NETFILTER_XT_MATCH_OWNER
668 tristate '"owner" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800669 depends on NETFILTER_ADVANCED
Jan Engelhardt0265ab42007-12-04 23:27:38 -0800670 ---help---
671 Socket owner matching allows you to match locally-generated packets
672 based on who created the socket: the user or group. It is also
673 possible to check whether a socket actually exists.
674
Patrick McHardyc4b88512006-03-20 18:03:40 -0800675config NETFILTER_XT_MATCH_POLICY
676 tristate 'IPsec "policy" match support'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200677 depends on XFRM
Patrick McHardy33b8e772007-12-17 22:47:05 -0800678 default m if NETFILTER_ADVANCED=n
Patrick McHardyc4b88512006-03-20 18:03:40 -0800679 help
680 Policy matching allows you to match packets based on the
681 IPsec policy that was used during decapsulation/will
682 be used during encapsulation.
683
684 To compile it as a module, choose M here. If unsure, say N.
685
Harald Welte2e4e6a12006-01-12 13:30:04 -0800686config NETFILTER_XT_MATCH_PHYSDEV
687 tristate '"physdev" match support'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200688 depends on BRIDGE && BRIDGE_NETFILTER
Patrick McHardy33b8e772007-12-17 22:47:05 -0800689 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800690 help
691 Physdev packet matching matches against the physical bridge ports
692 the IP packet arrived on or will leave by.
693
694 To compile it as a module, choose M here. If unsure, say N.
695
696config NETFILTER_XT_MATCH_PKTTYPE
697 tristate '"pkttype" packet type match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800698 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800699 help
700 Packet type matching allows you to match a packet by
701 its "class", eg. BROADCAST, MULTICAST, ...
702
703 Typical usage:
704 iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
705
706 To compile it as a module, choose M here. If unsure, say N.
707
Patrick McHardy62b77432006-05-29 18:20:32 -0700708config NETFILTER_XT_MATCH_QUOTA
709 tristate '"quota" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800710 depends on NETFILTER_ADVANCED
Patrick McHardy62b77432006-05-29 18:20:32 -0700711 help
712 This option adds a `quota' match, which allows to match on a
713 byte counter.
714
715 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500716 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Patrick McHardy62b77432006-05-29 18:20:32 -0700717
Patrick McHardy50c164a2007-12-04 13:02:19 +0100718config NETFILTER_XT_MATCH_RATEEST
719 tristate '"rateest" match support'
Patrick McHardyb26e76b2008-01-14 23:30:56 -0800720 depends on NETFILTER_ADVANCED
Patrick McHardy50c164a2007-12-04 13:02:19 +0100721 select NETFILTER_XT_TARGET_RATEEST
722 help
723 This option adds a `rateest' match, which allows to match on the
724 rate estimated by the RATEEST target.
725
726 To compile it as a module, choose M here. If unsure, say N.
727
Harald Welte2e4e6a12006-01-12 13:30:04 -0800728config NETFILTER_XT_MATCH_REALM
729 tristate '"realm" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800730 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800731 select NET_CLS_ROUTE
732 help
733 This option adds a `realm' match, which allows you to use the realm
734 key from the routing subsystem inside iptables.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800735
Harald Welte2e4e6a12006-01-12 13:30:04 -0800736 This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
737 in tc world.
Patrick McHardy33b8e772007-12-17 22:47:05 -0800738
Harald Welte2e4e6a12006-01-12 13:30:04 -0800739 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500740 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800741
Jan Engelhardte948b202008-10-08 11:35:00 +0200742config NETFILTER_XT_MATCH_RECENT
743 tristate '"recent" match support'
Jan Engelhardte948b202008-10-08 11:35:00 +0200744 depends on NETFILTER_ADVANCED
745 ---help---
746 This match is used for creating one or many lists of recently
747 used addresses and then matching against that/those list(s).
748
749 Short options are available by using 'iptables -m recent -h'
750 Official Website: <http://snowman.net/projects/ipt_recent/>
751
Jan Engelhardt079aa882008-10-08 11:35:00 +0200752config NETFILTER_XT_MATCH_RECENT_PROC_COMPAT
753 bool 'Enable obsolete /proc/net/ipt_recent'
754 depends on NETFILTER_XT_MATCH_RECENT && PROC_FS
755 ---help---
756 This option enables the old /proc/net/ipt_recent interface,
757 which has been obsoleted by /proc/net/xt_recent.
758
Harald Welte2e4e6a12006-01-12 13:30:04 -0800759config NETFILTER_XT_MATCH_SCTP
Patrick McHardyd5af9812006-07-24 22:55:29 -0700760 tristate '"sctp" protocol match support (EXPERIMENTAL)'
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200761 depends on EXPERIMENTAL
Patrick McHardy33b8e772007-12-17 22:47:05 -0800762 depends on NETFILTER_ADVANCED
Patrick McHardyf3261af2008-05-08 01:16:04 -0700763 default IP_SCTP
Harald Welte2e4e6a12006-01-12 13:30:04 -0800764 help
765 With this option enabled, you will be able to use the
766 `sctp' match in order to match on SCTP source/destination ports
767 and SCTP chunk types.
768
769 If you want to compile it as a module, say M here and read
Alexander E. Patrakov39f5fb32007-03-16 18:28:43 +0500770 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
Harald Welte2e4e6a12006-01-12 13:30:04 -0800771
KOVACS Krisztian136cdc72008-10-08 11:35:12 +0200772config NETFILTER_XT_MATCH_SOCKET
773 tristate '"socket" match support (EXPERIMENTAL)'
774 depends on EXPERIMENTAL
775 depends on NETFILTER_TPROXY
776 depends on NETFILTER_XTABLES
777 depends on NETFILTER_ADVANCED
778 select NF_DEFRAG_IPV4
779 help
780 This option adds a `socket' match, which can be used to match
781 packets for which a TCP or UDP socket lookup finds a valid socket.
782 It can be used in combination with the MARK target and policy
783 routing to implement full featured non-locally bound sockets.
784
785 To compile it as a module, choose M here. If unsure, say N.
786
Harald Welte2e4e6a12006-01-12 13:30:04 -0800787config NETFILTER_XT_MATCH_STATE
788 tristate '"state" match support'
Patrick McHardy587aa642007-03-14 16:37:25 -0700789 depends on NF_CONNTRACK
Patrick McHardy33b8e772007-12-17 22:47:05 -0800790 default m if NETFILTER_ADVANCED=n
Harald Welte2e4e6a12006-01-12 13:30:04 -0800791 help
792 Connection state matching allows you to match packets based on their
793 relationship to a tracked connection (ie. previous packets). This
794 is a powerful tool for packet classification.
795
796 To compile it as a module, choose M here. If unsure, say N.
797
Patrick McHardyf3389802006-05-29 18:21:00 -0700798config NETFILTER_XT_MATCH_STATISTIC
799 tristate '"statistic" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800800 depends on NETFILTER_ADVANCED
Patrick McHardyf3389802006-05-29 18:21:00 -0700801 help
Patrick McHardy68c16922006-06-27 03:02:14 -0700802 This option adds a `statistic' match, which allows you to match
803 on packets periodically or randomly with a given percentage.
804
805 To compile it as a module, choose M here. If unsure, say N.
Patrick McHardyf3389802006-05-29 18:21:00 -0700806
Harald Welte2e4e6a12006-01-12 13:30:04 -0800807config NETFILTER_XT_MATCH_STRING
808 tristate '"string" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800809 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800810 select TEXTSEARCH
811 select TEXTSEARCH_KMP
812 select TEXTSEARCH_BM
813 select TEXTSEARCH_FSM
814 help
815 This option adds a `string' match, which allows you to look for
816 pattern matchings in packets.
817
818 To compile it as a module, choose M here. If unsure, say N.
819
820config NETFILTER_XT_MATCH_TCPMSS
821 tristate '"tcpmss" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800822 depends on NETFILTER_ADVANCED
Harald Welte2e4e6a12006-01-12 13:30:04 -0800823 help
824 This option adds a `tcpmss' match, which allows you to examine the
825 MSS value of TCP SYN packets, which control the maximum packet size
826 for that connection.
827
828 To compile it as a module, choose M here. If unsure, say N.
829
Jan Engelhardtee4411a2007-09-28 14:46:43 -0700830config NETFILTER_XT_MATCH_TIME
831 tristate '"time" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800832 depends on NETFILTER_ADVANCED
Jan Engelhardtee4411a2007-09-28 14:46:43 -0700833 ---help---
834 This option adds a "time" match, which allows you to match based on
835 the packet arrival time (at the machine which netfilter is running)
836 on) or departure time/date (for locally generated packets).
837
838 If you say Y here, try `iptables -m time --help` for
839 more information.
840
841 If you want to compile it as a module, say M here.
842 If unsure, say N.
843
Jan Engelhardt1b50b8a2007-07-07 22:20:36 -0700844config NETFILTER_XT_MATCH_U32
845 tristate '"u32" match support'
Patrick McHardy33b8e772007-12-17 22:47:05 -0800846 depends on NETFILTER_ADVANCED
Jan Engelhardt1b50b8a2007-07-07 22:20:36 -0700847 ---help---
848 u32 allows you to extract quantities of up to 4 bytes from a packet,
849 AND them with specified masks, shift them by specified amounts and
850 test whether the results are in any of a set of specified ranges.
851 The specification of what to extract is general enough to skip over
852 headers with lengths stored in the packet, as in IP or TCP header
853 lengths.
854
855 Details and examples are in the kernel module source.
856
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200857endif # NETFILTER_XTABLES
Harald Weltea6c1cd572006-02-13 15:42:48 -0800858
Jan Engelhardtc2df73d2008-10-08 11:35:18 +0200859endmenu
Harald Weltef9e815b2005-08-09 19:30:24 -0700860
Julius Volzcb7f6a72008-09-19 12:32:57 +0200861source "net/netfilter/ipvs/Kconfig"