1 menu "Core Netfilter Configuration"
2 depends on NET && INET && NETFILTER
4 config NETFILTER_NETLINK
7 config NETFILTER_NETLINK_QUEUE
8 tristate "Netfilter NFQUEUE over NFNETLINK interface"
9 depends on NETFILTER_ADVANCED
10 select NETFILTER_NETLINK
12 If this option is enabled, the kernel will include support
13 for queueing packets via NFNETLINK.
15 config NETFILTER_NETLINK_LOG
16 tristate "Netfilter LOG over NFNETLINK interface"
17 default m if NETFILTER_ADVANCED=n
18 select NETFILTER_NETLINK
20 If this option is enabled, the kernel will include support
21 for logging packets via NFNETLINK.
23 This obsoletes the existing ipt_ULOG and ebg_ulog mechanisms,
24 and is also scheduled to replace the old syslog-based ipt_LOG
28 tristate "Netfilter connection tracking support"
29 default m if NETFILTER_ADVANCED=n
31 Connection tracking keeps a record of what packets have passed
32 through your machine, in order to figure out how they are related
35 This is required to do Masquerading or other kinds of Network
36 Address Translation. It can also be used to enhance packet
37 filtering (see `Connection state match support' below).
39 To compile it as a module, choose M here. If unsure, say N.
42 bool "Connection tracking flow accounting"
43 depends on NETFILTER_ADVANCED
44 depends on NF_CONNTRACK
46 If this option is enabled, the connection tracking code will
47 keep per-flow packet and byte counters.
49 Those counters can be used for flow-based accounting or the
52 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.
56 You may also disable/enable it on a running system with:
57 sysctl net.netfilter.nf_conntrack_acct=0/1
59 This option will be removed in 2.6.29.
63 config NF_CONNTRACK_MARK
64 bool 'Connection mark tracking support'
65 depends on NETFILTER_ADVANCED
66 depends on NF_CONNTRACK
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.
73 config NF_CONNTRACK_SECMARK
74 bool 'Connection tracking security mark support'
75 depends on NF_CONNTRACK && NETWORK_SECMARK
76 default m if NETFILTER_ADVANCED=n
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.
86 config NF_CONNTRACK_EVENTS
87 bool "Connection tracking events"
88 depends on NF_CONNTRACK
89 depends on NETFILTER_ADVANCED
91 If this option is enabled, the connection tracking code will
92 provide a notifier chain that can be used by other kernel code
93 to get notified about changes in the connection tracking state.
97 config NF_CT_PROTO_DCCP
98 tristate 'DCCP protocol connection tracking support (EXPERIMENTAL)'
99 depends on EXPERIMENTAL && NF_CONNTRACK
100 depends on NETFILTER_ADVANCED
103 With this option enabled, the layer 3 independent connection
104 tracking code will be able to do state tracking on DCCP connections.
108 config NF_CT_PROTO_GRE
110 depends on NF_CONNTRACK
112 config NF_CT_PROTO_SCTP
113 tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)'
114 depends on EXPERIMENTAL && NF_CONNTRACK
115 depends on NETFILTER_ADVANCED
118 With this option enabled, the layer 3 independent connection
119 tracking code will be able to do state tracking on SCTP connections.
121 If you want to compile it as a module, say M here and read
122 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
124 config NF_CT_PROTO_UDPLITE
125 tristate 'UDP-Lite protocol connection tracking support'
126 depends on NF_CONNTRACK
127 depends on NETFILTER_ADVANCED
129 With this option enabled, the layer 3 independent connection
130 tracking code will be able to do state tracking on UDP-Lite
133 To compile it as a module, choose M here. If unsure, say N.
135 config NF_CONNTRACK_AMANDA
136 tristate "Amanda backup protocol support"
137 depends on NF_CONNTRACK
138 depends on NETFILTER_ADVANCED
140 select TEXTSEARCH_KMP
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
149 To compile it as a module, choose M here. If unsure, say N.
151 config NF_CONNTRACK_FTP
152 tristate "FTP protocol support"
153 depends on NF_CONNTRACK
154 default m if NETFILTER_ADVANCED=n
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.
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.
164 To compile it as a module, choose M here. If unsure, say N.
166 config NF_CONNTRACK_H323
167 tristate "H.323 protocol support"
168 depends on NF_CONNTRACK && (IPV6 || IPV6=n)
169 depends on NETFILTER_ADVANCED
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,
176 With this module you can support H.323 on a connection tracking/NAT
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/.
184 To compile it as a module, choose M here. If unsure, say N.
186 config NF_CONNTRACK_IRC
187 tristate "IRC protocol support"
188 depends on NF_CONNTRACK
189 default m if NETFILTER_ADVANCED=n
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.
200 To compile it as a module, choose M here. If unsure, say N.
202 config NF_CONNTRACK_NETBIOS_NS
203 tristate "NetBIOS name service protocol support"
204 depends on NF_CONNTRACK
205 depends on NETFILTER_ADVANCED
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:
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
220 To compile it as a module, choose M here. If unsure, say N.
222 config NF_CONNTRACK_PPTP
223 tristate "PPtP protocol support"
224 depends on NF_CONNTRACK
225 depends on NETFILTER_ADVANCED
226 select NF_CT_PROTO_GRE
228 This module adds support for PPTP (Point to Point Tunnelling
229 Protocol, RFC2637) connection tracking and NAT.
231 If you are running PPTP sessions over a stateful firewall or NAT
232 box, you may want to enable this feature.
234 Please note that not all PPTP modes of operation are supported yet.
235 Specifically these limitations exist:
236 - Blindly assumes that control connections are always established
237 in PNS->PAC direction. This is a violation of RFC2637.
238 - Only supports a single call within each session
240 To compile it as a module, choose M here. If unsure, say N.
242 config NF_CONNTRACK_SANE
243 tristate "SANE protocol support (EXPERIMENTAL)"
244 depends on EXPERIMENTAL && NF_CONNTRACK
245 depends on NETFILTER_ADVANCED
247 SANE is a protocol for remote access to scanners as implemented
248 by the 'saned' daemon. Like FTP, it uses separate control and
251 With this module you can support SANE on a connection tracking
254 To compile it as a module, choose M here. If unsure, say N.
256 config NF_CONNTRACK_SIP
257 tristate "SIP protocol support"
258 depends on NF_CONNTRACK
259 default m if NETFILTER_ADVANCED=n
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.
267 To compile it as a module, choose M here. If unsure, say N.
269 config NF_CONNTRACK_TFTP
270 tristate "TFTP protocol support"
271 depends on NF_CONNTRACK
272 depends on NETFILTER_ADVANCED
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
279 To compile it as a module, choose M here. If unsure, say N.
282 tristate 'Connection tracking netlink interface'
283 depends on NF_CONNTRACK
284 select NETFILTER_NETLINK
285 depends on NF_NAT=n || NF_NAT
286 default m if NETFILTER_ADVANCED=n
288 This option enables support for a netlink-based userspace interface
290 config NETFILTER_XTABLES
291 tristate "Netfilter Xtables support (required for ip_tables)"
292 default m if NETFILTER_ADVANCED=n
294 This is required if you intend to use any of ip_tables,
295 ip6_tables or arp_tables.
297 # alphabetically ordered list of targets
299 config NETFILTER_XT_TARGET_CLASSIFY
300 tristate '"CLASSIFY" target support'
301 depends on NETFILTER_XTABLES
302 depends on NETFILTER_ADVANCED
304 This option adds a `CLASSIFY' target, which enables the user to set
305 the priority of a packet. Some qdiscs can use this value for
306 classification, among these are:
308 atm, cbq, dsmark, pfifo_fast, htb, prio
310 To compile it as a module, choose M here. If unsure, say N.
312 config NETFILTER_XT_TARGET_CONNMARK
313 tristate '"CONNMARK" target support'
314 depends on NETFILTER_XTABLES
315 depends on IP_NF_MANGLE || IP6_NF_MANGLE
316 depends on NF_CONNTRACK
317 depends on NETFILTER_ADVANCED
318 select NF_CONNTRACK_MARK
320 This option adds a `CONNMARK' target, which allows one to manipulate
321 the connection mark value. Similar to the MARK target, but
322 affects the connection mark value rather than the packet mark value.
324 If you want to compile it as a module, say M here and read
325 <file:Documentation/kbuild/modules.txt>. The module will be called
326 ipt_CONNMARK.ko. If unsure, say `N'.
328 config NETFILTER_XT_TARGET_DSCP
329 tristate '"DSCP" and "TOS" target support'
330 depends on NETFILTER_XTABLES
331 depends on IP_NF_MANGLE || IP6_NF_MANGLE
332 depends on NETFILTER_ADVANCED
334 This option adds a `DSCP' target, which allows you to manipulate
335 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
337 The DSCP field can have any value between 0x0 and 0x3f inclusive.
339 It also adds the "TOS" target, which allows you to create rules in
340 the "mangle" table which alter the Type Of Service field of an IPv4
341 or the Priority field of an IPv6 packet, prior to routing.
343 To compile it as a module, choose M here. If unsure, say N.
345 config NETFILTER_XT_TARGET_MARK
346 tristate '"MARK" target support'
347 depends on NETFILTER_XTABLES
348 default m if NETFILTER_ADVANCED=n
350 This option adds a `MARK' target, which allows you to create rules
351 in the `mangle' table which alter the netfilter mark (nfmark) field
352 associated with the packet prior to routing. This can change
353 the routing method (see `Use netfilter MARK value as routing
354 key') and can also be used by other subsystems to change their
357 To compile it as a module, choose M here. If unsure, say N.
359 config NETFILTER_XT_TARGET_NFQUEUE
360 tristate '"NFQUEUE" target Support'
361 depends on NETFILTER_XTABLES
362 depends on NETFILTER_ADVANCED
364 This target replaced the old obsolete QUEUE target.
366 As opposed to QUEUE, it supports 65535 different queues,
369 To compile it as a module, choose M here. If unsure, say N.
371 config NETFILTER_XT_TARGET_NFLOG
372 tristate '"NFLOG" target support'
373 depends on NETFILTER_XTABLES
374 default m if NETFILTER_ADVANCED=n
376 This option enables the NFLOG target, which allows to LOG
377 messages through the netfilter logging API, which can use
378 either the old LOG target, the old ULOG target or nfnetlink_log
381 To compile it as a module, choose M here. If unsure, say N.
383 config NETFILTER_XT_TARGET_NOTRACK
384 tristate '"NOTRACK" target support'
385 depends on NETFILTER_XTABLES
386 depends on IP_NF_RAW || IP6_NF_RAW
387 depends on NF_CONNTRACK
388 depends on NETFILTER_ADVANCED
390 The NOTRACK target allows a select rule to specify
391 which packets *not* to enter the conntrack/NAT
392 subsystem with all the consequences (no ICMP error tracking,
393 no protocol helpers for the selected packets).
395 If you want to compile it as a module, say M here and read
396 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
398 config NETFILTER_XT_TARGET_RATEEST
399 tristate '"RATEEST" target support'
400 depends on NETFILTER_XTABLES
401 depends on NETFILTER_ADVANCED
403 This option adds a `RATEEST' target, which allows to measure
404 rates similar to TC estimators. The `rateest' match can be
405 used to match on the measured rates.
407 To compile it as a module, choose M here. If unsure, say N.
409 config NETFILTER_XT_TARGET_TRACE
410 tristate '"TRACE" target support'
411 depends on NETFILTER_XTABLES
412 depends on IP_NF_RAW || IP6_NF_RAW
413 depends on NETFILTER_ADVANCED
415 The TRACE target allows you to mark packets so that the kernel
416 will log every rule which match the packets as those traverse
417 the tables, chains, rules.
419 If you want to compile it as a module, say M here and read
420 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
422 config NETFILTER_XT_TARGET_SECMARK
423 tristate '"SECMARK" target support'
424 depends on NETFILTER_XTABLES && NETWORK_SECMARK
425 default m if NETFILTER_ADVANCED=n
427 The SECMARK target allows security marking of network
428 packets, for use with security subsystems.
430 To compile it as a module, choose M here. If unsure, say N.
432 config NETFILTER_XT_TARGET_CONNSECMARK
433 tristate '"CONNSECMARK" target support'
434 depends on NETFILTER_XTABLES && NF_CONNTRACK && NF_CONNTRACK_SECMARK
435 default m if NETFILTER_ADVANCED=n
437 The CONNSECMARK target copies security markings from packets
438 to connections, and restores security markings from connections
439 to packets (if the packets are not already marked). This would
440 normally be used in conjunction with the SECMARK target.
442 To compile it as a module, choose M here. If unsure, say N.
444 config NETFILTER_XT_TARGET_TCPMSS
445 tristate '"TCPMSS" target support'
446 depends on NETFILTER_XTABLES && (IPV6 || IPV6=n)
447 default m if NETFILTER_ADVANCED=n
449 This option adds a `TCPMSS' target, which allows you to alter the
450 MSS value of TCP SYN packets, to control the maximum size for that
451 connection (usually limiting it to your outgoing interface's MTU
454 This is used to overcome criminally braindead ISPs or servers which
455 block ICMP Fragmentation Needed packets. The symptoms of this
456 problem are that everything works fine from your Linux
457 firewall/router, but machines behind it can never exchange large
459 1) Web browsers connect, then hang with no data received.
460 2) Small mail works fine, but large emails hang.
461 3) ssh works fine, but scp hangs after initial handshaking.
463 Workaround: activate this option and add a rule to your firewall
466 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
467 -j TCPMSS --clamp-mss-to-pmtu
469 To compile it as a module, choose M here. If unsure, say N.
471 config NETFILTER_XT_TARGET_TCPOPTSTRIP
472 tristate '"TCPOPTSTRIP" target support (EXPERIMENTAL)'
473 depends on EXPERIMENTAL && NETFILTER_XTABLES
474 depends on IP_NF_MANGLE || IP6_NF_MANGLE
475 depends on NETFILTER_ADVANCED
477 This option adds a "TCPOPTSTRIP" target, which allows you to strip
478 TCP options from TCP packets.
480 config NETFILTER_XT_MATCH_COMMENT
481 tristate '"comment" match support'
482 depends on NETFILTER_XTABLES
483 depends on NETFILTER_ADVANCED
485 This option adds a `comment' dummy-match, which allows you to put
486 comments in your iptables ruleset.
488 If you want to compile it as a module, say M here and read
489 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
491 config NETFILTER_XT_MATCH_CONNBYTES
492 tristate '"connbytes" per-connection counter match support'
493 depends on NETFILTER_XTABLES
494 depends on NF_CONNTRACK
495 depends on NETFILTER_ADVANCED
498 This option adds a `connbytes' match, which allows you to match the
499 number of bytes and/or packets for each direction within a connection.
501 If you want to compile it as a module, say M here and read
502 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
504 config NETFILTER_XT_MATCH_CONNLIMIT
505 tristate '"connlimit" match support"'
506 depends on NETFILTER_XTABLES
507 depends on NF_CONNTRACK
508 depends on NETFILTER_ADVANCED
510 This match allows you to match against the number of parallel
511 connections to a server per client IP address (or address block).
513 config NETFILTER_XT_MATCH_CONNMARK
514 tristate '"connmark" connection mark match support'
515 depends on NETFILTER_XTABLES
516 depends on NF_CONNTRACK
517 depends on NETFILTER_ADVANCED
518 select NF_CONNTRACK_MARK
520 This option adds a `connmark' match, which allows you to match the
521 connection mark value previously set for the session by `CONNMARK'.
523 If you want to compile it as a module, say M here and read
524 <file:Documentation/kbuild/modules.txt>. The module will be called
525 ipt_connmark.ko. If unsure, say `N'.
527 config NETFILTER_XT_MATCH_CONNTRACK
528 tristate '"conntrack" connection tracking match support'
529 depends on NETFILTER_XTABLES
530 depends on NF_CONNTRACK
531 default m if NETFILTER_ADVANCED=n
533 This is a general conntrack match module, a superset of the state match.
535 It allows matching on additional conntrack information, which is
536 useful in complex configurations, such as NAT gateways with multiple
537 internet links or tunnels.
539 To compile it as a module, choose M here. If unsure, say N.
541 config NETFILTER_XT_MATCH_DCCP
542 tristate '"dccp" protocol match support'
543 depends on NETFILTER_XTABLES
544 depends on NETFILTER_ADVANCED
547 With this option enabled, you will be able to use the iptables
548 `dccp' match in order to match on DCCP source/destination ports
551 If you want to compile it as a module, say M here and read
552 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
554 config NETFILTER_XT_MATCH_DSCP
555 tristate '"dscp" and "tos" match support'
556 depends on NETFILTER_XTABLES
557 depends on NETFILTER_ADVANCED
559 This option adds a `DSCP' match, which allows you to match against
560 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
562 The DSCP field can have any value between 0x0 and 0x3f inclusive.
564 It will also add a "tos" match, which allows you to match packets
565 based on the Type Of Service fields of the IPv4 packet (which share
566 the same bits as DSCP).
568 To compile it as a module, choose M here. If unsure, say N.
570 config NETFILTER_XT_MATCH_ESP
571 tristate '"esp" match support'
572 depends on NETFILTER_XTABLES
573 depends on NETFILTER_ADVANCED
575 This match extension allows you to match a range of SPIs
576 inside ESP header of IPSec packets.
578 To compile it as a module, choose M here. If unsure, say N.
580 config NETFILTER_XT_MATCH_HELPER
581 tristate '"helper" match support'
582 depends on NETFILTER_XTABLES
583 depends on NF_CONNTRACK
584 depends on NETFILTER_ADVANCED
586 Helper matching allows you to match packets in dynamic connections
587 tracked by a conntrack-helper, ie. ip_conntrack_ftp
589 To compile it as a module, choose M here. If unsure, say Y.
591 config NETFILTER_XT_MATCH_IPRANGE
592 tristate '"iprange" address range match support'
593 depends on NETFILTER_XTABLES
594 depends on NETFILTER_ADVANCED
596 This option adds a "iprange" match, which allows you to match based on
597 an IP address range. (Normal iptables only matches on single addresses
598 with an optional mask.)
602 config NETFILTER_XT_MATCH_LENGTH
603 tristate '"length" match support'
604 depends on NETFILTER_XTABLES
605 depends on NETFILTER_ADVANCED
607 This option allows you to match the length of a packet against a
608 specific value or range of values.
610 To compile it as a module, choose M here. If unsure, say N.
612 config NETFILTER_XT_MATCH_LIMIT
613 tristate '"limit" match support'
614 depends on NETFILTER_XTABLES
615 depends on NETFILTER_ADVANCED
617 limit matching allows you to control the rate at which a rule can be
618 matched: mainly useful in combination with the LOG target ("LOG
619 target support", below) and to avoid some Denial of Service attacks.
621 To compile it as a module, choose M here. If unsure, say N.
623 config NETFILTER_XT_MATCH_MAC
624 tristate '"mac" address match support'
625 depends on NETFILTER_XTABLES
626 depends on NETFILTER_ADVANCED
628 MAC matching allows you to match packets based on the source
629 Ethernet address of the packet.
631 To compile it as a module, choose M here. If unsure, say N.
633 config NETFILTER_XT_MATCH_MARK
634 tristate '"mark" match support'
635 depends on NETFILTER_XTABLES
636 default m if NETFILTER_ADVANCED=n
638 Netfilter mark matching allows you to match packets based on the
639 `nfmark' value in the packet. This can be set by the MARK target
642 To compile it as a module, choose M here. If unsure, say N.
644 config NETFILTER_XT_MATCH_OWNER
645 tristate '"owner" match support'
646 depends on NETFILTER_XTABLES
647 depends on NETFILTER_ADVANCED
649 Socket owner matching allows you to match locally-generated packets
650 based on who created the socket: the user or group. It is also
651 possible to check whether a socket actually exists.
653 config NETFILTER_XT_MATCH_POLICY
654 tristate 'IPsec "policy" match support'
655 depends on NETFILTER_XTABLES && XFRM
656 default m if NETFILTER_ADVANCED=n
658 Policy matching allows you to match packets based on the
659 IPsec policy that was used during decapsulation/will
660 be used during encapsulation.
662 To compile it as a module, choose M here. If unsure, say N.
664 config NETFILTER_XT_MATCH_MULTIPORT
665 tristate '"multiport" Multiple port match support'
666 depends on NETFILTER_XTABLES
667 depends on NETFILTER_ADVANCED
669 Multiport matching allows you to match TCP or UDP packets based on
670 a series of source or destination ports: normally a rule can only
671 match a single range of ports.
673 To compile it as a module, choose M here. If unsure, say N.
675 config NETFILTER_XT_MATCH_PHYSDEV
676 tristate '"physdev" match support'
677 depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
678 depends on NETFILTER_ADVANCED
680 Physdev packet matching matches against the physical bridge ports
681 the IP packet arrived on or will leave by.
683 To compile it as a module, choose M here. If unsure, say N.
685 config NETFILTER_XT_MATCH_PKTTYPE
686 tristate '"pkttype" packet type match support'
687 depends on NETFILTER_XTABLES
688 depends on NETFILTER_ADVANCED
690 Packet type matching allows you to match a packet by
691 its "class", eg. BROADCAST, MULTICAST, ...
694 iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
696 To compile it as a module, choose M here. If unsure, say N.
698 config NETFILTER_XT_MATCH_QUOTA
699 tristate '"quota" match support'
700 depends on NETFILTER_XTABLES
701 depends on NETFILTER_ADVANCED
703 This option adds a `quota' match, which allows to match on a
706 If you want to compile it as a module, say M here and read
707 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
709 config NETFILTER_XT_MATCH_RATEEST
710 tristate '"rateest" match support'
711 depends on NETFILTER_XTABLES
712 depends on NETFILTER_ADVANCED
713 select NETFILTER_XT_TARGET_RATEEST
715 This option adds a `rateest' match, which allows to match on the
716 rate estimated by the RATEEST target.
718 To compile it as a module, choose M here. If unsure, say N.
720 config NETFILTER_XT_MATCH_REALM
721 tristate '"realm" match support'
722 depends on NETFILTER_XTABLES
723 depends on NETFILTER_ADVANCED
726 This option adds a `realm' match, which allows you to use the realm
727 key from the routing subsystem inside iptables.
729 This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
732 If you want to compile it as a module, say M here and read
733 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
735 config NETFILTER_XT_MATCH_RECENT
736 tristate '"recent" match support'
737 depends on NETFILTER_XTABLES
738 depends on NETFILTER_ADVANCED
740 This match is used for creating one or many lists of recently
741 used addresses and then matching against that/those list(s).
743 Short options are available by using 'iptables -m recent -h'
744 Official Website: <http://snowman.net/projects/ipt_recent/>
746 config NETFILTER_XT_MATCH_RECENT_PROC_COMPAT
747 bool 'Enable obsolete /proc/net/ipt_recent'
748 depends on NETFILTER_XT_MATCH_RECENT && PROC_FS
750 This option enables the old /proc/net/ipt_recent interface,
751 which has been obsoleted by /proc/net/xt_recent.
753 config NETFILTER_XT_MATCH_SCTP
754 tristate '"sctp" protocol match support (EXPERIMENTAL)'
755 depends on NETFILTER_XTABLES && EXPERIMENTAL
756 depends on NETFILTER_ADVANCED
759 With this option enabled, you will be able to use the
760 `sctp' match in order to match on SCTP source/destination ports
761 and SCTP chunk types.
763 If you want to compile it as a module, say M here and read
764 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
766 config NETFILTER_XT_MATCH_STATE
767 tristate '"state" match support'
768 depends on NETFILTER_XTABLES
769 depends on NF_CONNTRACK
770 default m if NETFILTER_ADVANCED=n
772 Connection state matching allows you to match packets based on their
773 relationship to a tracked connection (ie. previous packets). This
774 is a powerful tool for packet classification.
776 To compile it as a module, choose M here. If unsure, say N.
778 config NETFILTER_XT_MATCH_STATISTIC
779 tristate '"statistic" match support'
780 depends on NETFILTER_XTABLES
781 depends on NETFILTER_ADVANCED
783 This option adds a `statistic' match, which allows you to match
784 on packets periodically or randomly with a given percentage.
786 To compile it as a module, choose M here. If unsure, say N.
788 config NETFILTER_XT_MATCH_STRING
789 tristate '"string" match support'
790 depends on NETFILTER_XTABLES
791 depends on NETFILTER_ADVANCED
793 select TEXTSEARCH_KMP
795 select TEXTSEARCH_FSM
797 This option adds a `string' match, which allows you to look for
798 pattern matchings in packets.
800 To compile it as a module, choose M here. If unsure, say N.
802 config NETFILTER_XT_MATCH_TCPMSS
803 tristate '"tcpmss" match support'
804 depends on NETFILTER_XTABLES
805 depends on NETFILTER_ADVANCED
807 This option adds a `tcpmss' match, which allows you to examine the
808 MSS value of TCP SYN packets, which control the maximum packet size
811 To compile it as a module, choose M here. If unsure, say N.
813 config NETFILTER_XT_MATCH_TIME
814 tristate '"time" match support'
815 depends on NETFILTER_XTABLES
816 depends on NETFILTER_ADVANCED
818 This option adds a "time" match, which allows you to match based on
819 the packet arrival time (at the machine which netfilter is running)
820 on) or departure time/date (for locally generated packets).
822 If you say Y here, try `iptables -m time --help` for
825 If you want to compile it as a module, say M here.
828 config NETFILTER_XT_MATCH_U32
829 tristate '"u32" match support'
830 depends on NETFILTER_XTABLES
831 depends on NETFILTER_ADVANCED
833 u32 allows you to extract quantities of up to 4 bytes from a packet,
834 AND them with specified masks, shift them by specified amounts and
835 test whether the results are in any of a set of specified ranges.
836 The specification of what to extract is general enough to skip over
837 headers with lengths stored in the packet, as in IP or TCP header
840 Details and examples are in the kernel module source.
842 config NETFILTER_XT_MATCH_HASHLIMIT
843 tristate '"hashlimit" match support'
844 depends on NETFILTER_XTABLES && (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
845 depends on NETFILTER_ADVANCED
847 This option adds a `hashlimit' match.
849 As opposed to `limit', this match dynamically creates a hash table
850 of limit buckets, based on your selection of source/destination
851 addresses and/or ports.
853 It enables you to express policies like `10kpps for any given
854 destination address' or `500pps from any given source address'