blob: 8c7417f86bf1eb024eeb75d12d78db3877882059 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Networking Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010config FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 bool "Enable IPv6 support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000013 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +000014 Enable IPv6 support in busybox.
15 This adds IPv6 support in the networking applets.
Eric Andersenc9f20d92002-12-05 08:41:41 +000016
Denis Vlasenkof6b46852009-04-25 13:16:53 +000017config FEATURE_UNIX_LOCAL
Denys Vlasenko47aaa2b2009-05-01 03:00:04 +020018 bool "Enable Unix domain socket support (usually not needed)"
Denis Vlasenkof6b46852009-04-25 13:16:53 +000019 default n
20 help
21 Enable Unix domain socket support in all busybox networking
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +020022 applets. Address of the form local:/path/to/unix/socket
23 will be recognized.
24
25 This extension is almost never used in real world usage.
26 You most likely want to say N.
Denis Vlasenkof6b46852009-04-25 13:16:53 +000027
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000028config FEATURE_PREFER_IPV4_ADDRESS
Bernhard Reutner-Fischer97b954d2009-02-14 13:17:48 +000029 bool "Prefer IPv4 addresses from DNS queries"
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000030 default y
31 depends on FEATURE_IPV6
32 help
33 Use IPv4 address of network host if it has one.
34
35 If this option is off, the first returned address will be used.
36 This may cause problems when your DNS server is IPv6-capable and
37 is returning IPv6 host addresses too. If IPv6 address
38 precedes IPv4 one in DNS reply, busybox network applets
39 (e.g. wget) will use IPv6 address. On an IPv6-incapable host
40 or network applets will fail to connect to the host
41 using IPv6 address.
42
Denis Vlasenko5de9e9c2007-01-22 22:46:04 +000043config VERBOSE_RESOLUTION_ERRORS
44 bool "Verbose resolution errors"
45 default n
46 help
47 Enable if you are not satisfied with simplistic
48 "can't resolve 'hostname.com'" and want to know more.
49 This may increase size of your executable a bit.
50
Denis Vlasenkofa85b862007-01-07 01:24:12 +000051config ARP
52 bool "arp"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020053 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010054 select PLATFORM_LINUX
Denis Vlasenkofa85b862007-01-07 01:24:12 +000055 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000056 Manipulate the system ARP cache.
Denis Vlasenkofa85b862007-01-07 01:24:12 +000057
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000058config ARPING
Glenn L McGrath9e598412003-01-09 10:06:01 +000059 bool "arping"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020060 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010061 select PLATFORM_LINUX
Glenn L McGrath9e598412003-01-09 10:06:01 +000062 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000063 Ping hosts by ARP packets.
Glenn L McGrath9e598412003-01-09 10:06:01 +000064
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000065config BRCTL
66 bool "brctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020067 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010068 select PLATFORM_LINUX
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000069 help
70 Manage ethernet bridges.
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000071 Supports addbr/delbr and addif/delif.
72
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000073config FEATURE_BRCTL_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000074 bool "Fancy options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020075 default y
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000076 depends on BRCTL
77 help
78 Add support for extended option like:
79 setageing, setfd, sethello, setmaxage,
80 setpathcost, setportprio, setbridgeprio,
81 stp
Bernhard Reutner-Fischer2b11fb42008-01-14 16:10:11 +000082 This adds about 600 bytes.
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000083
Denis Vlasenko278a1c22008-04-06 07:17:02 +000084config FEATURE_BRCTL_SHOW
Nicolas Thillf47ce072012-09-25 14:06:01 +020085 bool "Support show"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020086 default y
Denis Vlasenko278a1c22008-04-06 07:17:02 +000087 depends on BRCTL && FEATURE_BRCTL_FANCY
88 help
89 Add support for option which prints the current config:
Nicolas Thillf47ce072012-09-25 14:06:01 +020090 show
Denis Vlasenko278a1c22008-04-06 07:17:02 +000091
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000092config DNSD
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000093 bool "dnsd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020094 default y
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000095 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +000096 Small and static DNS server daemon.
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000097
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000098config ETHER_WAKE
Mike Frysingerb662f0d2005-05-11 03:59:53 +000099 bool "ether-wake"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200100 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100101 select PLATFORM_LINUX
Mike Frysingerb662f0d2005-05-11 03:59:53 +0000102 help
103 Send a magic packet to wake up sleeping machines.
104
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000105config FAKEIDENTD
Mike Frysingerfa69f112005-04-17 07:24:19 +0000106 bool "fakeidentd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200107 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000108 select FEATURE_SYSLOG
Mike Frysingerfa69f112005-04-17 07:24:19 +0000109 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000110 fakeidentd listens on the ident port and returns a predefined
111 fake value on any query.
Mike Frysingerfa69f112005-04-17 07:24:19 +0000112
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000113config FTPD
114 bool "ftpd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200115 default y
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000116 help
117 simple FTP daemon. You have to run it via inetd.
118
119config FEATURE_FTP_WRITE
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000120 bool "Enable upload commands"
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000121 default y
122 depends on FTPD
123 help
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000124 Enable all kinds of FTP upload commands (-w option)
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000125
Stefan Seyfriedf3fc9ac2010-01-18 02:08:30 +0100126config FEATURE_FTPD_ACCEPT_BROKEN_LIST
127 bool "Enable workaround for RFC-violating clients"
128 default y
129 depends on FTPD
130 help
Denys Vlasenko238c83b2010-04-21 18:05:10 -0400131 Some ftp clients (among them KDE's Konqueror) issue illegal
132 "LIST -l" requests. This option works around such problems.
Stefan Seyfriedf3fc9ac2010-01-18 02:08:30 +0100133 It might prevent you from listing files starting with "-" and
134 it increases the code size by ~40 bytes.
135 Most other ftp servers seem to behave similar to this.
136
Morten Kvistgaardfeac9b62014-08-05 21:57:18 +0200137config FEATURE_FTP_AUTHENTICATION
138 bool "Enable authentication"
139 default y
140 depends on FTPD
141 help
142 Enable basic system login as seen in telnet etc.
143
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144config FTPGET
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000145 bool "ftpget"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200146 default y
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000147 help
148 Retrieve a remote file via FTP.
149
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000150config FTPPUT
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000151 bool "ftpput"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200152 default y
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000153 help
154 Store a remote file via FTP.
155
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000156config FEATURE_FTPGETPUT_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000157 bool "Enable long options in ftpget/ftpput"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200158 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200159 depends on LONG_OPTS && (FTPGET || FTPPUT)
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000160 help
161 Support long options for the ftpget/ftpput applet.
162
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000163config HOSTNAME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000164 bool "hostname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200165 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000166 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000167 Show or set the system's host name.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000168
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000169config HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000170 bool "httpd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200171 default y
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000172 help
173 Serve web pages via an HTTP server.
174
Denis Vlasenkof4310172007-09-21 22:35:18 +0000175config FEATURE_HTTPD_RANGES
176 bool "Support 'Ranges:' header"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200177 default y
Denis Vlasenkof4310172007-09-21 22:35:18 +0000178 depends on HTTPD
179 help
180 Makes httpd emit "Accept-Ranges: bytes" header and understand
181 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
182 downloads, seeking in multimedia players etc.
183
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000184config FEATURE_HTTPD_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000185 bool "Enable -u <user> option"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200186 default y
Denis Vlasenkodb506472006-12-17 20:18:05 +0000187 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000188 help
189 This option allows the server to run as a specific user
190 rather than defaulting to the user that starts the server.
191 Use of this option requires special privileges to change to a
192 different user.
193
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000194config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000195 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000196 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000198 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000199 Utilizes password settings from /etc/httpd.conf for basic
200 authentication on a per url basis.
Denys Vlasenko35def512012-02-01 02:42:54 +0100201 Example for httpd.conf file:
202 /adm:toor:PaSsWd
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000203
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000204config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000205 bool "Support MD5 crypted passwords for http Authentication"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200206 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000207 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000208 help
Denys Vlasenko35def512012-02-01 02:42:54 +0100209 Enables encrypted passwords, and wildcard user/passwords
210 in httpd.conf file.
211 User '*' means 'any system user name is ok',
212 password of '*' means 'use system password for this user'
213 Examples:
214 /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0
215 /adm:root:*
216 /wiki:*:*
Eric Andersen35e643b2003-07-28 07:40:39 +0000217
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000218config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000219 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000220 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000221 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000222 help
223 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000224 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000225
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000226config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000227 bool "Support for running scripts through an interpreter"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200228 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000229 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000230 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000231 This option enables support for running scripts through an
232 interpreter. Turn this on if you want PHP scripts to work
Denys Vlasenko35def512012-02-01 02:42:54 +0100233 properly. You need to supply an additional line in your
234 httpd.conf file:
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000235 *.php:/path/to/your/php
236
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000237config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000238 bool "Set REMOTE_PORT environment variable for CGI"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200239 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000240 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000241 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000242 Use of this option can assist scripts in generating
243 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000244
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000245config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000246 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000247 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000248 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000249 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000250 This option allows html encoding of arbitrary strings for display
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000251 by the browser. Output goes to stdout.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000252 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000253 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000254
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000255config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000256 bool "Support for custom error pages"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200257 default y
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000258 depends on HTTPD
259 help
260 This option allows you to define custom error pages in
261 the configuration file instead of the default HTTP status
262 error pages. For instance, if you add the line:
263 E404:/path/e404.html
264 in the config file, the server will respond the specified
265 '/path/e404.html' file instead of the terse '404 NOT FOUND'
266 message.
267
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000268config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000269 bool "Support for reverse proxy"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200270 default y
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000271 depends on HTTPD
272 help
273 This option allows you to define URLs that will be forwarded
274 to another HTTP server. To setup add the following line to the
275 configuration file
276 P:/url/:http://hostname[:port]/new/path/
277 Then a request to /url/myfile will be forwarded to
278 http://hostname[:port]/new/path/myfile.
279
Peter Korsgaard7a2ba322010-07-25 03:20:53 +0200280config FEATURE_HTTPD_GZIP
281 bool "Support for GZIP content encoding"
282 default y
283 depends on HTTPD
284 help
285 Makes httpd send files using GZIP content encoding if the
286 client supports it and a pre-compressed <file>.gz exists.
287
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000288config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000289 bool "ifconfig"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200290 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100291 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000292 help
Eric Andersene5642112003-07-14 19:37:08 +0000293 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000294
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000295config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000296 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000297 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000298 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000299 help
Eric Andersene5642112003-07-14 19:37:08 +0000300 If ifconfig is called with no arguments it will display the status
301 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000302
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000303config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000304 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200305 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000307 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000308 Allow "keepalive" and "outfill" support for SLIP. If you're not
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000309 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000311config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000312 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200313 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000314 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000315 help
Eric Andersene5642112003-07-14 19:37:08 +0000316 Allow the start address for shared memory, start address for I/O,
317 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000318
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000319config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000320 bool "Enable option \"hw\" (ether only)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000321 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000322 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000323 help
Eric Andersene5642112003-07-14 19:37:08 +0000324 Set the hardware address of this interface, if the device driver
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000325 supports this operation. Currently, we only support the 'ether'
Eric Andersene5642112003-07-14 19:37:08 +0000326 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000327
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000328config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000329 bool "Set the broadcast automatically"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200330 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000331 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000332 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000333 Setting this will make ifconfig attempt to find the broadcast
334 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000335
Denis Vlasenko06aed432008-02-26 18:25:24 +0000336config IFENSLAVE
337 bool "ifenslave"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200338 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100339 select PLATFORM_LINUX
Denis Vlasenko06aed432008-02-26 18:25:24 +0000340 help
341 Userspace application to bind several interfaces
342 to a logical interface (use with kernel bonding driver).
343
Denis Vlasenko71c16572009-04-26 01:08:51 +0000344config IFPLUGD
345 bool "ifplugd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200346 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100347 select PLATFORM_LINUX
Denis Vlasenko71c16572009-04-26 01:08:51 +0000348 help
349 Network interface plug detection daemon.
350
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000351config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000352 bool "ifupdown"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200353 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000354 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000355 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000356 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000357 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000358 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000359 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000360 course you could use non-busybox versions of these programs, so
361 against my better judgement (since this will surely result in plenty
362 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000363 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000364 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000365 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000366
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000367config IFUPDOWN_IFSTATE_PATH
368 string "Absolute path to ifstate file"
369 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000370 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000371 help
372 ifupdown keeps state information in a file called ifstate.
373 Typically it is located in /var/run/ifstate, however
374 some distributions tend to put it in other places
375 (debian, for example, uses /etc/network/run/ifstate).
376 This config option defines location of ifstate.
377
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000378config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000379 bool "Use ip applet"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200380 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000381 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000382 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000383 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
384 than the default of using the older 'ifconfig' and 'route' utilities.
385
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000386config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000387 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000388 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100389 depends on FEATURE_IFUPDOWN_IP
390 select PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000391 select IP
392 select FEATURE_IP_ADDRESS
393 select FEATURE_IP_LINK
394 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000395 help
396 Use the busybox iproute "ip" applet to implement "ifupdown".
397
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000398 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000399 utility or the "ifup" and "ifdown" applets will not work.
400
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000401config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000402 bool "Use busybox ifconfig and route applets"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200403 default n
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000404 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000405 select IFCONFIG
406 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000407 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000408 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000409 implement the "ifup" and "ifdown" utilities.
410
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000411 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000412 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000413 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000414
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000415config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000416 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000417 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000418 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000419 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000420 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000421
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000422config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000423 bool "Support for IPv6"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200424 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000425 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000426 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000427 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000428
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000429### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000430###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000431### bool "Support for IPX"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200432### default y
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000433### depends on IFUPDOWN
434### help
435### If this option is selected you can use busybox to work with IPX
436### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000437
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000438config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000439 bool "Enable mapping support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200440 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000442 help
443 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000444 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000445
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000446config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000447 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000448 default n
449 depends on IFUPDOWN
450 help
451 This enables support for the external dhcp clients. Clients are
452 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
453 Otherwise, if udhcpc applet is enabled, it is used.
454 Otherwise, ifup/ifdown will have no support for DHCP.
455
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000456config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000457 bool "inetd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200458 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000459 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000460 help
461 Internet superserver daemon
462
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000463config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000464 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000465 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000466 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000467 help
468 Echo received data internal inetd service
469
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000470config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000471 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000472 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000473 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000474 help
475 Internet /dev/null internal inetd service
476
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000477config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000478 bool "Support time service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000479 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000480 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000481 help
482 Return 32 bit time since 1900 internal inetd service
483
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000484config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000485 bool "Support daytime service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000486 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000487 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000488 help
489 Return human-readable time internal inetd service
490
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000491config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000492 bool "Support chargen service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000493 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000494 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000495 help
496 Familiar character generator internal inetd service
497
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000498config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000499 bool "Support RPC services"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200500 default y
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000501 depends on INETD
502 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000503 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000504 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000505
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000506config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000507 bool "ip"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200508 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100509 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000510 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000511 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000512 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000513 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000514
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000515config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000516 bool "ip address"
517 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000518 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000519 help
520 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000521
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000522config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000523 bool "ip link"
524 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000525 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000526 help
527 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000528
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000529config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000530 bool "ip route"
531 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000532 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000533 help
534 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000535
Christoph J. Thompsond1eea8d2015-10-08 17:06:06 +0200536config FEATURE_IP_ROUTE_DIR
537 string "ip route configuration directory"
538 default "/etc/iproute2"
539 depends on FEATURE_IP_ROUTE
540 help
541 Location of the "ip" applet routing configuration.
542
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000543config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000544 bool "ip tunnel"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200545 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000546 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000547 help
548 Add support for tunneling commands to "ip".
549
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000550config FEATURE_IP_RULE
551 bool "ip rule"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200552 default y
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000553 depends on IP
554 help
555 Add support for rule commands to "ip".
556
Curt Brune69934702015-10-14 12:53:47 +0200557config FEATURE_IP_NEIGH
558 bool "ip neighbor"
559 default y
560 depends on IP
561 help
562 Add support for neighbor commands to "ip".
563
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000564config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000565 bool "Support short forms of ip commands"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200566 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000567 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000568 help
569 Also support short-form of ip <OBJECT> commands:
570 ip addr -> ipaddr
571 ip link -> iplink
572 ip route -> iproute
573 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000574 ip rule -> iprule
Curt Brune69934702015-10-14 12:53:47 +0200575 ip neigh -> ipneigh
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000576
577 Say N unless you desparately need the short form of the ip
578 object commands.
579
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000580config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000581 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000582 default n
583 depends on IP
584 help
585 If you are not going to use links of type "frad", "econet",
586 "bif" etc, you probably don't need to enable this.
587 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
588 link types are supported without this option selected.
589
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000590config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000591 bool
592 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000593 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000594
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000595config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000596 bool
597 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000598 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000599
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000601 bool
602 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000603 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000604
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000605config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000606 bool
607 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000608 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000609
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000610config IPRULE
611 bool
612 default y
613 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
614
Curt Brune69934702015-10-14 12:53:47 +0200615config IPNEIGH
616 bool
617 default y
618 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_NEIGH
619
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000620config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000621 bool "ipcalc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200622 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000623 help
Eric Andersene5642112003-07-14 19:37:08 +0000624 ipcalc takes an IP address and netmask and calculates the
625 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000626
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000627config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000628 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000629 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000630 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000631 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000632 Adds the options hostname, prefix and silent to the output of
633 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000634
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000635config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000636 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200637 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200638 depends on IPCALC && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000639 help
640 Support long options for the ipcalc applet.
641
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000642config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000643 bool "netstat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200644 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100645 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000646 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000647 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000648
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000649config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000650 bool "Enable wide netstat output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200651 default y
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000652 depends on NETSTAT
653 help
654 Add support for wide columns. Useful when displaying IPv6 addresses
655 (-W option).
656
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000657config FEATURE_NETSTAT_PRG
658 bool "Enable PID/Program name output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200659 default y
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000660 depends on NETSTAT
661 help
662 Add support for -p flag to print out PID and program name.
663 +700 bytes of code.
664
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000665config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000666 bool "nslookup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200667 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000668 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000669 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000670
Adam Tkacb1585062009-11-22 03:43:55 +0100671config NTPD
672 bool "ntpd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200673 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100674 select PLATFORM_LINUX
Adam Tkacb1585062009-11-22 03:43:55 +0100675 help
676 The NTP client/server daemon.
677
678config FEATURE_NTPD_SERVER
Denys Vlasenko345e0932010-03-31 16:03:56 +0200679 bool "Make ntpd usable as a NTP server"
680 default y
681 depends on NTPD
682 help
Denys Vlasenko60b95242010-01-14 01:11:54 +0100683 Make ntpd usable as a NTP server. If you disable this option
Adam Tkacb1585062009-11-22 03:43:55 +0100684 ntpd will be usable only as a NTP client.
685
Denys Vlasenko504fe452014-03-23 15:06:38 +0100686config FEATURE_NTPD_CONF
687 bool "Make ntpd understand /etc/ntp.conf"
688 default y
689 depends on NTPD
690 help
691 Make ntpd look in /etc/ntp.conf for peers. Only "server address"
692 is supported.
693
Paul Fox0b2b5842008-02-01 23:25:32 +0000694config PSCAN
695 bool "pscan"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200696 default y
Paul Fox0b2b5842008-02-01 23:25:32 +0000697 help
698 Simple network port scanner.
699
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000700config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000701 bool "route"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200702 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100703 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000704 help
Eric Andersene5642112003-07-14 19:37:08 +0000705 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000706
Denis Vlasenko14923db2007-06-20 15:23:03 +0000707config SLATTACH
708 bool "slattach"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200709 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100710 select PLATFORM_LINUX
Denis Vlasenko14923db2007-06-20 15:23:03 +0000711 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000712 slattach is a small utility to attach network interfaces to serial
713 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000714
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000715#config TC
716# bool "tc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200717# default y
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000718# help
719# show / manipulate traffic control settings
720#
721#config FEATURE_TC_INGRESS
722# def_bool n
723# depends on TC
724
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100725config TCPSVD
726 bool "tcpsvd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200727 default y
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100728 help
729 tcpsvd listens on a TCP port and runs a program for each new
730 connection.
731
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000732config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000733 bool "telnet"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200734 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000735 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000736 Telnet is an interface to the TELNET protocol, but is also commonly
737 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000738
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000739config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000740 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000741 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000742 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000743 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000744 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000745 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000746 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000747
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000748config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000749 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000750 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000751 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000752 help
753 Setting this option will forward the USER environment variable to the
754 remote host you are connecting to. This is useful when you need to
755 log into a machine without telling the username (autologin). This
756 option enables `-a' and `-l USER' arguments.
757
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000758config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000759 bool "telnetd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200760 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000761 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000762 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000763 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000764 running the daemon. Please keep in mind that the TELNET protocol
765 sends passwords in plain text. If you can't afford the space for an
766 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000767 more secure alternative, you should seriously consider installing the
768 very small Dropbear SSH daemon instead:
769 http://matt.ucc.asn.au/dropbear/dropbear.html
770
771 Note that for busybox telnetd to work you need several things:
772 First of all, your kernel needs:
Martin Kaiser1cbe93c2014-11-02 23:23:16 +0100773 CONFIG_UNIX98_PTYS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000774
775 Next, you need a /dev/pts directory on your root filesystem:
776
777 $ ls -ld /dev/pts
778 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
779
780 Next you need the pseudo terminal master multiplexer /dev/ptmx:
781
782 $ ls -la /dev/ptmx
783 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
784
785 Any /dev/ttyp[0-9]* files you may have can be removed.
786 Next, you need to mount the devpts filesystem on /dev/pts using:
787
788 mount -t devpts devpts /dev/pts
789
Denys Vlasenkod4d289a2010-10-12 04:18:05 +0200790 You need to be sure that busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000791 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000792 certain that Busybox has been installed setuid root:
793
794 chown root.root /bin/busybox
795 chmod 4755 /bin/busybox
796
797 with all that done, telnetd _should_ work....
798
Eric Andersenc9f20d92002-12-05 08:41:41 +0000799
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000800config FEATURE_TELNETD_STANDALONE
801 bool "Support standalone telnetd (not inetd only)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200802 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000803 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000804 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000805 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000806
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200807config FEATURE_TELNETD_INETD_WAIT
808 bool "Support -w SEC option (inetd wait mode)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200809 default y
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200810 depends on FEATURE_TELNETD_STANDALONE
811 help
812 This option allows you to run telnetd in "inet wait" mode.
813 Example inetd.conf line (note "wait", not usual "nowait"):
814
815 telnet stream tcp wait root /bin/telnetd telnetd -w10
816
817 In this example, inetd passes _listening_ socket_ as fd 0
818 to telnetd when connection appears.
819 telnetd will wait for connections until all existing
820 connections are closed, and no new connections
821 appear during 10 seconds. Then it exits, and inetd continues
822 to listen for new connections.
823
824 This option is rarely used. "tcp nowait" is much more usual
825 way of running tcp services, including telnetd.
826 You most probably want to say N here.
827
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000828config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000829 bool "tftp"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200830 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000831 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000832 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000833 is usually used for simple, small transfers such as a root image
834 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000835
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000836config TFTPD
837 bool "tftpd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200838 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000839 help
840 This enables the Trivial File Transfer Protocol server program.
841 It expects that stdin is a datagram socket and a packet
842 is already pending on it. It will exit after one transfer.
843 In other words: it should be run from inetd in nowait mode,
844 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
845
Denys Vlasenko0cc25942010-06-17 23:48:59 +0200846comment "Common options for tftp/tftpd"
847 depends on TFTP || TFTPD
848
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000849config FEATURE_TFTP_GET
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100850 bool "Enable 'tftp get' and/or tftpd upload code"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000851 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000852 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000853 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000854 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000855 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000856 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000857
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100858 Note: this option does _not_ make tftpd capable of download
859 (the usual operation people need from it)!
860
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000861config FEATURE_TFTP_PUT
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100862 bool "Enable 'tftp put' and/or tftpd download code"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000863 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000864 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000865 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000866 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000867 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000868 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000869
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000870config FEATURE_TFTP_BLOCKSIZE
Magnus Damm8bd0af92009-11-08 18:03:09 +0100871 bool "Enable 'blksize' and 'tsize' protocol options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200872 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000873 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000874 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000875 Allow tftp to specify block size, and tftpd to understand
Magnus Damm8bd0af92009-11-08 18:03:09 +0100876 "blksize" and "tsize" options.
877
878config FEATURE_TFTP_PROGRESS_BAR
879 bool "Enable tftp progress meter"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200880 default y
Magnus Damm8bd0af92009-11-08 18:03:09 +0100881 depends on TFTP && FEATURE_TFTP_BLOCKSIZE
882 help
883 Show progress bar.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000884
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000885config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000886 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000887 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000888 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000889 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200890 Make tftp[d] print debugging messages on stderr.
891 This is useful if you are diagnosing a bug in tftp[d].
Eric Andersenc9f20d92002-12-05 08:41:41 +0000892
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000893config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000894 bool "traceroute"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200895 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100896 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000897 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200898 Utility to trace the route of IP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000899
Leonid Lisovskiy4c065312009-11-23 06:20:09 +0100900config TRACEROUTE6
901 bool "traceroute6"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200902 default y
Leonid Lisovskiy4c065312009-11-23 06:20:09 +0100903 depends on FEATURE_IPV6 && TRACEROUTE
904 help
905 Utility to trace the route of IPv6 packets.
906
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000907config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000908 bool "Enable verbose output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200909 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000910 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000911 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000912 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000913 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000914
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000915config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000916 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000917 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000918 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000919 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000920 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000921 (8 maximum).
922
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000923config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000924 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000925 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000926 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000927 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000928 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000929
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100930config TUNCTL
931 bool "tunctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200932 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100933 select PLATFORM_LINUX
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100934 help
935 tunctl creates or deletes tun devices.
936
937config FEATURE_TUNCTL_UG
938 bool "Support owner:group assignment"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200939 default y
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100940 depends on TUNCTL
941 help
942 Allow to specify owner and group of newly created interface.
943 340 bytes of pure bloat. Say no here.
944
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000945source networking/udhcp/Config.in
946
Wade Berrier142c5cb2008-11-14 21:18:45 +0000947config IFUPDOWN_UDHCPC_CMD_OPTIONS
948 string "ifup udhcpc command line options"
949 default "-R -n"
Denys Vlasenko4662de02009-12-11 02:21:10 +0100950 depends on IFUPDOWN && UDHCPC
Wade Berrier142c5cb2008-11-14 21:18:45 +0000951 help
952 Command line options to pass to udhcpc from ifup.
953 Intended to alter options not available in /etc/network/interfaces.
954 (IE: --syslog --background etc...)
955
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100956config UDPSVD
957 bool "udpsvd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200958 default y
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100959 help
960 udpsvd listens on an UDP port and runs a program for each new
961 connection.
962
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000963config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000964 bool "vconfig"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200965 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100966 select PLATFORM_LINUX
Eric Andersen853c4942003-01-23 05:59:32 +0000967 help
968 Creates, removes, and configures VLAN interfaces
969
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000970config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000971 bool "zcip"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200972 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100973 select PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000974 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000975 help
976 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
977 It's a daemon that allocates and defends a dynamically assigned
978 address on the 169.254/16 network, requiring no system administrator.
979
980 See http://www.zeroconf.org for further details, and "zcip.script"
981 in the busybox examples.
982
Eric Andersenc9f20d92002-12-05 08:41:41 +0000983endmenu