Kconfig 6.7 KB

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