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