blob: 668823784ef0257df7b02db3aa708a1d36538078 [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000120config FTPGET
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000121 bool "ftpget"
122 default n
123 help
124 Retrieve a remote file via FTP.
125
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000126config FTPPUT
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000127 bool "ftpput"
128 default n
129 help
130 Store a remote file via FTP.
131
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000132config FEATURE_FTPGETPUT_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000133 bool "Enable long options in ftpget/ftpput"
134 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200135 depends on LONG_OPTS && (FTPGET || FTPPUT)
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000136 help
137 Support long options for the ftpget/ftpput applet.
138
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000139config HOSTNAME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140 bool "hostname"
141 default n
142 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000143 Show or set the system's host name.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000144
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000145config HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000146 bool "httpd"
147 default n
148 help
149 Serve web pages via an HTTP server.
150
Denis Vlasenkof4310172007-09-21 22:35:18 +0000151config FEATURE_HTTPD_RANGES
152 bool "Support 'Ranges:' header"
153 default n
154 depends on HTTPD
155 help
156 Makes httpd emit "Accept-Ranges: bytes" header and understand
157 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
158 downloads, seeking in multimedia players etc.
159
Denis Vlasenko1b9064d2007-08-12 21:05:49 +0000160config FEATURE_HTTPD_USE_SENDFILE
161 bool "Use sendfile system call"
162 default n
163 depends on HTTPD
164 help
165 When enabled, httpd will use the kernel sendfile() function
166 instead of read/write loop.
167
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000168config FEATURE_HTTPD_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000169 bool "Enable -u <user> option"
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000170 default n
Denis Vlasenkodb506472006-12-17 20:18:05 +0000171 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000172 help
173 This option allows the server to run as a specific user
174 rather than defaulting to the user that starts the server.
175 Use of this option requires special privileges to change to a
176 different user.
177
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000178config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000179 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000180 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000181 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000182 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000183 Utilizes password settings from /etc/httpd.conf for basic
184 authentication on a per url basis.
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000185
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000187 bool "Support MD5 crypted passwords for http Authentication"
Eric Andersen35e643b2003-07-28 07:40:39 +0000188 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000189 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000190 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000191 Enables basic per URL authentication from /etc/httpd.conf
Eric Andersenf3a02bb2003-07-28 08:31:56 +0000192 using md5 passwords.
Eric Andersen35e643b2003-07-28 07:40:39 +0000193
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000194config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000195 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000196 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000198 help
199 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000200 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000201
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000203 bool "Support for running scripts through an interpreter"
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000204 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000205 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000206 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000207 This option enables support for running scripts through an
208 interpreter. Turn this on if you want PHP scripts to work
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000209 properly. You need to supply an additional line in your httpd
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000210 config file:
211 *.php:/path/to/your/php
212
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000213config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000214 bool "Set REMOTE_PORT environment variable for CGI"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000215 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000216 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000217 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000218 Use of this option can assist scripts in generating
219 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000220
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000221config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000222 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000223 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000224 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000225 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000226 This option allows html encoding of arbitrary strings for display
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000227 by the browser. Output goes to stdout.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000228 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000229 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000230
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000231config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000232 bool "Support for custom error pages"
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000233 default n
234 depends on HTTPD
235 help
236 This option allows you to define custom error pages in
237 the configuration file instead of the default HTTP status
238 error pages. For instance, if you add the line:
239 E404:/path/e404.html
240 in the config file, the server will respond the specified
241 '/path/e404.html' file instead of the terse '404 NOT FOUND'
242 message.
243
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000244config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000245 bool "Support for reverse proxy"
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000246 default n
247 depends on HTTPD
248 help
249 This option allows you to define URLs that will be forwarded
250 to another HTTP server. To setup add the following line to the
251 configuration file
252 P:/url/:http://hostname[:port]/new/path/
253 Then a request to /url/myfile will be forwarded to
254 http://hostname[:port]/new/path/myfile.
255
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000256config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000257 bool "ifconfig"
258 default n
259 help
Eric Andersene5642112003-07-14 19:37:08 +0000260 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000261
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000262config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000263 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000264 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000265 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000266 help
Eric Andersene5642112003-07-14 19:37:08 +0000267 If ifconfig is called with no arguments it will display the status
268 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000269
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000270config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000271 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000272 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000273 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000274 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000275 Allow "keepalive" and "outfill" support for SLIP. If you're not
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000276 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000277
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000278config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000279 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000280 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000281 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000282 help
Eric Andersene5642112003-07-14 19:37:08 +0000283 Allow the start address for shared memory, start address for I/O,
284 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000285
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000286config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000287 bool "Enable option \"hw\" (ether only)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000288 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000289 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000290 help
Eric Andersene5642112003-07-14 19:37:08 +0000291 Set the hardware address of this interface, if the device driver
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000292 supports this operation. Currently, we only support the 'ether'
Eric Andersene5642112003-07-14 19:37:08 +0000293 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000294
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000295config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000296 bool "Set the broadcast automatically"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000297 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000298 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000299 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000300 Setting this will make ifconfig attempt to find the broadcast
301 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000302
Denis Vlasenko06aed432008-02-26 18:25:24 +0000303config IFENSLAVE
304 bool "ifenslave"
305 default n
306 help
307 Userspace application to bind several interfaces
308 to a logical interface (use with kernel bonding driver).
309
Denis Vlasenko71c16572009-04-26 01:08:51 +0000310config IFPLUGD
311 bool "ifplugd"
312 default n
313 help
314 Network interface plug detection daemon.
315
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000316config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000317 bool "ifupdown"
318 default n
319 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000320 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000321 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000322 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000323 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000324 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000325 course you could use non-busybox versions of these programs, so
326 against my better judgement (since this will surely result in plenty
327 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000328 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000329 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000330 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000331
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000332config IFUPDOWN_IFSTATE_PATH
333 string "Absolute path to ifstate file"
334 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000335 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000336 help
337 ifupdown keeps state information in a file called ifstate.
338 Typically it is located in /var/run/ifstate, however
339 some distributions tend to put it in other places
340 (debian, for example, uses /etc/network/run/ifstate).
341 This config option defines location of ifstate.
342
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000343config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000344 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000345 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000346 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000347 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000348 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
349 than the default of using the older 'ifconfig' and 'route' utilities.
350
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000351config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000352 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000353 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000354 depends on FEATURE_IFUPDOWN_IP
355 select IP
356 select FEATURE_IP_ADDRESS
357 select FEATURE_IP_LINK
358 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000359 help
360 Use the busybox iproute "ip" applet to implement "ifupdown".
361
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000362 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000363 utility or the "ifup" and "ifdown" applets will not work.
364
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000365config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000366 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000367 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000368 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000369 select IFCONFIG
370 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000371 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000372 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000373 implement the "ifup" and "ifdown" utilities.
374
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000375 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000376 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000377 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000378
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000379config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000380 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000381 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000382 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000383 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000384 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000385
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000386config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000387 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000388 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000389 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000390 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000391 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000392
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000393### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000394###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000395### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000396### default n
397### depends on IFUPDOWN
398### help
399### If this option is selected you can use busybox to work with IPX
400### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000401
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000402config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000403 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000404 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000405 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000406 help
407 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000408 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000409
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000410config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000411 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000412 default n
413 depends on IFUPDOWN
414 help
415 This enables support for the external dhcp clients. Clients are
416 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
417 Otherwise, if udhcpc applet is enabled, it is used.
418 Otherwise, ifup/ifdown will have no support for DHCP.
419
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000420config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000421 bool "inetd"
422 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000423 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000424 help
425 Internet superserver daemon
426
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000427config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000428 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000429 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000430 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000431 help
432 Echo received data internal inetd service
433
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000435 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000436 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000437 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000438 help
439 Internet /dev/null internal inetd service
440
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000442 bool "Support time service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000443 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000444 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000445 help
446 Return 32 bit time since 1900 internal inetd service
447
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000449 bool "Support daytime service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000450 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000451 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000452 help
453 Return human-readable time internal inetd service
454
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000455config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000456 bool "Support chargen service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000457 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000458 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000459 help
460 Familiar character generator internal inetd service
461
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000462config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000463 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000464 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000465 depends on INETD
466 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000467 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000468 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000469
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000470config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000471 bool "ip"
472 default n
473 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000474 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000475 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000476 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000477
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000478config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000479 bool "ip address"
480 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000481 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000482 help
483 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000484
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000485config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000486 bool "ip link"
487 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000488 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000489 help
490 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000491
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000493 bool "ip route"
494 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000495 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000496 help
497 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000498
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000500 bool "ip tunnel"
501 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000502 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000503 help
504 Add support for tunneling commands to "ip".
505
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000506config FEATURE_IP_RULE
507 bool "ip rule"
508 default n
509 depends on IP
510 help
511 Add support for rule commands to "ip".
512
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000513config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000514 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000515 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000516 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000517 help
518 Also support short-form of ip <OBJECT> commands:
519 ip addr -> ipaddr
520 ip link -> iplink
521 ip route -> iproute
522 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000523 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000524
525 Say N unless you desparately need the short form of the ip
526 object commands.
527
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000528config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000529 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000530 default n
531 depends on IP
532 help
533 If you are not going to use links of type "frad", "econet",
534 "bif" etc, you probably don't need to enable this.
535 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
536 link types are supported without this option selected.
537
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000538config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000539 bool
540 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000541 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000542
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000543config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000544 bool
545 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000546 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000547
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000548config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000549 bool
550 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000551 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000552
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000553config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000554 bool
555 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000556 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000557
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000558config IPRULE
559 bool
560 default y
561 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
562
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000563config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000564 bool "ipcalc"
565 default n
566 help
Eric Andersene5642112003-07-14 19:37:08 +0000567 ipcalc takes an IP address and netmask and calculates the
568 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000569
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000570config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000571 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000572 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000573 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000574 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000575 Adds the options hostname, prefix and silent to the output of
576 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000577
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000578config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000579 bool "Enable long options"
580 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200581 depends on IPCALC && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000582 help
583 Support long options for the ipcalc applet.
584
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000585config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000586 bool "nameif"
587 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000588 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000589 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000590 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000591 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000592 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000593 with list of new interface names and MACs.
Denis Vlasenko01eaee92008-04-21 02:21:45 +0000594 Maximum interface name length: IFNAMSIZ = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000595 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000596 File format:
597 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000598 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000599
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000600config FEATURE_NAMEIF_EXTENDED
601 bool "Extended nameif"
602 default n
603 depends on NAMEIF
604 help
605 This extends the nameif syntax to support the bus_info and driver
606 checks. The syntax is compatible to the normal nameif.
607 File format:
608 new_interface_name driver=asix bus=usb-0000:00:08.2-3
609 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
610 new_interface_name mac=00:80:C8:38:91:B5
611 new_interface_name 00:80:C8:38:91:B5
612
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000613config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000614 bool "nc"
615 default n
616 help
Eric Andersene5642112003-07-14 19:37:08 +0000617 A simple Unix utility which reads and writes data across network
618 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000619
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000620config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000621 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000622 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000623 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000624 help
Rob Landley1cca9482006-07-10 19:45:20 +0000625 Allow netcat to act as a server.
626
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000627config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000628 bool "Netcat extensions (-eiw and filename)"
629 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000630 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000631 help
632 Add -e (support for executing the rest of the command line after
633 making or receiving a successful connection), -i (delay interval for
634 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000635
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000636config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000637 bool "netstat"
638 default n
639 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000640 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000641
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000642config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000643 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000644 default n
645 depends on NETSTAT
646 help
647 Add support for wide columns. Useful when displaying IPv6 addresses
648 (-W option).
649
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000650config FEATURE_NETSTAT_PRG
651 bool "Enable PID/Program name output"
652 default n
653 depends on NETSTAT
654 help
655 Add support for -p flag to print out PID and program name.
656 +700 bytes of code.
657
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000658config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000659 bool "nslookup"
660 default n
661 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000662 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000663
Adam Tkacb1585062009-11-22 03:43:55 +0100664config NTPD
665 bool "ntpd"
666 default n
667 help
668 The NTP client/server daemon.
669
670config FEATURE_NTPD_SERVER
671 bool "Make ntpd usable as a NTP server"
672 default y
673 depends on NTPD
674 help
675 Make ntpd usable as a NTP server. If you disable this option
676 ntpd will be usable only as a NTP client.
677
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000678config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000679 bool "ping"
680 default n
681 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000682 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000683 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000684
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000685config PING6
686 bool "ping6"
687 default n
688 depends on FEATURE_IPV6 && PING
689 help
690 This will give you a ping that can talk IPv6.
691
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000692config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000693 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000694 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000695 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000696 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000697 Make the output from the ping applet include statistics, and at the
698 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000699
Paul Fox0b2b5842008-02-01 23:25:32 +0000700config PSCAN
701 bool "pscan"
702 default n
703 help
704 Simple network port scanner.
705
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000706config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000707 bool "route"
708 default n
709 help
Eric Andersene5642112003-07-14 19:37:08 +0000710 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000711
Denis Vlasenko14923db2007-06-20 15:23:03 +0000712config SLATTACH
713 bool "slattach"
714 default n
715 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000716 slattach is a small utility to attach network interfaces to serial
717 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000718
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000719#config TC
720# bool "tc"
721# default n
722# help
723# show / manipulate traffic control settings
724#
725#config FEATURE_TC_INGRESS
726# def_bool n
727# depends on TC
728
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000729config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000730 bool "telnet"
731 default n
732 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000733 Telnet is an interface to the TELNET protocol, but is also commonly
734 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000735
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000736config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000737 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000738 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000739 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000740 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000741 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000742 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000743 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000744
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000745config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000746 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000747 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000748 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000749 help
750 Setting this option will forward the USER environment variable to the
751 remote host you are connecting to. This is useful when you need to
752 log into a machine without telling the username (autologin). This
753 option enables `-a' and `-l USER' arguments.
754
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000755config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000756 bool "telnetd"
757 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000758 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000759 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000760 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000761 running the daemon. Please keep in mind that the TELNET protocol
762 sends passwords in plain text. If you can't afford the space for an
763 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000764 more secure alternative, you should seriously consider installing the
765 very small Dropbear SSH daemon instead:
766 http://matt.ucc.asn.au/dropbear/dropbear.html
767
768 Note that for busybox telnetd to work you need several things:
769 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000770 UNIX98_PTYS=y
771 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000772
773 Next, you need a /dev/pts directory on your root filesystem:
774
775 $ ls -ld /dev/pts
776 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
777
778 Next you need the pseudo terminal master multiplexer /dev/ptmx:
779
780 $ ls -la /dev/ptmx
781 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
782
783 Any /dev/ttyp[0-9]* files you may have can be removed.
784 Next, you need to mount the devpts filesystem on /dev/pts using:
785
786 mount -t devpts devpts /dev/pts
787
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000788 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000789 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000790 certain that Busybox has been installed setuid root:
791
792 chown root.root /bin/busybox
793 chmod 4755 /bin/busybox
794
795 with all that done, telnetd _should_ work....
796
Eric Andersenc9f20d92002-12-05 08:41:41 +0000797
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000798config FEATURE_TELNETD_STANDALONE
799 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000800 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000801 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000802 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000803 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000804
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200805config FEATURE_TELNETD_INETD_WAIT
806 bool "Support -w SEC option (inetd wait mode)"
807 default n
808 depends on FEATURE_TELNETD_STANDALONE
809 help
810 This option allows you to run telnetd in "inet wait" mode.
811 Example inetd.conf line (note "wait", not usual "nowait"):
812
813 telnet stream tcp wait root /bin/telnetd telnetd -w10
814
815 In this example, inetd passes _listening_ socket_ as fd 0
816 to telnetd when connection appears.
817 telnetd will wait for connections until all existing
818 connections are closed, and no new connections
819 appear during 10 seconds. Then it exits, and inetd continues
820 to listen for new connections.
821
822 This option is rarely used. "tcp nowait" is much more usual
823 way of running tcp services, including telnetd.
824 You most probably want to say N here.
825
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000826config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000827 bool "tftp"
828 default n
829 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000830 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000831 is usually used for simple, small transfers such as a root image
832 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000833
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000834config TFTPD
835 bool "tftpd"
836 default n
837 help
838 This enables the Trivial File Transfer Protocol server program.
839 It expects that stdin is a datagram socket and a packet
840 is already pending on it. It will exit after one transfer.
841 In other words: it should be run from inetd in nowait mode,
842 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
843
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000844config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000845 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000846 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000847 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000848 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000849 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000850 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000851 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000852
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000853config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000854 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000855 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000856 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000857 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000858 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000859 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000860 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000861
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000862config FEATURE_TFTP_BLOCKSIZE
Magnus Damm8bd0af92009-11-08 18:03:09 +0100863 bool "Enable 'blksize' and 'tsize' protocol options"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000864 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000865 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000866 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000867 Allow tftp to specify block size, and tftpd to understand
Magnus Damm8bd0af92009-11-08 18:03:09 +0100868 "blksize" and "tsize" options.
869
870config FEATURE_TFTP_PROGRESS_BAR
871 bool "Enable tftp progress meter"
872 default n
873 depends on TFTP && FEATURE_TFTP_BLOCKSIZE
874 help
875 Show progress bar.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000876
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000877config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000878 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000879 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000880 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000881 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200882 Make tftp[d] print debugging messages on stderr.
883 This is useful if you are diagnosing a bug in tftp[d].
Eric Andersenc9f20d92002-12-05 08:41:41 +0000884
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000885config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000886 bool "traceroute"
887 default n
888 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200889 Utility to trace the route of IP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000890
Leonid Lisovskiy4c065312009-11-23 06:20:09 +0100891config TRACEROUTE6
892 bool "traceroute6"
893 default n
894 depends on FEATURE_IPV6 && TRACEROUTE
895 help
896 Utility to trace the route of IPv6 packets.
897
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000898config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000899 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000900 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000901 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000902 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000903 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000904 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000905
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000906config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000907 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000908 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000909 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000910 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000911 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000912 (8 maximum).
913
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000914config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000915 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000916 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000917 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000918 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000919 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000920
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000921source networking/udhcp/Config.in
922
Wade Berrier142c5cb2008-11-14 21:18:45 +0000923config IFUPDOWN_UDHCPC_CMD_OPTIONS
924 string "ifup udhcpc command line options"
925 default "-R -n"
926 depends on IFUPDOWN && APP_UDHCPC
927 help
928 Command line options to pass to udhcpc from ifup.
929 Intended to alter options not available in /etc/network/interfaces.
930 (IE: --syslog --background etc...)
931
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000932config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000933 bool "vconfig"
934 default n
935 help
936 Creates, removes, and configures VLAN interfaces
937
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000938config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000939 bool "wget"
940 default n
941 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000942 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000943 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000944
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000945config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000946 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000947 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000948 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000949 help
Eric Andersene5642112003-07-14 19:37:08 +0000950 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000951
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000952config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000953 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000954 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000955 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000956 help
Eric Andersene5642112003-07-14 19:37:08 +0000957 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000958
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000959config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000960 bool "Enable long options"
961 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200962 depends on WGET && LONG_OPTS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000963 help
964 Support long options for the wget applet.
965
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000966config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000967 bool "zcip"
968 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000969 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000970 help
971 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
972 It's a daemon that allocates and defends a dynamically assigned
973 address on the 169.254/16 network, requiring no system administrator.
974
975 See http://www.zeroconf.org for further details, and "zcip.script"
976 in the busybox examples.
977
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000978config TCPSVD
979 bool "tcpsvd"
980 default n
981 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000982 tcpsvd listens on a TCP port and runs a program for each new
983 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000984
Denis Vlasenko39b68132009-01-23 02:07:14 +0000985config TUNCTL
986 bool "tunctl"
987 default n
988 help
989 tunctl creates or deletes tun devices.
990
991config FEATURE_TUNCTL_UG
992 bool "Support owner:group assignment"
993 default n
994 depends on TUNCTL
995 help
996 Allow to specify owner and group of newly created interface.
997 340 bytes of pure bloat. Say no here.
998
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000999config UDPSVD
1000 bool "udpsvd"
1001 default n
1002 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +00001003 udpsvd listens on an UDP port and runs a program for each new
1004 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +00001005
Eric Andersenc9f20d92002-12-05 08:41:41 +00001006endmenu