2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Networking Utilities"
8 config CONFIG_FEATURE_IPV6
9 bool "Enable IPv6 support"
12 Enable IPv6 support to busybox. This makes applets that talk IP
13 able to work with IPv6.
19 Ping hosts by ARP packets
21 config CONFIG_ETHER_WAKE
25 Send a magic packet to wake up sleeping machines.
27 config CONFIG_FAKEIDENTD
31 fakeidentd listens to the ident port and returns a set fake
32 value whatever it gets.
38 Retrieve a remote file via FTP.
44 Store a remote file via FTP.
46 config CONFIG_HOSTNAME
50 Show or set the system's host name
56 Serve web pages via an HTTP server.
58 config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
59 bool " Support using httpd only from inetd"
61 depends on CONFIG_HTTPD
63 This option disables uid and port options for the httpd applet
64 but requires inetd server daemon.
66 config CONFIG_FEATURE_HTTPD_BASIC_AUTH
67 bool " Enable Basic http Authentication"
69 depends on CONFIG_HTTPD
71 Utilizes password settings from /etc/httpd.conf for basic
72 authentication on a per url basis.
74 config CONFIG_FEATURE_HTTPD_AUTH_MD5
75 bool " Support MD5 crypted passwords for http Authentication"
77 depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
79 Enables basic per url authentication from /etc/httpd.conf
83 if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
84 config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
85 bool " Support reloading the global config file using hup signal"
87 depends on CONFIG_HTTPD
89 This option enables processing of SIGHUP to reload cached
90 configuration settings.
92 config CONFIG_FEATURE_HTTPD_SETUID
93 bool " Enable support -u <user> option"
95 depends on CONFIG_HTTPD
97 This option allows the server to run as a specific user
98 rather than defaulting to the user that starts the server.
99 Use of this option requires special privileges to change to a
103 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
104 bool " Support loading additional MIME types at run-time"
106 depends on CONFIG_HTTPD
108 This option enables support for additional MIME types at
109 run-time to be specified in the configuration file.
111 config CONFIG_FEATURE_HTTPD_CGI
112 bool " Support Common Gateway Interface (CGI)"
114 depends on CONFIG_HTTPD
116 This option allows scripts and executables to be invoked
117 when specific urls are requested.
119 config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
120 bool " Support the REMOTE_PORT environment variable for CGI"
122 depends on CONFIG_FEATURE_HTTPD_CGI
124 Use of this option can assist scripts in generating
125 references that contain a unique port number.
127 config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
128 bool " Enable the -e option for shell script CGI simplification."
130 depends on CONFIG_HTTPD
132 After set, this option allows html encoding arbitrary
133 strings for display of the browser. Output goes to stdout.
134 For example, httpd -e "<Hello World>" as
135 "<Hello World>".
137 config CONFIG_IFCONFIG
141 Ifconfig is used to configure the kernel-resident network interfaces.
143 config CONFIG_FEATURE_IFCONFIG_STATUS
144 bool " Enable status reporting output (+7k)"
146 depends on CONFIG_IFCONFIG
148 If ifconfig is called with no arguments it will display the status
149 of the currently active interfaces.
151 config CONFIG_FEATURE_IFCONFIG_SLIP
152 bool " Enable slip-specific options \"keepalive\" and \"outfill\""
154 depends on CONFIG_IFCONFIG
156 Allow "keepalive" and "outfill" support for SLIP. If you're not
157 planning on using serial lines, leave this unchecked.
159 config CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
160 bool " Enable options \"mem_start\", \"io_addr\", and \"irq\""
162 depends on CONFIG_IFCONFIG
164 Allow the start address for shared memory, start address for I/O,
165 and/or the interrupt line used by the specified device.
167 config CONFIG_FEATURE_IFCONFIG_HW
168 bool " Enable option \"hw\" (ether only)"
170 depends on CONFIG_IFCONFIG
172 Set the hardware address of this interface, if the device driver
173 supports this operation. Currently, we only support the 'ether'
176 config CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
177 bool " Set the broadcast automatically"
179 depends on CONFIG_IFCONFIG
181 Setting this will make ifconfig attempt to find the broadcast
182 automatically if the value '+' is used.
184 config CONFIG_IFUPDOWN
188 Activate or deactivate the specified interfaces. This applet makes
189 use of either "ifconfig" and "route" or the "ip" command to actually
190 configure network interfaces. Therefore, you will probably also want
191 to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
192 CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options. Of
193 course you could use non-busybox versions of these programs, so
194 against my better judgement (since this will surely result in plenty
195 of support questions on the mailing list), I do not force you to
196 enable these additional options. It is up to you to supply either
197 "ifconfig" and "route" or the "ip" command, either via busybox or via
198 standalone utilities.
200 config CONFIG_FEATURE_IFUPDOWN_IP
201 bool " Use ip applet"
203 depends on CONFIG_IFUPDOWN
205 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
206 than the default of using the older 'ifconfig' and 'route' utilities.
208 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
209 bool " Use busybox ip applet"
211 depends on CONFIG_FEATURE_IFUPDOWN_IP
213 select CONFIG_FEATURE_IP_ADDRESS
214 select CONFIG_FEATURE_IP_LINK
215 select CONFIG_FEATURE_IP_ROUTE
217 Use the busybox iproute "ip" applet to implement "ifupdown".
219 If leave this disabled, you must install the full-blown iproute2
220 utility or the "ifup" and "ifdown" applets will not work.
222 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
223 bool " Use busybox ifconfig and route applets"
225 depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
226 select CONFIG_IFCONFIG
229 Use the busybox iproute "ifconfig" and "route" applets to
230 implement the "ifup" and "ifdown" utilities.
232 If leave this disabled, you must install the full-blown ifconfig
233 and route utilities, or the "ifup" and "ifdown" applets will not
236 config CONFIG_FEATURE_IFUPDOWN_IPV4
237 bool " Enable support for IPv4"
239 depends on CONFIG_IFUPDOWN
241 If you want busybox to talk IPv4, leave this on.
243 config CONFIG_FEATURE_IFUPDOWN_IPV6
244 bool " Enable support for IPv6"
246 depends on CONFIG_IFUPDOWN
248 If you need support for IPv6, turn this option on.
250 config CONFIG_FEATURE_IFUPDOWN_IPX
251 bool " Enable support for IPX"
253 depends on CONFIG_IFUPDOWN
255 If this option is selected you can use busybox to work with IPX
258 config CONFIG_FEATURE_IFUPDOWN_MAPPING
259 bool " Enable mapping support"
261 depends on CONFIG_IFUPDOWN
263 This enables support for the "mapping" stanza, unless you have
264 a weird network setup you don't need it.
270 Internet superserver daemon
272 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO
273 bool " Support echo service"
275 depends on CONFIG_INETD
277 Echo received data internal inetd service
279 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD
280 bool " Support discard service"
282 depends on CONFIG_INETD
284 Internet /dev/null internal inetd service
286 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME
287 bool " Support time service"
289 depends on CONFIG_INETD
291 Return 32 bit time since 1900 internal inetd service
293 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME
294 bool " Support daytime service"
296 depends on CONFIG_INETD
298 Return human-readable time internal inetd service
300 config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN
301 bool " Support chargen service"
303 depends on CONFIG_INETD
305 Familiar character generator internal inetd service
312 The "ip" applet is a TCP/IP interface configuration and routing
313 utility. You generally don't need "ip" to use busybox with
316 if CONFIG_IP && CONFIG_IPADDR
317 config CONFIG_FEATURE_IP_ADDRESS
319 comment " address (forced enabled for ipaddr)"
321 if ! (CONFIG_IP && CONFIG_IPADDR)
322 config CONFIG_FEATURE_IP_ADDRESS
327 Address manipulation support for the "ip" applet.
330 if CONFIG_IP && CONFIG_IPLINK
331 config CONFIG_FEATURE_IP_LINK
333 comment " link (forced enabled for iplink)"
335 if !(CONFIG_IP && CONFIG_IPLINK)
336 config CONFIG_FEATURE_IP_LINK
341 Configure network devices with "ip".
344 if CONFIG_IP && CONFIG_IPROUTE
345 config CONFIG_FEATURE_IP_ROUTE
347 comment " route (forced enabled for iproute)"
349 if !(CONFIG_IP && CONFIG_IPROUTE)
350 config CONFIG_FEATURE_IP_ROUTE
355 Add support for routing table management to "ip".
358 if CONFIG_IP && CONFIG_IPTUNNEL
359 config CONFIG_FEATURE_IP_TUNNEL
361 comment " tunnel (forced enabled for iptunnel)"
363 if !(CONFIG_IP && CONFIG_IPTUNNEL)
364 config CONFIG_FEATURE_IP_TUNNEL
369 Add support for tunneling commands to "ip".
376 ipcalc takes an IP address and netmask and calculates the
377 resulting broadcast, network, and host range.
379 config CONFIG_FEATURE_IPCALC_FANCY
380 bool " Fancy IPCALC, more options, adds 1 kbyte"
382 depends on CONFIG_IPCALC
384 Adds the options hostname, prefix and silent to the output of "ipcalc".
390 Equivalent to selecting address support to "ip", above.
396 Equivalent to selecting link support to "ip", above.
398 config CONFIG_IPROUTE
402 Equivalent to selecting route support to "ip", above.
404 config CONFIG_IPTUNNEL
408 Equivalent to selecting tunnel support to "ip", above.
414 nameif is used to rename network interface by its MAC address.
415 Renamed interfaces MUST be in the down state.
416 It is possible to use a file (default: /etc/mactab)
417 with list of new interface names and MACs.
418 Maximum interface name length: IF_NAMESIZE = 16
419 File fields are separated by space or tab.
422 new_interface_name XX:XX:XX:XX:XX:XX
428 A simple Unix utility which reads and writes data across network
431 config CONFIG_NC_GAPING_SECURITY_HOLE
432 bool "gaping security hole"
436 Add support for executing a program after making or receiving a
437 successful connection (-e option).
439 config CONFIG_NETSTAT
443 netstat prints information about the Linux networking subsystem.
445 config CONFIG_NSLOOKUP
449 nslookup is a tool to query Internet name servers.
455 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
456 elicit an ICMP ECHO_RESPONSE from a host or gateway.
458 config CONFIG_FEATURE_FANCY_PING
459 bool " Enable fancy ping output"
461 depends on CONFIG_PING
463 Make the output from the ping applet include statistics, and at the
464 same time provide full support for ICMP packets.
469 depends on CONFIG_FEATURE_IPV6
471 This will give you a ping that can talk IPv6.
473 config CONFIG_FEATURE_FANCY_PING6
474 bool " Enable fancy ping6 output"
476 depends on CONFIG_PING6
478 Make the output from the ping6 applet include statistics, and at the
479 same time provide full support for ICMP packets.
485 Route displays or manipulates the kernel's IP routing tables.
491 Telnet is an interface to the TELNET protocol, but is also commonly
492 used to test other simple protocols.
494 config CONFIG_FEATURE_TELNET_TTYPE
495 bool " Pass TERM type to remote host"
497 depends on CONFIG_TELNET
499 Setting this option will forward the TERM environment variable to the
500 remote host you are connecting to. This is useful to make sure that
501 things like ANSI colors and other control sequences behave.
503 config CONFIG_FEATURE_TELNET_AUTOLOGIN
504 bool " Pass USER type to remote host"
506 depends on CONFIG_TELNET
508 Setting this option will forward the USER environment variable to the
509 remote host you are connecting to. This is useful when you need to
510 log into a machine without telling the username (autologin). This
511 option enables `-a' and `-l USER' arguments.
513 config CONFIG_TELNETD
518 A daemon for the TELNET protocol, allowing you to log onto the host
519 running the daemon. Please keep in mind that the TELNET protocol
520 sends passwords in plain text. If you can't afford the space for an
521 SSH daemon and you trust your network, you may say 'y' here. As a
522 more secure alternative, you should seriously consider installing the
523 very small Dropbear SSH daemon instead:
524 http://matt.ucc.asn.au/dropbear/dropbear.html
526 Note that for busybox telnetd to work you need several things:
527 First of all, your kernel needs:
531 Next, you need a /dev/pts directory on your root filesystem:
534 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
536 Next you need the pseudo terminal master multiplexer /dev/ptmx:
539 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
541 Any /dev/ttyp[0-9]* files you may have can be removed.
542 Next, you need to mount the devpts filesystem on /dev/pts using:
544 mount -t devpts devpts /dev/pts
546 You need to be sure that Busybox has CONFIG_LOGIN and
547 CONFIG_FEATURE_SUID enabled. And finally, you should make
548 certain that Busybox has been installed setuid root:
550 chown root.root /bin/busybox
551 chmod 4755 /bin/busybox
553 with all that done, telnetd _should_ work....
556 config CONFIG_FEATURE_TELNETD_INETD
557 bool " Support call from inetd only"
559 depends on CONFIG_TELNETD
561 Selecting this will make telnetd only callable from inetd,
562 removing the standalone support.
568 This enables the Trivial File Transfer Protocol client program. TFTP
569 is usually used for simple, small transfers such as a root image
570 for a network-enabled bootloader.
572 config CONFIG_FEATURE_TFTP_GET
573 bool " Enable \"get\" command"
575 depends on CONFIG_TFTP
577 Add support for the GET command within the TFTP client. This allows
578 a client to retrieve a file from a TFTP server.
580 config CONFIG_FEATURE_TFTP_PUT
581 bool " Enable \"put\" command"
583 depends on CONFIG_TFTP
585 Add support for the PUT command within the TFTP client. This allows
586 a client to transfer a file to a TFTP server.
588 config CONFIG_FEATURE_TFTP_BLOCKSIZE
589 bool " Enable \"blocksize\" command"
591 depends on CONFIG_TFTP
593 Allow the client to specify the desired block size for transfers.
595 config CONFIG_FEATURE_TFTP_DEBUG
598 depends on CONFIG_TFTP
600 Enable debug settings for tftp. This is useful if you're running
601 into problems with tftp as the protocol doesn't help you much when
602 you run into problems.
604 config CONFIG_TRACEROUTE
608 Utility to trace the route of IP packets
610 config CONFIG_FEATURE_TRACEROUTE_VERBOSE
611 bool " Enable verbose output"
613 depends on CONFIG_TRACEROUTE
615 Add some verbosity to traceroute. This includes amongst other things
616 hostnames and ICMP response types.
618 config CONFIG_VCONFIG
622 Creates, removes, and configures VLAN interfaces
628 wget is a utility for non-interactive download of files from HTTP,
629 HTTPS, and FTP servers.
631 config CONFIG_FEATURE_WGET_STATUSBAR
632 bool " Enable a nifty process meter (+2k)"
634 depends on CONFIG_WGET
636 Enable the transfer progress bar for wget transfers.
638 config CONFIG_FEATURE_WGET_AUTHENTICATION
639 bool " Enable HTTP authentication"
641 depends on CONFIG_WGET
643 Support authenticated HTTP transfers.
645 config CONFIG_FEATURE_WGET_IP6_LITERAL
646 bool " Enable IPv6 literal addresses"
648 depends on CONFIG_WGET
650 Support IPv6 address literal notation in URLs.
652 source networking/udhcp/Config.in
658 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
659 It's a daemon that allocates and defends a dynamically assigned
660 address on the 169.254/16 network, requiring no system administrator.
662 See http://www.zeroconf.org for further details, and "zcip.script"
663 in the busybox examples.