366d3e9d51f8ed49dbac3708c90c2de28d5c9f3a
[pandora-kernel.git] / net / bridge / netfilter / Kconfig
1 #
2 # Bridge netfilter configuration
3 #
4
5 menuconfig BRIDGE_NF_EBTABLES
6         tristate "Ethernet Bridge tables (ebtables) support"
7         select NETFILTER_XTABLES
8         help
9           ebtables is a general, extensible frame/packet identification
10           framework. Say 'Y' or 'M' here if you want to do Ethernet
11           filtering/NAT/brouting on the Ethernet bridge.
12
13 if BRIDGE_NF_EBTABLES
14
15 #
16 # tables
17 #
18 config BRIDGE_EBT_BROUTE
19         tristate "ebt: broute table support"
20         help
21           The ebtables broute table is used to define rules that decide between
22           bridging and routing frames, giving Linux the functionality of a
23           brouter. See the man page for ebtables(8) and examples on the ebtables
24           website.
25
26           To compile it as a module, choose M here.  If unsure, say N.
27
28 config BRIDGE_EBT_T_FILTER
29         tristate "ebt: filter table support"
30         help
31           The ebtables filter table is used to define frame filtering rules at
32           local input, forwarding and local output. See the man page for
33           ebtables(8).
34
35           To compile it as a module, choose M here.  If unsure, say N.
36
37 config BRIDGE_EBT_T_NAT
38         tristate "ebt: nat table support"
39         help
40           The ebtables nat table is used to define rules that alter the MAC
41           source address (MAC SNAT) or the MAC destination address (MAC DNAT).
42           See the man page for ebtables(8).
43
44           To compile it as a module, choose M here.  If unsure, say N.
45 #
46 # matches
47 #
48 config BRIDGE_EBT_802_3
49         tristate "ebt: 802.3 filter support"
50         help
51           This option adds matching support for 802.3 Ethernet frames.
52
53           To compile it as a module, choose M here.  If unsure, say N.
54
55 config BRIDGE_EBT_AMONG
56         tristate "ebt: among filter support"
57         help
58           This option adds the among match, which allows matching the MAC source
59           and/or destination address on a list of addresses. Optionally,
60           MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
61
62           To compile it as a module, choose M here.  If unsure, say N.
63
64 config BRIDGE_EBT_ARP
65         tristate "ebt: ARP filter support"
66         help
67           This option adds the ARP match, which allows ARP and RARP header field
68           filtering.
69
70           To compile it as a module, choose M here.  If unsure, say N.
71
72 config BRIDGE_EBT_IP
73         tristate "ebt: IP filter support"
74         help
75           This option adds the IP match, which allows basic IP header field
76           filtering.
77
78           To compile it as a module, choose M here.  If unsure, say N.
79
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
87           To compile it as a module, choose M here.  If unsure, say N.
88
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
96           If you want to compile it as a module, say M here and read
97           <file:Documentation/kbuild/modules.txt>.  If unsure, say `N'.
98
99 config BRIDGE_EBT_MARK
100         tristate "ebt: mark filter support"
101         help
102           This option adds the mark match, which allows matching frames based on
103           the 'nfmark' value in the frame. This can be set by the mark target.
104           This value is the same as the one used in the iptables mark match and
105           target.
106
107           To compile it as a module, choose M here.  If unsure, say N.
108
109 config BRIDGE_EBT_PKTTYPE
110         tristate "ebt: packet type filter support"
111         help
112           This option adds the packet type match, which allows matching on the
113           type of packet based on its Ethernet "class" (as determined by
114           the generic networking code): broadcast, multicast,
115           for this host alone or for another host.
116
117           To compile it as a module, choose M here.  If unsure, say N.
118
119 config BRIDGE_EBT_STP
120         tristate "ebt: STP filter support"
121         help
122           This option adds the Spanning Tree Protocol match, which
123           allows STP header field filtering.
124
125           To compile it as a module, choose M here.  If unsure, say N.
126
127 config BRIDGE_EBT_VLAN
128         tristate "ebt: 802.1Q VLAN filter support"
129         help
130           This option adds the 802.1Q vlan match, which allows the filtering of
131           802.1Q vlan fields.
132
133           To compile it as a module, choose M here.  If unsure, say N.
134 #
135 # targets
136 #
137 config BRIDGE_EBT_ARPREPLY
138         tristate "ebt: arp reply target support"
139         depends on BRIDGE_NF_EBTABLES && INET
140         help
141           This option adds the arp reply target, which allows
142           automatically sending arp replies to arp requests.
143
144           To compile it as a module, choose M here.  If unsure, say N.
145
146 config BRIDGE_EBT_DNAT
147         tristate "ebt: dnat target support"
148         help
149           This option adds the MAC DNAT target, which allows altering the MAC
150           destination address of frames.
151
152           To compile it as a module, choose M here.  If unsure, say N.
153
154 config BRIDGE_EBT_MARK_T
155         tristate "ebt: mark target support"
156         help
157           This option adds the mark target, which allows marking frames by
158           setting the 'nfmark' value in the frame.
159           This value is the same as the one used in the iptables mark match and
160           target.
161
162           To compile it as a module, choose M here.  If unsure, say N.
163
164 config BRIDGE_EBT_REDIRECT
165         tristate "ebt: redirect target support"
166         help
167           This option adds the MAC redirect target, which allows altering the MAC
168           destination address of a frame to that of the device it arrived on.
169
170           To compile it as a module, choose M here.  If unsure, say N.
171
172 config BRIDGE_EBT_SNAT
173         tristate "ebt: snat target support"
174         help
175           This option adds the MAC SNAT target, which allows altering the MAC
176           source address of frames.
177
178           To compile it as a module, choose M here.  If unsure, say N.
179 #
180 # watchers
181 #
182 config BRIDGE_EBT_LOG
183         tristate "ebt: log support"
184         help
185           This option adds the log watcher, that you can use in any rule
186           in any ebtables table. It records info about the frame header
187           to the syslog.
188
189           To compile it as a module, choose M here.  If unsure, say N.
190
191 config BRIDGE_EBT_ULOG
192         tristate "ebt: ulog support (OBSOLETE)"
193         help
194           This option enables the old bridge-specific "ebt_ulog" implementation
195           which has been obsoleted by the new "nfnetlink_log" code (see
196           CONFIG_NETFILTER_NETLINK_LOG).
197
198           This option adds the ulog watcher, that you can use in any rule
199           in any ebtables table. The packet is passed to a userspace
200           logging daemon using netlink multicast sockets. This differs
201           from the log watcher in the sense that the complete packet is
202           sent to userspace instead of a descriptive text and that
203           netlink multicast sockets are used instead of the syslog.
204
205           To compile it as a module, choose M here.  If unsure, say N.
206
207 config BRIDGE_EBT_NFLOG
208         tristate "ebt: nflog support"
209         help
210           This option enables the nflog watcher, which allows to LOG
211           messages through the netfilter logging API, which can use
212           either the old LOG target, the old ULOG target or nfnetlink_log
213           as backend.
214
215           This option adds the nflog watcher, that you can use in any rule
216           in any ebtables table.
217
218           To compile it as a module, choose M here.  If unsure, say N.
219
220 endif # BRIDGE_NF_EBTABLES