Patch from Jason Schoon to add IPV6 support to telnetd. Reworked by Rob
[oweals/busybox.git] / networking / Config.in
index 0bd17fb6342942f47751c0f8360e9f620980d259..a84427981ceb3602f87cabb5abe31c96cce8cc14 100644 (file)
@@ -18,6 +18,13 @@ config CONFIG_ARPING
        help
          Ping hosts by ARP packets
 
        help
          Ping hosts by ARP packets
 
+config CONFIG_FAKEIDENTD
+       bool "fakeidentd"
+       default n
+       help
+         fakeidentd listens to the ident port and returns a set fake 
+         value whatever it gets.
+
 config CONFIG_FTPGET
        bool "ftpget"
        default n
 config CONFIG_FTPGET
        bool "ftpget"
        default n
@@ -43,7 +50,7 @@ config CONFIG_HTTPD
          Serve web pages via an HTTP server.
 
 config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
          Serve web pages via an HTTP server.
 
 config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
-       bool "  Support call from inetd only"
+       bool "  Support using httpd only from inetd"
        default n
        depends on CONFIG_HTTPD
        help
        default n
        depends on CONFIG_HTTPD
        help
@@ -51,7 +58,7 @@ config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
          but requires inetd server daemon.
 
 config CONFIG_FEATURE_HTTPD_BASIC_AUTH
          but requires inetd server daemon.
 
 config CONFIG_FEATURE_HTTPD_BASIC_AUTH
-       bool "  Enable Basic Authentication"
+       bool "  Enable Basic http Authentication"
        default y
        depends on CONFIG_HTTPD
        help
        default y
        depends on CONFIG_HTTPD
        help
@@ -59,16 +66,17 @@ config CONFIG_FEATURE_HTTPD_BASIC_AUTH
          authentication on a per url basis.
 
 config CONFIG_FEATURE_HTTPD_AUTH_MD5
          authentication on a per url basis.
 
 config CONFIG_FEATURE_HTTPD_AUTH_MD5
-       bool "  Enable support MD5 crypted password for httpd.conf"
+       bool "  Support MD5 crypted passwords for http Authentication"
        default n
        depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
        help
        default n
        depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
        help
-         Please help my - send patch for set this help message
+         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
 
 
 if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
 config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
-       bool "  Enable support reload global config file after hup signaled"
+       bool "  Support reloading the global config file using hup signal"
        default n
        depends on CONFIG_HTTPD
        help
        default n
        depends on CONFIG_HTTPD
        help
@@ -82,20 +90,20 @@ config CONFIG_FEATURE_HTTPD_SETUID
        help
          This option allows the server to run as a specific user
          rather than defaulting to the user that starts the server.
        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 privilegies to change to a
+         Use of this option requires special privileges to change to a
          different user.
 endif
 
 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
          different user.
 endif
 
 config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
-       bool "  Enable support load from config file mime types"
+       bool "  Support loading additional MIME types at run-time"
        default n
        depends on CONFIG_HTTPD
        help
        default n
        depends on CONFIG_HTTPD
        help
-         This option enables support for additional mime types at
+         This option enables support for additional MIME types at
          run-time to be specified in the configuration file.
 
 config CONFIG_FEATURE_HTTPD_CGI
          run-time to be specified in the configuration file.
 
 config CONFIG_FEATURE_HTTPD_CGI
-       bool "  Enable support Common Gateway Interface"
+       bool "  Support Common Gateway Interface (CGI)"
        default y
        depends on CONFIG_HTTPD
        help
        default y
        depends on CONFIG_HTTPD
        help
@@ -103,25 +111,13 @@ config CONFIG_FEATURE_HTTPD_CGI
          when specific urls are requested.
 
 config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
          when specific urls are requested.
 
 config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
-       bool "  Enable support set eviroment REMOTE_PORT variable for CGI"
+       bool "  Support the REMOTE_PORT environment variable for CGI"
        default n
        depends on CONFIG_FEATURE_HTTPD_CGI
        help
          Use of this option can assist scripts in generating
          references that contain a unique port number.
 
        default n
        depends on CONFIG_FEATURE_HTTPD_CGI
        help
          Use of this option can assist scripts in generating
          references that contain a unique port number.
 
-config CONFIG_FEATURE_HTTPD_SET_CGI_VARS_TO_ENV
-       bool "  Enable setting of CGI_varname=value environment vars for CGI"
-       default n
-       depends on CONFIG_FEATURE_HTTPD_CGI
-       help
-         This option parses POST or GET arguments from a form and
-         sets environment variables with their value.  This simplifies
-         and speeds up CGI scripts.  A form argument of foo=bar would
-         result in a script having the environment variable CGI_foo set
-         to 'bar'.  In addition, this option sets a variable that
-         lists all the argument names.  e.g. CGI_VARNAMES_="name1 name2".
-
 config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
        bool "  Enable the -e option for shell script CGI simplification."
        default y
 config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
        bool "  Enable the -e option for shell script CGI simplification."
        default y
@@ -195,19 +191,41 @@ config CONFIG_IFUPDOWN
          "ifconfig" and "route" or the "ip" command, either via busybox or via
          standalone utilities.
 
          "ifconfig" and "route" or the "ip" command, either via busybox or via
          standalone utilities.
 
-# I really should force these to be enabled
-#    && CONFIG_IP && CONFIG_FEATURE_IP_ADDRESS && CONFIG_FEATURE_IP_LINK && CONFIG_FEATURE_IP_ROUTE
-# but then people could not use the full-blown iproute2 program...
 config CONFIG_FEATURE_IFUPDOWN_IP
        bool "  Use ip applet"
        default n
 config CONFIG_FEATURE_IFUPDOWN_IP
        bool "  Use ip applet"
        default n
-       depends on CONFIG_IFUPDOWN 
+       depends on CONFIG_IFUPDOWN
+       help
+         Use the iproute "ip" command to implement "ifup" and "ifdown", rather
+         than the default of using the older 'ifconfig' and 'route' utilities.
+
+config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
+       bool "  Use busybox ip applet"
+       default y
+       depends on CONFIG_FEATURE_IFUPDOWN_IP
+       select CONFIG_IP
+       select CONFIG_FEATURE_IP_ADDRESS
+       select CONFIG_FEATURE_IP_LINK
+       select CONFIG_FEATURE_IP_ROUTE
+       help
+         Use the busybox iproute "ip" applet to implement "ifupdown".
+
+         If leave this disabled, you must install the full-blown iproute2
+         utility or the  "ifup" and "ifdown" applets will not work.
+
+config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
+       bool "  Use busybox ifconfig and route applets"
+       default y
+       depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
+       select CONFIG_IFCONFIG
+       select CONFIG_ROUTE
        help
        help
-         Use the iproute "ip" command to implement "ifupdown".  You will
-         probably want to also enable CONFIG_IP, CONFIG_FEATURE_IP_ADDRESS,
-         CONFIG_FEATURE_IP_LINK, and CONFIG_FEATURE_IP_ROUTE.  Of course
-         if you wanted to use the full-blown iproute2 program you could
-         leave the the busybox CONFIG_IP* options disabled.
+         Use the busybox iproute "ifconfig" and "route" applets to
+         implement the "ifup" and "ifdown" utilities.
+
+         If leave this disabled, you must install the full-blown ifconfig
+         and route utilities, or the  "ifup" and "ifdown" applets will not
+         work.
 
 config CONFIG_FEATURE_IFUPDOWN_IPV4
        bool "  Enable support for IPv4"
 
 config CONFIG_FEATURE_IFUPDOWN_IPV4
        bool "  Enable support for IPv4"
@@ -237,7 +255,7 @@ config CONFIG_FEATURE_IFUPDOWN_MAPPING
        depends on CONFIG_IFUPDOWN
        help
          This enables support for the "mapping" stanza, unless you have
        depends on CONFIG_IFUPDOWN
        help
          This enables support for the "mapping" stanza, unless you have
-         a weird network setup you dont need it.
+         a weird network setup you don't need it.
 
 config CONFIG_INETD
        bool "inetd"
 
 config CONFIG_INETD
        bool "inetd"
@@ -328,7 +346,7 @@ if !(CONFIG_IP && CONFIG_IPROUTE)
                default y
                depends on CONFIG_IP
                help
                default y
                depends on CONFIG_IP
                help
-                 Add support for routing table management to "ip".  
+                 Add support for routing table management to "ip".
 endif
 
 if CONFIG_IP && CONFIG_IPTUNNEL
 endif
 
 if CONFIG_IP && CONFIG_IPTUNNEL
@@ -353,11 +371,11 @@ config CONFIG_IPCALC
          resulting broadcast, network, and host range.
 
 config CONFIG_FEATURE_IPCALC_FANCY
          resulting broadcast, network, and host range.
 
 config CONFIG_FEATURE_IPCALC_FANCY
-       bool "  Fancy IPCALC, more options, adds 300 bytes"
+       bool "  Fancy IPCALC, more options, adds 1 kbyte"
        default y
        depends on CONFIG_IPCALC
        help
        default y
        depends on CONFIG_IPCALC
        help
-         Adds the fields hostname and silent to the output of "ipcalc".
+         Adds the options hostname, prefix and silent to the output of "ipcalc".
 
 config CONFIG_IPADDR
        bool "ipaddr"
 
 config CONFIG_IPADDR
        bool "ipaddr"
@@ -387,12 +405,12 @@ config CONFIG_NAMEIF
        bool "nameif"
        default n
        help
        bool "nameif"
        default n
        help
-         nameif used to rename network interface by its MAC address.
+         nameif is used to rename network interface by its MAC address.
          Renamed interfaces MUST be in the down state.
          Renamed interfaces MUST be in the down state.
-         It is possible to use file (default: /etc/mactab)
+         It is possible to use file (default: /etc/mactab)
          with list of new interface names and MACs.
          Maximum interface name length: IF_NAMESIZE = 16
          with list of new interface names and MACs.
          Maximum interface name length: IF_NAMESIZE = 16
-         File fields are sepatated by space or tab.
+         File fields are separated by space or tab.
          File format:
          # Comment
          new_interface_name    XX:XX:XX:XX:XX:XX
          File format:
          # Comment
          new_interface_name    XX:XX:XX:XX:XX:XX
@@ -404,23 +422,31 @@ config CONFIG_NC
          A simple Unix utility which reads and writes data across network
          connections.
 
          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
        help
 config CONFIG_NETSTAT
        bool "netstat"
        default n
        help
-         Netstat prints information about the Linux networking  subsystem.
+         netstat prints information about the Linux networking subsystem.
 
 config CONFIG_NSLOOKUP
        bool "nslookup"
        default n
        help
 
 config CONFIG_NSLOOKUP
        bool "nslookup"
        default n
        help
-         Nslookup is a tool to query Internet name servers.
+         nslookup is a tool to query Internet name servers.
 
 config CONFIG_PING
        bool "ping"
        default n
        help
 
 config CONFIG_PING
        bool "ping"
        default n
        help
-         Ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
+         ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
          elicit an ICMP ECHO_RESPONSE from a host or gateway.
 
 config CONFIG_FEATURE_FANCY_PING
          elicit an ICMP ECHO_RESPONSE from a host or gateway.
 
 config CONFIG_FEATURE_FANCY_PING
@@ -468,28 +494,72 @@ config CONFIG_FEATURE_TELNET_TTYPE
          remote host you are connecting to.  This is useful to make sure that
          things like ANSI colors and other control sequences behave.
 
          remote host you are connecting to.  This is useful to make sure that
          things like ANSI colors and other control sequences behave.
 
+config CONFIG_FEATURE_TELNET_AUTOLOGIN
+       bool "  Pass USER type to remote host"
+       default y
+       depends on CONFIG_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.
+
 config CONFIG_TELNETD
        bool "telnetd"
        default n
 config CONFIG_TELNETD
        bool "telnetd"
        default n
+       select CONFIG_LOGIN
        help
        help
-         A daemon for the TELNET protocol, allowing you to log on to the host
+         A daemon for the TELNET protocol, allowing you to log onto the host
          running the daemon.  Please keep in mind that the TELNET protocol
          running the daemon.  Please keep in mind that the TELNET protocol
-         sends passwords in plain text.  If you can't afford the space for
-         any SSH daemon and you trust your network, say 'y' here.
+         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:
+                 CONFIG_UNIX98_PTYS=y
+                 CONFIG_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
+
+         You need to be sure that Busybox has CONFIG_LOGIN and
+         CONFIG_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 CONFIG_FEATURE_TELNETD_INETD
        bool "  Support call from inetd only"
        default n
        depends on CONFIG_TELNETD
        help
 
 config CONFIG_FEATURE_TELNETD_INETD
        bool "  Support call from inetd only"
        default n
        depends on CONFIG_TELNETD
        help
-         Selecting this will make telnetd only callable from inetd, removing the
-         standalone support.
+         Selecting this will make telnetd only callable from inetd,
+         removing the standalone support.
 
 config CONFIG_TFTP
        bool "tftp"
        default n
        help
 
 config CONFIG_TFTP
        bool "tftp"
        default n
        help
-         This enables the Tirvial File Transfer Protocol client program.  TFTP
+         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.
 
          is usually used for simple, small transfers such as a root image
          for a network-enabled bootloader.
 
@@ -499,7 +569,7 @@ config CONFIG_FEATURE_TFTP_GET
        depends on CONFIG_TFTP
        help
          Add support for the GET command within the TFTP client.  This allows
        depends on CONFIG_TFTP
        help
          Add support for the GET command within the TFTP client.  This allows
-         a client to retreive a file from a TFTP server.
+         a client to retrieve a file from a TFTP server.
 
 config CONFIG_FEATURE_TFTP_PUT
        bool "  Enable \"put\" command"
 
 config CONFIG_FEATURE_TFTP_PUT
        bool "  Enable \"put\" command"
@@ -549,7 +619,7 @@ config CONFIG_WGET
        bool "wget"
        default n
        help
        bool "wget"
        default n
        help
-         Wget is a utility for non-interactive download of files from HTTP,
+         wget is a utility for non-interactive download of files from HTTP,
          HTTPS, and FTP servers.
 
 config CONFIG_FEATURE_WGET_STATUSBAR
          HTTPS, and FTP servers.
 
 config CONFIG_FEATURE_WGET_STATUSBAR
@@ -566,7 +636,25 @@ config CONFIG_FEATURE_WGET_AUTHENTICATION
        help
          Support authenticated HTTP transfers.
 
        help
          Support authenticated HTTP transfers.
 
+config CONFIG_FEATURE_WGET_IP6_LITERAL
+       bool "  Enable IPv6 literal addresses"
+       default y
+       depends on CONFIG_WGET
+       help
+         Support IPv6 address literal notation in URLs.
+
 source networking/udhcp/Config.in
 
 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.
+
+         See http://www.zeroconf.org for further details, and "zcip.script"
+         in the busybox examples.
+
 endmenu
 
 endmenu