source: trunk/mindi-busybox/networking/Config.in @ 904

Last change on this file since 904 was 821, checked in by bruno, 13 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 18.7 KB
Line 
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Networking Utilities"
7
8config 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
15config CONFIG_ARPING
16    bool "arping"
17    default n
18    help
19      Ping hosts by ARP packets
20
21config CONFIG_DNSD
22    bool "dnsd"
23    default n
24    help
25      Small and static DNS server daemon.
26
27config CONFIG_ETHER_WAKE
28    bool "ether-wake"
29    default n
30    help
31      Send a magic packet to wake up sleeping machines.
32
33config 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
40config CONFIG_FTPGET
41    bool "ftpget"
42    default n
43    help
44      Retrieve a remote file via FTP.
45
46config CONFIG_FTPPUT
47    bool "ftpput"
48    default n
49    help
50      Store a remote file via FTP.
51
52config 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
59config CONFIG_HOSTNAME
60    bool "hostname"
61    default n
62    help
63      Show or set the system's host name
64
65config CONFIG_HTTPD
66    bool "httpd"
67    default n
68    help
69      Serve web pages via an HTTP server.
70
71config 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
79config 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
87config 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
97config 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
105config 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
113config 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
121config 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
129config 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
140config 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
148config 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
158config CONFIG_IFCONFIG
159    bool "ifconfig"
160    default n
161    help
162      Ifconfig is used to configure the kernel-resident network interfaces.
163
164config 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
172config 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
180config 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
188config 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
197config 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
205config 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
222config 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
230config 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
244config 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
258config 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
265config 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
272config 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
280config 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
288config CONFIG_INETD
289    bool "inetd"
290    default n
291    help
292      Internet superserver daemon
293
294config 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
301config 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
308config 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
315config 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
322config 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
329config 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
337config 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
345config 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
352config 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
359config 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
366config 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
373config 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
387config CONFIG_IPADDR
388    bool
389    default y
390    depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS
391
392config CONFIG_IPLINK
393    bool
394    default y
395    depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK
396
397config CONFIG_IPROUTE
398    bool
399    default y
400    depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE
401
402config CONFIG_IPTUNNEL
403    bool
404    default y
405    depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL
406
407config 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
414config 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
421config 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
428config 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
442config 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
449config CONFIG_NC_GAPING_SECURITY_HOLE
450    bool "gaping security hole"
451    default n
452    depends on CONFIG_NC
453    help
454      Add support for executing a program after making or receiving a
455      successful connection (-e option).
456
457config CONFIG_NETSTAT
458    bool "netstat"
459    default n
460    help
461      netstat prints information about the Linux networking subsystem.
462
463config CONFIG_NSLOOKUP
464    bool "nslookup"
465    default n
466    help
467      nslookup is a tool to query Internet name servers.
468
469config CONFIG_PING
470    bool "ping"
471    default n
472    help
473      ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
474      elicit an ICMP ECHO_RESPONSE from a host or gateway.
475
476config CONFIG_FEATURE_FANCY_PING
477    bool "Enable fancy ping output"
478    default y
479    depends on CONFIG_PING
480    help
481      Make the output from the ping applet include statistics, and at the
482      same time provide full support for ICMP packets.
483
484config CONFIG_PING6
485    bool "ping6"
486    default n
487    depends on CONFIG_FEATURE_IPV6
488    help
489      This will give you a ping that can talk IPv6.
490
491config CONFIG_FEATURE_FANCY_PING6
492    bool "Enable fancy ping6 output"
493    default y
494    depends on CONFIG_PING6
495    help
496      Make the output from the ping6 applet include statistics, and at the
497      same time provide full support for ICMP packets.
498
499config CONFIG_ROUTE
500    bool "route"
501    default n
502    help
503      Route displays or manipulates the kernel's IP routing tables.
504
505config CONFIG_TELNET
506    bool "telnet"
507    default n
508    help
509      Telnet is an interface to the TELNET protocol, but is also commonly
510      used to test other simple protocols.
511
512config CONFIG_FEATURE_TELNET_TTYPE
513    bool "Pass TERM type to remote host"
514    default y
515    depends on CONFIG_TELNET
516    help
517      Setting this option will forward the TERM environment variable to the
518      remote host you are connecting to.  This is useful to make sure that
519      things like ANSI colors and other control sequences behave.
520
521config CONFIG_FEATURE_TELNET_AUTOLOGIN
522    bool "Pass USER type to remote host"
523    default y
524    depends on CONFIG_TELNET
525    help
526      Setting this option will forward the USER environment variable to the
527      remote host you are connecting to. This is useful when you need to
528      log into a machine without telling the username (autologin). This
529      option enables `-a' and `-l USER' arguments.
530
531config CONFIG_TELNETD
532    bool "telnetd"
533    default n
534    help
535      A daemon for the TELNET protocol, allowing you to log onto the host
536      running the daemon.  Please keep in mind that the TELNET protocol
537      sends passwords in plain text.  If you can't afford the space for an
538      SSH daemon and you trust your network, you may say 'y' here.  As a
539      more secure alternative, you should seriously consider installing the
540      very small Dropbear SSH daemon instead:
541        http://matt.ucc.asn.au/dropbear/dropbear.html
542
543      Note that for busybox telnetd to work you need several things:
544      First of all, your kernel needs:
545          CONFIG_UNIX98_PTYS=y
546          CONFIG_DEVPTS_FS=y
547
548      Next, you need a /dev/pts directory on your root filesystem:
549
550          $ ls -ld /dev/pts
551          drwxr-xr-x  2 root root 0 Sep 23 13:21 /dev/pts/
552
553      Next you need the pseudo terminal master multiplexer /dev/ptmx:
554
555          $ ls -la /dev/ptmx
556          crw-rw-rw-  1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
557
558      Any /dev/ttyp[0-9]* files you may have can be removed.
559      Next, you need to mount the devpts filesystem on /dev/pts using:
560
561          mount -t devpts devpts /dev/pts
562
563      You need to be sure that Busybox has CONFIG_LOGIN and
564      CONFIG_FEATURE_SUID enabled.  And finally, you should make
565      certain that Busybox has been installed setuid root:
566
567        chown root.root /bin/busybox
568        chmod 4755 /bin/busybox
569
570      with all that done, telnetd _should_ work....
571
572
573config CONFIG_FEATURE_TELNETD_INETD
574    bool "Support call from inetd only"
575    default n
576    depends on CONFIG_TELNETD
577    help
578      Selecting this will make telnetd only callable from inetd,
579      removing the standalone support.
580
581config CONFIG_TFTP
582    bool "tftp"
583    default n
584    help
585      This enables the Trivial File Transfer Protocol client program.  TFTP
586      is usually used for simple, small transfers such as a root image
587      for a network-enabled bootloader.
588
589config CONFIG_FEATURE_TFTP_GET
590    bool "Enable \"get\" command"
591    default y
592    depends on CONFIG_TFTP
593    help
594      Add support for the GET command within the TFTP client.  This allows
595      a client to retrieve a file from a TFTP server.
596
597config CONFIG_FEATURE_TFTP_PUT
598    bool "Enable \"put\" command"
599    default y
600    depends on CONFIG_TFTP
601    help
602      Add support for the PUT command within the TFTP client.  This allows
603      a client to transfer a file to a TFTP server.
604
605config CONFIG_FEATURE_TFTP_BLOCKSIZE
606    bool "Enable \"blocksize\" command"
607    default n
608    depends on CONFIG_TFTP
609    help
610      Allow the client to specify the desired block size for transfers.
611
612config CONFIG_DEBUG_TFTP
613    bool "Enable debug"
614    default n
615    depends on CONFIG_TFTP
616    help
617      Enable debug settings for tftp.  This is useful if you're running
618      into problems with tftp as the protocol doesn't help you much when
619      you run into problems.
620
621config CONFIG_TRACEROUTE
622    bool "traceroute"
623    default n
624    help
625      Utility to trace the route of IP packets
626
627config CONFIG_FEATURE_TRACEROUTE_VERBOSE
628    bool "Enable verbose output"
629    default n
630    depends on CONFIG_TRACEROUTE
631    help
632      Add some verbosity to traceroute.  This includes amongst other things
633      hostnames and ICMP response types.
634
635config CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
636    bool "Enable loose source route"
637    default n
638    depends on CONFIG_TRACEROUTE
639    help
640      Add option to specify a loose source route gateway
641      (8 maximum).
642
643config CONFIG_FEATURE_TRACEROUTE_USE_ICMP
644    bool "Use ICMP instead of UDP"
645    default n
646    depends on CONFIG_TRACEROUTE
647    help
648      Add feature to allow for ICMP ECHO instead of UDP datagrams.
649
650source networking/udhcp/Config.in
651
652config CONFIG_VCONFIG
653    bool "vconfig"
654    default n
655    help
656      Creates, removes, and configures VLAN interfaces
657
658config CONFIG_WGET
659    bool "wget"
660    default n
661    help
662      wget is a utility for non-interactive download of files from HTTP,
663      HTTPS, and FTP servers.
664
665config CONFIG_FEATURE_WGET_STATUSBAR
666    bool "Enable a nifty process meter (+2k)"
667    default y
668    depends on CONFIG_WGET
669    help
670      Enable the transfer progress bar for wget transfers.
671
672config CONFIG_FEATURE_WGET_AUTHENTICATION
673    bool "Enable HTTP authentication"
674    default y
675    depends on CONFIG_WGET
676    help
677      Support authenticated HTTP transfers.
678
679config CONFIG_FEATURE_WGET_IP6_LITERAL
680    bool "Enable IPv6 literal addresses"
681    default y
682    depends on CONFIG_WGET && CONFIG_FEATURE_IPV6
683    help
684      Support IPv6 address literal notation in URLs.
685
686config CONFIG_FEATURE_WGET_LONG_OPTIONS
687    bool "Enable long options"
688    default n
689    depends on CONFIG_WGET && CONFIG_GETOPT_LONG
690    help
691      Support long options for the wget applet.
692
693config CONFIG_ZCIP
694    bool "zcip"
695    default n
696    help
697      ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
698      It's a daemon that allocates and defends a dynamically assigned
699      address on the 169.254/16 network, requiring no system administrator.
700
701      See http://www.zeroconf.org for further details, and "zcip.script"
702      in the busybox examples.
703
704endmenu
Note: See TracBrowser for help on using the repository browser.