Make insmod quiet by default (patch from Yann E. Morin).
[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         select CONFIG_RUN_PARTS
188         help
189           Activate or deactivate the specified interfaces.  This applet makes
190           use of either "ifconfig" and "route" or the "ip" command to actually
191           configure network interfaces.  Therefore, you will probably also want
192           to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
193           CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options.  Of
194           course you could use non-busybox versions of these programs, so
195           against my better judgement (since this will surely result in plenty
196           of support questions on the mailing list), I do not force you to
197           enable these additional options.  It is up to you to supply either
198           "ifconfig" and "route" or the "ip" command, either via busybox or via
199           standalone utilities.
200
201 config CONFIG_FEATURE_IFUPDOWN_IP
202         bool "  Use ip applet"
203         default n
204         depends on CONFIG_IFUPDOWN
205         help
206           Use the iproute "ip" command to implement "ifup" and "ifdown", rather
207           than the default of using the older 'ifconfig' and 'route' utilities.
208
209 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
210         bool "  Use busybox ip applet"
211         default y
212         depends on CONFIG_FEATURE_IFUPDOWN_IP
213         select CONFIG_IP
214         select CONFIG_FEATURE_IP_ADDRESS
215         select CONFIG_FEATURE_IP_LINK
216         select CONFIG_FEATURE_IP_ROUTE
217         help
218           Use the busybox iproute "ip" applet to implement "ifupdown".
219
220           If leave this disabled, you must install the full-blown iproute2
221           utility or the  "ifup" and "ifdown" applets will not work.
222
223 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
224         bool "  Use busybox ifconfig and route applets"
225         default y
226         depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
227         select CONFIG_IFCONFIG
228         select CONFIG_ROUTE
229         help
230           Use the busybox iproute "ifconfig" and "route" applets to
231           implement the "ifup" and "ifdown" utilities.
232
233           If leave this disabled, you must install the full-blown ifconfig
234           and route utilities, or the  "ifup" and "ifdown" applets will not
235           work.
236
237 config CONFIG_FEATURE_IFUPDOWN_IPV4
238         bool "  Enable support for IPv4"
239         default y
240         depends on CONFIG_IFUPDOWN
241         help
242           If you want busybox to talk IPv4, leave this on.
243
244 config CONFIG_FEATURE_IFUPDOWN_IPV6
245         bool "  Enable support for IPv6"
246         default n
247         depends on CONFIG_IFUPDOWN
248         help
249           If you need support for IPv6, turn this option on.
250
251 config CONFIG_FEATURE_IFUPDOWN_IPX
252         bool "  Enable support for IPX"
253         default n
254         depends on CONFIG_IFUPDOWN
255         help
256           If this option is selected you can use busybox to work with IPX
257           networks.
258
259 config CONFIG_FEATURE_IFUPDOWN_MAPPING
260         bool "  Enable mapping support"
261         default n
262         depends on CONFIG_IFUPDOWN
263         help
264           This enables support for the "mapping" stanza, unless you have
265           a weird network setup you don't need it.
266
267 config CONFIG_INETD
268         bool "inetd"
269         default n
270         help
271           Internet superserver daemon
272
273 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO
274         bool "  Support echo service"
275         default y
276         depends on CONFIG_INETD
277         help
278           Echo received data internal inetd service
279
280 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD
281         bool "  Support discard service"
282         default y
283         depends on CONFIG_INETD
284         help
285           Internet /dev/null internal inetd service
286
287 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME
288         bool "  Support time service"
289         default y
290         depends on CONFIG_INETD
291         help
292           Return 32 bit time since 1900 internal inetd service
293
294 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME
295         bool "  Support daytime service"
296         default y
297         depends on CONFIG_INETD
298         help
299           Return human-readable time internal inetd service
300
301 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN
302         bool "  Support chargen service"
303         default y
304         depends on CONFIG_INETD
305         help
306           Familiar character generator internal inetd service
307
308 config CONFIG_FEATURE_INETD_RPC
309         bool "  Support RPC services"
310         default n
311         depends on CONFIG_INETD
312         help
313           Suuport Sun-RPC based services
314
315
316 config CONFIG_IP
317         bool "ip"
318         default n
319         help
320           The "ip" applet is a TCP/IP interface configuration and routing
321           utility.  You generally don't need "ip" to use busybox with
322           TCP/IP.
323
324 if CONFIG_IP && CONFIG_IPADDR
325         config CONFIG_FEATURE_IP_ADDRESS
326                 default y
327         comment "  address (forced enabled for ipaddr)"
328 endif
329 if ! (CONFIG_IP && CONFIG_IPADDR)
330         config CONFIG_FEATURE_IP_ADDRESS
331                 bool "  address"
332                 default y
333                 depends on CONFIG_IP
334                 help
335                   Address manipulation support for the "ip" applet.
336 endif
337
338 if CONFIG_IP && CONFIG_IPLINK
339         config CONFIG_FEATURE_IP_LINK
340                 default y
341         comment "  link (forced enabled for iplink)"
342 endif
343 if !(CONFIG_IP && CONFIG_IPLINK)
344         config CONFIG_FEATURE_IP_LINK
345                 bool "  link"
346                 default y
347                 depends on CONFIG_IP
348                 help
349                   Configure network devices with "ip".
350 endif
351
352 if CONFIG_IP && CONFIG_IPROUTE
353         config CONFIG_FEATURE_IP_ROUTE
354                 default y
355         comment "  route (forced enabled for iproute)"
356 endif
357 if !(CONFIG_IP && CONFIG_IPROUTE)
358         config CONFIG_FEATURE_IP_ROUTE
359                 bool "  route"
360                 default y
361                 depends on CONFIG_IP
362                 help
363                   Add support for routing table management to "ip".
364 endif
365
366 if CONFIG_IP && CONFIG_IPTUNNEL
367         config CONFIG_FEATURE_IP_TUNNEL
368                 default y
369         comment "  tunnel (forced enabled for iptunnel)"
370 endif
371 if !(CONFIG_IP && CONFIG_IPTUNNEL)
372         config CONFIG_FEATURE_IP_TUNNEL
373                 bool "  tunnel"
374                 default n
375                 depends on CONFIG_IP
376                 help
377                   Add support for tunneling commands to "ip".
378 endif
379
380 config CONFIG_IPCALC
381         bool "ipcalc"
382         default n
383         help
384           ipcalc takes an IP address and netmask and calculates the
385           resulting broadcast, network, and host range.
386
387 config CONFIG_FEATURE_IPCALC_FANCY
388         bool "  Fancy IPCALC, more options, adds 1 kbyte"
389         default y
390         depends on CONFIG_IPCALC
391         help
392           Adds the options hostname, prefix and silent to the output of "ipcalc".
393
394 config CONFIG_IPADDR
395         bool "ipaddr"
396         default n
397         help
398           Equivalent to selecting address support to "ip", above.
399
400 config CONFIG_IPLINK
401         bool "iplink"
402         default n
403         help
404           Equivalent to selecting link support to "ip", above.
405
406 config CONFIG_IPROUTE
407         bool "iproute"
408         default n
409         help
410           Equivalent to selecting route support to "ip", above.
411
412 config CONFIG_IPTUNNEL
413         bool "iptunnel"
414         default n
415         help
416           Equivalent to selecting tunnel support to "ip", above.
417
418 config CONFIG_NAMEIF
419         bool "nameif"
420         default n
421         help
422           nameif is used to rename network interface by its MAC address.
423           Renamed interfaces MUST be in the down state.
424           It is possible to use a file (default: /etc/mactab)
425           with list of new interface names and MACs.
426           Maximum interface name length: IF_NAMESIZE = 16
427           File fields are separated by space or tab.
428           File format:
429           # Comment
430           new_interface_name    XX:XX:XX:XX:XX:XX
431
432 config CONFIG_NC
433         bool "nc"
434         default n
435         help
436           A simple Unix utility which reads and writes data across network
437           connections.
438
439 config CONFIG_NC_GAPING_SECURITY_HOLE
440         bool "gaping security hole"
441         default n
442         depends on CONFIG_NC
443         help
444           Add support for executing a program after making or receiving a
445           successful connection (-e option).
446
447 config CONFIG_NETSTAT
448         bool "netstat"
449         default n
450         help
451           netstat prints information about the Linux networking subsystem.
452
453 config CONFIG_NSLOOKUP
454         bool "nslookup"
455         default n
456         help
457           nslookup is a tool to query Internet name servers.
458
459 config CONFIG_PING
460         bool "ping"
461         default n
462         help
463           ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
464           elicit an ICMP ECHO_RESPONSE from a host or gateway.
465
466 config CONFIG_FEATURE_FANCY_PING
467         bool "  Enable fancy ping output"
468         default y
469         depends on CONFIG_PING
470         help
471           Make the output from the ping applet include statistics, and at the
472           same time provide full support for ICMP packets.
473
474 config CONFIG_PING6
475         bool "ping6"
476         default n
477         depends on CONFIG_FEATURE_IPV6
478         help
479           This will give you a ping that can talk IPv6.
480
481 config CONFIG_FEATURE_FANCY_PING6
482         bool "  Enable fancy ping6 output"
483         default y
484         depends on CONFIG_PING6
485         help
486           Make the output from the ping6 applet include statistics, and at the
487           same time provide full support for ICMP packets.
488
489 config CONFIG_ROUTE
490         bool "route"
491         default n
492         help
493           Route displays or manipulates the kernel's IP routing tables.
494
495 config CONFIG_TELNET
496         bool "telnet"
497         default n
498         help
499           Telnet is an interface to the TELNET protocol, but is also commonly
500           used to test other simple protocols.
501
502 config CONFIG_FEATURE_TELNET_TTYPE
503         bool "  Pass TERM type to remote host"
504         default y
505         depends on CONFIG_TELNET
506         help
507           Setting this option will forward the TERM environment variable to the
508           remote host you are connecting to.  This is useful to make sure that
509           things like ANSI colors and other control sequences behave.
510
511 config CONFIG_FEATURE_TELNET_AUTOLOGIN
512         bool "  Pass USER type to remote host"
513         default y
514         depends on CONFIG_TELNET
515         help
516           Setting this option will forward the USER environment variable to the
517           remote host you are connecting to. This is useful when you need to
518           log into a machine without telling the username (autologin). This
519           option enables `-a' and `-l USER' arguments.
520
521 config CONFIG_TELNETD
522         bool "telnetd"
523         default n
524         help
525           A daemon for the TELNET protocol, allowing you to log onto the host
526           running the daemon.  Please keep in mind that the TELNET protocol
527           sends passwords in plain text.  If you can't afford the space for an
528           SSH daemon and you trust your network, you may say 'y' here.  As a
529           more secure alternative, you should seriously consider installing the
530           very small Dropbear SSH daemon instead:
531                 http://matt.ucc.asn.au/dropbear/dropbear.html
532
533           Note that for busybox telnetd to work you need several things:
534           First of all, your kernel needs:
535                   CONFIG_UNIX98_PTYS=y
536                   CONFIG_DEVPTS_FS=y
537
538           Next, you need a /dev/pts directory on your root filesystem:
539
540                   $ ls -ld /dev/pts
541                   drwxr-xr-x  2 root root 0 Sep 23 13:21 /dev/pts/
542
543           Next you need the pseudo terminal master multiplexer /dev/ptmx:
544
545                   $ ls -la /dev/ptmx
546                   crw-rw-rw-  1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
547
548           Any /dev/ttyp[0-9]* files you may have can be removed.
549           Next, you need to mount the devpts filesystem on /dev/pts using:
550
551                   mount -t devpts devpts /dev/pts
552
553           You need to be sure that Busybox has CONFIG_LOGIN and
554           CONFIG_FEATURE_SUID enabled.  And finally, you should make
555           certain that Busybox has been installed setuid root:
556
557                 chown root.root /bin/busybox
558                 chmod 4755 /bin/busybox
559
560           with all that done, telnetd _should_ work....
561
562
563 config CONFIG_FEATURE_TELNETD_INETD
564         bool "  Support call from inetd only"
565         default n
566         depends on CONFIG_TELNETD
567         help
568           Selecting this will make telnetd only callable from inetd,
569           removing the standalone support.
570
571 config CONFIG_TFTP
572         bool "tftp"
573         default n
574         help
575           This enables the Trivial File Transfer Protocol client program.  TFTP
576           is usually used for simple, small transfers such as a root image
577           for a network-enabled bootloader.
578
579 config CONFIG_FEATURE_TFTP_GET
580         bool "  Enable \"get\" command"
581         default y
582         depends on CONFIG_TFTP
583         help
584           Add support for the GET command within the TFTP client.  This allows
585           a client to retrieve a file from a TFTP server.
586
587 config CONFIG_FEATURE_TFTP_PUT
588         bool "  Enable \"put\" command"
589         default y
590         depends on CONFIG_TFTP
591         help
592           Add support for the PUT command within the TFTP client.  This allows
593           a client to transfer a file to a TFTP server.
594
595 config CONFIG_FEATURE_TFTP_BLOCKSIZE
596         bool "  Enable \"blocksize\" command"
597         default n
598         depends on CONFIG_TFTP
599         help
600           Allow the client to specify the desired block size for transfers.
601
602 config CONFIG_FEATURE_TFTP_DEBUG
603         bool "  Enable debug"
604         default n
605         depends on CONFIG_TFTP
606         help
607           Enable debug settings for tftp.  This is useful if you're running
608           into problems with tftp as the protocol doesn't help you much when
609           you run into problems.
610
611 config CONFIG_TRACEROUTE
612         bool "traceroute"
613         default n
614         help
615           Utility to trace the route of IP packets
616
617 config CONFIG_FEATURE_TRACEROUTE_VERBOSE
618         bool "  Enable verbose output"
619         default n
620         depends on CONFIG_TRACEROUTE
621         help
622           Add some verbosity to traceroute.  This includes amongst other things
623           hostnames and ICMP response types.
624
625 config CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
626         bool "  Enable loose source route"
627         default n
628         depends on CONFIG_TRACEROUTE
629         help
630           Add feature for can specify a loose source route gateway
631           (8 maximum).
632
633 config CONFIG_FEATURE_TRACEROUTE_USE_ICMP
634         bool "  Use ICMP instead of UDP"
635         default n
636         depends on CONFIG_TRACEROUTE
637         help
638           Add feature for can use ICMP ECHO instead of UDP datagrams.
639
640
641 config CONFIG_VCONFIG
642         bool "vconfig"
643         default n
644         help
645           Creates, removes, and configures VLAN interfaces
646
647 config CONFIG_WGET
648         bool "wget"
649         default n
650         help
651           wget is a utility for non-interactive download of files from HTTP,
652           HTTPS, and FTP servers.
653
654 config CONFIG_FEATURE_WGET_STATUSBAR
655         bool "  Enable a nifty process meter (+2k)"
656         default y
657         depends on CONFIG_WGET
658         help
659           Enable the transfer progress bar for wget transfers.
660
661 config CONFIG_FEATURE_WGET_AUTHENTICATION
662         bool "  Enable HTTP authentication"
663         default y
664         depends on CONFIG_WGET
665         help
666           Support authenticated HTTP transfers.
667
668 config CONFIG_FEATURE_WGET_IP6_LITERAL
669         bool "  Enable IPv6 literal addresses"
670         default y
671         depends on CONFIG_WGET
672         help
673           Support IPv6 address literal notation in URLs.
674
675 source networking/udhcp/Config.in
676
677 config CONFIG_ZCIP
678         bool "zcip"
679         default n
680         help
681           ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
682           It's a daemon that allocates and defends a dynamically assigned
683           address on the 169.254/16 network, requiring no system administrator.
684
685           See http://www.zeroconf.org for further details, and "zcip.script"
686           in the busybox examples.
687
688 endmenu
689