2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Networking Utilities"
9 bool "Enable IPv6 support"
12 Enable IPv6 support in busybox.
13 This adds IPv6 support in the networking applets.
15 config VERBOSE_RESOLUTION_ERRORS
16 bool "Verbose resolution errors"
19 Enable if you are not satisfied with simplistic
20 "can't resolve 'hostname.com'" and want to know more.
21 This may increase size of your executable a bit.
27 Manipulate the system ARP cache.
33 Ping hosts by ARP packets.
39 Small and static DNS server daemon.
45 Send a magic packet to wake up sleeping machines.
52 fakeidentd listens on the ident port and returns a predefined
53 fake value on any query.
59 Retrieve a remote file via FTP.
65 Store a remote file via FTP.
67 config FEATURE_FTPGETPUT_LONG_OPTIONS
68 bool "Enable long options in ftpget/ftpput"
70 depends on GETOPT_LONG && (FTPGET || FTPPUT)
72 Support long options for the ftpget/ftpput applet.
78 Show or set the system's host name.
84 Serve web pages via an HTTP server.
86 config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
87 bool "Support reloading the global config file using hup signal"
91 This option enables processing of SIGHUP to reload cached
92 configuration settings.
94 config FEATURE_HTTPD_SETUID
95 bool "Enable -u <user> option"
99 This option allows the server to run as a specific user
100 rather than defaulting to the user that starts the server.
101 Use of this option requires special privileges to change to a
104 config FEATURE_HTTPD_BASIC_AUTH
105 bool "Enable Basic http Authentication"
109 Utilizes password settings from /etc/httpd.conf for basic
110 authentication on a per url basis.
112 config FEATURE_HTTPD_AUTH_MD5
113 bool "Support MD5 crypted passwords for http Authentication"
115 depends on FEATURE_HTTPD_BASIC_AUTH
117 Enables basic per URL authentication from /etc/httpd.conf
120 config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
121 bool "Support loading additional MIME types at run-time"
125 This option enables support for additional MIME types at
126 run-time to be specified in the configuration file.
128 config FEATURE_HTTPD_CGI
129 bool "Support Common Gateway Interface (CGI)"
133 This option allows scripts and executables to be invoked
134 when specific URLs are requested.
136 config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
137 bool "Enable support for running scripts through an interpreter"
139 depends on FEATURE_HTTPD_CGI
141 This option enables support for running scripts through an
142 interpreter. Turn this on if you want PHP scripts to work
143 properly. You need to supply an additional line in your httpd
145 *.php:/path/to/your/php
147 config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
148 bool "Support the REMOTE_PORT environment variable for CGI"
150 depends on FEATURE_HTTPD_CGI
152 Use of this option can assist scripts in generating
153 references that contain a unique port number.
155 config FEATURE_HTTPD_ENCODE_URL_STR
156 bool "Enable the -e option for shell script CGI simplification."
160 This option allows html encoding arbitrary
161 strings for display of the browser. Output goes to stdout.
162 For example, httpd -e "<Hello World>" as
163 "<Hello World>".
169 Ifconfig is used to configure the kernel-resident network interfaces.
171 config FEATURE_IFCONFIG_STATUS
172 bool "Enable status reporting output (+7k)"
176 If ifconfig is called with no arguments it will display the status
177 of the currently active interfaces.
179 config FEATURE_IFCONFIG_SLIP
180 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
184 Allow "keepalive" and "outfill" support for SLIP. If you're not
185 planning on using serial lines, leave this unchecked.
187 config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
188 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
192 Allow the start address for shared memory, start address for I/O,
193 and/or the interrupt line used by the specified device.
195 config FEATURE_IFCONFIG_HW
196 bool "Enable option \"hw\" (ether only)"
200 Set the hardware address of this interface, if the device driver
201 supports this operation. Currently, we only support the 'ether'
204 config FEATURE_IFCONFIG_BROADCAST_PLUS
205 bool "Set the broadcast automatically"
209 Setting this will make ifconfig attempt to find the broadcast
210 automatically if the value '+' is used.
216 Activate or deactivate the specified interfaces. This applet makes
217 use of either "ifconfig" and "route" or the "ip" command to actually
218 configure network interfaces. Therefore, you will probably also want
219 to enable either IFCONFIG and ROUTE, or enable
220 FEATURE_IFUPDOWN_IP and the various IP options. Of
221 course you could use non-busybox versions of these programs, so
222 against my better judgement (since this will surely result in plenty
223 of support questions on the mailing list), I do not force you to
224 enable these additional options. It is up to you to supply either
225 "ifconfig", "route" and "run-parts" or the "ip" command, either
226 via busybox or via standalone utilities.
228 config FEATURE_IFUPDOWN_IP
233 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
234 than the default of using the older 'ifconfig' and 'route' utilities.
236 config FEATURE_IFUPDOWN_IP_BUILTIN
237 bool "Use busybox ip applet"
239 depends on FEATURE_IFUPDOWN_IP
241 select FEATURE_IP_ADDRESS
242 select FEATURE_IP_LINK
243 select FEATURE_IP_ROUTE
245 Use the busybox iproute "ip" applet to implement "ifupdown".
247 If left disabled, you must install the full-blown iproute2
248 utility or the "ifup" and "ifdown" applets will not work.
250 config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
251 bool "Use busybox ifconfig and route applets"
253 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
257 Use the busybox iproute "ifconfig" and "route" applets to
258 implement the "ifup" and "ifdown" utilities.
260 If left disabled, you must install the full-blown ifconfig
261 and route utilities, or the "ifup" and "ifdown" applets will not
264 config FEATURE_IFUPDOWN_IPV4
265 bool "Enable support for IPv4"
269 If you want ifup/ifdown to talk IPv4, leave this on.
271 config FEATURE_IFUPDOWN_IPV6
272 bool "Enable support for IPv6"
274 depends on IFUPDOWN && FEATURE_IPV6
276 If you need support for IPv6, turn this option on.
279 ### config FEATURE_IFUPDOWN_IPX
280 ### bool "Enable support for IPX"
282 ### depends on IFUPDOWN
284 ### If this option is selected you can use busybox to work with IPX
287 config FEATURE_IFUPDOWN_MAPPING
288 bool "Enable mapping support"
292 This enables support for the "mapping" stanza, unless you have
293 a weird network setup you don't need it.
295 config FEATURE_IFUPDOWN_EXTERNAL_DHCP
296 bool "Enable support for external dhcp clients"
300 This enables support for the external dhcp clients. Clients are
301 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
302 Otherwise, if udhcpc applet is enabled, it is used.
303 Otherwise, ifup/ifdown will have no support for DHCP.
308 select FEATURE_SYSLOG
310 Internet superserver daemon
312 config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
313 bool "Support echo service"
317 Echo received data internal inetd service
319 config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
320 bool "Support discard service"
324 Internet /dev/null internal inetd service
326 config FEATURE_INETD_SUPPORT_BUILTIN_TIME
327 bool "Support time service"
331 Return 32 bit time since 1900 internal inetd service
333 config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
334 bool "Support daytime service"
338 Return human-readable time internal inetd service
340 config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
341 bool "Support chargen service"
345 Familiar character generator internal inetd service
347 config FEATURE_INETD_RPC
348 bool "Support RPC services"
351 select FEATURE_HAVE_RPC
353 Support Sun-RPC based services
359 The "ip" applet is a TCP/IP interface configuration and routing
360 utility. You generally don't need "ip" to use busybox with
363 config FEATURE_IP_ADDRESS
368 Address manipulation support for the "ip" applet.
370 config FEATURE_IP_LINK
375 Configure network devices with "ip".
377 config FEATURE_IP_ROUTE
382 Add support for routing table management to "ip".
384 config FEATURE_IP_TUNNEL
389 Add support for tunneling commands to "ip".
391 config FEATURE_IP_RULE
396 Add support for rule commands to "ip".
398 config FEATURE_IP_SHORT_FORMS
399 bool "Support short forms of ip commands."
403 Also support short-form of ip <OBJECT> commands:
407 ip tunnel -> iptunnel
410 Say N unless you desparately need the short form of the ip
416 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
421 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
426 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
431 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
436 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
442 ipcalc takes an IP address and netmask and calculates the
443 resulting broadcast, network, and host range.
445 config FEATURE_IPCALC_FANCY
446 bool "Fancy IPCALC, more options, adds 1 kbyte"
450 Adds the options hostname, prefix and silent to the output of "ipcalc".
452 config FEATURE_IPCALC_LONG_OPTIONS
453 bool "Enable long options"
455 depends on IPCALC && GETOPT_LONG
457 Support long options for the ipcalc applet.
462 select FEATURE_SYSLOG
464 nameif is used to rename network interface by its MAC address.
465 Renamed interfaces MUST be in the down state.
466 It is possible to use a file (default: /etc/mactab)
467 with list of new interface names and MACs.
468 Maximum interface name length: IF_NAMESIZE = 16
469 File fields are separated by space or tab.
472 new_interface_name XX:XX:XX:XX:XX:XX
478 A simple Unix utility which reads and writes data across network
482 bool "Netcat server options (-l)"
486 Allow netcat to act as a server.
489 bool "Netcat extensions (-eiw and filename)"
493 Add -e (support for executing the rest of the command line after
494 making or receiving a successful connection), -i (delay interval for
495 lines sent), -w (timeout for initial connection).
501 netstat prints information about the Linux networking subsystem.
503 config FEATURE_NETSTAT_WIDE
504 bool " Enable wide netstat output"
508 Add support for wide columns. Useful when displaying IPv6 addresses
515 nslookup is a tool to query Internet name servers.
521 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
522 elicit an ICMP ECHO_RESPONSE from a host or gateway.
527 depends on FEATURE_IPV6 && PING
529 This will give you a ping that can talk IPv6.
535 Simple network port scanner.
537 config FEATURE_FANCY_PING
538 bool "Enable fancy ping output"
542 Make the output from the ping applet include statistics, and at the
543 same time provide full support for ICMP packets.
549 Route displays or manipulates the kernel's IP routing tables.
555 Telnet is an interface to the TELNET protocol, but is also commonly
556 used to test other simple protocols.
558 config FEATURE_TELNET_TTYPE
559 bool "Pass TERM type to remote host"
563 Setting this option will forward the TERM environment variable to the
564 remote host you are connecting to. This is useful to make sure that
565 things like ANSI colors and other control sequences behave.
567 config FEATURE_TELNET_AUTOLOGIN
568 bool "Pass USER type to remote host"
572 Setting this option will forward the USER environment variable to the
573 remote host you are connecting to. This is useful when you need to
574 log into a machine without telling the username (autologin). This
575 option enables `-a' and `-l USER' arguments.
580 select FEATURE_SYSLOG
582 A daemon for the TELNET protocol, allowing you to log onto the host
583 running the daemon. Please keep in mind that the TELNET protocol
584 sends passwords in plain text. If you can't afford the space for an
585 SSH daemon and you trust your network, you may say 'y' here. As a
586 more secure alternative, you should seriously consider installing the
587 very small Dropbear SSH daemon instead:
588 http://matt.ucc.asn.au/dropbear/dropbear.html
590 Note that for busybox telnetd to work you need several things:
591 First of all, your kernel needs:
595 Next, you need a /dev/pts directory on your root filesystem:
598 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
600 Next you need the pseudo terminal master multiplexer /dev/ptmx:
603 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
605 Any /dev/ttyp[0-9]* files you may have can be removed.
606 Next, you need to mount the devpts filesystem on /dev/pts using:
608 mount -t devpts devpts /dev/pts
610 You need to be sure that Busybox has LOGIN and
611 FEATURE_SUID enabled. And finally, you should make
612 certain that Busybox has been installed setuid root:
614 chown root.root /bin/busybox
615 chmod 4755 /bin/busybox
617 with all that done, telnetd _should_ work....
620 config FEATURE_TELNETD_STANDALONE
621 bool "Support standalone telnetd (not inetd only)"
625 Selecting this will make telnetd able to run standalone.
631 This enables the Trivial File Transfer Protocol client program. TFTP
632 is usually used for simple, small transfers such as a root image
633 for a network-enabled bootloader.
635 config FEATURE_TFTP_GET
636 bool "Enable \"get\" command"
640 Add support for the GET command within the TFTP client. This allows
641 a client to retrieve a file from a TFTP server.
643 config FEATURE_TFTP_PUT
644 bool "Enable \"put\" command"
648 Add support for the PUT command within the TFTP client. This allows
649 a client to transfer a file to a TFTP server.
651 config FEATURE_TFTP_BLOCKSIZE
652 bool "Enable \"blocksize\" command"
656 Allow the client to specify the desired block size for transfers.
663 Enable debug settings for tftp. This is useful if you're running
664 into problems with tftp as the protocol doesn't help you much when
665 you run into problems.
671 Utility to trace the route of IP packets
673 config FEATURE_TRACEROUTE_VERBOSE
674 bool "Enable verbose output"
676 depends on TRACEROUTE
678 Add some verbosity to traceroute. This includes amongst other things
679 hostnames and ICMP response types.
681 config FEATURE_TRACEROUTE_SOURCE_ROUTE
682 bool "Enable loose source route"
684 depends on TRACEROUTE
686 Add option to specify a loose source route gateway
689 config FEATURE_TRACEROUTE_USE_ICMP
690 bool "Use ICMP instead of UDP"
692 depends on TRACEROUTE
694 Add feature to allow for ICMP ECHO instead of UDP datagrams.
696 source networking/udhcp/Config.in
702 Creates, removes, and configures VLAN interfaces
708 wget is a utility for non-interactive download of files from HTTP,
709 HTTPS, and FTP servers.
711 config FEATURE_WGET_STATUSBAR
712 bool "Enable a nifty process meter (+2k)"
716 Enable the transfer progress bar for wget transfers.
718 config FEATURE_WGET_AUTHENTICATION
719 bool "Enable HTTP authentication"
723 Support authenticated HTTP transfers.
725 config FEATURE_WGET_LONG_OPTIONS
726 bool "Enable long options"
728 depends on WGET && GETOPT_LONG
730 Support long options for the wget applet.
735 select FEATURE_SYSLOG
737 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
738 It's a daemon that allocates and defends a dynamically assigned
739 address on the 169.254/16 network, requiring no system administrator.
741 See http://www.zeroconf.org for further details, and "zcip.script"
742 in the busybox examples.