1#
2# For a description of the syntax of this configuration file,
3# see docs/Kconfig-language.txt.
4#
5
6menu "Networking Utilities"
7
8config FEATURE_IPV6
9	bool "Enable IPv6 support"
10	default y
11	help
12	Enable IPv6 support in busybox.
13	This adds IPv6 support in the networking applets.
14
15config FEATURE_UNIX_LOCAL
16	bool "Enable Unix domain socket support (usually not needed)"
17	default n
18	help
19	Enable Unix domain socket support in all busybox networking
20	applets.  Address of the form local:/path/to/unix/socket
21	will be recognized.
22
23	This extension is almost never used in real world usage.
24	You most likely want to say N.
25
26config FEATURE_PREFER_IPV4_ADDRESS
27	bool "Prefer IPv4 addresses from DNS queries"
28	default y
29	depends on FEATURE_IPV6
30	help
31	Use IPv4 address of network host if it has one.
32
33	If this option is off, the first returned address will be used.
34	This may cause problems when your DNS server is IPv6-capable and
35	is returning IPv6 host addresses too. If IPv6 address
36	precedes IPv4 one in DNS reply, busybox network applets
37	(e.g. wget) will use IPv6 address. On an IPv6-incapable host
38	or network applets will fail to connect to the host
39	using IPv6 address.
40
41config VERBOSE_RESOLUTION_ERRORS
42	bool "Verbose resolution errors"
43	default n
44	help
45	Enable if you are not satisfied with simplistic
46	"can't resolve 'hostname.com'" and want to know more.
47	This may increase size of your executable a bit.
48
49config FEATURE_ETC_NETWORKS
50	bool "Support /etc/networks"
51	default n
52	help
53	Enable support for network names in /etc/networks. This is
54	a rarely used feature which allows you to use names
55	instead of IP/mask pairs in route command.
56
57config FEATURE_ETC_SERVICES
58	bool "Consult /etc/services even for well-known ports"
59	default n
60	help
61	Look up e.g. "telnet" and "http" in /etc/services file
62	instead of assuming ports 23 and 80.
63	This is almost never necessary (everybody uses standard ports),
64	and it makes sense to avoid reading this file.
65	If you disable this option, in the cases where port is explicitly
66	specified as a service name (e.g. "telnet HOST PORTNAME"),
67	it will still be looked up in /etc/services.
68
69config FEATURE_HWIB
70	bool "Support infiniband HW"
71	default y
72	help
73	Support for printing infiniband addresses in network applets.
74
75config FEATURE_TLS_SHA1
76	bool "In TLS code, support ciphers which use deprecated SHA1"
77	depends on TLS
78	default n
79	help
80	Selecting this option increases interoperability with very old
81	servers, but slightly increases code size.
82
83	Most TLS servers support SHA256 today (2018), since SHA1 is
84	considered possibly insecure (although not yet definitely broken).
85
86INSERT
87
88source networking/udhcp/Config.in
89
90config IFUPDOWN_UDHCPC_CMD_OPTIONS
91	string "ifup udhcpc command line options"
92	default "-R -n"
93	depends on IFUP || IFDOWN
94	help
95	Command line options to pass to udhcpc from ifup.
96	Intended to alter options not available in /etc/network/interfaces.
97	(IE: --syslog --background etc...)
98
99endmenu
100