1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# IP netfilter configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsmenu "IP: Netfilter Configuration" 71da177e4SLinus Torvalds depends on INET && NETFILTER 81da177e4SLinus Torvalds 973e4022fSKOVACS Krisztianconfig NF_DEFRAG_IPV4 1073e4022fSKOVACS Krisztian tristate 1173e4022fSKOVACS Krisztian default n 1273e4022fSKOVACS Krisztian 13a9525c7fSFlorian Westphal# old sockopt interface and eval loop 14a9525c7fSFlorian Westphalconfig IP_NF_IPTABLES_LEGACY 156c959fd5SBreno Leitao tristate "Legacy IP tables support" 169fce6658SPablo Neira Ayuso depends on NETFILTER_XTABLES_LEGACY 17*25a8b88fSArnd Bergmann depends on NETFILTER_XTABLES 189fce6658SPablo Neira Ayuso default m if NETFILTER_XTABLES_LEGACY 196c959fd5SBreno Leitao help 206c959fd5SBreno Leitao iptables is a legacy packet classifier. 216c959fd5SBreno Leitao This is not needed if you are using iptables over nftables 226c959fd5SBreno Leitao (iptables-nft). 23a9525c7fSFlorian Westphal 248db4c5beSPablo Neira Ayusoconfig NF_SOCKET_IPV4 258db4c5beSPablo Neira Ayuso tristate "IPv4 socket lookup support" 268db4c5beSPablo Neira Ayuso help 278db4c5beSPablo Neira Ayuso This option enables the IPv4 socket lookup infrastructure. This is 2845ca4e0cSMáté Eckl is required by the {ip,nf}tables socket match. 2945ca4e0cSMáté Eckl 3045ca4e0cSMáté Ecklconfig NF_TPROXY_IPV4 3145ca4e0cSMáté Eckl tristate "IPv4 tproxy support" 328db4c5beSPablo Neira Ayuso 33f04e599eSPablo Neira Ayusoif NF_TABLES 34f04e599eSPablo Neira Ayuso 35f04e599eSPablo Neira Ayusoconfig NF_TABLES_IPV4 3602c7b25eSPablo Neira Ayuso bool "IPv4 nf_tables support" 37f04e599eSPablo Neira Ayuso help 38f04e599eSPablo Neira Ayuso This option enables the IPv4 support for nf_tables. 39f04e599eSPablo Neira Ayuso 40f04e599eSPablo Neira Ayusoif NF_TABLES_IPV4 41f04e599eSPablo Neira Ayuso 42f04e599eSPablo Neira Ayusoconfig NFT_REJECT_IPV4 43f04e599eSPablo Neira Ayuso select NF_REJECT_IPV4 44f04e599eSPablo Neira Ayuso default NFT_REJECT 45f04e599eSPablo Neira Ayuso tristate 46f04e599eSPablo Neira Ayuso 47d877f071SPablo Neira Ayusoconfig NFT_DUP_IPV4 48d877f071SPablo Neira Ayuso tristate "IPv4 nf_tables packet duplication support" 49d3340b79SPablo Neira Ayuso depends on !NF_CONNTRACK || NF_CONNTRACK 50d877f071SPablo Neira Ayuso select NF_DUP_IPV4 51d877f071SPablo Neira Ayuso help 52d877f071SPablo Neira Ayuso This module enables IPv4 packet duplication support for nf_tables. 53d877f071SPablo Neira Ayuso 54f6d0cbcfSFlorian Westphalconfig NFT_FIB_IPV4 55f6d0cbcfSFlorian Westphal select NFT_FIB 56f6d0cbcfSFlorian Westphal tristate "nf_tables fib / ip route lookup support" 57f6d0cbcfSFlorian Westphal help 58f6d0cbcfSFlorian Westphal This module enables IPv4 FIB lookups, e.g. for reverse path filtering. 59f6d0cbcfSFlorian Westphal It also allows query of the FIB for the route type, e.g. local, unicast, 60f6d0cbcfSFlorian Westphal multicast or blackhole. 61f6d0cbcfSFlorian Westphal 62f04e599eSPablo Neira Ayusoendif # NF_TABLES_IPV4 63f04e599eSPablo Neira Ayuso 64f04e599eSPablo Neira Ayusoconfig NF_TABLES_ARP 6502c7b25eSPablo Neira Ayuso bool "ARP nf_tables support" 662a95183aSFlorian Westphal select NETFILTER_FAMILY_ARP 67f04e599eSPablo Neira Ayuso help 68f04e599eSPablo Neira Ayuso This option enables the ARP support for nf_tables. 69f04e599eSPablo Neira Ayuso 70f04e599eSPablo Neira Ayusoendif # NF_TABLES 71f04e599eSPablo Neira Ayuso 72bbde9fc1SPablo Neira Ayusoconfig NF_DUP_IPV4 73bbde9fc1SPablo Neira Ayuso tristate "Netfilter IPv4 packet duplication to alternate destination" 746ece90f9SPablo Neira Ayuso depends on !NF_CONNTRACK || NF_CONNTRACK 75bbde9fc1SPablo Neira Ayuso help 76bbde9fc1SPablo Neira Ayuso This option enables the nf_dup_ipv4 core, which duplicates an IPv4 77bbde9fc1SPablo Neira Ayuso packet to be rerouted to another destination. 78bbde9fc1SPablo Neira Ayuso 79c1878869SPablo Neira Ayusoconfig NF_LOG_ARP 80c1878869SPablo Neira Ayuso tristate "ARP packet logging" 81c1878869SPablo Neira Ayuso default m if NETFILTER_ADVANCED=n 82f11d61e7SFlorian Westphal select NF_LOG_SYSLOG 83f11d61e7SFlorian Westphal help 84f11d61e7SFlorian Westphal This is a backwards-compat option for the user's convenience 85f11d61e7SFlorian Westphal (e.g. when running oldconfig). It selects CONFIG_NF_LOG_SYSLOG. 86c1878869SPablo Neira Ayuso 87c1878869SPablo Neira Ayusoconfig NF_LOG_IPV4 88c1878869SPablo Neira Ayuso tristate "IPv4 packet logging" 89c1878869SPablo Neira Ayuso default m if NETFILTER_ADVANCED=n 90db3187aeSFlorian Westphal select NF_LOG_SYSLOG 91db3187aeSFlorian Westphal help 92db3187aeSFlorian Westphal This is a backwards-compat option for the user's convenience 93db3187aeSFlorian Westphal (e.g. when running oldconfig). It selects CONFIG_NF_LOG_SYSLOG. 94c1878869SPablo Neira Ayuso 95c8d7b98bSPablo Neira Ayusoconfig NF_REJECT_IPV4 96c8d7b98bSPablo Neira Ayuso tristate "IPv4 packet rejection" 97c8d7b98bSPablo Neira Ayuso default m if NETFILTER_ADVANCED=n 98c8d7b98bSPablo Neira Ayuso 993bf195aeSFlorian Westphalif NF_NAT 1008993cf8eSPablo Neira Ayusoconfig NF_NAT_SNMP_BASIC 1018993cf8eSPablo Neira Ayuso tristate "Basic SNMP-ALG support" 1028993cf8eSPablo Neira Ayuso depends on NF_CONNTRACK_SNMP 1038993cf8eSPablo Neira Ayuso depends on NETFILTER_ADVANCED 1048993cf8eSPablo Neira Ayuso default NF_NAT && NF_CONNTRACK_SNMP 105cc2d5863STaehee Yoo select ASN1 106a7f7f624SMasahiro Yamada help 1078993cf8eSPablo Neira Ayuso 1088993cf8eSPablo Neira Ayuso This module implements an Application Layer Gateway (ALG) for 1098993cf8eSPablo Neira Ayuso SNMP payloads. In conjunction with NAT, it allows a network 1108993cf8eSPablo Neira Ayuso management system to access multiple private networks with 1118993cf8eSPablo Neira Ayuso conflicting addresses. It works by modifying IP addresses 1128993cf8eSPablo Neira Ayuso inside SNMP payloads to match IP-layer NAT mapping. 1138993cf8eSPablo Neira Ayuso 1148993cf8eSPablo Neira Ayuso This is the "basic" form of SNMP-ALG, as described in RFC 2962 1158993cf8eSPablo Neira Ayuso 1168993cf8eSPablo Neira Ayuso To compile it as a module, choose M here. If unsure, say N. 1178993cf8eSPablo Neira Ayuso 1188993cf8eSPablo Neira Ayusoconfig NF_NAT_PPTP 1198993cf8eSPablo Neira Ayuso tristate 1208993cf8eSPablo Neira Ayuso depends on NF_CONNTRACK 1218993cf8eSPablo Neira Ayuso default NF_CONNTRACK_PPTP 1228993cf8eSPablo Neira Ayuso 1238993cf8eSPablo Neira Ayusoconfig NF_NAT_H323 1248993cf8eSPablo Neira Ayuso tristate 1258993cf8eSPablo Neira Ayuso depends on NF_CONNTRACK 1268993cf8eSPablo Neira Ayuso default NF_CONNTRACK_H323 1278993cf8eSPablo Neira Ayuso 1283bf195aeSFlorian Westphalendif # NF_NAT 1298993cf8eSPablo Neira Ayuso 1301da177e4SLinus Torvaldsconfig IP_NF_IPTABLES 1311da177e4SLinus Torvalds tristate "IP tables support (required for filtering/masq/NAT)" 13233b8e776SPatrick McHardy default m if NETFILTER_ADVANCED=n 133a3c941b0SPatrick McHardy select NETFILTER_XTABLES 1341da177e4SLinus Torvalds help 1351da177e4SLinus Torvalds iptables is a general, extensible packet identification framework. 1361da177e4SLinus Torvalds The packet filtering and full NAT (masquerading, port forwarding, 1371da177e4SLinus Torvalds etc) subsystems now use this: say `Y' or `M' here if you want to use 1381da177e4SLinus Torvalds either of those. 1391da177e4SLinus Torvalds 1401da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 1411da177e4SLinus Torvalds 142c2df73deSJan Engelhardtif IP_NF_IPTABLES 143c2df73deSJan Engelhardt 1441da177e4SLinus Torvalds# The matches. 145dc5ab2faSYasuyuki Kozakaiconfig IP_NF_MATCH_AH 1464c37799cSJan Engelhardt tristate '"ah" match support' 14733b8e776SPatrick McHardy depends on NETFILTER_ADVANCED 1481da177e4SLinus Torvalds help 149dc5ab2faSYasuyuki Kozakai This match extension allows you to match a range of SPIs 150dc5ab2faSYasuyuki Kozakai inside AH header of IPSec packets. 1511da177e4SLinus Torvalds 1521da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 1531da177e4SLinus Torvalds 154aba0d348SJan Engelhardtconfig IP_NF_MATCH_ECN 155aba0d348SJan Engelhardt tristate '"ecn" match support' 156aba0d348SJan Engelhardt depends on NETFILTER_ADVANCED 157d446a820SJan Engelhardt select NETFILTER_XT_MATCH_ECN 158a7f7f624SMasahiro Yamada help 159d446a820SJan Engelhardt This is a backwards-compat option for the user's convenience 160d446a820SJan Engelhardt (e.g. when running oldconfig). It selects 161d446a820SJan Engelhardt CONFIG_NETFILTER_XT_MATCH_ECN. 162aba0d348SJan Engelhardt 1638f97339dSFlorian Westphalconfig IP_NF_MATCH_RPFILTER 1648f97339dSFlorian Westphal tristate '"rpfilter" reverse path filter match support' 165f09becc7SPablo Neira Ayuso depends on NETFILTER_ADVANCED 166a9525c7fSFlorian Westphal depends on IP_NF_MANGLE || IP_NF_RAW || NFT_COMPAT 167a7f7f624SMasahiro Yamada help 1688f97339dSFlorian Westphal This option allows you to match packets whose replies would 1698f97339dSFlorian Westphal go out via the interface the packet came in. 1708f97339dSFlorian Westphal 1718f97339dSFlorian Westphal To compile it as a module, choose M here. If unsure, say N. 1728f97339dSFlorian Westphal The module will be called ipt_rpfilter. 1738f97339dSFlorian Westphal 1744323362eSJan Engelhardtconfig IP_NF_MATCH_TTL 1754323362eSJan Engelhardt tristate '"ttl" match support' 1764323362eSJan Engelhardt depends on NETFILTER_ADVANCED 1774323362eSJan Engelhardt select NETFILTER_XT_MATCH_HL 178a7f7f624SMasahiro Yamada help 1794323362eSJan Engelhardt This is a backwards-compat option for the user's convenience 1804323362eSJan Engelhardt (e.g. when running oldconfig). It selects 18167c0d579SStephen Hemminger CONFIG_NETFILTER_XT_MATCH_HL. 1824323362eSJan Engelhardt 1831da177e4SLinus Torvalds# `filter', generic and specific targets 1841da177e4SLinus Torvaldsconfig IP_NF_FILTER 1851da177e4SLinus Torvalds tristate "Packet filtering" 1869fce6658SPablo Neira Ayuso default m if NETFILTER_ADVANCED=n || IP_NF_IPTABLES_LEGACY 1879fce6658SPablo Neira Ayuso depends on IP_NF_IPTABLES_LEGACY 1881da177e4SLinus Torvalds help 1891da177e4SLinus Torvalds Packet filtering defines a table `filter', which has a series of 1901da177e4SLinus Torvalds rules for simple packet filtering at local input, forwarding and 1911da177e4SLinus Torvalds local output. See the man page for iptables(8). 1921da177e4SLinus Torvalds 1931da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 1941da177e4SLinus Torvalds 1951da177e4SLinus Torvaldsconfig IP_NF_TARGET_REJECT 1961da177e4SLinus Torvalds tristate "REJECT target support" 197a9525c7fSFlorian Westphal depends on IP_NF_FILTER || NFT_COMPAT 198c8d7b98bSPablo Neira Ayuso select NF_REJECT_IPV4 19933b8e776SPatrick McHardy default m if NETFILTER_ADVANCED=n 2001da177e4SLinus Torvalds help 2011da177e4SLinus Torvalds The REJECT target allows a filtering rule to specify that an ICMP 2021da177e4SLinus Torvalds error should be issued in response to an incoming packet, rather 2031da177e4SLinus Torvalds than silently being dropped. 2041da177e4SLinus Torvalds 2051da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 2061da177e4SLinus Torvalds 20748b1de4cSPatrick McHardyconfig IP_NF_TARGET_SYNPROXY 20848b1de4cSPatrick McHardy tristate "SYNPROXY target support" 20948b1de4cSPatrick McHardy depends on NF_CONNTRACK && NETFILTER_ADVANCED 21048b1de4cSPatrick McHardy select NETFILTER_SYNPROXY 21148b1de4cSPatrick McHardy select SYN_COOKIES 21248b1de4cSPatrick McHardy help 21348b1de4cSPatrick McHardy The SYNPROXY target allows you to intercept TCP connections and 21448b1de4cSPatrick McHardy establish them using syncookies before they are passed on to the 21548b1de4cSPatrick McHardy server. This allows to avoid conntrack and server resource usage 21648b1de4cSPatrick McHardy during SYN-flood attacks. 21748b1de4cSPatrick McHardy 21848b1de4cSPatrick McHardy To compile it as a module, choose M here. If unsure, say N. 21948b1de4cSPatrick McHardy 2205b1158e9SJozsef Kadlecsik# NAT + specific targets: nf_conntrack 2218993cf8eSPablo Neira Ayusoconfig IP_NF_NAT 2228993cf8eSPablo Neira Ayuso tristate "iptables NAT support" 223a0ae2562SFlorian Westphal depends on NF_CONNTRACK 2249fce6658SPablo Neira Ayuso depends on IP_NF_IPTABLES_LEGACY 22533b8e776SPatrick McHardy default m if NETFILTER_ADVANCED=n 226c7232c99SPatrick McHardy select NF_NAT 2278993cf8eSPablo Neira Ayuso select NETFILTER_XT_NAT 2285b1158e9SJozsef Kadlecsik help 2298993cf8eSPablo Neira Ayuso This enables the `nat' table in iptables. This allows masquerading, 2308993cf8eSPablo Neira Ayuso port forwarding and other forms of full Network Address Port 2318993cf8eSPablo Neira Ayuso Translation. 2325b1158e9SJozsef Kadlecsik 2335b1158e9SJozsef Kadlecsik To compile it as a module, choose M here. If unsure, say N. 2345b1158e9SJozsef Kadlecsik 2358993cf8eSPablo Neira Ayusoif IP_NF_NAT 2361da177e4SLinus Torvalds 2371da177e4SLinus Torvaldsconfig IP_NF_TARGET_MASQUERADE 2381da177e4SLinus Torvalds tristate "MASQUERADE target support" 239adf82accSFlorian Westphal select NETFILTER_XT_TARGET_MASQUERADE 2401da177e4SLinus Torvalds help 241adf82accSFlorian Westphal This is a backwards-compat option for the user's convenience 242adf82accSFlorian Westphal (e.g. when running oldconfig). It selects NETFILTER_XT_TARGET_MASQUERADE. 2431da177e4SLinus Torvalds 244aba0d348SJan Engelhardtconfig IP_NF_TARGET_NETMAP 245aba0d348SJan Engelhardt tristate "NETMAP target support" 246aba0d348SJan Engelhardt depends on NETFILTER_ADVANCED 247b3d54b3eSJan Engelhardt select NETFILTER_XT_TARGET_NETMAP 248a7f7f624SMasahiro Yamada help 249b3d54b3eSJan Engelhardt This is a backwards-compat option for the user's convenience 250b3d54b3eSJan Engelhardt (e.g. when running oldconfig). It selects 251b3d54b3eSJan Engelhardt CONFIG_NETFILTER_XT_TARGET_NETMAP. 252aba0d348SJan Engelhardt 2531da177e4SLinus Torvaldsconfig IP_NF_TARGET_REDIRECT 2541da177e4SLinus Torvalds tristate "REDIRECT target support" 25533b8e776SPatrick McHardy depends on NETFILTER_ADVANCED 2562cbc78a2SJan Engelhardt select NETFILTER_XT_TARGET_REDIRECT 257a7f7f624SMasahiro Yamada help 2582cbc78a2SJan Engelhardt This is a backwards-compat option for the user's convenience 2592cbc78a2SJan Engelhardt (e.g. when running oldconfig). It selects 2602cbc78a2SJan Engelhardt CONFIG_NETFILTER_XT_TARGET_REDIRECT. 2611da177e4SLinus Torvalds 2628993cf8eSPablo Neira Ayusoendif # IP_NF_NAT 263f587de0eSPatrick McHardy 2641da177e4SLinus Torvalds# mangle + specific targets 2651da177e4SLinus Torvaldsconfig IP_NF_MANGLE 2661da177e4SLinus Torvalds tristate "Packet mangling" 2679fce6658SPablo Neira Ayuso default m if NETFILTER_ADVANCED=n || IP_NF_IPTABLES_LEGACY 2689fce6658SPablo Neira Ayuso depends on IP_NF_IPTABLES_LEGACY 2691da177e4SLinus Torvalds help 2701da177e4SLinus Torvalds This option adds a `mangle' table to iptables: see the man page for 2711da177e4SLinus Torvalds iptables(8). This table is used for various packet alterations 2721da177e4SLinus Torvalds which can effect how the packet is routed. 2731da177e4SLinus Torvalds 2741da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 2751da177e4SLinus Torvalds 2761da177e4SLinus Torvaldsconfig IP_NF_TARGET_ECN 2771da177e4SLinus Torvalds tristate "ECN target support" 278a9525c7fSFlorian Westphal depends on IP_NF_MANGLE || NFT_COMPAT 27933b8e776SPatrick McHardy depends on NETFILTER_ADVANCED 280a7f7f624SMasahiro Yamada help 2811da177e4SLinus Torvalds This option adds a `ECN' target, which can be used in the iptables mangle 2821da177e4SLinus Torvalds table. 2831da177e4SLinus Torvalds 2841da177e4SLinus Torvalds You can use this target to remove the ECN bits from the IPv4 header of 2851da177e4SLinus Torvalds an IP packet. This is particularly useful, if you need to work around 2861da177e4SLinus Torvalds existing ECN blackholes on the internet, but don't want to disable 2871da177e4SLinus Torvalds ECN support in general. 2881da177e4SLinus Torvalds 2891da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 2901da177e4SLinus Torvalds 2914323362eSJan Engelhardtconfig IP_NF_TARGET_TTL 2924323362eSJan Engelhardt tristate '"TTL" target support' 29376b6717bSRandy Dunlap depends on NETFILTER_ADVANCED && IP_NF_MANGLE 2944323362eSJan Engelhardt select NETFILTER_XT_TARGET_HL 295a7f7f624SMasahiro Yamada help 29676b6717bSRandy Dunlap This is a backwards-compatible option for the user's convenience 2974323362eSJan Engelhardt (e.g. when running oldconfig). It selects 29867c0d579SStephen Hemminger CONFIG_NETFILTER_XT_TARGET_HL. 2994323362eSJan Engelhardt 3001da177e4SLinus Torvalds# raw + specific targets 3011da177e4SLinus Torvaldsconfig IP_NF_RAW 3021da177e4SLinus Torvalds tristate 'raw table support (required for NOTRACK/TRACE)' 3039fce6658SPablo Neira Ayuso depends on IP_NF_IPTABLES_LEGACY 3041da177e4SLinus Torvalds help 3051da177e4SLinus Torvalds This option adds a `raw' table to iptables. This table is the very 3061da177e4SLinus Torvalds first in the netfilter framework and hooks in at the PREROUTING 3071da177e4SLinus Torvalds and OUTPUT chains. 3081da177e4SLinus Torvalds 3091da177e4SLinus Torvalds If you want to compile it as a module, say M here and read 310cd238effSMauro Carvalho Chehab <file:Documentation/kbuild/modules.rst>. If unsure, say `N'. 3111da177e4SLinus Torvalds 312560ee653SJames Morris# security table for MAC policy 313560ee653SJames Morrisconfig IP_NF_SECURITY 314560ee653SJames Morris tristate "Security table" 315560ee653SJames Morris depends on SECURITY 31670eed75dSPatrick McHardy depends on NETFILTER_ADVANCED 3179fce6658SPablo Neira Ayuso depends on IP_NF_IPTABLES_LEGACY 318560ee653SJames Morris help 319560ee653SJames Morris This option adds a `security' table to iptables, for use 320560ee653SJames Morris with Mandatory Access Control (MAC) policy. 321560ee653SJames Morris 322560ee653SJames Morris If unsure, say N. 323560ee653SJames Morris 324c2df73deSJan Engelhardtendif # IP_NF_IPTABLES 325c2df73deSJan Engelhardt 3261da177e4SLinus Torvalds# ARP tables 3271da177e4SLinus Torvaldsconfig IP_NF_ARPTABLES 3286c959fd5SBreno Leitao tristate "Legacy ARPTABLES support" 3299fce6658SPablo Neira Ayuso depends on NETFILTER_XTABLES_LEGACY 330*25a8b88fSArnd Bergmann depends on NETFILTER_XTABLES 3316c959fd5SBreno Leitao default n 3326c959fd5SBreno Leitao help 3336c959fd5SBreno Leitao arptables is a legacy packet classifier. 3346c959fd5SBreno Leitao This is not needed if you are using arptables over nftables 3356c959fd5SBreno Leitao (iptables-nft). 3361da177e4SLinus Torvalds 3374654467dSFlorian Westphalconfig NFT_COMPAT_ARP 3384654467dSFlorian Westphal tristate 3394654467dSFlorian Westphal depends on NF_TABLES_ARP && NFT_COMPAT 3404654467dSFlorian Westphal default m if NFT_COMPAT=m 3414654467dSFlorian Westphal default y if NFT_COMPAT=y 342c2df73deSJan Engelhardt 3431da177e4SLinus Torvaldsconfig IP_NF_ARPFILTER 3444654467dSFlorian Westphal tristate "arptables-legacy packet filtering support" 3454654467dSFlorian Westphal select IP_NF_ARPTABLES 34615fba562SKuniyuki Iwashima select NETFILTER_FAMILY_ARP 3479fce6658SPablo Neira Ayuso depends on NETFILTER_XTABLES_LEGACY 348*25a8b88fSArnd Bergmann depends on NETFILTER_XTABLES 3491da177e4SLinus Torvalds help 3501da177e4SLinus Torvalds ARP packet filtering defines a table `filter', which has a series of 3511da177e4SLinus Torvalds rules for simple ARP packet filtering at local input and 3524654467dSFlorian Westphal local output. This is only needed for arptables-legacy(8). 3534654467dSFlorian Westphal Neither arptables-nft nor nftables need this to work. 3541da177e4SLinus Torvalds 3551da177e4SLinus Torvalds To compile it as a module, choose M here. If unsure, say N. 3561da177e4SLinus Torvalds 3571da177e4SLinus Torvaldsconfig IP_NF_ARP_MANGLE 3581da177e4SLinus Torvalds tristate "ARP payload mangling" 3594654467dSFlorian Westphal depends on IP_NF_ARPTABLES || NFT_COMPAT_ARP 3601da177e4SLinus Torvalds help 3611da177e4SLinus Torvalds Allows altering the ARP packet payload: source and destination 3621da177e4SLinus Torvalds hardware and network addresses. 3631da177e4SLinus Torvalds 3644654467dSFlorian Westphal This option is needed by both arptables-legacy and arptables-nft. 3654654467dSFlorian Westphal It is not used by nftables. 366c2df73deSJan Engelhardt 3671da177e4SLinus Torvaldsendmenu 3681da177e4SLinus Torvalds 369