- single KERNEL_VERSION(a,b,c) macro in platform.h
[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 in busybox.
13           This adds IPv6 support in the networking applets.
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 daemon. 
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 on the ident port and returns a predefined
38           fake value on any query.
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_WITHOUT_INETD
65         bool "Support using httpd as a daemon (not from inetd)"
66         default n
67         depends on CONFIG_HTTPD
68         help
69           This option enables uid and port options for the httpd applet,
70           and eliminates the need to be called from the inetd server daemon.
71
72 config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
73         bool "Support reloading the global config file using hup signal"
74         default n
75         depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD
76         help
77           This option enables processing of SIGHUP to reload cached
78           configuration settings.
79
80 config CONFIG_FEATURE_HTTPD_SETUID
81         bool "Enable support -u <user> option"
82         default n
83         depends on CONFIG_HTTPD && CONFIG_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 CONFIG_FEATURE_HTTPD_BASIC_AUTH
91         bool "Enable Basic http Authentication"
92         default y
93         depends on CONFIG_HTTPD
94         help
95           Utilizes password settings from /etc/httpd.conf for basic
96           authentication on a per url basis.
97
98 config CONFIG_FEATURE_HTTPD_AUTH_MD5
99         bool "Support MD5 crypted passwords for http Authentication"
100         default n
101         depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
102         help
103           Enables basic per URL authentication from /etc/httpd.conf
104           using md5 passwords.
105
106 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
107         bool "Support loading additional MIME types at run-time"
108         default n
109         depends on CONFIG_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 CONFIG_FEATURE_HTTPD_CGI
115         bool "Support Common Gateway Interface (CGI)"
116         default y
117         depends on CONFIG_HTTPD
118         help
119           This option allows scripts and executables to be invoked
120           when specific URLs are requested.
121
122 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
123         bool "Enable support for running scripts through an interpreter"
124         default n
125         depends on CONFIG_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 CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
134         bool "Support the REMOTE_PORT environment variable for CGI"
135         default n
136         depends on CONFIG_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 CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
142         bool "Enable the -e option for shell script CGI simplification."
143         default y
144         depends on CONFIG_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 CONFIG_IFCONFIG
152         bool "ifconfig"
153         default n
154         help
155           Ifconfig is used to configure the kernel-resident network interfaces.
156
157 config CONFIG_FEATURE_IFCONFIG_STATUS
158         bool "Enable status reporting output (+7k)"
159         default y
160         depends on CONFIG_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 CONFIG_FEATURE_IFCONFIG_SLIP
166         bool "Enable slip-specific options \"keepalive\" and \"outfill\""
167         default n
168         depends on CONFIG_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 CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
174         bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
175         default n
176         depends on CONFIG_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 CONFIG_FEATURE_IFCONFIG_HW
182         bool "Enable option \"hw\" (ether only)"
183         default y
184         depends on CONFIG_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 CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
191         bool "Set the broadcast automatically"
192         default n
193         depends on CONFIG_IFCONFIG
194         help
195           Setting this will make ifconfig attempt to find the broadcast
196           automatically if the value '+' is used.
197
198 config CONFIG_IFUPDOWN
199         bool "ifupdown"
200         default n
201         select CONFIG_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 CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
207           CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_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 CONFIG_FEATURE_IFUPDOWN_IP
216         bool "Use ip applet"
217         default n
218         depends on CONFIG_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 CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
224         bool "Use busybox ip applet"
225         default y
226         depends on CONFIG_FEATURE_IFUPDOWN_IP
227         select CONFIG_IP
228         select CONFIG_FEATURE_IP_ADDRESS
229         select CONFIG_FEATURE_IP_LINK
230         select CONFIG_FEATURE_IP_ROUTE
231         help
232           Use the busybox iproute "ip" applet to implement "ifupdown".
233
234           If leave this disabled, you must install the full-blown iproute2
235           utility or the  "ifup" and "ifdown" applets will not work.
236
237 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
238         bool "Use busybox ifconfig and route applets"
239         default y
240         depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
241         select CONFIG_IFCONFIG
242         select CONFIG_ROUTE
243         help
244           Use the busybox iproute "ifconfig" and "route" applets to
245           implement the "ifup" and "ifdown" utilities.
246
247           If leave this 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 CONFIG_FEATURE_IFUPDOWN_IPV4
252         bool "Enable support for IPv4"
253         default y
254         depends on CONFIG_IFUPDOWN
255         help
256           If you want busybox to talk IPv4, leave this on.
257
258 config CONFIG_FEATURE_IFUPDOWN_IPV6
259         bool "Enable support for IPv6"
260         default n
261         depends on CONFIG_IFUPDOWN && CONFIG_FEATURE_IPV6
262         help
263           If you need support for IPv6, turn this option on.
264
265 config CONFIG_FEATURE_IFUPDOWN_IPX
266         bool "Enable support for IPX"
267         default n
268         depends on CONFIG_IFUPDOWN
269         help
270           If this option is selected you can use busybox to work with IPX
271           networks.
272
273 config CONFIG_FEATURE_IFUPDOWN_MAPPING
274         bool "Enable mapping support"
275         default n
276         depends on CONFIG_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 CONFIG_INETD
282         bool "inetd"
283         default n
284         help
285           Internet superserver daemon
286
287 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO
288         bool "Support echo service"
289         default y
290         depends on CONFIG_INETD
291         help
292           Echo received data internal inetd service
293
294 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
295         bool "Support discard service"
296         default y
297         depends on CONFIG_INETD
298         help
299           Internet /dev/null internal inetd service
300
301 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME
302         bool "Support time service"
303         default y
304         depends on CONFIG_INETD
305         help
306           Return 32 bit time since 1900 internal inetd service
307
308 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
309         bool "Support daytime service"
310         default y
311         depends on CONFIG_INETD
312         help
313           Return human-readable time internal inetd service
314
315 config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
316         bool "Support chargen service"
317         default y
318         depends on CONFIG_INETD
319         help
320           Familiar character generator internal inetd service
321
322 config CONFIG_FEATURE_INETD_RPC
323         bool "Support RPC services"
324         default n
325         depends on CONFIG_INETD
326         help
327           Suuport Sun-RPC based services
328
329
330 config CONFIG_IP
331         bool "ip"
332         default n
333         help
334           The "ip" applet is a TCP/IP interface configuration and routing
335           utility.  You generally don't need "ip" to use busybox with
336           TCP/IP.
337
338 config CONFIG_FEATURE_IP_ADDRESS
339         bool "ip address"
340         default y
341         depends on CONFIG_IP
342         help
343           Address manipulation support for the "ip" applet.
344
345 config CONFIG_FEATURE_IP_LINK
346         bool "ip link"
347         default y
348         depends on CONFIG_IP
349         help
350           Configure network devices with "ip".
351
352 config CONFIG_FEATURE_IP_ROUTE
353         bool "ip route"
354         default y
355         depends on CONFIG_IP
356         help
357           Add support for routing table management to "ip".
358
359 config CONFIG_FEATURE_IP_TUNNEL
360         bool "ip tunnel"
361         default n
362         depends on CONFIG_IP
363         help
364           Add support for tunneling commands to "ip".
365
366 config CONFIG_FEATURE_IP_SHORT_FORMS
367         bool "Support short forms of ip commands."
368         default n
369         depends on CONFIG_IP
370         help
371           Also support short-form of ip <OBJECT> commands:
372           ip addr   -> ipaddr
373           ip link   -> iplink
374           ip route  -> iproute
375           ip tunnel -> iptunnel
376
377           Say N unless you desparately need the short form of the ip
378           object commands.
379
380 config CONFIG_IPADDR
381         bool
382         default y
383         depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS
384
385 config CONFIG_IPLINK
386         bool
387         default y
388         depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK
389
390 config CONFIG_IPROUTE
391         bool
392         default y
393         depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE
394
395 config CONFIG_IPTUNNEL
396         bool
397         default y
398         depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL
399
400 config CONFIG_IPCALC
401         bool "ipcalc"
402         default n
403         help
404           ipcalc takes an IP address and netmask and calculates the
405           resulting broadcast, network, and host range.
406
407 config CONFIG_FEATURE_IPCALC_FANCY
408         bool "Fancy IPCALC, more options, adds 1 kbyte"
409         default y
410         depends on CONFIG_IPCALC
411         help
412           Adds the options hostname, prefix and silent to the output of "ipcalc".
413
414 config CONFIG_NAMEIF
415         bool "nameif"
416         default n
417         help
418           nameif is used to rename network interface by its MAC address.
419           Renamed interfaces MUST be in the down state.
420           It is possible to use a file (default: /etc/mactab)
421           with list of new interface names and MACs.
422           Maximum interface name length: IF_NAMESIZE = 16
423           File fields are separated by space or tab.
424           File format:
425           # Comment
426           new_interface_name    XX:XX:XX:XX:XX:XX
427
428 config CONFIG_NC
429         bool "nc"
430         default n
431         help
432           A simple Unix utility which reads and writes data across network
433           connections.
434
435 config CONFIG_NC_GAPING_SECURITY_HOLE
436         bool "gaping security hole"
437         default n
438         depends on CONFIG_NC
439         help
440           Add support for executing a program after making or receiving a
441           successful connection (-e option).
442
443 config CONFIG_NETSTAT
444         bool "netstat"
445         default n
446         help
447           netstat prints information about the Linux networking subsystem.
448
449 config CONFIG_NSLOOKUP
450         bool "nslookup"
451         default n
452         help
453           nslookup is a tool to query Internet name servers.
454
455 config CONFIG_PING
456         bool "ping"
457         default n
458         help
459           ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
460           elicit an ICMP ECHO_RESPONSE from a host or gateway.
461
462 config CONFIG_FEATURE_FANCY_PING
463         bool "Enable fancy ping output"
464         default y
465         depends on CONFIG_PING
466         help
467           Make the output from the ping applet include statistics, and at the
468           same time provide full support for ICMP packets.
469
470 config CONFIG_PING6
471         bool "ping6"
472         default n
473         depends on CONFIG_FEATURE_IPV6
474         help
475           This will give you a ping that can talk IPv6.
476
477 config CONFIG_FEATURE_FANCY_PING6
478         bool "Enable fancy ping6 output"
479         default y
480         depends on CONFIG_PING6
481         help
482           Make the output from the ping6 applet include statistics, and at the
483           same time provide full support for ICMP packets.
484
485 config CONFIG_ROUTE
486         bool "route"
487         default n
488         help
489           Route displays or manipulates the kernel's IP routing tables.
490
491 config CONFIG_TELNET
492         bool "telnet"
493         default n
494         help
495           Telnet is an interface to the TELNET protocol, but is also commonly
496           used to test other simple protocols.
497
498 config CONFIG_FEATURE_TELNET_TTYPE
499         bool "Pass TERM type to remote host"
500         default y
501         depends on CONFIG_TELNET
502         help
503           Setting this option will forward the TERM environment variable to the
504           remote host you are connecting to.  This is useful to make sure that
505           things like ANSI colors and other control sequences behave.
506
507 config CONFIG_FEATURE_TELNET_AUTOLOGIN
508         bool "Pass USER type to remote host"
509         default y
510         depends on CONFIG_TELNET
511         help
512           Setting this option will forward the USER environment variable to the
513           remote host you are connecting to. This is useful when you need to
514           log into a machine without telling the username (autologin). This
515           option enables `-a' and `-l USER' arguments.
516
517 config CONFIG_TELNETD
518         bool "telnetd"
519         default n
520         help
521           A daemon for the TELNET protocol, allowing you to log onto the host
522           running the daemon.  Please keep in mind that the TELNET protocol
523           sends passwords in plain text.  If you can't afford the space for an
524           SSH daemon and you trust your network, you may say 'y' here.  As a
525           more secure alternative, you should seriously consider installing the
526           very small Dropbear SSH daemon instead:
527                 http://matt.ucc.asn.au/dropbear/dropbear.html
528
529           Note that for busybox telnetd to work you need several things:
530           First of all, your kernel needs:
531                   CONFIG_UNIX98_PTYS=y
532                   CONFIG_DEVPTS_FS=y
533
534           Next, you need a /dev/pts directory on your root filesystem:
535
536                   $ ls -ld /dev/pts
537                   drwxr-xr-x  2 root root 0 Sep 23 13:21 /dev/pts/
538
539           Next you need the pseudo terminal master multiplexer /dev/ptmx:
540
541                   $ ls -la /dev/ptmx
542                   crw-rw-rw-  1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
543
544           Any /dev/ttyp[0-9]* files you may have can be removed.
545           Next, you need to mount the devpts filesystem on /dev/pts using:
546
547                   mount -t devpts devpts /dev/pts
548
549           You need to be sure that Busybox has CONFIG_LOGIN and
550           CONFIG_FEATURE_SUID enabled.  And finally, you should make
551           certain that Busybox has been installed setuid root:
552
553                 chown root.root /bin/busybox
554                 chmod 4755 /bin/busybox
555
556           with all that done, telnetd _should_ work....
557
558
559 config CONFIG_FEATURE_TELNETD_INETD
560         bool "Support call from inetd only"
561         default n
562         depends on CONFIG_TELNETD
563         help
564           Selecting this will make telnetd only callable from inetd,
565           removing the standalone support.
566
567 config CONFIG_TFTP
568         bool "tftp"
569         default n
570         help
571           This enables the Trivial File Transfer Protocol client program.  TFTP
572           is usually used for simple, small transfers such as a root image
573           for a network-enabled bootloader.
574
575 config CONFIG_FEATURE_TFTP_GET
576         bool "Enable \"get\" command"
577         default y
578         depends on CONFIG_TFTP
579         help
580           Add support for the GET command within the TFTP client.  This allows
581           a client to retrieve a file from a TFTP server.
582
583 config CONFIG_FEATURE_TFTP_PUT
584         bool "Enable \"put\" command"
585         default y
586         depends on CONFIG_TFTP
587         help
588           Add support for the PUT command within the TFTP client.  This allows
589           a client to transfer a file to a TFTP server.
590
591 config CONFIG_FEATURE_TFTP_BLOCKSIZE
592         bool "Enable \"blocksize\" command"
593         default n
594         depends on CONFIG_TFTP
595         help
596           Allow the client to specify the desired block size for transfers.
597
598 config CONFIG_FEATURE_TFTP_DEBUG
599         bool "Enable debug"
600         default n
601         depends on CONFIG_TFTP
602         help
603           Enable debug settings for tftp.  This is useful if you're running
604           into problems with tftp as the protocol doesn't help you much when
605           you run into problems.
606
607 config CONFIG_TRACEROUTE
608         bool "traceroute"
609         default n
610         help
611           Utility to trace the route of IP packets
612
613 config CONFIG_FEATURE_TRACEROUTE_VERBOSE
614         bool "Enable verbose output"
615         default n
616         depends on CONFIG_TRACEROUTE
617         help
618           Add some verbosity to traceroute.  This includes amongst other things
619           hostnames and ICMP response types.
620
621 config CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
622         bool "Enable loose source route"
623         default n
624         depends on CONFIG_TRACEROUTE
625         help
626           Add option to specify a loose source route gateway
627           (8 maximum).
628
629 config CONFIG_FEATURE_TRACEROUTE_USE_ICMP
630         bool "Use ICMP instead of UDP"
631         default n
632         depends on CONFIG_TRACEROUTE
633         help
634           Add feature to allow for ICMP ECHO instead of UDP datagrams.
635
636 source networking/udhcp/Config.in
637
638 config CONFIG_VCONFIG
639         bool "vconfig"
640         default n
641         help
642           Creates, removes, and configures VLAN interfaces
643
644 config CONFIG_WGET
645         bool "wget"
646         default n
647         help
648           wget is a utility for non-interactive download of files from HTTP,
649           HTTPS, and FTP servers.
650
651 config CONFIG_FEATURE_WGET_STATUSBAR
652         bool "Enable a nifty process meter (+2k)"
653         default y
654         depends on CONFIG_WGET
655         help
656           Enable the transfer progress bar for wget transfers.
657
658 config CONFIG_FEATURE_WGET_AUTHENTICATION
659         bool "Enable HTTP authentication"
660         default y
661         depends on CONFIG_WGET
662         help
663           Support authenticated HTTP transfers.
664
665 config CONFIG_FEATURE_WGET_IP6_LITERAL
666         bool "Enable IPv6 literal addresses"
667         default y
668         depends on CONFIG_WGET && CONFIG_FEATURE_IPV6
669         help
670           Support IPv6 address literal notation in URLs.
671
672 config CONFIG_ZCIP
673         bool "zcip"
674         default n
675         help
676           ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
677           It's a daemon that allocates and defends a dynamically assigned
678           address on the 169.254/16 network, requiring no system administrator.
679
680           See http://www.zeroconf.org for further details, and "zcip.script"
681           in the busybox examples.
682
683 endmenu