blob: f7f189cd6e53ff9965b94565408898eff0607336 [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 Vlasenko9d6c4692007-11-14 10:18:33 +000015config FEATURE_PREFER_IPV4_ADDRESS
16 bool "Preferentially use IPv4 addresses from DNS queries"
17 default y
18 depends on FEATURE_IPV6
19 help
20 Use IPv4 address of network host if it has one.
21
22 If this option is off, the first returned address will be used.
23 This may cause problems when your DNS server is IPv6-capable and
24 is returning IPv6 host addresses too. If IPv6 address
25 precedes IPv4 one in DNS reply, busybox network applets
26 (e.g. wget) will use IPv6 address. On an IPv6-incapable host
27 or network applets will fail to connect to the host
28 using IPv6 address.
29
Denis Vlasenko5de9e9c2007-01-22 22:46:04 +000030config VERBOSE_RESOLUTION_ERRORS
31 bool "Verbose resolution errors"
32 default n
33 help
34 Enable if you are not satisfied with simplistic
35 "can't resolve 'hostname.com'" and want to know more.
36 This may increase size of your executable a bit.
37
Denis Vlasenkofa85b862007-01-07 01:24:12 +000038config ARP
39 bool "arp"
40 default n
41 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000042 Manipulate the system ARP cache.
Denis Vlasenkofa85b862007-01-07 01:24:12 +000043
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044config ARPING
Glenn L McGrath9e598412003-01-09 10:06:01 +000045 bool "arping"
46 default n
47 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000048 Ping hosts by ARP packets.
Glenn L McGrath9e598412003-01-09 10:06:01 +000049
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000050config BRCTL
51 bool "brctl"
52 default n
53 help
54 Manage ethernet bridges.
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000055 Supports addbr/delbr and addif/delif.
56
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000057config FEATURE_BRCTL_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000058 bool "Fancy options"
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000059 default n
60 depends on BRCTL
61 help
62 Add support for extended option like:
63 setageing, setfd, sethello, setmaxage,
64 setpathcost, setportprio, setbridgeprio,
65 stp
Bernhard Reutner-Fischer2b11fb42008-01-14 16:10:11 +000066 This adds about 600 bytes.
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000067
Denis Vlasenko278a1c22008-04-06 07:17:02 +000068config FEATURE_BRCTL_SHOW
69 bool "Support show, showmac and showstp"
70 default n
71 depends on BRCTL && FEATURE_BRCTL_FANCY
72 help
73 Add support for option which prints the current config:
74 showmacs, showstp, show
75
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000076config DNSD
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000077 bool "dnsd"
78 default n
79 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +000080 Small and static DNS server daemon.
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000081
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000082config ETHER_WAKE
Mike Frysingerb662f0d2005-05-11 03:59:53 +000083 bool "ether-wake"
84 default n
85 help
86 Send a magic packet to wake up sleeping machines.
87
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000088config FAKEIDENTD
Mike Frysingerfa69f112005-04-17 07:24:19 +000089 bool "fakeidentd"
90 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000091 select FEATURE_SYSLOG
Mike Frysingerfa69f112005-04-17 07:24:19 +000092 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +000093 fakeidentd listens on the ident port and returns a predefined
94 fake value on any query.
Mike Frysingerfa69f112005-04-17 07:24:19 +000095
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000096config FTPGET
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +000097 bool "ftpget"
98 default n
99 help
100 Retrieve a remote file via FTP.
101
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000102config FTPPUT
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000103 bool "ftpput"
104 default n
105 help
106 Store a remote file via FTP.
107
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000108config FEATURE_FTPGETPUT_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000109 bool "Enable long options in ftpget/ftpput"
110 default n
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000111 depends on GETOPT_LONG && (FTPGET || FTPPUT)
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000112 help
113 Support long options for the ftpget/ftpput applet.
114
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000115config HOSTNAME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000116 bool "hostname"
117 default n
118 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000119 Show or set the system's host name.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000120
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000121config HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000122 bool "httpd"
123 default n
124 help
125 Serve web pages via an HTTP server.
126
Denis Vlasenkof4310172007-09-21 22:35:18 +0000127config FEATURE_HTTPD_RANGES
128 bool "Support 'Ranges:' header"
129 default n
130 depends on HTTPD
131 help
132 Makes httpd emit "Accept-Ranges: bytes" header and understand
133 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
134 downloads, seeking in multimedia players etc.
135
Denis Vlasenko1b9064d2007-08-12 21:05:49 +0000136config FEATURE_HTTPD_USE_SENDFILE
137 bool "Use sendfile system call"
138 default n
139 depends on HTTPD
140 help
141 When enabled, httpd will use the kernel sendfile() function
142 instead of read/write loop.
143
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000145 bool "Support reloading of global config file on HUP signal"
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000146 default n
Denis Vlasenkodb506472006-12-17 20:18:05 +0000147 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000148 help
149 This option enables processing of SIGHUP to reload cached
150 configuration settings.
151
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000152config FEATURE_HTTPD_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000153 bool "Enable -u <user> option"
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000154 default n
Denis Vlasenkodb506472006-12-17 20:18:05 +0000155 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000156 help
157 This option allows the server to run as a specific user
158 rather than defaulting to the user that starts the server.
159 Use of this option requires special privileges to change to a
160 different user.
161
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000162config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000163 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000164 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000165 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000166 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000167 Utilizes password settings from /etc/httpd.conf for basic
168 authentication on a per url basis.
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000169
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000170config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000171 bool "Support MD5 crypted passwords for http Authentication"
Eric Andersen35e643b2003-07-28 07:40:39 +0000172 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000173 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000174 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000175 Enables basic per URL authentication from /etc/httpd.conf
Eric Andersenf3a02bb2003-07-28 08:31:56 +0000176 using md5 passwords.
Eric Andersen35e643b2003-07-28 07:40:39 +0000177
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000178config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000179 bool "Support loading additional MIME types at run-time"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000180 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000181 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000182 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000183 This option enables support for additional MIME types at
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000184 run-time to be specified in the configuration file.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000185
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000187 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000188 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000189 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000190 help
191 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000192 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000193
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000194config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000195 bool "Support for running scripts through an interpreter"
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000196 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000198 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000199 This option enables support for running scripts through an
200 interpreter. Turn this on if you want PHP scripts to work
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000201 properly. You need to supply an additional line in your httpd
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000202 config file:
203 *.php:/path/to/your/php
204
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000205config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000206 bool "Set REMOTE_PORT environment variable for CGI"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000207 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000208 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000209 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000210 Use of this option can assist scripts in generating
211 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000212
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000213config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000214 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000215 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000216 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000217 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000218 This option allows html encoding of arbitrary strings for display
219 by the browser. Output goes to stdout.
220 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000221 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000222
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000223config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000224 bool "Support for custom error pages"
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000225 default n
226 depends on HTTPD
227 help
228 This option allows you to define custom error pages in
229 the configuration file instead of the default HTTP status
230 error pages. For instance, if you add the line:
231 E404:/path/e404.html
232 in the config file, the server will respond the specified
233 '/path/e404.html' file instead of the terse '404 NOT FOUND'
234 message.
235
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000236config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000237 bool "Support for reverse proxy"
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000238 default n
239 depends on HTTPD
240 help
241 This option allows you to define URLs that will be forwarded
242 to another HTTP server. To setup add the following line to the
243 configuration file
244 P:/url/:http://hostname[:port]/new/path/
245 Then a request to /url/myfile will be forwarded to
246 http://hostname[:port]/new/path/myfile.
247
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000248config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000249 bool "ifconfig"
250 default n
251 help
Eric Andersene5642112003-07-14 19:37:08 +0000252 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000254config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000255 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000256 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000257 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000258 help
Eric Andersene5642112003-07-14 19:37:08 +0000259 If ifconfig is called with no arguments it will display the status
260 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000261
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000262config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000263 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000264 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000265 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000266 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000267 Allow "keepalive" and "outfill" support for SLIP. If you're not
268 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000269
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000270config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000271 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
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
Eric Andersene5642112003-07-14 19:37:08 +0000275 Allow the start address for shared memory, start address for I/O,
276 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000277
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000278config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000279 bool "Enable option \"hw\" (ether only)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000280 default y
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 Set the hardware address of this interface, if the device driver
284 supports this operation. Currently, we only support the 'ether'
285 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000286
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000287config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000288 bool "Set the broadcast automatically"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000289 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000290 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000292 Setting this will make ifconfig attempt to find the broadcast
293 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000294
Denis Vlasenko06aed432008-02-26 18:25:24 +0000295config IFENSLAVE
296 bool "ifenslave"
297 default n
298 help
299 Userspace application to bind several interfaces
300 to a logical interface (use with kernel bonding driver).
301
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000302config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000303 bool "ifupdown"
304 default n
305 help
Eric Andersen342aea92003-07-26 09:27:02 +0000306 Activate or deactivate the specified interfaces. This applet makes
307 use of either "ifconfig" and "route" or the "ip" command to actually
308 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000309 to enable either IFCONFIG and ROUTE, or enable
310 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000311 course you could use non-busybox versions of these programs, so
312 against my better judgement (since this will surely result in plenty
313 of support questions on the mailing list), I do not force you to
314 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000315 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000316 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000317
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000318config IFUPDOWN_IFSTATE_PATH
319 string "Absolute path to ifstate file"
320 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000321 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000322 help
323 ifupdown keeps state information in a file called ifstate.
324 Typically it is located in /var/run/ifstate, however
325 some distributions tend to put it in other places
326 (debian, for example, uses /etc/network/run/ifstate).
327 This config option defines location of ifstate.
328
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000329config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000330 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000331 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000332 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000333 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000334 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
335 than the default of using the older 'ifconfig' and 'route' utilities.
336
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000337config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000338 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000339 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000340 depends on FEATURE_IFUPDOWN_IP
341 select IP
342 select FEATURE_IP_ADDRESS
343 select FEATURE_IP_LINK
344 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000345 help
346 Use the busybox iproute "ip" applet to implement "ifupdown".
347
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000348 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000349 utility or the "ifup" and "ifdown" applets will not work.
350
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000351config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000352 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000353 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000354 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000355 select IFCONFIG
356 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000357 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000358 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000359 implement the "ifup" and "ifdown" utilities.
360
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000361 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000362 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000363 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000364
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000366 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000367 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000368 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000369 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000370 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000371
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000373 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000374 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000375 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000376 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000377 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000378
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000379### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000380###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000381### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000382### default n
383### depends on IFUPDOWN
384### help
385### If this option is selected you can use busybox to work with IPX
386### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000387
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000388config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000389 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000390 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000391 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000392 help
393 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000394 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000395
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000396config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000397 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000398 default n
399 depends on IFUPDOWN
400 help
401 This enables support for the external dhcp clients. Clients are
402 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
403 Otherwise, if udhcpc applet is enabled, it is used.
404 Otherwise, ifup/ifdown will have no support for DHCP.
405
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000406config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000407 bool "inetd"
408 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000409 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000410 help
411 Internet superserver daemon
412
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000413config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000414 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000415 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000416 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000417 help
418 Echo received data internal inetd service
419
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000420config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000421 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000422 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000423 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000424 help
425 Internet /dev/null internal inetd service
426
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000427config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000428 bool "Support time 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 Return 32 bit time since 1900 internal inetd service
433
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000435 bool "Support daytime 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 Return human-readable time internal inetd service
440
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000442 bool "Support chargen 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 Familiar character generator internal inetd service
447
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000449 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000450 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000451 depends on INETD
452 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000453 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000454 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000455
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000456config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000457 bool "ip"
458 default n
459 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000460 The "ip" applet is a TCP/IP interface configuration and routing
461 utility. You generally don't need "ip" to use busybox with
462 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000463
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000464config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000465 bool "ip address"
466 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000467 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000468 help
469 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000470
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000471config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000472 bool "ip link"
473 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000474 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000475 help
476 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000477
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000478config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000479 bool "ip route"
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 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000484
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000485config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000486 bool "ip tunnel"
487 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000488 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000489 help
490 Add support for tunneling commands to "ip".
491
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000492config FEATURE_IP_RULE
493 bool "ip rule"
494 default n
495 depends on IP
496 help
497 Add support for rule commands to "ip".
498
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000500 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000501 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000502 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000503 help
504 Also support short-form of ip <OBJECT> commands:
505 ip addr -> ipaddr
506 ip link -> iplink
507 ip route -> iproute
508 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000509 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000510
511 Say N unless you desparately need the short form of the ip
512 object commands.
513
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000514config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000515 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000516 default n
517 depends on IP
518 help
519 If you are not going to use links of type "frad", "econet",
520 "bif" etc, you probably don't need to enable this.
521 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
522 link types are supported without this option selected.
523
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000524config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000525 bool
526 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000527 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000528
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000529config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000530 bool
531 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000532 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000533
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000534config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000535 bool
536 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000537 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000538
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000539config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000540 bool
541 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000542 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000543
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000544config IPRULE
545 bool
546 default y
547 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
548
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000549config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000550 bool "ipcalc"
551 default n
552 help
Eric Andersene5642112003-07-14 19:37:08 +0000553 ipcalc takes an IP address and netmask and calculates the
554 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000555
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000556config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000557 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000558 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000559 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000560 help
Glenn L McGrath530ea422003-09-02 06:59:57 +0000561 Adds the options hostname, prefix and silent to the output of "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000562
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000563config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000564 bool "Enable long options"
565 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000566 depends on IPCALC && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000567 help
568 Support long options for the ipcalc applet.
569
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000570config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000571 bool "nameif"
572 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000573 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000574 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000575 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000576 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000577 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000578 with list of new interface names and MACs.
579 Maximum interface name length: IF_NAMESIZE = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000580 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000581 File format:
582 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000583 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000584
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000585config FEATURE_NAMEIF_EXTENDED
586 bool "Extended nameif"
587 default n
588 depends on NAMEIF
589 help
590 This extends the nameif syntax to support the bus_info and driver
591 checks. The syntax is compatible to the normal nameif.
592 File format:
593 new_interface_name driver=asix bus=usb-0000:00:08.2-3
594 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
595 new_interface_name mac=00:80:C8:38:91:B5
596 new_interface_name 00:80:C8:38:91:B5
597
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000598config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000599 bool "nc"
600 default n
601 help
Eric Andersene5642112003-07-14 19:37:08 +0000602 A simple Unix utility which reads and writes data across network
603 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000604
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000605config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000606 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000607 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000608 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000609 help
Rob Landley1cca9482006-07-10 19:45:20 +0000610 Allow netcat to act as a server.
611
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000612config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000613 bool "Netcat extensions (-eiw and filename)"
614 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000615 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000616 help
617 Add -e (support for executing the rest of the command line after
618 making or receiving a successful connection), -i (delay interval for
619 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000620
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000621config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000622 bool "netstat"
623 default n
624 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000625 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000626
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000627config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000628 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000629 default n
630 depends on NETSTAT
631 help
632 Add support for wide columns. Useful when displaying IPv6 addresses
633 (-W option).
634
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000635config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000636 bool "nslookup"
637 default n
638 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000639 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000640
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000641config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000642 bool "ping"
643 default n
644 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000645 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000646 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000647
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000648config PING6
649 bool "ping6"
650 default n
651 depends on FEATURE_IPV6 && PING
652 help
653 This will give you a ping that can talk IPv6.
654
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000655config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000656 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000657 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000658 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000659 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000660 Make the output from the ping applet include statistics, and at the
661 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000662
Paul Fox0b2b5842008-02-01 23:25:32 +0000663config PSCAN
664 bool "pscan"
665 default n
666 help
667 Simple network port scanner.
668
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000669config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000670 bool "route"
671 default n
672 help
Eric Andersene5642112003-07-14 19:37:08 +0000673 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000674
Denis Vlasenko73032ca2008-01-28 22:47:03 +0000675config SENDMAIL
676 bool "sendmail"
677 default n
678 help
679 Barebones sendmail.
680
Denis Vlasenko6d52c1e2008-02-08 18:24:54 +0000681config FETCHMAIL
682 bool "fetchmail"
683 default n
684 help
Denis Vlasenko8195d202008-02-27 09:39:04 +0000685 Barebones fetchmail.
Denis Vlasenko73032ca2008-01-28 22:47:03 +0000686
Denis Vlasenko14923db2007-06-20 15:23:03 +0000687config SLATTACH
688 bool "slattach"
689 default n
690 help
691 slattach is a small utility to attach network interfaces to serial lines.
692
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000693config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000694 bool "telnet"
695 default n
696 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000697 Telnet is an interface to the TELNET protocol, but is also commonly
698 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000699
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000700config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000701 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000702 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000703 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000704 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000705 Setting this option will forward the TERM environment variable to the
706 remote host you are connecting to. This is useful to make sure that
707 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000708
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000709config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000710 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000711 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000712 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000713 help
714 Setting this option will forward the USER environment variable to the
715 remote host you are connecting to. This is useful when you need to
716 log into a machine without telling the username (autologin). This
717 option enables `-a' and `-l USER' arguments.
718
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000719config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000720 bool "telnetd"
721 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000722 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000723 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000724 A daemon for the TELNET protocol, allowing you to log onto the host
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000725 running the daemon. Please keep in mind that the TELNET protocol
Eric Andersen31ec93e2004-09-23 20:08:46 +0000726 sends passwords in plain text. If you can't afford the space for an
727 SSH daemon and you trust your network, you may say 'y' here. As a
728 more secure alternative, you should seriously consider installing the
729 very small Dropbear SSH daemon instead:
730 http://matt.ucc.asn.au/dropbear/dropbear.html
731
732 Note that for busybox telnetd to work you need several things:
733 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000734 UNIX98_PTYS=y
735 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000736
737 Next, you need a /dev/pts directory on your root filesystem:
738
739 $ ls -ld /dev/pts
740 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
741
742 Next you need the pseudo terminal master multiplexer /dev/ptmx:
743
744 $ ls -la /dev/ptmx
745 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
746
747 Any /dev/ttyp[0-9]* files you may have can be removed.
748 Next, you need to mount the devpts filesystem on /dev/pts using:
749
750 mount -t devpts devpts /dev/pts
751
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000752 You need to be sure that Busybox has LOGIN and
753 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000754 certain that Busybox has been installed setuid root:
755
756 chown root.root /bin/busybox
757 chmod 4755 /bin/busybox
758
759 with all that done, telnetd _should_ work....
760
Eric Andersenc9f20d92002-12-05 08:41:41 +0000761
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000762config FEATURE_TELNETD_STANDALONE
763 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000764 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000765 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000766 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000767 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000768
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000769config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000770 bool "tftp"
771 default n
772 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000773 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000774 is usually used for simple, small transfers such as a root image
775 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000776
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000777config TFTPD
778 bool "tftpd"
779 default n
780 help
781 This enables the Trivial File Transfer Protocol server program.
782 It expects that stdin is a datagram socket and a packet
783 is already pending on it. It will exit after one transfer.
784 In other words: it should be run from inetd in nowait mode,
785 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
786
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000787config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000788 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000789 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000790 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000791 help
Eric Andersene5642112003-07-14 19:37:08 +0000792 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000793 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000794 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000795
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000796config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000797 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000798 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000799 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000800 help
Eric Andersene5642112003-07-14 19:37:08 +0000801 Add support for the PUT command within the TFTP client. This allows
802 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000803 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000804
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000805config FEATURE_TFTP_BLOCKSIZE
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000806 bool "Enable \"blksize\" protocol option"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000807 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000808 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000809 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000810 Allow tftp to specify block size, and tftpd to understand
811 "blksize" option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000812
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000813config DEBUG_TFTP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000814 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000815 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000816 depends on TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000817 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000818 Enable debug settings for tftp. This is useful if you're running
819 into problems with tftp as the protocol doesn't help you much when
820 you run into problems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000821
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000822config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000823 bool "traceroute"
824 default n
825 help
Eric Andersene5642112003-07-14 19:37:08 +0000826 Utility to trace the route of IP packets
Eric Andersenc9f20d92002-12-05 08:41:41 +0000827
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000828config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000829 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000830 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000831 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000832 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000833 Add some verbosity to traceroute. This includes amongst other things
834 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000835
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000836config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000837 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000838 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000839 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000840 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000841 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000842 (8 maximum).
843
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000844config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000845 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000846 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000847 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000848 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000849 Add feature to allow for ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000850
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000851source networking/udhcp/Config.in
852
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000853config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000854 bool "vconfig"
855 default n
856 help
857 Creates, removes, and configures VLAN interfaces
858
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000859config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000860 bool "wget"
861 default n
862 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000863 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000864 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000865
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000866config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000867 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000868 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000869 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000870 help
Eric Andersene5642112003-07-14 19:37:08 +0000871 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000872
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000873config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000874 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000875 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000876 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000877 help
Eric Andersene5642112003-07-14 19:37:08 +0000878 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000879
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000880config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000881 bool "Enable long options"
882 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000883 depends on WGET && GETOPT_LONG
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000884 help
885 Support long options for the wget applet.
886
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000887config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000888 bool "zcip"
889 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000890 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000891 help
892 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
893 It's a daemon that allocates and defends a dynamically assigned
894 address on the 169.254/16 network, requiring no system administrator.
895
896 See http://www.zeroconf.org for further details, and "zcip.script"
897 in the busybox examples.
898
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000899config TCPSVD
900 bool "tcpsvd"
901 default n
902 help
903 tcpsvd listens on a TCP port and runs a program for each new connection
904
905config UDPSVD
906 bool "udpsvd"
907 default n
908 help
909 udpsvd listens on an UDP port and runs a program for each new connection
910
Eric Andersenc9f20d92002-12-05 08:41:41 +0000911endmenu