2 # Bridge netfilter configuration
5 menu "Bridge: Netfilter Configuration"
6 depends on BRIDGE && BRIDGE_NETFILTER
8 config BRIDGE_NF_EBTABLES
9 tristate "Ethernet Bridge tables (ebtables) support"
10 select NETFILTER_XTABLES
12 ebtables is a general, extensible frame/packet identification
13 framework. Say 'Y' or 'M' here if you want to do Ethernet
14 filtering/NAT/brouting on the Ethernet bridge.
18 config BRIDGE_EBT_BROUTE
19 tristate "ebt: broute table support"
20 depends on BRIDGE_NF_EBTABLES
22 The ebtables broute table is used to define rules that decide between
23 bridging and routing frames, giving Linux the functionality of a
24 brouter. See the man page for ebtables(8) and examples on the ebtables
27 To compile it as a module, choose M here. If unsure, say N.
29 config BRIDGE_EBT_T_FILTER
30 tristate "ebt: filter table support"
31 depends on BRIDGE_NF_EBTABLES
33 The ebtables filter table is used to define frame filtering rules at
34 local input, forwarding and local output. See the man page for
37 To compile it as a module, choose M here. If unsure, say N.
39 config BRIDGE_EBT_T_NAT
40 tristate "ebt: nat table support"
41 depends on BRIDGE_NF_EBTABLES
43 The ebtables nat table is used to define rules that alter the MAC
44 source address (MAC SNAT) or the MAC destination address (MAC DNAT).
45 See the man page for ebtables(8).
47 To compile it as a module, choose M here. If unsure, say N.
51 config BRIDGE_EBT_802_3
52 tristate "ebt: 802.3 filter support"
53 depends on BRIDGE_NF_EBTABLES
55 This option adds matching support for 802.3 Ethernet frames.
57 To compile it as a module, choose M here. If unsure, say N.
59 config BRIDGE_EBT_AMONG
60 tristate "ebt: among filter support"
61 depends on BRIDGE_NF_EBTABLES
63 This option adds the among match, which allows matching the MAC source
64 and/or destination address on a list of addresses. Optionally,
65 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.
70 tristate "ebt: ARP filter support"
71 depends on BRIDGE_NF_EBTABLES
73 This option adds the ARP match, which allows ARP and RARP header field
76 To compile it as a module, choose M here. If unsure, say N.
79 tristate "ebt: IP filter support"
80 depends on BRIDGE_NF_EBTABLES
82 This option adds the IP match, which allows basic IP header field
85 To compile it as a module, choose M here. If unsure, say N.
88 tristate "ebt: IP6 filter support"
89 depends on BRIDGE_NF_EBTABLES && IPV6
91 This option adds the IP6 match, which allows basic IPV6 header field
94 To compile it as a module, choose M here. If unsure, say N.
96 config BRIDGE_EBT_LIMIT
97 tristate "ebt: limit match support"
98 depends on BRIDGE_NF_EBTABLES
100 This option adds the limit match, which allows you to control
101 the rate at which a rule can be matched. This match is the
102 equivalent of the iptables limit match.
104 If you want to compile it as a module, say M here and read
105 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
107 config BRIDGE_EBT_MARK
108 tristate "ebt: mark filter support"
109 depends on BRIDGE_NF_EBTABLES
111 This option adds the mark match, which allows matching frames based on
112 the 'nfmark' value in the frame. This can be set by the mark target.
113 This value is the same as the one used in the iptables mark match and
116 To compile it as a module, choose M here. If unsure, say N.
118 config BRIDGE_EBT_PKTTYPE
119 tristate "ebt: packet type filter support"
120 depends on BRIDGE_NF_EBTABLES
122 This option adds the packet type match, which allows matching on the
123 type of packet based on its Ethernet "class" (as determined by
124 the generic networking code): broadcast, multicast,
125 for this host alone or for another host.
127 To compile it as a module, choose M here. If unsure, say N.
129 config BRIDGE_EBT_STP
130 tristate "ebt: STP filter support"
131 depends on BRIDGE_NF_EBTABLES
133 This option adds the Spanning Tree Protocol match, which
134 allows STP header field filtering.
136 To compile it as a module, choose M here. If unsure, say N.
138 config BRIDGE_EBT_VLAN
139 tristate "ebt: 802.1Q VLAN filter support"
140 depends on BRIDGE_NF_EBTABLES
142 This option adds the 802.1Q vlan match, which allows the filtering of
145 To compile it as a module, choose M here. If unsure, say N.
149 config BRIDGE_EBT_ARPREPLY
150 tristate "ebt: arp reply target support"
151 depends on BRIDGE_NF_EBTABLES && INET
153 This option adds the arp reply target, which allows
154 automatically sending arp replies to arp requests.
156 To compile it as a module, choose M here. If unsure, say N.
158 config BRIDGE_EBT_DNAT
159 tristate "ebt: dnat target support"
160 depends on BRIDGE_NF_EBTABLES
162 This option adds the MAC DNAT target, which allows altering the MAC
163 destination address of frames.
165 To compile it as a module, choose M here. If unsure, say N.
167 config BRIDGE_EBT_MARK_T
168 tristate "ebt: mark target support"
169 depends on BRIDGE_NF_EBTABLES
171 This option adds the mark target, which allows marking frames by
172 setting the 'nfmark' value in the frame.
173 This value is the same as the one used in the iptables mark match and
176 To compile it as a module, choose M here. If unsure, say N.
178 config BRIDGE_EBT_REDIRECT
179 tristate "ebt: redirect target support"
180 depends on BRIDGE_NF_EBTABLES
182 This option adds the MAC redirect target, which allows altering the MAC
183 destination address of a frame to that of the device it arrived on.
185 To compile it as a module, choose M here. If unsure, say N.
187 config BRIDGE_EBT_SNAT
188 tristate "ebt: snat target support"
189 depends on BRIDGE_NF_EBTABLES
191 This option adds the MAC SNAT target, which allows altering the MAC
192 source address of frames.
194 To compile it as a module, choose M here. If unsure, say N.
198 config BRIDGE_EBT_LOG
199 tristate "ebt: log support"
200 depends on BRIDGE_NF_EBTABLES
202 This option adds the log watcher, that you can use in any rule
203 in any ebtables table. It records info about the frame header
206 To compile it as a module, choose M here. If unsure, say N.
208 config BRIDGE_EBT_ULOG
209 tristate "ebt: ulog support (OBSOLETE)"
210 depends on BRIDGE_NF_EBTABLES
212 This option enables the old bridge-specific "ebt_ulog" implementation
213 which has been obsoleted by the new "nfnetlink_log" code (see
214 CONFIG_NETFILTER_NETLINK_LOG).
216 This option adds the ulog watcher, that you can use in any rule
217 in any ebtables table. The packet is passed to a userspace
218 logging daemon using netlink multicast sockets. This differs
219 from the log watcher in the sense that the complete packet is
220 sent to userspace instead of a descriptive text and that
221 netlink multicast sockets are used instead of the syslog.
223 To compile it as a module, choose M here. If unsure, say N.
225 config BRIDGE_EBT_NFLOG
226 tristate "ebt: nflog support"
227 depends on BRIDGE_NF_EBTABLES
229 This option enables the nflog watcher, which allows to LOG
230 messages through the netfilter logging API, which can use
231 either the old LOG target, the old ULOG target or nfnetlink_log
234 This option adds the nflog watcher, that you can use in any rule
235 in any ebtables table.
237 To compile it as a module, choose M here. If unsure, say N.