- move iprule and ipaddress from matches() to index_in_str_array
[oweals/busybox.git] / networking / Config.in
index e6711078c2812d1808982cc63ef0b42cc68e560c..13ad13f9afbeed2651962d3baa00be207733f57b 100644 (file)
@@ -12,11 +12,25 @@ config FEATURE_IPV6
          Enable IPv6 support in busybox.
          This adds IPv6 support in the networking applets.
 
+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.
+
 config ARPING
        bool "arping"
        default n
        help
-         Ping hosts by ARP packets
+         Ping hosts by ARP packets.
 
 config DNSD
        bool "dnsd"
@@ -61,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"
@@ -72,15 +86,15 @@ config HTTPD
 config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
        bool "Support reloading the global config file using hup signal"
        default n
-       depends on HTTPD && FEATURE_HTTPD_WITHOUT_INETD
+       depends on HTTPD
        help
          This option enables processing of SIGHUP to reload cached
          configuration settings.
 
 config FEATURE_HTTPD_SETUID
-       bool "Enable support -u <user> option"
+       bool "Enable -u <user> option"
        default n
-       depends on HTTPD && FEATURE_HTTPD_WITHOUT_INETD
+       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.
@@ -126,7 +140,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
 
@@ -198,7 +212,6 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
 config IFUPDOWN
        bool "ifupdown"
        default n
-       select RUN_PARTS
        help
          Activate or deactivate the specified interfaces.  This applet makes
          use of either "ifconfig" and "route" or the "ip" command to actually
@@ -209,8 +222,8 @@ config IFUPDOWN
          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" and "route" or the "ip" command, either via busybox or via
-         standalone utilities.
+         "ifconfig", "route" and "run-parts" or the "ip" command, either
+         via busybox or via standalone utilities.
 
 config FEATURE_IFUPDOWN_IP
        bool "Use ip applet"
@@ -253,7 +266,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"
@@ -262,13 +275,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"
@@ -278,6 +292,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
@@ -324,7 +348,7 @@ config FEATURE_INETD_RPC
        bool "Support RPC services"
        default n
        depends on INETD
-       depends on FEATURE_HAVE_RPC
+       select FEATURE_HAVE_RPC
        help
          Support Sun-RPC based services
 
@@ -381,6 +405,7 @@ config FEATURE_IP_SHORT_FORMS
          ip link   -> iplink
          ip route  -> iproute
          ip tunnel -> iptunnel
+         ip rule   -> iprule
 
          Say N unless you desparately need the short form of the ip
          object commands.
@@ -454,7 +479,7 @@ config NC
          connections.
 
 config NC_SERVER
-       bool "Netcat server options (-lp)"
+       bool "Netcat server options (-l)"
        default n
        depends on NC
        help
@@ -475,6 +500,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
@@ -488,27 +521,25 @@ config PING
          ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
          elicit an ICMP ECHO_RESPONSE from a host or gateway.
 
-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 PING6
        bool "ping6"
        default n
-       depends on FEATURE_IPV6
+       depends on FEATURE_IPV6 && PING
        help
          This will give you a ping that can talk IPv6.
 
-config FEATURE_FANCY_PING6
-       bool "Enable fancy ping6 output"
+config PSCAN
+       bool "pscan"
+       default n
+       help
+         Simple network port scanner.
+
+config FEATURE_FANCY_PING
+       bool "Enable fancy ping output"
        default y
-       depends on PING6
+       depends on PING
        help
-         Make the output from the ping6 applet include statistics, and at the
+         Make the output from the ping applet include statistics, and at the
          same time provide full support for ICMP packets.
 
 config ROUTE
@@ -691,13 +722,6 @@ config FEATURE_WGET_AUTHENTICATION
        help
          Support authenticated HTTP transfers.
 
-config FEATURE_WGET_IP6_LITERAL
-       bool "Enable IPv6 literal addresses"
-       default y
-       depends on WGET && FEATURE_IPV6
-       help
-         Support IPv6 address literal notation in URLs.
-
 config FEATURE_WGET_LONG_OPTIONS
        bool "Enable long options"
        default n