diff options
Diffstat (limited to 'config/busybox/networking')
-rw-r--r-- | config/busybox/networking/Config.in | 465 | ||||
-rw-r--r-- | config/busybox/networking/udhcp/Config.in | 95 |
2 files changed, 279 insertions, 281 deletions
diff --git a/config/busybox/networking/Config.in b/config/busybox/networking/Config.in index dba833bff..f17dc8b35 100644 --- a/config/busybox/networking/Config.in +++ b/config/busybox/networking/Config.in @@ -4,19 +4,18 @@ # menu "Networking Utilities" - depends on BUSYBOX -config BB_CONFIG_FEATURE_IPV6 +config BUSYBOX_FEATURE_IPV6 bool "Enable IPv6 support" default n help Enable IPv6 support in busybox. This adds IPv6 support in the networking applets. -config BB_CONFIG_FEATURE_PREFER_IPV4_ADDRESS +config BUSYBOX_FEATURE_PREFER_IPV4_ADDRESS bool "Preferentially use IPv4 addresses from DNS queries" default y - depends on BB_CONFIG_FEATURE_IPV6 + depends on BUSYBOX_FEATURE_IPV6 help Use IPv4 address of network host if it has one. @@ -28,7 +27,7 @@ config BB_CONFIG_FEATURE_PREFER_IPV4_ADDRESS or network applets will fail to connect to the host using IPv6 address. -config BB_CONFIG_VERBOSE_RESOLUTION_ERRORS +config BUSYBOX_VERBOSE_RESOLUTION_ERRORS bool "Verbose resolution errors" default n help @@ -36,37 +35,29 @@ config BB_CONFIG_VERBOSE_RESOLUTION_ERRORS "can't resolve 'hostname.com'" and want to know more. This may increase size of your executable a bit. -config BB_CONFIG_ARP +config BUSYBOX_ARP bool "arp" default n help Manipulate the system ARP cache. -config BB_CONFIG_ARPING +config BUSYBOX_ARPING bool "arping" default n help Ping hosts by ARP packets. -config BB_CONFIG_BRCTL +config BUSYBOX_BRCTL bool "brctl" default n help Manage ethernet bridges. Supports addbr/delbr and addif/delif. -#config FEATURE_BRCTL_SHOW -# bool "Support show, showmac and showstp" -# default n -# depends on BRCTL -# help -# Add support for option which print the current config: -# showmacs, showstp, show - -config BB_CONFIG_FEATURE_BRCTL_FANCY +config BUSYBOX_FEATURE_BRCTL_FANCY bool "Fancy options" default n - depends on BB_CONFIG_BRCTL + depends on BUSYBOX_BRCTL help Add support for extended option like: setageing, setfd, sethello, setmaxage, @@ -74,128 +65,136 @@ config BB_CONFIG_FEATURE_BRCTL_FANCY stp This adds about 600 bytes. -config BB_CONFIG_DNSD +config BUSYBOX_FEATURE_BRCTL_SHOW + bool "Support show, showmac and showstp" + default n + depends on BUSYBOX_BRCTL && BUSYBOX_FEATURE_BRCTL_FANCY + help + Add support for option which prints the current config: + showmacs, showstp, show + +config BUSYBOX_DNSD bool "dnsd" default n help Small and static DNS server daemon. -config BB_CONFIG_ETHER_WAKE +config BUSYBOX_ETHER_WAKE bool "ether-wake" default n help Send a magic packet to wake up sleeping machines. -config BB_CONFIG_FAKEIDENTD +config BUSYBOX_FAKEIDENTD bool "fakeidentd" default n - select BB_CONFIG_FEATURE_SYSLOG + select BUSYBOX_FEATURE_SYSLOG help fakeidentd listens on the ident port and returns a predefined fake value on any query. -config BB_CONFIG_FTPGET +config BUSYBOX_FTPGET bool "ftpget" default n help Retrieve a remote file via FTP. -config BB_CONFIG_FTPPUT +config BUSYBOX_FTPPUT bool "ftpput" default n help Store a remote file via FTP. -config BB_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS +config BUSYBOX_FEATURE_FTPGETPUT_LONG_OPTIONS bool "Enable long options in ftpget/ftpput" default n - depends on BB_CONFIG_GETOPT_LONG && (BB_CONFIG_FTPGET || BB_CONFIG_FTPPUT) + depends on BUSYBOX_GETOPT_LONG && (BUSYBOX_FTPGET || BUSYBOX_FTPPUT) help Support long options for the ftpget/ftpput applet. -config BB_CONFIG_HOSTNAME +config BUSYBOX_HOSTNAME bool "hostname" default n help Show or set the system's host name. -config BB_CONFIG_HTTPD +config BUSYBOX_HTTPD bool "httpd" default n help Serve web pages via an HTTP server. -config BB_CONFIG_FEATURE_HTTPD_RANGES +config BUSYBOX_FEATURE_HTTPD_RANGES bool "Support 'Ranges:' header" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_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 BB_CONFIG_FEATURE_HTTPD_USE_SENDFILE +config BUSYBOX_FEATURE_HTTPD_USE_SENDFILE bool "Use sendfile system call" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help When enabled, httpd will use the kernel sendfile() function instead of read/write loop. -config BB_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP +config BUSYBOX_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP bool "Support reloading of global config file on HUP signal" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help This option enables processing of SIGHUP to reload cached configuration settings. -config BB_CONFIG_FEATURE_HTTPD_SETUID +config BUSYBOX_FEATURE_HTTPD_SETUID bool "Enable -u <user> option" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD 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. -config BB_CONFIG_FEATURE_HTTPD_BASIC_AUTH +config BUSYBOX_FEATURE_HTTPD_BASIC_AUTH bool "Enable Basic http Authentication" default y - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help Utilizes password settings from /etc/httpd.conf for basic authentication on a per url basis. -config BB_CONFIG_FEATURE_HTTPD_AUTH_MD5 +config BUSYBOX_FEATURE_HTTPD_AUTH_MD5 bool "Support MD5 crypted passwords for http Authentication" default n - depends on BB_CONFIG_FEATURE_HTTPD_BASIC_AUTH + depends on BUSYBOX_FEATURE_HTTPD_BASIC_AUTH help Enables basic per URL authentication from /etc/httpd.conf using md5 passwords. -config BB_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES +config BUSYBOX_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES bool "Support loading additional MIME types at run-time" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help This option enables support for additional MIME types at run-time to be specified in the configuration file. -config BB_CONFIG_FEATURE_HTTPD_CGI +config BUSYBOX_FEATURE_HTTPD_CGI bool "Support Common Gateway Interface (CGI)" default y - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help This option allows scripts and executables to be invoked when specific URLs are requested. -config BB_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR +config BUSYBOX_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR bool "Support for running scripts through an interpreter" default n - depends on BB_CONFIG_FEATURE_HTTPD_CGI + depends on BUSYBOX_FEATURE_HTTPD_CGI help This option enables support for running scripts through an interpreter. Turn this on if you want PHP scripts to work @@ -203,28 +202,28 @@ config BB_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR config file: *.php:/path/to/your/php -config BB_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV +config BUSYBOX_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV bool "Set REMOTE_PORT environment variable for CGI" default n - depends on BB_CONFIG_FEATURE_HTTPD_CGI + depends on BUSYBOX_FEATURE_HTTPD_CGI help Use of this option can assist scripts in generating references that contain a unique port number. -config BB_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR +config BUSYBOX_FEATURE_HTTPD_ENCODE_URL_STR bool "Enable -e option (useful for CGIs written as shell scripts)" default y - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help This option allows html encoding of arbitrary strings for display - by the browser. Output goes to stdout. + by the browser. Output goes to stdout. For example, httpd -e "<Hello World>" produces "<Hello World>". -config BB_CONFIG_FEATURE_HTTPD_ERROR_PAGES +config BUSYBOX_FEATURE_HTTPD_ERROR_PAGES bool "Support for custom error pages" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help This option allows you to define custom error pages in the configuration file instead of the default HTTP status @@ -234,10 +233,10 @@ config BB_CONFIG_FEATURE_HTTPD_ERROR_PAGES '/path/e404.html' file instead of the terse '404 NOT FOUND' message. -config BB_CONFIG_FEATURE_HTTPD_PROXY +config BUSYBOX_FEATURE_HTTPD_PROXY bool "Support for reverse proxy" default n - depends on BB_CONFIG_HTTPD + depends on BUSYBOX_HTTPD help This option allows you to define URLs that will be forwarded to another HTTP server. To setup add the following line to the @@ -246,80 +245,80 @@ config BB_CONFIG_FEATURE_HTTPD_PROXY Then a request to /url/myfile will be forwarded to http://hostname[:port]/new/path/myfile. -config BB_CONFIG_IFCONFIG +config BUSYBOX_IFCONFIG bool "ifconfig" default n help Ifconfig is used to configure the kernel-resident network interfaces. -config BB_CONFIG_FEATURE_IFCONFIG_STATUS +config BUSYBOX_FEATURE_IFCONFIG_STATUS bool "Enable status reporting output (+7k)" default y - depends on BB_CONFIG_IFCONFIG + depends on BUSYBOX_IFCONFIG help If ifconfig is called with no arguments it will display the status of the currently active interfaces. -config BB_CONFIG_FEATURE_IFCONFIG_SLIP +config BUSYBOX_FEATURE_IFCONFIG_SLIP bool "Enable slip-specific options \"keepalive\" and \"outfill\"" default n - depends on BB_CONFIG_IFCONFIG + depends on BUSYBOX_IFCONFIG help - Allow "keepalive" and "outfill" support for SLIP. If you're not + Allow "keepalive" and "outfill" support for SLIP. If you're not planning on using serial lines, leave this unchecked. -config BB_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ +config BUSYBOX_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" default n - depends on BB_CONFIG_IFCONFIG + depends on BUSYBOX_IFCONFIG help Allow the start address for shared memory, start address for I/O, and/or the interrupt line used by the specified device. -config BB_CONFIG_FEATURE_IFCONFIG_HW +config BUSYBOX_FEATURE_IFCONFIG_HW bool "Enable option \"hw\" (ether only)" default y - depends on BB_CONFIG_IFCONFIG + depends on BUSYBOX_IFCONFIG help Set the hardware address of this interface, if the device driver - supports this operation. Currently, we only support the 'ether' + supports this operation. Currently, we only support the 'ether' class. -config BB_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS +config BUSYBOX_FEATURE_IFCONFIG_BROADCAST_PLUS bool "Set the broadcast automatically" default n - depends on BB_CONFIG_IFCONFIG + depends on BUSYBOX_IFCONFIG help Setting this will make ifconfig attempt to find the broadcast automatically if the value '+' is used. -config BB_CONFIG_IFENSLAVE +config BUSYBOX_IFENSLAVE bool "ifenslave" default n help Userspace application to bind several interfaces to a logical interface (use with kernel bonding driver). -config BB_CONFIG_IFUPDOWN +config BUSYBOX_IFUPDOWN bool "ifupdown" default n help - Activate or deactivate the specified interfaces. This applet makes + Activate or deactivate the specified interfaces. This applet makes use of either "ifconfig" and "route" or the "ip" command to actually - configure network interfaces. Therefore, you will probably also want + configure network interfaces. Therefore, you will probably also want to enable either IFCONFIG and ROUTE, or enable - FEATURE_IFUPDOWN_IP and the various IP options. Of + FEATURE_IFUPDOWN_IP and the various IP options. Of course you could use non-busybox versions of these programs, so 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 + 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. -config BB_CONFIG_IFUPDOWN_IFSTATE_PATH +config BUSYBOX_IFUPDOWN_IFSTATE_PATH string "Absolute path to ifstate file" default "/var/run/ifstate" - depends on BB_CONFIG_IFUPDOWN + depends on BUSYBOX_IFUPDOWN help ifupdown keeps state information in a file called ifstate. Typically it is located in /var/run/ifstate, however @@ -327,34 +326,34 @@ config BB_CONFIG_IFUPDOWN_IFSTATE_PATH (debian, for example, uses /etc/network/run/ifstate). This config option defines location of ifstate. -config BB_CONFIG_FEATURE_IFUPDOWN_IP +config BUSYBOX_FEATURE_IFUPDOWN_IP bool "Use ip applet" default n - depends on BB_CONFIG_IFUPDOWN + depends on BUSYBOX_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 BB_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN +config BUSYBOX_FEATURE_IFUPDOWN_IP_BUILTIN bool "Use busybox ip applet" default y - depends on BB_CONFIG_FEATURE_IFUPDOWN_IP - select BB_CONFIG_IP - select BB_CONFIG_FEATURE_IP_ADDRESS - select BB_CONFIG_FEATURE_IP_LINK - select BB_CONFIG_FEATURE_IP_ROUTE + depends on BUSYBOX_FEATURE_IFUPDOWN_IP + select BUSYBOX_IP + select BUSYBOX_FEATURE_IP_ADDRESS + select BUSYBOX_FEATURE_IP_LINK + select BUSYBOX_FEATURE_IP_ROUTE help Use the busybox iproute "ip" applet to implement "ifupdown". If left disabled, you must install the full-blown iproute2 utility or the "ifup" and "ifdown" applets will not work. -config BB_CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN +config BUSYBOX_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN bool "Use busybox ifconfig and route applets" default y - depends on BB_CONFIG_IFUPDOWN && !BB_CONFIG_FEATURE_IFUPDOWN_IP - select BB_CONFIG_IFCONFIG - select BB_CONFIG_ROUTE + depends on BUSYBOX_IFUPDOWN && !BUSYBOX_FEATURE_IFUPDOWN_IP + select BUSYBOX_IFCONFIG + select BUSYBOX_ROUTE help Use the busybox iproute "ifconfig" and "route" applets to implement the "ifup" and "ifdown" utilities. @@ -363,17 +362,17 @@ config BB_CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN and route utilities, or the "ifup" and "ifdown" applets will not work. -config BB_CONFIG_FEATURE_IFUPDOWN_IPV4 +config BUSYBOX_FEATURE_IFUPDOWN_IPV4 bool "Support for IPv4" default y - depends on BB_CONFIG_IFUPDOWN + depends on BUSYBOX_IFUPDOWN help If you want ifup/ifdown to talk IPv4, leave this on. -config BB_CONFIG_FEATURE_IFUPDOWN_IPV6 +config BUSYBOX_FEATURE_IFUPDOWN_IPV6 bool "Support for IPv6" default n - depends on BB_CONFIG_IFUPDOWN && BB_CONFIG_FEATURE_IPV6 + depends on BUSYBOX_IFUPDOWN && BUSYBOX_FEATURE_IPV6 help If you need support for IPv6, turn this option on. @@ -386,121 +385,121 @@ config BB_CONFIG_FEATURE_IFUPDOWN_IPV6 ### If this option is selected you can use busybox to work with IPX ### networks. -config BB_CONFIG_FEATURE_IFUPDOWN_MAPPING +config BUSYBOX_FEATURE_IFUPDOWN_MAPPING bool "Enable mapping support" default n - depends on BB_CONFIG_IFUPDOWN + depends on BUSYBOX_IFUPDOWN help This enables support for the "mapping" stanza, unless you have a weird network setup you don't need it. -config BB_CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP +config BUSYBOX_FEATURE_IFUPDOWN_EXTERNAL_DHCP bool "Support for external dhcp clients" default n - depends on BB_CONFIG_IFUPDOWN + depends on BUSYBOX_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 BB_CONFIG_INETD +config BUSYBOX_INETD bool "inetd" default n - select BB_CONFIG_FEATURE_SYSLOG + select BUSYBOX_FEATURE_SYSLOG help Internet superserver daemon -config BB_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO +config BUSYBOX_FEATURE_INETD_SUPPORT_BUILTIN_ECHO bool "Support echo service" default y - depends on BB_CONFIG_INETD + depends on BUSYBOX_INETD help Echo received data internal inetd service -config BB_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD +config BUSYBOX_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD bool "Support discard service" default y - depends on BB_CONFIG_INETD + depends on BUSYBOX_INETD help Internet /dev/null internal inetd service -config BB_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME +config BUSYBOX_FEATURE_INETD_SUPPORT_BUILTIN_TIME bool "Support time service" default y - depends on BB_CONFIG_INETD + depends on BUSYBOX_INETD help Return 32 bit time since 1900 internal inetd service -config BB_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME +config BUSYBOX_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME bool "Support daytime service" default y - depends on BB_CONFIG_INETD + depends on BUSYBOX_INETD help Return human-readable time internal inetd service -config BB_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN +config BUSYBOX_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN bool "Support chargen service" default y - depends on BB_CONFIG_INETD + depends on BUSYBOX_INETD help Familiar character generator internal inetd service -config BB_CONFIG_FEATURE_INETD_RPC +config BUSYBOX_FEATURE_INETD_RPC bool "Support RPC services" default n - depends on BB_CONFIG_INETD - select BB_CONFIG_FEATURE_HAVE_RPC + depends on BUSYBOX_INETD + select BUSYBOX_FEATURE_HAVE_RPC help Support Sun-RPC based services -config BB_CONFIG_IP +config BUSYBOX_IP bool "ip" default n help The "ip" applet is a TCP/IP interface configuration and routing - utility. You generally don't need "ip" to use busybox with + utility. You generally don't need "ip" to use busybox with TCP/IP. -config BB_CONFIG_FEATURE_IP_ADDRESS +config BUSYBOX_FEATURE_IP_ADDRESS bool "ip address" default y - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help Address manipulation support for the "ip" applet. -config BB_CONFIG_FEATURE_IP_LINK +config BUSYBOX_FEATURE_IP_LINK bool "ip link" default y - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help Configure network devices with "ip". -config BB_CONFIG_FEATURE_IP_ROUTE +config BUSYBOX_FEATURE_IP_ROUTE bool "ip route" default y - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help Add support for routing table management to "ip". -config BB_CONFIG_FEATURE_IP_TUNNEL +config BUSYBOX_FEATURE_IP_TUNNEL bool "ip tunnel" default n - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help Add support for tunneling commands to "ip". -config BB_CONFIG_FEATURE_IP_RULE +config BUSYBOX_FEATURE_IP_RULE bool "ip rule" default n - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help Add support for rule commands to "ip". -config BB_CONFIG_FEATURE_IP_SHORT_FORMS +config BUSYBOX_FEATURE_IP_SHORT_FORMS bool "Support short forms of ip commands" default n - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help Also support short-form of ip <OBJECT> commands: ip addr -> ipaddr @@ -512,81 +511,82 @@ config BB_CONFIG_FEATURE_IP_SHORT_FORMS Say N unless you desparately need the short form of the ip object commands. -config BB_CONFIG_FEATURE_IP_RARE_PROTOCOLS +config BUSYBOX_FEATURE_IP_RARE_PROTOCOLS bool "Support displaying rarely used link types" default n - depends on BB_CONFIG_IP + depends on BUSYBOX_IP help If you are not going to use links of type "frad", "econet", "bif" etc, you probably don't need to enable this. Ethernet, wireless, infrared, ppp/slip, ip tunnelling link types are supported without this option selected. -config BB_CONFIG_IPADDR +config BUSYBOX_IPADDR bool default y - depends on BB_CONFIG_FEATURE_IP_SHORT_FORMS && BB_CONFIG_FEATURE_IP_ADDRESS + depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_ADDRESS -config BB_CONFIG_IPLINK +config BUSYBOX_IPLINK bool default y - depends on BB_CONFIG_FEATURE_IP_SHORT_FORMS && BB_CONFIG_FEATURE_IP_LINK + depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_LINK -config BB_CONFIG_IPROUTE +config BUSYBOX_IPROUTE bool default y - depends on BB_CONFIG_FEATURE_IP_SHORT_FORMS && BB_CONFIG_FEATURE_IP_ROUTE + depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_ROUTE -config BB_CONFIG_IPTUNNEL +config BUSYBOX_IPTUNNEL bool default y - depends on BB_CONFIG_FEATURE_IP_SHORT_FORMS && BB_CONFIG_FEATURE_IP_TUNNEL + depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_TUNNEL -config BB_CONFIG_IPRULE +config BUSYBOX_IPRULE bool default y - depends on BB_CONFIG_FEATURE_IP_SHORT_FORMS && BB_CONFIG_FEATURE_IP_RULE + depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_RULE -config BB_CONFIG_IPCALC +config BUSYBOX_IPCALC bool "ipcalc" default n help ipcalc takes an IP address and netmask and calculates the resulting broadcast, network, and host range. -config BB_CONFIG_FEATURE_IPCALC_FANCY +config BUSYBOX_FEATURE_IPCALC_FANCY bool "Fancy IPCALC, more options, adds 1 kbyte" default y - depends on BB_CONFIG_IPCALC + depends on BUSYBOX_IPCALC help - Adds the options hostname, prefix and silent to the output of "ipcalc". + Adds the options hostname, prefix and silent to the output of + "ipcalc". -config BB_CONFIG_FEATURE_IPCALC_LONG_OPTIONS +config BUSYBOX_FEATURE_IPCALC_LONG_OPTIONS bool "Enable long options" default n - depends on BB_CONFIG_IPCALC && BB_CONFIG_GETOPT_LONG + depends on BUSYBOX_IPCALC && BUSYBOX_GETOPT_LONG help Support long options for the ipcalc applet. -config BB_CONFIG_NAMEIF +config BUSYBOX_NAMEIF bool "nameif" default n - select BB_CONFIG_FEATURE_SYSLOG + select BUSYBOX_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: IF_NAMESIZE = 16 + 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 BB_CONFIG_FEATURE_NAMEIF_EXTENDED +config BUSYBOX_FEATURE_NAMEIF_EXTENDED bool "Extended nameif" default n - depends on BB_CONFIG_NAMEIF + depends on BUSYBOX_NAMEIF help This extends the nameif syntax to support the bus_info and driver checks. The syntax is compatible to the normal nameif. @@ -596,136 +596,143 @@ config BB_CONFIG_FEATURE_NAMEIF_EXTENDED new_interface_name mac=00:80:C8:38:91:B5 new_interface_name 00:80:C8:38:91:B5 -config BB_CONFIG_NC +config BUSYBOX_NC bool "nc" default n help A simple Unix utility which reads and writes data across network connections. -config BB_CONFIG_NC_SERVER +config BUSYBOX_NC_SERVER bool "Netcat server options (-l)" default n - depends on BB_CONFIG_NC + depends on BUSYBOX_NC help Allow netcat to act as a server. -config BB_CONFIG_NC_EXTRA +config BUSYBOX_NC_EXTRA bool "Netcat extensions (-eiw and filename)" default n - depends on BB_CONFIG_NC + depends on BUSYBOX_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 BB_CONFIG_NETSTAT +config BUSYBOX_NETSTAT bool "netstat" default n help netstat prints information about the Linux networking subsystem. -config BB_CONFIG_FEATURE_NETSTAT_WIDE +config BUSYBOX_FEATURE_NETSTAT_WIDE bool "Enable wide netstat output" default n - depends on BB_CONFIG_NETSTAT + depends on BUSYBOX_NETSTAT help Add support for wide columns. Useful when displaying IPv6 addresses (-W option). -config BB_CONFIG_NSLOOKUP +config BUSYBOX_FEATURE_NETSTAT_PRG + bool "Enable PID/Program name output" + default n + depends on BUSYBOX_NETSTAT + help + Add support for -p flag to print out PID and program name. + +700 bytes of code. + +config BUSYBOX_NSLOOKUP bool "nslookup" default n help nslookup is a tool to query Internet name servers. -config BB_CONFIG_PING +config BUSYBOX_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 BB_CONFIG_PING6 +config BUSYBOX_PING6 bool "ping6" default n - depends on BB_CONFIG_FEATURE_IPV6 && BB_CONFIG_PING + depends on BUSYBOX_FEATURE_IPV6 && BUSYBOX_PING help This will give you a ping that can talk IPv6. -config BB_CONFIG_FEATURE_FANCY_PING +config BUSYBOX_FEATURE_FANCY_PING bool "Enable fancy ping output" default y - depends on BB_CONFIG_PING + depends on BUSYBOX_PING help Make the output from the ping applet include statistics, and at the same time provide full support for ICMP packets. -config BB_CONFIG_PSCAN +config BUSYBOX_PSCAN bool "pscan" default n help Simple network port scanner. -config BB_CONFIG_ROUTE +config BUSYBOX_ROUTE bool "route" default n help Route displays or manipulates the kernel's IP routing tables. -config BB_CONFIG_SENDMAIL - bool "sendmail" - default n - help - Barebones sendmail. - -config BB_CONFIG_FETCHMAIL - bool "fetchmail" - default n - help - Barebones fetchmail. - -config BB_CONFIG_SLATTACH +config BUSYBOX_SLATTACH bool "slattach" default n help - slattach is a small utility to attach network interfaces to serial lines. + slattach is a small utility to attach network interfaces to serial + lines. + +#config TC +# bool "tc" +# default n +# help +# show / manipulate traffic control settings +# +#config FEATURE_TC_INGRESS +# def_bool n +# depends on TC -config BB_CONFIG_TELNET +config BUSYBOX_TELNET bool "telnet" default n help Telnet is an interface to the TELNET protocol, but is also commonly used to test other simple protocols. -config BB_CONFIG_FEATURE_TELNET_TTYPE +config BUSYBOX_FEATURE_TELNET_TTYPE bool "Pass TERM type to remote host" default y - depends on BB_CONFIG_TELNET + depends on BUSYBOX_TELNET help Setting this option will forward the TERM environment variable to the - remote host you are connecting to. This is useful to make sure that + remote host you are connecting to. This is useful to make sure that things like ANSI colors and other control sequences behave. -config BB_CONFIG_FEATURE_TELNET_AUTOLOGIN +config BUSYBOX_FEATURE_TELNET_AUTOLOGIN bool "Pass USER type to remote host" default y - depends on BB_CONFIG_TELNET + depends on BUSYBOX_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 BB_CONFIG_TELNETD +config BUSYBOX_TELNETD bool "telnetd" default n - select BB_CONFIG_FEATURE_SYSLOG + select BUSYBOX_FEATURE_SYSLOG 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 - 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 + running the daemon. Please keep in mind that the TELNET protocol + 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 @@ -751,7 +758,7 @@ config BB_CONFIG_TELNETD mount -t devpts devpts /dev/pts You need to be sure that Busybox has LOGIN and - FEATURE_SUID enabled. And finally, you should make + FEATURE_SUID enabled. And finally, you should make certain that Busybox has been installed setuid root: chown root.root /bin/busybox @@ -760,22 +767,22 @@ config BB_CONFIG_TELNETD with all that done, telnetd _should_ work.... -config BB_CONFIG_FEATURE_TELNETD_STANDALONE +config BUSYBOX_FEATURE_TELNETD_STANDALONE bool "Support standalone telnetd (not inetd only)" default n - depends on BB_CONFIG_TELNETD + depends on BUSYBOX_TELNETD help Selecting this will make telnetd able to run standalone. -config BB_CONFIG_TFTP +config BUSYBOX_TFTP bool "tftp" default n help - This enables the Trivial 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. -config BB_CONFIG_TFTPD +config BUSYBOX_TFTPD bool "tftpd" default n help @@ -785,110 +792,110 @@ config BB_CONFIG_TFTPD In other words: it should be run from inetd in nowait mode, or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" -config BB_CONFIG_FEATURE_TFTP_GET +config BUSYBOX_FEATURE_TFTP_GET bool "Enable \"get\" command" default y - depends on BB_CONFIG_TFTP || BB_CONFIG_TFTPD + depends on BUSYBOX_TFTP || BUSYBOX_TFTPD help - Add support for the GET command within the TFTP client. This allows + Add support for the GET command within the TFTP client. This allows a client to retrieve a file from a TFTP server. Also enable upload support in tftpd, if tftpd is selected. -config BB_CONFIG_FEATURE_TFTP_PUT +config BUSYBOX_FEATURE_TFTP_PUT bool "Enable \"put\" command" default y - depends on BB_CONFIG_TFTP || BB_CONFIG_TFTPD + depends on BUSYBOX_TFTP || BUSYBOX_TFTPD help - Add support for the PUT command within the TFTP client. This allows + Add support for the PUT command within the TFTP client. This allows a client to transfer a file to a TFTP server. Also enable download support in tftpd, if tftpd is selected. -config BB_CONFIG_FEATURE_TFTP_BLOCKSIZE +config BUSYBOX_FEATURE_TFTP_BLOCKSIZE bool "Enable \"blksize\" protocol option" default n - depends on BB_CONFIG_TFTP || BB_CONFIG_TFTPD + depends on BUSYBOX_TFTP || BUSYBOX_TFTPD help Allow tftp to specify block size, and tftpd to understand "blksize" option. -config BB_CONFIG_DEBUG_TFTP +config BUSYBOX_TFTP_DEBUG bool "Enable debug" default n - depends on BB_CONFIG_TFTP + depends on BUSYBOX_TFTP help - Enable debug settings for tftp. This is useful if you're running + Enable debug settings for tftp. This is useful if you're running into problems with tftp as the protocol doesn't help you much when you run into problems. -config BB_CONFIG_TRACEROUTE +config BUSYBOX_TRACEROUTE bool "traceroute" default n help Utility to trace the route of IP packets -config BB_CONFIG_FEATURE_TRACEROUTE_VERBOSE +config BUSYBOX_FEATURE_TRACEROUTE_VERBOSE bool "Enable verbose output" default n - depends on BB_CONFIG_TRACEROUTE + depends on BUSYBOX_TRACEROUTE help - Add some verbosity to traceroute. This includes amongst other things + Add some verbosity to traceroute. This includes amongst other things hostnames and ICMP response types. -config BB_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE +config BUSYBOX_FEATURE_TRACEROUTE_SOURCE_ROUTE bool "Enable loose source route" default n - depends on BB_CONFIG_TRACEROUTE + depends on BUSYBOX_TRACEROUTE help Add option to specify a loose source route gateway (8 maximum). -config BB_CONFIG_FEATURE_TRACEROUTE_USE_ICMP +config BUSYBOX_FEATURE_TRACEROUTE_USE_ICMP bool "Use ICMP instead of UDP" default n - depends on BB_CONFIG_TRACEROUTE + depends on BUSYBOX_TRACEROUTE help Add feature to allow for ICMP ECHO instead of UDP datagrams. source config/busybox/networking/udhcp/Config.in -config BB_CONFIG_VCONFIG +config BUSYBOX_VCONFIG bool "vconfig" default n help Creates, removes, and configures VLAN interfaces -config BB_CONFIG_WGET +config BUSYBOX_WGET bool "wget" default n help wget is a utility for non-interactive download of files from HTTP, HTTPS, and FTP servers. -config BB_CONFIG_FEATURE_WGET_STATUSBAR +config BUSYBOX_FEATURE_WGET_STATUSBAR bool "Enable a nifty process meter (+2k)" default y - depends on BB_CONFIG_WGET + depends on BUSYBOX_WGET help Enable the transfer progress bar for wget transfers. -config BB_CONFIG_FEATURE_WGET_AUTHENTICATION +config BUSYBOX_FEATURE_WGET_AUTHENTICATION bool "Enable HTTP authentication" default y - depends on BB_CONFIG_WGET + depends on BUSYBOX_WGET help Support authenticated HTTP transfers. -config BB_CONFIG_FEATURE_WGET_LONG_OPTIONS +config BUSYBOX_FEATURE_WGET_LONG_OPTIONS bool "Enable long options" default n - depends on BB_CONFIG_WGET && BB_CONFIG_GETOPT_LONG + depends on BUSYBOX_WGET && BUSYBOX_GETOPT_LONG help Support long options for the wget applet. -config BB_CONFIG_ZCIP +config BUSYBOX_ZCIP bool "zcip" default n - select BB_CONFIG_FEATURE_SYSLOG + select BUSYBOX_FEATURE_SYSLOG help ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. It's a daemon that allocates and defends a dynamically assigned @@ -897,16 +904,18 @@ config BB_CONFIG_ZCIP See http://www.zeroconf.org for further details, and "zcip.script" in the busybox examples. -config BB_CONFIG_TCPSVD +config BUSYBOX_TCPSVD bool "tcpsvd" default n help - tcpsvd listens on a TCP port and runs a program for each new connection + tcpsvd listens on a TCP port and runs a program for each new + connection. -config BB_CONFIG_UDPSVD +config BUSYBOX_UDPSVD bool "udpsvd" default n help - udpsvd listens on an UDP port and runs a program for each new connection + udpsvd listens on an UDP port and runs a program for each new + connection. endmenu diff --git a/config/busybox/networking/udhcp/Config.in b/config/busybox/networking/udhcp/Config.in index a65d67f2c..f63997e6e 100644 --- a/config/busybox/networking/udhcp/Config.in +++ b/config/busybox/networking/udhcp/Config.in @@ -3,126 +3,115 @@ # see scripts/kbuild/config-language.txt. # -config BB_CONFIG_APP_UDHCPD - bool "udhcp Server (udhcpd)" +config BUSYBOX_APP_UDHCPD + bool "udhcp server (udhcpd)" default n help - uDHCPd is a DHCP server geared primarily toward embedded systems, + udhcpd is a DHCP server geared primarily toward embedded systems, while striving to be fully functional and RFC compliant. - See http://udhcp.busybox.net for further details. - -config BB_CONFIG_APP_DHCPRELAY +config BUSYBOX_APP_DHCPRELAY bool "dhcprelay" default n - depends on BB_CONFIG_APP_UDHCPD + depends on BUSYBOX_APP_UDHCPD help dhcprelay listens for dhcp requests on one or more interfaces and forwards these requests to a different interface or dhcp server. -config BB_CONFIG_APP_DUMPLEASES +config BUSYBOX_APP_DUMPLEASES bool "Lease display utility (dumpleases)" default n - depends on BB_CONFIG_APP_UDHCPD + depends on BUSYBOX_APP_UDHCPD help dumpleases displays the leases written out by the udhcpd server. Lease times are stored in the file by time remaining in lease, or by the absolute time that it expires in seconds from epoch. - See http://udhcp.busybox.net for further details. - -config BB_CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY +config BUSYBOX_FEATURE_UDHCPD_WRITE_LEASES_EARLY bool "Rewrite the lease file at every new acknowledge" default n - depends on BB_CONFIG_APP_UDHCPD + depends on BUSYBOX_APP_UDHCPD help If selected, udhcpd will write a new file with leases every - time a new lease has been accepted, thus eleminating the need - to send SIGUSR1 for the initial writing, or updating. Any timed + time a new lease has been accepted, thus eliminating the need + to send SIGUSR1 for the initial writing or updating. Any timed rewriting remains undisturbed -config BB_CONFIG_DHCPD_LEASES_FILE +config BUSYBOX_DHCPD_LEASES_FILE string "Absolute path to lease file" default "/var/lib/misc/udhcpd.leases" - depends on BB_CONFIG_APP_UDHCPD + depends on BUSYBOX_APP_UDHCPD help - The udhcpd stores address in lease files. Normaly it is save - to leave it untouched. - + udhcpd stores addresses in a lease file. This is the absolute path + of the file. Normally it is safe to leave it untouched. -config BB_CONFIG_APP_UDHCPC - bool "udhcp Client (udhcpc)" +config BUSYBOX_APP_UDHCPC + bool "udhcp client (udhcpc)" default n help - uDHCPc is a DHCP client geared primarily toward embedded systems, + udhcpc is a DHCP client geared primarily toward embedded systems, while striving to be fully functional and RFC compliant. The udhcp client negotiates a lease with the DHCP server and - notifies a set of scripts when a lease is obtained or lost. + runs a script when a lease is obtained or lost. - See http://udhcp.busybox.net for further details. - -config BB_CONFIG_FEATURE_UDHCPC_ARPING - bool "Ask udhcpc to verify that the offered address is free, using arpping" +config BUSYBOX_FEATURE_UDHCPC_ARPING + bool "Verify that the offered address is free, using ARP ping" default y - depends on BB_CONFIG_APP_UDHCPC + depends on BUSYBOX_APP_UDHCPC help - If selected, udhcpc will use arpping to make sure the offered address - is really available. The client will DHCPDECLINE the offer if the - address is in use, and restart the discover process. + If selected, udhcpc will send ARP probes and make sure + the offered address is really not in use by anyone. The client + will DHCPDECLINE the offer if the address is in use, + and restart the discover process. -config BB_CONFIG_FEATURE_UDHCP_PORT +config BUSYBOX_FEATURE_UDHCP_PORT bool "Enable '-P port' option for udhcpd and udhcpc" default n - depends on BB_CONFIG_APP_UDHCPD || BB_CONFIG_APP_UDHCPC + depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC help At the cost of ~300 bytes, enables -P port option. This feature is typically not needed. -config BB_CONFIG_FEATURE_UDHCP_DEBUG +config BUSYBOX_UDHCP_DEBUG bool "Compile udhcp with noisy debugging messages" default n - depends on BB_CONFIG_APP_UDHCPD || BB_CONFIG_APP_UDHCPC + depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC help - If selected, udhcpd will output extra debugging output. If using - this option, compile uDHCP with "-g", and do not fork the daemon to - the background. - - See http://udhcp.busybox.net for further details. + If selected, udhcpd will output extra debugging output. -config BB_CONFIG_FEATURE_RFC3397 +config BUSYBOX_FEATURE_UDHCP_RFC3397 bool "Support for RFC3397 domain search (experimental)" default n - depends on BB_CONFIG_APP_UDHCPD || BB_CONFIG_APP_UDHCPC + depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC help If selected, both client and server will support passing of domain search lists via option 119, specified in RFC3397. -config BB_CONFIG_DHCPC_DEFAULT_SCRIPT +config BUSYBOX_UDHCPC_DEFAULT_SCRIPT string "Absolute path to config script" default "/usr/share/udhcpc/default.script" - depends on BB_CONFIG_APP_UDHCPC + depends on BUSYBOX_APP_UDHCPC help - This script is called after udhcpc receives and answer. See - examples/udhcp for a working example. Normaly it is save + This script is called after udhcpc receives an answer. See + examples/udhcp for a working example. Normally it is safe to leave this untouched. - -config BB_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS +config BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS int "DHCP options slack buffer size" default 80 range 0 924 - depends on BB_CONFIG_APP_UDHCPD || BB_CONFIG_APP_UDHCPC + depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC help - Some buggy DHCP servers will send DHCP offer packets with option + Some buggy DHCP servers send DHCP offer packets with option field larger than we expect (which might also be considered a buffer overflow attempt). These packets are normally discarded. If circumstances beyond your control force you to support such servers, this may help. The upper limit (924) makes dhcpc accept even 1500 byte packets (maximum-sized ethernet packets). - This options does not make dhcp[cd] emit non-standard + This option does not make dhcp[cd] emit non-standard sized packets. Known buggy DHCP servers: @@ -130,4 +119,4 @@ config BB_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS seems to confuse maximum allowed UDP packet size with maximum size of entire IP packet, and sends packets which are 28 bytes too large. - Seednet (ISP) VDSL: sends packets 2 bytes too big. + Seednet (ISP) VDSL: sends packets 2 bytes too large. |