blob: 6e3ed0fad4069ce83eb3d73a512101823f333e88 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Networking Utilities"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "Enable IPv6 support"
10 default n
11 help
Bernhard Reutner-Fischer38fc6922006-04-18 11:21:07 +000012 Enable IPv6 support in busybox.
13 This adds IPv6 support in the networking applets.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
Denis Vlasenkof6b46852009-04-25 13:16:53 +000015config FEATURE_UNIX_LOCAL
Denys Vlasenko47aaa2b2009-05-01 03:00:04 +020016 bool "Enable Unix domain socket support (usually not needed)"
Denis Vlasenkof6b46852009-04-25 13:16:53 +000017 default n
18 help
19 Enable Unix domain socket support in all busybox networking
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 Vlasenko71c16572009-04-26 01:08:51 +0000306config IFPLUGD
307 bool "ifplugd"
308 default n
309 help
310 Network interface plug detection daemon.
311
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000312config IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000313 bool "ifupdown"
314 default n
315 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000316 Activate or deactivate the specified interfaces. This applet makes
Eric Andersen342aea92003-07-26 09:27:02 +0000317 use of either "ifconfig" and "route" or the "ip" command to actually
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000318 configure network interfaces. Therefore, you will probably also want
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000319 to enable either IFCONFIG and ROUTE, or enable
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000320 FEATURE_IFUPDOWN_IP and the various IP options. Of
Eric Andersen342aea92003-07-26 09:27:02 +0000321 course you could use non-busybox versions of these programs, so
322 against my better judgement (since this will surely result in plenty
323 of support questions on the mailing list), I do not force you to
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000324 enable these additional options. It is up to you to supply either
Bernhard Reutner-Fischer6111a8f2007-03-19 20:28:03 +0000325 "ifconfig", "route" and "run-parts" or the "ip" command, either
Bernhard Reutner-Fischer0864f4d2007-03-28 16:46:03 +0000326 via busybox or via standalone utilities.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000327
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000328config IFUPDOWN_IFSTATE_PATH
329 string "Absolute path to ifstate file"
330 default "/var/run/ifstate"
Bernhard Reutner-Fischerfc202422007-09-02 22:12:07 +0000331 depends on IFUPDOWN
Denis Vlasenko2a86a612007-07-19 21:49:30 +0000332 help
333 ifupdown keeps state information in a file called ifstate.
334 Typically it is located in /var/run/ifstate, however
335 some distributions tend to put it in other places
336 (debian, for example, uses /etc/network/run/ifstate).
337 This config option defines location of ifstate.
338
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000339config FEATURE_IFUPDOWN_IP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000340 bool "Use ip applet"
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000341 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000342 depends on IFUPDOWN
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000343 help
Eric Andersenc601ff12003-08-08 23:12:12 +0000344 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
345 than the default of using the older 'ifconfig' and 'route' utilities.
346
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000347config FEATURE_IFUPDOWN_IP_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000348 bool "Use busybox ip applet"
Eric Andersenc601ff12003-08-08 23:12:12 +0000349 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000350 depends on FEATURE_IFUPDOWN_IP
351 select IP
352 select FEATURE_IP_ADDRESS
353 select FEATURE_IP_LINK
354 select FEATURE_IP_ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000355 help
356 Use the busybox iproute "ip" applet to implement "ifupdown".
357
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000358 If left disabled, you must install the full-blown iproute2
Eric Andersenc601ff12003-08-08 23:12:12 +0000359 utility or the "ifup" and "ifdown" applets will not work.
360
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000361config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000362 bool "Use busybox ifconfig and route applets"
Eric Andersenc601ff12003-08-08 23:12:12 +0000363 default y
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000364 depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365 select IFCONFIG
366 select ROUTE
Eric Andersenc601ff12003-08-08 23:12:12 +0000367 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000368 Use the busybox iproute "ifconfig" and "route" applets to
Eric Andersenc601ff12003-08-08 23:12:12 +0000369 implement the "ifup" and "ifdown" utilities.
370
Denis Vlasenko9d4533e2006-11-02 22:09:37 +0000371 If left disabled, you must install the full-blown ifconfig
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000372 and route utilities, or the "ifup" and "ifdown" applets will not
Eric Andersenc601ff12003-08-08 23:12:12 +0000373 work.
Glenn L McGrathd66370c2003-01-13 21:40:38 +0000374
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000375config FEATURE_IFUPDOWN_IPV4
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000376 bool "Support for IPv4"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000377 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000378 depends on IFUPDOWN
Eric Andersenc9f20d92002-12-05 08:41:41 +0000379 help
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000380 If you want ifup/ifdown to talk IPv4, leave this on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000381
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000382config FEATURE_IFUPDOWN_IPV6
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000383 bool "Support for IPv6"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000384 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000385 depends on IFUPDOWN && FEATURE_IPV6
Eric Andersenc9f20d92002-12-05 08:41:41 +0000386 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000387 If you need support for IPv6, turn this option on.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000388
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000389### UNUSED
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000390###config FEATURE_IFUPDOWN_IPX
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000391### bool "Support for IPX"
Denis Vlasenko6cee58e2007-11-04 15:43:26 +0000392### default n
393### depends on IFUPDOWN
394### help
395### If this option is selected you can use busybox to work with IPX
396### networks.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000397
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000398config FEATURE_IFUPDOWN_MAPPING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000399 bool "Enable mapping support"
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000400 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000401 depends on IFUPDOWN
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000402 help
403 This enables support for the "mapping" stanza, unless you have
Eric Andersen88c916b2003-10-22 09:58:56 +0000404 a weird network setup you don't need it.
Glenn L McGrathcdbe5e52002-12-06 08:35:55 +0000405
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000406config FEATURE_IFUPDOWN_EXTERNAL_DHCP
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000407 bool "Support for external dhcp clients"
Denis Vlasenkoeda43d72007-05-02 22:04:38 +0000408 default n
409 depends on IFUPDOWN
410 help
411 This enables support for the external dhcp clients. Clients are
412 tried in the following order: dhcpcd, dhclient, pump and udhcpc.
413 Otherwise, if udhcpc applet is enabled, it is used.
414 Otherwise, ifup/ifdown will have no support for DHCP.
415
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000416config INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000417 bool "inetd"
418 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000419 select FEATURE_SYSLOG
Glenn L McGrath06e95652003-02-09 06:51:14 +0000420 help
421 Internet superserver daemon
422
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000423config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000424 bool "Support echo service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000425 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000426 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000427 help
428 Echo received data internal inetd service
429
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000430config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000431 bool "Support discard service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000432 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000433 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000434 help
435 Internet /dev/null internal inetd service
436
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000437config FEATURE_INETD_SUPPORT_BUILTIN_TIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000438 bool "Support time service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000439 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000440 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000441 help
442 Return 32 bit time since 1900 internal inetd service
443
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000444config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000445 bool "Support daytime service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000446 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000447 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000448 help
449 Return human-readable time internal inetd service
450
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000451config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000452 bool "Support chargen service"
Glenn L McGrath06e95652003-02-09 06:51:14 +0000453 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000454 depends on INETD
Glenn L McGrath06e95652003-02-09 06:51:14 +0000455 help
456 Familiar character generator internal inetd service
457
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000458config FEATURE_INETD_RPC
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000459 bool "Support RPC services"
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000460 default n
Denis Vlasenkoa7825f22007-06-16 13:56:51 +0000461 depends on INETD
462 select FEATURE_HAVE_RPC
"Vladimir N. Oleynik"1a2f4d92005-10-03 08:08:58 +0000463 help
Bernhard Reutner-Fischer732268f2006-12-01 16:56:12 +0000464 Support Sun-RPC based services
Glenn L McGrath06e95652003-02-09 06:51:14 +0000465
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000466config IP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000467 bool "ip"
468 default n
469 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000470 The "ip" applet is a TCP/IP interface configuration and routing
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000471 utility. You generally don't need "ip" to use busybox with
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000472 TCP/IP.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000473
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000474config FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000475 bool "ip address"
476 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000477 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000478 help
479 Address manipulation support for the "ip" applet.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000480
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000481config FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000482 bool "ip link"
483 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000484 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000485 help
486 Configure network devices with "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000487
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000488config FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000489 bool "ip route"
490 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000491 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000492 help
493 Add support for routing table management to "ip".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000494
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000495config FEATURE_IP_TUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000496 bool "ip tunnel"
497 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000498 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000499 help
500 Add support for tunneling commands to "ip".
501
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000502config FEATURE_IP_RULE
503 bool "ip rule"
504 default n
505 depends on IP
506 help
507 Add support for rule commands to "ip".
508
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000509config FEATURE_IP_SHORT_FORMS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000510 bool "Support short forms of ip commands"
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000511 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000512 depends on IP
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000513 help
514 Also support short-form of ip <OBJECT> commands:
515 ip addr -> ipaddr
516 ip link -> iplink
517 ip route -> iproute
518 ip tunnel -> iptunnel
Bernhard Reutner-Fischer7a7e54a2007-02-02 16:06:02 +0000519 ip rule -> iprule
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000520
521 Say N unless you desparately need the short form of the ip
522 object commands.
523
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000524config FEATURE_IP_RARE_PROTOCOLS
Bernhard Reutner-Fischer1641d612007-10-29 21:21:27 +0000525 bool "Support displaying rarely used link types"
Denis Vlasenkodfc07402007-10-29 19:33:26 +0000526 default n
527 depends on IP
528 help
529 If you are not going to use links of type "frad", "econet",
530 "bif" etc, you probably don't need to enable this.
531 Ethernet, wireless, infrared, ppp/slip, ip tunnelling
532 link types are supported without this option selected.
533
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000534config IPADDR
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000535 bool
536 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000537 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000538
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000539config IPLINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000540 bool
541 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000542 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000543
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000544config IPROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000545 bool
546 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000547 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000548
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000549config IPTUNNEL
Bernhard Reutner-Fischer29495772006-04-18 08:11:37 +0000550 bool
551 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000552 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
Eric Andersenc9f20d92002-12-05 08:41:41 +0000553
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +0000554config IPRULE
555 bool
556 default y
557 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
558
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000559config IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000560 bool "ipcalc"
561 default n
562 help
Eric Andersene5642112003-07-14 19:37:08 +0000563 ipcalc takes an IP address and netmask and calculates the
564 resulting broadcast, network, and host range.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000565
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000566config FEATURE_IPCALC_FANCY
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000567 bool "Fancy IPCALC, more options, adds 1 kbyte"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000568 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000569 depends on IPCALC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000570 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000571 Adds the options hostname, prefix and silent to the output of
572 "ipcalc".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000573
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000574config FEATURE_IPCALC_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000575 bool "Enable long options"
576 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000577 depends on IPCALC && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000578 help
579 Support long options for the ipcalc applet.
580
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000581config NAMEIF
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000582 bool "nameif"
583 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000584 select FEATURE_SYSLOG
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000585 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000586 nameif is used to rename network interface by its MAC address.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000587 Renamed interfaces MUST be in the down state.
Eric Andersen88c916b2003-10-22 09:58:56 +0000588 It is possible to use a file (default: /etc/mactab)
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000589 with list of new interface names and MACs.
Denis Vlasenko01eaee92008-04-21 02:21:45 +0000590 Maximum interface name length: IFNAMSIZ = 16
Eric Andersen88c916b2003-10-22 09:58:56 +0000591 File fields are separated by space or tab.
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000592 File format:
593 # Comment
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000594 new_interface_name XX:XX:XX:XX:XX:XX
Glenn L McGrathf03c9332002-12-13 00:01:44 +0000595
Denis Vlasenkof7be20e2007-12-24 14:09:19 +0000596config FEATURE_NAMEIF_EXTENDED
597 bool "Extended nameif"
598 default n
599 depends on NAMEIF
600 help
601 This extends the nameif syntax to support the bus_info and driver
602 checks. The syntax is compatible to the normal nameif.
603 File format:
604 new_interface_name driver=asix bus=usb-0000:00:08.2-3
605 new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
606 new_interface_name mac=00:80:C8:38:91:B5
607 new_interface_name 00:80:C8:38:91:B5
608
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000609config NC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000610 bool "nc"
611 default n
612 help
Eric Andersene5642112003-07-14 19:37:08 +0000613 A simple Unix utility which reads and writes data across network
614 connections.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000615
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000616config NC_SERVER
Denis Vlasenko29fe7262007-04-05 20:26:28 +0000617 bool "Netcat server options (-l)"
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000618 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000619 depends on NC
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000620 help
Rob Landley1cca9482006-07-10 19:45:20 +0000621 Allow netcat to act as a server.
622
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000623config NC_EXTRA
Rob Landley1cca9482006-07-10 19:45:20 +0000624 bool "Netcat extensions (-eiw and filename)"
625 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000626 depends on NC
Rob Landley1cca9482006-07-10 19:45:20 +0000627 help
628 Add -e (support for executing the rest of the command line after
629 making or receiving a successful connection), -i (delay interval for
630 lines sent), -w (timeout for initial connection).
Mike Frysinger7dc7f402005-05-06 05:00:34 +0000631
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000632config NETSTAT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000633 bool "netstat"
634 default n
635 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000636 netstat prints information about the Linux networking subsystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000637
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000638config FEATURE_NETSTAT_WIDE
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000639 bool "Enable wide netstat output"
Denis Vlasenko418a7fb2007-05-15 23:57:46 +0000640 default n
641 depends on NETSTAT
642 help
643 Add support for wide columns. Useful when displaying IPv6 addresses
644 (-W option).
645
Denis Vlasenko6e69e422008-07-27 12:10:07 +0000646config FEATURE_NETSTAT_PRG
647 bool "Enable PID/Program name output"
648 default n
649 depends on NETSTAT
650 help
651 Add support for -p flag to print out PID and program name.
652 +700 bytes of code.
653
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000654config NSLOOKUP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000655 bool "nslookup"
656 default n
657 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000658 nslookup is a tool to query Internet name servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000659
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000660config PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000661 bool "ping"
662 default n
663 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000664 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
Eric Andersene5642112003-07-14 19:37:08 +0000665 elicit an ICMP ECHO_RESPONSE from a host or gateway.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000666
Denis Vlasenkob9a279b2007-01-24 23:53:22 +0000667config PING6
668 bool "ping6"
669 default n
670 depends on FEATURE_IPV6 && PING
671 help
672 This will give you a ping that can talk IPv6.
673
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000674config FEATURE_FANCY_PING
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000675 bool "Enable fancy ping output"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000676 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000677 depends on PING
Eric Andersenc9f20d92002-12-05 08:41:41 +0000678 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000679 Make the output from the ping applet include statistics, and at the
680 same time provide full support for ICMP packets.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000681
Paul Fox0b2b5842008-02-01 23:25:32 +0000682config PSCAN
683 bool "pscan"
684 default n
685 help
686 Simple network port scanner.
687
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000688config ROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000689 bool "route"
690 default n
691 help
Eric Andersene5642112003-07-14 19:37:08 +0000692 Route displays or manipulates the kernel's IP routing tables.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000693
Denis Vlasenko14923db2007-06-20 15:23:03 +0000694config SLATTACH
695 bool "slattach"
696 default n
697 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000698 slattach is a small utility to attach network interfaces to serial
699 lines.
Denis Vlasenko14923db2007-06-20 15:23:03 +0000700
Bernhard Reutner-Fischer0901c512008-09-04 13:22:58 +0000701#config TC
702# bool "tc"
703# default n
704# help
705# show / manipulate traffic control settings
706#
707#config FEATURE_TC_INGRESS
708# def_bool n
709# depends on TC
710
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000711config TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000712 bool "telnet"
713 default n
714 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000715 Telnet is an interface to the TELNET protocol, but is also commonly
716 used to test other simple protocols.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000717
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000718config FEATURE_TELNET_TTYPE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000719 bool "Pass TERM type to remote host"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000720 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000721 depends on TELNET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000722 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000723 Setting this option will forward the TERM environment variable to the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000724 remote host you are connecting to. This is useful to make sure that
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000725 things like ANSI colors and other control sequences behave.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000726
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000727config FEATURE_TELNET_AUTOLOGIN
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000728 bool "Pass USER type to remote host"
Eric Andersen539ffc92004-02-22 12:25:47 +0000729 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000730 depends on TELNET
Eric Andersen539ffc92004-02-22 12:25:47 +0000731 help
732 Setting this option will forward the USER environment variable to the
733 remote host you are connecting to. This is useful when you need to
734 log into a machine without telling the username (autologin). This
735 option enables `-a' and `-l USER' arguments.
736
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000737config TELNETD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000738 bool "telnetd"
739 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000740 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000741 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000742 A daemon for the TELNET protocol, allowing you to log onto the host
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000743 running the daemon. Please keep in mind that the TELNET protocol
744 sends passwords in plain text. If you can't afford the space for an
745 SSH daemon and you trust your network, you may say 'y' here. As a
Eric Andersen31ec93e2004-09-23 20:08:46 +0000746 more secure alternative, you should seriously consider installing the
747 very small Dropbear SSH daemon instead:
748 http://matt.ucc.asn.au/dropbear/dropbear.html
749
750 Note that for busybox telnetd to work you need several things:
751 First of all, your kernel needs:
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000752 UNIX98_PTYS=y
753 DEVPTS_FS=y
Eric Andersen31ec93e2004-09-23 20:08:46 +0000754
755 Next, you need a /dev/pts directory on your root filesystem:
756
757 $ ls -ld /dev/pts
758 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
759
760 Next you need the pseudo terminal master multiplexer /dev/ptmx:
761
762 $ ls -la /dev/ptmx
763 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
764
765 Any /dev/ttyp[0-9]* files you may have can be removed.
766 Next, you need to mount the devpts filesystem on /dev/pts using:
767
768 mount -t devpts devpts /dev/pts
769
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000770 You need to be sure that Busybox has LOGIN and
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000771 FEATURE_SUID enabled. And finally, you should make
Eric Andersen31ec93e2004-09-23 20:08:46 +0000772 certain that Busybox has been installed setuid root:
773
774 chown root.root /bin/busybox
775 chmod 4755 /bin/busybox
776
777 with all that done, telnetd _should_ work....
778
Eric Andersenc9f20d92002-12-05 08:41:41 +0000779
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000780config FEATURE_TELNETD_STANDALONE
781 bool "Support standalone telnetd (not inetd only)"
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000782 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000783 depends on TELNETD
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000784 help
Denis Vlasenko75f8d082006-11-22 15:54:52 +0000785 Selecting this will make telnetd able to run standalone.
Glenn L McGrath9e5d6c02003-01-21 20:55:56 +0000786
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000787config TFTP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000788 bool "tftp"
789 default n
790 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000791 This enables the Trivial File Transfer Protocol client program. TFTP
Eric Andersene5642112003-07-14 19:37:08 +0000792 is usually used for simple, small transfers such as a root image
793 for a network-enabled bootloader.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000794
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000795config TFTPD
796 bool "tftpd"
797 default n
798 help
799 This enables the Trivial File Transfer Protocol server program.
800 It expects that stdin is a datagram socket and a packet
801 is already pending on it. It will exit after one transfer.
802 In other words: it should be run from inetd in nowait mode,
803 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
804
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000805config FEATURE_TFTP_GET
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000806 bool "Enable \"get\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000807 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000808 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000809 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000810 Add support for the GET command within the TFTP client. This allows
Eric Andersen88c916b2003-10-22 09:58:56 +0000811 a client to retrieve a file from a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000812 Also enable upload support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000813
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000814config FEATURE_TFTP_PUT
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000815 bool "Enable \"put\" command"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000816 default y
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000817 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000818 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000819 Add support for the PUT command within the TFTP client. This allows
Eric Andersene5642112003-07-14 19:37:08 +0000820 a client to transfer a file to a TFTP server.
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000821 Also enable download support in tftpd, if tftpd is selected.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000822
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000823config FEATURE_TFTP_BLOCKSIZE
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000824 bool "Enable \"blksize\" protocol option"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000825 default n
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000826 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000827 help
Denis Vlasenkoaa9b1822008-03-17 09:10:39 +0000828 Allow tftp to specify block size, and tftpd to understand
829 "blksize" option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000830
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000831config TFTP_DEBUG
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000832 bool "Enable debug"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000833 default n
Denis Vlasenkoae6e1352008-11-22 18:41:41 +0000834 depends on TFTP || TFTPD
Eric Andersenc9f20d92002-12-05 08:41:41 +0000835 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000836 Enable debug settings for tftp. This is useful if you're running
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000837 into problems with tftp as the protocol doesn't help you much when
838 you run into problems.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000839
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000840config TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000841 bool "traceroute"
842 default n
843 help
Eric Andersene5642112003-07-14 19:37:08 +0000844 Utility to trace the route of IP packets
Eric Andersenc9f20d92002-12-05 08:41:41 +0000845
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000846config FEATURE_TRACEROUTE_VERBOSE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000847 bool "Enable verbose output"
Glenn L McGrath393183d2003-05-26 14:07:50 +0000848 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000849 depends on TRACEROUTE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000850 help
Bernhard Reutner-Fischer12aca792009-02-24 10:03:22 +0000851 Add some verbosity to traceroute. This includes among other things
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000852 hostnames and ICMP response types.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000853
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000854config FEATURE_TRACEROUTE_SOURCE_ROUTE
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000855 bool "Enable loose source route"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000856 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000857 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000858 help
Bernhard Reutner-Fischerc00411a2006-01-04 13:35:09 +0000859 Add option to specify a loose source route gateway
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000860 (8 maximum).
861
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000862config FEATURE_TRACEROUTE_USE_ICMP
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000863 bool "Use ICMP instead of UDP"
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000864 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000865 depends on TRACEROUTE
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000866 help
Bernhard Reutner-Fischer30e3df32009-02-24 10:05:15 +0000867 Add option -I to use ICMP ECHO instead of UDP datagrams.
"Vladimir N. Oleynik"45a8ed82005-09-06 16:08:33 +0000868
Mike Frysinger1b4e1da2006-05-08 03:24:36 +0000869source networking/udhcp/Config.in
870
Wade Berrier142c5cb2008-11-14 21:18:45 +0000871config IFUPDOWN_UDHCPC_CMD_OPTIONS
872 string "ifup udhcpc command line options"
873 default "-R -n"
874 depends on IFUPDOWN && APP_UDHCPC
875 help
876 Command line options to pass to udhcpc from ifup.
877 Intended to alter options not available in /etc/network/interfaces.
878 (IE: --syslog --background etc...)
879
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000880config VCONFIG
Eric Andersen853c4942003-01-23 05:59:32 +0000881 bool "vconfig"
882 default n
883 help
884 Creates, removes, and configures VLAN interfaces
885
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000886config WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000887 bool "wget"
888 default n
889 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000890 wget is a utility for non-interactive download of files from HTTP,
Eric Andersene5642112003-07-14 19:37:08 +0000891 HTTPS, and FTP servers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000892
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000893config FEATURE_WGET_STATUSBAR
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000894 bool "Enable a nifty process meter (+2k)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000895 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000896 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000897 help
Eric Andersene5642112003-07-14 19:37:08 +0000898 Enable the transfer progress bar for wget transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000899
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000900config FEATURE_WGET_AUTHENTICATION
Bernhard Reutner-Fischerea46f452006-04-18 11:11:40 +0000901 bool "Enable HTTP authentication"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000902 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000903 depends on WGET
Eric Andersenc9f20d92002-12-05 08:41:41 +0000904 help
Eric Andersene5642112003-07-14 19:37:08 +0000905 Support authenticated HTTP transfers.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000906
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000907config FEATURE_WGET_LONG_OPTIONS
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000908 bool "Enable long options"
909 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000910 depends on WGET && GETOPT_LONG
Bernhard Reutner-Fischer8d3a6f72006-05-31 14:11:38 +0000911 help
912 Support long options for the wget applet.
913
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000914config ZCIP
Rob Landleyad8071f2005-04-30 03:49:37 +0000915 bool "zcip"
916 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000917 select FEATURE_SYSLOG
Rob Landleyad8071f2005-04-30 03:49:37 +0000918 help
919 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
920 It's a daemon that allocates and defends a dynamically assigned
921 address on the 169.254/16 network, requiring no system administrator.
922
923 See http://www.zeroconf.org for further details, and "zcip.script"
924 in the busybox examples.
925
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000926config TCPSVD
927 bool "tcpsvd"
928 default n
929 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000930 tcpsvd listens on a TCP port and runs a program for each new
931 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000932
Denis Vlasenko39b68132009-01-23 02:07:14 +0000933config TUNCTL
934 bool "tunctl"
935 default n
936 help
937 tunctl creates or deletes tun devices.
938
939config FEATURE_TUNCTL_UG
940 bool "Support owner:group assignment"
941 default n
942 depends on TUNCTL
943 help
944 Allow to specify owner and group of newly created interface.
945 340 bytes of pure bloat. Say no here.
946
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000947config UDPSVD
948 bool "udpsvd"
949 default n
950 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000951 udpsvd listens on an UDP port and runs a program for each new
952 connection.
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000953
Eric Andersenc9f20d92002-12-05 08:41:41 +0000954endmenu