Config.in.netfilter.ebt 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. config ADK_KERNEL_BRIDGE_NF_EBTABLES
  2. tristate 'Ethernet Bridge tables support'
  3. select ADK_KERNEL_BRIDGE_NETFILTER
  4. default n
  5. help
  6. ebtables is a general, extensible frame/packet identification
  7. framework. Say 'Y' or 'M' here if you want to do Ethernet
  8. filtering/NAT/brouting on the Ethernet bridge.
  9. config ADK_KERNEL_BRIDGE_EBT_BROUTE
  10. tristate "broute table support"
  11. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  12. default n
  13. help
  14. The ebtables broute table is used to define rules that decide between
  15. bridging and routing frames, giving Linux the functionality of a
  16. brouter. See the man page for ebtables(8) and examples on the ebtables
  17. website.
  18. To compile it as a module, choose M here. If unsure, say N.
  19. config ADK_KERNEL_BRIDGE_EBT_T_FILTER
  20. tristate "filter table support"
  21. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  22. default n
  23. help
  24. The ebtables filter table is used to define frame filtering rules at
  25. local input, forwarding and local output. See the man page for
  26. ebtables(8).
  27. To compile it as a module, choose M here. If unsure, say N.
  28. config ADK_KERNEL_BRIDGE_EBT_T_NAT
  29. tristate "nat table support"
  30. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  31. default n
  32. help
  33. The ebtables nat table is used to define rules that alter the MAC
  34. source address (MAC SNAT) or the MAC destination address (MAC DNAT).
  35. See the man page for ebtables(8).
  36. #
  37. # matches
  38. #
  39. config ADK_KERNEL_BRIDGE_EBT_802_3
  40. tristate "802.3 filter support"
  41. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  42. default n
  43. help
  44. This option adds matching support for 802.3 Ethernet frames.
  45. config ADK_KERNEL_BRIDGE_EBT_AMONG
  46. tristate "among filter support"
  47. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  48. default n
  49. help
  50. This option adds the among match, which allows matching the MAC source
  51. and/or destination address on a list of addresses. Optionally,
  52. MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
  53. config ADK_KERNEL_BRIDGE_EBT_ARP
  54. tristate "ARP filter support"
  55. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  56. default n
  57. help
  58. This option adds the ARP match, which allows ARP and RARP header field
  59. filtering.
  60. config ADK_KERNEL_BRIDGE_EBT_IP
  61. tristate "IP filter support"
  62. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  63. default n
  64. help
  65. This option adds the IP match, which allows basic IP header field
  66. filtering.
  67. config ADK_KERNEL_BRIDGE_EBT_IP6
  68. tristate "IP6 filter support"
  69. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES && ADK_KERNEL_IPV6
  70. default n
  71. help
  72. This option adds the IP6 match, which allows basic IPV6 header field
  73. filtering.
  74. config ADK_KERNEL_BRIDGE_EBT_LIMIT
  75. tristate "limit match support"
  76. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  77. default n
  78. help
  79. This option adds the limit match, which allows you to control
  80. the rate at which a rule can be matched. This match is the
  81. equivalent of the iptables limit match.
  82. config ADK_KERNEL_BRIDGE_EBT_MARK
  83. tristate "mark filter support"
  84. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  85. default n
  86. help
  87. This option adds the mark match, which allows matching frames based on
  88. the 'nfmark' value in the frame. This can be set by the mark target.
  89. This value is the same as the one used in the iptables mark match and
  90. target.
  91. config ADK_KERNEL_BRIDGE_EBT_PKTTYPE
  92. tristate "packet type filter support"
  93. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  94. default n
  95. help
  96. This option adds the packet type match, which allows matching on the
  97. type of packet based on its Ethernet "class" (as determined by
  98. the generic networking code): broadcast, multicast,
  99. for this host alone or for another host.
  100. config ADK_KERNEL_BRIDGE_EBT_STP
  101. tristate "STP filter support"
  102. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  103. default n
  104. help
  105. This option adds the Spanning Tree Protocol match, which
  106. allows STP header field filtering.
  107. config ADK_KERNEL_BRIDGE_EBT_VLAN
  108. tristate "802.1Q VLAN filter support"
  109. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  110. default n
  111. help
  112. This option adds the 802.1Q vlan match, which allows the filtering of
  113. 802.1Q vlan fields.
  114. #
  115. # targets
  116. #
  117. config ADK_KERNEL_BRIDGE_EBT_ARPREPLY
  118. tristate "arp reply target support"
  119. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  120. default n
  121. help
  122. This option adds the arp reply target, which allows
  123. automatically sending arp replies to arp requests.
  124. config ADK_KERNEL_BRIDGE_EBT_DNAT
  125. tristate "dnat target support"
  126. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  127. default n
  128. help
  129. This option adds the MAC DNAT target, which allows altering the MAC
  130. destination address of frames.
  131. config ADK_KERNEL_BRIDGE_EBT_MARK_T
  132. tristate "mark target support"
  133. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  134. default n
  135. help
  136. This option adds the mark target, which allows marking frames by
  137. setting the 'nfmark' value in the frame.
  138. This value is the same as the one used in the iptables mark match and
  139. target.
  140. config ADK_KERNEL_BRIDGE_EBT_REDIRECT
  141. tristate "redirect target support"
  142. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  143. default n
  144. help
  145. This option adds the MAC redirect target, which allows altering the MAC
  146. destination address of a frame to that of the device it arrived on.
  147. config ADK_KERNEL_BRIDGE_EBT_SNAT
  148. tristate "snat target support"
  149. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  150. default n
  151. help
  152. This option adds the MAC SNAT target, which allows altering the MAC
  153. source address of frames.
  154. #
  155. # watchers
  156. #
  157. config ADK_KERNEL_BRIDGE_EBT_LOG
  158. tristate "log support"
  159. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  160. default n
  161. help
  162. This option adds the log watcher, that you can use in any rule
  163. in any ebtables table. It records info about the frame header
  164. to the syslog.
  165. config ADK_KERNEL_BRIDGE_EBT_ULOG
  166. tristate "ulog support"
  167. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  168. default n
  169. help
  170. This option enables the old bridge-specific "ebt_ulog" implementation
  171. which has been obsoleted by the new "nfnetlink_log" code (see
  172. CONFIG_NETFILTER_NETLINK_LOG).
  173. This option adds the ulog watcher, that you can use in any rule
  174. in any ebtables table. The packet is passed to a userspace
  175. logging daemon using netlink multicast sockets. This differs
  176. from the log watcher in the sense that the complete packet is
  177. sent to userspace instead of a descriptive text and that
  178. netlink multicast sockets are used instead of the syslog.
  179. config ADK_KERNEL_BRIDGE_EBT_NFLOG
  180. tristate "nflog support"
  181. depends on ADK_KERNEL_BRIDGE_NF_EBTABLES
  182. default n
  183. help
  184. This option enables the nflog watcher, which allows to LOG
  185. messages through the netfilter logging API, which can use
  186. either the old LOG target, the old ULOG target or nfnetlink_log
  187. as backend.
  188. This option adds the nflog watcher, that you can use in any rule
  189. in any ebtables table.