blob: 62a21f73875829d79a071644d06cf5db6f60683d [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Networking Utilities"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "Enable IPv6 support"
10 default n
11 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +000012 Enable IPv6 support in busybox.
13 This adds IPv6 support in the networking applets.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
Denis Vlasenkof6b46852009-04-25 13:16:53 +000015config FEATURE_UNIX_LOCAL
16 bool "Enable Unix domain socket support"
17 default n
18 help
19 Enable Unix domain socket support in all busybox networking
20 applets.
21
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000022config FEATURE_PREFER_IPV4_ADDRESS
Bernhard Reutner-Fischer97b954d2009-02-14 13:17:48 +000023 bool "Prefer IPv4 addresses from DNS queries"
Denis Vlasenko9d6c4692007-11-14 10:18:33 +000024 default y
25 depends on FEATURE_IPV6
26 help
27 Use IPv4 address of network host if it has one.
28
29 If this option is off, the first returned address will be used.
30 This may cause problems when your DNS server is IPv6-capable and
31 is returning IPv6 host addresses too. If IPv6 address
32 precedes IPv4 one in DNS reply, busybox network applets
33 (e.g. wget) will use IPv6 address. On an IPv6-incapable host
34 or network applets will fail to connect to the host
35 using IPv6 address.
36
Denis Vlasenko5de9e9c2007-01-22 22:46:04 +000037config VERBOSE_RESOLUTION_ERRORS
38 bool "Verbose resolution errors"
39 default n
40 help
41 Enable if you are not satisfied with simplistic
42 "can't resolve 'hostname.com'" and want to know more.
43 This may increase size of your executable a bit.
44
Denis Vlasenkofa85b862007-01-07 01:24:12 +000045config ARP
46 bool "arp"
47 default n
48 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000049 Manipulate the system ARP cache.
Denis Vlasenkofa85b862007-01-07 01:24:12 +000050
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000051config ARPING
Glenn L McGrath9e598412003-01-09 10:06:01 +000052 bool "arping"
53 default n
54 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +000055 Ping hosts by ARP packets.
Glenn L McGrath9e598412003-01-09 10:06:01 +000056
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000057config BRCTL
58 bool "brctl"
59 default n
60 help
61 Manage ethernet bridges.
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000062 Supports addbr/delbr and addif/delif.
63
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000064config FEATURE_BRCTL_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000065 bool "Fancy options"
Bernhard Reutner-Fischer1aac3ab2008-01-13 18:43:50 +000066 default n
67 depends on BRCTL
68 help
69 Add support for extended option like:
70 setageing, setfd, sethello, setmaxage,
71 setpathcost, setportprio, setbridgeprio,
72 stp
Bernhard Reutner-Fischer2b11fb42008-01-14 16:10:11 +000073 This adds about 600 bytes.
Bernhard Reutner-Fischerd27d9252008-01-13 15:23:27 +000074
Denis Vlasenko278a1c22008-04-06 07:17:02 +000075config FEATURE_BRCTL_SHOW
76 bool "Support show, showmac and showstp"
77 default n
78 depends on BRCTL && FEATURE_BRCTL_FANCY
79 help
80 Add support for option which prints the current config:
81 showmacs, showstp, show
82
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083config DNSD
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000084 bool "dnsd"
85 default n
86 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +000087 Small and static DNS server daemon.
"Vladimir N. Oleynik"7b4aa6f2006-01-25 14:19:11 +000088
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000089config ETHER_WAKE
Mike Frysingerb662f0d2005-05-11 03:59:53 +000090 bool "ether-wake"
91 default n
92 help
93 Send a magic packet to wake up sleeping machines.
94
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000095config FAKEIDENTD
Mike Frysingerfa69f112005-04-17 07:24:19 +000096 bool "fakeidentd"
97 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000098 select FEATURE_SYSLOG
Mike Frysingerfa69f112005-04-17 07:24:19 +000099 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000100 fakeidentd listens on the ident port and returns a predefined
101 fake value on any query.
Mike Frysingerfa69f112005-04-17 07:24:19 +0000102
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000103config FTPD
104 bool "ftpd"
105 default n
106 help
107 simple FTP daemon. You have to run it via inetd.
108
109config FEATURE_FTP_WRITE
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000110 bool "Enable upload commands"
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000111 default y
112 depends on FTPD
113 help
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000114 Enable all kinds of FTP upload commands (-w option)
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000115
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000116config FTPGET
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000117 bool "ftpget"
118 default n
119 help
120 Retrieve a remote file via FTP.
121
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000122config FTPPUT
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000123 bool "ftpput"
124 default n
125 help
126 Store a remote file via FTP.
127
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000128config FEATURE_FTPGETPUT_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000129 bool "Enable long options in ftpget/ftpput"
130 default n
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000131 depends on GETOPT_LONG && (FTPGET || FTPPUT)
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000132 help
133 Support long options for the ftpget/ftpput applet.
134
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000135config HOSTNAME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000136 bool "hostname"
137 default n
138 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000139 Show or set the system's host name.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000141config HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000142 bool "httpd"
143 default n
144 help
145 Serve web pages via an HTTP server.
146
Denis Vlasenkof4310172007-09-21 22:35:18 +0000147config FEATURE_HTTPD_RANGES
148 bool "Support 'Ranges:' header"
149 default n
150 depends on HTTPD
151 help
152 Makes httpd emit "Accept-Ranges: bytes" header and understand
153 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
154 downloads, seeking in multimedia players etc.
155
Denis Vlasenko1b9064d2007-08-12 21:05:49 +0000156config FEATURE_HTTPD_USE_SENDFILE
157 bool "Use sendfile system call"
158 default n
159 depends on HTTPD
160 help
161 When enabled, httpd will use the kernel sendfile() function
162 instead of read/write loop.
163
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000164config FEATURE_HTTPD_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000165 bool "Enable -u <user> option"
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000166 default n
Denis Vlasenkodb506472006-12-17 20:18:05 +0000167 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000168 help
169 This option allows the server to run as a specific user
170 rather than defaulting to the user that starts the server.
171 Use of this option requires special privileges to change to a
172 different user.
173
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000174config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000175 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000176 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000177 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000178 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000179 Utilizes password settings from /etc/httpd.conf for basic
180 authentication on a per url basis.
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000181
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000182config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000183 bool "Support MD5 crypted passwords for http Authentication"
Eric Andersen35e643b2003-07-28 07:40:39 +0000184 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000185 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000186 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000187 Enables basic per URL authentication from /etc/httpd.conf
Eric Andersenf3a02bb2003-07-28 08:31:56 +0000188 using md5 passwords.
Eric Andersen35e643b2003-07-28 07:40:39 +0000189
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000190config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000191 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000192 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000193 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000194 help
195 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000196 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000197
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000198config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000199 bool "Support for running scripts through an interpreter"
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000200 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000201 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000202 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000203 This option enables support for running scripts through an
204 interpreter. Turn this on if you want PHP scripts to work
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000205 properly. You need to supply an additional line in your httpd
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000206 config file:
207 *.php:/path/to/your/php
208
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000209config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000210 bool "Set REMOTE_PORT environment variable for CGI"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000211 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000212 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000213 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000214 Use of this option can assist scripts in generating
215 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000216
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000217config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000218 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000219 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000220 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000221 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000222 This option allows html encoding of arbitrary strings for display
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000223 by the browser. Output goes to stdout.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000224 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000225 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000226
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000227config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000228 bool "Support for custom error pages"
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000229 default n
230 depends on HTTPD
231 help
232 This option allows you to define custom error pages in
233 the configuration file instead of the default HTTP status
234 error pages. For instance, if you add the line:
235 E404:/path/e404.html
236 in the config file, the server will respond the specified
237 '/path/e404.html' file instead of the terse '404 NOT FOUND'
238 message.
239
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000240config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000241 bool "Support for reverse proxy"
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000242 default n
243 depends on HTTPD
244 help
245 This option allows you to define URLs that will be forwarded
246 to another HTTP server. To setup add the following line to the
247 configuration file
248 P:/url/:http://hostname[:port]/new/path/
249 Then a request to /url/myfile will be forwarded to
250 http://hostname[:port]/new/path/myfile.
251
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000252config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253 bool "ifconfig"
254 default n
255 help
Eric Andersene5642112003-07-14 19:37:08 +0000256 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000257
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000258config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000259 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000260 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000261 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000262 help
Eric Andersene5642112003-07-14 19:37:08 +0000263 If ifconfig is called with no arguments it will display the status
264 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000266config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000267 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000268 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000269 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000270 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000271 Allow "keepalive" and "outfill" support for SLIP. If you're not
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000272 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000273
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000274config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000275 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000276 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000277 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000278 help
Eric Andersene5642112003-07-14 19:37:08 +0000279 Allow the start address for shared memory, start address for I/O,
280 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000281
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000282config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000283 bool "Enable option \"hw\" (ether only)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000284 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000285 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000286 help
Eric Andersene5642112003-07-14 19:37:08 +0000287 Set the hardware address of this interface, if the device driver
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000288 supports this operation. Currently, we only support the 'ether'
Eric Andersene5642112003-07-14 19:37:08 +0000289 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000290
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000291config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000292 bool "Set the broadcast automatically"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000293 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000294 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000295 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000296 Setting this will make ifconfig attempt to find the broadcast
297 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000298
Denis Vlasenko06aed432008-02-26 18:25:24 +0000299config IFENSLAVE
300 bool "ifenslave"
301 default n
302 help
303 Userspace application to bind several interfaces
304 to a logical interface (use with kernel bonding driver).
305
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000307 bool "ifupdown"
308 default n
309 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000310 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000311 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000312 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000313 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000314 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000315 course you could use non-busybox versions of these programs, so
316 against my better judgement (since this will surely result in plenty
317 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000318 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000319 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000320 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000321
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000322config IFUPDOWN_IFSTATE_PATH
323 string "Absolute path to ifstate file"
324 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000325 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000326 help
327 ifupdown keeps state information in a file called ifstate.
328 Typically it is located in /var/run/ifstate, however
329 some distributions tend to put it in other places
330 (debian, for example, uses /etc/network/run/ifstate).
331 This config option defines location of ifstate.
332
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000333config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000334 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000335 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000336 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000337 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000338 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
339 than the default of using the older 'ifconfig' and 'route' utilities.
340
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000341config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000342 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000343 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000344 depends on FEATURE_IFUPDOWN_IP
345 select IP
346 select FEATURE_IP_ADDRESS
347 select FEATURE_IP_LINK
348 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000349 help
350 Use the busybox iproute "ip" applet to implement "ifupdown".
351
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000352 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000353 utility or the "ifup" and "ifdown" applets will not work.
354
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000355config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000356 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000357 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000358 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000359 select IFCONFIG
360 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000361 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000362 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000363 implement the "ifup" and "ifdown" utilities.
364
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000365 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000366 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000367 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000368
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000369config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000370 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000371 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000373 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000374 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000375
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000376config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000377 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000378 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000379 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000380 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000381 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000382
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000383### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000384###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000385### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000386### default n
387### depends on IFUPDOWN
388### help
389### If this option is selected you can use busybox to work with IPX
390### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000391
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000392config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000393 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000394 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000395 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000396 help
397 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000398 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000399
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000400config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000401 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000402 default n
403 depends on IFUPDOWN
404 help
405 This enables support for the external dhcp clients. Clients are
406 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
407 Otherwise, if udhcpc applet is enabled, it is used.
408 Otherwise, ifup/ifdown will have no support for DHCP.
409
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000410config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000411 bool "inetd"
412 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000413 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000414 help
415 Internet superserver daemon
416
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000417config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000418 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000419 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000420 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000421 help
422 Echo received data internal inetd service
423
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000424config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000425 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000426 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000427 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000428 help
429 Internet /dev/null internal inetd service
430
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000431config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000432 bool "Support time service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000433 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000435 help
436 Return 32 bit time since 1900 internal inetd service
437
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000438config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000439 bool "Support daytime service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000440 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000442 help
443 Return human-readable time internal inetd service
444
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000445config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000446 bool "Support chargen service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000447 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000449 help
450 Familiar character generator internal inetd service
451
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000452config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000453 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000454 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000455 depends on INETD
456 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000457 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000458 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000459
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000460config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000461 bool "ip"
462 default n
463 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000464 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000465 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000466 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000467
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000468config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000469 bool "ip address"
470 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000471 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000472 help
473 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000474
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000475config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000476 bool "ip link"
477 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000478 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000479 help
480 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000481
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000482config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000483 bool "ip route"
484 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000485 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000486 help
487 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000488
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000489config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000490 bool "ip tunnel"
491 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000493 help
494 Add support for tunneling commands to "ip".
495
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000496config FEATURE_IP_RULE
497 bool "ip rule"
498 default n
499 depends on IP
500 help
501 Add support for rule commands to "ip".
502
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000503config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000504 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000505 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000506 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000507 help
508 Also support short-form of ip <OBJECT> commands:
509 ip addr -> ipaddr
510 ip link -> iplink
511 ip route -> iproute
512 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000513 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000514
515 Say N unless you desparately need the short form of the ip
516 object commands.
517
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000518config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000519 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000520 default n
521 depends on IP
522 help
523 If you are not going to use links of type "frad", "econet",
524 "bif" etc, you probably don't need to enable this.
525 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
526 link types are supported without this option selected.
527
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000528config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000529 bool
530 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000531 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000532
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000533config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000534 bool
535 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000536 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000537
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000538config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000539 bool
540 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000541 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000542
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000543config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000544 bool
545 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000546 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000547
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000548config IPRULE
549 bool
550 default y
551 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
552
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000553config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000554 bool "ipcalc"
555 default n
556 help
Eric Andersene5642112003-07-14 19:37:08 +0000557 ipcalc takes an IP address and netmask and calculates the
558 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000559
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000560config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000561 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000562 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000563 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000564 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000565 Adds the options hostname, prefix and silent to the output of
566 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000567
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000568config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000569 bool "Enable long options"
570 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000571 depends on IPCALC && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000572 help
573 Support long options for the ipcalc applet.
574
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000575config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000576 bool "nameif"
577 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000578 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000579 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000580 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000581 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000582 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000583 with list of new interface names and MACs.
Denis Vlasenko01eaee92008-04-21 02:21:45 +0000584 Maximum interface name length: IFNAMSIZ = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000585 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000586 File format:
587 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000588 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000589
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000590config FEATURE_NAMEIF_EXTENDED
591 bool "Extended nameif"
592 default n
593 depends on NAMEIF
594 help
595 This extends the nameif syntax to support the bus_info and driver
596 checks. The syntax is compatible to the normal nameif.
597 File format:
598 new_interface_name driver=asix bus=usb-0000:00:08.2-3
599 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
600 new_interface_name mac=00:80:C8:38:91:B5
601 new_interface_name 00:80:C8:38:91:B5
602
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000603config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000604 bool "nc"
605 default n
606 help
Eric Andersene5642112003-07-14 19:37:08 +0000607 A simple Unix utility which reads and writes data across network
608 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000609
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000610config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000611 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000612 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000613 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000614 help
Rob Landley1cca9482006-07-10 19:45:20 +0000615 Allow netcat to act as a server.
616
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000617config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000618 bool "Netcat extensions (-eiw and filename)"
619 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000620 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000621 help
622 Add -e (support for executing the rest of the command line after
623 making or receiving a successful connection), -i (delay interval for
624 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000625
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000626config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000627 bool "netstat"
628 default n
629 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000630 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000631
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000632config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000633 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000634 default n
635 depends on NETSTAT
636 help
637 Add support for wide columns. Useful when displaying IPv6 addresses
638 (-W option).
639
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000640config FEATURE_NETSTAT_PRG
641 bool "Enable PID/Program name output"
642 default n
643 depends on NETSTAT
644 help
645 Add support for -p flag to print out PID and program name.
646 +700 bytes of code.
647
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000648config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000649 bool "nslookup"
650 default n
651 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000652 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000653
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000654config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000655 bool "ping"
656 default n
657 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000658 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000659 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000660
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000661config PING6
662 bool "ping6"
663 default n
664 depends on FEATURE_IPV6 && PING
665 help
666 This will give you a ping that can talk IPv6.
667
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000668config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000669 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000670 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000671 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000672 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000673 Make the output from the ping applet include statistics, and at the
674 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000675
Paul Fox0b2b5842008-02-01 23:25:32 +0000676config PSCAN
677 bool "pscan"
678 default n
679 help
680 Simple network port scanner.
681
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000682config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000683 bool "route"
684 default n
685 help
Eric Andersene5642112003-07-14 19:37:08 +0000686 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000687
Denis Vlasenko14923db2007-06-20 15:23:03 +0000688config SLATTACH
689 bool "slattach"
690 default n
691 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000692 slattach is a small utility to attach network interfaces to serial
693 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000694
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000695#config TC
696# bool "tc"
697# default n
698# help
699# show / manipulate traffic control settings
700#
701#config FEATURE_TC_INGRESS
702# def_bool n
703# depends on TC
704
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000705config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000706 bool "telnet"
707 default n
708 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000709 Telnet is an interface to the TELNET protocol, but is also commonly
710 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000711
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000712config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000713 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000714 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000715 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000716 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000717 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000718 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000719 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000720
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000721config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000722 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000723 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000724 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000725 help
726 Setting this option will forward the USER environment variable to the
727 remote host you are connecting to. This is useful when you need to
728 log into a machine without telling the username (autologin). This
729 option enables `-a' and `-l USER' arguments.
730
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000731config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000732 bool "telnetd"
733 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000734 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000735 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000736 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000737 running the daemon. Please keep in mind that the TELNET protocol
738 sends passwords in plain text. If you can't afford the space for an
739 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000740 more secure alternative, you should seriously consider installing the
741 very small Dropbear SSH daemon instead:
742 http://matt.ucc.asn.au/dropbear/dropbear.html
743
744 Note that for busybox telnetd to work you need several things:
745 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000746 UNIX98_PTYS=y
747 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000748
749 Next, you need a /dev/pts directory on your root filesystem:
750
751 $ ls -ld /dev/pts
752 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
753
754 Next you need the pseudo terminal master multiplexer /dev/ptmx:
755
756 $ ls -la /dev/ptmx
757 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
758
759 Any /dev/ttyp[0-9]* files you may have can be removed.
760 Next, you need to mount the devpts filesystem on /dev/pts using:
761
762 mount -t devpts devpts /dev/pts
763
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000764 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000765 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000766 certain that Busybox has been installed setuid root:
767
768 chown root.root /bin/busybox
769 chmod 4755 /bin/busybox
770
771 with all that done, telnetd _should_ work....
772
Eric Andersenc9f20d92002-12-05 08:41:41 +0000773
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000774config FEATURE_TELNETD_STANDALONE
775 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000776 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000777 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000778 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000779 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000780
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000781config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000782 bool "tftp"
783 default n
784 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000785 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000786 is usually used for simple, small transfers such as a root image
787 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000788
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000789config TFTPD
790 bool "tftpd"
791 default n
792 help
793 This enables the Trivial File Transfer Protocol server program.
794 It expects that stdin is a datagram socket and a packet
795 is already pending on it. It will exit after one transfer.
796 In other words: it should be run from inetd in nowait mode,
797 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
798
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000799config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000800 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000801 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000802 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000803 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000804 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000805 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000806 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000807
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000808config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000809 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000810 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000811 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000812 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000813 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000814 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000815 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000816
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000817config FEATURE_TFTP_BLOCKSIZE
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000818 bool "Enable \"blksize\" protocol option"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000819 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000820 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000821 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000822 Allow tftp to specify block size, and tftpd to understand
823 "blksize" option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000824
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000825config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000826 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000827 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000828 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000829 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000830 Enable debug settings for tftp. This is useful if you're running
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000831 into problems with tftp as the protocol doesn't help you much when
832 you run into problems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000833
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000834config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000835 bool "traceroute"
836 default n
837 help
Eric Andersene5642112003-07-14 19:37:08 +0000838 Utility to trace the route of IP packets
Eric Andersenc9f20d92002-12-05 08:41:41 +0000839
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000840config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000841 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000842 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000843 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000844 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000845 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000846 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000847
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000848config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000849 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000850 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000851 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000852 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000853 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000854 (8 maximum).
855
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000856config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000857 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000858 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000859 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000860 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000861 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000862
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000863source networking/udhcp/Config.in
864
Wade Berrier142c5cb2008-11-14 21:18:45 +0000865config IFUPDOWN_UDHCPC_CMD_OPTIONS
866 string "ifup udhcpc command line options"
867 default "-R -n"
868 depends on IFUPDOWN && APP_UDHCPC
869 help
870 Command line options to pass to udhcpc from ifup.
871 Intended to alter options not available in /etc/network/interfaces.
872 (IE: --syslog --background etc...)
873
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000874config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000875 bool "vconfig"
876 default n
877 help
878 Creates, removes, and configures VLAN interfaces
879
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000880config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000881 bool "wget"
882 default n
883 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000884 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000885 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000886
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000887config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000888 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000889 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000890 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000891 help
Eric Andersene5642112003-07-14 19:37:08 +0000892 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000893
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000894config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000895 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000896 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000897 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000898 help
Eric Andersene5642112003-07-14 19:37:08 +0000899 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000900
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000901config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000902 bool "Enable long options"
903 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000904 depends on WGET && GETOPT_LONG
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000905 help
906 Support long options for the wget applet.
907
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000908config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000909 bool "zcip"
910 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000911 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000912 help
913 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
914 It's a daemon that allocates and defends a dynamically assigned
915 address on the 169.254/16 network, requiring no system administrator.
916
917 See http://www.zeroconf.org for further details, and "zcip.script"
918 in the busybox examples.
919
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000920config TCPSVD
921 bool "tcpsvd"
922 default n
923 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000924 tcpsvd listens on a TCP port and runs a program for each new
925 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000926
Denis Vlasenko39b68132009-01-23 02:07:14 +0000927config TUNCTL
928 bool "tunctl"
929 default n
930 help
931 tunctl creates or deletes tun devices.
932
933config FEATURE_TUNCTL_UG
934 bool "Support owner:group assignment"
935 default n
936 depends on TUNCTL
937 help
938 Allow to specify owner and group of newly created interface.
939 340 bytes of pure bloat. Say no here.
940
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000941config UDPSVD
942 bool "udpsvd"
943 default n
944 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000945 udpsvd listens on an UDP port and runs a program for each new
946 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000947
Eric Andersenc9f20d92002-12-05 08:41:41 +0000948endmenu