blob: dc0de9a370b7aca7bd22ea37f32dfa474945bd0d [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
Bernhard Reutner-Fischer97b954d2009-02-14 13:17:48 +000016 bool "Prefer IPv4 addresses from DNS queries"
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000017 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_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000145 bool "Enable -u <user> option"
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 allows the server to run as a specific user
150 rather than defaulting to the user that starts the server.
151 Use of this option requires special privileges to change to a
152 different user.
153
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000154config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000155 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000156 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000157 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000158 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000159 Utilizes password settings from /etc/httpd.conf for basic
160 authentication on a per url basis.
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000161
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000162config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000163 bool "Support MD5 crypted passwords for http Authentication"
Eric Andersen35e643b2003-07-28 07:40:39 +0000164 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000165 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000166 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000167 Enables basic per URL authentication from /etc/httpd.conf
Eric Andersenf3a02bb2003-07-28 08:31:56 +0000168 using md5 passwords.
Eric Andersen35e643b2003-07-28 07:40:39 +0000169
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000170config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000171 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000172 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000173 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000174 help
175 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000176 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000177
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000178config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000179 bool "Support for running scripts through an interpreter"
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000180 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000181 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000182 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000183 This option enables support for running scripts through an
184 interpreter. Turn this on if you want PHP scripts to work
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000185 properly. You need to supply an additional line in your httpd
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000186 config file:
187 *.php:/path/to/your/php
188
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000189config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000190 bool "Set REMOTE_PORT environment variable for CGI"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000191 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000192 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000193 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000194 Use of this option can assist scripts in generating
195 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000196
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000198 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000199 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000200 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000201 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000202 This option allows html encoding of arbitrary strings for display
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000203 by the browser. Output goes to stdout.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000204 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000205 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000206
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000207config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000208 bool "Support for custom error pages"
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000209 default n
210 depends on HTTPD
211 help
212 This option allows you to define custom error pages in
213 the configuration file instead of the default HTTP status
214 error pages. For instance, if you add the line:
215 E404:/path/e404.html
216 in the config file, the server will respond the specified
217 '/path/e404.html' file instead of the terse '404 NOT FOUND'
218 message.
219
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000220config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000221 bool "Support for reverse proxy"
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000222 default n
223 depends on HTTPD
224 help
225 This option allows you to define URLs that will be forwarded
226 to another HTTP server. To setup add the following line to the
227 configuration file
228 P:/url/:http://hostname[:port]/new/path/
229 Then a request to /url/myfile will be forwarded to
230 http://hostname[:port]/new/path/myfile.
231
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000232config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000233 bool "ifconfig"
234 default n
235 help
Eric Andersene5642112003-07-14 19:37:08 +0000236 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000237
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000238config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000239 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000240 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000241 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000242 help
Eric Andersene5642112003-07-14 19:37:08 +0000243 If ifconfig is called with no arguments it will display the status
244 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000245
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000246config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000247 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000248 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000249 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000250 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000251 Allow "keepalive" and "outfill" support for SLIP. If you're not
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000252 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000254config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000255 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000256 default n
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 Allow the start address for shared memory, start address for I/O,
260 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000261
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000262config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000263 bool "Enable option \"hw\" (ether only)"
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 Set the hardware address of this interface, if the device driver
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000268 supports this operation. Currently, we only support the 'ether'
Eric Andersene5642112003-07-14 19:37:08 +0000269 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000270
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000271config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000272 bool "Set the broadcast automatically"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000273 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000274 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000275 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000276 Setting this will make ifconfig attempt to find the broadcast
277 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000278
Denis Vlasenko06aed432008-02-26 18:25:24 +0000279config IFENSLAVE
280 bool "ifenslave"
281 default n
282 help
283 Userspace application to bind several interfaces
284 to a logical interface (use with kernel bonding driver).
285
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000286config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000287 bool "ifupdown"
288 default n
289 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000290 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000291 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000292 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000293 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000294 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000295 course you could use non-busybox versions of these programs, so
296 against my better judgement (since this will surely result in plenty
297 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000298 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000299 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000300 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000301
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000302config IFUPDOWN_IFSTATE_PATH
303 string "Absolute path to ifstate file"
304 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000305 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000306 help
307 ifupdown keeps state information in a file called ifstate.
308 Typically it is located in /var/run/ifstate, however
309 some distributions tend to put it in other places
310 (debian, for example, uses /etc/network/run/ifstate).
311 This config option defines location of ifstate.
312
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000313config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000314 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000315 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000316 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000317 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000318 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
319 than the default of using the older 'ifconfig' and 'route' utilities.
320
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000321config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000322 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000323 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000324 depends on FEATURE_IFUPDOWN_IP
325 select IP
326 select FEATURE_IP_ADDRESS
327 select FEATURE_IP_LINK
328 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000329 help
330 Use the busybox iproute "ip" applet to implement "ifupdown".
331
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000332 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000333 utility or the "ifup" and "ifdown" applets will not work.
334
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000335config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000336 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000337 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000338 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000339 select IFCONFIG
340 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000341 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000342 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000343 implement the "ifup" and "ifdown" utilities.
344
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000345 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000346 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000347 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000348
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000349config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000350 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000351 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000352 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000353 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000354 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000355
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000356config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000357 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000358 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000359 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000360 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000361 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000362
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000363### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000364###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000365### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000366### default n
367### depends on IFUPDOWN
368### help
369### If this option is selected you can use busybox to work with IPX
370### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000371
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000373 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000374 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000375 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000376 help
377 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000378 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000379
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000380config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000381 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000382 default n
383 depends on IFUPDOWN
384 help
385 This enables support for the external dhcp clients. Clients are
386 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
387 Otherwise, if udhcpc applet is enabled, it is used.
388 Otherwise, ifup/ifdown will have no support for DHCP.
389
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000390config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000391 bool "inetd"
392 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000393 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000394 help
395 Internet superserver daemon
396
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000397config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000398 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000399 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000400 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000401 help
402 Echo received data internal inetd service
403
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000404config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000405 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000406 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000407 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000408 help
409 Internet /dev/null internal inetd service
410
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000411config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000412 bool "Support time service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000413 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000414 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000415 help
416 Return 32 bit time since 1900 internal inetd service
417
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000418config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000419 bool "Support daytime service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000420 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000421 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000422 help
423 Return human-readable time internal inetd service
424
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000425config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000426 bool "Support chargen service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000427 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000428 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000429 help
430 Familiar character generator internal inetd service
431
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000432config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000433 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000434 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000435 depends on INETD
436 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000437 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000438 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000439
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000440config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000441 bool "ip"
442 default n
443 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000444 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000445 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000446 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000447
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000449 bool "ip address"
450 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000451 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000452 help
453 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000454
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000455config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000456 bool "ip link"
457 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000458 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000459 help
460 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000461
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000462config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000463 bool "ip route"
464 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000465 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000466 help
467 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000468
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000469config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000470 bool "ip tunnel"
471 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000472 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000473 help
474 Add support for tunneling commands to "ip".
475
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000476config FEATURE_IP_RULE
477 bool "ip rule"
478 default n
479 depends on IP
480 help
481 Add support for rule commands to "ip".
482
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000483config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000484 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000485 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000486 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000487 help
488 Also support short-form of ip <OBJECT> commands:
489 ip addr -> ipaddr
490 ip link -> iplink
491 ip route -> iproute
492 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000493 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000494
495 Say N unless you desparately need the short form of the ip
496 object commands.
497
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000498config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000499 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000500 default n
501 depends on IP
502 help
503 If you are not going to use links of type "frad", "econet",
504 "bif" etc, you probably don't need to enable this.
505 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
506 link types are supported without this option selected.
507
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000508config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000509 bool
510 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000511 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000512
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000513config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000514 bool
515 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000516 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000517
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000518config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000519 bool
520 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000521 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000522
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000523config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000524 bool
525 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000526 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000527
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000528config IPRULE
529 bool
530 default y
531 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
532
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000533config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000534 bool "ipcalc"
535 default n
536 help
Eric Andersene5642112003-07-14 19:37:08 +0000537 ipcalc takes an IP address and netmask and calculates the
538 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000539
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000540config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000541 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000542 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000543 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000544 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000545 Adds the options hostname, prefix and silent to the output of
546 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000547
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000548config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000549 bool "Enable long options"
550 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000551 depends on IPCALC && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000552 help
553 Support long options for the ipcalc applet.
554
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000555config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000556 bool "nameif"
557 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000558 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000559 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000560 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000561 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000562 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000563 with list of new interface names and MACs.
Denis Vlasenko01eaee92008-04-21 02:21:45 +0000564 Maximum interface name length: IFNAMSIZ = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000565 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000566 File format:
567 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000568 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000569
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000570config FEATURE_NAMEIF_EXTENDED
571 bool "Extended nameif"
572 default n
573 depends on NAMEIF
574 help
575 This extends the nameif syntax to support the bus_info and driver
576 checks. The syntax is compatible to the normal nameif.
577 File format:
578 new_interface_name driver=asix bus=usb-0000:00:08.2-3
579 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
580 new_interface_name mac=00:80:C8:38:91:B5
581 new_interface_name 00:80:C8:38:91:B5
582
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000583config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000584 bool "nc"
585 default n
586 help
Eric Andersene5642112003-07-14 19:37:08 +0000587 A simple Unix utility which reads and writes data across network
588 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000589
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000590config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000591 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000592 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000593 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000594 help
Rob Landley1cca9482006-07-10 19:45:20 +0000595 Allow netcat to act as a server.
596
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000597config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000598 bool "Netcat extensions (-eiw and filename)"
599 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000601 help
602 Add -e (support for executing the rest of the command line after
603 making or receiving a successful connection), -i (delay interval for
604 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000605
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000606config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000607 bool "netstat"
608 default n
609 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000610 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000611
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000612config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000613 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000614 default n
615 depends on NETSTAT
616 help
617 Add support for wide columns. Useful when displaying IPv6 addresses
618 (-W option).
619
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000620config FEATURE_NETSTAT_PRG
621 bool "Enable PID/Program name output"
622 default n
623 depends on NETSTAT
624 help
625 Add support for -p flag to print out PID and program name.
626 +700 bytes of code.
627
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000628config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000629 bool "nslookup"
630 default n
631 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000632 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000633
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000634config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000635 bool "ping"
636 default n
637 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000638 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000639 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000640
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000641config PING6
642 bool "ping6"
643 default n
644 depends on FEATURE_IPV6 && PING
645 help
646 This will give you a ping that can talk IPv6.
647
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000648config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000649 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000650 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000651 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000652 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000653 Make the output from the ping applet include statistics, and at the
654 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000655
Paul Fox0b2b5842008-02-01 23:25:32 +0000656config PSCAN
657 bool "pscan"
658 default n
659 help
660 Simple network port scanner.
661
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000662config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000663 bool "route"
664 default n
665 help
Eric Andersene5642112003-07-14 19:37:08 +0000666 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000667
Denis Vlasenko14923db2007-06-20 15:23:03 +0000668config SLATTACH
669 bool "slattach"
670 default n
671 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000672 slattach is a small utility to attach network interfaces to serial
673 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000674
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000675#config TC
676# bool "tc"
677# default n
678# help
679# show / manipulate traffic control settings
680#
681#config FEATURE_TC_INGRESS
682# def_bool n
683# depends on TC
684
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000685config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000686 bool "telnet"
687 default n
688 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000689 Telnet is an interface to the TELNET protocol, but is also commonly
690 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000691
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000692config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000693 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000694 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000695 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000696 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000697 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000698 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000699 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000700
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000701config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000702 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000703 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000704 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000705 help
706 Setting this option will forward the USER environment variable to the
707 remote host you are connecting to. This is useful when you need to
708 log into a machine without telling the username (autologin). This
709 option enables `-a' and `-l USER' arguments.
710
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000711config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000712 bool "telnetd"
713 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000714 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000715 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000716 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000717 running the daemon. Please keep in mind that the TELNET protocol
718 sends passwords in plain text. If you can't afford the space for an
719 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000720 more secure alternative, you should seriously consider installing the
721 very small Dropbear SSH daemon instead:
722 http://matt.ucc.asn.au/dropbear/dropbear.html
723
724 Note that for busybox telnetd to work you need several things:
725 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000726 UNIX98_PTYS=y
727 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000728
729 Next, you need a /dev/pts directory on your root filesystem:
730
731 $ ls -ld /dev/pts
732 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
733
734 Next you need the pseudo terminal master multiplexer /dev/ptmx:
735
736 $ ls -la /dev/ptmx
737 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
738
739 Any /dev/ttyp[0-9]* files you may have can be removed.
740 Next, you need to mount the devpts filesystem on /dev/pts using:
741
742 mount -t devpts devpts /dev/pts
743
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000744 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000745 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000746 certain that Busybox has been installed setuid root:
747
748 chown root.root /bin/busybox
749 chmod 4755 /bin/busybox
750
751 with all that done, telnetd _should_ work....
752
Eric Andersenc9f20d92002-12-05 08:41:41 +0000753
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000754config FEATURE_TELNETD_STANDALONE
755 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000756 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000757 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000758 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000759 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000760
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000761config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000762 bool "tftp"
763 default n
764 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000765 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000766 is usually used for simple, small transfers such as a root image
767 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000768
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000769config TFTPD
770 bool "tftpd"
771 default n
772 help
773 This enables the Trivial File Transfer Protocol server program.
774 It expects that stdin is a datagram socket and a packet
775 is already pending on it. It will exit after one transfer.
776 In other words: it should be run from inetd in nowait mode,
777 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
778
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000779config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000780 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000781 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000782 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000783 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000784 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000785 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000786 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000787
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000788config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000789 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000790 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000791 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000792 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000793 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000794 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000795 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000796
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000797config FEATURE_TFTP_BLOCKSIZE
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000798 bool "Enable \"blksize\" protocol option"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000799 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000800 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000801 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000802 Allow tftp to specify block size, and tftpd to understand
803 "blksize" option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000804
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000805config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000806 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000807 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000808 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000809 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000810 Enable debug settings for tftp. This is useful if you're running
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000811 into problems with tftp as the protocol doesn't help you much when
812 you run into problems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000813
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000814config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000815 bool "traceroute"
816 default n
817 help
Eric Andersene5642112003-07-14 19:37:08 +0000818 Utility to trace the route of IP packets
Eric Andersenc9f20d92002-12-05 08:41:41 +0000819
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000820config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000821 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000822 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000823 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000824 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000825 Add some verbosity to traceroute. This includes amongst other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000826 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000827
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000828config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000829 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000830 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000831 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000832 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000833 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000834 (8 maximum).
835
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000836config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000837 bool "Use ICMP instead of UDP"
"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 feature to allow for ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000842
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000843source networking/udhcp/Config.in
844
Wade Berrier142c5cb2008-11-14 21:18:45 +0000845config IFUPDOWN_UDHCPC_CMD_OPTIONS
846 string "ifup udhcpc command line options"
847 default "-R -n"
848 depends on IFUPDOWN && APP_UDHCPC
849 help
850 Command line options to pass to udhcpc from ifup.
851 Intended to alter options not available in /etc/network/interfaces.
852 (IE: --syslog --background etc...)
853
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000854config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000855 bool "vconfig"
856 default n
857 help
858 Creates, removes, and configures VLAN interfaces
859
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000860config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000861 bool "wget"
862 default n
863 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000864 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000865 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000866
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000867config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000868 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000869 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000870 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000871 help
Eric Andersene5642112003-07-14 19:37:08 +0000872 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000873
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000874config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000875 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000876 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000877 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000878 help
Eric Andersene5642112003-07-14 19:37:08 +0000879 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000880
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000881config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000882 bool "Enable long options"
883 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000884 depends on WGET && GETOPT_LONG
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000885 help
886 Support long options for the wget applet.
887
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000888config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000889 bool "zcip"
890 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000891 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000892 help
893 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
894 It's a daemon that allocates and defends a dynamically assigned
895 address on the 169.254/16 network, requiring no system administrator.
896
897 See http://www.zeroconf.org for further details, and "zcip.script"
898 in the busybox examples.
899
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000900config TCPSVD
901 bool "tcpsvd"
902 default n
903 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000904 tcpsvd listens on a TCP port and runs a program for each new
905 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000906
Denis Vlasenko39b68132009-01-23 02:07:14 +0000907config TUNCTL
908 bool "tunctl"
909 default n
910 help
911 tunctl creates or deletes tun devices.
912
913config FEATURE_TUNCTL_UG
914 bool "Support owner:group assignment"
915 default n
916 depends on TUNCTL
917 help
918 Allow to specify owner and group of newly created interface.
919 340 bytes of pure bloat. Say no here.
920
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000921config UDPSVD
922 bool "udpsvd"
923 default n
924 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000925 udpsvd listens on an UDP port and runs a program for each new
926 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000927
Eric Andersenc9f20d92002-12-05 08:41:41 +0000928endmenu