Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. #
  2. # Bridge netfilter configuration
  3. #
  4. #
  5. menuconfig NF_TABLES_BRIDGE
  6. depends on BRIDGE && NETFILTER && NF_TABLES
  7. select NETFILTER_FAMILY_BRIDGE
  8. bool "Ethernet Bridge nf_tables support"
  9. if NF_TABLES_BRIDGE
  10. config NFT_BRIDGE_REJECT
  11. tristate "Netfilter nf_tables bridge reject support"
  12. depends on NFT_REJECT && NFT_REJECT_IPV4 && NFT_REJECT_IPV6
  13. help
  14. Add support to reject packets.
  15. config NF_LOG_BRIDGE
  16. tristate "Bridge packet logging"
  17. select NF_LOG_COMMON
  18. endif # NF_TABLES_BRIDGE
  19. menuconfig BRIDGE_NF_EBTABLES
  20. tristate "Ethernet Bridge tables (ebtables) support"
  21. depends on BRIDGE && NETFILTER && NETFILTER_XTABLES
  22. select NETFILTER_FAMILY_BRIDGE
  23. help
  24. ebtables is a general, extensible frame/packet identification
  25. framework. Say 'Y' or 'M' here if you want to do Ethernet
  26. filtering/NAT/brouting on the Ethernet bridge.
  27. if BRIDGE_NF_EBTABLES
  28. #
  29. # tables
  30. #
  31. config BRIDGE_EBT_BROUTE
  32. tristate "ebt: broute table support"
  33. help
  34. The ebtables broute table is used to define rules that decide between
  35. bridging and routing frames, giving Linux the functionality of a
  36. brouter. See the man page for ebtables(8) and examples on the ebtables
  37. website.
  38. To compile it as a module, choose M here. If unsure, say N.
  39. config BRIDGE_EBT_T_FILTER
  40. tristate "ebt: filter table support"
  41. help
  42. The ebtables filter table is used to define frame filtering rules at
  43. local input, forwarding and local output. See the man page for
  44. ebtables(8).
  45. To compile it as a module, choose M here. If unsure, say N.
  46. config BRIDGE_EBT_T_NAT
  47. tristate "ebt: nat table support"
  48. help
  49. The ebtables nat table is used to define rules that alter the MAC
  50. source address (MAC SNAT) or the MAC destination address (MAC DNAT).
  51. See the man page for ebtables(8).
  52. To compile it as a module, choose M here. If unsure, say N.
  53. #
  54. # matches
  55. #
  56. config BRIDGE_EBT_802_3
  57. tristate "ebt: 802.3 filter support"
  58. help
  59. This option adds matching support for 802.3 Ethernet frames.
  60. To compile it as a module, choose M here. If unsure, say N.
  61. config BRIDGE_EBT_AMONG
  62. tristate "ebt: among filter support"
  63. help
  64. This option adds the among match, which allows matching the MAC source
  65. and/or destination address on a list of addresses. Optionally,
  66. MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
  67. To compile it as a module, choose M here. If unsure, say N.
  68. config BRIDGE_EBT_ARP
  69. tristate "ebt: ARP filter support"
  70. help
  71. This option adds the ARP match, which allows ARP and RARP header field
  72. filtering.
  73. To compile it as a module, choose M here. If unsure, say N.
  74. config BRIDGE_EBT_IP
  75. tristate "ebt: IP filter support"
  76. help
  77. This option adds the IP match, which allows basic IP header field
  78. filtering.
  79. To compile it as a module, choose M here. If unsure, say N.
  80. config BRIDGE_EBT_IP6
  81. tristate "ebt: IP6 filter support"
  82. depends on BRIDGE_NF_EBTABLES && IPV6
  83. help
  84. This option adds the IP6 match, which allows basic IPV6 header field
  85. filtering.
  86. To compile it as a module, choose M here. If unsure, say N.
  87. config BRIDGE_EBT_LIMIT
  88. tristate "ebt: limit match support"
  89. help
  90. This option adds the limit match, which allows you to control
  91. the rate at which a rule can be matched. This match is the
  92. equivalent of the iptables limit match.
  93. If you want to compile it as a module, say M here and read
  94. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  95. config BRIDGE_EBT_MARK
  96. tristate "ebt: mark filter support"
  97. help
  98. This option adds the mark match, which allows matching frames based on
  99. the 'nfmark' value in the frame. This can be set by the mark target.
  100. This value is the same as the one used in the iptables mark match and
  101. target.
  102. To compile it as a module, choose M here. If unsure, say N.
  103. config BRIDGE_EBT_PKTTYPE
  104. tristate "ebt: packet type filter support"
  105. help
  106. This option adds the packet type match, which allows matching on the
  107. type of packet based on its Ethernet "class" (as determined by
  108. the generic networking code): broadcast, multicast,
  109. for this host alone or for another host.
  110. To compile it as a module, choose M here. If unsure, say N.
  111. config BRIDGE_EBT_STP
  112. tristate "ebt: STP filter support"
  113. help
  114. This option adds the Spanning Tree Protocol match, which
  115. allows STP header field filtering.
  116. To compile it as a module, choose M here. If unsure, say N.
  117. config BRIDGE_EBT_VLAN
  118. tristate "ebt: 802.1Q VLAN filter support"
  119. help
  120. This option adds the 802.1Q vlan match, which allows the filtering of
  121. 802.1Q vlan fields.
  122. To compile it as a module, choose M here. If unsure, say N.
  123. #
  124. # targets
  125. #
  126. config BRIDGE_EBT_ARPREPLY
  127. tristate "ebt: arp reply target support"
  128. depends on BRIDGE_NF_EBTABLES && INET
  129. help
  130. This option adds the arp reply target, which allows
  131. automatically sending arp replies to arp requests.
  132. To compile it as a module, choose M here. If unsure, say N.
  133. config BRIDGE_EBT_DNAT
  134. tristate "ebt: dnat target support"
  135. help
  136. This option adds the MAC DNAT target, which allows altering the MAC
  137. destination address of frames.
  138. To compile it as a module, choose M here. If unsure, say N.
  139. config BRIDGE_EBT_MARK_T
  140. tristate "ebt: mark target support"
  141. help
  142. This option adds the mark target, which allows marking frames by
  143. setting the 'nfmark' value in the frame.
  144. This value is the same as the one used in the iptables mark match and
  145. target.
  146. To compile it as a module, choose M here. If unsure, say N.
  147. config BRIDGE_EBT_REDIRECT
  148. tristate "ebt: redirect target support"
  149. help
  150. This option adds the MAC redirect target, which allows altering the MAC
  151. destination address of a frame to that of the device it arrived on.
  152. To compile it as a module, choose M here. If unsure, say N.
  153. config BRIDGE_EBT_SNAT
  154. tristate "ebt: snat target support"
  155. help
  156. This option adds the MAC SNAT target, which allows altering the MAC
  157. source address of frames.
  158. To compile it as a module, choose M here. If unsure, say N.
  159. #
  160. # watchers
  161. #
  162. config BRIDGE_EBT_LOG
  163. tristate "ebt: log support"
  164. help
  165. This option adds the log watcher, that you can use in any rule
  166. in any ebtables table. It records info about the frame header
  167. to the syslog.
  168. To compile it as a module, choose M here. If unsure, say N.
  169. config BRIDGE_EBT_NFLOG
  170. tristate "ebt: nflog support"
  171. help
  172. This option enables the nflog watcher, which allows to LOG
  173. messages through the netfilter logging API, which can use
  174. either the old LOG target, the old ULOG target or nfnetlink_log
  175. as backend.
  176. This option adds the nflog watcher, that you can use in any rule
  177. in any ebtables table.
  178. To compile it as a module, choose M here. If unsure, say N.
  179. endif # BRIDGE_NF_EBTABLES