busybox/networking/Config.in

719 lines
18 KiB
Plaintext
Raw Normal View History

#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#
menu "Networking Utilities"
2006-10-05 15:47:08 +05:30
config FEATURE_IPV6
bool "Enable IPv6 support"
default n
help
Enable IPv6 support in busybox.
This adds IPv6 support in the networking applets.
2007-01-23 04:16:04 +05:30
config VERBOSE_RESOLUTION_ERRORS
bool "Verbose resolution errors"
default n
help
Enable if you are not satisfied with simplistic
"can't resolve 'hostname.com'" and want to know more.
This may increase size of your executable a bit.
config ARP
bool "arp"
default n
help
Manipulate the system ARP cache
2006-10-05 15:47:08 +05:30
config ARPING
2003-01-09 15:36:01 +05:30
bool "arping"
default n
help
Ping hosts by ARP packets
2006-10-05 15:47:08 +05:30
config DNSD
bool "dnsd"
default n
help
2006-09-17 21:58:10 +05:30
Small and static DNS server daemon.
2006-10-05 15:47:08 +05:30
config ETHER_WAKE
bool "ether-wake"
default n
help
Send a magic packet to wake up sleeping machines.
2006-10-05 15:47:08 +05:30
config FAKEIDENTD
bool "fakeidentd"
default n
2006-10-05 15:47:08 +05:30
select FEATURE_SYSLOG
help
fakeidentd listens on the ident port and returns a predefined
fake value on any query.
2006-10-05 15:47:08 +05:30
config FTPGET
2002-12-13 08:13:50 +05:30
bool "ftpget"
default n
help
Retrieve a remote file via FTP.
2006-10-05 15:47:08 +05:30
config FTPPUT
2002-12-13 08:13:50 +05:30
bool "ftpput"
default n
help
Store a remote file via FTP.
2006-10-05 15:47:08 +05:30
config FEATURE_FTPGETPUT_LONG_OPTIONS
bool "Enable long options in ftpget/ftpput"
default n
depends on GETOPT_LONG && (FTPGET || FTPPUT)
help
Support long options for the ftpget/ftpput applet.
2006-10-05 15:47:08 +05:30
config HOSTNAME
bool "hostname"
default n
help
Show or set the system's host name
2006-10-05 15:47:08 +05:30
config HTTPD
2003-01-05 09:31:56 +05:30
bool "httpd"
default n
help
Serve web pages via an HTTP server.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
bool "Support reloading the global config file using hup signal"
default n
depends on HTTPD
help
This option enables processing of SIGHUP to reload cached
configuration settings.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_SETUID
bool "Enable -u <user> option"
default n
depends on HTTPD
help
This option allows the server to run as a specific user
rather than defaulting to the user that starts the server.
Use of this option requires special privileges to change to a
different user.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_BASIC_AUTH
bool "Enable Basic http Authentication"
default y
2006-10-05 15:47:08 +05:30
depends on HTTPD
help
Utilizes password settings from /etc/httpd.conf for basic
authentication on a per url basis.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_AUTH_MD5
bool "Support MD5 crypted passwords for http Authentication"
default n
2006-10-05 15:47:08 +05:30
depends on FEATURE_HTTPD_BASIC_AUTH
help
Enables basic per URL authentication from /etc/httpd.conf
using md5 passwords.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
bool "Support loading additional MIME types at run-time"
default n
2006-10-05 15:47:08 +05:30
depends on HTTPD
help
This option enables support for additional MIME types at
run-time to be specified in the configuration file.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_CGI
bool "Support Common Gateway Interface (CGI)"
default y
2006-10-05 15:47:08 +05:30
depends on HTTPD
help
This option allows scripts and executables to be invoked
when specific URLs are requested.
2003-05-26 19:37:50 +05:30
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
bool "Enable support for running scripts through an interpreter"
default n
2006-10-05 15:47:08 +05:30
depends on FEATURE_HTTPD_CGI
help
2006-09-17 21:58:10 +05:30
This option enables support for running scripts through an
interpreter. Turn this on if you want PHP scripts to work
properly. You need to supply an addition line in your httpd
config file:
*.php:/path/to/your/php
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
bool "Support the REMOTE_PORT environment variable for CGI"
default n
2006-10-05 15:47:08 +05:30
depends on FEATURE_HTTPD_CGI
help
Use of this option can assist scripts in generating
references that contain a unique port number.
2006-10-05 15:47:08 +05:30
config FEATURE_HTTPD_ENCODE_URL_STR
bool "Enable the -e option for shell script CGI simplification."
default y
2006-10-05 15:47:08 +05:30
depends on HTTPD
help
This option allows html encoding arbitrary
strings for display of the browser. Output goes to stdout.
For example, httpd -e "<Hello World>" as
"&#60Hello&#32World&#62".
2006-10-05 15:47:08 +05:30
config IFCONFIG
bool "ifconfig"
default n
help
Ifconfig is used to configure the kernel-resident network interfaces.
2006-10-05 15:47:08 +05:30
config FEATURE_IFCONFIG_STATUS
bool "Enable status reporting output (+7k)"
default y
2006-10-05 15:47:08 +05:30
depends on IFCONFIG
help
If ifconfig is called with no arguments it will display the status
of the currently active interfaces.
2006-10-05 15:47:08 +05:30
config FEATURE_IFCONFIG_SLIP
bool "Enable slip-specific options \"keepalive\" and \"outfill\""
default n
2006-10-05 15:47:08 +05:30
depends on IFCONFIG
help
Allow "keepalive" and "outfill" support for SLIP. If you're not
planning on using serial lines, leave this unchecked.
2006-10-05 15:47:08 +05:30
config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
default n
2006-10-05 15:47:08 +05:30
depends on IFCONFIG
help
Allow the start address for shared memory, start address for I/O,
and/or the interrupt line used by the specified device.
2006-10-05 15:47:08 +05:30
config FEATURE_IFCONFIG_HW
bool "Enable option \"hw\" (ether only)"
default y
2006-10-05 15:47:08 +05:30
depends on IFCONFIG
help
Set the hardware address of this interface, if the device driver
supports this operation. Currently, we only support the 'ether'
class.
2006-10-05 15:47:08 +05:30
config FEATURE_IFCONFIG_BROADCAST_PLUS
bool "Set the broadcast automatically"
default n
2006-10-05 15:47:08 +05:30
depends on IFCONFIG
help
Setting this will make ifconfig attempt to find the broadcast
automatically if the value '+' is used.
2006-10-05 15:47:08 +05:30
config IFUPDOWN
bool "ifupdown"
default n
help
Activate or deactivate the specified interfaces. This applet makes
use of either "ifconfig" and "route" or the "ip" command to actually
configure network interfaces. Therefore, you will probably also want
2006-10-05 15:47:08 +05:30
to enable either IFCONFIG and ROUTE, or enable
FEATURE_IFUPDOWN_IP and the various IP options. Of
course you could use non-busybox versions of these programs, so
against my better judgement (since this will surely result in plenty
of support questions on the mailing list), I do not force you to
enable these additional options. It is up to you to supply either
"ifconfig", "route" and "run-parts" or the "ip" command, either
2007-03-28 22:16:03 +05:30
via busybox or via standalone utilities.
2006-10-05 15:47:08 +05:30
config FEATURE_IFUPDOWN_IP
bool "Use ip applet"
default n
2006-10-05 15:47:08 +05:30
depends on IFUPDOWN
help
Use the iproute "ip" command to implement "ifup" and "ifdown", rather
than the default of using the older 'ifconfig' and 'route' utilities.
2006-10-05 15:47:08 +05:30
config FEATURE_IFUPDOWN_IP_BUILTIN
bool "Use busybox ip applet"
default y
2006-10-05 15:47:08 +05:30
depends on FEATURE_IFUPDOWN_IP
select IP
select FEATURE_IP_ADDRESS
select FEATURE_IP_LINK
select FEATURE_IP_ROUTE
help
Use the busybox iproute "ip" applet to implement "ifupdown".
If left disabled, you must install the full-blown iproute2
utility or the "ifup" and "ifdown" applets will not work.
config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
bool "Use busybox ifconfig and route applets"
default y
depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
2006-10-05 15:47:08 +05:30
select IFCONFIG
select ROUTE
help
Use the busybox iproute "ifconfig" and "route" applets to
implement the "ifup" and "ifdown" utilities.
If left disabled, you must install the full-blown ifconfig
and route utilities, or the "ifup" and "ifdown" applets will not
work.
2006-10-05 15:47:08 +05:30
config FEATURE_IFUPDOWN_IPV4
bool "Enable support for IPv4"
default y
2006-10-05 15:47:08 +05:30
depends on IFUPDOWN
help
If you want busybox to talk IPv4, leave this on.
2006-10-05 15:47:08 +05:30
config FEATURE_IFUPDOWN_IPV6
bool "Enable support for IPv6"
default n
2006-10-05 15:47:08 +05:30
depends on IFUPDOWN && FEATURE_IPV6
help
If you need support for IPv6, turn this option on.
2006-10-05 15:47:08 +05:30
config FEATURE_IFUPDOWN_IPX
bool "Enable support for IPX"
default n
2006-10-05 15:47:08 +05:30
depends on IFUPDOWN
help
If this option is selected you can use busybox to work with IPX
networks.
2006-10-05 15:47:08 +05:30
config FEATURE_IFUPDOWN_MAPPING
bool "Enable mapping support"
default n
2006-10-05 15:47:08 +05:30
depends on IFUPDOWN
help
This enables support for the "mapping" stanza, unless you have
a weird network setup you don't need it.
2006-10-05 15:47:08 +05:30
config INETD
bool "inetd"
default n
2006-10-05 15:47:08 +05:30
select FEATURE_SYSLOG
help
Internet superserver daemon
2006-10-05 15:47:08 +05:30
config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
bool "Support echo service"
default y
2006-10-05 15:47:08 +05:30
depends on INETD
help
Echo received data internal inetd service
2006-10-05 15:47:08 +05:30
config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
bool "Support discard service"
default y
2006-10-05 15:47:08 +05:30
depends on INETD
help
Internet /dev/null internal inetd service
2006-10-05 15:47:08 +05:30
config FEATURE_INETD_SUPPORT_BUILTIN_TIME
bool "Support time service"
default y
2006-10-05 15:47:08 +05:30
depends on INETD
help
Return 32 bit time since 1900 internal inetd service
2006-10-05 15:47:08 +05:30
config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
bool "Support daytime service"
default y
2006-10-05 15:47:08 +05:30
depends on INETD
help
Return human-readable time internal inetd service
2006-10-05 15:47:08 +05:30
config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
bool "Support chargen service"
default y
2006-10-05 15:47:08 +05:30
depends on INETD
help
Familiar character generator internal inetd service
2006-10-05 15:47:08 +05:30
config FEATURE_INETD_RPC
bool "Support RPC services"
default n
2007-01-24 20:20:27 +05:30
depends on INETD && FEATURE_HAVE_RPC
help
Support Sun-RPC based services
2006-10-05 15:47:08 +05:30
config IP
bool "ip"
default n
help
The "ip" applet is a TCP/IP interface configuration and routing
utility. You generally don't need "ip" to use busybox with
TCP/IP.
2006-10-05 15:47:08 +05:30
config FEATURE_IP_ADDRESS
bool "ip address"
default y
2006-10-05 15:47:08 +05:30
depends on IP
help
Address manipulation support for the "ip" applet.
2006-10-05 15:47:08 +05:30
config FEATURE_IP_LINK
bool "ip link"
default y
2006-10-05 15:47:08 +05:30
depends on IP
help
Configure network devices with "ip".
2006-10-05 15:47:08 +05:30
config FEATURE_IP_ROUTE
bool "ip route"
default y
2006-10-05 15:47:08 +05:30
depends on IP
help
Add support for routing table management to "ip".
2006-10-05 15:47:08 +05:30
config FEATURE_IP_TUNNEL
bool "ip tunnel"
default n
2006-10-05 15:47:08 +05:30
depends on IP
help
Add support for tunneling commands to "ip".
config FEATURE_IP_RULE
bool "ip rule"
default n
depends on IP
help
Add support for rule commands to "ip".
2006-10-05 15:47:08 +05:30
config FEATURE_IP_SHORT_FORMS
bool "Support short forms of ip commands."
default n
2006-10-05 15:47:08 +05:30
depends on IP
help
Also support short-form of ip <OBJECT> commands:
ip addr -> ipaddr
ip link -> iplink
ip route -> iproute
ip tunnel -> iptunnel
2007-02-02 21:36:02 +05:30
ip rule -> iprule
Say N unless you desparately need the short form of the ip
object commands.
2006-10-05 15:47:08 +05:30
config IPADDR
bool
default y
2006-10-05 15:47:08 +05:30
depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
2006-10-05 15:47:08 +05:30
config IPLINK
bool
default y
2006-10-05 15:47:08 +05:30
depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
2006-10-05 15:47:08 +05:30
config IPROUTE
bool
default y
2006-10-05 15:47:08 +05:30
depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
2006-10-05 15:47:08 +05:30
config IPTUNNEL
bool
default y
2006-10-05 15:47:08 +05:30
depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
config IPRULE
bool
default y
depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
2006-10-05 15:47:08 +05:30
config IPCALC
bool "ipcalc"
default n
help
ipcalc takes an IP address and netmask and calculates the
resulting broadcast, network, and host range.
2006-10-05 15:47:08 +05:30
config FEATURE_IPCALC_FANCY
bool "Fancy IPCALC, more options, adds 1 kbyte"
default y
2006-10-05 15:47:08 +05:30
depends on IPCALC
help
Adds the options hostname, prefix and silent to the output of "ipcalc".
2006-10-05 15:47:08 +05:30
config FEATURE_IPCALC_LONG_OPTIONS
bool "Enable long options"
default n
2006-10-05 15:47:08 +05:30
depends on IPCALC && GETOPT_LONG
help
Support long options for the ipcalc applet.
2006-10-05 15:47:08 +05:30
config NAMEIF
bool "nameif"
default n
2006-10-05 15:47:08 +05:30
select FEATURE_SYSLOG
help
nameif is used to rename network interface by its MAC address.
Renamed interfaces MUST be in the down state.
It is possible to use a file (default: /etc/mactab)
with list of new interface names and MACs.
Maximum interface name length: IF_NAMESIZE = 16
File fields are separated by space or tab.
File format:
# Comment
new_interface_name XX:XX:XX:XX:XX:XX
2006-10-05 15:47:08 +05:30
config NC
bool "nc"
default n
help
A simple Unix utility which reads and writes data across network
connections.
2006-10-05 15:47:08 +05:30
config NC_SERVER
2007-04-06 01:56:28 +05:30
bool "Netcat server options (-l)"
default n
2006-10-05 15:47:08 +05:30
depends on NC
help
Allow netcat to act as a server.
2006-10-05 15:47:08 +05:30
config NC_EXTRA
bool "Netcat extensions (-eiw and filename)"
default n
2006-10-05 15:47:08 +05:30
depends on NC
help
Add -e (support for executing the rest of the command line after
making or receiving a successful connection), -i (delay interval for
lines sent), -w (timeout for initial connection).
2006-10-05 15:47:08 +05:30
config NETSTAT
bool "netstat"
default n
help
netstat prints information about the Linux networking subsystem.
2006-10-05 15:47:08 +05:30
config NSLOOKUP
bool "nslookup"
default n
help
nslookup is a tool to query Internet name servers.
2006-10-05 15:47:08 +05:30
config PING
bool "ping"
default n
help
ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
elicit an ICMP ECHO_RESPONSE from a host or gateway.
2006-10-05 15:47:08 +05:30
config PING6
bool "ping6"
default n
depends on FEATURE_IPV6 && PING
help
This will give you a ping that can talk IPv6.
config FEATURE_FANCY_PING
bool "Enable fancy ping output"
default y
depends on PING
help
Make the output from the ping applet include statistics, and at the
same time provide full support for ICMP packets.
2006-10-05 15:47:08 +05:30
config ROUTE
bool "route"
default n
help
Route displays or manipulates the kernel's IP routing tables.
2006-10-05 15:47:08 +05:30
config TELNET
bool "telnet"
default n
help
Telnet is an interface to the TELNET protocol, but is also commonly
used to test other simple protocols.
2006-10-05 15:47:08 +05:30
config FEATURE_TELNET_TTYPE
bool "Pass TERM type to remote host"
default y
2006-10-05 15:47:08 +05:30
depends on TELNET
help
Setting this option will forward the TERM environment variable to the
remote host you are connecting to. This is useful to make sure that
things like ANSI colors and other control sequences behave.
2006-10-05 15:47:08 +05:30
config FEATURE_TELNET_AUTOLOGIN
bool "Pass USER type to remote host"
default y
2006-10-05 15:47:08 +05:30
depends on TELNET
help
Setting this option will forward the USER environment variable to the
remote host you are connecting to. This is useful when you need to
log into a machine without telling the username (autologin). This
option enables `-a' and `-l USER' arguments.
2006-10-05 15:47:08 +05:30
config TELNETD
bool "telnetd"
default n
2006-10-05 15:47:08 +05:30
select FEATURE_SYSLOG
help
A daemon for the TELNET protocol, allowing you to log onto the host
running the daemon. Please keep in mind that the TELNET protocol
sends passwords in plain text. If you can't afford the space for an
SSH daemon and you trust your network, you may say 'y' here. As a
more secure alternative, you should seriously consider installing the
very small Dropbear SSH daemon instead:
http://matt.ucc.asn.au/dropbear/dropbear.html
Note that for busybox telnetd to work you need several things:
First of all, your kernel needs:
2006-10-05 15:47:08 +05:30
UNIX98_PTYS=y
DEVPTS_FS=y
Next, you need a /dev/pts directory on your root filesystem:
$ ls -ld /dev/pts
drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
Next you need the pseudo terminal master multiplexer /dev/ptmx:
$ ls -la /dev/ptmx
crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
Any /dev/ttyp[0-9]* files you may have can be removed.
Next, you need to mount the devpts filesystem on /dev/pts using:
mount -t devpts devpts /dev/pts
2006-10-05 15:47:08 +05:30
You need to be sure that Busybox has LOGIN and
FEATURE_SUID enabled. And finally, you should make
certain that Busybox has been installed setuid root:
chown root.root /bin/busybox
chmod 4755 /bin/busybox
with all that done, telnetd _should_ work....
config FEATURE_TELNETD_STANDALONE
bool "Support standalone telnetd (not inetd only)"
default n
2006-10-05 15:47:08 +05:30
depends on TELNETD
help
Selecting this will make telnetd able to run standalone.
2006-10-05 15:47:08 +05:30
config TFTP
bool "tftp"
default n
help
This enables the Trivial File Transfer Protocol client program. TFTP
is usually used for simple, small transfers such as a root image
for a network-enabled bootloader.
2006-10-05 15:47:08 +05:30
config FEATURE_TFTP_GET
bool "Enable \"get\" command"
default y
2006-10-05 15:47:08 +05:30
depends on TFTP
help
Add support for the GET command within the TFTP client. This allows
a client to retrieve a file from a TFTP server.
2006-10-05 15:47:08 +05:30
config FEATURE_TFTP_PUT
bool "Enable \"put\" command"
default y
2006-10-05 15:47:08 +05:30
depends on TFTP
help
Add support for the PUT command within the TFTP client. This allows
a client to transfer a file to a TFTP server.
2006-10-05 15:47:08 +05:30
config FEATURE_TFTP_BLOCKSIZE
bool "Enable \"blocksize\" command"
default n
2006-10-05 15:47:08 +05:30
depends on TFTP
help
Allow the client to specify the desired block size for transfers.
2006-10-05 15:47:08 +05:30
config DEBUG_TFTP
bool "Enable debug"
2003-05-26 19:37:50 +05:30
default n
2006-10-05 15:47:08 +05:30
depends on TFTP
help
Enable debug settings for tftp. This is useful if you're running
into problems with tftp as the protocol doesn't help you much when
you run into problems.
2006-10-05 15:47:08 +05:30
config TRACEROUTE
bool "traceroute"
default n
help
Utility to trace the route of IP packets
2006-10-05 15:47:08 +05:30
config FEATURE_TRACEROUTE_VERBOSE
bool "Enable verbose output"
2003-05-26 19:37:50 +05:30
default n
2006-10-05 15:47:08 +05:30
depends on TRACEROUTE
help
Add some verbosity to traceroute. This includes amongst other things
hostnames and ICMP response types.
2006-10-05 15:47:08 +05:30
config FEATURE_TRACEROUTE_SOURCE_ROUTE
bool "Enable loose source route"
default n
2006-10-05 15:47:08 +05:30
depends on TRACEROUTE
help
2006-01-04 19:05:09 +05:30
Add option to specify a loose source route gateway
(8 maximum).
2006-10-05 15:47:08 +05:30
config FEATURE_TRACEROUTE_USE_ICMP
bool "Use ICMP instead of UDP"
default n
2006-10-05 15:47:08 +05:30
depends on TRACEROUTE
help
2006-01-04 19:05:09 +05:30
Add feature to allow for ICMP ECHO instead of UDP datagrams.
2006-05-08 08:54:36 +05:30
source networking/udhcp/Config.in
2006-10-05 15:47:08 +05:30
config VCONFIG
bool "vconfig"
default n
help
Creates, removes, and configures VLAN interfaces
2006-10-05 15:47:08 +05:30
config WGET
bool "wget"
default n
help
wget is a utility for non-interactive download of files from HTTP,
HTTPS, and FTP servers.
2006-10-05 15:47:08 +05:30
config FEATURE_WGET_STATUSBAR
bool "Enable a nifty process meter (+2k)"
default y
2006-10-05 15:47:08 +05:30
depends on WGET
help
Enable the transfer progress bar for wget transfers.
2006-10-05 15:47:08 +05:30
config FEATURE_WGET_AUTHENTICATION
bool "Enable HTTP authentication"
default y
2006-10-05 15:47:08 +05:30
depends on WGET
help
Support authenticated HTTP transfers.
2006-10-05 15:47:08 +05:30
config FEATURE_WGET_LONG_OPTIONS
2006-05-31 19:41:38 +05:30
bool "Enable long options"
default n
2006-10-05 15:47:08 +05:30
depends on WGET && GETOPT_LONG
2006-05-31 19:41:38 +05:30
help
Support long options for the wget applet.
2006-10-05 15:47:08 +05:30
config ZCIP
bool "zcip"
default n
2006-10-05 15:47:08 +05:30
select FEATURE_SYSLOG
help
ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
It's a daemon that allocates and defends a dynamically assigned
address on the 169.254/16 network, requiring no system administrator.
See http://www.zeroconf.org for further details, and "zcip.script"
in the busybox examples.
endmenu