blob: ce7166f9854472487e58331f64f1c16cb4a0238e [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "Enable IPv6 support"
10 default n
11 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +000012 Enable IPv6 support in busybox.
13 This adds IPv6 support in the networking applets.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
Denis Vlasenkof6b46852009-04-25 13:16:53 +000015config FEATURE_UNIX_LOCAL
Denys Vlasenko47aaa2b2009-05-01 03:00:04 +020016 bool "Enable Unix domain socket support (usually not needed)"
Denis Vlasenkof6b46852009-04-25 13:16:53 +000017 default n
18 help
19 Enable Unix domain socket support in all busybox networking
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +020020 applets. Address of the form local:/path/to/unix/socket
21 will be recognized.
22
23 This extension is almost never used in real world usage.
24 You most likely want to say N.
Denis Vlasenkof6b46852009-04-25 13:16:53 +000025
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000026config FEATURE_PREFER_IPV4_ADDRESS
Bernhard Reutner-Fischer97b954d2009-02-14 13:17:48 +000027 bool "Prefer IPv4 addresses from DNS queries"
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000028 default y
29 depends on FEATURE_IPV6
30 help
31 Use IPv4 address of network host if it has one.
32
33 If this option is off, the first returned address will be used.
34 This may cause problems when your DNS server is IPv6-capable and
35 is returning IPv6 host addresses too. If IPv6 address
36 precedes IPv4 one in DNS reply, busybox network applets
37 (e.g. wget) will use IPv6 address. On an IPv6-incapable host
38 or network applets will fail to connect to the host
39 using IPv6 address.
40
Denis Vlasenko5de9e9c2007-01-22 22:46:04 +000041config VERBOSE_RESOLUTION_ERRORS
42 bool "Verbose resolution errors"
43 default n
44 help
45 Enable if you are not satisfied with simplistic
46 "can't resolve 'hostname.com'" and want to know more.
47 This may increase size of your executable a bit.
48
Denis Vlasenkofa85b862007-01-07 01:24:12 +000049config ARP
50 bool "arp"
51 default n
52 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000053 Manipulate the system ARP cache.
Denis Vlasenkofa85b862007-01-07 01:24:12 +000054
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055config ARPING
Glenn L McGrath9e598412003-01-09 10:06:01 +000056 bool "arping"
57 default n
58 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000059 Ping hosts by ARP packets.
Glenn L McGrath9e598412003-01-09 10:06:01 +000060
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000061config BRCTL
62 bool "brctl"
63 default n
64 help
65 Manage ethernet bridges.
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000066 Supports addbr/delbr and addif/delif.
67
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000068config FEATURE_BRCTL_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000069 bool "Fancy options"
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000070 default n
71 depends on BRCTL
72 help
73 Add support for extended option like:
74 setageing, setfd, sethello, setmaxage,
75 setpathcost, setportprio, setbridgeprio,
76 stp
Bernhard Reutner-Fischer2b11fb42008-01-14 16:10:11 +000077 This adds about 600 bytes.
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000078
Denis Vlasenko278a1c22008-04-06 07:17:02 +000079config FEATURE_BRCTL_SHOW
80 bool "Support show, showmac and showstp"
81 default n
82 depends on BRCTL && FEATURE_BRCTL_FANCY
83 help
84 Add support for option which prints the current config:
85 showmacs, showstp, show
86
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000087config DNSD
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000088 bool "dnsd"
89 default n
90 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +000091 Small and static DNS server daemon.
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000092
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000093config ETHER_WAKE
Mike Frysingerb662f0d2005-05-11 03:59:53 +000094 bool "ether-wake"
95 default n
96 help
97 Send a magic packet to wake up sleeping machines.
98
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000099config FAKEIDENTD
Mike Frysingerfa69f112005-04-17 07:24:19 +0000100 bool "fakeidentd"
101 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000102 select FEATURE_SYSLOG
Mike Frysingerfa69f112005-04-17 07:24:19 +0000103 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000104 fakeidentd listens on the ident port and returns a predefined
105 fake value on any query.
Mike Frysingerfa69f112005-04-17 07:24:19 +0000106
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000107config FTPD
108 bool "ftpd"
109 default n
110 help
111 simple FTP daemon. You have to run it via inetd.
112
113config FEATURE_FTP_WRITE
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000114 bool "Enable upload commands"
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000115 default y
116 depends on FTPD
117 help
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000118 Enable all kinds of FTP upload commands (-w option)
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000119
Stefan Seyfriedf3fc9ac2010-01-18 02:08:30 +0100120config FEATURE_FTPD_ACCEPT_BROKEN_LIST
121 bool "Enable workaround for RFC-violating clients"
122 default y
123 depends on FTPD
124 help
Denys Vlasenko238c83b2010-04-21 18:05:10 -0400125 Some ftp clients (among them KDE's Konqueror) issue illegal
126 "LIST -l" requests. This option works around such problems.
Stefan Seyfriedf3fc9ac2010-01-18 02:08:30 +0100127 It might prevent you from listing files starting with "-" and
128 it increases the code size by ~40 bytes.
129 Most other ftp servers seem to behave similar to this.
130
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000131config FTPGET
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000132 bool "ftpget"
133 default n
134 help
135 Retrieve a remote file via FTP.
136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config FTPPUT
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000138 bool "ftpput"
139 default n
140 help
141 Store a remote file via FTP.
142
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000143config FEATURE_FTPGETPUT_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000144 bool "Enable long options in ftpget/ftpput"
145 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200146 depends on LONG_OPTS && (FTPGET || FTPPUT)
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000147 help
148 Support long options for the ftpget/ftpput applet.
149
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000150config HOSTNAME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000151 bool "hostname"
152 default n
153 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000154 Show or set the system's host name.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000155
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000156config HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000157 bool "httpd"
158 default n
159 help
160 Serve web pages via an HTTP server.
161
Denis Vlasenkof4310172007-09-21 22:35:18 +0000162config FEATURE_HTTPD_RANGES
163 bool "Support 'Ranges:' header"
164 default n
165 depends on HTTPD
166 help
167 Makes httpd emit "Accept-Ranges: bytes" header and understand
168 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
169 downloads, seeking in multimedia players etc.
170
Denis Vlasenko1b9064d2007-08-12 21:05:49 +0000171config FEATURE_HTTPD_USE_SENDFILE
172 bool "Use sendfile system call"
173 default n
174 depends on HTTPD
175 help
176 When enabled, httpd will use the kernel sendfile() function
177 instead of read/write loop.
178
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000179config FEATURE_HTTPD_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000180 bool "Enable -u <user> option"
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000181 default n
Denis Vlasenkodb506472006-12-17 20:18:05 +0000182 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000183 help
184 This option allows the server to run as a specific user
185 rather than defaulting to the user that starts the server.
186 Use of this option requires special privileges to change to a
187 different user.
188
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000189config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000190 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000191 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000192 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000193 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000194 Utilizes password settings from /etc/httpd.conf for basic
195 authentication on a per url basis.
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000196
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000198 bool "Support MD5 crypted passwords for http Authentication"
Eric Andersen35e643b2003-07-28 07:40:39 +0000199 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000200 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000201 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000202 Enables basic per URL authentication from /etc/httpd.conf
Eric Andersenf3a02bb2003-07-28 08:31:56 +0000203 using md5 passwords.
Eric Andersen35e643b2003-07-28 07:40:39 +0000204
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000205config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000206 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000207 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000208 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000209 help
210 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000211 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000212
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000213config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000214 bool "Support for running scripts through an interpreter"
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000215 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000216 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000217 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000218 This option enables support for running scripts through an
219 interpreter. Turn this on if you want PHP scripts to work
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000220 properly. You need to supply an additional line in your httpd
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000221 config file:
222 *.php:/path/to/your/php
223
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000224config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000225 bool "Set REMOTE_PORT environment variable for CGI"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000226 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000227 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000228 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000229 Use of this option can assist scripts in generating
230 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000231
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000232config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000233 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000234 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000235 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000236 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000237 This option allows html encoding of arbitrary strings for display
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000238 by the browser. Output goes to stdout.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000239 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000240 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000241
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000242config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000243 bool "Support for custom error pages"
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000244 default n
245 depends on HTTPD
246 help
247 This option allows you to define custom error pages in
248 the configuration file instead of the default HTTP status
249 error pages. For instance, if you add the line:
250 E404:/path/e404.html
251 in the config file, the server will respond the specified
252 '/path/e404.html' file instead of the terse '404 NOT FOUND'
253 message.
254
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000255config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000256 bool "Support for reverse proxy"
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000257 default n
258 depends on HTTPD
259 help
260 This option allows you to define URLs that will be forwarded
261 to another HTTP server. To setup add the following line to the
262 configuration file
263 P:/url/:http://hostname[:port]/new/path/
264 Then a request to /url/myfile will be forwarded to
265 http://hostname[:port]/new/path/myfile.
266
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000267config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000268 bool "ifconfig"
269 default n
270 help
Eric Andersene5642112003-07-14 19:37:08 +0000271 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000272
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000273config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000274 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000275 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000276 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000277 help
Eric Andersene5642112003-07-14 19:37:08 +0000278 If ifconfig is called with no arguments it will display the status
279 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000280
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000281config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000282 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000283 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000284 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000285 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000286 Allow "keepalive" and "outfill" support for SLIP. If you're not
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000287 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000288
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000289config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000290 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000292 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000293 help
Eric Andersene5642112003-07-14 19:37:08 +0000294 Allow the start address for shared memory, start address for I/O,
295 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000296
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000297config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000298 bool "Enable option \"hw\" (ether only)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000299 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000300 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000301 help
Eric Andersene5642112003-07-14 19:37:08 +0000302 Set the hardware address of this interface, if the device driver
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000303 supports this operation. Currently, we only support the 'ether'
Eric Andersene5642112003-07-14 19:37:08 +0000304 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000305
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000307 bool "Set the broadcast automatically"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000308 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000309 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000311 Setting this will make ifconfig attempt to find the broadcast
312 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000313
Denis Vlasenko06aed432008-02-26 18:25:24 +0000314config IFENSLAVE
315 bool "ifenslave"
316 default n
317 help
318 Userspace application to bind several interfaces
319 to a logical interface (use with kernel bonding driver).
320
Denis Vlasenko71c16572009-04-26 01:08:51 +0000321config IFPLUGD
322 bool "ifplugd"
323 default n
324 help
325 Network interface plug detection daemon.
326
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000327config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000328 bool "ifupdown"
329 default n
330 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000331 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000332 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000333 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000334 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000335 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000336 course you could use non-busybox versions of these programs, so
337 against my better judgement (since this will surely result in plenty
338 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000339 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000340 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000341 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000342
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000343config IFUPDOWN_IFSTATE_PATH
344 string "Absolute path to ifstate file"
345 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000346 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000347 help
348 ifupdown keeps state information in a file called ifstate.
349 Typically it is located in /var/run/ifstate, however
350 some distributions tend to put it in other places
351 (debian, for example, uses /etc/network/run/ifstate).
352 This config option defines location of ifstate.
353
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000354config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000355 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000356 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000357 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000358 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000359 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
360 than the default of using the older 'ifconfig' and 'route' utilities.
361
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000362config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000363 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000364 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365 depends on FEATURE_IFUPDOWN_IP
366 select IP
367 select FEATURE_IP_ADDRESS
368 select FEATURE_IP_LINK
369 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000370 help
371 Use the busybox iproute "ip" applet to implement "ifupdown".
372
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000373 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000374 utility or the "ifup" and "ifdown" applets will not work.
375
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000376config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000377 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000378 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000379 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000380 select IFCONFIG
381 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000382 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000383 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000384 implement the "ifup" and "ifdown" utilities.
385
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000386 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000387 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000388 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000389
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000390config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000391 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000392 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000393 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000394 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000395 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000396
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000397config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000398 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000399 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000400 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000401 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000402 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000403
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000404### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000405###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000406### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000407### default n
408### depends on IFUPDOWN
409### help
410### If this option is selected you can use busybox to work with IPX
411### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000412
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000413config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000414 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000415 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000416 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000417 help
418 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000419 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000420
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000421config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000422 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000423 default n
424 depends on IFUPDOWN
425 help
426 This enables support for the external dhcp clients. Clients are
427 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
428 Otherwise, if udhcpc applet is enabled, it is used.
429 Otherwise, ifup/ifdown will have no support for DHCP.
430
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000431config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000432 bool "inetd"
433 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000435 help
436 Internet superserver daemon
437
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000438config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000439 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000440 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000442 help
443 Echo received data internal inetd service
444
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000445config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000446 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000447 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000449 help
450 Internet /dev/null internal inetd service
451
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000452config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000453 bool "Support time service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000454 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000455 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000456 help
457 Return 32 bit time since 1900 internal inetd service
458
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000459config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000460 bool "Support daytime service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000461 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000462 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000463 help
464 Return human-readable time internal inetd service
465
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000466config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000467 bool "Support chargen service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000468 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000469 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000470 help
471 Familiar character generator internal inetd service
472
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000473config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000474 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000475 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000476 depends on INETD
477 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000478 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000479 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000480
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000481config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000482 bool "ip"
483 default n
484 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000485 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000486 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000487 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000488
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000489config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000490 bool "ip address"
491 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000493 help
494 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000495
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000496config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000497 bool "ip link"
498 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000500 help
501 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000502
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000503config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000504 bool "ip route"
505 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000506 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000507 help
508 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000509
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000510config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000511 bool "ip tunnel"
512 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000513 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000514 help
515 Add support for tunneling commands to "ip".
516
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000517config FEATURE_IP_RULE
518 bool "ip rule"
519 default n
520 depends on IP
521 help
522 Add support for rule commands to "ip".
523
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000524config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000525 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000526 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000527 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000528 help
529 Also support short-form of ip <OBJECT> commands:
530 ip addr -> ipaddr
531 ip link -> iplink
532 ip route -> iproute
533 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000534 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000535
536 Say N unless you desparately need the short form of the ip
537 object commands.
538
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000539config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000540 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000541 default n
542 depends on IP
543 help
544 If you are not going to use links of type "frad", "econet",
545 "bif" etc, you probably don't need to enable this.
546 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
547 link types are supported without this option selected.
548
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000549config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000550 bool
551 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000552 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000553
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000554config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000555 bool
556 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000557 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000558
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000559config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000560 bool
561 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000562 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000563
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000564config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000565 bool
566 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000567 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000568
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000569config IPRULE
570 bool
571 default y
572 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
573
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000574config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000575 bool "ipcalc"
576 default n
577 help
Eric Andersene5642112003-07-14 19:37:08 +0000578 ipcalc takes an IP address and netmask and calculates the
579 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000580
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000581config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000582 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000583 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000584 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000585 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000586 Adds the options hostname, prefix and silent to the output of
587 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000588
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000589config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000590 bool "Enable long options"
591 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200592 depends on IPCALC && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000593 help
594 Support long options for the ipcalc applet.
595
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000596config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000597 bool "nameif"
598 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000599 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000600 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000601 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000602 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000603 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000604 with list of new interface names and MACs.
Denis Vlasenko01eaee92008-04-21 02:21:45 +0000605 Maximum interface name length: IFNAMSIZ = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000606 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000607 File format:
608 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000609 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000610
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000611config FEATURE_NAMEIF_EXTENDED
612 bool "Extended nameif"
613 default n
614 depends on NAMEIF
615 help
616 This extends the nameif syntax to support the bus_info and driver
617 checks. The syntax is compatible to the normal nameif.
618 File format:
619 new_interface_name driver=asix bus=usb-0000:00:08.2-3
620 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
621 new_interface_name mac=00:80:C8:38:91:B5
622 new_interface_name 00:80:C8:38:91:B5
623
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000624config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000625 bool "nc"
626 default n
627 help
Eric Andersene5642112003-07-14 19:37:08 +0000628 A simple Unix utility which reads and writes data across network
629 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000630
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000631config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000632 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000633 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000634 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000635 help
Rob Landley1cca9482006-07-10 19:45:20 +0000636 Allow netcat to act as a server.
637
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000638config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000639 bool "Netcat extensions (-eiw and filename)"
640 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000641 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000642 help
643 Add -e (support for executing the rest of the command line after
644 making or receiving a successful connection), -i (delay interval for
645 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000646
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000647config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000648 bool "netstat"
649 default n
650 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000651 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000652
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000653config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000654 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000655 default n
656 depends on NETSTAT
657 help
658 Add support for wide columns. Useful when displaying IPv6 addresses
659 (-W option).
660
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000661config FEATURE_NETSTAT_PRG
662 bool "Enable PID/Program name output"
663 default n
664 depends on NETSTAT
665 help
666 Add support for -p flag to print out PID and program name.
667 +700 bytes of code.
668
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000669config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000670 bool "nslookup"
671 default n
672 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000673 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000674
Adam Tkacb1585062009-11-22 03:43:55 +0100675config NTPD
676 bool "ntpd"
677 default n
678 help
679 The NTP client/server daemon.
680
681config FEATURE_NTPD_SERVER
Denys Vlasenko345e0932010-03-31 16:03:56 +0200682 bool "Make ntpd usable as a NTP server"
683 default y
684 depends on NTPD
685 help
Denys Vlasenko60b95242010-01-14 01:11:54 +0100686 Make ntpd usable as a NTP server. If you disable this option
Adam Tkacb1585062009-11-22 03:43:55 +0100687 ntpd will be usable only as a NTP client.
688
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000689config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000690 bool "ping"
691 default n
692 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000693 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000694 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000695
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000696config PING6
697 bool "ping6"
698 default n
699 depends on FEATURE_IPV6 && PING
700 help
701 This will give you a ping that can talk IPv6.
702
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000703config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000704 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000705 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000706 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000707 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000708 Make the output from the ping applet include statistics, and at the
709 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000710
Paul Fox0b2b5842008-02-01 23:25:32 +0000711config PSCAN
712 bool "pscan"
713 default n
714 help
715 Simple network port scanner.
716
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000717config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000718 bool "route"
719 default n
720 help
Eric Andersene5642112003-07-14 19:37:08 +0000721 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000722
Denis Vlasenko14923db2007-06-20 15:23:03 +0000723config SLATTACH
724 bool "slattach"
725 default n
726 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000727 slattach is a small utility to attach network interfaces to serial
728 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000729
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000730#config TC
731# bool "tc"
732# default n
733# help
734# show / manipulate traffic control settings
735#
736#config FEATURE_TC_INGRESS
737# def_bool n
738# depends on TC
739
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100740config TCPSVD
741 bool "tcpsvd"
742 default n
743 help
744 tcpsvd listens on a TCP port and runs a program for each new
745 connection.
746
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000747config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000748 bool "telnet"
749 default n
750 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000751 Telnet is an interface to the TELNET protocol, but is also commonly
752 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000753
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000754config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000755 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000756 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000757 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000758 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000759 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000760 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000761 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000762
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000763config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000764 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000765 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000766 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000767 help
768 Setting this option will forward the USER environment variable to the
769 remote host you are connecting to. This is useful when you need to
770 log into a machine without telling the username (autologin). This
771 option enables `-a' and `-l USER' arguments.
772
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000773config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000774 bool "telnetd"
775 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000776 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000777 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000778 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000779 running the daemon. Please keep in mind that the TELNET protocol
780 sends passwords in plain text. If you can't afford the space for an
781 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000782 more secure alternative, you should seriously consider installing the
783 very small Dropbear SSH daemon instead:
784 http://matt.ucc.asn.au/dropbear/dropbear.html
785
786 Note that for busybox telnetd to work you need several things:
787 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000788 UNIX98_PTYS=y
789 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000790
791 Next, you need a /dev/pts directory on your root filesystem:
792
793 $ ls -ld /dev/pts
794 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
795
796 Next you need the pseudo terminal master multiplexer /dev/ptmx:
797
798 $ ls -la /dev/ptmx
799 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
800
801 Any /dev/ttyp[0-9]* files you may have can be removed.
802 Next, you need to mount the devpts filesystem on /dev/pts using:
803
804 mount -t devpts devpts /dev/pts
805
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000806 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000807 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000808 certain that Busybox has been installed setuid root:
809
810 chown root.root /bin/busybox
811 chmod 4755 /bin/busybox
812
813 with all that done, telnetd _should_ work....
814
Eric Andersenc9f20d92002-12-05 08:41:41 +0000815
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000816config FEATURE_TELNETD_STANDALONE
817 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000818 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000819 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000820 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000821 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000822
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200823config FEATURE_TELNETD_INETD_WAIT
824 bool "Support -w SEC option (inetd wait mode)"
825 default n
826 depends on FEATURE_TELNETD_STANDALONE
827 help
828 This option allows you to run telnetd in "inet wait" mode.
829 Example inetd.conf line (note "wait", not usual "nowait"):
830
831 telnet stream tcp wait root /bin/telnetd telnetd -w10
832
833 In this example, inetd passes _listening_ socket_ as fd 0
834 to telnetd when connection appears.
835 telnetd will wait for connections until all existing
836 connections are closed, and no new connections
837 appear during 10 seconds. Then it exits, and inetd continues
838 to listen for new connections.
839
840 This option is rarely used. "tcp nowait" is much more usual
841 way of running tcp services, including telnetd.
842 You most probably want to say N here.
843
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000844config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000845 bool "tftp"
846 default n
847 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000848 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000849 is usually used for simple, small transfers such as a root image
850 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000851
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000852config TFTPD
853 bool "tftpd"
854 default n
855 help
856 This enables the Trivial File Transfer Protocol server program.
857 It expects that stdin is a datagram socket and a packet
858 is already pending on it. It will exit after one transfer.
859 In other words: it should be run from inetd in nowait mode,
860 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
861
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000862config FEATURE_TFTP_GET
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100863 bool "Enable 'tftp get' and/or tftpd upload code"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000864 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000865 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000866 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000867 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000868 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000869 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000870
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100871 Note: this option does _not_ make tftpd capable of download
872 (the usual operation people need from it)!
873
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000874config FEATURE_TFTP_PUT
Denys Vlasenkocbcc1232010-03-05 23:38:54 +0100875 bool "Enable 'tftp put' and/or tftpd download code"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000876 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000877 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000878 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000879 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000880 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000881 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000882
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000883config FEATURE_TFTP_BLOCKSIZE
Magnus Damm8bd0af92009-11-08 18:03:09 +0100884 bool "Enable 'blksize' and 'tsize' protocol options"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000885 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000886 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000887 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000888 Allow tftp to specify block size, and tftpd to understand
Magnus Damm8bd0af92009-11-08 18:03:09 +0100889 "blksize" and "tsize" options.
890
891config FEATURE_TFTP_PROGRESS_BAR
892 bool "Enable tftp progress meter"
893 default n
894 depends on TFTP && FEATURE_TFTP_BLOCKSIZE
895 help
896 Show progress bar.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000897
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000898config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000899 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000900 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000901 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000902 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200903 Make tftp[d] print debugging messages on stderr.
904 This is useful if you are diagnosing a bug in tftp[d].
Eric Andersenc9f20d92002-12-05 08:41:41 +0000905
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000906config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000907 bool "traceroute"
908 default n
909 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200910 Utility to trace the route of IP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000911
Leonid Lisovskiy4c065312009-11-23 06:20:09 +0100912config TRACEROUTE6
913 bool "traceroute6"
914 default n
915 depends on FEATURE_IPV6 && TRACEROUTE
916 help
917 Utility to trace the route of IPv6 packets.
918
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000919config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000920 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000921 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000922 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000923 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000924 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000925 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000926
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000927config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000928 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000929 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000930 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000931 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000932 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000933 (8 maximum).
934
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000935config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000936 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000937 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000938 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000939 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000940 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000941
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100942config TUNCTL
943 bool "tunctl"
944 default n
945 help
946 tunctl creates or deletes tun devices.
947
948config FEATURE_TUNCTL_UG
949 bool "Support owner:group assignment"
950 default n
951 depends on TUNCTL
952 help
953 Allow to specify owner and group of newly created interface.
954 340 bytes of pure bloat. Say no here.
955
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000956source networking/udhcp/Config.in
957
Wade Berrier142c5cb2008-11-14 21:18:45 +0000958config IFUPDOWN_UDHCPC_CMD_OPTIONS
959 string "ifup udhcpc command line options"
960 default "-R -n"
Denys Vlasenko4662de02009-12-11 02:21:10 +0100961 depends on IFUPDOWN && UDHCPC
Wade Berrier142c5cb2008-11-14 21:18:45 +0000962 help
963 Command line options to pass to udhcpc from ifup.
964 Intended to alter options not available in /etc/network/interfaces.
965 (IE: --syslog --background etc...)
966
Bernhard Reutner-Fischer45cec1e2010-02-26 19:33:49 +0100967config UDPSVD
968 bool "udpsvd"
969 default n
970 help
971 udpsvd listens on an UDP port and runs a program for each new
972 connection.
973
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000974config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000975 bool "vconfig"
976 default n
977 help
978 Creates, removes, and configures VLAN interfaces
979
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000980config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000981 bool "wget"
982 default n
983 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000984 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000985 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000986
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000987config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000988 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000989 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000990 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000991 help
Eric Andersene5642112003-07-14 19:37:08 +0000992 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000993
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000994config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000995 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000996 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000997 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000998 help
Eric Andersene5642112003-07-14 19:37:08 +0000999 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +00001000
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001001config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +00001002 bool "Enable long options"
1003 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +02001004 depends on WGET && LONG_OPTS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +00001005 help
1006 Support long options for the wget applet.
1007
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001008config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +00001009 bool "zcip"
1010 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001011 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +00001012 help
1013 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
1014 It's a daemon that allocates and defends a dynamically assigned
1015 address on the 169.254/16 network, requiring no system administrator.
1016
1017 See http://www.zeroconf.org for further details, and "zcip.script"
1018 in the busybox examples.
1019
Eric Andersenc9f20d92002-12-05 08:41:41 +00001020endmenu