wget: -O FILE is allowed to overwrite existing file (compat)
[oweals/busybox.git] / networking / Config.in
index 11e7812070e4c325faf28e94f98c870fa254651b..030b1c0dee38516d8220b131d1d71531330f15ff 100644 (file)
@@ -24,13 +24,13 @@ config ARP
        bool "arp"
        default n
        help
-         Manipulate the system ARP cache
+         Manipulate the system ARP cache.
 
 config ARPING
        bool "arping"
        default n
        help
-         Ping hosts by ARP packets
+         Ping hosts by ARP packets.
 
 config DNSD
        bool "dnsd"
@@ -75,7 +75,7 @@ config HOSTNAME
        bool "hostname"
        default n
        help
-         Show or set the system's host name
+         Show or set the system's host name.
 
 config HTTPD
        bool "httpd"
@@ -83,6 +83,23 @@ config HTTPD
        help
          Serve web pages via an HTTP server.
 
+config FEATURE_HTTPD_RANGES
+       bool "Support 'Ranges:' header"
+       default n
+       depends on HTTPD
+       help
+         Makes httpd emit "Accept-Ranges: bytes" header and understand
+         "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
+         downloads, seeking in multimedia players etc.
+
+config FEATURE_HTTPD_USE_SENDFILE
+       bool "Use sendfile system call"
+       default n
+       depends on HTTPD
+       help
+         When enabled, httpd will use the kernel sendfile() function
+         instead of read/write loop.
+
 config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
        bool "Support reloading the global config file using hup signal"
        default n
@@ -140,7 +157,7 @@ config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
        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 addition line in your httpd
+         properly. You need to supply an additional line in your httpd
          config file:
          *.php:/path/to/your/php
 
@@ -162,6 +179,19 @@ config FEATURE_HTTPD_ENCODE_URL_STR
          For example, httpd -e "<Hello World>" as
          "&#60Hello&#32World&#62".
 
+config FEATURE_HTTPD_ERROR_PAGES
+       bool "Enable support for custom error pages"
+       default n
+       depends on HTTPD
+       help
+         This option allows you to define custom error pages in
+         the configuration file instead of the default HTTP status
+         error pages. For instance, if you add the line:
+               E404:/path/e404.html
+         in the config file, the server will respond the specified
+         '/path/e404.html' file instead of the terse '404 NOT FOUND'
+         message.
+
 config IFCONFIG
        bool "ifconfig"
        default n
@@ -223,8 +253,18 @@ config IFUPDOWN
          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
-         via busybox or via
-         standalone utilities.
+         via busybox or via standalone utilities.
+
+config IFUPDOWN_IFSTATE_PATH
+       string "Absolute path to ifstate file"
+       default "/var/run/ifstate"
+       depends on IFUPDOWN
+       help
+         ifupdown keeps state information in a file called ifstate.
+         Typically it is located in /var/run/ifstate, however
+         some distributions tend to put it in other places
+         (debian, for example, uses /etc/network/run/ifstate).
+         This config option defines location of ifstate.
 
 config FEATURE_IFUPDOWN_IP
        bool "Use ip applet"
@@ -267,7 +307,7 @@ config FEATURE_IFUPDOWN_IPV4
        default y
        depends on IFUPDOWN
        help
-         If you want busybox to talk IPv4, leave this on.
+         If you want ifup/ifdown to talk IPv4, leave this on.
 
 config FEATURE_IFUPDOWN_IPV6
        bool "Enable support for IPv6"
@@ -276,13 +316,14 @@ config FEATURE_IFUPDOWN_IPV6
        help
          If you need support for IPv6, turn this option on.
 
-config FEATURE_IFUPDOWN_IPX
-       bool "Enable support for IPX"
-       default n
-       depends on IFUPDOWN
-       help
-         If this option is selected you can use busybox to work with IPX
-         networks.
+### UNUSED
+### config FEATURE_IFUPDOWN_IPX
+###    bool "Enable support for IPX"
+###    default n
+###    depends on IFUPDOWN
+###    help
+###      If this option is selected you can use busybox to work with IPX
+###      networks.
 
 config FEATURE_IFUPDOWN_MAPPING
        bool "Enable mapping support"
@@ -292,6 +333,16 @@ config FEATURE_IFUPDOWN_MAPPING
          This enables support for the "mapping" stanza, unless you have
          a weird network setup you don't need it.
 
+config FEATURE_IFUPDOWN_EXTERNAL_DHCP
+       bool "Enable support for external dhcp clients"
+       default n
+       depends on IFUPDOWN
+       help
+         This enables support for the external dhcp clients. Clients are
+         tried in the following order: dhcpcd, dhclient, pump and udhcpc.
+         Otherwise, if udhcpc applet is enabled, it is used.
+         Otherwise, ifup/ifdown will have no support for DHCP.
+
 config INETD
        bool "inetd"
        default n
@@ -337,7 +388,8 @@ config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
 config FEATURE_INETD_RPC
        bool "Support RPC services"
        default n
-       depends on INETD && FEATURE_HAVE_RPC
+       depends on INETD
+       select FEATURE_HAVE_RPC
        help
          Support Sun-RPC based services
 
@@ -468,7 +520,7 @@ config NC
          connections.
 
 config NC_SERVER
-       bool "Netcat server options (-lp)"
+       bool "Netcat server options (-l)"
        default n
        depends on NC
        help
@@ -489,6 +541,14 @@ config NETSTAT
        help
          netstat prints information about the Linux networking subsystem.
 
+config FEATURE_NETSTAT_WIDE
+       bool "  Enable wide netstat output"
+       default n
+       depends on NETSTAT
+       help
+         Add support for wide columns. Useful when displaying IPv6 addresses
+         (-W option).
+
 config NSLOOKUP
        bool "nslookup"
        default n
@@ -509,6 +569,12 @@ config PING6
        help
          This will give you a ping that can talk IPv6.
 
+config PSCAN
+       bool "pscan"
+       default n
+       help
+         Simple network port scanner.
+
 config FEATURE_FANCY_PING
        bool "Enable fancy ping output"
        default y
@@ -523,6 +589,12 @@ config ROUTE
        help
          Route displays or manipulates the kernel's IP routing tables.
 
+config SLATTACH
+       bool "slattach"
+       default n
+       help
+         slattach is a small utility to attach network interfaces to serial lines.
+
 config TELNET
        bool "telnet"
        default n