blob: 9cebf47ac840722d0294713f98ef98595272f0be [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Bridge netfilter configuration
3#
Patrick McHardy96518512013-10-14 11:00:02 +02004#
Tomasz Bursztykaf5efc692014-04-14 15:41:28 +03005menuconfig NF_TABLES_BRIDGE
Pablo Neira17088032014-05-25 14:48:33 +02006 depends on BRIDGE && NETFILTER && NF_TABLES
Patrick McHardy96518512013-10-14 11:00:02 +02007 tristate "Ethernet Bridge nf_tables support"
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Tomasz Bursztykaf5efc692014-04-14 15:41:28 +03009if NF_TABLES_BRIDGE
10
11config NFT_BRIDGE_META
12 tristate "Netfilter nf_table bridge meta support"
13 depends on NFT_META
14 help
15 Add support for bridge dedicated meta key.
16
Pablo Neira Ayuso85f5b302014-06-27 13:36:11 +020017config NFT_BRIDGE_REJECT
18 tristate "Netfilter nf_tables bridge reject support"
19 depends on NFT_REJECT && NFT_REJECT_IPV4 && NFT_REJECT_IPV6
20 help
21 Add support to reject packets.
22
Pablo Neira Ayuso960649d2014-06-23 00:28:18 +020023config NF_LOG_BRIDGE
24 tristate "Bridge packet logging"
25
Tomasz Bursztykaf5efc692014-04-14 15:41:28 +030026endif # NF_TABLES_BRIDGE
27
Jan Engelhardt20f3c562008-10-08 11:35:17 +020028menuconfig BRIDGE_NF_EBTABLES
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 tristate "Ethernet Bridge tables (ebtables) support"
Pablo Neira17088032014-05-25 14:48:33 +020030 depends on BRIDGE && NETFILTER && NETFILTER_XTABLES
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 help
32 ebtables is a general, extensible frame/packet identification
33 framework. Say 'Y' or 'M' here if you want to do Ethernet
34 filtering/NAT/brouting on the Ethernet bridge.
Jan Engelhardt20f3c562008-10-08 11:35:17 +020035
36if BRIDGE_NF_EBTABLES
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038#
39# tables
40#
41config BRIDGE_EBT_BROUTE
42 tristate "ebt: broute table support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070043 help
44 The ebtables broute table is used to define rules that decide between
45 bridging and routing frames, giving Linux the functionality of a
46 brouter. See the man page for ebtables(8) and examples on the ebtables
47 website.
48
49 To compile it as a module, choose M here. If unsure, say N.
50
51config BRIDGE_EBT_T_FILTER
52 tristate "ebt: filter table support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070053 help
54 The ebtables filter table is used to define frame filtering rules at
55 local input, forwarding and local output. See the man page for
56 ebtables(8).
57
58 To compile it as a module, choose M here. If unsure, say N.
59
60config BRIDGE_EBT_T_NAT
61 tristate "ebt: nat table support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070062 help
63 The ebtables nat table is used to define rules that alter the MAC
64 source address (MAC SNAT) or the MAC destination address (MAC DNAT).
65 See the man page for ebtables(8).
66
67 To compile it as a module, choose M here. If unsure, say N.
68#
69# matches
70#
71config BRIDGE_EBT_802_3
72 tristate "ebt: 802.3 filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 help
74 This option adds matching support for 802.3 Ethernet frames.
75
76 To compile it as a module, choose M here. If unsure, say N.
77
78config BRIDGE_EBT_AMONG
79 tristate "ebt: among filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070080 help
81 This option adds the among match, which allows matching the MAC source
82 and/or destination address on a list of addresses. Optionally,
83 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
84
85 To compile it as a module, choose M here. If unsure, say N.
86
87config BRIDGE_EBT_ARP
88 tristate "ebt: ARP filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070089 help
90 This option adds the ARP match, which allows ARP and RARP header field
91 filtering.
92
93 To compile it as a module, choose M here. If unsure, say N.
94
95config BRIDGE_EBT_IP
96 tristate "ebt: IP filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 help
98 This option adds the IP match, which allows basic IP header field
99 filtering.
100
101 To compile it as a module, choose M here. If unsure, say N.
102
Kuo-lang Tseng93f65152008-06-09 15:55:45 -0700103config BRIDGE_EBT_IP6
104 tristate "ebt: IP6 filter support"
Randy Dunlapf5862872008-06-17 16:16:13 -0700105 depends on BRIDGE_NF_EBTABLES && IPV6
Kuo-lang Tseng93f65152008-06-09 15:55:45 -0700106 help
107 This option adds the IP6 match, which allows basic IPV6 header field
108 filtering.
109
110 To compile it as a module, choose M here. If unsure, say N.
111
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112config BRIDGE_EBT_LIMIT
113 tristate "ebt: limit match support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 help
115 This option adds the limit match, which allows you to control
116 the rate at which a rule can be matched. This match is the
117 equivalent of the iptables limit match.
118
119 If you want to compile it as a module, say M here and read
120 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
121
122config BRIDGE_EBT_MARK
123 tristate "ebt: mark filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124 help
125 This option adds the mark match, which allows matching frames based on
126 the 'nfmark' value in the frame. This can be set by the mark target.
127 This value is the same as the one used in the iptables mark match and
128 target.
129
130 To compile it as a module, choose M here. If unsure, say N.
131
132config BRIDGE_EBT_PKTTYPE
133 tristate "ebt: packet type filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134 help
135 This option adds the packet type match, which allows matching on the
136 type of packet based on its Ethernet "class" (as determined by
137 the generic networking code): broadcast, multicast,
138 for this host alone or for another host.
139
140 To compile it as a module, choose M here. If unsure, say N.
141
142config BRIDGE_EBT_STP
143 tristate "ebt: STP filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 help
145 This option adds the Spanning Tree Protocol match, which
146 allows STP header field filtering.
147
148 To compile it as a module, choose M here. If unsure, say N.
149
150config BRIDGE_EBT_VLAN
151 tristate "ebt: 802.1Q VLAN filter support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152 help
153 This option adds the 802.1Q vlan match, which allows the filtering of
154 802.1Q vlan fields.
155
156 To compile it as a module, choose M here. If unsure, say N.
157#
158# targets
159#
160config BRIDGE_EBT_ARPREPLY
161 tristate "ebt: arp reply target support"
Adrian Bunkeb3f8f52005-07-19 14:00:13 -0700162 depends on BRIDGE_NF_EBTABLES && INET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163 help
164 This option adds the arp reply target, which allows
165 automatically sending arp replies to arp requests.
166
167 To compile it as a module, choose M here. If unsure, say N.
168
169config BRIDGE_EBT_DNAT
170 tristate "ebt: dnat target support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 help
172 This option adds the MAC DNAT target, which allows altering the MAC
173 destination address of frames.
174
175 To compile it as a module, choose M here. If unsure, say N.
176
177config BRIDGE_EBT_MARK_T
178 tristate "ebt: mark target support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179 help
180 This option adds the mark target, which allows marking frames by
181 setting the 'nfmark' value in the frame.
182 This value is the same as the one used in the iptables mark match and
183 target.
184
185 To compile it as a module, choose M here. If unsure, say N.
186
187config BRIDGE_EBT_REDIRECT
188 tristate "ebt: redirect target support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700189 help
190 This option adds the MAC redirect target, which allows altering the MAC
191 destination address of a frame to that of the device it arrived on.
192
193 To compile it as a module, choose M here. If unsure, say N.
194
195config BRIDGE_EBT_SNAT
196 tristate "ebt: snat target support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197 help
198 This option adds the MAC SNAT target, which allows altering the MAC
199 source address of frames.
200
201 To compile it as a module, choose M here. If unsure, say N.
202#
203# watchers
204#
205config BRIDGE_EBT_LOG
206 tristate "ebt: log support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 help
208 This option adds the log watcher, that you can use in any rule
209 in any ebtables table. It records info about the frame header
210 to the syslog.
211
212 To compile it as a module, choose M here. If unsure, say N.
213
Peter Warasine7bfd0a2008-04-14 11:15:54 +0200214config BRIDGE_EBT_NFLOG
215 tristate "ebt: nflog support"
Peter Warasine7bfd0a2008-04-14 11:15:54 +0200216 help
217 This option enables the nflog watcher, which allows to LOG
218 messages through the netfilter logging API, which can use
219 either the old LOG target, the old ULOG target or nfnetlink_log
220 as backend.
221
Patrick McHardy58de7862008-07-08 02:37:07 -0700222 This option adds the nflog watcher, that you can use in any rule
Peter Warasine7bfd0a2008-04-14 11:15:54 +0200223 in any ebtables table.
224
225 To compile it as a module, choose M here. If unsure, say N.
226
Jan Engelhardt20f3c562008-10-08 11:35:17 +0200227endif # BRIDGE_NF_EBTABLES