blob: 392afcf8917d5dade1fe893ecf2d52c4ba386085 [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 Vlasenko16b4a2d2009-03-08 09:30:56 +000096config FTPD
97 bool "ftpd"
98 default n
99 help
100 simple FTP daemon. You have to run it via inetd.
101
102config FEATURE_FTP_WRITE
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000103 bool "Enable upload commands"
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000104 default y
105 depends on FTPD
106 help
Denis Vlasenko5e4fda02009-03-08 23:46:48 +0000107 Enable all kinds of FTP upload commands (-w option)
Denis Vlasenko16b4a2d2009-03-08 09:30:56 +0000108
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000109config FTPGET
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000110 bool "ftpget"
111 default n
112 help
113 Retrieve a remote file via FTP.
114
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000115config FTPPUT
Glenn L McGrath02d7cbf2002-12-13 02:43:50 +0000116 bool "ftpput"
117 default n
118 help
119 Store a remote file via FTP.
120
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000121config FEATURE_FTPGETPUT_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000122 bool "Enable long options in ftpget/ftpput"
123 default n
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000124 depends on GETOPT_LONG && (FTPGET || FTPPUT)
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000125 help
126 Support long options for the ftpget/ftpput applet.
127
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000128config HOSTNAME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000129 bool "hostname"
130 default n
131 help
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000132 Show or set the system's host name.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000134config HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000135 bool "httpd"
136 default n
137 help
138 Serve web pages via an HTTP server.
139
Denis Vlasenkof4310172007-09-21 22:35:18 +0000140config FEATURE_HTTPD_RANGES
141 bool "Support 'Ranges:' header"
142 default n
143 depends on HTTPD
144 help
145 Makes httpd emit "Accept-Ranges: bytes" header and understand
146 "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
147 downloads, seeking in multimedia players etc.
148
Denis Vlasenko1b9064d2007-08-12 21:05:49 +0000149config FEATURE_HTTPD_USE_SENDFILE
150 bool "Use sendfile system call"
151 default n
152 depends on HTTPD
153 help
154 When enabled, httpd will use the kernel sendfile() function
155 instead of read/write loop.
156
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000157config FEATURE_HTTPD_SETUID
Denis Vlasenkodb506472006-12-17 20:18:05 +0000158 bool "Enable -u <user> option"
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000159 default n
Denis Vlasenkodb506472006-12-17 20:18:05 +0000160 depends on HTTPD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000161 help
162 This option allows the server to run as a specific user
163 rather than defaulting to the user that starts the server.
164 Use of this option requires special privileges to change to a
165 different user.
166
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000167config FEATURE_HTTPD_BASIC_AUTH
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000168 bool "Enable Basic http Authentication"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000169 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000170 depends on HTTPD
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000171 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000172 Utilizes password settings from /etc/httpd.conf for basic
173 authentication on a per url basis.
Glenn L McGrath58c708a2003-01-05 04:01:56 +0000174
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000175config FEATURE_HTTPD_AUTH_MD5
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000176 bool "Support MD5 crypted passwords for http Authentication"
Eric Andersen35e643b2003-07-28 07:40:39 +0000177 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000178 depends on FEATURE_HTTPD_BASIC_AUTH
Eric Andersen35e643b2003-07-28 07:40:39 +0000179 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000180 Enables basic per URL authentication from /etc/httpd.conf
Eric Andersenf3a02bb2003-07-28 08:31:56 +0000181 using md5 passwords.
Eric Andersen35e643b2003-07-28 07:40:39 +0000182
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000183config FEATURE_HTTPD_CGI
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000184 bool "Support Common Gateway Interface (CGI)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000185 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186 depends on HTTPD
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000187 help
188 This option allows scripts and executables to be invoked
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +0000189 when specific URLs are requested.
Glenn L McGrath393183d2003-05-26 14:07:50 +0000190
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000191config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000192 bool "Support for running scripts through an interpreter"
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000193 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000194 depends on FEATURE_HTTPD_CGI
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000195 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000196 This option enables support for running scripts through an
197 interpreter. Turn this on if you want PHP scripts to work
Bernhard Reutner-Fischer6239b1f2007-05-26 11:59:01 +0000198 properly. You need to supply an additional line in your httpd
"Vladimir N. Oleynik"4333a092006-01-31 13:53:30 +0000199 config file:
200 *.php:/path/to/your/php
201
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000203 bool "Set REMOTE_PORT environment variable for CGI"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000204 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000205 depends on FEATURE_HTTPD_CGI
Glenn L McGrath06e95652003-02-09 06:51:14 +0000206 help
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000207 Use of this option can assist scripts in generating
208 references that contain a unique port number.
Glenn L McGrath06e95652003-02-09 06:51:14 +0000209
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000210config FEATURE_HTTPD_ENCODE_URL_STR
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000211 bool "Enable -e option (useful for CGIs written as shell scripts)"
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000212 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000213 depends on HTTPD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000214 help
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000215 This option allows html encoding of arbitrary strings for display
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000216 by the browser. Output goes to stdout.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000217 For example, httpd -e "<Hello World>" produces
Glenn L McGrathd3af4092003-05-14 12:20:21 +0000218 "&#60Hello&#32World&#62".
Glenn L McGrath06e95652003-02-09 06:51:14 +0000219
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000220config FEATURE_HTTPD_ERROR_PAGES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000221 bool "Support for custom error pages"
Denis Vlasenkoe58e8d92007-08-21 10:26:55 +0000222 default n
223 depends on HTTPD
224 help
225 This option allows you to define custom error pages in
226 the configuration file instead of the default HTTP status
227 error pages. For instance, if you add the line:
228 E404:/path/e404.html
229 in the config file, the server will respond the specified
230 '/path/e404.html' file instead of the terse '404 NOT FOUND'
231 message.
232
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000233config FEATURE_HTTPD_PROXY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000234 bool "Support for reverse proxy"
Denis Vlasenkof74194e2007-10-18 12:54:39 +0000235 default n
236 depends on HTTPD
237 help
238 This option allows you to define URLs that will be forwarded
239 to another HTTP server. To setup add the following line to the
240 configuration file
241 P:/url/:http://hostname[:port]/new/path/
242 Then a request to /url/myfile will be forwarded to
243 http://hostname[:port]/new/path/myfile.
244
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000245config IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000246 bool "ifconfig"
247 default n
248 help
Eric Andersene5642112003-07-14 19:37:08 +0000249 Ifconfig is used to configure the kernel-resident network interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000250
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000251config FEATURE_IFCONFIG_STATUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000252 bool "Enable status reporting output (+7k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000254 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000255 help
Eric Andersene5642112003-07-14 19:37:08 +0000256 If ifconfig is called with no arguments it will display the status
257 of the currently active interfaces.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000258
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000259config FEATURE_IFCONFIG_SLIP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000260 bool "Enable slip-specific options \"keepalive\" and \"outfill\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000261 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000262 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000263 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000264 Allow "keepalive" and "outfill" support for SLIP. If you're not
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000265 planning on using serial lines, leave this unchecked.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000266
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000267config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000268 bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
Eric Andersenc9f20d92002-12-05 08:41:41 +0000269 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000270 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000271 help
Eric Andersene5642112003-07-14 19:37:08 +0000272 Allow the start address for shared memory, start address for I/O,
273 and/or the interrupt line used by the specified device.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000274
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000275config FEATURE_IFCONFIG_HW
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000276 bool "Enable option \"hw\" (ether only)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000277 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000278 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000279 help
Eric Andersene5642112003-07-14 19:37:08 +0000280 Set the hardware address of this interface, if the device driver
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000281 supports this operation. Currently, we only support the 'ether'
Eric Andersene5642112003-07-14 19:37:08 +0000282 class.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000283
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000284config FEATURE_IFCONFIG_BROADCAST_PLUS
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000285 bool "Set the broadcast automatically"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000286 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000287 depends on IFCONFIG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000288 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000289 Setting this will make ifconfig attempt to find the broadcast
290 automatically if the value '+' is used.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291
Denis Vlasenko06aed432008-02-26 18:25:24 +0000292config IFENSLAVE
293 bool "ifenslave"
294 default n
295 help
296 Userspace application to bind several interfaces
297 to a logical interface (use with kernel bonding driver).
298
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000299config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000300 bool "ifupdown"
301 default n
302 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000303 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000304 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000305 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000307 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000308 course you could use non-busybox versions of these programs, so
309 against my better judgement (since this will surely result in plenty
310 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000311 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000312 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000313 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000314
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000315config IFUPDOWN_IFSTATE_PATH
316 string "Absolute path to ifstate file"
317 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000318 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000319 help
320 ifupdown keeps state information in a file called ifstate.
321 Typically it is located in /var/run/ifstate, however
322 some distributions tend to put it in other places
323 (debian, for example, uses /etc/network/run/ifstate).
324 This config option defines location of ifstate.
325
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000326config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000327 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000328 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000329 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000330 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000331 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
332 than the default of using the older 'ifconfig' and 'route' utilities.
333
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000334config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000335 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000336 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000337 depends on FEATURE_IFUPDOWN_IP
338 select IP
339 select FEATURE_IP_ADDRESS
340 select FEATURE_IP_LINK
341 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000342 help
343 Use the busybox iproute "ip" applet to implement "ifupdown".
344
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000345 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000346 utility or the "ifup" and "ifdown" applets will not work.
347
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000348config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000349 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000350 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000351 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000352 select IFCONFIG
353 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000354 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000355 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000356 implement the "ifup" and "ifdown" utilities.
357
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000358 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000359 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000360 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000361
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000362config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000363 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000364 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000366 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000367 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000368
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000369config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000370 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000371 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000373 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000374 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000375
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000376### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000377###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000378### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000379### default n
380### depends on IFUPDOWN
381### help
382### If this option is selected you can use busybox to work with IPX
383### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000384
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000385config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000386 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000387 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000388 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000389 help
390 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000391 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000392
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000393config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000394 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000395 default n
396 depends on IFUPDOWN
397 help
398 This enables support for the external dhcp clients. Clients are
399 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
400 Otherwise, if udhcpc applet is enabled, it is used.
401 Otherwise, ifup/ifdown will have no support for DHCP.
402
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000403config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000404 bool "inetd"
405 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000406 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000407 help
408 Internet superserver daemon
409
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000410config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000411 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000412 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000413 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000414 help
415 Echo received data internal inetd service
416
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000417config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000418 bool "Support discard 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 Internet /dev/null internal inetd service
423
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000424config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000425 bool "Support time 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 Return 32 bit time since 1900 internal inetd service
430
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000431config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000432 bool "Support daytime 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 human-readable time internal inetd service
437
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000438config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000439 bool "Support chargen 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 Familiar character generator internal inetd service
444
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000445config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000446 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000447 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000448 depends on INETD
449 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000450 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000451 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000452
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000453config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000454 bool "ip"
455 default n
456 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000457 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000458 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000459 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000460
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000461config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000462 bool "ip address"
463 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000464 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000465 help
466 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000467
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000468config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000469 bool "ip link"
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 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000474
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000475config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000476 bool "ip route"
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 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000481
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000482config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000483 bool "ip tunnel"
484 default n
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 tunneling commands to "ip".
488
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000489config FEATURE_IP_RULE
490 bool "ip rule"
491 default n
492 depends on IP
493 help
494 Add support for rule commands to "ip".
495
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000496config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000497 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000498 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000500 help
501 Also support short-form of ip <OBJECT> commands:
502 ip addr -> ipaddr
503 ip link -> iplink
504 ip route -> iproute
505 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000506 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000507
508 Say N unless you desparately need the short form of the ip
509 object commands.
510
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000511config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000512 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000513 default n
514 depends on IP
515 help
516 If you are not going to use links of type "frad", "econet",
517 "bif" etc, you probably don't need to enable this.
518 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
519 link types are supported without this option selected.
520
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000521config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000522 bool
523 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000524 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000525
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000526config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000527 bool
528 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000529 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000530
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000531config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000532 bool
533 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000534 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000535
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000536config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000537 bool
538 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000539 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000540
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000541config IPRULE
542 bool
543 default y
544 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
545
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000546config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000547 bool "ipcalc"
548 default n
549 help
Eric Andersene5642112003-07-14 19:37:08 +0000550 ipcalc takes an IP address and netmask and calculates the
551 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000552
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000553config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000554 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000555 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000556 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000557 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000558 Adds the options hostname, prefix and silent to the output of
559 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000560
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000561config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000562 bool "Enable long options"
563 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000564 depends on IPCALC && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000565 help
566 Support long options for the ipcalc applet.
567
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000568config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000569 bool "nameif"
570 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000571 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000572 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000573 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000574 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000575 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000576 with list of new interface names and MACs.
Denis Vlasenko01eaee92008-04-21 02:21:45 +0000577 Maximum interface name length: IFNAMSIZ = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000578 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000579 File format:
580 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000581 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000582
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000583config FEATURE_NAMEIF_EXTENDED
584 bool "Extended nameif"
585 default n
586 depends on NAMEIF
587 help
588 This extends the nameif syntax to support the bus_info and driver
589 checks. The syntax is compatible to the normal nameif.
590 File format:
591 new_interface_name driver=asix bus=usb-0000:00:08.2-3
592 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
593 new_interface_name mac=00:80:C8:38:91:B5
594 new_interface_name 00:80:C8:38:91:B5
595
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000596config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000597 bool "nc"
598 default n
599 help
Eric Andersene5642112003-07-14 19:37:08 +0000600 A simple Unix utility which reads and writes data across network
601 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000602
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000603config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000604 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000605 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000606 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000607 help
Rob Landley1cca9482006-07-10 19:45:20 +0000608 Allow netcat to act as a server.
609
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000610config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000611 bool "Netcat extensions (-eiw and filename)"
612 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000613 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000614 help
615 Add -e (support for executing the rest of the command line after
616 making or receiving a successful connection), -i (delay interval for
617 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000618
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000619config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000620 bool "netstat"
621 default n
622 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000623 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000624
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000625config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000626 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000627 default n
628 depends on NETSTAT
629 help
630 Add support for wide columns. Useful when displaying IPv6 addresses
631 (-W option).
632
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000633config FEATURE_NETSTAT_PRG
634 bool "Enable PID/Program name output"
635 default n
636 depends on NETSTAT
637 help
638 Add support for -p flag to print out PID and program name.
639 +700 bytes of code.
640
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000641config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000642 bool "nslookup"
643 default n
644 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000645 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000646
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000647config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000648 bool "ping"
649 default n
650 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000651 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000652 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000653
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000654config PING6
655 bool "ping6"
656 default n
657 depends on FEATURE_IPV6 && PING
658 help
659 This will give you a ping that can talk IPv6.
660
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000661config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000662 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000663 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000664 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000665 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000666 Make the output from the ping applet include statistics, and at the
667 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000668
Paul Fox0b2b5842008-02-01 23:25:32 +0000669config PSCAN
670 bool "pscan"
671 default n
672 help
673 Simple network port scanner.
674
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000675config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000676 bool "route"
677 default n
678 help
Eric Andersene5642112003-07-14 19:37:08 +0000679 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000680
Denis Vlasenko14923db2007-06-20 15:23:03 +0000681config SLATTACH
682 bool "slattach"
683 default n
684 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000685 slattach is a small utility to attach network interfaces to serial
686 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000687
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000688#config TC
689# bool "tc"
690# default n
691# help
692# show / manipulate traffic control settings
693#
694#config FEATURE_TC_INGRESS
695# def_bool n
696# depends on TC
697
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000698config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000699 bool "telnet"
700 default n
701 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000702 Telnet is an interface to the TELNET protocol, but is also commonly
703 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000704
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000705config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000706 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000707 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000708 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000709 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000710 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000711 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000712 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000713
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000714config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000715 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000716 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000717 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000718 help
719 Setting this option will forward the USER environment variable to the
720 remote host you are connecting to. This is useful when you need to
721 log into a machine without telling the username (autologin). This
722 option enables `-a' and `-l USER' arguments.
723
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000724config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000725 bool "telnetd"
726 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000727 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000728 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000729 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000730 running the daemon. Please keep in mind that the TELNET protocol
731 sends passwords in plain text. If you can't afford the space for an
732 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000733 more secure alternative, you should seriously consider installing the
734 very small Dropbear SSH daemon instead:
735 http://matt.ucc.asn.au/dropbear/dropbear.html
736
737 Note that for busybox telnetd to work you need several things:
738 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000739 UNIX98_PTYS=y
740 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000741
742 Next, you need a /dev/pts directory on your root filesystem:
743
744 $ ls -ld /dev/pts
745 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
746
747 Next you need the pseudo terminal master multiplexer /dev/ptmx:
748
749 $ ls -la /dev/ptmx
750 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
751
752 Any /dev/ttyp[0-9]* files you may have can be removed.
753 Next, you need to mount the devpts filesystem on /dev/pts using:
754
755 mount -t devpts devpts /dev/pts
756
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000757 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000758 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000759 certain that Busybox has been installed setuid root:
760
761 chown root.root /bin/busybox
762 chmod 4755 /bin/busybox
763
764 with all that done, telnetd _should_ work....
765
Eric Andersenc9f20d92002-12-05 08:41:41 +0000766
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000767config FEATURE_TELNETD_STANDALONE
768 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000769 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000770 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000771 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000772 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000773
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000774config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000775 bool "tftp"
776 default n
777 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000778 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000779 is usually used for simple, small transfers such as a root image
780 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000781
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000782config TFTPD
783 bool "tftpd"
784 default n
785 help
786 This enables the Trivial File Transfer Protocol server program.
787 It expects that stdin is a datagram socket and a packet
788 is already pending on it. It will exit after one transfer.
789 In other words: it should be run from inetd in nowait mode,
790 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
791
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000792config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000793 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000794 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000795 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000796 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000797 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000798 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000799 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000800
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000801config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000802 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000803 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000804 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000805 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000806 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000807 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000808 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000809
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000810config FEATURE_TFTP_BLOCKSIZE
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000811 bool "Enable \"blksize\" protocol option"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000812 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000813 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000814 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000815 Allow tftp to specify block size, and tftpd to understand
816 "blksize" option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000817
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000818config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000819 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000820 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000821 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000822 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000823 Enable debug settings for tftp. This is useful if you're running
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000824 into problems with tftp as the protocol doesn't help you much when
825 you run into problems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000826
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000827config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000828 bool "traceroute"
829 default n
830 help
Eric Andersene5642112003-07-14 19:37:08 +0000831 Utility to trace the route of IP packets
Eric Andersenc9f20d92002-12-05 08:41:41 +0000832
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000833config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000834 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000835 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000836 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000837 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000838 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000839 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000840
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000841config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000842 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000843 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000844 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000845 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000846 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000847 (8 maximum).
848
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000849config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000850 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000851 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000852 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000853 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000854 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000855
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000856source networking/udhcp/Config.in
857
Wade Berrier142c5cb2008-11-14 21:18:45 +0000858config IFUPDOWN_UDHCPC_CMD_OPTIONS
859 string "ifup udhcpc command line options"
860 default "-R -n"
861 depends on IFUPDOWN && APP_UDHCPC
862 help
863 Command line options to pass to udhcpc from ifup.
864 Intended to alter options not available in /etc/network/interfaces.
865 (IE: --syslog --background etc...)
866
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000867config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000868 bool "vconfig"
869 default n
870 help
871 Creates, removes, and configures VLAN interfaces
872
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000873config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000874 bool "wget"
875 default n
876 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000877 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000878 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000879
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000880config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000881 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000882 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000883 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000884 help
Eric Andersene5642112003-07-14 19:37:08 +0000885 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000886
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000887config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000888 bool "Enable HTTP authentication"
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 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000893
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000894config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000895 bool "Enable long options"
896 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000897 depends on WGET && GETOPT_LONG
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000898 help
899 Support long options for the wget applet.
900
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000901config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000902 bool "zcip"
903 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000904 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000905 help
906 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
907 It's a daemon that allocates and defends a dynamically assigned
908 address on the 169.254/16 network, requiring no system administrator.
909
910 See http://www.zeroconf.org for further details, and "zcip.script"
911 in the busybox examples.
912
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000913config TCPSVD
914 bool "tcpsvd"
915 default n
916 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000917 tcpsvd listens on a TCP port and runs a program for each new
918 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000919
Denis Vlasenko39b68132009-01-23 02:07:14 +0000920config TUNCTL
921 bool "tunctl"
922 default n
923 help
924 tunctl creates or deletes tun devices.
925
926config FEATURE_TUNCTL_UG
927 bool "Support owner:group assignment"
928 default n
929 depends on TUNCTL
930 help
931 Allow to specify owner and group of newly created interface.
932 340 bytes of pure bloat. Say no here.
933
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000934config UDPSVD
935 bool "udpsvd"
936 default n
937 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000938 udpsvd listens on an UDP port and runs a program for each new
939 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000940
Eric Andersenc9f20d92002-12-05 08:41:41 +0000941endmenu