blob: 76cbccf4ace3eb807c7cacf093dd918ccfe43882 [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000536config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000537 bool "ip tunnel"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200538 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000539 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000540 help
541 Add support for tunneling commands to "ip".
542
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000543config FEATURE_IP_RULE
544 bool "ip rule"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200545 default y
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000546 depends on IP
547 help
548 Add support for rule commands to "ip".
549
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000550config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000551 bool "Support short forms of ip commands"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200552 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000553 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000554 help
555 Also support short-form of ip <OBJECT> commands:
556 ip addr -> ipaddr
557 ip link -> iplink
558 ip route -> iproute
559 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000560 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000561
562 Say N unless you desparately need the short form of the ip
563 object commands.
564
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000565config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000566 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000567 default n
568 depends on IP
569 help
570 If you are not going to use links of type "frad", "econet",
571 "bif" etc, you probably don't need to enable this.
572 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
573 link types are supported without this option selected.
574
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000575config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000576 bool
577 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000578 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000579
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000580config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000581 bool
582 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000583 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000584
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000585config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000586 bool
587 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000588 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000589
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000590config IPTUNNEL
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_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000594
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000595config IPRULE
596 bool
597 default y
598 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
599
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000601 bool "ipcalc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200602 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000603 help
Eric Andersene5642112003-07-14 19:37:08 +0000604 ipcalc takes an IP address and netmask and calculates the
605 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000606
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000607config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000608 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000609 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000610 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000611 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000612 Adds the options hostname, prefix and silent to the output of
613 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000614
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000615config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000616 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200617 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200618 depends on IPCALC && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000619 help
620 Support long options for the ipcalc applet.
621
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000622config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000623 bool "netstat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200624 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100625 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000626 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000627 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000628
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000629config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000630 bool "Enable wide netstat output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200631 default y
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000632 depends on NETSTAT
633 help
634 Add support for wide columns. Useful when displaying IPv6 addresses
635 (-W option).
636
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000637config FEATURE_NETSTAT_PRG
638 bool "Enable PID/Program name output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200639 default y
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000640 depends on NETSTAT
641 help
642 Add support for -p flag to print out PID and program name.
643 +700 bytes of code.
644
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000645config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000646 bool "nslookup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200647 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000648 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000649 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000650
Adam Tkacb1585062009-11-22 03:43:55 +0100651config NTPD
652 bool "ntpd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200653 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100654 select PLATFORM_LINUX
Adam Tkacb1585062009-11-22 03:43:55 +0100655 help
656 The NTP client/server daemon.
657
658config FEATURE_NTPD_SERVER
Denys Vlasenko345e0932010-03-31 16:03:56 +0200659 bool "Make ntpd usable as a NTP server"
660 default y
661 depends on NTPD
662 help
Denys Vlasenko60b95242010-01-14 01:11:54 +0100663 Make ntpd usable as a NTP server. If you disable this option
Adam Tkacb1585062009-11-22 03:43:55 +0100664 ntpd will be usable only as a NTP client.
665
Denys Vlasenko504fe452014-03-23 15:06:38 +0100666config FEATURE_NTPD_CONF
667 bool "Make ntpd understand /etc/ntp.conf"
668 default y
669 depends on NTPD
670 help
671 Make ntpd look in /etc/ntp.conf for peers. Only "server address"
672 is supported.
673
Paul Fox0b2b5842008-02-01 23:25:32 +0000674config PSCAN
675 bool "pscan"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200676 default y
Paul Fox0b2b5842008-02-01 23:25:32 +0000677 help
678 Simple network port scanner.
679
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000680config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000681 bool "route"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200682 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100683 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000684 help
Eric Andersene5642112003-07-14 19:37:08 +0000685 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000686
Denis Vlasenko14923db2007-06-20 15:23:03 +0000687config SLATTACH
688 bool "slattach"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200689 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100690 select PLATFORM_LINUX
Denis Vlasenko14923db2007-06-20 15:23:03 +0000691 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000692 slattach is a small utility to attach network interfaces to serial
693 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000694
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000695#config TC
696# bool "tc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200697# default y
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000698# help
699# show / manipulate traffic control settings
700#
701#config FEATURE_TC_INGRESS
702# def_bool n
703# depends on TC
704
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100705config TCPSVD
706 bool "tcpsvd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200707 default y
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100708 help
709 tcpsvd listens on a TCP port and runs a program for each new
710 connection.
711
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000712config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000713 bool "telnet"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200714 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000715 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000716 Telnet is an interface to the TELNET protocol, but is also commonly
717 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000718
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000719config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000720 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000721 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000722 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000723 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000724 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000725 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000726 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000727
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000728config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000729 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000730 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000731 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000732 help
733 Setting this option will forward the USER environment variable to the
734 remote host you are connecting to. This is useful when you need to
735 log into a machine without telling the username (autologin). This
736 option enables `-a' and `-l USER' arguments.
737
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000738config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000739 bool "telnetd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200740 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000741 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000742 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000743 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000744 running the daemon. Please keep in mind that the TELNET protocol
745 sends passwords in plain text. If you can't afford the space for an
746 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000747 more secure alternative, you should seriously consider installing the
748 very small Dropbear SSH daemon instead:
749 http://matt.ucc.asn.au/dropbear/dropbear.html
750
751 Note that for busybox telnetd to work you need several things:
752 First of all, your kernel needs:
Martin Kaiser1cbe93c2014-11-02 23:23:16 +0100753 CONFIG_UNIX98_PTYS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000754
755 Next, you need a /dev/pts directory on your root filesystem:
756
757 $ ls -ld /dev/pts
758 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
759
760 Next you need the pseudo terminal master multiplexer /dev/ptmx:
761
762 $ ls -la /dev/ptmx
763 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
764
765 Any /dev/ttyp[0-9]* files you may have can be removed.
766 Next, you need to mount the devpts filesystem on /dev/pts using:
767
768 mount -t devpts devpts /dev/pts
769
Denys Vlasenkod4d289a2010-10-12 04:18:05 +0200770 You need to be sure that busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000771 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000772 certain that Busybox has been installed setuid root:
773
774 chown root.root /bin/busybox
775 chmod 4755 /bin/busybox
776
777 with all that done, telnetd _should_ work....
778
Eric Andersenc9f20d92002-12-05 08:41:41 +0000779
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000780config FEATURE_TELNETD_STANDALONE
781 bool "Support standalone telnetd (not inetd only)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200782 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000783 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000784 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000785 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000786
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200787config FEATURE_TELNETD_INETD_WAIT
788 bool "Support -w SEC option (inetd wait mode)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200789 default y
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200790 depends on FEATURE_TELNETD_STANDALONE
791 help
792 This option allows you to run telnetd in "inet wait" mode.
793 Example inetd.conf line (note "wait", not usual "nowait"):
794
795 telnet stream tcp wait root /bin/telnetd telnetd -w10
796
797 In this example, inetd passes _listening_ socket_ as fd 0
798 to telnetd when connection appears.
799 telnetd will wait for connections until all existing
800 connections are closed, and no new connections
801 appear during 10 seconds. Then it exits, and inetd continues
802 to listen for new connections.
803
804 This option is rarely used. "tcp nowait" is much more usual
805 way of running tcp services, including telnetd.
806 You most probably want to say N here.
807
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000808config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000809 bool "tftp"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200810 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000811 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000812 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000813 is usually used for simple, small transfers such as a root image
814 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000815
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000816config TFTPD
817 bool "tftpd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200818 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000819 help
820 This enables the Trivial File Transfer Protocol server program.
821 It expects that stdin is a datagram socket and a packet
822 is already pending on it. It will exit after one transfer.
823 In other words: it should be run from inetd in nowait mode,
824 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
825
Denys Vlasenko0cc25942010-06-17 23:48:59 +0200826comment "Common options for tftp/tftpd"
827 depends on TFTP || TFTPD
828
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000829config FEATURE_TFTP_GET
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100830 bool "Enable 'tftp get' and/or tftpd upload code"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000831 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000832 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000833 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000834 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000835 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000836 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000837
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100838 Note: this option does _not_ make tftpd capable of download
839 (the usual operation people need from it)!
840
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000841config FEATURE_TFTP_PUT
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100842 bool "Enable 'tftp put' and/or tftpd download code"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000843 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000844 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000845 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000846 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000847 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000848 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000849
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000850config FEATURE_TFTP_BLOCKSIZE
Magnus Damm8bd0af92009-11-08 18:03:09 +0100851 bool "Enable 'blksize' and 'tsize' protocol options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200852 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000853 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000854 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000855 Allow tftp to specify block size, and tftpd to understand
Magnus Damm8bd0af92009-11-08 18:03:09 +0100856 "blksize" and "tsize" options.
857
858config FEATURE_TFTP_PROGRESS_BAR
859 bool "Enable tftp progress meter"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200860 default y
Magnus Damm8bd0af92009-11-08 18:03:09 +0100861 depends on TFTP && FEATURE_TFTP_BLOCKSIZE
862 help
863 Show progress bar.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000864
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000865config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000866 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000867 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000868 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000869 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200870 Make tftp[d] print debugging messages on stderr.
871 This is useful if you are diagnosing a bug in tftp[d].
Eric Andersenc9f20d92002-12-05 08:41:41 +0000872
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000873config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000874 bool "traceroute"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200875 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100876 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000877 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200878 Utility to trace the route of IP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000879
Leonid Lisovskiy4c065312009-11-23 06:20:09 +0100880config TRACEROUTE6
881 bool "traceroute6"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200882 default y
Leonid Lisovskiy4c065312009-11-23 06:20:09 +0100883 depends on FEATURE_IPV6 && TRACEROUTE
884 help
885 Utility to trace the route of IPv6 packets.
886
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000887config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000888 bool "Enable verbose output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200889 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000890 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000891 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000892 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000893 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000894
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000895config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000896 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000897 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000898 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000899 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000900 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000901 (8 maximum).
902
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000903config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000904 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000905 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000906 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000907 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000908 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000909
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100910config TUNCTL
911 bool "tunctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200912 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100913 select PLATFORM_LINUX
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100914 help
915 tunctl creates or deletes tun devices.
916
917config FEATURE_TUNCTL_UG
918 bool "Support owner:group assignment"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200919 default y
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100920 depends on TUNCTL
921 help
922 Allow to specify owner and group of newly created interface.
923 340 bytes of pure bloat. Say no here.
924
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000925source networking/udhcp/Config.in
926
Wade Berrier142c5cb2008-11-14 21:18:45 +0000927config IFUPDOWN_UDHCPC_CMD_OPTIONS
928 string "ifup udhcpc command line options"
929 default "-R -n"
Denys Vlasenko4662de02009-12-11 02:21:10 +0100930 depends on IFUPDOWN && UDHCPC
Wade Berrier142c5cb2008-11-14 21:18:45 +0000931 help
932 Command line options to pass to udhcpc from ifup.
933 Intended to alter options not available in /etc/network/interfaces.
934 (IE: --syslog --background etc...)
935
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100936config UDPSVD
937 bool "udpsvd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200938 default y
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100939 help
940 udpsvd listens on an UDP port and runs a program for each new
941 connection.
942
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000943config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000944 bool "vconfig"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200945 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100946 select PLATFORM_LINUX
Eric Andersen853c4942003-01-23 05:59:32 +0000947 help
948 Creates, removes, and configures VLAN interfaces
949
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000950config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000951 bool "zcip"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200952 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100953 select PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000954 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000955 help
956 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
957 It's a daemon that allocates and defends a dynamically assigned
958 address on the 169.254/16 network, requiring no system administrator.
959
960 See http://www.zeroconf.org for further details, and "zcip.script"
961 in the busybox examples.
962
Eric Andersenc9f20d92002-12-05 08:41:41 +0000963endmenu