blob: 5f1b6f63680297b2b640a5f1fdce677afc9dd5e1 [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000664config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000665 bool "ping"
666 default n
667 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000668 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000669 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000670
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000671config PING6
672 bool "ping6"
673 default n
674 depends on FEATURE_IPV6 && PING
675 help
676 This will give you a ping that can talk IPv6.
677
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000678config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000679 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000680 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000681 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000682 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000683 Make the output from the ping applet include statistics, and at the
684 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000685
Paul Fox0b2b5842008-02-01 23:25:32 +0000686config PSCAN
687 bool "pscan"
688 default n
689 help
690 Simple network port scanner.
691
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000692config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000693 bool "route"
694 default n
695 help
Eric Andersene5642112003-07-14 19:37:08 +0000696 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000697
Denis Vlasenko14923db2007-06-20 15:23:03 +0000698config SLATTACH
699 bool "slattach"
700 default n
701 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000702 slattach is a small utility to attach network interfaces to serial
703 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000704
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000705#config TC
706# bool "tc"
707# default n
708# help
709# show / manipulate traffic control settings
710#
711#config FEATURE_TC_INGRESS
712# def_bool n
713# depends on TC
714
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000715config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000716 bool "telnet"
717 default n
718 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000719 Telnet is an interface to the TELNET protocol, but is also commonly
720 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000721
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000722config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000723 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000724 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000725 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000726 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000727 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000728 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000729 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000730
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000731config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000732 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000733 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000734 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000735 help
736 Setting this option will forward the USER environment variable to the
737 remote host you are connecting to. This is useful when you need to
738 log into a machine without telling the username (autologin). This
739 option enables `-a' and `-l USER' arguments.
740
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000741config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000742 bool "telnetd"
743 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000744 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000745 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000746 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000747 running the daemon. Please keep in mind that the TELNET protocol
748 sends passwords in plain text. If you can't afford the space for an
749 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000750 more secure alternative, you should seriously consider installing the
751 very small Dropbear SSH daemon instead:
752 http://matt.ucc.asn.au/dropbear/dropbear.html
753
754 Note that for busybox telnetd to work you need several things:
755 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000756 UNIX98_PTYS=y
757 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000758
759 Next, you need a /dev/pts directory on your root filesystem:
760
761 $ ls -ld /dev/pts
762 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
763
764 Next you need the pseudo terminal master multiplexer /dev/ptmx:
765
766 $ ls -la /dev/ptmx
767 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
768
769 Any /dev/ttyp[0-9]* files you may have can be removed.
770 Next, you need to mount the devpts filesystem on /dev/pts using:
771
772 mount -t devpts devpts /dev/pts
773
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000774 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000775 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000776 certain that Busybox has been installed setuid root:
777
778 chown root.root /bin/busybox
779 chmod 4755 /bin/busybox
780
781 with all that done, telnetd _should_ work....
782
Eric Andersenc9f20d92002-12-05 08:41:41 +0000783
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000784config FEATURE_TELNETD_STANDALONE
785 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000786 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000787 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000788 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000789 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000790
Denys Vlasenkoed1667e2009-09-04 02:21:13 +0200791config FEATURE_TELNETD_INETD_WAIT
792 bool "Support -w SEC option (inetd wait mode)"
793 default n
794 depends on FEATURE_TELNETD_STANDALONE
795 help
796 This option allows you to run telnetd in "inet wait" mode.
797 Example inetd.conf line (note "wait", not usual "nowait"):
798
799 telnet stream tcp wait root /bin/telnetd telnetd -w10
800
801 In this example, inetd passes _listening_ socket_ as fd 0
802 to telnetd when connection appears.
803 telnetd will wait for connections until all existing
804 connections are closed, and no new connections
805 appear during 10 seconds. Then it exits, and inetd continues
806 to listen for new connections.
807
808 This option is rarely used. "tcp nowait" is much more usual
809 way of running tcp services, including telnetd.
810 You most probably want to say N here.
811
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000812config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000813 bool "tftp"
814 default n
815 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000816 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000817 is usually used for simple, small transfers such as a root image
818 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000819
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000820config TFTPD
821 bool "tftpd"
822 default n
823 help
824 This enables the Trivial File Transfer Protocol server program.
825 It expects that stdin is a datagram socket and a packet
826 is already pending on it. It will exit after one transfer.
827 In other words: it should be run from inetd in nowait mode,
828 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
829
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000830config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000831 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000832 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000833 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000834 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000835 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000836 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000837 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000838
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000839config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000840 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000841 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000842 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000843 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000844 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000845 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000846 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000847
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000848config FEATURE_TFTP_BLOCKSIZE
Magnus Damm8bd0af92009-11-08 18:03:09 +0100849 bool "Enable 'blksize' and 'tsize' protocol options"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000850 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000851 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000852 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000853 Allow tftp to specify block size, and tftpd to understand
Magnus Damm8bd0af92009-11-08 18:03:09 +0100854 "blksize" and "tsize" options.
855
856config FEATURE_TFTP_PROGRESS_BAR
857 bool "Enable tftp progress meter"
858 default n
859 depends on TFTP && FEATURE_TFTP_BLOCKSIZE
860 help
861 Show progress bar.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000862
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000863config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000864 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000865 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000866 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000867 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200868 Make tftp[d] print debugging messages on stderr.
869 This is useful if you are diagnosing a bug in tftp[d].
Eric Andersenc9f20d92002-12-05 08:41:41 +0000870
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000871config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000872 bool "traceroute"
873 default n
874 help
Denys Vlasenkobcbd37d2009-06-18 13:23:58 +0200875 Utility to trace the route of IP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000876
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000877config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000878 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000879 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000880 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000881 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000882 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000883 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000884
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000885config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000886 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000887 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000888 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000889 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000890 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000891 (8 maximum).
892
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000893config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000894 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000895 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000896 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000897 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000898 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000899
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000900source networking/udhcp/Config.in
901
Wade Berrier142c5cb2008-11-14 21:18:45 +0000902config IFUPDOWN_UDHCPC_CMD_OPTIONS
903 string "ifup udhcpc command line options"
904 default "-R -n"
905 depends on IFUPDOWN && APP_UDHCPC
906 help
907 Command line options to pass to udhcpc from ifup.
908 Intended to alter options not available in /etc/network/interfaces.
909 (IE: --syslog --background etc...)
910
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000911config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000912 bool "vconfig"
913 default n
914 help
915 Creates, removes, and configures VLAN interfaces
916
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000917config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000918 bool "wget"
919 default n
920 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000921 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000922 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000923
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000924config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000925 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000926 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000927 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000928 help
Eric Andersene5642112003-07-14 19:37:08 +0000929 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000930
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000931config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000932 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000933 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000934 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000935 help
Eric Andersene5642112003-07-14 19:37:08 +0000936 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000937
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000938config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000939 bool "Enable long options"
940 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200941 depends on WGET && LONG_OPTS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000942 help
943 Support long options for the wget applet.
944
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000945config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000946 bool "zcip"
947 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000948 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000949 help
950 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
951 It's a daemon that allocates and defends a dynamically assigned
952 address on the 169.254/16 network, requiring no system administrator.
953
954 See http://www.zeroconf.org for further details, and "zcip.script"
955 in the busybox examples.
956
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000957config TCPSVD
958 bool "tcpsvd"
959 default n
960 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000961 tcpsvd listens on a TCP port and runs a program for each new
962 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000963
Denis Vlasenko39b68132009-01-23 02:07:14 +0000964config TUNCTL
965 bool "tunctl"
966 default n
967 help
968 tunctl creates or deletes tun devices.
969
970config FEATURE_TUNCTL_UG
971 bool "Support owner:group assignment"
972 default n
973 depends on TUNCTL
974 help
975 Allow to specify owner and group of newly created interface.
976 340 bytes of pure bloat. Say no here.
977
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000978config UDPSVD
979 bool "udpsvd"
980 default n
981 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000982 udpsvd listens on an UDP port and runs a program for each new
983 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000984
Eric Andersenc9f20d92002-12-05 08:41:41 +0000985endmenu