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