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.
19 Ping hosts by ARP packets
25 Small and static DNS server daemon.
31 Send a magic packet to wake up sleeping machines.
38 fakeidentd listens on the ident port and returns a predefined
39 fake value on any query.
45 Retrieve a remote file via FTP.
51 Store a remote file via FTP.
53 config FEATURE_FTPGETPUT_LONG_OPTIONS
54 bool "Enable long options in ftpget/ftpput"
56 depends on GETOPT_LONG && (FTPGET || FTPPUT)
58 Support long options for the ftpget/ftpput applet.
64 Show or set the system's host name
70 Serve web pages via an HTTP server.
72 config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
73 bool "Support reloading the global config file using hup signal"
77 This option enables processing of SIGHUP to reload cached
78 configuration settings.
80 config FEATURE_HTTPD_SETUID
81 bool "Enable -u <user> option"
85 This option allows the server to run as a specific user
86 rather than defaulting to the user that starts the server.
87 Use of this option requires special privileges to change to a
90 config FEATURE_HTTPD_BASIC_AUTH
91 bool "Enable Basic http Authentication"
95 Utilizes password settings from /etc/httpd.conf for basic
96 authentication on a per url basis.
98 config FEATURE_HTTPD_AUTH_MD5
99 bool "Support MD5 crypted passwords for http Authentication"
101 depends on FEATURE_HTTPD_BASIC_AUTH
103 Enables basic per URL authentication from /etc/httpd.conf
106 config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
107 bool "Support loading additional MIME types at run-time"
111 This option enables support for additional MIME types at
112 run-time to be specified in the configuration file.
114 config FEATURE_HTTPD_CGI
115 bool "Support Common Gateway Interface (CGI)"
119 This option allows scripts and executables to be invoked
120 when specific URLs are requested.
122 config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
123 bool "Enable support for running scripts through an interpreter"
125 depends on FEATURE_HTTPD_CGI
127 This option enables support for running scripts through an
128 interpreter. Turn this on if you want PHP scripts to work
129 properly. You need to supply an addition line in your httpd
131 *.php:/path/to/your/php
133 config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
134 bool "Support the REMOTE_PORT environment variable for CGI"
136 depends on FEATURE_HTTPD_CGI
138 Use of this option can assist scripts in generating
139 references that contain a unique port number.
141 config FEATURE_HTTPD_ENCODE_URL_STR
142 bool "Enable the -e option for shell script CGI simplification."
146 This option allows html encoding arbitrary
147 strings for display of the browser. Output goes to stdout.
148 For example, httpd -e "<Hello World>" as
149 "<Hello World>".
155 Ifconfig is used to configure the kernel-resident network interfaces.
157 config FEATURE_IFCONFIG_STATUS
158 bool "Enable status reporting output (+7k)"
162 If ifconfig is called with no arguments it will display the status
163 of the currently active interfaces.
165 config FEATURE_IFCONFIG_SLIP
166 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
170 Allow "keepalive" and "outfill" support for SLIP. If you're not
171 planning on using serial lines, leave this unchecked.
173 config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
174 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
178 Allow the start address for shared memory, start address for I/O,
179 and/or the interrupt line used by the specified device.
181 config FEATURE_IFCONFIG_HW
182 bool "Enable option \"hw\" (ether only)"
186 Set the hardware address of this interface, if the device driver
187 supports this operation. Currently, we only support the 'ether'
190 config FEATURE_IFCONFIG_BROADCAST_PLUS
191 bool "Set the broadcast automatically"
195 Setting this will make ifconfig attempt to find the broadcast
196 automatically if the value '+' is used.
203 Activate or deactivate the specified interfaces. This applet makes
204 use of either "ifconfig" and "route" or the "ip" command to actually
205 configure network interfaces. Therefore, you will probably also want
206 to enable either IFCONFIG and ROUTE, or enable
207 FEATURE_IFUPDOWN_IP and the various IP options. Of
208 course you could use non-busybox versions of these programs, so
209 against my better judgement (since this will surely result in plenty
210 of support questions on the mailing list), I do not force you to
211 enable these additional options. It is up to you to supply either
212 "ifconfig" and "route" or the "ip" command, either via busybox or via
213 standalone utilities.
215 config FEATURE_IFUPDOWN_IP
220 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
221 than the default of using the older 'ifconfig' and 'route' utilities.
223 config FEATURE_IFUPDOWN_IP_BUILTIN
224 bool "Use busybox ip applet"
226 depends on FEATURE_IFUPDOWN_IP
228 select FEATURE_IP_ADDRESS
229 select FEATURE_IP_LINK
230 select FEATURE_IP_ROUTE
232 Use the busybox iproute "ip" applet to implement "ifupdown".
234 If left disabled, you must install the full-blown iproute2
235 utility or the "ifup" and "ifdown" applets will not work.
237 config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
238 bool "Use busybox ifconfig and route applets"
240 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
244 Use the busybox iproute "ifconfig" and "route" applets to
245 implement the "ifup" and "ifdown" utilities.
247 If left disabled, you must install the full-blown ifconfig
248 and route utilities, or the "ifup" and "ifdown" applets will not
251 config FEATURE_IFUPDOWN_IPV4
252 bool "Enable support for IPv4"
256 If you want busybox to talk IPv4, leave this on.
258 config FEATURE_IFUPDOWN_IPV6
259 bool "Enable support for IPv6"
261 depends on IFUPDOWN && FEATURE_IPV6
263 If you need support for IPv6, turn this option on.
265 config FEATURE_IFUPDOWN_IPX
266 bool "Enable support for IPX"
270 If this option is selected you can use busybox to work with IPX
273 config FEATURE_IFUPDOWN_MAPPING
274 bool "Enable mapping support"
278 This enables support for the "mapping" stanza, unless you have
279 a weird network setup you don't need it.
284 select FEATURE_SYSLOG
286 Internet superserver daemon
288 config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
289 bool "Support echo service"
293 Echo received data internal inetd service
295 config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
296 bool "Support discard service"
300 Internet /dev/null internal inetd service
302 config FEATURE_INETD_SUPPORT_BUILTIN_TIME
303 bool "Support time service"
307 Return 32 bit time since 1900 internal inetd service
309 config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
310 bool "Support daytime service"
314 Return human-readable time internal inetd service
316 config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
317 bool "Support chargen service"
321 Familiar character generator internal inetd service
323 config FEATURE_INETD_RPC
324 bool "Support RPC services"
327 depends on FEATURE_HAVE_RPC
329 Support Sun-RPC based services
335 The "ip" applet is a TCP/IP interface configuration and routing
336 utility. You generally don't need "ip" to use busybox with
339 config FEATURE_IP_ADDRESS
344 Address manipulation support for the "ip" applet.
346 config FEATURE_IP_LINK
351 Configure network devices with "ip".
353 config FEATURE_IP_ROUTE
358 Add support for routing table management to "ip".
360 config FEATURE_IP_TUNNEL
365 Add support for tunneling commands to "ip".
367 config FEATURE_IP_RULE
372 Add support for rule commands to "ip".
374 config FEATURE_IP_SHORT_FORMS
375 bool "Support short forms of ip commands."
379 Also support short-form of ip <OBJECT> commands:
383 ip tunnel -> iptunnel
385 Say N unless you desparately need the short form of the ip
391 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
396 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
401 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
406 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
411 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
417 ipcalc takes an IP address and netmask and calculates the
418 resulting broadcast, network, and host range.
420 config FEATURE_IPCALC_FANCY
421 bool "Fancy IPCALC, more options, adds 1 kbyte"
425 Adds the options hostname, prefix and silent to the output of "ipcalc".
427 config FEATURE_IPCALC_LONG_OPTIONS
428 bool "Enable long options"
430 depends on IPCALC && GETOPT_LONG
432 Support long options for the ipcalc applet.
437 select FEATURE_SYSLOG
439 nameif is used to rename network interface by its MAC address.
440 Renamed interfaces MUST be in the down state.
441 It is possible to use a file (default: /etc/mactab)
442 with list of new interface names and MACs.
443 Maximum interface name length: IF_NAMESIZE = 16
444 File fields are separated by space or tab.
447 new_interface_name XX:XX:XX:XX:XX:XX
453 A simple Unix utility which reads and writes data across network
457 bool "Netcat server options (-lp)"
461 Allow netcat to act as a server.
464 bool "Netcat extensions (-eiw and filename)"
468 Add -e (support for executing the rest of the command line after
469 making or receiving a successful connection), -i (delay interval for
470 lines sent), -w (timeout for initial connection).
476 netstat prints information about the Linux networking subsystem.
482 nslookup is a tool to query Internet name servers.
488 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
489 elicit an ICMP ECHO_RESPONSE from a host or gateway.
491 config FEATURE_FANCY_PING
492 bool "Enable fancy ping output"
496 Make the output from the ping applet include statistics, and at the
497 same time provide full support for ICMP packets.
502 depends on FEATURE_IPV6
504 This will give you a ping that can talk IPv6.
506 config FEATURE_FANCY_PING6
507 bool "Enable fancy ping6 output"
511 Make the output from the ping6 applet include statistics, and at the
512 same time provide full support for ICMP packets.
518 Route displays or manipulates the kernel's IP routing tables.
524 Telnet is an interface to the TELNET protocol, but is also commonly
525 used to test other simple protocols.
527 config FEATURE_TELNET_TTYPE
528 bool "Pass TERM type to remote host"
532 Setting this option will forward the TERM environment variable to the
533 remote host you are connecting to. This is useful to make sure that
534 things like ANSI colors and other control sequences behave.
536 config FEATURE_TELNET_AUTOLOGIN
537 bool "Pass USER type to remote host"
541 Setting this option will forward the USER environment variable to the
542 remote host you are connecting to. This is useful when you need to
543 log into a machine without telling the username (autologin). This
544 option enables `-a' and `-l USER' arguments.
549 select FEATURE_SYSLOG
551 A daemon for the TELNET protocol, allowing you to log onto the host
552 running the daemon. Please keep in mind that the TELNET protocol
553 sends passwords in plain text. If you can't afford the space for an
554 SSH daemon and you trust your network, you may say 'y' here. As a
555 more secure alternative, you should seriously consider installing the
556 very small Dropbear SSH daemon instead:
557 http://matt.ucc.asn.au/dropbear/dropbear.html
559 Note that for busybox telnetd to work you need several things:
560 First of all, your kernel needs:
564 Next, you need a /dev/pts directory on your root filesystem:
567 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
569 Next you need the pseudo terminal master multiplexer /dev/ptmx:
572 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
574 Any /dev/ttyp[0-9]* files you may have can be removed.
575 Next, you need to mount the devpts filesystem on /dev/pts using:
577 mount -t devpts devpts /dev/pts
579 You need to be sure that Busybox has LOGIN and
580 FEATURE_SUID enabled. And finally, you should make
581 certain that Busybox has been installed setuid root:
583 chown root.root /bin/busybox
584 chmod 4755 /bin/busybox
586 with all that done, telnetd _should_ work....
589 config FEATURE_TELNETD_STANDALONE
590 bool "Support standalone telnetd (not inetd only)"
594 Selecting this will make telnetd able to run standalone.
600 This enables the Trivial File Transfer Protocol client program. TFTP
601 is usually used for simple, small transfers such as a root image
602 for a network-enabled bootloader.
604 config FEATURE_TFTP_GET
605 bool "Enable \"get\" command"
609 Add support for the GET command within the TFTP client. This allows
610 a client to retrieve a file from a TFTP server.
612 config FEATURE_TFTP_PUT
613 bool "Enable \"put\" command"
617 Add support for the PUT command within the TFTP client. This allows
618 a client to transfer a file to a TFTP server.
620 config FEATURE_TFTP_BLOCKSIZE
621 bool "Enable \"blocksize\" command"
625 Allow the client to specify the desired block size for transfers.
632 Enable debug settings for tftp. This is useful if you're running
633 into problems with tftp as the protocol doesn't help you much when
634 you run into problems.
640 Utility to trace the route of IP packets
642 config FEATURE_TRACEROUTE_VERBOSE
643 bool "Enable verbose output"
645 depends on TRACEROUTE
647 Add some verbosity to traceroute. This includes amongst other things
648 hostnames and ICMP response types.
650 config FEATURE_TRACEROUTE_SOURCE_ROUTE
651 bool "Enable loose source route"
653 depends on TRACEROUTE
655 Add option to specify a loose source route gateway
658 config FEATURE_TRACEROUTE_USE_ICMP
659 bool "Use ICMP instead of UDP"
661 depends on TRACEROUTE
663 Add feature to allow for ICMP ECHO instead of UDP datagrams.
665 source networking/udhcp/Config.in
671 Creates, removes, and configures VLAN interfaces
677 wget is a utility for non-interactive download of files from HTTP,
678 HTTPS, and FTP servers.
680 config FEATURE_WGET_STATUSBAR
681 bool "Enable a nifty process meter (+2k)"
685 Enable the transfer progress bar for wget transfers.
687 config FEATURE_WGET_AUTHENTICATION
688 bool "Enable HTTP authentication"
692 Support authenticated HTTP transfers.
694 config FEATURE_WGET_IP6_LITERAL
695 bool "Enable IPv6 literal addresses"
697 depends on WGET && FEATURE_IPV6
699 Support IPv6 address literal notation in URLs.
701 config FEATURE_WGET_LONG_OPTIONS
702 bool "Enable long options"
704 depends on WGET && GETOPT_LONG
706 Support long options for the wget applet.
711 select FEATURE_SYSLOG
713 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
714 It's a daemon that allocates and defends a dynamically assigned
715 address on the 169.254/16 network, requiring no system administrator.
717 See http://www.zeroconf.org for further details, and "zcip.script"
718 in the busybox examples.