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