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