2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Networking Utilities"
8 config BUSYBOX_CONFIG_FEATURE_IPV6
9 bool "Enable IPv6 support"
12 Enable IPv6 support in busybox.
13 This adds IPv6 support in the networking applets.
15 config BUSYBOX_CONFIG_ARPING
19 Ping hosts by ARP packets
21 config BUSYBOX_CONFIG_DNSD
25 Small and static DNS server daemon.
27 config BUSYBOX_CONFIG_ETHER_WAKE
31 Send a magic packet to wake up sleeping machines.
33 config BUSYBOX_CONFIG_FAKEIDENTD
37 fakeidentd listens on the ident port and returns a predefined
38 fake value on any query.
40 config BUSYBOX_CONFIG_FTPGET
44 Retrieve a remote file via FTP.
46 config BUSYBOX_CONFIG_FTPPUT
50 Store a remote file via FTP.
52 config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS
53 bool "Enable long options in ftpget/ftpput"
55 depends on BUSYBOX_CONFIG_GETOPT_LONG && (CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT)
57 Support long options for the ftpget/ftpput applet.
59 config BUSYBOX_CONFIG_HOSTNAME
63 Show or set the system's host name
65 config BUSYBOX_CONFIG_HTTPD
69 Serve web pages via an HTTP server.
71 config BUSYBOX_CONFIG_FEATURE_HTTPD_WITHOUT_INETD
72 bool "Support using httpd as a daemon (not from inetd)"
74 depends on BUSYBOX_CONFIG_HTTPD
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.
79 config BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
80 bool "Support reloading the global config file using hup signal"
82 depends on BUSYBOX_CONFIG_HTTPD && BUSYBOX_CONFIG_FEATURE_HTTPD_WITHOUT_INETD
84 This option enables processing of SIGHUP to reload cached
85 configuration settings.
87 config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID
88 bool "Enable support -u <user> option"
90 depends on BUSYBOX_CONFIG_HTTPD && BUSYBOX_CONFIG_FEATURE_HTTPD_WITHOUT_INETD
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
97 config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
98 bool "Enable Basic http Authentication"
100 depends on BUSYBOX_CONFIG_HTTPD
102 Utilizes password settings from /etc/httpd.conf for basic
103 authentication on a per url basis.
105 config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5
106 bool "Support MD5 crypted passwords for http Authentication"
108 depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
110 Enables basic per URL authentication from /etc/httpd.conf
113 config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
114 bool "Support loading additional MIME types at run-time"
116 depends on BUSYBOX_CONFIG_HTTPD
118 This option enables support for additional MIME types at
119 run-time to be specified in the configuration file.
121 config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
122 bool "Support Common Gateway Interface (CGI)"
124 depends on BUSYBOX_CONFIG_HTTPD
126 This option allows scripts and executables to be invoked
127 when specific URLs are requested.
129 config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
130 bool "Enable support for running scripts through an interpreter"
132 depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
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
138 *.php:/path/to/your/php
140 config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
141 bool "Support the REMOTE_PORT environment variable for CGI"
143 depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
145 Use of this option can assist scripts in generating
146 references that contain a unique port number.
148 config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
149 bool "Enable the -e option for shell script CGI simplification."
151 depends on BUSYBOX_CONFIG_HTTPD
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 "<Hello World>".
158 config BUSYBOX_CONFIG_IFCONFIG
162 Ifconfig is used to configure the kernel-resident network interfaces.
164 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS
165 bool "Enable status reporting output (+7k)"
167 depends on BUSYBOX_CONFIG_IFCONFIG
169 If ifconfig is called with no arguments it will display the status
170 of the currently active interfaces.
172 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP
173 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
175 depends on BUSYBOX_CONFIG_IFCONFIG
177 Allow "keepalive" and "outfill" support for SLIP. If you're not
178 planning on using serial lines, leave this unchecked.
180 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
181 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
183 depends on BUSYBOX_CONFIG_IFCONFIG
185 Allow the start address for shared memory, start address for I/O,
186 and/or the interrupt line used by the specified device.
188 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW
189 bool "Enable option \"hw\" (ether only)"
191 depends on BUSYBOX_CONFIG_IFCONFIG
193 Set the hardware address of this interface, if the device driver
194 supports this operation. Currently, we only support the 'ether'
197 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
198 bool "Set the broadcast automatically"
200 depends on BUSYBOX_CONFIG_IFCONFIG
202 Setting this will make ifconfig attempt to find the broadcast
203 automatically if the value '+' is used.
205 config BUSYBOX_CONFIG_IFUPDOWN
208 select BUSYBOX_CONFIG_RUN_PARTS
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 BUSYBOX_CONFIG_IFCONFIG and BUSYBOX_CONFIG_ROUTE, or enable
214 BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP and the various BUSYBOX_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.
222 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
225 depends on BUSYBOX_CONFIG_IFUPDOWN
227 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
228 than the default of using the older 'ifconfig' and 'route' utilities.
230 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
231 bool "Use busybox ip applet"
233 depends on BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
234 select BUSYBOX_CONFIG_IP
235 select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
236 select BUSYBOX_CONFIG_FEATURE_IP_LINK
237 select BUSYBOX_CONFIG_FEATURE_IP_ROUTE
239 Use the busybox iproute "ip" applet to implement "ifupdown".
241 If leave this disabled, you must install the full-blown iproute2
242 utility or the "ifup" and "ifdown" applets will not work.
244 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
245 bool "Use busybox ifconfig and route applets"
247 depends on BUSYBOX_CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
248 select BUSYBOX_CONFIG_IFCONFIG
249 select BUSYBOX_CONFIG_ROUTE
251 Use the busybox iproute "ifconfig" and "route" applets to
252 implement the "ifup" and "ifdown" utilities.
254 If leave this disabled, you must install the full-blown ifconfig
255 and route utilities, or the "ifup" and "ifdown" applets will not
258 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4
259 bool "Enable support for IPv4"
261 depends on BUSYBOX_CONFIG_IFUPDOWN
263 If you want busybox to talk IPv4, leave this on.
265 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6
266 bool "Enable support for IPv6"
268 depends on BUSYBOX_CONFIG_IFUPDOWN && BUSYBOX_CONFIG_FEATURE_IPV6
270 If you need support for IPv6, turn this option on.
272 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPX
273 bool "Enable support for IPX"
275 depends on BUSYBOX_CONFIG_IFUPDOWN
277 If this option is selected you can use busybox to work with IPX
280 config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING
281 bool "Enable mapping support"
283 depends on BUSYBOX_CONFIG_IFUPDOWN
285 This enables support for the "mapping" stanza, unless you have
286 a weird network setup you don't need it.
288 config BUSYBOX_CONFIG_INETD
292 Internet superserver daemon
294 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO
295 bool "Support echo service"
297 depends on BUSYBOX_CONFIG_INETD
299 Echo received data internal inetd service
301 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
302 bool "Support discard service"
304 depends on BUSYBOX_CONFIG_INETD
306 Internet /dev/null internal inetd service
308 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME
309 bool "Support time service"
311 depends on BUSYBOX_CONFIG_INETD
313 Return 32 bit time since 1900 internal inetd service
315 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
316 bool "Support daytime service"
318 depends on BUSYBOX_CONFIG_INETD
320 Return human-readable time internal inetd service
322 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
323 bool "Support chargen service"
325 depends on BUSYBOX_CONFIG_INETD
327 Familiar character generator internal inetd service
329 config BUSYBOX_CONFIG_FEATURE_INETD_RPC
330 bool "Support RPC services"
332 depends on BUSYBOX_CONFIG_INETD
334 Suuport Sun-RPC based services
337 config BUSYBOX_CONFIG_IP
341 The "ip" applet is a TCP/IP interface configuration and routing
342 utility. You generally don't need "ip" to use busybox with
345 config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
348 depends on BUSYBOX_CONFIG_IP
350 Address manipulation support for the "ip" applet.
352 config BUSYBOX_CONFIG_FEATURE_IP_LINK
355 depends on BUSYBOX_CONFIG_IP
357 Configure network devices with "ip".
359 config BUSYBOX_CONFIG_FEATURE_IP_ROUTE
362 depends on BUSYBOX_CONFIG_IP
364 Add support for routing table management to "ip".
366 config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
369 depends on BUSYBOX_CONFIG_IP
371 Add support for tunneling commands to "ip".
373 config BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS
374 bool "Support short forms of ip commands."
376 depends on BUSYBOX_CONFIG_IP
378 Also support short-form of ip <OBJECT> commands:
382 ip tunnel -> iptunnel
384 Say N unless you desparately need the short form of the ip
387 config BUSYBOX_CONFIG_IPADDR
390 depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
392 config BUSYBOX_CONFIG_IPLINK
395 depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_LINK
397 config BUSYBOX_CONFIG_IPROUTE
400 depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_ROUTE
402 config BUSYBOX_CONFIG_IPTUNNEL
405 depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
407 config BUSYBOX_CONFIG_IPCALC
411 ipcalc takes an IP address and netmask and calculates the
412 resulting broadcast, network, and host range.
414 config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY
415 bool "Fancy IPCALC, more options, adds 1 kbyte"
417 depends on BUSYBOX_CONFIG_IPCALC
419 Adds the options hostname, prefix and silent to the output of "ipcalc".
421 config BUSYBOX_CONFIG_FEATURE_IPCALC_LONG_OPTIONS
422 bool "Enable long options"
424 depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_GETOPT_LONG
426 Support long options for the ipcalc applet.
428 config BUSYBOX_CONFIG_NAMEIF
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.
440 new_interface_name XX:XX:XX:XX:XX:XX
442 config BUSYBOX_CONFIG_NC
446 A simple Unix utility which reads and writes data across network
449 config BUSYBOX_CONFIG_NETMSG
453 simple program for sending udp broadcast messages
455 config BUSYBOX_CONFIG_NC_GAPING_SECURITY_HOLE
456 bool "gaping security hole"
458 depends on BUSYBOX_CONFIG_NC
460 Add support for executing a program after making or receiving a
461 successful connection (-e option).
463 config BUSYBOX_CONFIG_NETSTAT
467 netstat prints information about the Linux networking subsystem.
469 config BUSYBOX_CONFIG_NSLOOKUP
473 nslookup is a tool to query Internet name servers.
475 config BUSYBOX_CONFIG_PING
479 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
480 elicit an ICMP ECHO_RESPONSE from a host or gateway.
482 config BUSYBOX_CONFIG_FEATURE_FANCY_PING
483 bool "Enable fancy ping output"
485 depends on BUSYBOX_CONFIG_PING
487 Make the output from the ping applet include statistics, and at the
488 same time provide full support for ICMP packets.
490 config BUSYBOX_CONFIG_PING6
493 depends on BUSYBOX_CONFIG_FEATURE_IPV6
495 This will give you a ping that can talk IPv6.
497 config BUSYBOX_CONFIG_FEATURE_FANCY_PING6
498 bool "Enable fancy ping6 output"
500 depends on BUSYBOX_CONFIG_PING6
502 Make the output from the ping6 applet include statistics, and at the
503 same time provide full support for ICMP packets.
505 config BUSYBOX_CONFIG_ROUTE
509 Route displays or manipulates the kernel's IP routing tables.
511 config BUSYBOX_CONFIG_TELNET
515 Telnet is an interface to the TELNET protocol, but is also commonly
516 used to test other simple protocols.
518 config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE
519 bool "Pass TERM type to remote host"
521 depends on BUSYBOX_CONFIG_TELNET
523 Setting this option will forward the TERM environment variable to the
524 remote host you are connecting to. This is useful to make sure that
525 things like ANSI colors and other control sequences behave.
527 config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN
528 bool "Pass USER type to remote host"
530 depends on BUSYBOX_CONFIG_TELNET
532 Setting this option will forward the USER environment variable to the
533 remote host you are connecting to. This is useful when you need to
534 log into a machine without telling the username (autologin). This
535 option enables `-a' and `-l USER' arguments.
537 config BUSYBOX_CONFIG_TELNETD
541 A daemon for the TELNET protocol, allowing you to log onto the host
542 running the daemon. Please keep in mind that the TELNET protocol
543 sends passwords in plain text. If you can't afford the space for an
544 SSH daemon and you trust your network, you may say 'y' here. As a
545 more secure alternative, you should seriously consider installing the
546 very small Dropbear SSH daemon instead:
547 http://matt.ucc.asn.au/dropbear/dropbear.html
549 Note that for busybox telnetd to work you need several things:
550 First of all, your kernel needs:
551 BUSYBOX_CONFIG_UNIX98_PTYS=y
552 BUSYBOX_CONFIG_DEVPTS_FS=y
554 Next, you need a /dev/pts directory on your root filesystem:
557 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
559 Next you need the pseudo terminal master multiplexer /dev/ptmx:
562 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
564 Any /dev/ttyp[0-9]* files you may have can be removed.
565 Next, you need to mount the devpts filesystem on /dev/pts using:
567 mount -t devpts devpts /dev/pts
569 You need to be sure that Busybox has BUSYBOX_CONFIG_LOGIN and
570 BUSYBOX_CONFIG_FEATURE_SUID enabled. And finally, you should make
571 certain that Busybox has been installed setuid root:
573 chown root.root /bin/busybox
574 chmod 4755 /bin/busybox
576 with all that done, telnetd _should_ work....
579 config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD
580 bool "Support call from inetd only"
582 depends on BUSYBOX_CONFIG_TELNETD
584 Selecting this will make telnetd only callable from inetd,
585 removing the standalone support.
587 config BUSYBOX_CONFIG_TFTP
591 This enables the Trivial File Transfer Protocol client program. TFTP
592 is usually used for simple, small transfers such as a root image
593 for a network-enabled bootloader.
595 config BUSYBOX_CONFIG_FEATURE_TFTP_GET
596 bool "Enable \"get\" command"
598 depends on BUSYBOX_CONFIG_TFTP
600 Add support for the GET command within the TFTP client. This allows
601 a client to retrieve a file from a TFTP server.
603 config BUSYBOX_CONFIG_FEATURE_TFTP_PUT
604 bool "Enable \"put\" command"
606 depends on BUSYBOX_CONFIG_TFTP
608 Add support for the PUT command within the TFTP client. This allows
609 a client to transfer a file to a TFTP server.
611 config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE
612 bool "Enable \"blocksize\" command"
614 depends on BUSYBOX_CONFIG_TFTP
616 Allow the client to specify the desired block size for transfers.
618 config BUSYBOX_CONFIG_DEBUG_TFTP
621 depends on BUSYBOX_CONFIG_TFTP
623 Enable debug settings for tftp. This is useful if you're running
624 into problems with tftp as the protocol doesn't help you much when
625 you run into problems.
627 config BUSYBOX_CONFIG_TRACEROUTE
631 Utility to trace the route of IP packets
633 config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE
634 bool "Enable verbose output"
636 depends on BUSYBOX_CONFIG_TRACEROUTE
638 Add some verbosity to traceroute. This includes amongst other things
639 hostnames and ICMP response types.
641 config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
642 bool "Enable loose source route"
644 depends on BUSYBOX_CONFIG_TRACEROUTE
646 Add option to specify a loose source route gateway
649 config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP
650 bool "Use ICMP instead of UDP"
652 depends on BUSYBOX_CONFIG_TRACEROUTE
654 Add feature to allow for ICMP ECHO instead of UDP datagrams.
656 source package/busybox/config/networking/udhcp/Config.in
658 config BUSYBOX_CONFIG_VCONFIG
662 Creates, removes, and configures VLAN interfaces
664 config BUSYBOX_CONFIG_WGET
668 wget is a utility for non-interactive download of files from HTTP,
669 HTTPS, and FTP servers.
671 config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR
672 bool "Enable a nifty process meter (+2k)"
674 depends on BUSYBOX_CONFIG_WGET
676 Enable the transfer progress bar for wget transfers.
678 config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION
679 bool "Enable HTTP authentication"
681 depends on BUSYBOX_CONFIG_WGET
683 Support authenticated HTTP transfers.
685 config BUSYBOX_CONFIG_FEATURE_WGET_IP6_LITERAL
686 bool "Enable IPv6 literal addresses"
688 depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_FEATURE_IPV6
690 Support IPv6 address literal notation in URLs.
692 config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS
693 bool "Enable long options"
695 depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_GETOPT_LONG
697 Support long options for the wget applet.
699 config BUSYBOX_CONFIG_ZCIP
703 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
704 It's a daemon that allocates and defends a dynamically assigned
705 address on the 169.254/16 network, requiring no system administrator.
707 See http://www.zeroconf.org for further details, and "zcip.script"
708 in the busybox examples.