Remove code for protocols we don't properly support. (Most of this could
[oweals/busybox.git] / networking / Config.in
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 config CONFIG_FEATURE_IPV6
9         bool "Enable IPv6 support"
10         default n
11         help
12           Enable IPv6 support to busybox. This makes applets that talk IP
13           able to work with IPv6.
14
15 config CONFIG_ARPING
16         bool "arping"
17         default n
18         help
19           Ping hosts by ARP packets
20
21 config CONFIG_DNSD
22         bool "dnsd"
23         default n
24         help
25           Small and static DNS server deamon. 
26
27 config CONFIG_ETHER_WAKE
28         bool "ether-wake"
29         default n
30         help
31           Send a magic packet to wake up sleeping machines.
32
33 config CONFIG_FAKEIDENTD
34         bool "fakeidentd"
35         default n
36         help
37           fakeidentd listens to the ident port and returns a set fake
38           value whatever it gets.
39
40 config CONFIG_FTPGET
41         bool "ftpget"
42         default n
43         help
44           Retrieve a remote file via FTP.
45
46 config CONFIG_FTPPUT
47         bool "ftpput"
48         default n
49         help
50           Store a remote file via FTP.
51
52 config CONFIG_HOSTNAME
53         bool "hostname"
54         default n
55         help
56           Show or set the system's host name
57
58 config CONFIG_HTTPD
59         bool "httpd"
60         default n
61         help
62           Serve web pages via an HTTP server.
63
64 config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
65         bool "  Support using httpd only from inetd"
66         default n
67         depends on CONFIG_HTTPD
68         help
69           This option disables uid and port options for the httpd applet
70           but requires inetd server daemon.
71
72 config CONFIG_FEATURE_HTTPD_BASIC_AUTH
73         bool "  Enable Basic http Authentication"
74         default y
75         depends on CONFIG_HTTPD
76         help
77           Utilizes password settings from /etc/httpd.conf for basic
78           authentication on a per url basis.
79
80 config CONFIG_FEATURE_HTTPD_AUTH_MD5
81         bool "  Support MD5 crypted passwords for http Authentication"
82         default n
83         depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
84         help
85           Enables basic per url authentication from /etc/httpd.conf
86           using md5 passwords.
87
88 if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
89 config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
90         bool "  Support reloading the global config file using hup signal"
91         default n
92         depends on CONFIG_HTTPD
93         help
94           This option enables processing of SIGHUP to reload cached
95           configuration settings.
96
97 config CONFIG_FEATURE_HTTPD_SETUID
98         bool "  Enable support -u <user> option"
99         default n
100         depends on CONFIG_HTTPD
101         help
102           This option allows the server to run as a specific user
103           rather than defaulting to the user that starts the server.
104           Use of this option requires special privileges to change to a
105           different user.
106 endif
107
108 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
109         bool "  Support loading additional MIME types at run-time"
110         default n
111         depends on CONFIG_HTTPD
112         help
113           This option enables support for additional MIME types at
114           run-time to be specified in the configuration file.
115
116 config CONFIG_FEATURE_HTTPD_CGI
117         bool "  Support Common Gateway Interface (CGI)"
118         default y
119         depends on CONFIG_HTTPD
120         help
121           This option allows scripts and executables to be invoked
122           when specific urls are requested.
123
124 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
125         bool "  Enable support for running scripts through an interpreter"
126         default n
127         depends on CONFIG_FEATURE_HTTPD_CGI
128         help
129           This option enables support for running scripts through an 
130           interpreter. Turn this on, if you want PHP scripts to work 
131           properly. You need to supply an addition line in your httpd 
132           config file:
133           *.php:/path/to/your/php
134
135 config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
136         bool "  Support the REMOTE_PORT environment variable for CGI"
137         default n
138         depends on CONFIG_FEATURE_HTTPD_CGI
139         help
140           Use of this option can assist scripts in generating
141           references that contain a unique port number.
142
143 config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
144         bool "  Enable the -e option for shell script CGI simplification."
145         default y
146         depends on CONFIG_HTTPD
147         help
148           After set, this option allows html encoding arbitrary
149           strings for display of the browser.  Output goes to stdout.
150           For example, httpd -e "<Hello World>" as
151           "&#60Hello&#32World&#62".
152
153 config CONFIG_IFCONFIG
154         bool "ifconfig"
155         default n
156         help
157           Ifconfig is used to configure the kernel-resident network interfaces.
158
159 config CONFIG_FEATURE_IFCONFIG_STATUS
160         bool "  Enable status reporting output (+7k)"
161         default y
162         depends on CONFIG_IFCONFIG
163         help
164           If ifconfig is called with no arguments it will display the status
165           of the currently active interfaces.
166
167 config CONFIG_FEATURE_IFCONFIG_SLIP
168         bool "  Enable slip-specific options \"keepalive\" and \"outfill\""
169         default n
170         depends on CONFIG_IFCONFIG
171         help
172           Allow "keepalive" and "outfill" support for SLIP.  If you're not
173           planning on using serial lines, leave this unchecked.
174
175 config CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
176         bool "  Enable options \"mem_start\", \"io_addr\", and \"irq\""
177         default n
178         depends on CONFIG_IFCONFIG
179         help
180           Allow the start address for shared memory, start address for I/O,
181           and/or the interrupt line used by the specified device.
182
183 config CONFIG_FEATURE_IFCONFIG_HW
184         bool "  Enable option \"hw\" (ether only)"
185         default y
186         depends on CONFIG_IFCONFIG
187         help
188           Set the hardware address of this interface, if the device driver
189           supports  this  operation.  Currently, we only support the 'ether'
190           class.
191
192 config CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
193         bool "  Set the broadcast automatically"
194         default n
195         depends on CONFIG_IFCONFIG
196         help
197           Setting this will make ifconfig attempt to find the broadcast
198           automatically if the value '+' is used.
199
200 config CONFIG_IFUPDOWN
201         bool "ifupdown"
202         default n
203         select CONFIG_RUN_PARTS
204         help
205           Activate or deactivate the specified interfaces.  This applet makes
206           use of either "ifconfig" and "route" or the "ip" command to actually
207           configure network interfaces.  Therefore, you will probably also want
208           to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
209           CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options.  Of
210           course you could use non-busybox versions of these programs, so
211           against my better judgement (since this will surely result in plenty
212           of support questions on the mailing list), I do not force you to
213           enable these additional options.  It is up to you to supply either
214           "ifconfig" and "route" or the "ip" command, either via busybox or via
215           standalone utilities.
216
217 config CONFIG_FEATURE_IFUPDOWN_IP
218         bool "  Use ip applet"
219         default n
220         depends on CONFIG_IFUPDOWN
221         help
222           Use the iproute "ip" command to implement "ifup" and "ifdown", rather
223           than the default of using the older 'ifconfig' and 'route' utilities.
224
225 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
226         bool "  Use busybox ip applet"
227         default y
228         depends on CONFIG_FEATURE_IFUPDOWN_IP
229         select CONFIG_IP
230         select CONFIG_FEATURE_IP_ADDRESS
231         select CONFIG_FEATURE_IP_LINK
232         select CONFIG_FEATURE_IP_ROUTE
233         help
234           Use the busybox iproute "ip" applet to implement "ifupdown".
235
236           If leave this disabled, you must install the full-blown iproute2
237           utility or the  "ifup" and "ifdown" applets will not work.
238
239 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
240         bool "  Use busybox ifconfig and route applets"
241         default y
242         depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
243         select CONFIG_IFCONFIG
244         select CONFIG_ROUTE
245         help
246           Use the busybox iproute "ifconfig" and "route" applets to
247           implement the "ifup" and "ifdown" utilities.
248
249           If leave this disabled, you must install the full-blown ifconfig
250           and route utilities, or the  "ifup" and "ifdown" applets will not
251           work.
252
253 config CONFIG_FEATURE_IFUPDOWN_IPV4
254         bool "  Enable support for IPv4"
255         default y
256         depends on CONFIG_IFUPDOWN
257         help
258           If you want busybox to talk IPv4, leave this on.
259
260 config CONFIG_FEATURE_IFUPDOWN_IPV6
261         bool "  Enable support for IPv6"
262         default n
263         depends on CONFIG_IFUPDOWN && CONFIG_FEATURE_IPV6
264         help
265           If you need support for IPv6, turn this option on.
266
267 config CONFIG_FEATURE_IFUPDOWN_IPX
268         bool "  Enable support for IPX"
269         default n
270         depends on CONFIG_IFUPDOWN
271         help
272           If this option is selected you can use busybox to work with IPX
273           networks.
274
275 config CONFIG_FEATURE_IFUPDOWN_MAPPING
276         bool "  Enable mapping support"
277         default n
278         depends on CONFIG_IFUPDOWN
279         help
280           This enables support for the "mapping" stanza, unless you have
281           a weird network setup you don't need it.
282
283 config CONFIG_INETD
284         bool "inetd"
285         default n
286         help
287           Internet superserver daemon
288
289 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO
290         bool "  Support echo service"
291         default y
292         depends on CONFIG_INETD
293         help
294           Echo received data internal inetd service
295
296 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
297         bool "  Support discard service"
298         default y
299         depends on CONFIG_INETD
300         help
301           Internet /dev/null internal inetd service
302
303 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME
304         bool "  Support time service"
305         default y
306         depends on CONFIG_INETD
307         help
308           Return 32 bit time since 1900 internal inetd service
309
310 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
311         bool "  Support daytime service"
312         default y
313         depends on CONFIG_INETD
314         help
315           Return human-readable time internal inetd service
316
317 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
318         bool "  Support chargen service"
319         default y
320         depends on CONFIG_INETD
321         help
322           Familiar character generator internal inetd service
323
324 config CONFIG_FEATURE_INETD_RPC
325         bool "  Support RPC services"
326         default n
327         depends on CONFIG_INETD
328         help
329           Suuport Sun-RPC based services
330
331
332 config CONFIG_IP
333         bool "ip"
334         default n
335         help
336           The "ip" applet is a TCP/IP interface configuration and routing
337           utility.  You generally don't need "ip" to use busybox with
338           TCP/IP.
339
340 if CONFIG_IP && CONFIG_IPADDR
341         config CONFIG_FEATURE_IP_ADDRESS
342                 default y
343         comment "  address (forced enabled for ipaddr)"
344 endif
345 if ! (CONFIG_IP && CONFIG_IPADDR)
346         config CONFIG_FEATURE_IP_ADDRESS
347                 bool "  address"
348                 default y
349                 depends on CONFIG_IP
350                 help
351                   Address manipulation support for the "ip" applet.
352 endif
353
354 if CONFIG_IP && CONFIG_IPLINK
355         config CONFIG_FEATURE_IP_LINK
356                 default y
357         comment "  link (forced enabled for iplink)"
358 endif
359 if !(CONFIG_IP && CONFIG_IPLINK)
360         config CONFIG_FEATURE_IP_LINK
361                 bool "  link"
362                 default y
363                 depends on CONFIG_IP
364                 help
365                   Configure network devices with "ip".
366 endif
367
368 if CONFIG_IP && CONFIG_IPROUTE
369         config CONFIG_FEATURE_IP_ROUTE
370                 default y
371         comment "  route (forced enabled for iproute)"
372 endif
373 if !(CONFIG_IP && CONFIG_IPROUTE)
374         config CONFIG_FEATURE_IP_ROUTE
375                 bool "  route"
376                 default y
377                 depends on CONFIG_IP
378                 help
379                   Add support for routing table management to "ip".
380 endif
381
382 if CONFIG_IP && CONFIG_IPTUNNEL
383         config CONFIG_FEATURE_IP_TUNNEL
384                 default y
385         comment "  tunnel (forced enabled for iptunnel)"
386 endif
387 if !(CONFIG_IP && CONFIG_IPTUNNEL)
388         config CONFIG_FEATURE_IP_TUNNEL
389                 bool "  tunnel"
390                 default n
391                 depends on CONFIG_IP
392                 help
393                   Add support for tunneling commands to "ip".
394 endif
395
396 config CONFIG_IPCALC
397         bool "ipcalc"
398         default n
399         help
400           ipcalc takes an IP address and netmask and calculates the
401           resulting broadcast, network, and host range.
402
403 config CONFIG_FEATURE_IPCALC_FANCY
404         bool "  Fancy IPCALC, more options, adds 1 kbyte"
405         default y
406         depends on CONFIG_IPCALC
407         help
408           Adds the options hostname, prefix and silent to the output of "ipcalc".
409
410 config CONFIG_IPADDR
411         bool "ipaddr"
412         default n
413         help
414           Equivalent to selecting address support to "ip", above.
415
416 config CONFIG_IPLINK
417         bool "iplink"
418         default n
419         help
420           Equivalent to selecting link support to "ip", above.
421
422 config CONFIG_IPROUTE
423         bool "iproute"
424         default n
425         help
426           Equivalent to selecting route support to "ip", above.
427
428 config CONFIG_IPTUNNEL
429         bool "iptunnel"
430         default n
431         help
432           Equivalent to selecting tunnel support to "ip", above.
433
434 config CONFIG_NAMEIF
435         bool "nameif"
436         default n
437         help
438           nameif is used to rename network interface by its MAC address.
439           Renamed interfaces MUST be in the down state.
440           It is possible to use a file (default: /etc/mactab)
441           with list of new interface names and MACs.
442           Maximum interface name length: IF_NAMESIZE = 16
443           File fields are separated by space or tab.
444           File format:
445           # Comment
446           new_interface_name    XX:XX:XX:XX:XX:XX
447
448 config CONFIG_NC
449         bool "nc"
450         default n
451         help
452           A simple Unix utility which reads and writes data across network
453           connections.
454
455 config CONFIG_NC_GAPING_SECURITY_HOLE
456         bool "gaping security hole"
457         default n
458         depends on CONFIG_NC
459         help
460           Add support for executing a program after making or receiving a
461           successful connection (-e option).
462
463 config CONFIG_NETSTAT
464         bool "netstat"
465         default n
466         help
467           netstat prints information about the Linux networking subsystem.
468
469 config CONFIG_NSLOOKUP
470         bool "nslookup"
471         default n
472         help
473           nslookup is a tool to query Internet name servers.
474
475 config CONFIG_PING
476         bool "ping"
477         default n
478         help
479           ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
480           elicit an ICMP ECHO_RESPONSE from a host or gateway.
481
482 config CONFIG_FEATURE_FANCY_PING
483         bool "  Enable fancy ping output"
484         default y
485         depends on CONFIG_PING
486         help
487           Make the output from the ping applet include statistics, and at the
488           same time provide full support for ICMP packets.
489
490 config CONFIG_PING6
491         bool "ping6"
492         default n
493         depends on CONFIG_FEATURE_IPV6
494         help
495           This will give you a ping that can talk IPv6.
496
497 config CONFIG_FEATURE_FANCY_PING6
498         bool "  Enable fancy ping6 output"
499         default y
500         depends on CONFIG_PING6
501         help
502           Make the output from the ping6 applet include statistics, and at the
503           same time provide full support for ICMP packets.
504
505 config CONFIG_ROUTE
506         bool "route"
507         default n
508         help
509           Route displays or manipulates the kernel's IP routing tables.
510
511 config CONFIG_TELNET
512         bool "telnet"
513         default n
514         help
515           Telnet is an interface to the TELNET protocol, but is also commonly
516           used to test other simple protocols.
517
518 config CONFIG_FEATURE_TELNET_TTYPE
519         bool "  Pass TERM type to remote host"
520         default y
521         depends on CONFIG_TELNET
522         help
523           Setting this option will forward the TERM environment variable to the
524           remote host you are connecting to.  This is useful to make sure that
525           things like ANSI colors and other control sequences behave.
526
527 config CONFIG_FEATURE_TELNET_AUTOLOGIN
528         bool "  Pass USER type to remote host"
529         default y
530         depends on CONFIG_TELNET
531         help
532           Setting this option will forward the USER environment variable to the
533           remote host you are connecting to. This is useful when you need to
534           log into a machine without telling the username (autologin). This
535           option enables `-a' and `-l USER' arguments.
536
537 config CONFIG_TELNETD
538         bool "telnetd"
539         default n
540         help
541           A daemon for the TELNET protocol, allowing you to log onto the host
542           running the daemon.  Please keep in mind that the TELNET protocol
543           sends passwords in plain text.  If you can't afford the space for an
544           SSH daemon and you trust your network, you may say 'y' here.  As a
545           more secure alternative, you should seriously consider installing the
546           very small Dropbear SSH daemon instead:
547                 http://matt.ucc.asn.au/dropbear/dropbear.html
548
549           Note that for busybox telnetd to work you need several things:
550           First of all, your kernel needs:
551                   CONFIG_UNIX98_PTYS=y
552                   CONFIG_DEVPTS_FS=y
553
554           Next, you need a /dev/pts directory on your root filesystem:
555
556                   $ ls -ld /dev/pts
557                   drwxr-xr-x  2 root root 0 Sep 23 13:21 /dev/pts/
558
559           Next you need the pseudo terminal master multiplexer /dev/ptmx:
560
561                   $ ls -la /dev/ptmx
562                   crw-rw-rw-  1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
563
564           Any /dev/ttyp[0-9]* files you may have can be removed.
565           Next, you need to mount the devpts filesystem on /dev/pts using:
566
567                   mount -t devpts devpts /dev/pts
568
569           You need to be sure that Busybox has CONFIG_LOGIN and
570           CONFIG_FEATURE_SUID enabled.  And finally, you should make
571           certain that Busybox has been installed setuid root:
572
573                 chown root.root /bin/busybox
574                 chmod 4755 /bin/busybox
575
576           with all that done, telnetd _should_ work....
577
578
579 config CONFIG_FEATURE_TELNETD_INETD
580         bool "  Support call from inetd only"
581         default n
582         depends on CONFIG_TELNETD
583         help
584           Selecting this will make telnetd only callable from inetd,
585           removing the standalone support.
586
587 config CONFIG_TFTP
588         bool "tftp"
589         default n
590         help
591           This enables the Trivial File Transfer Protocol client program.  TFTP
592           is usually used for simple, small transfers such as a root image
593           for a network-enabled bootloader.
594
595 config CONFIG_FEATURE_TFTP_GET
596         bool "  Enable \"get\" command"
597         default y
598         depends on CONFIG_TFTP
599         help
600           Add support for the GET command within the TFTP client.  This allows
601           a client to retrieve a file from a TFTP server.
602
603 config CONFIG_FEATURE_TFTP_PUT
604         bool "  Enable \"put\" command"
605         default y
606         depends on CONFIG_TFTP
607         help
608           Add support for the PUT command within the TFTP client.  This allows
609           a client to transfer a file to a TFTP server.
610
611 config CONFIG_FEATURE_TFTP_BLOCKSIZE
612         bool "  Enable \"blocksize\" command"
613         default n
614         depends on CONFIG_TFTP
615         help
616           Allow the client to specify the desired block size for transfers.
617
618 config CONFIG_FEATURE_TFTP_DEBUG
619         bool "  Enable debug"
620         default n
621         depends on CONFIG_TFTP
622         help
623           Enable debug settings for tftp.  This is useful if you're running
624           into problems with tftp as the protocol doesn't help you much when
625           you run into problems.
626
627 config CONFIG_TRACEROUTE
628         bool "traceroute"
629         default n
630         help
631           Utility to trace the route of IP packets
632
633 config CONFIG_FEATURE_TRACEROUTE_VERBOSE
634         bool "  Enable verbose output"
635         default n
636         depends on CONFIG_TRACEROUTE
637         help
638           Add some verbosity to traceroute.  This includes amongst other things
639           hostnames and ICMP response types.
640
641 config CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
642         bool "  Enable loose source route"
643         default n
644         depends on CONFIG_TRACEROUTE
645         help
646           Add option to specify a loose source route gateway
647           (8 maximum).
648
649 config CONFIG_FEATURE_TRACEROUTE_USE_ICMP
650         bool "  Use ICMP instead of UDP"
651         default n
652         depends on CONFIG_TRACEROUTE
653         help
654           Add feature to allow for ICMP ECHO instead of UDP datagrams.
655
656 source networking/udhcp/Config.in
657
658 config CONFIG_VCONFIG
659         bool "vconfig"
660         default n
661         help
662           Creates, removes, and configures VLAN interfaces
663
664 config CONFIG_WGET
665         bool "wget"
666         default n
667         help
668           wget is a utility for non-interactive download of files from HTTP,
669           HTTPS, and FTP servers.
670
671 config CONFIG_FEATURE_WGET_STATUSBAR
672         bool "  Enable a nifty process meter (+2k)"
673         default y
674         depends on CONFIG_WGET
675         help
676           Enable the transfer progress bar for wget transfers.
677
678 config CONFIG_FEATURE_WGET_AUTHENTICATION
679         bool "  Enable HTTP authentication"
680         default y
681         depends on CONFIG_WGET
682         help
683           Support authenticated HTTP transfers.
684
685 config CONFIG_FEATURE_WGET_IP6_LITERAL
686         bool "  Enable IPv6 literal addresses"
687         default y
688         depends on CONFIG_WGET && CONFIG_FEATURE_IPV6
689         help
690           Support IPv6 address literal notation in URLs.
691
692 config CONFIG_ZCIP
693         bool "zcip"
694         default n
695         help
696           ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
697           It's a daemon that allocates and defends a dynamically assigned
698           address on the 169.254/16 network, requiring no system administrator.
699
700           See http://www.zeroconf.org for further details, and "zcip.script"
701           in the busybox examples.
702
703 endmenu
704