1menu "Core Netfilter Configuration" 2 depends on NET && INET && NETFILTER 3 4config NETFILTER_INGRESS 5 bool "Netfilter ingress support" 6 default y 7 select NET_INGRESS 8 help 9 This allows you to classify packets from ingress using the Netfilter 10 infrastructure. 11 12config NETFILTER_NETLINK 13 tristate 14 15config NETFILTER_FAMILY_BRIDGE 16 bool 17 18config NETFILTER_FAMILY_ARP 19 bool 20 21config NETFILTER_NETLINK_ACCT 22tristate "Netfilter NFACCT over NFNETLINK interface" 23 depends on NETFILTER_ADVANCED 24 select NETFILTER_NETLINK 25 help 26 If this option is enabled, the kernel will include support 27 for extended accounting via NFNETLINK. 28 29config NETFILTER_NETLINK_QUEUE 30 tristate "Netfilter NFQUEUE over NFNETLINK interface" 31 depends on NETFILTER_ADVANCED 32 select NETFILTER_NETLINK 33 help 34 If this option is enabled, the kernel will include support 35 for queueing packets via NFNETLINK. 36 37config NETFILTER_NETLINK_LOG 38 tristate "Netfilter LOG over NFNETLINK interface" 39 default m if NETFILTER_ADVANCED=n 40 select NETFILTER_NETLINK 41 help 42 If this option is enabled, the kernel will include support 43 for logging packets via NFNETLINK. 44 45 This obsoletes the existing ipt_ULOG and ebg_ulog mechanisms, 46 and is also scheduled to replace the old syslog-based ipt_LOG 47 and ip6t_LOG modules. 48 49config NF_CONNTRACK 50 tristate "Netfilter connection tracking support" 51 default m if NETFILTER_ADVANCED=n 52 help 53 Connection tracking keeps a record of what packets have passed 54 through your machine, in order to figure out how they are related 55 into connections. 56 57 This is required to do Masquerading or other kinds of Network 58 Address Translation. It can also be used to enhance packet 59 filtering (see `Connection state match support' below). 60 61 To compile it as a module, choose M here. If unsure, say N. 62 63config NF_LOG_COMMON 64 tristate 65 66config NF_LOG_NETDEV 67 tristate "Netdev packet logging" 68 select NF_LOG_COMMON 69 70if NF_CONNTRACK 71config NETFILTER_CONNCOUNT 72 tristate 73 74config NF_CONNTRACK_MARK 75 bool 'Connection mark tracking support' 76 depends on NETFILTER_ADVANCED 77 help 78 This option enables support for connection marks, used by the 79 `CONNMARK' target and `connmark' match. Similar to the mark value 80 of packets, but this mark value is kept in the conntrack session 81 instead of the individual packets. 82 83config NF_CONNTRACK_SECMARK 84 bool 'Connection tracking security mark support' 85 depends on NETWORK_SECMARK 86 default m if NETFILTER_ADVANCED=n 87 help 88 This option enables security markings to be applied to 89 connections. Typically they are copied to connections from 90 packets using the CONNSECMARK target and copied back from 91 connections to packets with the same target, with the packets 92 being originally labeled via SECMARK. 93 94 If unsure, say 'N'. 95 96config NF_CONNTRACK_ZONES 97 bool 'Connection tracking zones' 98 depends on NETFILTER_ADVANCED 99 depends on NETFILTER_XT_TARGET_CT 100 help 101 This option enables support for connection tracking zones. 102 Normally, each connection needs to have a unique system wide 103 identity. Connection tracking zones allow to have multiple 104 connections using the same identity, as long as they are 105 contained in different zones. 106 107 If unsure, say `N'. 108 109config NF_CONNTRACK_PROCFS 110 bool "Supply CT list in procfs (OBSOLETE)" 111 default y 112 depends on PROC_FS 113 ---help--- 114 This option enables for the list of known conntrack entries 115 to be shown in procfs under net/netfilter/nf_conntrack. This 116 is considered obsolete in favor of using the conntrack(8) 117 tool which uses Netlink. 118 119config NF_CONNTRACK_EVENTS 120 bool "Connection tracking events" 121 depends on NETFILTER_ADVANCED 122 help 123 If this option is enabled, the connection tracking code will 124 provide a notifier chain that can be used by other kernel code 125 to get notified about changes in the connection tracking state. 126 127 If unsure, say `N'. 128 129config NF_CONNTRACK_TIMEOUT 130 bool 'Connection tracking timeout' 131 depends on NETFILTER_ADVANCED 132 help 133 This option enables support for connection tracking timeout 134 extension. This allows you to attach timeout policies to flow 135 via the CT target. 136 137 If unsure, say `N'. 138 139config NF_CONNTRACK_TIMESTAMP 140 bool 'Connection tracking timestamping' 141 depends on NETFILTER_ADVANCED 142 help 143 This option enables support for connection tracking timestamping. 144 This allows you to store the flow start-time and to obtain 145 the flow-stop time (once it has been destroyed) via Connection 146 tracking events. 147 148 If unsure, say `N'. 149 150config NF_CONNTRACK_LABELS 151 bool 152 help 153 This option enables support for assigning user-defined flag bits 154 to connection tracking entries. It selected by the connlabel match. 155 156config NF_CT_PROTO_DCCP 157 bool 'DCCP protocol connection tracking support' 158 depends on NETFILTER_ADVANCED 159 default y 160 help 161 With this option enabled, the layer 3 independent connection 162 tracking code will be able to do state tracking on DCCP connections. 163 164 If unsure, say Y. 165 166config NF_CT_PROTO_GRE 167 tristate 168 169config NF_CT_PROTO_SCTP 170 bool 'SCTP protocol connection tracking support' 171 depends on NETFILTER_ADVANCED 172 default y 173 select LIBCRC32C 174 help 175 With this option enabled, the layer 3 independent connection 176 tracking code will be able to do state tracking on SCTP connections. 177 178 If unsure, say Y. 179 180config NF_CT_PROTO_UDPLITE 181 bool 'UDP-Lite protocol connection tracking support' 182 depends on NETFILTER_ADVANCED 183 default y 184 help 185 With this option enabled, the layer 3 independent connection 186 tracking code will be able to do state tracking on UDP-Lite 187 connections. 188 189 If unsure, say Y. 190 191config NF_CONNTRACK_AMANDA 192 tristate "Amanda backup protocol support" 193 depends on NETFILTER_ADVANCED 194 select TEXTSEARCH 195 select TEXTSEARCH_KMP 196 help 197 If you are running the Amanda backup package <http://www.amanda.org/> 198 on this machine or machines that will be MASQUERADED through this 199 machine, then you may want to enable this feature. This allows the 200 connection tracking and natting code to allow the sub-channels that 201 Amanda requires for communication of the backup data, messages and 202 index. 203 204 To compile it as a module, choose M here. If unsure, say N. 205 206config NF_CONNTRACK_FTP 207 tristate "FTP protocol support" 208 default m if NETFILTER_ADVANCED=n 209 help 210 Tracking FTP connections is problematic: special helpers are 211 required for tracking them, and doing masquerading and other forms 212 of Network Address Translation on them. 213 214 This is FTP support on Layer 3 independent connection tracking. 215 Layer 3 independent connection tracking is experimental scheme 216 which generalize ip_conntrack to support other layer 3 protocols. 217 218 To compile it as a module, choose M here. If unsure, say N. 219 220config NF_CONNTRACK_H323 221 tristate "H.323 protocol support" 222 depends on IPV6 || IPV6=n 223 depends on NETFILTER_ADVANCED 224 help 225 H.323 is a VoIP signalling protocol from ITU-T. As one of the most 226 important VoIP protocols, it is widely used by voice hardware and 227 software including voice gateways, IP phones, Netmeeting, OpenPhone, 228 Gnomemeeting, etc. 229 230 With this module you can support H.323 on a connection tracking/NAT 231 firewall. 232 233 This module supports RAS, Fast Start, H.245 Tunnelling, Call 234 Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat, 235 whiteboard, file transfer, etc. For more information, please 236 visit http://nath323.sourceforge.net/. 237 238 To compile it as a module, choose M here. If unsure, say N. 239 240config NF_CONNTRACK_IRC 241 tristate "IRC protocol support" 242 default m if NETFILTER_ADVANCED=n 243 help 244 There is a commonly-used extension to IRC called 245 Direct Client-to-Client Protocol (DCC). This enables users to send 246 files to each other, and also chat to each other without the need 247 of a server. DCC Sending is used anywhere you send files over IRC, 248 and DCC Chat is most commonly used by Eggdrop bots. If you are 249 using NAT, this extension will enable you to send files and initiate 250 chats. Note that you do NOT need this extension to get files or 251 have others initiate chats, or everything else in IRC. 252 253 To compile it as a module, choose M here. If unsure, say N. 254 255config NF_CONNTRACK_BROADCAST 256 tristate 257 258config NF_CONNTRACK_NETBIOS_NS 259 tristate "NetBIOS name service protocol support" 260 select NF_CONNTRACK_BROADCAST 261 help 262 NetBIOS name service requests are sent as broadcast messages from an 263 unprivileged port and responded to with unicast messages to the 264 same port. This make them hard to firewall properly because connection 265 tracking doesn't deal with broadcasts. This helper tracks locally 266 originating NetBIOS name service requests and the corresponding 267 responses. It relies on correct IP address configuration, specifically 268 netmask and broadcast address. When properly configured, the output 269 of "ip address show" should look similar to this: 270 271 $ ip -4 address show eth0 272 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 273 inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0 274 275 To compile it as a module, choose M here. If unsure, say N. 276 277config NF_CONNTRACK_SNMP 278 tristate "SNMP service protocol support" 279 depends on NETFILTER_ADVANCED 280 select NF_CONNTRACK_BROADCAST 281 help 282 SNMP service requests are sent as broadcast messages from an 283 unprivileged port and responded to with unicast messages to the 284 same port. This make them hard to firewall properly because connection 285 tracking doesn't deal with broadcasts. This helper tracks locally 286 originating SNMP service requests and the corresponding 287 responses. It relies on correct IP address configuration, specifically 288 netmask and broadcast address. 289 290 To compile it as a module, choose M here. If unsure, say N. 291 292config NF_CONNTRACK_PPTP 293 tristate "PPtP protocol support" 294 depends on NETFILTER_ADVANCED 295 select NF_CT_PROTO_GRE 296 help 297 This module adds support for PPTP (Point to Point Tunnelling 298 Protocol, RFC2637) connection tracking and NAT. 299 300 If you are running PPTP sessions over a stateful firewall or NAT 301 box, you may want to enable this feature. 302 303 Please note that not all PPTP modes of operation are supported yet. 304 Specifically these limitations exist: 305 - Blindly assumes that control connections are always established 306 in PNS->PAC direction. This is a violation of RFC2637. 307 - Only supports a single call within each session 308 309 To compile it as a module, choose M here. If unsure, say N. 310 311config NF_CONNTRACK_SANE 312 tristate "SANE protocol support" 313 depends on NETFILTER_ADVANCED 314 help 315 SANE is a protocol for remote access to scanners as implemented 316 by the 'saned' daemon. Like FTP, it uses separate control and 317 data connections. 318 319 With this module you can support SANE on a connection tracking 320 firewall. 321 322 To compile it as a module, choose M here. If unsure, say N. 323 324config NF_CONNTRACK_SIP 325 tristate "SIP protocol support" 326 default m if NETFILTER_ADVANCED=n 327 help 328 SIP is an application-layer control protocol that can establish, 329 modify, and terminate multimedia sessions (conferences) such as 330 Internet telephony calls. With the ip_conntrack_sip and 331 the nf_nat_sip modules you can support the protocol on a connection 332 tracking/NATing firewall. 333 334 To compile it as a module, choose M here. If unsure, say N. 335 336config NF_CONNTRACK_TFTP 337 tristate "TFTP protocol support" 338 depends on NETFILTER_ADVANCED 339 help 340 TFTP connection tracking helper, this is required depending 341 on how restrictive your ruleset is. 342 If you are using a tftp client behind -j SNAT or -j MASQUERADING 343 you will need this. 344 345 To compile it as a module, choose M here. If unsure, say N. 346 347config NF_CT_NETLINK 348 tristate 'Connection tracking netlink interface' 349 select NETFILTER_NETLINK 350 default m if NETFILTER_ADVANCED=n 351 help 352 This option enables support for a netlink-based userspace interface 353 354config NF_CT_NETLINK_TIMEOUT 355 tristate 'Connection tracking timeout tuning via Netlink' 356 select NETFILTER_NETLINK 357 depends on NETFILTER_ADVANCED 358 help 359 This option enables support for connection tracking timeout 360 fine-grain tuning. This allows you to attach specific timeout 361 policies to flows, instead of using the global timeout policy. 362 363 If unsure, say `N'. 364 365config NF_CT_NETLINK_HELPER 366 tristate 'Connection tracking helpers in user-space via Netlink' 367 select NETFILTER_NETLINK 368 depends on NF_CT_NETLINK 369 depends on NETFILTER_NETLINK_QUEUE 370 depends on NETFILTER_NETLINK_GLUE_CT 371 depends on NETFILTER_ADVANCED 372 help 373 This option enables the user-space connection tracking helpers 374 infrastructure. 375 376 If unsure, say `N'. 377 378config NETFILTER_NETLINK_GLUE_CT 379 bool "NFQUEUE and NFLOG integration with Connection Tracking" 380 default n 381 depends on (NETFILTER_NETLINK_QUEUE || NETFILTER_NETLINK_LOG) && NF_CT_NETLINK 382 help 383 If this option is enabled, NFQUEUE and NFLOG can include 384 Connection Tracking information together with the packet is 385 the enqueued via NFNETLINK. 386 387config NF_NAT 388 tristate 389 390config NF_NAT_NEEDED 391 bool 392 depends on NF_NAT 393 default y 394 395config NF_NAT_PROTO_DCCP 396 bool 397 depends on NF_NAT && NF_CT_PROTO_DCCP 398 default NF_NAT && NF_CT_PROTO_DCCP 399 400config NF_NAT_PROTO_UDPLITE 401 bool 402 depends on NF_NAT && NF_CT_PROTO_UDPLITE 403 default NF_NAT && NF_CT_PROTO_UDPLITE 404 405config NF_NAT_PROTO_SCTP 406 bool 407 default NF_NAT && NF_CT_PROTO_SCTP 408 depends on NF_NAT && NF_CT_PROTO_SCTP 409 410config NF_NAT_AMANDA 411 tristate 412 depends on NF_CONNTRACK && NF_NAT 413 default NF_NAT && NF_CONNTRACK_AMANDA 414 415config NF_NAT_FTP 416 tristate 417 depends on NF_CONNTRACK && NF_NAT 418 default NF_NAT && NF_CONNTRACK_FTP 419 420config NF_NAT_IRC 421 tristate 422 depends on NF_CONNTRACK && NF_NAT 423 default NF_NAT && NF_CONNTRACK_IRC 424 425config NF_NAT_SIP 426 tristate 427 depends on NF_CONNTRACK && NF_NAT 428 default NF_NAT && NF_CONNTRACK_SIP 429 430config NF_NAT_TFTP 431 tristate 432 depends on NF_CONNTRACK && NF_NAT 433 default NF_NAT && NF_CONNTRACK_TFTP 434 435config NF_NAT_REDIRECT 436 tristate "IPv4/IPv6 redirect support" 437 depends on NF_NAT 438 help 439 This is the kernel functionality to redirect packets to local 440 machine through NAT. 441 442config NETFILTER_SYNPROXY 443 tristate 444 445endif # NF_CONNTRACK 446 447config NF_OSF 448 tristate 449 450config NF_TABLES 451 select NETFILTER_NETLINK 452 tristate "Netfilter nf_tables support" 453 help 454 nftables is the new packet classification framework that intends to 455 replace the existing {ip,ip6,arp,eb}_tables infrastructure. It 456 provides a pseudo-state machine with an extensible instruction-set 457 (also known as expressions) that the userspace 'nft' utility 458 (http://www.netfilter.org/projects/nftables) uses to build the 459 rule-set. It also comes with the generic set infrastructure that 460 allows you to construct mappings between matchings and actions 461 for performance lookups. 462 463 To compile it as a module, choose M here. 464 465if NF_TABLES 466 467config NF_TABLES_INET 468 depends on IPV6 469 select NF_TABLES_IPV4 470 select NF_TABLES_IPV6 471 bool "Netfilter nf_tables mixed IPv4/IPv6 tables support" 472 help 473 This option enables support for a mixed IPv4/IPv6 "inet" table. 474 475config NF_TABLES_NETDEV 476 bool "Netfilter nf_tables netdev tables support" 477 help 478 This option enables support for the "netdev" table. 479 480config NFT_NUMGEN 481 tristate "Netfilter nf_tables number generator module" 482 help 483 This option adds the number generator expression used to perform 484 incremental counting and random numbers bound to a upper limit. 485 486config NFT_CT 487 depends on NF_CONNTRACK 488 tristate "Netfilter nf_tables conntrack module" 489 help 490 This option adds the "ct" expression that you can use to match 491 connection tracking information such as the flow state. 492 493config NFT_FLOW_OFFLOAD 494 depends on NF_CONNTRACK && NF_FLOW_TABLE 495 tristate "Netfilter nf_tables hardware flow offload module" 496 help 497 This option adds the "flow_offload" expression that you can use to 498 choose what flows are placed into the hardware. 499 500config NFT_SET_RBTREE 501 tristate "Netfilter nf_tables rbtree set module" 502 help 503 This option adds the "rbtree" set type (Red Black tree) that is used 504 to build interval-based sets. 505 506config NFT_SET_HASH 507 tristate "Netfilter nf_tables hash set module" 508 help 509 This option adds the "hash" set type that is used to build one-way 510 mappings between matchings and actions. 511 512config NFT_SET_BITMAP 513 tristate "Netfilter nf_tables bitmap set module" 514 help 515 This option adds the "bitmap" set type that is used to build sets 516 whose keys are smaller or equal to 16 bits. 517 518config NFT_COUNTER 519 tristate "Netfilter nf_tables counter module" 520 help 521 This option adds the "counter" expression that you can use to 522 include packet and byte counters in a rule. 523 524config NFT_LOG 525 tristate "Netfilter nf_tables log module" 526 help 527 This option adds the "log" expression that you can use to log 528 packets matching some criteria. 529 530config NFT_LIMIT 531 tristate "Netfilter nf_tables limit module" 532 help 533 This option adds the "limit" expression that you can use to 534 ratelimit rule matchings. 535 536config NFT_MASQ 537 depends on NF_CONNTRACK 538 depends on NF_NAT 539 tristate "Netfilter nf_tables masquerade support" 540 help 541 This option adds the "masquerade" expression that you can use 542 to perform NAT in the masquerade flavour. 543 544config NFT_REDIR 545 depends on NF_CONNTRACK 546 depends on NF_NAT 547 tristate "Netfilter nf_tables redirect support" 548 help 549 This options adds the "redirect" expression that you can use 550 to perform NAT in the redirect flavour. 551 552config NFT_NAT 553 depends on NF_CONNTRACK 554 select NF_NAT 555 tristate "Netfilter nf_tables nat module" 556 help 557 This option adds the "nat" expression that you can use to perform 558 typical Network Address Translation (NAT) packet transformations. 559 560config NFT_OBJREF 561 tristate "Netfilter nf_tables stateful object reference module" 562 help 563 This option adds the "objref" expression that allows you to refer to 564 stateful objects, such as counters and quotas. 565 566config NFT_QUEUE 567 depends on NETFILTER_NETLINK_QUEUE 568 tristate "Netfilter nf_tables queue module" 569 help 570 This is required if you intend to use the userspace queueing 571 infrastructure (also known as NFQUEUE) from nftables. 572 573config NFT_QUOTA 574 tristate "Netfilter nf_tables quota module" 575 help 576 This option adds the "quota" expression that you can use to match 577 enforce bytes quotas. 578 579config NFT_REJECT 580 default m if NETFILTER_ADVANCED=n 581 tristate "Netfilter nf_tables reject support" 582 depends on !NF_TABLES_INET || (IPV6!=m || m) 583 help 584 This option adds the "reject" expression that you can use to 585 explicitly deny and notify via TCP reset/ICMP informational errors 586 unallowed traffic. 587 588config NFT_REJECT_INET 589 depends on NF_TABLES_INET 590 default NFT_REJECT 591 tristate 592 593config NFT_COMPAT 594 depends on NETFILTER_XTABLES 595 tristate "Netfilter x_tables over nf_tables module" 596 help 597 This is required if you intend to use any of existing 598 x_tables match/target extensions over the nf_tables 599 framework. 600 601config NFT_HASH 602 tristate "Netfilter nf_tables hash module" 603 help 604 This option adds the "hash" expression that you can use to perform 605 a hash operation on registers. 606 607config NFT_FIB 608 tristate 609 610config NFT_FIB_INET 611 depends on NF_TABLES_INET 612 depends on NFT_FIB_IPV4 613 depends on NFT_FIB_IPV6 614 tristate "Netfilter nf_tables fib inet support" 615 help 616 This option allows using the FIB expression from the inet table. 617 The lookup will be delegated to the IPv4 or IPv6 FIB depending 618 on the protocol of the packet. 619 620if NF_TABLES_NETDEV 621 622config NF_DUP_NETDEV 623 tristate "Netfilter packet duplication support" 624 help 625 This option enables the generic packet duplication infrastructure 626 for Netfilter. 627 628config NFT_DUP_NETDEV 629 tristate "Netfilter nf_tables netdev packet duplication support" 630 select NF_DUP_NETDEV 631 help 632 This option enables packet duplication for the "netdev" family. 633 634config NFT_FWD_NETDEV 635 tristate "Netfilter nf_tables netdev packet forwarding support" 636 select NF_DUP_NETDEV 637 help 638 This option enables packet forwarding for the "netdev" family. 639 640config NFT_FIB_NETDEV 641 depends on NFT_FIB_IPV4 642 depends on NFT_FIB_IPV6 643 tristate "Netfilter nf_tables netdev fib lookups support" 644 help 645 This option allows using the FIB expression from the netdev table. 646 The lookup will be delegated to the IPv4 or IPv6 FIB depending 647 on the protocol of the packet. 648 649endif # NF_TABLES_NETDEV 650 651endif # NF_TABLES 652 653config NF_FLOW_TABLE_INET 654 tristate "Netfilter flow table mixed IPv4/IPv6 module" 655 depends on NF_FLOW_TABLE 656 help 657 This option adds the flow table mixed IPv4/IPv6 support. 658 659 To compile it as a module, choose M here. 660 661config NF_FLOW_TABLE 662 tristate "Netfilter flow table module" 663 depends on NETFILTER_INGRESS 664 depends on NF_CONNTRACK 665 depends on NF_TABLES 666 help 667 This option adds the flow table core infrastructure. 668 669 To compile it as a module, choose M here. 670 671config NETFILTER_XTABLES 672 tristate "Netfilter Xtables support (required for ip_tables)" 673 default m if NETFILTER_ADVANCED=n 674 help 675 This is required if you intend to use any of ip_tables, 676 ip6_tables or arp_tables. 677 678if NETFILTER_XTABLES 679 680comment "Xtables combined modules" 681 682config NETFILTER_XT_MARK 683 tristate 'nfmark target and match support' 684 default m if NETFILTER_ADVANCED=n 685 ---help--- 686 This option adds the "MARK" target and "mark" match. 687 688 Netfilter mark matching allows you to match packets based on the 689 "nfmark" value in the packet. 690 The target allows you to create rules in the "mangle" table which alter 691 the netfilter mark (nfmark) field associated with the packet. 692 693 Prior to routing, the nfmark can influence the routing method and can 694 also be used by other subsystems to change their behavior. 695 696config NETFILTER_XT_CONNMARK 697 tristate 'ctmark target and match support' 698 depends on NF_CONNTRACK 699 depends on NETFILTER_ADVANCED 700 select NF_CONNTRACK_MARK 701 ---help--- 702 This option adds the "CONNMARK" target and "connmark" match. 703 704 Netfilter allows you to store a mark value per connection (a.k.a. 705 ctmark), similarly to the packet mark (nfmark). Using this 706 target and match, you can set and match on this mark. 707 708config NETFILTER_XT_SET 709 tristate 'set target and match support' 710 depends on IP_SET 711 depends on NETFILTER_ADVANCED 712 help 713 This option adds the "SET" target and "set" match. 714 715 Using this target and match, you can add/delete and match 716 elements in the sets created by ipset(8). 717 718 To compile it as a module, choose M here. If unsure, say N. 719 720# alphabetically ordered list of targets 721 722comment "Xtables targets" 723 724config NETFILTER_XT_TARGET_AUDIT 725 tristate "AUDIT target support" 726 depends on AUDIT 727 depends on NETFILTER_ADVANCED 728 ---help--- 729 This option adds a 'AUDIT' target, which can be used to create 730 audit records for packets dropped/accepted. 731 732 To compileit as a module, choose M here. If unsure, say N. 733 734config NETFILTER_XT_TARGET_CHECKSUM 735 tristate "CHECKSUM target support" 736 depends on IP_NF_MANGLE || IP6_NF_MANGLE 737 depends on NETFILTER_ADVANCED 738 ---help--- 739 This option adds a `CHECKSUM' target, which can be used in the iptables mangle 740 table. 741 742 You can use this target to compute and fill in the checksum in 743 a packet that lacks a checksum. This is particularly useful, 744 if you need to work around old applications such as dhcp clients, 745 that do not work well with checksum offloads, but don't want to disable 746 checksum offload in your device. 747 748 To compile it as a module, choose M here. If unsure, say N. 749 750config NETFILTER_XT_TARGET_CLASSIFY 751 tristate '"CLASSIFY" target support' 752 depends on NETFILTER_ADVANCED 753 help 754 This option adds a `CLASSIFY' target, which enables the user to set 755 the priority of a packet. Some qdiscs can use this value for 756 classification, among these are: 757 758 atm, cbq, dsmark, pfifo_fast, htb, prio 759 760 To compile it as a module, choose M here. If unsure, say N. 761 762config NETFILTER_XT_TARGET_CONNMARK 763 tristate '"CONNMARK" target support' 764 depends on NF_CONNTRACK 765 depends on NETFILTER_ADVANCED 766 select NETFILTER_XT_CONNMARK 767 ---help--- 768 This is a backwards-compat option for the user's convenience 769 (e.g. when running oldconfig). It selects 770 CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module). 771 772config NETFILTER_XT_TARGET_CONNSECMARK 773 tristate '"CONNSECMARK" target support' 774 depends on NF_CONNTRACK && NF_CONNTRACK_SECMARK 775 default m if NETFILTER_ADVANCED=n 776 help 777 The CONNSECMARK target copies security markings from packets 778 to connections, and restores security markings from connections 779 to packets (if the packets are not already marked). This would 780 normally be used in conjunction with the SECMARK target. 781 782 To compile it as a module, choose M here. If unsure, say N. 783 784config NETFILTER_XT_TARGET_CT 785 tristate '"CT" target support' 786 depends on NF_CONNTRACK 787 depends on IP_NF_RAW || IP6_NF_RAW 788 depends on NETFILTER_ADVANCED 789 help 790 This options adds a `CT' target, which allows to specify initial 791 connection tracking parameters like events to be delivered and 792 the helper to be used. 793 794 To compile it as a module, choose M here. If unsure, say N. 795 796config NETFILTER_XT_TARGET_DSCP 797 tristate '"DSCP" and "TOS" target support' 798 depends on IP_NF_MANGLE || IP6_NF_MANGLE 799 depends on NETFILTER_ADVANCED 800 help 801 This option adds a `DSCP' target, which allows you to manipulate 802 the IPv4/IPv6 header DSCP field (differentiated services codepoint). 803 804 The DSCP field can have any value between 0x0 and 0x3f inclusive. 805 806 It also adds the "TOS" target, which allows you to create rules in 807 the "mangle" table which alter the Type Of Service field of an IPv4 808 or the Priority field of an IPv6 packet, prior to routing. 809 810 To compile it as a module, choose M here. If unsure, say N. 811 812config NETFILTER_XT_TARGET_HL 813 tristate '"HL" hoplimit target support' 814 depends on IP_NF_MANGLE || IP6_NF_MANGLE 815 depends on NETFILTER_ADVANCED 816 ---help--- 817 This option adds the "HL" (for IPv6) and "TTL" (for IPv4) 818 targets, which enable the user to change the 819 hoplimit/time-to-live value of the IP header. 820 821 While it is safe to decrement the hoplimit/TTL value, the 822 modules also allow to increment and set the hoplimit value of 823 the header to arbitrary values. This is EXTREMELY DANGEROUS 824 since you can easily create immortal packets that loop 825 forever on the network. 826 827config NETFILTER_XT_TARGET_HMARK 828 tristate '"HMARK" target support' 829 depends on IP6_NF_IPTABLES || IP6_NF_IPTABLES=n 830 depends on NETFILTER_ADVANCED 831 ---help--- 832 This option adds the "HMARK" target. 833 834 The target allows you to create rules in the "raw" and "mangle" tables 835 which set the skbuff mark by means of hash calculation within a given 836 range. The nfmark can influence the routing method and can also be used 837 by other subsystems to change their behaviour. 838 839 To compile it as a module, choose M here. If unsure, say N. 840 841config NETFILTER_XT_TARGET_IDLETIMER 842 tristate "IDLETIMER target support" 843 depends on NETFILTER_ADVANCED 844 help 845 846 This option adds the `IDLETIMER' target. Each matching packet 847 resets the timer associated with label specified when the rule is 848 added. When the timer expires, it triggers a sysfs notification. 849 The remaining time for expiration can be read via sysfs. 850 851 To compile it as a module, choose M here. If unsure, say N. 852 853config NETFILTER_XT_TARGET_LED 854 tristate '"LED" target support' 855 depends on LEDS_CLASS && LEDS_TRIGGERS 856 depends on NETFILTER_ADVANCED 857 help 858 This option adds a `LED' target, which allows you to blink LEDs in 859 response to particular packets passing through your machine. 860 861 This can be used to turn a spare LED into a network activity LED, 862 which only flashes in response to FTP transfers, for example. Or 863 you could have an LED which lights up for a minute or two every time 864 somebody connects to your machine via SSH. 865 866 You will need support for the "led" class to make this work. 867 868 To create an LED trigger for incoming SSH traffic: 869 iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000 870 871 Then attach the new trigger to an LED on your system: 872 echo netfilter-ssh > /sys/class/leds/<ledname>/trigger 873 874 For more information on the LEDs available on your system, see 875 Documentation/leds/leds-class.txt 876 877config NETFILTER_XT_TARGET_LOG 878 tristate "LOG target support" 879 select NF_LOG_COMMON 880 select NF_LOG_IPV4 881 select NF_LOG_IPV6 if IPV6 882 default m if NETFILTER_ADVANCED=n 883 help 884 This option adds a `LOG' target, which allows you to create rules in 885 any iptables table which records the packet header to the syslog. 886 887 To compile it as a module, choose M here. If unsure, say N. 888 889config NETFILTER_XT_TARGET_MARK 890 tristate '"MARK" target support' 891 depends on NETFILTER_ADVANCED 892 select NETFILTER_XT_MARK 893 ---help--- 894 This is a backwards-compat option for the user's convenience 895 (e.g. when running oldconfig). It selects 896 CONFIG_NETFILTER_XT_MARK (combined mark/MARK module). 897 898config NETFILTER_XT_NAT 899 tristate '"SNAT and DNAT" targets support' 900 depends on NF_NAT 901 ---help--- 902 This option enables the SNAT and DNAT targets. 903 904 To compile it as a module, choose M here. If unsure, say N. 905 906config NETFILTER_XT_TARGET_NETMAP 907 tristate '"NETMAP" target support' 908 depends on NF_NAT 909 ---help--- 910 NETMAP is an implementation of static 1:1 NAT mapping of network 911 addresses. It maps the network address part, while keeping the host 912 address part intact. 913 914 To compile it as a module, choose M here. If unsure, say N. 915 916config NETFILTER_XT_TARGET_NFLOG 917 tristate '"NFLOG" target support' 918 default m if NETFILTER_ADVANCED=n 919 select NETFILTER_NETLINK_LOG 920 help 921 This option enables the NFLOG target, which allows to LOG 922 messages through nfnetlink_log. 923 924 To compile it as a module, choose M here. If unsure, say N. 925 926config NETFILTER_XT_TARGET_NFQUEUE 927 tristate '"NFQUEUE" target Support' 928 depends on NETFILTER_ADVANCED 929 select NETFILTER_NETLINK_QUEUE 930 help 931 This target replaced the old obsolete QUEUE target. 932 933 As opposed to QUEUE, it supports 65535 different queues, 934 not just one. 935 936 To compile it as a module, choose M here. If unsure, say N. 937 938config NETFILTER_XT_TARGET_NOTRACK 939 tristate '"NOTRACK" target support (DEPRECATED)' 940 depends on NF_CONNTRACK 941 depends on IP_NF_RAW || IP6_NF_RAW 942 depends on NETFILTER_ADVANCED 943 select NETFILTER_XT_TARGET_CT 944 945config NETFILTER_XT_TARGET_RATEEST 946 tristate '"RATEEST" target support' 947 depends on NETFILTER_ADVANCED 948 help 949 This option adds a `RATEEST' target, which allows to measure 950 rates similar to TC estimators. The `rateest' match can be 951 used to match on the measured rates. 952 953 To compile it as a module, choose M here. If unsure, say N. 954 955config NETFILTER_XT_TARGET_REDIRECT 956 tristate "REDIRECT target support" 957 depends on NF_NAT 958 select NF_NAT_REDIRECT 959 ---help--- 960 REDIRECT is a special case of NAT: all incoming connections are 961 mapped onto the incoming interface's address, causing the packets to 962 come to the local machine instead of passing through. This is 963 useful for transparent proxies. 964 965 To compile it as a module, choose M here. If unsure, say N. 966 967config NETFILTER_XT_TARGET_TEE 968 tristate '"TEE" - packet cloning to alternate destination' 969 depends on NETFILTER_ADVANCED 970 depends on IPV6 || IPV6=n 971 depends on !NF_CONNTRACK || NF_CONNTRACK 972 select NF_DUP_IPV4 973 select NF_DUP_IPV6 if IPV6 974 ---help--- 975 This option adds a "TEE" target with which a packet can be cloned and 976 this clone be rerouted to another nexthop. 977 978config NETFILTER_XT_TARGET_TPROXY 979 tristate '"TPROXY" target transparent proxying support' 980 depends on NETFILTER_XTABLES 981 depends on NETFILTER_ADVANCED 982 depends on IPV6 || IPV6=n 983 depends on IP6_NF_IPTABLES || IP6_NF_IPTABLES=n 984 depends on IP_NF_MANGLE 985 select NF_DEFRAG_IPV4 986 select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES != n 987 help 988 This option adds a `TPROXY' target, which is somewhat similar to 989 REDIRECT. It can only be used in the mangle table and is useful 990 to redirect traffic to a transparent proxy. It does _not_ depend 991 on Netfilter connection tracking and NAT, unlike REDIRECT. 992 For it to work you will have to configure certain iptables rules 993 and use policy routing. For more information on how to set it up 994 see Documentation/networking/tproxy.txt. 995 996 To compile it as a module, choose M here. If unsure, say N. 997 998config NETFILTER_XT_TARGET_TRACE 999 tristate '"TRACE" target support' 1000 depends on IP_NF_RAW || IP6_NF_RAW 1001 depends on NETFILTER_ADVANCED 1002 help 1003 The TRACE target allows you to mark packets so that the kernel 1004 will log every rule which match the packets as those traverse 1005 the tables, chains, rules. 1006 1007 If you want to compile it as a module, say M here and read 1008 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1009 1010config NETFILTER_XT_TARGET_SECMARK 1011 tristate '"SECMARK" target support' 1012 depends on NETWORK_SECMARK 1013 default m if NETFILTER_ADVANCED=n 1014 help 1015 The SECMARK target allows security marking of network 1016 packets, for use with security subsystems. 1017 1018 To compile it as a module, choose M here. If unsure, say N. 1019 1020config NETFILTER_XT_TARGET_TCPMSS 1021 tristate '"TCPMSS" target support' 1022 depends on IPV6 || IPV6=n 1023 default m if NETFILTER_ADVANCED=n 1024 ---help--- 1025 This option adds a `TCPMSS' target, which allows you to alter the 1026 MSS value of TCP SYN packets, to control the maximum size for that 1027 connection (usually limiting it to your outgoing interface's MTU 1028 minus 40). 1029 1030 This is used to overcome criminally braindead ISPs or servers which 1031 block ICMP Fragmentation Needed packets. The symptoms of this 1032 problem are that everything works fine from your Linux 1033 firewall/router, but machines behind it can never exchange large 1034 packets: 1035 1) Web browsers connect, then hang with no data received. 1036 2) Small mail works fine, but large emails hang. 1037 3) ssh works fine, but scp hangs after initial handshaking. 1038 1039 Workaround: activate this option and add a rule to your firewall 1040 configuration like: 1041 1042 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \ 1043 -j TCPMSS --clamp-mss-to-pmtu 1044 1045 To compile it as a module, choose M here. If unsure, say N. 1046 1047config NETFILTER_XT_TARGET_TCPOPTSTRIP 1048 tristate '"TCPOPTSTRIP" target support' 1049 depends on IP_NF_MANGLE || IP6_NF_MANGLE 1050 depends on NETFILTER_ADVANCED 1051 help 1052 This option adds a "TCPOPTSTRIP" target, which allows you to strip 1053 TCP options from TCP packets. 1054 1055# alphabetically ordered list of matches 1056 1057comment "Xtables matches" 1058 1059config NETFILTER_XT_MATCH_ADDRTYPE 1060 tristate '"addrtype" address type match support' 1061 default m if NETFILTER_ADVANCED=n 1062 ---help--- 1063 This option allows you to match what routing thinks of an address, 1064 eg. UNICAST, LOCAL, BROADCAST, ... 1065 1066 If you want to compile it as a module, say M here and read 1067 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1068 1069config NETFILTER_XT_MATCH_BPF 1070 tristate '"bpf" match support' 1071 depends on NETFILTER_ADVANCED 1072 help 1073 BPF matching applies a linux socket filter to each packet and 1074 accepts those for which the filter returns non-zero. 1075 1076 To compile it as a module, choose M here. If unsure, say N. 1077 1078config NETFILTER_XT_MATCH_CGROUP 1079 tristate '"control group" match support' 1080 depends on NETFILTER_ADVANCED 1081 depends on CGROUPS 1082 select CGROUP_NET_CLASSID 1083 ---help--- 1084 Socket/process control group matching allows you to match locally 1085 generated packets based on which net_cls control group processes 1086 belong to. 1087 1088config NETFILTER_XT_MATCH_CLUSTER 1089 tristate '"cluster" match support' 1090 depends on NF_CONNTRACK 1091 depends on NETFILTER_ADVANCED 1092 ---help--- 1093 This option allows you to build work-load-sharing clusters of 1094 network servers/stateful firewalls without having a dedicated 1095 load-balancing router/server/switch. Basically, this match returns 1096 true when the packet must be handled by this cluster node. Thus, 1097 all nodes see all packets and this match decides which node handles 1098 what packets. The work-load sharing algorithm is based on source 1099 address hashing. 1100 1101 If you say Y or M here, try `iptables -m cluster --help` for 1102 more information. 1103 1104config NETFILTER_XT_MATCH_COMMENT 1105 tristate '"comment" match support' 1106 depends on NETFILTER_ADVANCED 1107 help 1108 This option adds a `comment' dummy-match, which allows you to put 1109 comments in your iptables ruleset. 1110 1111 If you want to compile it as a module, say M here and read 1112 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1113 1114config NETFILTER_XT_MATCH_CONNBYTES 1115 tristate '"connbytes" per-connection counter match support' 1116 depends on NF_CONNTRACK 1117 depends on NETFILTER_ADVANCED 1118 help 1119 This option adds a `connbytes' match, which allows you to match the 1120 number of bytes and/or packets for each direction within a connection. 1121 1122 If you want to compile it as a module, say M here and read 1123 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1124 1125config NETFILTER_XT_MATCH_CONNLABEL 1126 tristate '"connlabel" match support' 1127 select NF_CONNTRACK_LABELS 1128 depends on NF_CONNTRACK 1129 depends on NETFILTER_ADVANCED 1130 ---help--- 1131 This match allows you to test and assign userspace-defined labels names 1132 to a connection. The kernel only stores bit values - mapping 1133 names to bits is done by userspace. 1134 1135 Unlike connmark, more than 32 flag bits may be assigned to a 1136 connection simultaneously. 1137 1138config NETFILTER_XT_MATCH_CONNLIMIT 1139 tristate '"connlimit" match support' 1140 depends on NF_CONNTRACK 1141 depends on NETFILTER_ADVANCED 1142 select NETFILTER_CONNCOUNT 1143 ---help--- 1144 This match allows you to match against the number of parallel 1145 connections to a server per client IP address (or address block). 1146 1147config NETFILTER_XT_MATCH_CONNMARK 1148 tristate '"connmark" connection mark match support' 1149 depends on NF_CONNTRACK 1150 depends on NETFILTER_ADVANCED 1151 select NETFILTER_XT_CONNMARK 1152 ---help--- 1153 This is a backwards-compat option for the user's convenience 1154 (e.g. when running oldconfig). It selects 1155 CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module). 1156 1157config NETFILTER_XT_MATCH_CONNTRACK 1158 tristate '"conntrack" connection tracking match support' 1159 depends on NF_CONNTRACK 1160 default m if NETFILTER_ADVANCED=n 1161 help 1162 This is a general conntrack match module, a superset of the state match. 1163 1164 It allows matching on additional conntrack information, which is 1165 useful in complex configurations, such as NAT gateways with multiple 1166 internet links or tunnels. 1167 1168 To compile it as a module, choose M here. If unsure, say N. 1169 1170config NETFILTER_XT_MATCH_CPU 1171 tristate '"cpu" match support' 1172 depends on NETFILTER_ADVANCED 1173 help 1174 CPU matching allows you to match packets based on the CPU 1175 currently handling the packet. 1176 1177 To compile it as a module, choose M here. If unsure, say N. 1178 1179config NETFILTER_XT_MATCH_DCCP 1180 tristate '"dccp" protocol match support' 1181 depends on NETFILTER_ADVANCED 1182 default IP_DCCP 1183 help 1184 With this option enabled, you will be able to use the iptables 1185 `dccp' match in order to match on DCCP source/destination ports 1186 and DCCP flags. 1187 1188 If you want to compile it as a module, say M here and read 1189 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1190 1191config NETFILTER_XT_MATCH_DEVGROUP 1192 tristate '"devgroup" match support' 1193 depends on NETFILTER_ADVANCED 1194 help 1195 This options adds a `devgroup' match, which allows to match on the 1196 device group a network device is assigned to. 1197 1198 To compile it as a module, choose M here. If unsure, say N. 1199 1200config NETFILTER_XT_MATCH_DSCP 1201 tristate '"dscp" and "tos" match support' 1202 depends on NETFILTER_ADVANCED 1203 help 1204 This option adds a `DSCP' match, which allows you to match against 1205 the IPv4/IPv6 header DSCP field (differentiated services codepoint). 1206 1207 The DSCP field can have any value between 0x0 and 0x3f inclusive. 1208 1209 It will also add a "tos" match, which allows you to match packets 1210 based on the Type Of Service fields of the IPv4 packet (which share 1211 the same bits as DSCP). 1212 1213 To compile it as a module, choose M here. If unsure, say N. 1214 1215config NETFILTER_XT_MATCH_ECN 1216 tristate '"ecn" match support' 1217 depends on NETFILTER_ADVANCED 1218 ---help--- 1219 This option adds an "ECN" match, which allows you to match against 1220 the IPv4 and TCP header ECN fields. 1221 1222 To compile it as a module, choose M here. If unsure, say N. 1223 1224config NETFILTER_XT_MATCH_ESP 1225 tristate '"esp" match support' 1226 depends on NETFILTER_ADVANCED 1227 help 1228 This match extension allows you to match a range of SPIs 1229 inside ESP header of IPSec packets. 1230 1231 To compile it as a module, choose M here. If unsure, say N. 1232 1233config NETFILTER_XT_MATCH_HASHLIMIT 1234 tristate '"hashlimit" match support' 1235 depends on IP6_NF_IPTABLES || IP6_NF_IPTABLES=n 1236 depends on NETFILTER_ADVANCED 1237 help 1238 This option adds a `hashlimit' match. 1239 1240 As opposed to `limit', this match dynamically creates a hash table 1241 of limit buckets, based on your selection of source/destination 1242 addresses and/or ports. 1243 1244 It enables you to express policies like `10kpps for any given 1245 destination address' or `500pps from any given source address' 1246 with a single rule. 1247 1248config NETFILTER_XT_MATCH_HELPER 1249 tristate '"helper" match support' 1250 depends on NF_CONNTRACK 1251 depends on NETFILTER_ADVANCED 1252 help 1253 Helper matching allows you to match packets in dynamic connections 1254 tracked by a conntrack-helper, ie. ip_conntrack_ftp 1255 1256 To compile it as a module, choose M here. If unsure, say Y. 1257 1258config NETFILTER_XT_MATCH_HL 1259 tristate '"hl" hoplimit/TTL match support' 1260 depends on NETFILTER_ADVANCED 1261 ---help--- 1262 HL matching allows you to match packets based on the hoplimit 1263 in the IPv6 header, or the time-to-live field in the IPv4 1264 header of the packet. 1265 1266config NETFILTER_XT_MATCH_IPCOMP 1267 tristate '"ipcomp" match support' 1268 depends on NETFILTER_ADVANCED 1269 help 1270 This match extension allows you to match a range of CPIs(16 bits) 1271 inside IPComp header of IPSec packets. 1272 1273 To compile it as a module, choose M here. If unsure, say N. 1274 1275config NETFILTER_XT_MATCH_IPRANGE 1276 tristate '"iprange" address range match support' 1277 depends on NETFILTER_ADVANCED 1278 ---help--- 1279 This option adds a "iprange" match, which allows you to match based on 1280 an IP address range. (Normal iptables only matches on single addresses 1281 with an optional mask.) 1282 1283 If unsure, say M. 1284 1285config NETFILTER_XT_MATCH_IPVS 1286 tristate '"ipvs" match support' 1287 depends on IP_VS 1288 depends on NETFILTER_ADVANCED 1289 depends on NF_CONNTRACK 1290 help 1291 This option allows you to match against IPVS properties of a packet. 1292 1293 If unsure, say N. 1294 1295config NETFILTER_XT_MATCH_L2TP 1296 tristate '"l2tp" match support' 1297 depends on NETFILTER_ADVANCED 1298 default L2TP 1299 ---help--- 1300 This option adds an "L2TP" match, which allows you to match against 1301 L2TP protocol header fields. 1302 1303 To compile it as a module, choose M here. If unsure, say N. 1304 1305config NETFILTER_XT_MATCH_LENGTH 1306 tristate '"length" match support' 1307 depends on NETFILTER_ADVANCED 1308 help 1309 This option allows you to match the length of a packet against a 1310 specific value or range of values. 1311 1312 To compile it as a module, choose M here. If unsure, say N. 1313 1314config NETFILTER_XT_MATCH_LIMIT 1315 tristate '"limit" match support' 1316 depends on NETFILTER_ADVANCED 1317 help 1318 limit matching allows you to control the rate at which a rule can be 1319 matched: mainly useful in combination with the LOG target ("LOG 1320 target support", below) and to avoid some Denial of Service attacks. 1321 1322 To compile it as a module, choose M here. If unsure, say N. 1323 1324config NETFILTER_XT_MATCH_MAC 1325 tristate '"mac" address match support' 1326 depends on NETFILTER_ADVANCED 1327 help 1328 MAC matching allows you to match packets based on the source 1329 Ethernet address of the packet. 1330 1331 To compile it as a module, choose M here. If unsure, say N. 1332 1333config NETFILTER_XT_MATCH_MARK 1334 tristate '"mark" match support' 1335 depends on NETFILTER_ADVANCED 1336 select NETFILTER_XT_MARK 1337 ---help--- 1338 This is a backwards-compat option for the user's convenience 1339 (e.g. when running oldconfig). It selects 1340 CONFIG_NETFILTER_XT_MARK (combined mark/MARK module). 1341 1342config NETFILTER_XT_MATCH_MULTIPORT 1343 tristate '"multiport" Multiple port match support' 1344 depends on NETFILTER_ADVANCED 1345 help 1346 Multiport matching allows you to match TCP or UDP packets based on 1347 a series of source or destination ports: normally a rule can only 1348 match a single range of ports. 1349 1350 To compile it as a module, choose M here. If unsure, say N. 1351 1352config NETFILTER_XT_MATCH_NFACCT 1353 tristate '"nfacct" match support' 1354 depends on NETFILTER_ADVANCED 1355 select NETFILTER_NETLINK_ACCT 1356 help 1357 This option allows you to use the extended accounting through 1358 nfnetlink_acct. 1359 1360 To compile it as a module, choose M here. If unsure, say N. 1361 1362config NETFILTER_XT_MATCH_OSF 1363 tristate '"osf" Passive OS fingerprint match' 1364 depends on NETFILTER_ADVANCED && NETFILTER_NETLINK 1365 select NF_OSF 1366 help 1367 This option selects the Passive OS Fingerprinting match module 1368 that allows to passively match the remote operating system by 1369 analyzing incoming TCP SYN packets. 1370 1371 Rules and loading software can be downloaded from 1372 http://www.ioremap.net/projects/osf 1373 1374 To compile it as a module, choose M here. If unsure, say N. 1375 1376config NETFILTER_XT_MATCH_OWNER 1377 tristate '"owner" match support' 1378 depends on NETFILTER_ADVANCED 1379 ---help--- 1380 Socket owner matching allows you to match locally-generated packets 1381 based on who created the socket: the user or group. It is also 1382 possible to check whether a socket actually exists. 1383 1384config NETFILTER_XT_MATCH_POLICY 1385 tristate 'IPsec "policy" match support' 1386 depends on XFRM 1387 default m if NETFILTER_ADVANCED=n 1388 help 1389 Policy matching allows you to match packets based on the 1390 IPsec policy that was used during decapsulation/will 1391 be used during encapsulation. 1392 1393 To compile it as a module, choose M here. If unsure, say N. 1394 1395config NETFILTER_XT_MATCH_PHYSDEV 1396 tristate '"physdev" match support' 1397 depends on BRIDGE && BRIDGE_NETFILTER 1398 depends on NETFILTER_ADVANCED 1399 help 1400 Physdev packet matching matches against the physical bridge ports 1401 the IP packet arrived on or will leave by. 1402 1403 To compile it as a module, choose M here. If unsure, say N. 1404 1405config NETFILTER_XT_MATCH_PKTTYPE 1406 tristate '"pkttype" packet type match support' 1407 depends on NETFILTER_ADVANCED 1408 help 1409 Packet type matching allows you to match a packet by 1410 its "class", eg. BROADCAST, MULTICAST, ... 1411 1412 Typical usage: 1413 iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG 1414 1415 To compile it as a module, choose M here. If unsure, say N. 1416 1417config NETFILTER_XT_MATCH_QUOTA 1418 tristate '"quota" match support' 1419 depends on NETFILTER_ADVANCED 1420 help 1421 This option adds a `quota' match, which allows to match on a 1422 byte counter. 1423 1424 If you want to compile it as a module, say M here and read 1425 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1426 1427config NETFILTER_XT_MATCH_RATEEST 1428 tristate '"rateest" match support' 1429 depends on NETFILTER_ADVANCED 1430 select NETFILTER_XT_TARGET_RATEEST 1431 help 1432 This option adds a `rateest' match, which allows to match on the 1433 rate estimated by the RATEEST target. 1434 1435 To compile it as a module, choose M here. If unsure, say N. 1436 1437config NETFILTER_XT_MATCH_REALM 1438 tristate '"realm" match support' 1439 depends on NETFILTER_ADVANCED 1440 select IP_ROUTE_CLASSID 1441 help 1442 This option adds a `realm' match, which allows you to use the realm 1443 key from the routing subsystem inside iptables. 1444 1445 This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option 1446 in tc world. 1447 1448 If you want to compile it as a module, say M here and read 1449 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1450 1451config NETFILTER_XT_MATCH_RECENT 1452 tristate '"recent" match support' 1453 depends on NETFILTER_ADVANCED 1454 ---help--- 1455 This match is used for creating one or many lists of recently 1456 used addresses and then matching against that/those list(s). 1457 1458 Short options are available by using 'iptables -m recent -h' 1459 Official Website: <http://snowman.net/projects/ipt_recent/> 1460 1461config NETFILTER_XT_MATCH_SCTP 1462 tristate '"sctp" protocol match support' 1463 depends on NETFILTER_ADVANCED 1464 default IP_SCTP 1465 help 1466 With this option enabled, you will be able to use the 1467 `sctp' match in order to match on SCTP source/destination ports 1468 and SCTP chunk types. 1469 1470 If you want to compile it as a module, say M here and read 1471 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'. 1472 1473config NETFILTER_XT_MATCH_SOCKET 1474 tristate '"socket" match support' 1475 depends on NETFILTER_XTABLES 1476 depends on NETFILTER_ADVANCED 1477 depends on IPV6 || IPV6=n 1478 depends on IP6_NF_IPTABLES || IP6_NF_IPTABLES=n 1479 depends on NF_SOCKET_IPV4 1480 depends on NF_SOCKET_IPV6 1481 select NF_DEFRAG_IPV4 1482 select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES != n 1483 help 1484 This option adds a `socket' match, which can be used to match 1485 packets for which a TCP or UDP socket lookup finds a valid socket. 1486 It can be used in combination with the MARK target and policy 1487 routing to implement full featured non-locally bound sockets. 1488 1489 To compile it as a module, choose M here. If unsure, say N. 1490 1491config NETFILTER_XT_MATCH_STATE 1492 tristate '"state" match support' 1493 depends on NF_CONNTRACK 1494 default m if NETFILTER_ADVANCED=n 1495 help 1496 Connection state matching allows you to match packets based on their 1497 relationship to a tracked connection (ie. previous packets). This 1498 is a powerful tool for packet classification. 1499 1500 To compile it as a module, choose M here. If unsure, say N. 1501 1502config NETFILTER_XT_MATCH_STATISTIC 1503 tristate '"statistic" match support' 1504 depends on NETFILTER_ADVANCED 1505 help 1506 This option adds a `statistic' match, which allows you to match 1507 on packets periodically or randomly with a given percentage. 1508 1509 To compile it as a module, choose M here. If unsure, say N. 1510 1511config NETFILTER_XT_MATCH_STRING 1512 tristate '"string" match support' 1513 depends on NETFILTER_ADVANCED 1514 select TEXTSEARCH 1515 select TEXTSEARCH_KMP 1516 select TEXTSEARCH_BM 1517 select TEXTSEARCH_FSM 1518 help 1519 This option adds a `string' match, which allows you to look for 1520 pattern matchings in packets. 1521 1522 To compile it as a module, choose M here. If unsure, say N. 1523 1524config NETFILTER_XT_MATCH_TCPMSS 1525 tristate '"tcpmss" match support' 1526 depends on NETFILTER_ADVANCED 1527 help 1528 This option adds a `tcpmss' match, which allows you to examine the 1529 MSS value of TCP SYN packets, which control the maximum packet size 1530 for that connection. 1531 1532 To compile it as a module, choose M here. If unsure, say N. 1533 1534config NETFILTER_XT_MATCH_TIME 1535 tristate '"time" match support' 1536 depends on NETFILTER_ADVANCED 1537 ---help--- 1538 This option adds a "time" match, which allows you to match based on 1539 the packet arrival time (at the machine which netfilter is running) 1540 on) or departure time/date (for locally generated packets). 1541 1542 If you say Y here, try `iptables -m time --help` for 1543 more information. 1544 1545 If you want to compile it as a module, say M here. 1546 If unsure, say N. 1547 1548config NETFILTER_XT_MATCH_U32 1549 tristate '"u32" match support' 1550 depends on NETFILTER_ADVANCED 1551 ---help--- 1552 u32 allows you to extract quantities of up to 4 bytes from a packet, 1553 AND them with specified masks, shift them by specified amounts and 1554 test whether the results are in any of a set of specified ranges. 1555 The specification of what to extract is general enough to skip over 1556 headers with lengths stored in the packet, as in IP or TCP header 1557 lengths. 1558 1559 Details and examples are in the kernel module source. 1560 1561endif # NETFILTER_XTABLES 1562 1563endmenu 1564 1565source "net/netfilter/ipset/Kconfig" 1566 1567source "net/netfilter/ipvs/Kconfig" 1568