ifupdown: improve compatibility with Debian
[oweals/busybox.git] / networking / Config.src
index ce7166f9854472487e58331f64f1c16cb4a0238e..fb7dca7d49146c2395e3e6afdb58c77720477fbf 100644 (file)
@@ -5,9 +5,11 @@
 
 menu "Networking Utilities"
 
+INSERT
+
 config FEATURE_IPV6
        bool "Enable IPv6 support"
-       default n
+       default y
        help
          Enable IPv6 support in busybox.
          This adds IPv6 support in the networking applets.
@@ -48,26 +50,29 @@ config VERBOSE_RESOLUTION_ERRORS
 
 config ARP
        bool "arp"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Manipulate the system ARP cache.
 
 config ARPING
        bool "arping"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Ping hosts by ARP packets.
 
 config BRCTL
        bool "brctl"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Manage ethernet bridges.
          Supports addbr/delbr and addif/delif.
 
 config FEATURE_BRCTL_FANCY
        bool "Fancy options"
-       default n
+       default y
        depends on BRCTL
        help
          Add support for extended option like:
@@ -78,7 +83,7 @@ config FEATURE_BRCTL_FANCY
 
 config FEATURE_BRCTL_SHOW
        bool "Support show, showmac and showstp"
-       default n
+       default y
        depends on BRCTL && FEATURE_BRCTL_FANCY
        help
          Add support for option which prints the current config:
@@ -86,19 +91,20 @@ config FEATURE_BRCTL_SHOW
 
 config DNSD
        bool "dnsd"
-       default n
+       default y
        help
          Small and static DNS server daemon.
 
 config ETHER_WAKE
        bool "ether-wake"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Send a magic packet to wake up sleeping machines.
 
 config FAKEIDENTD
        bool "fakeidentd"
-       default n
+       default y
        select FEATURE_SYSLOG
        help
          fakeidentd listens on the ident port and returns a predefined
@@ -106,7 +112,7 @@ config FAKEIDENTD
 
 config FTPD
        bool "ftpd"
-       default n
+       default y
        help
          simple FTP daemon. You have to run it via inetd.
 
@@ -130,38 +136,38 @@ config FEATURE_FTPD_ACCEPT_BROKEN_LIST
 
 config FTPGET
        bool "ftpget"
-       default n
+       default y
        help
          Retrieve a remote file via FTP.
 
 config FTPPUT
        bool "ftpput"
-       default n
+       default y
        help
          Store a remote file via FTP.
 
 config FEATURE_FTPGETPUT_LONG_OPTIONS
        bool "Enable long options in ftpget/ftpput"
-       default n
+       default y
        depends on LONG_OPTS && (FTPGET || FTPPUT)
        help
          Support long options for the ftpget/ftpput applet.
 
 config HOSTNAME
        bool "hostname"
-       default n
+       default y
        help
          Show or set the system's host name.
 
 config HTTPD
        bool "httpd"
-       default n
+       default y
        help
          Serve web pages via an HTTP server.
 
 config FEATURE_HTTPD_RANGES
        bool "Support 'Ranges:' header"
-       default n
+       default y
        depends on HTTPD
        help
          Makes httpd emit "Accept-Ranges: bytes" header and understand
@@ -170,7 +176,7 @@ config FEATURE_HTTPD_RANGES
 
 config FEATURE_HTTPD_USE_SENDFILE
        bool "Use sendfile system call"
-       default n
+       default y
        depends on HTTPD
        help
          When enabled, httpd will use the kernel sendfile() function
@@ -178,7 +184,7 @@ config FEATURE_HTTPD_USE_SENDFILE
 
 config FEATURE_HTTPD_SETUID
        bool "Enable -u <user> option"
-       default n
+       default y
        depends on HTTPD
        help
          This option allows the server to run as a specific user
@@ -193,14 +199,22 @@ config FEATURE_HTTPD_BASIC_AUTH
        help
          Utilizes password settings from /etc/httpd.conf for basic
          authentication on a per url basis.
+         Example for httpd.conf file:
+         /adm:toor:PaSsWd
 
 config FEATURE_HTTPD_AUTH_MD5
        bool "Support MD5 crypted passwords for http Authentication"
-       default n
+       default y
        depends on FEATURE_HTTPD_BASIC_AUTH
        help
-         Enables basic per URL authentication from /etc/httpd.conf
-         using md5 passwords.
+         Enables encrypted passwords, and wildcard user/passwords
+         in httpd.conf file.
+         User '*' means 'any system user name is ok',
+         password of '*' means 'use system password for this user'
+         Examples:
+         /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0
+         /adm:root:*
+         /wiki:*:*
 
 config FEATURE_HTTPD_CGI
        bool "Support Common Gateway Interface (CGI)"
@@ -212,18 +226,18 @@ config FEATURE_HTTPD_CGI
 
 config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
        bool "Support for running scripts through an interpreter"
-       default n
+       default y
        depends on FEATURE_HTTPD_CGI
        help
          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 additional line in your httpd
-         config file:
+         properly. You need to supply an additional line in your
+         httpd.conf file:
          *.php:/path/to/your/php
 
 config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
        bool "Set REMOTE_PORT environment variable for CGI"
-       default n
+       default y
        depends on FEATURE_HTTPD_CGI
        help
          Use of this option can assist scripts in generating
@@ -241,7 +255,7 @@ config FEATURE_HTTPD_ENCODE_URL_STR
 
 config FEATURE_HTTPD_ERROR_PAGES
        bool "Support for custom error pages"
-       default n
+       default y
        depends on HTTPD
        help
          This option allows you to define custom error pages in
@@ -254,7 +268,7 @@ config FEATURE_HTTPD_ERROR_PAGES
 
 config FEATURE_HTTPD_PROXY
        bool "Support for reverse proxy"
-       default n
+       default y
        depends on HTTPD
        help
          This option allows you to define URLs that will be forwarded
@@ -264,9 +278,18 @@ config FEATURE_HTTPD_PROXY
          Then a request to /url/myfile will be forwarded to
          http://hostname[:port]/new/path/myfile.
 
+config FEATURE_HTTPD_GZIP
+       bool "Support for GZIP content encoding"
+       default y
+       depends on HTTPD
+       help
+         Makes httpd send files using GZIP content encoding if the
+         client supports it and a pre-compressed <file>.gz exists.
+
 config IFCONFIG
        bool "ifconfig"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Ifconfig is used to configure the kernel-resident network interfaces.
 
@@ -280,7 +303,7 @@ config FEATURE_IFCONFIG_STATUS
 
 config FEATURE_IFCONFIG_SLIP
        bool "Enable slip-specific options \"keepalive\" and \"outfill\""
-       default n
+       default y
        depends on IFCONFIG
        help
          Allow "keepalive" and "outfill" support for SLIP. If you're not
@@ -288,7 +311,7 @@ config FEATURE_IFCONFIG_SLIP
 
 config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
        bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
-       default n
+       default y
        depends on IFCONFIG
        help
          Allow the start address for shared memory, start address for I/O,
@@ -305,7 +328,7 @@ config FEATURE_IFCONFIG_HW
 
 config FEATURE_IFCONFIG_BROADCAST_PLUS
        bool "Set the broadcast automatically"
-       default n
+       default y
        depends on IFCONFIG
        help
          Setting this will make ifconfig attempt to find the broadcast
@@ -313,20 +336,22 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
 
 config IFENSLAVE
        bool "ifenslave"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Userspace application to bind several interfaces
          to a logical interface (use with kernel bonding driver).
 
 config IFPLUGD
        bool "ifplugd"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Network interface plug detection daemon.
 
 config IFUPDOWN
        bool "ifupdown"
-       default n
+       default y
        help
          Activate or deactivate the specified interfaces. This applet makes
          use of either "ifconfig" and "route" or the "ip" command to actually
@@ -353,7 +378,7 @@ config IFUPDOWN_IFSTATE_PATH
 
 config FEATURE_IFUPDOWN_IP
        bool "Use ip applet"
-       default n
+       default y
        depends on IFUPDOWN
        help
          Use the iproute "ip" command to implement "ifup" and "ifdown", rather
@@ -363,6 +388,7 @@ config FEATURE_IFUPDOWN_IP_BUILTIN
        bool "Use busybox ip applet"
        default y
        depends on FEATURE_IFUPDOWN_IP
+       select PLATFORM_LINUX
        select IP
        select FEATURE_IP_ADDRESS
        select FEATURE_IP_LINK
@@ -375,7 +401,7 @@ config FEATURE_IFUPDOWN_IP_BUILTIN
 
 config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
        bool "Use busybox ifconfig and route applets"
-       default y
+       default n
        depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
        select IFCONFIG
        select ROUTE
@@ -396,7 +422,7 @@ config FEATURE_IFUPDOWN_IPV4
 
 config FEATURE_IFUPDOWN_IPV6
        bool "Support for IPv6"
-       default n
+       default y
        depends on IFUPDOWN && FEATURE_IPV6
        help
          If you need support for IPv6, turn this option on.
@@ -404,7 +430,7 @@ config FEATURE_IFUPDOWN_IPV6
 ### UNUSED
 ###config FEATURE_IFUPDOWN_IPX
 ###    bool "Support for IPX"
-###    default n
+###    default y
 ###    depends on IFUPDOWN
 ###    help
 ###      If this option is selected you can use busybox to work with IPX
@@ -412,7 +438,7 @@ config FEATURE_IFUPDOWN_IPV6
 
 config FEATURE_IFUPDOWN_MAPPING
        bool "Enable mapping support"
-       default n
+       default y
        depends on IFUPDOWN
        help
          This enables support for the "mapping" stanza, unless you have
@@ -430,7 +456,7 @@ config FEATURE_IFUPDOWN_EXTERNAL_DHCP
 
 config INETD
        bool "inetd"
-       default n
+       default y
        select FEATURE_SYSLOG
        help
          Internet superserver daemon
@@ -472,7 +498,7 @@ config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
 
 config FEATURE_INETD_RPC
        bool "Support RPC services"
-       default n
+       default y
        depends on INETD
        select FEATURE_HAVE_RPC
        help
@@ -480,7 +506,8 @@ config FEATURE_INETD_RPC
 
 config IP
        bool "ip"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          The "ip" applet is a TCP/IP interface configuration and routing
          utility. You generally don't need "ip" to use busybox with
@@ -509,21 +536,21 @@ config FEATURE_IP_ROUTE
 
 config FEATURE_IP_TUNNEL
        bool "ip tunnel"
-       default n
+       default y
        depends on IP
        help
          Add support for tunneling commands to "ip".
 
 config FEATURE_IP_RULE
        bool "ip rule"
-       default n
+       default y
        depends on IP
        help
          Add support for rule commands to "ip".
 
 config FEATURE_IP_SHORT_FORMS
        bool "Support short forms of ip commands"
-       default n
+       default y
        depends on IP
        help
          Also support short-form of ip <OBJECT> commands:
@@ -573,7 +600,7 @@ config IPRULE
 
 config IPCALC
        bool "ipcalc"
-       default n
+       default y
        help
          ipcalc takes an IP address and netmask and calculates the
          resulting broadcast, network, and host range.
@@ -588,71 +615,21 @@ config FEATURE_IPCALC_FANCY
 
 config FEATURE_IPCALC_LONG_OPTIONS
        bool "Enable long options"
-       default n
+       default y
        depends on IPCALC && LONG_OPTS
        help
          Support long options for the ipcalc applet.
 
-config NAMEIF
-       bool "nameif"
-       default n
-       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: IFNAMSIZ = 16
-         File fields are separated by space or tab.
-         File format:
-         # Comment
-         new_interface_name    XX:XX:XX:XX:XX:XX
-
-config FEATURE_NAMEIF_EXTENDED
-       bool "Extended nameif"
-       default n
-       depends on NAMEIF
-       help
-         This extends the nameif syntax to support the bus_info and driver
-         checks. The syntax is compatible to the normal nameif.
-         File format:
-           new_interface_name  driver=asix bus=usb-0000:00:08.2-3
-           new_interface_name  bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
-           new_interface_name  mac=00:80:C8:38:91:B5
-           new_interface_name  00:80:C8:38:91:B5
-
-config NC
-       bool "nc"
-       default n
-       help
-         A simple Unix utility which reads and writes data across network
-         connections.
-
-config NC_SERVER
-       bool "Netcat server options (-l)"
-       default n
-       depends on NC
-       help
-         Allow netcat to act as a server.
-
-config NC_EXTRA
-       bool "Netcat extensions (-eiw and filename)"
-       default n
-       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).
-
 config NETSTAT
        bool "netstat"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          netstat prints information about the Linux networking subsystem.
 
 config FEATURE_NETSTAT_WIDE
        bool "Enable wide netstat output"
-       default n
+       default y
        depends on NETSTAT
        help
          Add support for wide columns. Useful when displaying IPv6 addresses
@@ -660,7 +637,7 @@ config FEATURE_NETSTAT_WIDE
 
 config FEATURE_NETSTAT_PRG
        bool "Enable PID/Program name output"
-       default n
+       default y
        depends on NETSTAT
        help
          Add support for -p flag to print out PID and program name.
@@ -668,13 +645,14 @@ config FEATURE_NETSTAT_PRG
 
 config NSLOOKUP
        bool "nslookup"
-       default n
+       default y
        help
          nslookup is a tool to query Internet name servers.
 
 config NTPD
        bool "ntpd"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          The NTP client/server daemon.
 
@@ -686,50 +664,30 @@ config FEATURE_NTPD_SERVER
          Make ntpd usable as a NTP server. If you disable this option
          ntpd will be usable only as a NTP client.
 
-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.
-
-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.
-
 config PSCAN
        bool "pscan"
-       default n
+       default y
        help
          Simple network port scanner.
 
 config ROUTE
        bool "route"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Route displays or manipulates the kernel's IP routing tables.
 
 config SLATTACH
        bool "slattach"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          slattach is a small utility to attach network interfaces to serial
          lines.
 
 #config TC
 #      bool "tc"
-#      default n
+#      default y
 #      help
 #        show / manipulate traffic control settings
 #
@@ -739,14 +697,14 @@ config SLATTACH
 
 config TCPSVD
        bool "tcpsvd"
-       default n
+       default y
        help
          tcpsvd listens on a TCP port and runs a program for each new
          connection.
 
 config TELNET
        bool "telnet"
-       default n
+       default y
        help
          Telnet is an interface to the TELNET protocol, but is also commonly
          used to test other simple protocols.
@@ -772,7 +730,7 @@ config FEATURE_TELNET_AUTOLOGIN
 
 config TELNETD
        bool "telnetd"
-       default n
+       default y
        select FEATURE_SYSLOG
        help
          A daemon for the TELNET protocol, allowing you to log onto the host
@@ -803,7 +761,7 @@ config TELNETD
 
                  mount -t devpts devpts /dev/pts
 
-         You need to be sure that Busybox has LOGIN and
+         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:
 
@@ -815,14 +773,14 @@ config TELNETD
 
 config FEATURE_TELNETD_STANDALONE
        bool "Support standalone telnetd (not inetd only)"
-       default n
+       default y
        depends on TELNETD
        help
          Selecting this will make telnetd able to run standalone.
 
 config FEATURE_TELNETD_INETD_WAIT
        bool "Support -w SEC option (inetd wait mode)"
-       default n
+       default y
        depends on FEATURE_TELNETD_STANDALONE
        help
          This option allows you to run telnetd in "inet wait" mode.
@@ -843,7 +801,7 @@ config FEATURE_TELNETD_INETD_WAIT
 
 config TFTP
        bool "tftp"
-       default n
+       default y
        help
          This enables the Trivial File Transfer Protocol client program. TFTP
          is usually used for simple, small transfers such as a root image
@@ -851,7 +809,7 @@ config TFTP
 
 config TFTPD
        bool "tftpd"
-       default n
+       default y
        help
          This enables the Trivial File Transfer Protocol server program.
          It expects that stdin is a datagram socket and a packet
@@ -859,6 +817,9 @@ config TFTPD
          In other words: it should be run from inetd in nowait mode,
          or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
 
+comment "Common options for tftp/tftpd"
+       depends on TFTP || TFTPD
+
 config FEATURE_TFTP_GET
        bool "Enable 'tftp get' and/or tftpd upload code"
        default y
@@ -882,7 +843,7 @@ config FEATURE_TFTP_PUT
 
 config FEATURE_TFTP_BLOCKSIZE
        bool "Enable 'blksize' and 'tsize' protocol options"
-       default n
+       default y
        depends on TFTP || TFTPD
        help
          Allow tftp to specify block size, and tftpd to understand
@@ -890,7 +851,7 @@ config FEATURE_TFTP_BLOCKSIZE
 
 config FEATURE_TFTP_PROGRESS_BAR
        bool "Enable tftp progress meter"
-       default n
+       default y
        depends on TFTP && FEATURE_TFTP_BLOCKSIZE
        help
          Show progress bar.
@@ -905,20 +866,21 @@ config TFTP_DEBUG
 
 config TRACEROUTE
        bool "traceroute"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Utility to trace the route of IP packets.
 
 config TRACEROUTE6
        bool "traceroute6"
-       default n
+       default y
        depends on FEATURE_IPV6 && TRACEROUTE
        help
          Utility to trace the route of IPv6 packets.
 
 config FEATURE_TRACEROUTE_VERBOSE
        bool "Enable verbose output"
-       default n
+       default y
        depends on TRACEROUTE
        help
          Add some verbosity to traceroute. This includes among other things
@@ -941,13 +903,14 @@ config FEATURE_TRACEROUTE_USE_ICMP
 
 config TUNCTL
        bool "tunctl"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          tunctl creates or deletes tun devices.
 
 config FEATURE_TUNCTL_UG
        bool "Support owner:group assignment"
-       default n
+       default y
        depends on TUNCTL
        help
          Allow to specify owner and group of newly created interface.
@@ -966,20 +929,21 @@ config IFUPDOWN_UDHCPC_CMD_OPTIONS
 
 config UDPSVD
        bool "udpsvd"
-       default n
+       default y
        help
          udpsvd listens on an UDP port and runs a program for each new
          connection.
 
 config VCONFIG
        bool "vconfig"
-       default n
+       default y
+       select PLATFORM_LINUX
        help
          Creates, removes, and configures VLAN interfaces
 
 config WGET
        bool "wget"
-       default n
+       default y
        help
          wget is a utility for non-interactive download of files from HTTP,
          HTTPS, and FTP servers.
@@ -1000,14 +964,27 @@ config FEATURE_WGET_AUTHENTICATION
 
 config FEATURE_WGET_LONG_OPTIONS
        bool "Enable long options"
-       default n
+       default y
        depends on WGET && LONG_OPTS
        help
          Support long options for the wget applet.
 
+config FEATURE_WGET_TIMEOUT
+       bool "Enable read timeout option -T SEC"
+       default y
+       depends on WGET
+       help
+         Supports network read timeout for wget, so that wget will give
+         up and timeout when reading network data, through the -T command
+         line option.  Currently only network data read timeout is
+         supported (i.e., timeout is not applied to the DNS nor TCP
+         connection initialization).  When FEATURE_WGET_LONG_OPTIONS is
+         also enabled, the --timeout option will work in addition to -T.
+
 config ZCIP
        bool "zcip"
-       default n
+       default y
+       select PLATFORM_LINUX
        select FEATURE_SYSLOG
        help
          ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.