aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/config/networking
diff options
context:
space:
mode:
authorMagnus Kroken <mkroken@gmail.com>2017-01-15 02:21:41 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-29 14:09:38 +0100
commit84da2a677a7133426829a05954af64dd533bf7a5 (patch)
tree474210544d3977e9c4aeb753d5da6c10fba79337 /package/utils/busybox/config/networking
parent5d2a9d2a3a21bd360cc0956bd31335e7e3396d1d (diff)
downloadupstream-84da2a677a7133426829a05954af64dd533bf7a5.tar.gz
upstream-84da2a677a7133426829a05954af64dd533bf7a5.tar.bz2
upstream-84da2a677a7133426829a05954af64dd533bf7a5.zip
busybox: update to 1.26.2
Refresh patches, delete patches that have been applied upstream. Signed-off-by: Magnus Kroken <mkroken@gmail.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix defaults]
Diffstat (limited to 'package/utils/busybox/config/networking')
-rw-r--r--package/utils/busybox/config/networking/Config.in643
-rw-r--r--package/utils/busybox/config/networking/udhcp/Config.in2
2 files changed, 289 insertions, 356 deletions
diff --git a/package/utils/busybox/config/networking/Config.in b/package/utils/busybox/config/networking/Config.in
index 407ddd30dd..bc2f127c4d 100644
--- a/package/utils/busybox/config/networking/Config.in
+++ b/package/utils/busybox/config/networking/Config.in
@@ -6,183 +6,6 @@
menu "Networking Utilities"
-config BUSYBOX_CONFIG_NAMEIF
- bool "nameif"
- default BUSYBOX_DEFAULT_NAMEIF
- select BUSYBOX_CONFIG_PLATFORM_LINUX
- select BUSYBOX_CONFIG_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: IFNAMSIZ = 16
- File fields are separated by space or tab.
- File format:
- # Comment
- new_interface_name XX:XX:XX:XX:XX:XX
-
-config BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED
- bool "Extended nameif"
- default BUSYBOX_DEFAULT_FEATURE_NAMEIF_EXTENDED
- depends on BUSYBOX_CONFIG_NAMEIF
- help
- This extends the nameif syntax to support the bus_info, driver,
- phyaddr selectors. The syntax is compatible to the normal nameif.
- File format:
- new_interface_name driver=asix bus=usb-0000:00:08.2-3
- new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
- new_interface_name phy_address=2 00:80:C8:38:91:B5
- new_interface_name mac=00:80:C8:38:91:B5
- new_interface_name 00:80:C8:38:91:B5
-config BUSYBOX_CONFIG_NBDCLIENT
- bool "nbd-client"
- default BUSYBOX_DEFAULT_NBDCLIENT
- help
- Network block device client
-config BUSYBOX_CONFIG_NC
- bool "nc"
- default BUSYBOX_DEFAULT_NC
- help
- A simple Unix utility which reads and writes data across network
- connections.
-
-config BUSYBOX_CONFIG_NC_SERVER
- bool "Netcat server options (-l)"
- default BUSYBOX_DEFAULT_NC_SERVER
- depends on BUSYBOX_CONFIG_NC
- help
- Allow netcat to act as a server.
-
-config BUSYBOX_CONFIG_NC_EXTRA
- bool "Netcat extensions (-eiw and -f FILE)"
- default BUSYBOX_DEFAULT_NC_EXTRA
- depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_NC_110_COMPAT
- bool "Netcat 1.10 compatibility (+2.5k)"
- default BUSYBOX_DEFAULT_NC_110_COMPAT # off specially for Rob
- depends on BUSYBOX_CONFIG_NC
- help
- This option makes nc closely follow original nc-1.10.
- The code is about 2.5k bigger. It enables
- -s ADDR, -n, -u, -v, -o FILE, -z options, but loses
- busybox-specific extensions: -f FILE.
-config BUSYBOX_CONFIG_PING
- bool "ping"
- default BUSYBOX_DEFAULT_PING
- select BUSYBOX_CONFIG_PLATFORM_LINUX
- help
- ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
- elicit an ICMP ECHO_RESPONSE from a host or gateway.
-
-config BUSYBOX_CONFIG_PING6
- bool "ping6"
- default BUSYBOX_DEFAULT_PING6
- depends on BUSYBOX_CONFIG_FEATURE_IPV6 && BUSYBOX_CONFIG_PING
- help
- This will give you a ping that can talk IPv6.
-
-config BUSYBOX_CONFIG_FEATURE_FANCY_PING
- bool "Enable fancy ping output"
- default BUSYBOX_DEFAULT_FEATURE_FANCY_PING
- depends on BUSYBOX_CONFIG_PING
- help
- Make the output from the ping applet include statistics, and at the
- same time provide full support for ICMP packets.
-config BUSYBOX_CONFIG_WGET
- bool "wget"
- default BUSYBOX_DEFAULT_WGET
- help
- wget is a utility for non-interactive download of files from HTTP
- and FTP servers.
-
-config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR
- bool "Enable a nifty process meter (+2k)"
- default BUSYBOX_DEFAULT_FEATURE_WGET_STATUSBAR
- depends on BUSYBOX_CONFIG_WGET
- help
- Enable the transfer progress bar for wget transfers.
-
-config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION
- bool "Enable HTTP authentication"
- default BUSYBOX_DEFAULT_FEATURE_WGET_AUTHENTICATION
- depends on BUSYBOX_CONFIG_WGET
- help
- Support authenticated HTTP transfers.
-
-config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS
- bool "Enable long options"
- default BUSYBOX_DEFAULT_FEATURE_WGET_LONG_OPTIONS
- depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_LONG_OPTS
- help
- Support long options for the wget applet.
-
-config BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT
- bool "Enable timeout option -T SEC"
- default BUSYBOX_DEFAULT_FEATURE_WGET_TIMEOUT
- depends on BUSYBOX_CONFIG_WGET
- help
- Supports network read and connect timeouts for wget,
- so that wget will give up and timeout, through the -T
- command line option.
-
- Currently only connect and network data read timeout are
- supported (i.e., timeout is not applied to the DNS query). When
- FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option
- will work in addition to -T.
-
-config BUSYBOX_CONFIG_FEATURE_WGET_OPENSSL
- bool "Try to connect to HTTPS using openssl"
- default BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL
- depends on BUSYBOX_CONFIG_WGET
- help
- Choose how wget establishes SSL connection for https:// URLs.
-
- Busybox itself contains no SSL code. wget will spawn
- a helper program to talk over HTTPS.
-
- OpenSSL has a simple SSL client for debug purposes.
- If you select "openssl" helper, wget will effectively call
- "openssl s_client -quiet -connect IP:443 2>/dev/null"
- and pipe its data through it.
- Note inconvenient API: host resolution is done twice,
- and there is no guarantee openssl's idea of IPv6 address
- format is the same as ours.
- Another problem is that s_client prints debug information
- to stderr, and it needs to be suppressed. This means
- all error messages get suppressed too.
- openssl is also a big binary, often dynamically linked
- against ~15 libraries.
-
-config BUSYBOX_CONFIG_FEATURE_WGET_SSL_HELPER
- bool "Try to connect to HTTPS using ssl_helper"
- default BUSYBOX_DEFAULT_FEATURE_WGET_SSL_HELPER
- depends on BUSYBOX_CONFIG_WGET
- help
- Choose how wget establishes SSL connection for https:// URLs.
-
- Busybox itself contains no SSL code. wget will spawn
- a helper program to talk over HTTPS.
-
- ssl_helper is a tool which can be built statically
- from busybox sources against a small embedded SSL library.
- Please see networking/ssl_helper/README.
- It does not require double host resolution and emits
- error messages to stderr.
-
- Precompiled static binary may be available at
- http://busybox.net/downloads/binaries/
-config BUSYBOX_CONFIG_WHOIS
- bool "whois"
- default BUSYBOX_DEFAULT_WHOIS
- help
- whois is a client for the whois directory service
-
config BUSYBOX_CONFIG_FEATURE_IPV6
bool "Enable IPv6 support"
default BUSYBOX_DEFAULT_FEATURE_IPV6
@@ -230,7 +53,6 @@ config BUSYBOX_CONFIG_ARP
select BUSYBOX_CONFIG_PLATFORM_LINUX
help
Manipulate the system ARP cache.
-
config BUSYBOX_CONFIG_ARPING
bool "arping"
default BUSYBOX_DEFAULT_ARPING
@@ -264,37 +86,26 @@ config BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW
help
Add support for option which prints the current config:
show
-
config BUSYBOX_CONFIG_DNSD
bool "dnsd"
default BUSYBOX_DEFAULT_DNSD
help
Small and static DNS server daemon.
-
config BUSYBOX_CONFIG_ETHER_WAKE
bool "ether-wake"
default BUSYBOX_DEFAULT_ETHER_WAKE
select BUSYBOX_CONFIG_PLATFORM_LINUX
help
Send a magic packet to wake up sleeping machines.
-
-config BUSYBOX_CONFIG_FAKEIDENTD
- bool "fakeidentd"
- default BUSYBOX_DEFAULT_FAKEIDENTD
- select BUSYBOX_CONFIG_FEATURE_SYSLOG
- help
- fakeidentd listens on the ident port and returns a predefined
- fake value on any query.
-
config BUSYBOX_CONFIG_FTPD
bool "ftpd"
default BUSYBOX_DEFAULT_FTPD
help
simple FTP daemon. You have to run it via inetd.
-config BUSYBOX_CONFIG_FEATURE_FTP_WRITE
+config BUSYBOX_CONFIG_FEATURE_FTPD_WRITE
bool "Enable upload commands"
- default BUSYBOX_DEFAULT_FEATURE_FTP_WRITE
+ default BUSYBOX_DEFAULT_FEATURE_FTPD_WRITE
depends on BUSYBOX_CONFIG_FTPD
help
Enable all kinds of FTP upload commands (-w option)
@@ -310,13 +121,12 @@ config BUSYBOX_CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST
it increases the code size by ~40 bytes.
Most other ftp servers seem to behave similar to this.
-config BUSYBOX_CONFIG_FEATURE_FTP_AUTHENTICATION
+config BUSYBOX_CONFIG_FEATURE_FTPD_AUTHENTICATION
bool "Enable authentication"
- default BUSYBOX_DEFAULT_FEATURE_FTP_AUTHENTICATION
+ default BUSYBOX_DEFAULT_FEATURE_FTPD_AUTHENTICATION
depends on BUSYBOX_CONFIG_FTPD
help
Enable basic system login as seen in telnet etc.
-
config BUSYBOX_CONFIG_FTPGET
bool "ftpget"
default BUSYBOX_DEFAULT_FTPGET
@@ -335,13 +145,17 @@ config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS
depends on BUSYBOX_CONFIG_LONG_OPTS && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT)
help
Support long options for the ftpget/ftpput applet.
-
config BUSYBOX_CONFIG_HOSTNAME
bool "hostname"
default BUSYBOX_DEFAULT_HOSTNAME
help
Show or set the system's host name.
+config BUSYBOX_CONFIG_DNSDOMAINNAME
+ bool "dnsdomainname"
+ default BUSYBOX_DEFAULT_DNSDOMAINNAME
+ help
+ Alias to "hostname -d".
config BUSYBOX_CONFIG_HTTPD
bool "httpd"
default BUSYBOX_DEFAULT_HTTPD
@@ -460,7 +274,6 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_GZIP
help
Makes httpd send files using GZIP content encoding if the
client supports it and a pre-compressed <file>.gz exists.
-
config BUSYBOX_CONFIG_IFCONFIG
bool "ifconfig"
default BUSYBOX_DEFAULT_IFCONFIG
@@ -508,7 +321,6 @@ config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
help
Setting this will make ifconfig attempt to find the broadcast
automatically if the value '+' is used.
-
config BUSYBOX_CONFIG_IFENSLAVE
bool "ifenslave"
default BUSYBOX_DEFAULT_IFENSLAVE
@@ -516,20 +328,18 @@ config BUSYBOX_CONFIG_IFENSLAVE
help
Userspace application to bind several interfaces
to a logical interface (use with kernel bonding driver).
-
config BUSYBOX_CONFIG_IFPLUGD
bool "ifplugd"
default BUSYBOX_DEFAULT_IFPLUGD
select BUSYBOX_CONFIG_PLATFORM_LINUX
help
Network interface plug detection daemon.
-
-config BUSYBOX_CONFIG_IFUPDOWN
- bool "ifupdown"
- default BUSYBOX_DEFAULT_IFUPDOWN
+config BUSYBOX_CONFIG_IFUP
+ bool "ifup"
+ default BUSYBOX_DEFAULT_IFUP
help
- Activate or deactivate the specified interfaces. This applet makes
- use of either "ifconfig" and "route" or the "ip" command to actually
+ Activate 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
to enable either IFCONFIG and ROUTE, or enable
FEATURE_IFUPDOWN_IP and the various IP options. Of
@@ -540,10 +350,16 @@ config BUSYBOX_CONFIG_IFUPDOWN
"ifconfig", "route" and "run-parts" or the "ip" command, either
via busybox or via standalone utilities.
+config BUSYBOX_CONFIG_IFDOWN
+ bool "ifdown"
+ default BUSYBOX_DEFAULT_IFDOWN
+ help
+ Deactivate the specified interfaces.
+
config BUSYBOX_CONFIG_IFUPDOWN_IFSTATE_PATH
string "Absolute path to ifstate file"
default BUSYBOX_DEFAULT_IFUPDOWN_IFSTATE_PATH
- depends on BUSYBOX_CONFIG_IFUPDOWN
+ depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
help
ifupdown keeps state information in a file called ifstate.
Typically it is located in /var/run/ifstate, however
@@ -552,69 +368,39 @@ config BUSYBOX_CONFIG_IFUPDOWN_IFSTATE_PATH
This config option defines location of ifstate.
config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
- bool "Use ip applet"
+ bool "Use ip tool (else ifconfig/route is used)"
default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IP
- depends on BUSYBOX_CONFIG_IFUPDOWN
+ depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
help
Use the iproute "ip" command to implement "ifup" and "ifdown", rather
- than the default of using the older 'ifconfig' and 'route' utilities.
-
-config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
- bool "Use busybox ip applet"
- default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IP_BUILTIN
- depends on BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
- select BUSYBOX_CONFIG_PLATFORM_LINUX
- select BUSYBOX_CONFIG_IP
- select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
- select BUSYBOX_CONFIG_FEATURE_IP_LINK
- select BUSYBOX_CONFIG_FEATURE_IP_ROUTE
- help
- Use the busybox iproute "ip" applet to implement "ifupdown".
+ than the default of using the older "ifconfig" and "route" utilities.
- If left disabled, you must install the full-blown iproute2
- utility or the "ifup" and "ifdown" applets will not work.
-
-config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
- bool "Use busybox ifconfig and route applets"
- default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
- depends on BUSYBOX_CONFIG_IFUPDOWN && !BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
- select BUSYBOX_CONFIG_IFCONFIG
- select BUSYBOX_CONFIG_ROUTE
- help
- Use the busybox iproute "ifconfig" and "route" applets to
- implement the "ifup" and "ifdown" utilities.
+ If Y: you must install either the full-blown iproute2 package
+ or enable "ip" applet in Busybox, or the "ifup" and "ifdown" applets
+ will not work.
- If left disabled, you must install the full-blown ifconfig
- and route utilities, or the "ifup" and "ifdown" applets will not
- work.
+ If N: you must install either the full-blown ifconfig and route
+ utilities, or enable these applets in Busybox.
config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4
bool "Support for IPv4"
default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV4
- depends on BUSYBOX_CONFIG_IFUPDOWN
+ depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
help
If you want ifup/ifdown to talk IPv4, leave this on.
config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6
bool "Support for IPv6"
default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV6
- depends on BUSYBOX_CONFIG_IFUPDOWN && BUSYBOX_CONFIG_FEATURE_IPV6
+ depends on (BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN) && BUSYBOX_CONFIG_FEATURE_IPV6
help
If you need support for IPv6, turn this option on.
-### UNUSED
-###config FEATURE_IFUPDOWN_IPX
-### bool "Support for IPX"
-### default y
-### depends on IFUPDOWN
-### help
-### If this option is selected you can use busybox to work with IPX
-### networks.
config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING
bool "Enable mapping support"
default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_MAPPING
- depends on BUSYBOX_CONFIG_IFUPDOWN
+ depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
help
This enables support for the "mapping" stanza, unless you have
a weird network setup you don't need it.
@@ -622,13 +408,12 @@ config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING
config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP
bool "Support for external dhcp clients"
default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_EXTERNAL_DHCP
- depends on BUSYBOX_CONFIG_IFUPDOWN
+ depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
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 BUSYBOX_CONFIG_INETD
bool "inetd"
default BUSYBOX_DEFAULT_INETD
@@ -678,7 +463,6 @@ config BUSYBOX_CONFIG_FEATURE_INETD_RPC
select BUSYBOX_CONFIG_FEATURE_HAVE_RPC
help
Support Sun-RPC based services
-
config BUSYBOX_CONFIG_IP
bool "ip"
default BUSYBOX_DEFAULT_IP
@@ -688,24 +472,72 @@ config BUSYBOX_CONFIG_IP
utility. You generally don't need "ip" to use busybox with
TCP/IP.
+config BUSYBOX_CONFIG_IPADDR
+ bool "ipaddr"
+ default BUSYBOX_DEFAULT_IPADDR
+ select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Support short form of ip addr: ipaddr
+
+config BUSYBOX_CONFIG_IPLINK
+ bool "iplink"
+ default BUSYBOX_DEFAULT_IPLINK
+ select BUSYBOX_CONFIG_FEATURE_IP_LINK
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Support short form of ip link: iplink
+
+config BUSYBOX_CONFIG_IPROUTE
+ bool "iproute"
+ default BUSYBOX_DEFAULT_IPROUTE
+ select BUSYBOX_CONFIG_FEATURE_IP_ROUTE
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Support short form of ip route: iproute
+
+config BUSYBOX_CONFIG_IPTUNNEL
+ bool "iptunnel"
+ default BUSYBOX_DEFAULT_IPTUNNEL
+ select BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Support short form of ip tunnel: iptunnel
+
+config BUSYBOX_CONFIG_IPRULE
+ bool "iprule"
+ default BUSYBOX_DEFAULT_IPRULE
+ select BUSYBOX_CONFIG_FEATURE_IP_RULE
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Support short form of ip rule: iprule
+
+config BUSYBOX_CONFIG_IPNEIGH
+ bool "ipneigh"
+ default BUSYBOX_DEFAULT_IPNEIGH
+ select BUSYBOX_CONFIG_FEATURE_IP_NEIGH
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Support short form of ip neigh: ipneigh
+
config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
bool "ip address"
default BUSYBOX_DEFAULT_FEATURE_IP_ADDRESS
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR
help
Address manipulation support for the "ip" applet.
config BUSYBOX_CONFIG_FEATURE_IP_LINK
bool "ip link"
default BUSYBOX_DEFAULT_FEATURE_IP_LINK
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPLINK
help
Configure network devices with "ip".
config BUSYBOX_CONFIG_FEATURE_IP_ROUTE
bool "ip route"
default BUSYBOX_DEFAULT_FEATURE_IP_ROUTE
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPROUTE
help
Add support for routing table management to "ip".
@@ -719,80 +551,33 @@ config BUSYBOX_CONFIG_FEATURE_IP_ROUTE_DIR
config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
bool "ip tunnel"
default BUSYBOX_DEFAULT_FEATURE_IP_TUNNEL
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPTUNNEL
help
Add support for tunneling commands to "ip".
config BUSYBOX_CONFIG_FEATURE_IP_RULE
bool "ip rule"
default BUSYBOX_DEFAULT_FEATURE_IP_RULE
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPRULE
help
Add support for rule commands to "ip".
config BUSYBOX_CONFIG_FEATURE_IP_NEIGH
bool "ip neighbor"
default BUSYBOX_DEFAULT_FEATURE_IP_NEIGH
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPNEIGH
help
Add support for neighbor commands to "ip".
-config BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS
- bool "Support short forms of ip commands"
- default BUSYBOX_DEFAULT_FEATURE_IP_SHORT_FORMS
- depends on BUSYBOX_CONFIG_IP
- help
- Also support short-form of ip <OBJECT> commands:
- ip addr -> ipaddr
- ip link -> iplink
- ip route -> iproute
- ip tunnel -> iptunnel
- ip rule -> iprule
- ip neigh -> ipneigh
-
- Say N unless you desparately need the short form of the ip
- object commands.
-
config BUSYBOX_CONFIG_FEATURE_IP_RARE_PROTOCOLS
bool "Support displaying rarely used link types"
default BUSYBOX_DEFAULT_FEATURE_IP_RARE_PROTOCOLS
- depends on BUSYBOX_CONFIG_IP
+ depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR || BUSYBOX_CONFIG_IPLINK || BUSYBOX_CONFIG_IPROUTE || BUSYBOX_CONFIG_IPTUNNEL || BUSYBOX_CONFIG_IPRULE || BUSYBOX_CONFIG_IPNEIGH
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 BUSYBOX_CONFIG_IPADDR
- bool
- default BUSYBOX_DEFAULT_IPADDR
- depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
-
-config BUSYBOX_CONFIG_IPLINK
- bool
- default BUSYBOX_DEFAULT_IPLINK
- depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_LINK
-
-config BUSYBOX_CONFIG_IPROUTE
- bool
- default BUSYBOX_DEFAULT_IPROUTE
- depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_ROUTE
-
-config BUSYBOX_CONFIG_IPTUNNEL
- bool
- default BUSYBOX_DEFAULT_IPTUNNEL
- depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
-
-config BUSYBOX_CONFIG_IPRULE
- bool
- default BUSYBOX_DEFAULT_IPRULE
- depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_RULE
-
-config BUSYBOX_CONFIG_IPNEIGH
- bool
- default BUSYBOX_DEFAULT_IPNEIGH
- depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_NEIGH
-
config BUSYBOX_CONFIG_IPCALC
bool "ipcalc"
default BUSYBOX_DEFAULT_IPCALC
@@ -814,13 +599,84 @@ config BUSYBOX_CONFIG_FEATURE_IPCALC_LONG_OPTIONS
depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_LONG_OPTS
help
Support long options for the ipcalc applet.
+config BUSYBOX_CONFIG_FAKEIDENTD
+ bool "fakeidentd"
+ default BUSYBOX_DEFAULT_FAKEIDENTD
+ select BUSYBOX_CONFIG_FEATURE_SYSLOG
+ help
+ fakeidentd listens on the ident port and returns a predefined
+ fake value on any query.
+config BUSYBOX_CONFIG_NAMEIF
+ bool "nameif"
+ default BUSYBOX_DEFAULT_NAMEIF
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ select BUSYBOX_CONFIG_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: IFNAMSIZ = 16
+ File fields are separated by space or tab.
+ File format:
+ # Comment
+ new_interface_name XX:XX:XX:XX:XX:XX
+config BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED
+ bool "Extended nameif"
+ default BUSYBOX_DEFAULT_FEATURE_NAMEIF_EXTENDED
+ depends on BUSYBOX_CONFIG_NAMEIF
+ help
+ This extends the nameif syntax to support the bus_info, driver,
+ phyaddr selectors. The syntax is compatible to the normal nameif.
+ File format:
+ new_interface_name driver=asix bus=usb-0000:00:08.2-3
+ new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
+ new_interface_name phy_address=2 00:80:C8:38:91:B5
+ new_interface_name mac=00:80:C8:38:91:B5
+ new_interface_name 00:80:C8:38:91:B5
+config BUSYBOX_CONFIG_NBDCLIENT
+ bool "nbd-client"
+ default BUSYBOX_DEFAULT_NBDCLIENT
+ help
+ Network block device client
+config BUSYBOX_CONFIG_NC
+ bool "nc"
+ default BUSYBOX_DEFAULT_NC
+ help
+ A simple Unix utility which reads and writes data across network
+ connections.
+
+config BUSYBOX_CONFIG_NC_SERVER
+ bool "Netcat server options (-l)"
+ default BUSYBOX_DEFAULT_NC_SERVER
+ depends on BUSYBOX_CONFIG_NC
+ help
+ Allow netcat to act as a server.
+
+config BUSYBOX_CONFIG_NC_EXTRA
+ bool "Netcat extensions (-eiw and -f FILE)"
+ default BUSYBOX_DEFAULT_NC_EXTRA
+ depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_NC_110_COMPAT
+ bool "Netcat 1.10 compatibility (+2.5k)"
+ default BUSYBOX_DEFAULT_NC_110_COMPAT # off specially for Rob
+ depends on BUSYBOX_CONFIG_NC
+ help
+ This option makes nc closely follow original nc-1.10.
+ The code is about 2.5k bigger. It enables
+ -s ADDR, -n, -u, -v, -o FILE, -z options, but loses
+ busybox-specific extensions: -f FILE.
config BUSYBOX_CONFIG_NETMSG
bool "netmsg"
default BUSYBOX_DEFAULT_NETMSG
help
simple program for sending udp broadcast messages
-
config BUSYBOX_CONFIG_NETSTAT
bool "netstat"
default BUSYBOX_DEFAULT_NETSTAT
@@ -843,13 +699,11 @@ config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG
help
Add support for -p flag to print out PID and program name.
+700 bytes of code.
-
config BUSYBOX_CONFIG_NSLOOKUP
bool "nslookup"
default BUSYBOX_DEFAULT_NSLOOKUP
help
nslookup is a tool to query Internet name servers.
-
config BUSYBOX_CONFIG_NTPD
bool "ntpd"
default BUSYBOX_DEFAULT_NTPD
@@ -872,20 +726,39 @@ config BUSYBOX_CONFIG_FEATURE_NTPD_CONF
help
Make ntpd look in /etc/ntp.conf for peers. Only "server address"
is supported.
+config BUSYBOX_CONFIG_PING
+ bool "ping"
+ default BUSYBOX_DEFAULT_PING
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
+ elicit an ICMP ECHO_RESPONSE from a host or gateway.
+config BUSYBOX_CONFIG_PING6
+ bool "ping6"
+ default BUSYBOX_DEFAULT_PING6
+ depends on BUSYBOX_CONFIG_FEATURE_IPV6
+ help
+ This will give you a ping that can talk IPv6.
+
+config BUSYBOX_CONFIG_FEATURE_FANCY_PING
+ bool "Enable fancy ping output"
+ default BUSYBOX_DEFAULT_FEATURE_FANCY_PING
+ depends on BUSYBOX_CONFIG_PING || BUSYBOX_CONFIG_PING6
+ help
+ Make the output from the ping applet include statistics, and at the
+ same time provide full support for ICMP packets.
config BUSYBOX_CONFIG_PSCAN
bool "pscan"
default BUSYBOX_DEFAULT_PSCAN
help
Simple network port scanner.
-
config BUSYBOX_CONFIG_ROUTE
bool "route"
default BUSYBOX_DEFAULT_ROUTE
select BUSYBOX_CONFIG_PLATFORM_LINUX
help
Route displays or manipulates the kernel's IP routing tables.
-
config BUSYBOX_CONFIG_SLATTACH
bool "slattach"
default BUSYBOX_DEFAULT_SLATTACH
@@ -893,17 +766,6 @@ config BUSYBOX_CONFIG_SLATTACH
help
slattach is a small utility to attach network interfaces to serial
lines.
-
-#config TC
-# bool "tc"
-# default y
-# help
-# show / manipulate traffic control settings
-#
-#config FEATURE_TC_INGRESS
-# def_bool n
-# depends on TC
-
config BUSYBOX_CONFIG_TCPSVD
bool "tcpsvd"
default BUSYBOX_DEFAULT_TCPSVD
@@ -911,6 +773,12 @@ config BUSYBOX_CONFIG_TCPSVD
tcpsvd listens on a TCP port and runs a program for each new
connection.
+config BUSYBOX_CONFIG_UDPSVD
+ bool "udpsvd"
+ default BUSYBOX_DEFAULT_UDPSVD
+ help
+ udpsvd listens on an UDP port and runs a program for each new
+ connection.
config BUSYBOX_CONFIG_TELNET
bool "telnet"
default BUSYBOX_DEFAULT_TELNET
@@ -936,7 +804,6 @@ config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN
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 BUSYBOX_CONFIG_TELNETD
bool "telnetd"
default BUSYBOX_DEFAULT_TELNETD
@@ -978,7 +845,6 @@ config BUSYBOX_CONFIG_TELNETD
with all that done, telnetd _should_ work....
-
config BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE
bool "Support standalone telnetd (not inetd only)"
default BUSYBOX_DEFAULT_FEATURE_TELNETD_STANDALONE
@@ -1006,7 +872,6 @@ config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD_WAIT
This option is rarely used. "tcp nowait" is much more usual
way of running tcp services, including telnetd.
You most probably want to say N here.
-
config BUSYBOX_CONFIG_TFTP
bool "tftp"
default BUSYBOX_DEFAULT_TFTP
@@ -1071,7 +936,6 @@ config BUSYBOX_CONFIG_TFTP_DEBUG
help
Make tftp[d] print debugging messages on stderr.
This is useful if you are diagnosing a bug in tftp[d].
-
config BUSYBOX_CONFIG_TRACEROUTE
bool "traceroute"
default BUSYBOX_DEFAULT_TRACEROUTE
@@ -1082,33 +946,24 @@ config BUSYBOX_CONFIG_TRACEROUTE
config BUSYBOX_CONFIG_TRACEROUTE6
bool "traceroute6"
default BUSYBOX_DEFAULT_TRACEROUTE6
- depends on BUSYBOX_CONFIG_FEATURE_IPV6 && BUSYBOX_CONFIG_TRACEROUTE
+ depends on BUSYBOX_CONFIG_FEATURE_IPV6
help
Utility to trace the route of IPv6 packets.
config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE
bool "Enable verbose output"
default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_VERBOSE
- depends on BUSYBOX_CONFIG_TRACEROUTE
+ depends on BUSYBOX_CONFIG_TRACEROUTE || BUSYBOX_CONFIG_TRACEROUTE6
help
Add some verbosity to traceroute. This includes among other things
hostnames and ICMP response types.
-config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
- bool "Enable loose source route"
- default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_SOURCE_ROUTE
- depends on BUSYBOX_CONFIG_TRACEROUTE
- help
- Add option to specify a loose source route gateway
- (8 maximum).
-
config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP
- bool "Use ICMP instead of UDP"
+ bool "Enable -I option (use ICMP instead of UDP)"
default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_USE_ICMP
- depends on BUSYBOX_CONFIG_TRACEROUTE
+ depends on BUSYBOX_CONFIG_TRACEROUTE || BUSYBOX_CONFIG_TRACEROUTE6
help
Add option -I to use ICMP ECHO instead of UDP datagrams.
-
config BUSYBOX_CONFIG_TUNCTL
bool "tunctl"
default BUSYBOX_DEFAULT_TUNCTL
@@ -1123,32 +978,101 @@ config BUSYBOX_CONFIG_FEATURE_TUNCTL_UG
help
Allow to specify owner and group of newly created interface.
340 bytes of pure bloat. Say no here.
+config BUSYBOX_CONFIG_VCONFIG
+ bool "vconfig"
+ default BUSYBOX_DEFAULT_VCONFIG
+ select BUSYBOX_CONFIG_PLATFORM_LINUX
+ help
+ Creates, removes, and configures VLAN interfaces
+config BUSYBOX_CONFIG_WGET
+ bool "wget"
+ default BUSYBOX_DEFAULT_WGET
+ help
+ wget is a utility for non-interactive download of files from HTTP
+ and FTP servers.
-source udhcp/Config.in
+config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR
+ bool "Enable a nifty process meter (+2k)"
+ default BUSYBOX_DEFAULT_FEATURE_WGET_STATUSBAR
+ depends on BUSYBOX_CONFIG_WGET
+ help
+ Enable the transfer progress bar for wget transfers.
-config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS
- string "ifup udhcpc command line options"
- default BUSYBOX_DEFAULT_IFUPDOWN_UDHCPC_CMD_OPTIONS
- depends on BUSYBOX_CONFIG_IFUPDOWN && BUSYBOX_CONFIG_UDHCPC
+config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION
+ bool "Enable HTTP authentication"
+ default BUSYBOX_DEFAULT_FEATURE_WGET_AUTHENTICATION
+ depends on BUSYBOX_CONFIG_WGET
help
- Command line options to pass to udhcpc from ifup.
- Intended to alter options not available in /etc/network/interfaces.
- (IE: --syslog --background etc...)
+ Support authenticated HTTP transfers.
-config BUSYBOX_CONFIG_UDPSVD
- bool "udpsvd"
- default BUSYBOX_DEFAULT_UDPSVD
+config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS
+ bool "Enable long options"
+ default BUSYBOX_DEFAULT_FEATURE_WGET_LONG_OPTIONS
+ depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_LONG_OPTS
help
- udpsvd listens on an UDP port and runs a program for each new
- connection.
+ Support long options for the wget applet.
-config BUSYBOX_CONFIG_VCONFIG
- bool "vconfig"
- default BUSYBOX_DEFAULT_VCONFIG
- select BUSYBOX_CONFIG_PLATFORM_LINUX
+config BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT
+ bool "Enable timeout option -T SEC"
+ default BUSYBOX_DEFAULT_FEATURE_WGET_TIMEOUT
+ depends on BUSYBOX_CONFIG_WGET
help
- Creates, removes, and configures VLAN interfaces
+ Supports network read and connect timeouts for wget,
+ so that wget will give up and timeout, through the -T
+ command line option.
+
+ Currently only connect and network data read timeout are
+ supported (i.e., timeout is not applied to the DNS query). When
+ FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option
+ will work in addition to -T.
+
+config BUSYBOX_CONFIG_FEATURE_WGET_OPENSSL
+ bool "Try to connect to HTTPS using openssl"
+ default BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL
+ depends on BUSYBOX_CONFIG_WGET
+ help
+ Choose how wget establishes SSL connection for https:// URLs.
+
+ Busybox itself contains no SSL code. wget will spawn
+ a helper program to talk over HTTPS.
+
+ OpenSSL has a simple SSL client for debug purposes.
+ If you select "openssl" helper, wget will effectively run:
+ "openssl s_client -quiet -connect hostname:443
+ -servername hostname 2>/dev/null" and pipe its data
+ through it. -servername is not used if hostname is numeric.
+ Note inconvenient API: host resolution is done twice,
+ and there is no guarantee openssl's idea of IPv6 address
+ format is the same as ours.
+ Another problem is that s_client prints debug information
+ to stderr, and it needs to be suppressed. This means
+ all error messages get suppressed too.
+ openssl is also a big binary, often dynamically linked
+ against ~15 libraries.
+
+config BUSYBOX_CONFIG_FEATURE_WGET_SSL_HELPER
+ bool "Try to connect to HTTPS using ssl_helper"
+ default BUSYBOX_DEFAULT_FEATURE_WGET_SSL_HELPER
+ depends on BUSYBOX_CONFIG_WGET
+ help
+ Choose how wget establishes SSL connection for https:// URLs.
+
+ Busybox itself contains no SSL code. wget will spawn
+ a helper program to talk over HTTPS.
+ ssl_helper is a tool which can be built statically
+ from busybox sources against a small embedded SSL library.
+ Please see networking/ssl_helper/README.
+ It does not require double host resolution and emits
+ error messages to stderr.
+
+ Precompiled static binary may be available at
+ http://busybox.net/downloads/binaries/
+config BUSYBOX_CONFIG_WHOIS
+ bool "whois"
+ default BUSYBOX_DEFAULT_WHOIS
+ help
+ whois is a client for the whois directory service
config BUSYBOX_CONFIG_ZCIP
bool "zcip"
default BUSYBOX_DEFAULT_ZCIP
@@ -1162,4 +1086,15 @@ config BUSYBOX_CONFIG_ZCIP
See http://www.zeroconf.org for further details, and "zcip.script"
in the busybox examples.
+source udhcp/Config.in
+
+config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS
+ string "ifup udhcpc command line options"
+ default BUSYBOX_DEFAULT_IFUPDOWN_UDHCPC_CMD_OPTIONS
+ depends on BUSYBOX_CONFIG_IFUPDOWN && BUSYBOX_CONFIG_UDHCPC
+ help
+ Command line options to pass to udhcpc from ifup.
+ Intended to alter options not available in /etc/network/interfaces.
+ (IE: --syslog --background etc...)
+
endmenu
diff --git a/package/utils/busybox/config/networking/udhcp/Config.in b/package/utils/busybox/config/networking/udhcp/Config.in
index 4f48400225..cdba5d5d17 100644
--- a/package/utils/busybox/config/networking/udhcp/Config.in
+++ b/package/utils/busybox/config/networking/udhcp/Config.in
@@ -22,7 +22,6 @@ config BUSYBOX_CONFIG_UDHCPD
config BUSYBOX_CONFIG_DHCPRELAY
bool "dhcprelay"
default BUSYBOX_DEFAULT_DHCPRELAY
- depends on BUSYBOX_CONFIG_UDHCPD
help
dhcprelay listens for dhcp requests on one or more interfaces
and forwards these requests to a different interface or dhcp
@@ -31,7 +30,6 @@ config BUSYBOX_CONFIG_DHCPRELAY
config BUSYBOX_CONFIG_DUMPLEASES
bool "Lease display utility (dumpleases)"
default BUSYBOX_DEFAULT_DUMPLEASES
- depends on BUSYBOX_CONFIG_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