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