- single KERNEL_VERSION(a,b,c) macro in platform.h
[oweals/busybox.git] / networking / Config.in
index 42176f0506bae5d38082aa8fb8a5e2a69a5a83a8..e76002c0d4ca632f5d02fb508715235c8853d8c6 100644 (file)
@@ -9,8 +9,8 @@ config CONFIG_FEATURE_IPV6
        bool "Enable IPv6 support"
        default n
        help
-         Enable IPv6 support to busybox. This makes applets that talk IP
-         able to work with IPv6.
+         Enable IPv6 support in busybox.
+         This adds IPv6 support in the networking applets.
 
 config CONFIG_ARPING
        bool "arping"
@@ -18,6 +18,25 @@ config CONFIG_ARPING
        help
          Ping hosts by ARP packets
 
+config CONFIG_DNSD
+       bool "dnsd"
+       default n
+       help
+         Small and static DNS server daemon. 
+
+config CONFIG_ETHER_WAKE
+       bool "ether-wake"
+       default n
+       help
+         Send a magic packet to wake up sleeping machines.
+
+config CONFIG_FAKEIDENTD
+       bool "fakeidentd"
+       default n
+       help
+         fakeidentd listens on the ident port and returns a predefined
+         fake value on any query.
+
 config CONFIG_FTPGET
        bool "ftpget"
        default n
@@ -42,53 +61,50 @@ config CONFIG_HTTPD
        help
          Serve web pages via an HTTP server.
 
-config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
-       bool "  Support using httpd only from inetd"
+config CONFIG_FEATURE_HTTPD_WITHOUT_INETD
+       bool "Support using httpd as a daemon (not from inetd)"
        default n
        depends on CONFIG_HTTPD
        help
-         This option disables uid and port options for the httpd applet
-         but requires inetd server daemon.
-
-config CONFIG_FEATURE_HTTPD_BASIC_AUTH
-       bool "  Enable Basic http Authentication"
-       default y
-       depends on CONFIG_HTTPD
-       help
-         Utilizes password settings from /etc/httpd.conf for basic
-         authentication on a per url basis.
+         This option enables uid and port options for the httpd applet,
+         and eliminates the need to be called from the inetd server daemon.
 
-config CONFIG_FEATURE_HTTPD_AUTH_MD5
-       bool "  Support MD5 crypted passwords for http Authentication"
-       default n
-       depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
-       help
-         Enables basic per url authentication from /etc/httpd.conf
-         using md5 passwords.
-
-
-if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
 config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
-       bool "  Support reloading the global config file using hup signal"
+       bool "Support reloading the global config file using hup signal"
        default n
-       depends on CONFIG_HTTPD
+       depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD
        help
          This option enables processing of SIGHUP to reload cached
          configuration settings.
 
 config CONFIG_FEATURE_HTTPD_SETUID
-       bool "  Enable support -u <user> option"
+       bool "Enable support -u <user> option"
        default n
-       depends on CONFIG_HTTPD
+       depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD
        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.
-endif
+
+config CONFIG_FEATURE_HTTPD_BASIC_AUTH
+       bool "Enable Basic http Authentication"
+       default y
+       depends on CONFIG_HTTPD
+       help
+         Utilizes password settings from /etc/httpd.conf for basic
+         authentication on a per url basis.
+
+config CONFIG_FEATURE_HTTPD_AUTH_MD5
+       bool "Support MD5 crypted passwords for http Authentication"
+       default n
+       depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
+       help
+         Enables basic per URL authentication from /etc/httpd.conf
+         using md5 passwords.
 
 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
-       bool "  Support loading additional MIME types at run-time"
+       bool "Support loading additional MIME types at run-time"
        default n
        depends on CONFIG_HTTPD
        help
@@ -96,15 +112,26 @@ config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
          run-time to be specified in the configuration file.
 
 config CONFIG_FEATURE_HTTPD_CGI
-       bool "  Support Common Gateway Interface (CGI)"
+       bool "Support Common Gateway Interface (CGI)"
        default y
        depends on CONFIG_HTTPD
        help
          This option allows scripts and executables to be invoked
-         when specific urls are requested.
+         when specific URLs are requested.
+
+config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
+       bool "Enable support for running scripts through an interpreter"
+       default n
+       depends on CONFIG_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 addition line in your httpd 
+         config file:
+         *.php:/path/to/your/php
 
 config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
-       bool "  Support the REMOTE_PORT environment variable for CGI"
+       bool "Support the REMOTE_PORT environment variable for CGI"
        default n
        depends on CONFIG_FEATURE_HTTPD_CGI
        help
@@ -112,11 +139,11 @@ config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
          references that contain a unique port number.
 
 config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
-       bool "  Enable the -e option for shell script CGI simplification."
+       bool "Enable the -e option for shell script CGI simplification."
        default y
        depends on CONFIG_HTTPD
        help
-         After set, this option allows html encoding arbitrary
+         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".
@@ -128,7 +155,7 @@ config CONFIG_IFCONFIG
          Ifconfig is used to configure the kernel-resident network interfaces.
 
 config CONFIG_FEATURE_IFCONFIG_STATUS
-       bool "  Enable status reporting output (+7k)"
+       bool "Enable status reporting output (+7k)"
        default y
        depends on CONFIG_IFCONFIG
        help
@@ -136,7 +163,7 @@ config CONFIG_FEATURE_IFCONFIG_STATUS
          of the currently active interfaces.
 
 config CONFIG_FEATURE_IFCONFIG_SLIP
-       bool "  Enable slip-specific options \"keepalive\" and \"outfill\""
+       bool "Enable slip-specific options \"keepalive\" and \"outfill\""
        default n
        depends on CONFIG_IFCONFIG
        help
@@ -144,7 +171,7 @@ config CONFIG_FEATURE_IFCONFIG_SLIP
          planning on using serial lines, leave this unchecked.
 
 config CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
-       bool "  Enable options \"mem_start\", \"io_addr\", and \"irq\""
+       bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
        default n
        depends on CONFIG_IFCONFIG
        help
@@ -152,7 +179,7 @@ config CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
          and/or the interrupt line used by the specified device.
 
 config CONFIG_FEATURE_IFCONFIG_HW
-       bool "  Enable option \"hw\" (ether only)"
+       bool "Enable option \"hw\" (ether only)"
        default y
        depends on CONFIG_IFCONFIG
        help
@@ -161,7 +188,7 @@ config CONFIG_FEATURE_IFCONFIG_HW
          class.
 
 config CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
-       bool "  Set the broadcast automatically"
+       bool "Set the broadcast automatically"
        default n
        depends on CONFIG_IFCONFIG
        help
@@ -171,6 +198,7 @@ config CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
 config CONFIG_IFUPDOWN
        bool "ifupdown"
        default n
+       select CONFIG_RUN_PARTS
        help
          Activate or deactivate the specified interfaces.  This applet makes
          use of either "ifconfig" and "route" or the "ip" command to actually
@@ -185,7 +213,7 @@ config CONFIG_IFUPDOWN
          standalone utilities.
 
 config CONFIG_FEATURE_IFUPDOWN_IP
-       bool "  Use ip applet"
+       bool "Use ip applet"
        default n
        depends on CONFIG_IFUPDOWN
        help
@@ -193,7 +221,7 @@ config CONFIG_FEATURE_IFUPDOWN_IP
          than the default of using the older 'ifconfig' and 'route' utilities.
 
 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
-       bool "  Use busybox ip applet"
+       bool "Use busybox ip applet"
        default y
        depends on CONFIG_FEATURE_IFUPDOWN_IP
        select CONFIG_IP
@@ -207,7 +235,7 @@ config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
          utility or the  "ifup" and "ifdown" applets will not work.
 
 config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
-       bool "  Use busybox ifconfig and route applets"
+       bool "Use busybox ifconfig and route applets"
        default y
        depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
        select CONFIG_IFCONFIG
@@ -221,21 +249,21 @@ config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
          work.
 
 config CONFIG_FEATURE_IFUPDOWN_IPV4
-       bool "  Enable support for IPv4"
+       bool "Enable support for IPv4"
        default y
        depends on CONFIG_IFUPDOWN
        help
          If you want busybox to talk IPv4, leave this on.
 
 config CONFIG_FEATURE_IFUPDOWN_IPV6
-       bool "  Enable support for IPv6"
+       bool "Enable support for IPv6"
        default n
-       depends on CONFIG_IFUPDOWN
+       depends on CONFIG_IFUPDOWN && CONFIG_FEATURE_IPV6
        help
          If you need support for IPv6, turn this option on.
 
 config CONFIG_FEATURE_IFUPDOWN_IPX
-       bool "  Enable support for IPX"
+       bool "Enable support for IPX"
        default n
        depends on CONFIG_IFUPDOWN
        help
@@ -243,7 +271,7 @@ config CONFIG_FEATURE_IFUPDOWN_IPX
          networks.
 
 config CONFIG_FEATURE_IFUPDOWN_MAPPING
-       bool "  Enable mapping support"
+       bool "Enable mapping support"
        default n
        depends on CONFIG_IFUPDOWN
        help
@@ -256,41 +284,48 @@ config CONFIG_INETD
        help
          Internet superserver daemon
 
-config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO
-       bool "  Support echo service"
+config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO
+       bool "Support echo service"
        default y
        depends on CONFIG_INETD
        help
          Echo received data internal inetd service
 
-config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD
-       bool "  Support discard service"
+config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
+       bool "Support discard service"
        default y
        depends on CONFIG_INETD
        help
          Internet /dev/null internal inetd service
 
-config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME
-       bool "  Support time service"
+config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME
+       bool "Support time service"
        default y
        depends on CONFIG_INETD
        help
          Return 32 bit time since 1900 internal inetd service
 
-config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME
-       bool "  Support daytime service"
+config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
+       bool "Support daytime service"
        default y
        depends on CONFIG_INETD
        help
          Return human-readable time internal inetd service
 
-config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN
-       bool "  Support chargen service"
+config CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
+       bool "Support chargen service"
        default y
        depends on CONFIG_INETD
        help
          Familiar character generator internal inetd service
 
+config CONFIG_FEATURE_INETD_RPC
+       bool "Support RPC services"
+       default n
+       depends on CONFIG_INETD
+       help
+         Suuport Sun-RPC based services
+
 
 config CONFIG_IP
        bool "ip"
@@ -300,99 +335,81 @@ config CONFIG_IP
          utility.  You generally don't need "ip" to use busybox with
          TCP/IP.
 
-if CONFIG_IP && CONFIG_IPADDR
-       config CONFIG_FEATURE_IP_ADDRESS
-               default y
-       comment "  address (forced enabled for ipaddr)"
-endif
-if ! (CONFIG_IP && CONFIG_IPADDR)
-       config CONFIG_FEATURE_IP_ADDRESS
-               bool "  address"
-               default y
-               depends on CONFIG_IP
-               help
-                 Address manipulation support for the "ip" applet.
-endif
-
-if CONFIG_IP && CONFIG_IPLINK
-       config CONFIG_FEATURE_IP_LINK
-               default y
-       comment "  link (forced enabled for iplink)"
-endif
-if !(CONFIG_IP && CONFIG_IPLINK)
-       config CONFIG_FEATURE_IP_LINK
-               bool "  link"
-               default y
-               depends on CONFIG_IP
-               help
-                 Configure network devices with "ip".
-endif
-
-if CONFIG_IP && CONFIG_IPROUTE
-       config CONFIG_FEATURE_IP_ROUTE
-               default y
-       comment "  route (forced enabled for iproute)"
-endif
-if !(CONFIG_IP && CONFIG_IPROUTE)
-       config CONFIG_FEATURE_IP_ROUTE
-               bool "  route"
-               default y
-               depends on CONFIG_IP
-               help
-                 Add support for routing table management to "ip".
-endif
-
-if CONFIG_IP && CONFIG_IPTUNNEL
-       config CONFIG_FEATURE_IP_TUNNEL
-               default y
-       comment "  tunnel (forced enabled for iptunnel)"
-endif
-if !(CONFIG_IP && CONFIG_IPTUNNEL)
-       config CONFIG_FEATURE_IP_TUNNEL
-               bool "  tunnel"
-               default n
-               depends on CONFIG_IP
-               help
-                 Add support for tunneling commands to "ip".
-endif
+config CONFIG_FEATURE_IP_ADDRESS
+       bool "ip address"
+       default y
+       depends on CONFIG_IP
+       help
+         Address manipulation support for the "ip" applet.
 
-config CONFIG_IPCALC
-       bool "ipcalc"
-       default n
+config CONFIG_FEATURE_IP_LINK
+       bool "ip link"
+       default y
+       depends on CONFIG_IP
        help
-         ipcalc takes an IP address and netmask and calculates the
-         resulting broadcast, network, and host range.
+         Configure network devices with "ip".
 
-config CONFIG_FEATURE_IPCALC_FANCY
-       bool "  Fancy IPCALC, more options, adds 1 kbyte"
+config CONFIG_FEATURE_IP_ROUTE
+       bool "ip route"
        default y
-       depends on CONFIG_IPCALC
+       depends on CONFIG_IP
        help
-         Adds the options hostname, prefix and silent to the output of "ipcalc".
+         Add support for routing table management to "ip".
 
-config CONFIG_IPADDR
-       bool "ipaddr"
+config CONFIG_FEATURE_IP_TUNNEL
+       bool "ip tunnel"
        default n
+       depends on CONFIG_IP
        help
-         Equivalent to selecting address support to "ip", above.
+         Add support for tunneling commands to "ip".
 
-config CONFIG_IPLINK
-       bool "iplink"
+config CONFIG_FEATURE_IP_SHORT_FORMS
+       bool "Support short forms of ip commands."
        default n
+       depends on CONFIG_IP
        help
-         Equivalent to selecting link support to "ip", above.
+         Also support short-form of ip <OBJECT> commands:
+         ip addr   -> ipaddr
+         ip link   -> iplink
+         ip route  -> iproute
+         ip tunnel -> iptunnel
+
+         Say N unless you desparately need the short form of the ip
+         object commands.
+
+config CONFIG_IPADDR
+       bool
+       default y
+       depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS
+
+config CONFIG_IPLINK
+       bool
+       default y
+       depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK
 
 config CONFIG_IPROUTE
-       bool "iproute"
-       default n
-       help
-         Equivalent to selecting route support to "ip", above.
+       bool
+       default y
+       depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE
 
 config CONFIG_IPTUNNEL
-       bool "iptunnel"
+       bool
+       default y
+       depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL
+
+config CONFIG_IPCALC
+       bool "ipcalc"
        default n
        help
-         Equivalent to selecting tunnel support to "ip", above.
+         ipcalc takes an IP address and netmask and calculates the
+         resulting broadcast, network, and host range.
+
+config CONFIG_FEATURE_IPCALC_FANCY
+       bool "Fancy IPCALC, more options, adds 1 kbyte"
+       default y
+       depends on CONFIG_IPCALC
+       help
+         Adds the options hostname, prefix and silent to the output of "ipcalc".
 
 config CONFIG_NAMEIF
        bool "nameif"
@@ -406,7 +423,7 @@ config CONFIG_NAMEIF
          File fields are separated by space or tab.
          File format:
          # Comment
-         new_interface_name    XX:XX:XX:XX:XX:XX
+         new_interface_name    XX:XX:XX:XX:XX:XX
 
 config CONFIG_NC
        bool "nc"
@@ -415,6 +432,14 @@ config CONFIG_NC
          A simple Unix utility which reads and writes data across network
          connections.
 
+config CONFIG_NC_GAPING_SECURITY_HOLE
+       bool "gaping security hole"
+       default n
+       depends on CONFIG_NC
+       help
+         Add support for executing a program after making or receiving a
+         successful connection (-e option).
+
 config CONFIG_NETSTAT
        bool "netstat"
        default n
@@ -435,7 +460,7 @@ config CONFIG_PING
          elicit an ICMP ECHO_RESPONSE from a host or gateway.
 
 config CONFIG_FEATURE_FANCY_PING
-       bool "  Enable fancy ping output"
+       bool "Enable fancy ping output"
        default y
        depends on CONFIG_PING
        help
@@ -450,7 +475,7 @@ config CONFIG_PING6
          This will give you a ping that can talk IPv6.
 
 config CONFIG_FEATURE_FANCY_PING6
-       bool "  Enable fancy ping6 output"
+       bool "Enable fancy ping6 output"
        default y
        depends on CONFIG_PING6
        help
@@ -471,7 +496,7 @@ config CONFIG_TELNET
          used to test other simple protocols.
 
 config CONFIG_FEATURE_TELNET_TTYPE
-       bool "  Pass TERM type to remote host"
+       bool "Pass TERM type to remote host"
        default y
        depends on CONFIG_TELNET
        help
@@ -480,7 +505,7 @@ config CONFIG_FEATURE_TELNET_TTYPE
          things like ANSI colors and other control sequences behave.
 
 config CONFIG_FEATURE_TELNET_AUTOLOGIN
-       bool "  Pass USER type to remote host"
+       bool "Pass USER type to remote host"
        default y
        depends on CONFIG_TELNET
        help
@@ -492,7 +517,6 @@ config CONFIG_FEATURE_TELNET_AUTOLOGIN
 config CONFIG_TELNETD
        bool "telnetd"
        default n
-       select CONFIG_LOGIN
        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
@@ -533,7 +557,7 @@ config CONFIG_TELNETD
 
 
 config CONFIG_FEATURE_TELNETD_INETD
-       bool "  Support call from inetd only"
+       bool "Support call from inetd only"
        default n
        depends on CONFIG_TELNETD
        help
@@ -549,7 +573,7 @@ config CONFIG_TFTP
          for a network-enabled bootloader.
 
 config CONFIG_FEATURE_TFTP_GET
-       bool "  Enable \"get\" command"
+       bool "Enable \"get\" command"
        default y
        depends on CONFIG_TFTP
        help
@@ -557,7 +581,7 @@ config CONFIG_FEATURE_TFTP_GET
          a client to retrieve a file from a TFTP server.
 
 config CONFIG_FEATURE_TFTP_PUT
-       bool "  Enable \"put\" command"
+       bool "Enable \"put\" command"
        default y
        depends on CONFIG_TFTP
        help
@@ -565,14 +589,14 @@ config CONFIG_FEATURE_TFTP_PUT
          a client to transfer a file to a TFTP server.
 
 config CONFIG_FEATURE_TFTP_BLOCKSIZE
-       bool "  Enable \"blocksize\" command"
+       bool "Enable \"blocksize\" command"
        default n
        depends on CONFIG_TFTP
        help
          Allow the client to specify the desired block size for transfers.
 
 config CONFIG_FEATURE_TFTP_DEBUG
-       bool "  Enable debug"
+       bool "Enable debug"
        default n
        depends on CONFIG_TFTP
        help
@@ -587,13 +611,30 @@ config CONFIG_TRACEROUTE
          Utility to trace the route of IP packets
 
 config CONFIG_FEATURE_TRACEROUTE_VERBOSE
-       bool "  Enable verbose output"
+       bool "Enable verbose output"
        default n
        depends on CONFIG_TRACEROUTE
        help
          Add some verbosity to traceroute.  This includes amongst other things
          hostnames and ICMP response types.
 
+config CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
+       bool "Enable loose source route"
+       default n
+       depends on CONFIG_TRACEROUTE
+       help
+         Add option to specify a loose source route gateway
+         (8 maximum).
+
+config CONFIG_FEATURE_TRACEROUTE_USE_ICMP
+       bool "Use ICMP instead of UDP"
+       default n
+       depends on CONFIG_TRACEROUTE
+       help
+         Add feature to allow for ICMP ECHO instead of UDP datagrams.
+
+source networking/udhcp/Config.in
+
 config CONFIG_VCONFIG
        bool "vconfig"
        default n
@@ -608,27 +649,35 @@ config CONFIG_WGET
          HTTPS, and FTP servers.
 
 config CONFIG_FEATURE_WGET_STATUSBAR
-       bool "  Enable a nifty process meter (+2k)"
+       bool "Enable a nifty process meter (+2k)"
        default y
        depends on CONFIG_WGET
        help
          Enable the transfer progress bar for wget transfers.
 
 config CONFIG_FEATURE_WGET_AUTHENTICATION
-       bool "  Enable HTTP authentication"
+       bool "Enable HTTP authentication"
        default y
        depends on CONFIG_WGET
        help
          Support authenticated HTTP transfers.
 
 config CONFIG_FEATURE_WGET_IP6_LITERAL
-       bool "  Enable IPv6 literal addresses"
+       bool "Enable IPv6 literal addresses"
        default y
-       depends on CONFIG_WGET
+       depends on CONFIG_WGET && CONFIG_FEATURE_IPV6
        help
          Support IPv6 address literal notation in URLs.
 
-source networking/udhcp/Config.in
+config CONFIG_ZCIP
+       bool "zcip"
+       default n
+       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.
 
-endmenu
+         See http://www.zeroconf.org for further details, and "zcip.script"
+         in the busybox examples.
 
+endmenu