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 FEATURE_UNIX_LOCAL
16 bool "Enable Unix domain socket support"
19 Enable Unix domain socket support in all busybox networking
22 config FEATURE_PREFER_IPV4_ADDRESS
23 bool "Prefer IPv4 addresses from DNS queries"
25 depends on FEATURE_IPV6
27 Use IPv4 address of network host if it has one.
29 If this option is off, the first returned address will be used.
30 This may cause problems when your DNS server is IPv6-capable and
31 is returning IPv6 host addresses too. If IPv6 address
32 precedes IPv4 one in DNS reply, busybox network applets
33 (e.g. wget) will use IPv6 address. On an IPv6-incapable host
34 or network applets will fail to connect to the host
37 config VERBOSE_RESOLUTION_ERRORS
38 bool "Verbose resolution errors"
41 Enable if you are not satisfied with simplistic
42 "can't resolve 'hostname.com'" and want to know more.
43 This may increase size of your executable a bit.
49 Manipulate the system ARP cache.
55 Ping hosts by ARP packets.
61 Manage ethernet bridges.
62 Supports addbr/delbr and addif/delif.
64 config FEATURE_BRCTL_FANCY
69 Add support for extended option like:
70 setageing, setfd, sethello, setmaxage,
71 setpathcost, setportprio, setbridgeprio,
73 This adds about 600 bytes.
75 config FEATURE_BRCTL_SHOW
76 bool "Support show, showmac and showstp"
78 depends on BRCTL && FEATURE_BRCTL_FANCY
80 Add support for option which prints the current config:
81 showmacs, showstp, show
87 Small and static DNS server daemon.
93 Send a magic packet to wake up sleeping machines.
100 fakeidentd listens on the ident port and returns a predefined
101 fake value on any query.
107 simple FTP daemon. You have to run it via inetd.
109 config FEATURE_FTP_WRITE
110 bool "Enable upload commands"
114 Enable all kinds of FTP upload commands (-w option)
120 Retrieve a remote file via FTP.
126 Store a remote file via FTP.
128 config FEATURE_FTPGETPUT_LONG_OPTIONS
129 bool "Enable long options in ftpget/ftpput"
131 depends on GETOPT_LONG && (FTPGET || FTPPUT)
133 Support long options for the ftpget/ftpput applet.
139 Show or set the system's host name.
145 Serve web pages via an HTTP server.
147 config FEATURE_HTTPD_RANGES
148 bool "Support 'Ranges:' header"
152 Makes httpd emit "Accept-Ranges: bytes" header and understand
153 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
154 downloads, seeking in multimedia players etc.
156 config FEATURE_HTTPD_USE_SENDFILE
157 bool "Use sendfile system call"
161 When enabled, httpd will use the kernel sendfile() function
162 instead of read/write loop.
164 config FEATURE_HTTPD_SETUID
165 bool "Enable -u <user> option"
169 This option allows the server to run as a specific user
170 rather than defaulting to the user that starts the server.
171 Use of this option requires special privileges to change to a
174 config FEATURE_HTTPD_BASIC_AUTH
175 bool "Enable Basic http Authentication"
179 Utilizes password settings from /etc/httpd.conf for basic
180 authentication on a per url basis.
182 config FEATURE_HTTPD_AUTH_MD5
183 bool "Support MD5 crypted passwords for http Authentication"
185 depends on FEATURE_HTTPD_BASIC_AUTH
187 Enables basic per URL authentication from /etc/httpd.conf
190 config FEATURE_HTTPD_CGI
191 bool "Support Common Gateway Interface (CGI)"
195 This option allows scripts and executables to be invoked
196 when specific URLs are requested.
198 config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
199 bool "Support for running scripts through an interpreter"
201 depends on FEATURE_HTTPD_CGI
203 This option enables support for running scripts through an
204 interpreter. Turn this on if you want PHP scripts to work
205 properly. You need to supply an additional line in your httpd
207 *.php:/path/to/your/php
209 config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
210 bool "Set REMOTE_PORT environment variable for CGI"
212 depends on FEATURE_HTTPD_CGI
214 Use of this option can assist scripts in generating
215 references that contain a unique port number.
217 config FEATURE_HTTPD_ENCODE_URL_STR
218 bool "Enable -e option (useful for CGIs written as shell scripts)"
222 This option allows html encoding of arbitrary strings for display
223 by the browser. Output goes to stdout.
224 For example, httpd -e "<Hello World>" produces
225 "<Hello World>".
227 config FEATURE_HTTPD_ERROR_PAGES
228 bool "Support for custom error pages"
232 This option allows you to define custom error pages in
233 the configuration file instead of the default HTTP status
234 error pages. For instance, if you add the line:
236 in the config file, the server will respond the specified
237 '/path/e404.html' file instead of the terse '404 NOT FOUND'
240 config FEATURE_HTTPD_PROXY
241 bool "Support for reverse proxy"
245 This option allows you to define URLs that will be forwarded
246 to another HTTP server. To setup add the following line to the
248 P:/url/:http://hostname[:port]/new/path/
249 Then a request to /url/myfile will be forwarded to
250 http://hostname[:port]/new/path/myfile.
256 Ifconfig is used to configure the kernel-resident network interfaces.
258 config FEATURE_IFCONFIG_STATUS
259 bool "Enable status reporting output (+7k)"
263 If ifconfig is called with no arguments it will display the status
264 of the currently active interfaces.
266 config FEATURE_IFCONFIG_SLIP
267 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
271 Allow "keepalive" and "outfill" support for SLIP. If you're not
272 planning on using serial lines, leave this unchecked.
274 config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
275 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
279 Allow the start address for shared memory, start address for I/O,
280 and/or the interrupt line used by the specified device.
282 config FEATURE_IFCONFIG_HW
283 bool "Enable option \"hw\" (ether only)"
287 Set the hardware address of this interface, if the device driver
288 supports this operation. Currently, we only support the 'ether'
291 config FEATURE_IFCONFIG_BROADCAST_PLUS
292 bool "Set the broadcast automatically"
296 Setting this will make ifconfig attempt to find the broadcast
297 automatically if the value '+' is used.
303 Userspace application to bind several interfaces
304 to a logical interface (use with kernel bonding driver).
310 Activate or deactivate the specified interfaces. This applet makes
311 use of either "ifconfig" and "route" or the "ip" command to actually
312 configure network interfaces. Therefore, you will probably also want
313 to enable either IFCONFIG and ROUTE, or enable
314 FEATURE_IFUPDOWN_IP and the various IP options. Of
315 course you could use non-busybox versions of these programs, so
316 against my better judgement (since this will surely result in plenty
317 of support questions on the mailing list), I do not force you to
318 enable these additional options. It is up to you to supply either
319 "ifconfig", "route" and "run-parts" or the "ip" command, either
320 via busybox or via standalone utilities.
322 config IFUPDOWN_IFSTATE_PATH
323 string "Absolute path to ifstate file"
324 default "/var/run/ifstate"
327 ifupdown keeps state information in a file called ifstate.
328 Typically it is located in /var/run/ifstate, however
329 some distributions tend to put it in other places
330 (debian, for example, uses /etc/network/run/ifstate).
331 This config option defines location of ifstate.
333 config FEATURE_IFUPDOWN_IP
338 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
339 than the default of using the older 'ifconfig' and 'route' utilities.
341 config FEATURE_IFUPDOWN_IP_BUILTIN
342 bool "Use busybox ip applet"
344 depends on FEATURE_IFUPDOWN_IP
346 select FEATURE_IP_ADDRESS
347 select FEATURE_IP_LINK
348 select FEATURE_IP_ROUTE
350 Use the busybox iproute "ip" applet to implement "ifupdown".
352 If left disabled, you must install the full-blown iproute2
353 utility or the "ifup" and "ifdown" applets will not work.
355 config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
356 bool "Use busybox ifconfig and route applets"
358 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
362 Use the busybox iproute "ifconfig" and "route" applets to
363 implement the "ifup" and "ifdown" utilities.
365 If left disabled, you must install the full-blown ifconfig
366 and route utilities, or the "ifup" and "ifdown" applets will not
369 config FEATURE_IFUPDOWN_IPV4
370 bool "Support for IPv4"
374 If you want ifup/ifdown to talk IPv4, leave this on.
376 config FEATURE_IFUPDOWN_IPV6
377 bool "Support for IPv6"
379 depends on IFUPDOWN && FEATURE_IPV6
381 If you need support for IPv6, turn this option on.
384 ###config FEATURE_IFUPDOWN_IPX
385 ### bool "Support for IPX"
387 ### depends on IFUPDOWN
389 ### If this option is selected you can use busybox to work with IPX
392 config FEATURE_IFUPDOWN_MAPPING
393 bool "Enable mapping support"
397 This enables support for the "mapping" stanza, unless you have
398 a weird network setup you don't need it.
400 config FEATURE_IFUPDOWN_EXTERNAL_DHCP
401 bool "Support for external dhcp clients"
405 This enables support for the external dhcp clients. Clients are
406 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
407 Otherwise, if udhcpc applet is enabled, it is used.
408 Otherwise, ifup/ifdown will have no support for DHCP.
413 select FEATURE_SYSLOG
415 Internet superserver daemon
417 config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
418 bool "Support echo service"
422 Echo received data internal inetd service
424 config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
425 bool "Support discard service"
429 Internet /dev/null internal inetd service
431 config FEATURE_INETD_SUPPORT_BUILTIN_TIME
432 bool "Support time service"
436 Return 32 bit time since 1900 internal inetd service
438 config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
439 bool "Support daytime service"
443 Return human-readable time internal inetd service
445 config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
446 bool "Support chargen service"
450 Familiar character generator internal inetd service
452 config FEATURE_INETD_RPC
453 bool "Support RPC services"
456 select FEATURE_HAVE_RPC
458 Support Sun-RPC based services
464 The "ip" applet is a TCP/IP interface configuration and routing
465 utility. You generally don't need "ip" to use busybox with
468 config FEATURE_IP_ADDRESS
473 Address manipulation support for the "ip" applet.
475 config FEATURE_IP_LINK
480 Configure network devices with "ip".
482 config FEATURE_IP_ROUTE
487 Add support for routing table management to "ip".
489 config FEATURE_IP_TUNNEL
494 Add support for tunneling commands to "ip".
496 config FEATURE_IP_RULE
501 Add support for rule commands to "ip".
503 config FEATURE_IP_SHORT_FORMS
504 bool "Support short forms of ip commands"
508 Also support short-form of ip <OBJECT> commands:
512 ip tunnel -> iptunnel
515 Say N unless you desparately need the short form of the ip
518 config FEATURE_IP_RARE_PROTOCOLS
519 bool "Support displaying rarely used link types"
523 If you are not going to use links of type "frad", "econet",
524 "bif" etc, you probably don't need to enable this.
525 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
526 link types are supported without this option selected.
531 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
536 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
541 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
546 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
551 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
557 ipcalc takes an IP address and netmask and calculates the
558 resulting broadcast, network, and host range.
560 config FEATURE_IPCALC_FANCY
561 bool "Fancy IPCALC, more options, adds 1 kbyte"
565 Adds the options hostname, prefix and silent to the output of
568 config FEATURE_IPCALC_LONG_OPTIONS
569 bool "Enable long options"
571 depends on IPCALC && GETOPT_LONG
573 Support long options for the ipcalc applet.
578 select FEATURE_SYSLOG
580 nameif is used to rename network interface by its MAC address.
581 Renamed interfaces MUST be in the down state.
582 It is possible to use a file (default: /etc/mactab)
583 with list of new interface names and MACs.
584 Maximum interface name length: IFNAMSIZ = 16
585 File fields are separated by space or tab.
588 new_interface_name XX:XX:XX:XX:XX:XX
590 config FEATURE_NAMEIF_EXTENDED
591 bool "Extended nameif"
595 This extends the nameif syntax to support the bus_info and driver
596 checks. The syntax is compatible to the normal nameif.
598 new_interface_name driver=asix bus=usb-0000:00:08.2-3
599 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
600 new_interface_name mac=00:80:C8:38:91:B5
601 new_interface_name 00:80:C8:38:91:B5
607 A simple Unix utility which reads and writes data across network
611 bool "Netcat server options (-l)"
615 Allow netcat to act as a server.
618 bool "Netcat extensions (-eiw and filename)"
622 Add -e (support for executing the rest of the command line after
623 making or receiving a successful connection), -i (delay interval for
624 lines sent), -w (timeout for initial connection).
630 netstat prints information about the Linux networking subsystem.
632 config FEATURE_NETSTAT_WIDE
633 bool "Enable wide netstat output"
637 Add support for wide columns. Useful when displaying IPv6 addresses
640 config FEATURE_NETSTAT_PRG
641 bool "Enable PID/Program name output"
645 Add support for -p flag to print out PID and program name.
652 nslookup is a tool to query Internet name servers.
658 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
659 elicit an ICMP ECHO_RESPONSE from a host or gateway.
664 depends on FEATURE_IPV6 && PING
666 This will give you a ping that can talk IPv6.
668 config FEATURE_FANCY_PING
669 bool "Enable fancy ping output"
673 Make the output from the ping applet include statistics, and at the
674 same time provide full support for ICMP packets.
680 Simple network port scanner.
686 Route displays or manipulates the kernel's IP routing tables.
692 slattach is a small utility to attach network interfaces to serial
699 # show / manipulate traffic control settings
701 #config FEATURE_TC_INGRESS
709 Telnet is an interface to the TELNET protocol, but is also commonly
710 used to test other simple protocols.
712 config FEATURE_TELNET_TTYPE
713 bool "Pass TERM type to remote host"
717 Setting this option will forward the TERM environment variable to the
718 remote host you are connecting to. This is useful to make sure that
719 things like ANSI colors and other control sequences behave.
721 config FEATURE_TELNET_AUTOLOGIN
722 bool "Pass USER type to remote host"
726 Setting this option will forward the USER environment variable to the
727 remote host you are connecting to. This is useful when you need to
728 log into a machine without telling the username (autologin). This
729 option enables `-a' and `-l USER' arguments.
734 select FEATURE_SYSLOG
736 A daemon for the TELNET protocol, allowing you to log onto the host
737 running the daemon. Please keep in mind that the TELNET protocol
738 sends passwords in plain text. If you can't afford the space for an
739 SSH daemon and you trust your network, you may say 'y' here. As a
740 more secure alternative, you should seriously consider installing the
741 very small Dropbear SSH daemon instead:
742 http://matt.ucc.asn.au/dropbear/dropbear.html
744 Note that for busybox telnetd to work you need several things:
745 First of all, your kernel needs:
749 Next, you need a /dev/pts directory on your root filesystem:
752 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
754 Next you need the pseudo terminal master multiplexer /dev/ptmx:
757 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
759 Any /dev/ttyp[0-9]* files you may have can be removed.
760 Next, you need to mount the devpts filesystem on /dev/pts using:
762 mount -t devpts devpts /dev/pts
764 You need to be sure that Busybox has LOGIN and
765 FEATURE_SUID enabled. And finally, you should make
766 certain that Busybox has been installed setuid root:
768 chown root.root /bin/busybox
769 chmod 4755 /bin/busybox
771 with all that done, telnetd _should_ work....
774 config FEATURE_TELNETD_STANDALONE
775 bool "Support standalone telnetd (not inetd only)"
779 Selecting this will make telnetd able to run standalone.
785 This enables the Trivial File Transfer Protocol client program. TFTP
786 is usually used for simple, small transfers such as a root image
787 for a network-enabled bootloader.
793 This enables the Trivial File Transfer Protocol server program.
794 It expects that stdin is a datagram socket and a packet
795 is already pending on it. It will exit after one transfer.
796 In other words: it should be run from inetd in nowait mode,
797 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
799 config FEATURE_TFTP_GET
800 bool "Enable \"get\" command"
802 depends on TFTP || TFTPD
804 Add support for the GET command within the TFTP client. This allows
805 a client to retrieve a file from a TFTP server.
806 Also enable upload support in tftpd, if tftpd is selected.
808 config FEATURE_TFTP_PUT
809 bool "Enable \"put\" command"
811 depends on TFTP || TFTPD
813 Add support for the PUT command within the TFTP client. This allows
814 a client to transfer a file to a TFTP server.
815 Also enable download support in tftpd, if tftpd is selected.
817 config FEATURE_TFTP_BLOCKSIZE
818 bool "Enable \"blksize\" protocol option"
820 depends on TFTP || TFTPD
822 Allow tftp to specify block size, and tftpd to understand
828 depends on TFTP || TFTPD
830 Enable debug settings for tftp. This is useful if you're running
831 into problems with tftp as the protocol doesn't help you much when
832 you run into problems.
838 Utility to trace the route of IP packets
840 config FEATURE_TRACEROUTE_VERBOSE
841 bool "Enable verbose output"
843 depends on TRACEROUTE
845 Add some verbosity to traceroute. This includes among other things
846 hostnames and ICMP response types.
848 config FEATURE_TRACEROUTE_SOURCE_ROUTE
849 bool "Enable loose source route"
851 depends on TRACEROUTE
853 Add option to specify a loose source route gateway
856 config FEATURE_TRACEROUTE_USE_ICMP
857 bool "Use ICMP instead of UDP"
859 depends on TRACEROUTE
861 Add option -I to use ICMP ECHO instead of UDP datagrams.
863 source networking/udhcp/Config.in
865 config IFUPDOWN_UDHCPC_CMD_OPTIONS
866 string "ifup udhcpc command line options"
868 depends on IFUPDOWN && APP_UDHCPC
870 Command line options to pass to udhcpc from ifup.
871 Intended to alter options not available in /etc/network/interfaces.
872 (IE: --syslog --background etc...)
878 Creates, removes, and configures VLAN interfaces
884 wget is a utility for non-interactive download of files from HTTP,
885 HTTPS, and FTP servers.
887 config FEATURE_WGET_STATUSBAR
888 bool "Enable a nifty process meter (+2k)"
892 Enable the transfer progress bar for wget transfers.
894 config FEATURE_WGET_AUTHENTICATION
895 bool "Enable HTTP authentication"
899 Support authenticated HTTP transfers.
901 config FEATURE_WGET_LONG_OPTIONS
902 bool "Enable long options"
904 depends on WGET && GETOPT_LONG
906 Support long options for the wget applet.
911 select FEATURE_SYSLOG
913 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
914 It's a daemon that allocates and defends a dynamically assigned
915 address on the 169.254/16 network, requiring no system administrator.
917 See http://www.zeroconf.org for further details, and "zcip.script"
918 in the busybox examples.
924 tcpsvd listens on a TCP port and runs a program for each new
931 tunctl creates or deletes tun devices.
933 config FEATURE_TUNCTL_UG
934 bool "Support owner:group assignment"
938 Allow to specify owner and group of newly created interface.
939 340 bytes of pure bloat. Say no here.
945 udpsvd listens on an UDP port and runs a program for each new