Annotation of /trunk/mkinitrd-magellan/busybox/networking/Config.src
Parent Directory | Revision Log
Revision 1511 -
(hide annotations)
(download)
(as text)
Wed Sep 7 17:36:17 2011 UTC (12 years, 8 months ago) by niro
File MIME type: application/x-wais-source
File size: 26051 byte(s)
Wed Sep 7 17:36:17 2011 UTC (12 years, 8 months ago) by niro
File MIME type: application/x-wais-source
File size: 26051 byte(s)
-fix build with glibc-2.14, disable RPC features atm
1 | niro | 1123 | # |
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | menu "Networking Utilities" | ||
7 | |||
8 | INSERT | ||
9 | |||
10 | config FEATURE_IPV6 | ||
11 | bool "Enable IPv6 support" | ||
12 | default y | ||
13 | help | ||
14 | Enable IPv6 support in busybox. | ||
15 | This adds IPv6 support in the networking applets. | ||
16 | |||
17 | config FEATURE_UNIX_LOCAL | ||
18 | bool "Enable Unix domain socket support (usually not needed)" | ||
19 | default n | ||
20 | help | ||
21 | Enable Unix domain socket support in all busybox networking | ||
22 | applets. Address of the form local:/path/to/unix/socket | ||
23 | will be recognized. | ||
24 | |||
25 | This extension is almost never used in real world usage. | ||
26 | You most likely want to say N. | ||
27 | |||
28 | config FEATURE_PREFER_IPV4_ADDRESS | ||
29 | bool "Prefer IPv4 addresses from DNS queries" | ||
30 | default y | ||
31 | depends on FEATURE_IPV6 | ||
32 | help | ||
33 | Use IPv4 address of network host if it has one. | ||
34 | |||
35 | If this option is off, the first returned address will be used. | ||
36 | This may cause problems when your DNS server is IPv6-capable and | ||
37 | is returning IPv6 host addresses too. If IPv6 address | ||
38 | precedes IPv4 one in DNS reply, busybox network applets | ||
39 | (e.g. wget) will use IPv6 address. On an IPv6-incapable host | ||
40 | or network applets will fail to connect to the host | ||
41 | using IPv6 address. | ||
42 | |||
43 | config VERBOSE_RESOLUTION_ERRORS | ||
44 | bool "Verbose resolution errors" | ||
45 | default n | ||
46 | help | ||
47 | Enable if you are not satisfied with simplistic | ||
48 | "can't resolve 'hostname.com'" and want to know more. | ||
49 | This may increase size of your executable a bit. | ||
50 | |||
51 | config ARP | ||
52 | bool "arp" | ||
53 | default y | ||
54 | help | ||
55 | Manipulate the system ARP cache. | ||
56 | |||
57 | config ARPING | ||
58 | bool "arping" | ||
59 | default y | ||
60 | help | ||
61 | Ping hosts by ARP packets. | ||
62 | |||
63 | config BRCTL | ||
64 | bool "brctl" | ||
65 | default y | ||
66 | help | ||
67 | Manage ethernet bridges. | ||
68 | Supports addbr/delbr and addif/delif. | ||
69 | |||
70 | config FEATURE_BRCTL_FANCY | ||
71 | bool "Fancy options" | ||
72 | default y | ||
73 | depends on BRCTL | ||
74 | help | ||
75 | Add support for extended option like: | ||
76 | setageing, setfd, sethello, setmaxage, | ||
77 | setpathcost, setportprio, setbridgeprio, | ||
78 | stp | ||
79 | This adds about 600 bytes. | ||
80 | |||
81 | config FEATURE_BRCTL_SHOW | ||
82 | bool "Support show, showmac and showstp" | ||
83 | default y | ||
84 | depends on BRCTL && FEATURE_BRCTL_FANCY | ||
85 | help | ||
86 | Add support for option which prints the current config: | ||
87 | showmacs, showstp, show | ||
88 | |||
89 | config DNSD | ||
90 | bool "dnsd" | ||
91 | default y | ||
92 | help | ||
93 | Small and static DNS server daemon. | ||
94 | |||
95 | config ETHER_WAKE | ||
96 | bool "ether-wake" | ||
97 | default y | ||
98 | help | ||
99 | Send a magic packet to wake up sleeping machines. | ||
100 | |||
101 | config FAKEIDENTD | ||
102 | bool "fakeidentd" | ||
103 | default y | ||
104 | select FEATURE_SYSLOG | ||
105 | help | ||
106 | fakeidentd listens on the ident port and returns a predefined | ||
107 | fake value on any query. | ||
108 | |||
109 | config FTPD | ||
110 | bool "ftpd" | ||
111 | default y | ||
112 | help | ||
113 | simple FTP daemon. You have to run it via inetd. | ||
114 | |||
115 | config FEATURE_FTP_WRITE | ||
116 | bool "Enable upload commands" | ||
117 | default y | ||
118 | depends on FTPD | ||
119 | help | ||
120 | Enable all kinds of FTP upload commands (-w option) | ||
121 | |||
122 | config FEATURE_FTPD_ACCEPT_BROKEN_LIST | ||
123 | bool "Enable workaround for RFC-violating clients" | ||
124 | default y | ||
125 | depends on FTPD | ||
126 | help | ||
127 | Some ftp clients (among them KDE's Konqueror) issue illegal | ||
128 | "LIST -l" requests. This option works around such problems. | ||
129 | It might prevent you from listing files starting with "-" and | ||
130 | it increases the code size by ~40 bytes. | ||
131 | Most other ftp servers seem to behave similar to this. | ||
132 | |||
133 | config FTPGET | ||
134 | bool "ftpget" | ||
135 | default y | ||
136 | help | ||
137 | Retrieve a remote file via FTP. | ||
138 | |||
139 | config FTPPUT | ||
140 | bool "ftpput" | ||
141 | default y | ||
142 | help | ||
143 | Store a remote file via FTP. | ||
144 | |||
145 | config FEATURE_FTPGETPUT_LONG_OPTIONS | ||
146 | bool "Enable long options in ftpget/ftpput" | ||
147 | default y | ||
148 | depends on LONG_OPTS && (FTPGET || FTPPUT) | ||
149 | help | ||
150 | Support long options for the ftpget/ftpput applet. | ||
151 | |||
152 | config HOSTNAME | ||
153 | bool "hostname" | ||
154 | default y | ||
155 | help | ||
156 | Show or set the system's host name. | ||
157 | |||
158 | config HTTPD | ||
159 | bool "httpd" | ||
160 | default y | ||
161 | help | ||
162 | Serve web pages via an HTTP server. | ||
163 | |||
164 | config FEATURE_HTTPD_RANGES | ||
165 | bool "Support 'Ranges:' header" | ||
166 | default y | ||
167 | depends on HTTPD | ||
168 | help | ||
169 | Makes httpd emit "Accept-Ranges: bytes" header and understand | ||
170 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted | ||
171 | downloads, seeking in multimedia players etc. | ||
172 | |||
173 | config FEATURE_HTTPD_USE_SENDFILE | ||
174 | bool "Use sendfile system call" | ||
175 | default y | ||
176 | depends on HTTPD | ||
177 | help | ||
178 | When enabled, httpd will use the kernel sendfile() function | ||
179 | instead of read/write loop. | ||
180 | |||
181 | config FEATURE_HTTPD_SETUID | ||
182 | bool "Enable -u <user> option" | ||
183 | default y | ||
184 | depends on HTTPD | ||
185 | help | ||
186 | This option allows the server to run as a specific user | ||
187 | rather than defaulting to the user that starts the server. | ||
188 | Use of this option requires special privileges to change to a | ||
189 | different user. | ||
190 | |||
191 | config FEATURE_HTTPD_BASIC_AUTH | ||
192 | bool "Enable Basic http Authentication" | ||
193 | default y | ||
194 | depends on HTTPD | ||
195 | help | ||
196 | Utilizes password settings from /etc/httpd.conf for basic | ||
197 | authentication on a per url basis. | ||
198 | |||
199 | config FEATURE_HTTPD_AUTH_MD5 | ||
200 | bool "Support MD5 crypted passwords for http Authentication" | ||
201 | default y | ||
202 | depends on FEATURE_HTTPD_BASIC_AUTH | ||
203 | help | ||
204 | Enables basic per URL authentication from /etc/httpd.conf | ||
205 | using md5 passwords. | ||
206 | |||
207 | config FEATURE_HTTPD_CGI | ||
208 | bool "Support Common Gateway Interface (CGI)" | ||
209 | default y | ||
210 | depends on HTTPD | ||
211 | help | ||
212 | This option allows scripts and executables to be invoked | ||
213 | when specific URLs are requested. | ||
214 | |||
215 | config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR | ||
216 | bool "Support for running scripts through an interpreter" | ||
217 | default y | ||
218 | depends on FEATURE_HTTPD_CGI | ||
219 | help | ||
220 | This option enables support for running scripts through an | ||
221 | interpreter. Turn this on if you want PHP scripts to work | ||
222 | properly. You need to supply an additional line in your httpd | ||
223 | config file: | ||
224 | *.php:/path/to/your/php | ||
225 | |||
226 | config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV | ||
227 | bool "Set REMOTE_PORT environment variable for CGI" | ||
228 | default y | ||
229 | depends on FEATURE_HTTPD_CGI | ||
230 | help | ||
231 | Use of this option can assist scripts in generating | ||
232 | references that contain a unique port number. | ||
233 | |||
234 | config FEATURE_HTTPD_ENCODE_URL_STR | ||
235 | bool "Enable -e option (useful for CGIs written as shell scripts)" | ||
236 | default y | ||
237 | depends on HTTPD | ||
238 | help | ||
239 | This option allows html encoding of arbitrary strings for display | ||
240 | by the browser. Output goes to stdout. | ||
241 | For example, httpd -e "<Hello World>" produces | ||
242 | "<Hello World>". | ||
243 | |||
244 | config FEATURE_HTTPD_ERROR_PAGES | ||
245 | bool "Support for custom error pages" | ||
246 | default y | ||
247 | depends on HTTPD | ||
248 | help | ||
249 | This option allows you to define custom error pages in | ||
250 | the configuration file instead of the default HTTP status | ||
251 | error pages. For instance, if you add the line: | ||
252 | E404:/path/e404.html | ||
253 | in the config file, the server will respond the specified | ||
254 | '/path/e404.html' file instead of the terse '404 NOT FOUND' | ||
255 | message. | ||
256 | |||
257 | config FEATURE_HTTPD_PROXY | ||
258 | bool "Support for reverse proxy" | ||
259 | default y | ||
260 | depends on HTTPD | ||
261 | help | ||
262 | This option allows you to define URLs that will be forwarded | ||
263 | to another HTTP server. To setup add the following line to the | ||
264 | configuration file | ||
265 | P:/url/:http://hostname[:port]/new/path/ | ||
266 | Then a request to /url/myfile will be forwarded to | ||
267 | http://hostname[:port]/new/path/myfile. | ||
268 | |||
269 | config IFCONFIG | ||
270 | bool "ifconfig" | ||
271 | default y | ||
272 | help | ||
273 | Ifconfig is used to configure the kernel-resident network interfaces. | ||
274 | |||
275 | config FEATURE_IFCONFIG_STATUS | ||
276 | bool "Enable status reporting output (+7k)" | ||
277 | default y | ||
278 | depends on IFCONFIG | ||
279 | help | ||
280 | If ifconfig is called with no arguments it will display the status | ||
281 | of the currently active interfaces. | ||
282 | |||
283 | config FEATURE_IFCONFIG_SLIP | ||
284 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" | ||
285 | default y | ||
286 | depends on IFCONFIG | ||
287 | help | ||
288 | Allow "keepalive" and "outfill" support for SLIP. If you're not | ||
289 | planning on using serial lines, leave this unchecked. | ||
290 | |||
291 | config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ | ||
292 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" | ||
293 | default y | ||
294 | depends on IFCONFIG | ||
295 | help | ||
296 | Allow the start address for shared memory, start address for I/O, | ||
297 | and/or the interrupt line used by the specified device. | ||
298 | |||
299 | config FEATURE_IFCONFIG_HW | ||
300 | bool "Enable option \"hw\" (ether only)" | ||
301 | default y | ||
302 | depends on IFCONFIG | ||
303 | help | ||
304 | Set the hardware address of this interface, if the device driver | ||
305 | supports this operation. Currently, we only support the 'ether' | ||
306 | class. | ||
307 | |||
308 | config FEATURE_IFCONFIG_BROADCAST_PLUS | ||
309 | bool "Set the broadcast automatically" | ||
310 | default y | ||
311 | depends on IFCONFIG | ||
312 | help | ||
313 | Setting this will make ifconfig attempt to find the broadcast | ||
314 | automatically if the value '+' is used. | ||
315 | |||
316 | config IFENSLAVE | ||
317 | bool "ifenslave" | ||
318 | default y | ||
319 | help | ||
320 | Userspace application to bind several interfaces | ||
321 | to a logical interface (use with kernel bonding driver). | ||
322 | |||
323 | config IFPLUGD | ||
324 | bool "ifplugd" | ||
325 | default y | ||
326 | help | ||
327 | Network interface plug detection daemon. | ||
328 | |||
329 | config IFUPDOWN | ||
330 | bool "ifupdown" | ||
331 | default y | ||
332 | help | ||
333 | Activate or deactivate the specified interfaces. This applet makes | ||
334 | use of either "ifconfig" and "route" or the "ip" command to actually | ||
335 | configure network interfaces. Therefore, you will probably also want | ||
336 | to enable either IFCONFIG and ROUTE, or enable | ||
337 | FEATURE_IFUPDOWN_IP and the various IP options. Of | ||
338 | course you could use non-busybox versions of these programs, so | ||
339 | against my better judgement (since this will surely result in plenty | ||
340 | of support questions on the mailing list), I do not force you to | ||
341 | enable these additional options. It is up to you to supply either | ||
342 | "ifconfig", "route" and "run-parts" or the "ip" command, either | ||
343 | via busybox or via standalone utilities. | ||
344 | |||
345 | config IFUPDOWN_IFSTATE_PATH | ||
346 | string "Absolute path to ifstate file" | ||
347 | default "/var/run/ifstate" | ||
348 | depends on IFUPDOWN | ||
349 | help | ||
350 | ifupdown keeps state information in a file called ifstate. | ||
351 | Typically it is located in /var/run/ifstate, however | ||
352 | some distributions tend to put it in other places | ||
353 | (debian, for example, uses /etc/network/run/ifstate). | ||
354 | This config option defines location of ifstate. | ||
355 | |||
356 | config FEATURE_IFUPDOWN_IP | ||
357 | bool "Use ip applet" | ||
358 | default y | ||
359 | depends on IFUPDOWN | ||
360 | help | ||
361 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather | ||
362 | than the default of using the older 'ifconfig' and 'route' utilities. | ||
363 | |||
364 | config FEATURE_IFUPDOWN_IP_BUILTIN | ||
365 | bool "Use busybox ip applet" | ||
366 | default y | ||
367 | depends on FEATURE_IFUPDOWN_IP | ||
368 | select IP | ||
369 | select FEATURE_IP_ADDRESS | ||
370 | select FEATURE_IP_LINK | ||
371 | select FEATURE_IP_ROUTE | ||
372 | help | ||
373 | Use the busybox iproute "ip" applet to implement "ifupdown". | ||
374 | |||
375 | If left disabled, you must install the full-blown iproute2 | ||
376 | utility or the "ifup" and "ifdown" applets will not work. | ||
377 | |||
378 | config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN | ||
379 | bool "Use busybox ifconfig and route applets" | ||
380 | default n | ||
381 | depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP | ||
382 | select IFCONFIG | ||
383 | select ROUTE | ||
384 | help | ||
385 | Use the busybox iproute "ifconfig" and "route" applets to | ||
386 | implement the "ifup" and "ifdown" utilities. | ||
387 | |||
388 | If left disabled, you must install the full-blown ifconfig | ||
389 | and route utilities, or the "ifup" and "ifdown" applets will not | ||
390 | work. | ||
391 | |||
392 | config FEATURE_IFUPDOWN_IPV4 | ||
393 | bool "Support for IPv4" | ||
394 | default y | ||
395 | depends on IFUPDOWN | ||
396 | help | ||
397 | If you want ifup/ifdown to talk IPv4, leave this on. | ||
398 | |||
399 | config FEATURE_IFUPDOWN_IPV6 | ||
400 | bool "Support for IPv6" | ||
401 | default y | ||
402 | depends on IFUPDOWN && FEATURE_IPV6 | ||
403 | help | ||
404 | If you need support for IPv6, turn this option on. | ||
405 | |||
406 | ### UNUSED | ||
407 | ###config FEATURE_IFUPDOWN_IPX | ||
408 | ### bool "Support for IPX" | ||
409 | ### default y | ||
410 | ### depends on IFUPDOWN | ||
411 | ### help | ||
412 | ### If this option is selected you can use busybox to work with IPX | ||
413 | ### networks. | ||
414 | |||
415 | config FEATURE_IFUPDOWN_MAPPING | ||
416 | bool "Enable mapping support" | ||
417 | default y | ||
418 | depends on IFUPDOWN | ||
419 | help | ||
420 | This enables support for the "mapping" stanza, unless you have | ||
421 | a weird network setup you don't need it. | ||
422 | |||
423 | config FEATURE_IFUPDOWN_EXTERNAL_DHCP | ||
424 | bool "Support for external dhcp clients" | ||
425 | default n | ||
426 | depends on IFUPDOWN | ||
427 | help | ||
428 | This enables support for the external dhcp clients. Clients are | ||
429 | tried in the following order: dhcpcd, dhclient, pump and udhcpc. | ||
430 | Otherwise, if udhcpc applet is enabled, it is used. | ||
431 | Otherwise, ifup/ifdown will have no support for DHCP. | ||
432 | |||
433 | config INETD | ||
434 | bool "inetd" | ||
435 | default y | ||
436 | select FEATURE_SYSLOG | ||
437 | help | ||
438 | Internet superserver daemon | ||
439 | |||
440 | config FEATURE_INETD_SUPPORT_BUILTIN_ECHO | ||
441 | bool "Support echo service" | ||
442 | default y | ||
443 | depends on INETD | ||
444 | help | ||
445 | Echo received data internal inetd service | ||
446 | |||
447 | config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD | ||
448 | bool "Support discard service" | ||
449 | default y | ||
450 | depends on INETD | ||
451 | help | ||
452 | Internet /dev/null internal inetd service | ||
453 | |||
454 | config FEATURE_INETD_SUPPORT_BUILTIN_TIME | ||
455 | bool "Support time service" | ||
456 | default y | ||
457 | depends on INETD | ||
458 | help | ||
459 | Return 32 bit time since 1900 internal inetd service | ||
460 | |||
461 | config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME | ||
462 | bool "Support daytime service" | ||
463 | default y | ||
464 | depends on INETD | ||
465 | help | ||
466 | Return human-readable time internal inetd service | ||
467 | |||
468 | config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN | ||
469 | bool "Support chargen service" | ||
470 | default y | ||
471 | depends on INETD | ||
472 | help | ||
473 | Familiar character generator internal inetd service | ||
474 | |||
475 | config FEATURE_INETD_RPC | ||
476 | bool "Support RPC services" | ||
477 | niro | 1511 | default n |
478 | niro | 1123 | depends on INETD |
479 | select FEATURE_HAVE_RPC | ||
480 | help | ||
481 | Support Sun-RPC based services | ||
482 | |||
483 | config IP | ||
484 | bool "ip" | ||
485 | default y | ||
486 | help | ||
487 | The "ip" applet is a TCP/IP interface configuration and routing | ||
488 | utility. You generally don't need "ip" to use busybox with | ||
489 | TCP/IP. | ||
490 | |||
491 | config FEATURE_IP_ADDRESS | ||
492 | bool "ip address" | ||
493 | default y | ||
494 | depends on IP | ||
495 | help | ||
496 | Address manipulation support for the "ip" applet. | ||
497 | |||
498 | config FEATURE_IP_LINK | ||
499 | bool "ip link" | ||
500 | default y | ||
501 | depends on IP | ||
502 | help | ||
503 | Configure network devices with "ip". | ||
504 | |||
505 | config FEATURE_IP_ROUTE | ||
506 | bool "ip route" | ||
507 | default y | ||
508 | depends on IP | ||
509 | help | ||
510 | Add support for routing table management to "ip". | ||
511 | |||
512 | config FEATURE_IP_TUNNEL | ||
513 | bool "ip tunnel" | ||
514 | default y | ||
515 | depends on IP | ||
516 | help | ||
517 | Add support for tunneling commands to "ip". | ||
518 | |||
519 | config FEATURE_IP_RULE | ||
520 | bool "ip rule" | ||
521 | default y | ||
522 | depends on IP | ||
523 | help | ||
524 | Add support for rule commands to "ip". | ||
525 | |||
526 | config FEATURE_IP_SHORT_FORMS | ||
527 | bool "Support short forms of ip commands" | ||
528 | default y | ||
529 | depends on IP | ||
530 | help | ||
531 | Also support short-form of ip <OBJECT> commands: | ||
532 | ip addr -> ipaddr | ||
533 | ip link -> iplink | ||
534 | ip route -> iproute | ||
535 | ip tunnel -> iptunnel | ||
536 | ip rule -> iprule | ||
537 | |||
538 | Say N unless you desparately need the short form of the ip | ||
539 | object commands. | ||
540 | |||
541 | config FEATURE_IP_RARE_PROTOCOLS | ||
542 | bool "Support displaying rarely used link types" | ||
543 | default n | ||
544 | depends on IP | ||
545 | help | ||
546 | If you are not going to use links of type "frad", "econet", | ||
547 | "bif" etc, you probably don't need to enable this. | ||
548 | Ethernet, wireless, infrared, ppp/slip, ip tunnelling | ||
549 | link types are supported without this option selected. | ||
550 | |||
551 | config IPADDR | ||
552 | bool | ||
553 | default y | ||
554 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS | ||
555 | |||
556 | config IPLINK | ||
557 | bool | ||
558 | default y | ||
559 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK | ||
560 | |||
561 | config IPROUTE | ||
562 | bool | ||
563 | default y | ||
564 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE | ||
565 | |||
566 | config IPTUNNEL | ||
567 | bool | ||
568 | default y | ||
569 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL | ||
570 | |||
571 | config IPRULE | ||
572 | bool | ||
573 | default y | ||
574 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE | ||
575 | |||
576 | config IPCALC | ||
577 | bool "ipcalc" | ||
578 | default y | ||
579 | help | ||
580 | ipcalc takes an IP address and netmask and calculates the | ||
581 | resulting broadcast, network, and host range. | ||
582 | |||
583 | config FEATURE_IPCALC_FANCY | ||
584 | bool "Fancy IPCALC, more options, adds 1 kbyte" | ||
585 | default y | ||
586 | depends on IPCALC | ||
587 | help | ||
588 | Adds the options hostname, prefix and silent to the output of | ||
589 | "ipcalc". | ||
590 | |||
591 | config FEATURE_IPCALC_LONG_OPTIONS | ||
592 | bool "Enable long options" | ||
593 | default y | ||
594 | depends on IPCALC && LONG_OPTS | ||
595 | help | ||
596 | Support long options for the ipcalc applet. | ||
597 | |||
598 | config NAMEIF | ||
599 | bool "nameif" | ||
600 | default y | ||
601 | select FEATURE_SYSLOG | ||
602 | help | ||
603 | nameif is used to rename network interface by its MAC address. | ||
604 | Renamed interfaces MUST be in the down state. | ||
605 | It is possible to use a file (default: /etc/mactab) | ||
606 | with list of new interface names and MACs. | ||
607 | Maximum interface name length: IFNAMSIZ = 16 | ||
608 | File fields are separated by space or tab. | ||
609 | File format: | ||
610 | # Comment | ||
611 | new_interface_name XX:XX:XX:XX:XX:XX | ||
612 | |||
613 | config FEATURE_NAMEIF_EXTENDED | ||
614 | bool "Extended nameif" | ||
615 | default y | ||
616 | depends on NAMEIF | ||
617 | help | ||
618 | This extends the nameif syntax to support the bus_info and driver | ||
619 | checks. The syntax is compatible to the normal nameif. | ||
620 | File format: | ||
621 | new_interface_name driver=asix bus=usb-0000:00:08.2-3 | ||
622 | new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5 | ||
623 | new_interface_name mac=00:80:C8:38:91:B5 | ||
624 | new_interface_name 00:80:C8:38:91:B5 | ||
625 | |||
626 | config NETSTAT | ||
627 | bool "netstat" | ||
628 | default y | ||
629 | help | ||
630 | netstat prints information about the Linux networking subsystem. | ||
631 | |||
632 | config FEATURE_NETSTAT_WIDE | ||
633 | bool "Enable wide netstat output" | ||
634 | default y | ||
635 | depends on NETSTAT | ||
636 | help | ||
637 | Add support for wide columns. Useful when displaying IPv6 addresses | ||
638 | (-W option). | ||
639 | |||
640 | config FEATURE_NETSTAT_PRG | ||
641 | bool "Enable PID/Program name output" | ||
642 | default y | ||
643 | depends on NETSTAT | ||
644 | help | ||
645 | Add support for -p flag to print out PID and program name. | ||
646 | +700 bytes of code. | ||
647 | |||
648 | config NSLOOKUP | ||
649 | bool "nslookup" | ||
650 | default y | ||
651 | help | ||
652 | nslookup is a tool to query Internet name servers. | ||
653 | |||
654 | config NTPD | ||
655 | bool "ntpd" | ||
656 | default y | ||
657 | help | ||
658 | The NTP client/server daemon. | ||
659 | |||
660 | config FEATURE_NTPD_SERVER | ||
661 | bool "Make ntpd usable as a NTP server" | ||
662 | default y | ||
663 | depends on NTPD | ||
664 | help | ||
665 | Make ntpd usable as a NTP server. If you disable this option | ||
666 | ntpd will be usable only as a NTP client. | ||
667 | |||
668 | config PING | ||
669 | bool "ping" | ||
670 | default y | ||
671 | help | ||
672 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | ||
673 | elicit an ICMP ECHO_RESPONSE from a host or gateway. | ||
674 | |||
675 | config PING6 | ||
676 | bool "ping6" | ||
677 | default y | ||
678 | depends on FEATURE_IPV6 && PING | ||
679 | help | ||
680 | This will give you a ping that can talk IPv6. | ||
681 | |||
682 | config FEATURE_FANCY_PING | ||
683 | bool "Enable fancy ping output" | ||
684 | default y | ||
685 | depends on PING | ||
686 | help | ||
687 | Make the output from the ping applet include statistics, and at the | ||
688 | same time provide full support for ICMP packets. | ||
689 | |||
690 | config PSCAN | ||
691 | bool "pscan" | ||
692 | default y | ||
693 | help | ||
694 | Simple network port scanner. | ||
695 | |||
696 | config ROUTE | ||
697 | bool "route" | ||
698 | default y | ||
699 | help | ||
700 | Route displays or manipulates the kernel's IP routing tables. | ||
701 | |||
702 | config SLATTACH | ||
703 | bool "slattach" | ||
704 | default y | ||
705 | help | ||
706 | slattach is a small utility to attach network interfaces to serial | ||
707 | lines. | ||
708 | |||
709 | #config TC | ||
710 | # bool "tc" | ||
711 | # default y | ||
712 | # help | ||
713 | # show / manipulate traffic control settings | ||
714 | # | ||
715 | #config FEATURE_TC_INGRESS | ||
716 | # def_bool n | ||
717 | # depends on TC | ||
718 | |||
719 | config TCPSVD | ||
720 | bool "tcpsvd" | ||
721 | default y | ||
722 | help | ||
723 | tcpsvd listens on a TCP port and runs a program for each new | ||
724 | connection. | ||
725 | |||
726 | config TELNET | ||
727 | bool "telnet" | ||
728 | default y | ||
729 | help | ||
730 | Telnet is an interface to the TELNET protocol, but is also commonly | ||
731 | used to test other simple protocols. | ||
732 | |||
733 | config FEATURE_TELNET_TTYPE | ||
734 | bool "Pass TERM type to remote host" | ||
735 | default y | ||
736 | depends on TELNET | ||
737 | help | ||
738 | Setting this option will forward the TERM environment variable to the | ||
739 | remote host you are connecting to. This is useful to make sure that | ||
740 | things like ANSI colors and other control sequences behave. | ||
741 | |||
742 | config FEATURE_TELNET_AUTOLOGIN | ||
743 | bool "Pass USER type to remote host" | ||
744 | default y | ||
745 | depends on TELNET | ||
746 | help | ||
747 | Setting this option will forward the USER environment variable to the | ||
748 | remote host you are connecting to. This is useful when you need to | ||
749 | log into a machine without telling the username (autologin). This | ||
750 | option enables `-a' and `-l USER' arguments. | ||
751 | |||
752 | config TELNETD | ||
753 | bool "telnetd" | ||
754 | default y | ||
755 | select FEATURE_SYSLOG | ||
756 | help | ||
757 | A daemon for the TELNET protocol, allowing you to log onto the host | ||
758 | running the daemon. Please keep in mind that the TELNET protocol | ||
759 | sends passwords in plain text. If you can't afford the space for an | ||
760 | SSH daemon and you trust your network, you may say 'y' here. As a | ||
761 | more secure alternative, you should seriously consider installing the | ||
762 | very small Dropbear SSH daemon instead: | ||
763 | http://matt.ucc.asn.au/dropbear/dropbear.html | ||
764 | |||
765 | Note that for busybox telnetd to work you need several things: | ||
766 | First of all, your kernel needs: | ||
767 | UNIX98_PTYS=y | ||
768 | DEVPTS_FS=y | ||
769 | |||
770 | Next, you need a /dev/pts directory on your root filesystem: | ||
771 | |||
772 | $ ls -ld /dev/pts | ||
773 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/ | ||
774 | |||
775 | Next you need the pseudo terminal master multiplexer /dev/ptmx: | ||
776 | |||
777 | $ ls -la /dev/ptmx | ||
778 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx | ||
779 | |||
780 | Any /dev/ttyp[0-9]* files you may have can be removed. | ||
781 | Next, you need to mount the devpts filesystem on /dev/pts using: | ||
782 | |||
783 | mount -t devpts devpts /dev/pts | ||
784 | |||
785 | You need to be sure that Busybox has LOGIN and | ||
786 | FEATURE_SUID enabled. And finally, you should make | ||
787 | certain that Busybox has been installed setuid root: | ||
788 | |||
789 | chown root.root /bin/busybox | ||
790 | chmod 4755 /bin/busybox | ||
791 | |||
792 | with all that done, telnetd _should_ work.... | ||
793 | |||
794 | |||
795 | config FEATURE_TELNETD_STANDALONE | ||
796 | bool "Support standalone telnetd (not inetd only)" | ||
797 | default y | ||
798 | depends on TELNETD | ||
799 | help | ||
800 | Selecting this will make telnetd able to run standalone. | ||
801 | |||
802 | config FEATURE_TELNETD_INETD_WAIT | ||
803 | bool "Support -w SEC option (inetd wait mode)" | ||
804 | default y | ||
805 | depends on FEATURE_TELNETD_STANDALONE | ||
806 | help | ||
807 | This option allows you to run telnetd in "inet wait" mode. | ||
808 | Example inetd.conf line (note "wait", not usual "nowait"): | ||
809 | |||
810 | telnet stream tcp wait root /bin/telnetd telnetd -w10 | ||
811 | |||
812 | In this example, inetd passes _listening_ socket_ as fd 0 | ||
813 | to telnetd when connection appears. | ||
814 | telnetd will wait for connections until all existing | ||
815 | connections are closed, and no new connections | ||
816 | appear during 10 seconds. Then it exits, and inetd continues | ||
817 | to listen for new connections. | ||
818 | |||
819 | This option is rarely used. "tcp nowait" is much more usual | ||
820 | way of running tcp services, including telnetd. | ||
821 | You most probably want to say N here. | ||
822 | |||
823 | config TFTP | ||
824 | bool "tftp" | ||
825 | default y | ||
826 | help | ||
827 | This enables the Trivial File Transfer Protocol client program. TFTP | ||
828 | is usually used for simple, small transfers such as a root image | ||
829 | for a network-enabled bootloader. | ||
830 | |||
831 | config TFTPD | ||
832 | bool "tftpd" | ||
833 | default y | ||
834 | help | ||
835 | This enables the Trivial File Transfer Protocol server program. | ||
836 | It expects that stdin is a datagram socket and a packet | ||
837 | is already pending on it. It will exit after one transfer. | ||
838 | In other words: it should be run from inetd in nowait mode, | ||
839 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" | ||
840 | |||
841 | comment "Common options for tftp/tftpd" | ||
842 | depends on TFTP || TFTPD | ||
843 | |||
844 | config FEATURE_TFTP_GET | ||
845 | bool "Enable 'tftp get' and/or tftpd upload code" | ||
846 | default y | ||
847 | depends on TFTP || TFTPD | ||
848 | help | ||
849 | Add support for the GET command within the TFTP client. This allows | ||
850 | a client to retrieve a file from a TFTP server. | ||
851 | Also enable upload support in tftpd, if tftpd is selected. | ||
852 | |||
853 | Note: this option does _not_ make tftpd capable of download | ||
854 | (the usual operation people need from it)! | ||
855 | |||
856 | config FEATURE_TFTP_PUT | ||
857 | bool "Enable 'tftp put' and/or tftpd download code" | ||
858 | default y | ||
859 | depends on TFTP || TFTPD | ||
860 | help | ||
861 | Add support for the PUT command within the TFTP client. This allows | ||
862 | a client to transfer a file to a TFTP server. | ||
863 | Also enable download support in tftpd, if tftpd is selected. | ||
864 | |||
865 | config FEATURE_TFTP_BLOCKSIZE | ||
866 | bool "Enable 'blksize' and 'tsize' protocol options" | ||
867 | default y | ||
868 | depends on TFTP || TFTPD | ||
869 | help | ||
870 | Allow tftp to specify block size, and tftpd to understand | ||
871 | "blksize" and "tsize" options. | ||
872 | |||
873 | config FEATURE_TFTP_PROGRESS_BAR | ||
874 | bool "Enable tftp progress meter" | ||
875 | default y | ||
876 | depends on TFTP && FEATURE_TFTP_BLOCKSIZE | ||
877 | help | ||
878 | Show progress bar. | ||
879 | |||
880 | config TFTP_DEBUG | ||
881 | bool "Enable debug" | ||
882 | default n | ||
883 | depends on TFTP || TFTPD | ||
884 | help | ||
885 | Make tftp[d] print debugging messages on stderr. | ||
886 | This is useful if you are diagnosing a bug in tftp[d]. | ||
887 | |||
888 | config TRACEROUTE | ||
889 | bool "traceroute" | ||
890 | default y | ||
891 | help | ||
892 | Utility to trace the route of IP packets. | ||
893 | |||
894 | config TRACEROUTE6 | ||
895 | bool "traceroute6" | ||
896 | default y | ||
897 | depends on FEATURE_IPV6 && TRACEROUTE | ||
898 | help | ||
899 | Utility to trace the route of IPv6 packets. | ||
900 | |||
901 | config FEATURE_TRACEROUTE_VERBOSE | ||
902 | bool "Enable verbose output" | ||
903 | default y | ||
904 | depends on TRACEROUTE | ||
905 | help | ||
906 | Add some verbosity to traceroute. This includes among other things | ||
907 | hostnames and ICMP response types. | ||
908 | |||
909 | config FEATURE_TRACEROUTE_SOURCE_ROUTE | ||
910 | bool "Enable loose source route" | ||
911 | default n | ||
912 | depends on TRACEROUTE | ||
913 | help | ||
914 | Add option to specify a loose source route gateway | ||
915 | (8 maximum). | ||
916 | |||
917 | config FEATURE_TRACEROUTE_USE_ICMP | ||
918 | bool "Use ICMP instead of UDP" | ||
919 | default n | ||
920 | depends on TRACEROUTE | ||
921 | help | ||
922 | Add option -I to use ICMP ECHO instead of UDP datagrams. | ||
923 | |||
924 | config TUNCTL | ||
925 | bool "tunctl" | ||
926 | default y | ||
927 | help | ||
928 | tunctl creates or deletes tun devices. | ||
929 | |||
930 | config FEATURE_TUNCTL_UG | ||
931 | bool "Support owner:group assignment" | ||
932 | default y | ||
933 | depends on TUNCTL | ||
934 | help | ||
935 | Allow to specify owner and group of newly created interface. | ||
936 | 340 bytes of pure bloat. Say no here. | ||
937 | |||
938 | source networking/udhcp/Config.in | ||
939 | |||
940 | config IFUPDOWN_UDHCPC_CMD_OPTIONS | ||
941 | string "ifup udhcpc command line options" | ||
942 | default "-R -n" | ||
943 | depends on IFUPDOWN && UDHCPC | ||
944 | help | ||
945 | Command line options to pass to udhcpc from ifup. | ||
946 | Intended to alter options not available in /etc/network/interfaces. | ||
947 | (IE: --syslog --background etc...) | ||
948 | |||
949 | config UDPSVD | ||
950 | bool "udpsvd" | ||
951 | default y | ||
952 | help | ||
953 | udpsvd listens on an UDP port and runs a program for each new | ||
954 | connection. | ||
955 | |||
956 | config VCONFIG | ||
957 | bool "vconfig" | ||
958 | default y | ||
959 | help | ||
960 | Creates, removes, and configures VLAN interfaces | ||
961 | |||
962 | config WGET | ||
963 | bool "wget" | ||
964 | default y | ||
965 | help | ||
966 | wget is a utility for non-interactive download of files from HTTP, | ||
967 | HTTPS, and FTP servers. | ||
968 | |||
969 | config FEATURE_WGET_STATUSBAR | ||
970 | bool "Enable a nifty process meter (+2k)" | ||
971 | default y | ||
972 | depends on WGET | ||
973 | help | ||
974 | Enable the transfer progress bar for wget transfers. | ||
975 | |||
976 | config FEATURE_WGET_AUTHENTICATION | ||
977 | bool "Enable HTTP authentication" | ||
978 | default y | ||
979 | depends on WGET | ||
980 | help | ||
981 | Support authenticated HTTP transfers. | ||
982 | |||
983 | config FEATURE_WGET_LONG_OPTIONS | ||
984 | bool "Enable long options" | ||
985 | default y | ||
986 | depends on WGET && LONG_OPTS | ||
987 | help | ||
988 | Support long options for the wget applet. | ||
989 | |||
990 | config ZCIP | ||
991 | bool "zcip" | ||
992 | default y | ||
993 | select FEATURE_SYSLOG | ||
994 | help | ||
995 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | ||
996 | It's a daemon that allocates and defends a dynamically assigned | ||
997 | address on the 169.254/16 network, requiring no system administrator. | ||
998 | |||
999 | See http://www.zeroconf.org for further details, and "zcip.script" | ||
1000 | in the busybox examples. | ||
1001 | |||
1002 | endmenu |