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