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