OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # DO NOT EDIT. This file is generated from Config.src |
2 | # |
||
3 | # For a description of the syntax of this configuration file, |
||
4 | # see scripts/kbuild/config-language.txt. |
||
5 | # |
||
6 | |||
7 | menu "Networking Utilities" |
||
8 | |||
9 | config BUSYBOX_CONFIG_FEATURE_IPV6 |
||
10 | bool "Enable IPv6 support" |
||
11 | default BUSYBOX_DEFAULT_FEATURE_IPV6 |
||
12 | help |
||
13 | Enable IPv6 support in busybox. |
||
14 | This adds IPv6 support in the networking applets. |
||
15 | |||
16 | config BUSYBOX_CONFIG_FEATURE_UNIX_LOCAL |
||
17 | bool "Enable Unix domain socket support (usually not needed)" |
||
18 | default BUSYBOX_DEFAULT_FEATURE_UNIX_LOCAL |
||
19 | help |
||
20 | Enable Unix domain socket support in all busybox networking |
||
21 | applets. Address of the form local:/path/to/unix/socket |
||
22 | will be recognized. |
||
23 | |||
24 | This extension is almost never used in real world usage. |
||
25 | You most likely want to say N. |
||
26 | |||
27 | config BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS |
||
28 | bool "Prefer IPv4 addresses from DNS queries" |
||
29 | default BUSYBOX_DEFAULT_FEATURE_PREFER_IPV4_ADDRESS |
||
30 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
||
31 | help |
||
32 | Use IPv4 address of network host if it has one. |
||
33 | |||
34 | If this option is off, the first returned address will be used. |
||
35 | This may cause problems when your DNS server is IPv6-capable and |
||
36 | is returning IPv6 host addresses too. If IPv6 address |
||
37 | precedes IPv4 one in DNS reply, busybox network applets |
||
38 | (e.g. wget) will use IPv6 address. On an IPv6-incapable host |
||
39 | or network applets will fail to connect to the host |
||
40 | using IPv6 address. |
||
41 | |||
42 | config BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS |
||
43 | bool "Verbose resolution errors" |
||
44 | default BUSYBOX_DEFAULT_VERBOSE_RESOLUTION_ERRORS |
||
45 | help |
||
46 | Enable if you are not satisfied with simplistic |
||
47 | "can't resolve 'hostname.com'" and want to know more. |
||
48 | This may increase size of your executable a bit. |
||
49 | |||
50 | config BUSYBOX_CONFIG_ARP |
||
51 | bool "arp" |
||
52 | default BUSYBOX_DEFAULT_ARP |
||
53 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
54 | help |
||
55 | Manipulate the system ARP cache. |
||
56 | config BUSYBOX_CONFIG_ARPING |
||
57 | bool "arping" |
||
58 | default BUSYBOX_DEFAULT_ARPING |
||
59 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
60 | help |
||
61 | Ping hosts by ARP packets. |
||
62 | |||
63 | config BUSYBOX_CONFIG_BRCTL |
||
64 | bool "brctl" |
||
65 | default BUSYBOX_DEFAULT_BRCTL |
||
66 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
67 | help |
||
68 | Manage ethernet bridges. |
||
69 | Supports addbr/delbr and addif/delif. |
||
70 | |||
71 | config BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY |
||
72 | bool "Fancy options" |
||
73 | default BUSYBOX_DEFAULT_FEATURE_BRCTL_FANCY |
||
74 | depends on BUSYBOX_CONFIG_BRCTL |
||
75 | help |
||
76 | Add support for extended option like: |
||
77 | setageing, setfd, sethello, setmaxage, |
||
78 | setpathcost, setportprio, setbridgeprio, |
||
79 | stp |
||
80 | This adds about 600 bytes. |
||
81 | |||
82 | config BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW |
||
83 | bool "Support show" |
||
84 | default BUSYBOX_DEFAULT_FEATURE_BRCTL_SHOW |
||
85 | depends on BUSYBOX_CONFIG_BRCTL && BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY |
||
86 | help |
||
87 | Add support for option which prints the current config: |
||
88 | show |
||
89 | config BUSYBOX_CONFIG_DNSD |
||
90 | bool "dnsd" |
||
91 | default BUSYBOX_DEFAULT_DNSD |
||
92 | help |
||
93 | Small and static DNS server daemon. |
||
94 | config BUSYBOX_CONFIG_ETHER_WAKE |
||
95 | bool "ether-wake" |
||
96 | default BUSYBOX_DEFAULT_ETHER_WAKE |
||
97 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
98 | help |
||
99 | Send a magic packet to wake up sleeping machines. |
||
100 | config BUSYBOX_CONFIG_FTPD |
||
101 | bool "ftpd" |
||
102 | default BUSYBOX_DEFAULT_FTPD |
||
103 | help |
||
104 | Simple FTP daemon. You have to run it via inetd. |
||
105 | |||
106 | config BUSYBOX_CONFIG_FEATURE_FTPD_WRITE |
||
107 | bool "Enable upload commands" |
||
108 | default BUSYBOX_DEFAULT_FEATURE_FTPD_WRITE |
||
109 | depends on BUSYBOX_CONFIG_FTPD |
||
110 | help |
||
111 | Enable all kinds of FTP upload commands (-w option) |
||
112 | |||
113 | config BUSYBOX_CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST |
||
114 | bool "Enable workaround for RFC-violating clients" |
||
115 | default BUSYBOX_DEFAULT_FEATURE_FTPD_ACCEPT_BROKEN_LIST |
||
116 | depends on BUSYBOX_CONFIG_FTPD |
||
117 | help |
||
118 | Some ftp clients (among them KDE's Konqueror) issue illegal |
||
119 | "LIST -l" requests. This option works around such problems. |
||
120 | It might prevent you from listing files starting with "-" and |
||
121 | it increases the code size by ~40 bytes. |
||
122 | Most other ftp servers seem to behave similar to this. |
||
123 | |||
124 | config BUSYBOX_CONFIG_FEATURE_FTPD_AUTHENTICATION |
||
125 | bool "Enable authentication" |
||
126 | default BUSYBOX_DEFAULT_FEATURE_FTPD_AUTHENTICATION |
||
127 | depends on BUSYBOX_CONFIG_FTPD |
||
128 | help |
||
129 | Enable basic system login as seen in telnet etc. |
||
130 | config BUSYBOX_CONFIG_FTPGET |
||
131 | bool "ftpget" |
||
132 | default BUSYBOX_DEFAULT_FTPGET |
||
133 | help |
||
134 | Retrieve a remote file via FTP. |
||
135 | |||
136 | config BUSYBOX_CONFIG_FTPPUT |
||
137 | bool "ftpput" |
||
138 | default BUSYBOX_DEFAULT_FTPPUT |
||
139 | help |
||
140 | Store a remote file via FTP. |
||
141 | |||
142 | config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS |
||
143 | bool "Enable long options in ftpget/ftpput" |
||
144 | default BUSYBOX_DEFAULT_FEATURE_FTPGETPUT_LONG_OPTIONS |
||
145 | depends on BUSYBOX_CONFIG_LONG_OPTS && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT) |
||
146 | config BUSYBOX_CONFIG_HOSTNAME |
||
147 | bool "hostname" |
||
148 | default BUSYBOX_DEFAULT_HOSTNAME |
||
149 | help |
||
150 | Show or set the system's host name. |
||
151 | |||
152 | config BUSYBOX_CONFIG_DNSDOMAINNAME |
||
153 | bool "dnsdomainname" |
||
154 | default BUSYBOX_DEFAULT_DNSDOMAINNAME |
||
155 | help |
||
156 | Alias to "hostname -d". |
||
157 | config BUSYBOX_CONFIG_HTTPD |
||
158 | bool "httpd" |
||
159 | default BUSYBOX_DEFAULT_HTTPD |
||
160 | help |
||
161 | HTTP server. |
||
162 | |||
163 | config BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES |
||
164 | bool "Support 'Ranges:' header" |
||
165 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_RANGES |
||
166 | depends on BUSYBOX_CONFIG_HTTPD |
||
167 | help |
||
168 | Makes httpd emit "Accept-Ranges: bytes" header and understand |
||
169 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted |
||
170 | downloads, seeking in multimedia players etc. |
||
171 | |||
172 | config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID |
||
173 | bool "Enable -u <user> option" |
||
174 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_SETUID |
||
175 | depends on BUSYBOX_CONFIG_HTTPD |
||
176 | help |
||
177 | This option allows the server to run as a specific user |
||
178 | rather than defaulting to the user that starts the server. |
||
179 | Use of this option requires special privileges to change to a |
||
180 | different user. |
||
181 | |||
182 | config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH |
||
183 | bool "Enable Basic http Authentication" |
||
184 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_BASIC_AUTH |
||
185 | depends on BUSYBOX_CONFIG_HTTPD |
||
186 | help |
||
187 | Utilizes password settings from /etc/httpd.conf for basic |
||
188 | authentication on a per url basis. |
||
189 | Example for httpd.conf file: |
||
190 | /adm:toor:PaSsWd |
||
191 | |||
192 | config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5 |
||
193 | bool "Support MD5 crypted passwords for http Authentication" |
||
194 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_AUTH_MD5 |
||
195 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH |
||
196 | help |
||
197 | Enables encrypted passwords, and wildcard user/passwords |
||
198 | in httpd.conf file. |
||
199 | User '*' means 'any system user name is ok', |
||
200 | password of '*' means 'use system password for this user' |
||
201 | Examples: |
||
202 | /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0 |
||
203 | /adm:root:* |
||
204 | /wiki:*:* |
||
205 | |||
206 | config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
||
207 | bool "Support Common Gateway Interface (CGI)" |
||
208 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_CGI |
||
209 | depends on BUSYBOX_CONFIG_HTTPD |
||
210 | help |
||
211 | This option allows scripts and executables to be invoked |
||
212 | when specific URLs are requested. |
||
213 | |||
214 | config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
||
215 | bool "Support running scripts through an interpreter" |
||
216 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
||
217 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
||
218 | help |
||
219 | This option enables support for running scripts through an |
||
220 | interpreter. Turn this on if you want PHP scripts to work |
||
221 | properly. You need to supply an additional line in your |
||
222 | httpd.conf file: |
||
223 | *.php:/path/to/your/php |
||
224 | |||
225 | config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
||
226 | bool "Set REMOTE_PORT environment variable for CGI" |
||
227 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
||
228 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
||
229 | help |
||
230 | Use of this option can assist scripts in generating |
||
231 | references that contain a unique port number. |
||
232 | |||
233 | config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR |
||
234 | bool "Enable -e option (useful for CGIs written as shell scripts)" |
||
235 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_ENCODE_URL_STR |
||
236 | depends on BUSYBOX_CONFIG_HTTPD |
||
237 | help |
||
238 | This option allows html encoding of arbitrary strings for display |
||
239 | by the browser. Output goes to stdout. |
||
240 | For example, httpd -e "<Hello World>" produces |
||
241 | "<Hello World>". |
||
242 | |||
243 | config BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES |
||
244 | bool "Support custom error pages" |
||
245 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_ERROR_PAGES |
||
246 | depends on BUSYBOX_CONFIG_HTTPD |
||
247 | help |
||
248 | This option allows you to define custom error pages in |
||
249 | the configuration file instead of the default HTTP status |
||
250 | error pages. For instance, if you add the line: |
||
251 | E404:/path/e404.html |
||
252 | in the config file, the server will respond the specified |
||
253 | '/path/e404.html' file instead of the terse '404 NOT FOUND' |
||
254 | message. |
||
255 | |||
256 | config BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY |
||
257 | bool "Support reverse proxy" |
||
258 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_PROXY |
||
259 | depends on BUSYBOX_CONFIG_HTTPD |
||
260 | help |
||
261 | This option allows you to define URLs that will be forwarded |
||
262 | to another HTTP server. To setup add the following line to the |
||
263 | configuration file |
||
264 | P:/url/:http://hostname[:port]/new/path/ |
||
265 | Then a request to /url/myfile will be forwarded to |
||
266 | http://hostname[:port]/new/path/myfile. |
||
267 | |||
268 | config BUSYBOX_CONFIG_FEATURE_HTTPD_GZIP |
||
269 | bool "Support GZIP content encoding" |
||
270 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_GZIP |
||
271 | depends on BUSYBOX_CONFIG_HTTPD |
||
272 | help |
||
273 | Makes httpd send files using GZIP content encoding if the |
||
274 | client supports it and a pre-compressed <file>.gz exists. |
||
275 | config BUSYBOX_CONFIG_IFCONFIG |
||
276 | bool "ifconfig" |
||
277 | default BUSYBOX_DEFAULT_IFCONFIG |
||
278 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
279 | help |
||
280 | Ifconfig is used to configure the kernel-resident network interfaces. |
||
281 | |||
282 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS |
||
283 | bool "Enable status reporting output (+7k)" |
||
284 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_STATUS |
||
285 | depends on BUSYBOX_CONFIG_IFCONFIG |
||
286 | help |
||
287 | If ifconfig is called with no arguments it will display the status |
||
288 | of the currently active interfaces. |
||
289 | |||
290 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP |
||
291 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" |
||
292 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_SLIP |
||
293 | depends on BUSYBOX_CONFIG_IFCONFIG |
||
294 | help |
||
295 | Allow "keepalive" and "outfill" support for SLIP. If you're not |
||
296 | planning on using serial lines, leave this unchecked. |
||
297 | |||
298 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
||
299 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" |
||
300 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
||
301 | depends on BUSYBOX_CONFIG_IFCONFIG |
||
302 | help |
||
303 | Allow the start address for shared memory, start address for I/O, |
||
304 | and/or the interrupt line used by the specified device. |
||
305 | |||
306 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW |
||
307 | bool "Enable option \"hw\" (ether only)" |
||
308 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_HW |
||
309 | depends on BUSYBOX_CONFIG_IFCONFIG |
||
310 | help |
||
311 | Set the hardware address of this interface, if the device driver |
||
312 | supports this operation. Currently, we only support the 'ether' |
||
313 | class. |
||
314 | |||
315 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS |
||
316 | bool "Set the broadcast automatically" |
||
317 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_BROADCAST_PLUS |
||
318 | depends on BUSYBOX_CONFIG_IFCONFIG |
||
319 | help |
||
320 | Setting this will make ifconfig attempt to find the broadcast |
||
321 | automatically if the value '+' is used. |
||
322 | config BUSYBOX_CONFIG_IFENSLAVE |
||
323 | bool "ifenslave" |
||
324 | default BUSYBOX_DEFAULT_IFENSLAVE |
||
325 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
326 | help |
||
327 | Userspace application to bind several interfaces |
||
328 | to a logical interface (use with kernel bonding driver). |
||
329 | config BUSYBOX_CONFIG_IFPLUGD |
||
330 | bool "ifplugd" |
||
331 | default BUSYBOX_DEFAULT_IFPLUGD |
||
332 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
333 | help |
||
334 | Network interface plug detection daemon. |
||
335 | config BUSYBOX_CONFIG_IFUP |
||
336 | bool "ifup" |
||
337 | default BUSYBOX_DEFAULT_IFUP |
||
338 | help |
||
339 | Activate the specified interfaces. This applet makes use |
||
340 | of either "ifconfig" and "route" or the "ip" command to actually |
||
341 | configure network interfaces. Therefore, you will probably also want |
||
342 | to enable either IFCONFIG and ROUTE, or enable |
||
343 | FEATURE_IFUPDOWN_IP and the various IP options. Of |
||
344 | course you could use non-busybox versions of these programs, so |
||
345 | against my better judgement (since this will surely result in plenty |
||
346 | of support questions on the mailing list), I do not force you to |
||
347 | enable these additional options. It is up to you to supply either |
||
348 | "ifconfig", "route" and "run-parts" or the "ip" command, either |
||
349 | via busybox or via standalone utilities. |
||
350 | |||
351 | config BUSYBOX_CONFIG_IFDOWN |
||
352 | bool "ifdown" |
||
353 | default BUSYBOX_DEFAULT_IFDOWN |
||
354 | help |
||
355 | Deactivate the specified interfaces. |
||
356 | |||
357 | config BUSYBOX_CONFIG_IFUPDOWN_IFSTATE_PATH |
||
358 | string "Absolute path to ifstate file" |
||
359 | default BUSYBOX_DEFAULT_IFUPDOWN_IFSTATE_PATH |
||
360 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
||
361 | help |
||
362 | ifupdown keeps state information in a file called ifstate. |
||
363 | Typically it is located in /var/run/ifstate, however |
||
364 | some distributions tend to put it in other places |
||
365 | (debian, for example, uses /etc/network/run/ifstate). |
||
366 | This config option defines location of ifstate. |
||
367 | |||
368 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP |
||
369 | bool "Use ip tool (else ifconfig/route is used)" |
||
370 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IP |
||
371 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
||
372 | help |
||
373 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather |
||
374 | than the default of using the older "ifconfig" and "route" utilities. |
||
375 | |||
376 | If Y: you must install either the full-blown iproute2 package |
||
377 | or enable "ip" applet in Busybox, or the "ifup" and "ifdown" applets |
||
378 | will not work. |
||
379 | |||
380 | If N: you must install either the full-blown ifconfig and route |
||
381 | utilities, or enable these applets in Busybox. |
||
382 | |||
383 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4 |
||
384 | bool "Support IPv4" |
||
385 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV4 |
||
386 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
||
387 | help |
||
388 | If you want ifup/ifdown to talk IPv4, leave this on. |
||
389 | |||
390 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6 |
||
391 | bool "Support IPv6" |
||
392 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV6 |
||
393 | depends on (BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN) && BUSYBOX_CONFIG_FEATURE_IPV6 |
||
394 | help |
||
395 | If you need support for IPv6, turn this option on. |
||
396 | |||
397 | |||
398 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING |
||
399 | bool "Enable mapping support" |
||
400 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_MAPPING |
||
401 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
||
402 | help |
||
403 | This enables support for the "mapping" stanza, unless you have |
||
404 | a weird network setup you don't need it. |
||
405 | |||
406 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
||
407 | bool "Support external DHCP clients" |
||
408 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
||
409 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
||
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 | config BUSYBOX_CONFIG_INETD |
||
416 | bool "inetd" |
||
417 | default BUSYBOX_DEFAULT_INETD |
||
418 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
||
419 | help |
||
420 | Internet superserver daemon |
||
421 | |||
422 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
||
423 | bool "Support echo service" |
||
424 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
||
425 | depends on BUSYBOX_CONFIG_INETD |
||
426 | help |
||
427 | Echo received data internal inetd service |
||
428 | |||
429 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
||
430 | bool "Support discard service" |
||
431 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
||
432 | depends on BUSYBOX_CONFIG_INETD |
||
433 | help |
||
434 | Internet /dev/null internal inetd service |
||
435 | |||
436 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME |
||
437 | bool "Support time service" |
||
438 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_TIME |
||
439 | depends on BUSYBOX_CONFIG_INETD |
||
440 | help |
||
441 | Return 32 bit time since 1900 internal inetd service |
||
442 | |||
443 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
||
444 | bool "Support daytime service" |
||
445 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
||
446 | depends on BUSYBOX_CONFIG_INETD |
||
447 | help |
||
448 | Return human-readable time internal inetd service |
||
449 | |||
450 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
||
451 | bool "Support chargen service" |
||
452 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
||
453 | depends on BUSYBOX_CONFIG_INETD |
||
454 | help |
||
455 | Familiar character generator internal inetd service |
||
456 | |||
457 | config BUSYBOX_CONFIG_FEATURE_INETD_RPC |
||
458 | bool "Support RPC services" |
||
459 | default BUSYBOX_DEFAULT_FEATURE_INETD_RPC # very rarely used, and needs Sun RPC support in libc |
||
460 | depends on BUSYBOX_CONFIG_INETD |
||
461 | select BUSYBOX_CONFIG_FEATURE_HAVE_RPC |
||
462 | help |
||
463 | Support Sun-RPC based services |
||
464 | config BUSYBOX_CONFIG_IP |
||
465 | bool "ip" |
||
466 | default BUSYBOX_DEFAULT_IP |
||
467 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
468 | help |
||
469 | The "ip" applet is a TCP/IP interface configuration and routing |
||
470 | utility. You generally don't need "ip" to use busybox with |
||
471 | TCP/IP. |
||
472 | |||
473 | config BUSYBOX_CONFIG_IPADDR |
||
474 | bool "ipaddr" |
||
475 | default BUSYBOX_DEFAULT_IPADDR |
||
476 | select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS |
||
477 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
478 | help |
||
479 | Support short form of ip addr: ipaddr |
||
480 | |||
481 | config BUSYBOX_CONFIG_IPLINK |
||
482 | bool "iplink" |
||
483 | default BUSYBOX_DEFAULT_IPLINK |
||
484 | select BUSYBOX_CONFIG_FEATURE_IP_LINK |
||
485 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
486 | help |
||
487 | Support short form of ip link: iplink |
||
488 | |||
489 | config BUSYBOX_CONFIG_IPROUTE |
||
490 | bool "iproute" |
||
491 | default BUSYBOX_DEFAULT_IPROUTE |
||
492 | select BUSYBOX_CONFIG_FEATURE_IP_ROUTE |
||
493 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
494 | help |
||
495 | Support short form of ip route: iproute |
||
496 | |||
497 | config BUSYBOX_CONFIG_IPTUNNEL |
||
498 | bool "iptunnel" |
||
499 | default BUSYBOX_DEFAULT_IPTUNNEL |
||
500 | select BUSYBOX_CONFIG_FEATURE_IP_TUNNEL |
||
501 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
502 | help |
||
503 | Support short form of ip tunnel: iptunnel |
||
504 | |||
505 | config BUSYBOX_CONFIG_IPRULE |
||
506 | bool "iprule" |
||
507 | default BUSYBOX_DEFAULT_IPRULE |
||
508 | select BUSYBOX_CONFIG_FEATURE_IP_RULE |
||
509 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
510 | help |
||
511 | Support short form of ip rule: iprule |
||
512 | |||
513 | config BUSYBOX_CONFIG_IPNEIGH |
||
514 | bool "ipneigh" |
||
515 | default BUSYBOX_DEFAULT_IPNEIGH |
||
516 | select BUSYBOX_CONFIG_FEATURE_IP_NEIGH |
||
517 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
518 | help |
||
519 | Support short form of ip neigh: ipneigh |
||
520 | |||
521 | config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS |
||
522 | bool "ip address" |
||
523 | default BUSYBOX_DEFAULT_FEATURE_IP_ADDRESS |
||
524 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR |
||
525 | help |
||
526 | Address manipulation support for the "ip" applet. |
||
527 | |||
528 | config BUSYBOX_CONFIG_FEATURE_IP_LINK |
||
529 | bool "ip link" |
||
530 | default BUSYBOX_DEFAULT_FEATURE_IP_LINK |
||
531 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPLINK |
||
532 | help |
||
533 | Configure network devices with "ip". |
||
534 | |||
535 | config BUSYBOX_CONFIG_FEATURE_IP_ROUTE |
||
536 | bool "ip route" |
||
537 | default BUSYBOX_DEFAULT_FEATURE_IP_ROUTE |
||
538 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPROUTE |
||
539 | help |
||
540 | Add support for routing table management to "ip". |
||
541 | |||
542 | config BUSYBOX_CONFIG_FEATURE_IP_ROUTE_DIR |
||
543 | string "ip route configuration directory" |
||
544 | default BUSYBOX_DEFAULT_FEATURE_IP_ROUTE_DIR |
||
545 | depends on BUSYBOX_CONFIG_FEATURE_IP_ROUTE |
||
546 | help |
||
547 | Location of the "ip" applet routing configuration. |
||
548 | |||
549 | config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL |
||
550 | bool "ip tunnel" |
||
551 | default BUSYBOX_DEFAULT_FEATURE_IP_TUNNEL |
||
552 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPTUNNEL |
||
553 | help |
||
554 | Add support for tunneling commands to "ip". |
||
555 | |||
556 | config BUSYBOX_CONFIG_FEATURE_IP_RULE |
||
557 | bool "ip rule" |
||
558 | default BUSYBOX_DEFAULT_FEATURE_IP_RULE |
||
559 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPRULE |
||
560 | help |
||
561 | Add support for rule commands to "ip". |
||
562 | |||
563 | config BUSYBOX_CONFIG_FEATURE_IP_NEIGH |
||
564 | bool "ip neighbor" |
||
565 | default BUSYBOX_DEFAULT_FEATURE_IP_NEIGH |
||
566 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPNEIGH |
||
567 | help |
||
568 | Add support for neighbor commands to "ip". |
||
569 | |||
570 | config BUSYBOX_CONFIG_FEATURE_IP_RARE_PROTOCOLS |
||
571 | bool "Support displaying rarely used link types" |
||
572 | default BUSYBOX_DEFAULT_FEATURE_IP_RARE_PROTOCOLS |
||
573 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR || BUSYBOX_CONFIG_IPLINK || BUSYBOX_CONFIG_IPROUTE || BUSYBOX_CONFIG_IPTUNNEL || BUSYBOX_CONFIG_IPRULE || BUSYBOX_CONFIG_IPNEIGH |
||
574 | help |
||
575 | If you are not going to use links of type "frad", "econet", |
||
576 | "bif" etc, you probably don't need to enable this. |
||
577 | Ethernet, wireless, infrared, ppp/slip, ip tunnelling |
||
578 | link types are supported without this option selected. |
||
579 | config BUSYBOX_CONFIG_IPCALC |
||
580 | bool "ipcalc" |
||
581 | default BUSYBOX_DEFAULT_IPCALC |
||
582 | help |
||
583 | ipcalc takes an IP address and netmask and calculates the |
||
584 | resulting broadcast, network, and host range. |
||
585 | |||
586 | config BUSYBOX_CONFIG_FEATURE_IPCALC_LONG_OPTIONS |
||
587 | bool "Enable long options" |
||
588 | default BUSYBOX_DEFAULT_FEATURE_IPCALC_LONG_OPTIONS |
||
589 | depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_LONG_OPTS |
||
590 | |||
591 | config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY |
||
592 | bool "Fancy IPCALC, more options, adds 1 kbyte" |
||
593 | default BUSYBOX_DEFAULT_FEATURE_IPCALC_FANCY |
||
594 | depends on BUSYBOX_CONFIG_IPCALC |
||
595 | help |
||
596 | Adds the options hostname, prefix and silent to the output of |
||
597 | "ipcalc". |
||
598 | config BUSYBOX_CONFIG_FAKEIDENTD |
||
599 | bool "fakeidentd" |
||
600 | default BUSYBOX_DEFAULT_FAKEIDENTD |
||
601 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
||
602 | help |
||
603 | fakeidentd listens on the ident port and returns a predefined |
||
604 | fake value on any query. |
||
605 | config BUSYBOX_CONFIG_NAMEIF |
||
606 | bool "nameif" |
||
607 | default BUSYBOX_DEFAULT_NAMEIF |
||
608 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
609 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
||
610 | help |
||
611 | nameif is used to rename network interface by its MAC address. |
||
612 | Renamed interfaces MUST be in the down state. |
||
613 | It is possible to use a file (default: /etc/mactab) |
||
614 | with list of new interface names and MACs. |
||
615 | Maximum interface name length: IFNAMSIZ = 16 |
||
616 | File fields are separated by space or tab. |
||
617 | File format: |
||
618 | # Comment |
||
619 | new_interface_name XX:XX:XX:XX:XX:XX |
||
620 | |||
621 | config BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED |
||
622 | bool "Extended nameif" |
||
623 | default BUSYBOX_DEFAULT_FEATURE_NAMEIF_EXTENDED |
||
624 | depends on BUSYBOX_CONFIG_NAMEIF |
||
625 | help |
||
626 | This extends the nameif syntax to support the bus_info, driver, |
||
627 | phyaddr selectors. The syntax is compatible to the normal nameif. |
||
628 | File format: |
||
629 | new_interface_name driver=asix bus=usb-0000:00:08.2-3 |
||
630 | new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5 |
||
631 | new_interface_name phy_address=2 00:80:C8:38:91:B5 |
||
632 | new_interface_name mac=00:80:C8:38:91:B5 |
||
633 | new_interface_name 00:80:C8:38:91:B5 |
||
634 | config BUSYBOX_CONFIG_NBDCLIENT |
||
635 | bool "nbd-client" |
||
636 | default BUSYBOX_DEFAULT_NBDCLIENT |
||
637 | help |
||
638 | Network block device client |
||
639 | config BUSYBOX_CONFIG_NC |
||
640 | bool "nc" |
||
641 | default BUSYBOX_DEFAULT_NC |
||
642 | help |
||
643 | A simple Unix utility which reads and writes data across network |
||
644 | connections. |
||
645 | |||
646 | config BUSYBOX_CONFIG_NC_SERVER |
||
647 | bool "Netcat server options (-l)" |
||
648 | default BUSYBOX_DEFAULT_NC_SERVER |
||
649 | depends on BUSYBOX_CONFIG_NC |
||
650 | help |
||
651 | Allow netcat to act as a server. |
||
652 | |||
653 | config BUSYBOX_CONFIG_NC_EXTRA |
||
654 | bool "Netcat extensions (-eiw and -f FILE)" |
||
655 | default BUSYBOX_DEFAULT_NC_EXTRA |
||
656 | depends on BUSYBOX_CONFIG_NC |
||
657 | help |
||
658 | Add -e (support for executing the rest of the command line after |
||
659 | making or receiving a successful connection), -i (delay interval for |
||
660 | lines sent), -w (timeout for initial connection). |
||
661 | |||
662 | config BUSYBOX_CONFIG_NC_110_COMPAT |
||
663 | bool "Netcat 1.10 compatibility (+2.5k)" |
||
664 | default BUSYBOX_DEFAULT_NC_110_COMPAT # off specially for Rob |
||
665 | depends on BUSYBOX_CONFIG_NC |
||
666 | help |
||
667 | This option makes nc closely follow original nc-1.10. |
||
668 | The code is about 2.5k bigger. It enables |
||
669 | -s ADDR, -n, -u, -v, -o FILE, -z options, but loses |
||
670 | busybox-specific extensions: -f FILE. |
||
671 | config BUSYBOX_CONFIG_NETMSG |
||
672 | bool "netmsg" |
||
673 | default BUSYBOX_DEFAULT_NETMSG |
||
674 | help |
||
675 | simple program for sending udp broadcast messages |
||
676 | config BUSYBOX_CONFIG_NETSTAT |
||
677 | bool "netstat" |
||
678 | default BUSYBOX_DEFAULT_NETSTAT |
||
679 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
680 | help |
||
681 | netstat prints information about the Linux networking subsystem. |
||
682 | |||
683 | config BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE |
||
684 | bool "Enable wide output" |
||
685 | default BUSYBOX_DEFAULT_FEATURE_NETSTAT_WIDE |
||
686 | depends on BUSYBOX_CONFIG_NETSTAT |
||
687 | help |
||
688 | Add support for wide columns. Useful when displaying IPv6 addresses |
||
689 | (-W option). |
||
690 | |||
691 | config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG |
||
692 | bool "Enable PID/Program name output" |
||
693 | default BUSYBOX_DEFAULT_FEATURE_NETSTAT_PRG |
||
694 | depends on BUSYBOX_CONFIG_NETSTAT |
||
695 | help |
||
696 | Add support for -p flag to print out PID and program name. |
||
697 | +700 bytes of code. |
||
698 | config BUSYBOX_CONFIG_NSLOOKUP |
||
699 | bool "nslookup" |
||
700 | default BUSYBOX_DEFAULT_NSLOOKUP |
||
701 | help |
||
702 | nslookup is a tool to query Internet name servers. |
||
703 | config BUSYBOX_CONFIG_NSLOOKUP_OPENWRT |
||
704 | bool "nslookup_lede" |
||
705 | depends on !BUSYBOX_CONFIG_NSLOOKUP |
||
706 | default BUSYBOX_DEFAULT_NSLOOKUP_OPENWRT |
||
707 | help |
||
708 | nslookup is a tool to query Internet name servers (OpenWrt flavor). |
||
709 | |||
710 | config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS |
||
711 | bool "Enable long options" |
||
712 | default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS |
||
713 | depends on BUSYBOX_CONFIG_NSLOOKUP_OPENWRT && BUSYBOX_CONFIG_LONG_OPTS |
||
714 | help |
||
715 | Support long options for the nslookup applet. |
||
716 | config BUSYBOX_CONFIG_NTPD |
||
717 | bool "ntpd" |
||
718 | default BUSYBOX_DEFAULT_NTPD |
||
719 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
720 | help |
||
721 | The NTP client/server daemon. |
||
722 | |||
723 | config BUSYBOX_CONFIG_FEATURE_NTPD_SERVER |
||
724 | bool "Make ntpd usable as a NTP server" |
||
725 | default BUSYBOX_DEFAULT_FEATURE_NTPD_SERVER |
||
726 | depends on BUSYBOX_CONFIG_NTPD |
||
727 | help |
||
728 | Make ntpd usable as a NTP server. If you disable this option |
||
729 | ntpd will be usable only as a NTP client. |
||
730 | |||
731 | config BUSYBOX_CONFIG_FEATURE_NTPD_CONF |
||
732 | bool "Make ntpd understand /etc/ntp.conf" |
||
733 | default BUSYBOX_DEFAULT_FEATURE_NTPD_CONF |
||
734 | depends on BUSYBOX_CONFIG_NTPD |
||
735 | help |
||
736 | Make ntpd look in /etc/ntp.conf for peers. Only "server address" |
||
737 | is supported. |
||
738 | config BUSYBOX_CONFIG_PING |
||
739 | bool "ping" |
||
740 | default BUSYBOX_DEFAULT_PING |
||
741 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
742 | help |
||
743 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
||
744 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
||
745 | |||
746 | config BUSYBOX_CONFIG_PING6 |
||
747 | bool "ping6" |
||
748 | default BUSYBOX_DEFAULT_PING6 |
||
749 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
||
750 | help |
||
751 | This will give you a ping that can talk IPv6. |
||
752 | |||
753 | config BUSYBOX_CONFIG_FEATURE_FANCY_PING |
||
754 | bool "Enable fancy ping output" |
||
755 | default BUSYBOX_DEFAULT_FEATURE_FANCY_PING |
||
756 | depends on BUSYBOX_CONFIG_PING || BUSYBOX_CONFIG_PING6 |
||
757 | help |
||
758 | Make the output from the ping applet include statistics, and at the |
||
759 | same time provide full support for ICMP packets. |
||
760 | config BUSYBOX_CONFIG_PSCAN |
||
761 | bool "pscan" |
||
762 | default BUSYBOX_DEFAULT_PSCAN |
||
763 | help |
||
764 | Simple network port scanner. |
||
765 | config BUSYBOX_CONFIG_ROUTE |
||
766 | bool "route" |
||
767 | default BUSYBOX_DEFAULT_ROUTE |
||
768 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
769 | help |
||
770 | Route displays or manipulates the kernel's IP routing tables. |
||
771 | config BUSYBOX_CONFIG_SLATTACH |
||
772 | bool "slattach" |
||
773 | default BUSYBOX_DEFAULT_SLATTACH |
||
774 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
775 | help |
||
776 | slattach is a small utility to attach network interfaces to serial |
||
777 | lines. |
||
778 | config BUSYBOX_CONFIG_SSL_CLIENT |
||
779 | bool "ssl_client" |
||
780 | default BUSYBOX_DEFAULT_SSL_CLIENT |
||
781 | select BUSYBOX_CONFIG_TLS |
||
782 | help |
||
783 | This tool pipes data to/from a socket, TLS-encrypting it. |
||
784 | config BUSYBOX_CONFIG_TCPSVD |
||
785 | bool "tcpsvd" |
||
786 | default BUSYBOX_DEFAULT_TCPSVD |
||
787 | help |
||
788 | tcpsvd listens on a TCP port and runs a program for each new |
||
789 | connection. |
||
790 | |||
791 | config BUSYBOX_CONFIG_UDPSVD |
||
792 | bool "udpsvd" |
||
793 | default BUSYBOX_DEFAULT_UDPSVD |
||
794 | help |
||
795 | udpsvd listens on an UDP port and runs a program for each new |
||
796 | connection. |
||
797 | config BUSYBOX_CONFIG_TELNET |
||
798 | bool "telnet" |
||
799 | default BUSYBOX_DEFAULT_TELNET |
||
800 | help |
||
801 | Telnet is an interface to the TELNET protocol, but is also commonly |
||
802 | used to test other simple protocols. |
||
803 | |||
804 | config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE |
||
805 | bool "Pass TERM type to remote host" |
||
806 | default BUSYBOX_DEFAULT_FEATURE_TELNET_TTYPE |
||
807 | depends on BUSYBOX_CONFIG_TELNET |
||
808 | help |
||
809 | Setting this option will forward the TERM environment variable to the |
||
810 | remote host you are connecting to. This is useful to make sure that |
||
811 | things like ANSI colors and other control sequences behave. |
||
812 | |||
813 | config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN |
||
814 | bool "Pass USER type to remote host" |
||
815 | default BUSYBOX_DEFAULT_FEATURE_TELNET_AUTOLOGIN |
||
816 | depends on BUSYBOX_CONFIG_TELNET |
||
817 | help |
||
818 | Setting this option will forward the USER environment variable to the |
||
819 | remote host you are connecting to. This is useful when you need to |
||
820 | log into a machine without telling the username (autologin). This |
||
821 | option enables `-a' and `-l USER' arguments. |
||
822 | |||
823 | config BUSYBOX_CONFIG_FEATURE_TELNET_WIDTH |
||
824 | bool "Enable window size autodetection" |
||
825 | default BUSYBOX_DEFAULT_FEATURE_TELNET_WIDTH |
||
826 | depends on BUSYBOX_CONFIG_TELNET |
||
827 | config BUSYBOX_CONFIG_TELNETD |
||
828 | bool "telnetd" |
||
829 | default BUSYBOX_DEFAULT_TELNETD |
||
830 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
||
831 | help |
||
832 | A daemon for the TELNET protocol, allowing you to log onto the host |
||
833 | running the daemon. Please keep in mind that the TELNET protocol |
||
834 | sends passwords in plain text. If you can't afford the space for an |
||
835 | SSH daemon and you trust your network, you may say 'y' here. As a |
||
836 | more secure alternative, you should seriously consider installing the |
||
837 | very small Dropbear SSH daemon instead: |
||
838 | http://matt.ucc.asn.au/dropbear/dropbear.html |
||
839 | |||
840 | Note that for busybox telnetd to work you need several things: |
||
841 | First of all, your kernel needs: |
||
842 | CONFIG_UNIX98_PTYS=y |
||
843 | |||
844 | Next, you need a /dev/pts directory on your root filesystem: |
||
845 | |||
846 | $ ls -ld /dev/pts |
||
847 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/ |
||
848 | |||
849 | Next you need the pseudo terminal master multiplexer /dev/ptmx: |
||
850 | |||
851 | $ ls -la /dev/ptmx |
||
852 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx |
||
853 | |||
854 | Any /dev/ttyp[0-9]* files you may have can be removed. |
||
855 | Next, you need to mount the devpts filesystem on /dev/pts using: |
||
856 | |||
857 | mount -t devpts devpts /dev/pts |
||
858 | |||
859 | You need to be sure that busybox has LOGIN and |
||
860 | FEATURE_SUID enabled. And finally, you should make |
||
861 | certain that Busybox has been installed setuid root: |
||
862 | |||
863 | chown root.root /bin/busybox |
||
864 | chmod 4755 /bin/busybox |
||
865 | |||
866 | with all that done, telnetd _should_ work.... |
||
867 | |||
868 | config BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE |
||
869 | bool "Support standalone telnetd (not inetd only)" |
||
870 | default BUSYBOX_DEFAULT_FEATURE_TELNETD_STANDALONE |
||
871 | depends on BUSYBOX_CONFIG_TELNETD |
||
872 | help |
||
873 | Selecting this will make telnetd able to run standalone. |
||
874 | |||
875 | config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD_WAIT |
||
876 | bool "Support -w SEC option (inetd wait mode)" |
||
877 | default BUSYBOX_DEFAULT_FEATURE_TELNETD_INETD_WAIT |
||
878 | depends on BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE |
||
879 | help |
||
880 | This option allows you to run telnetd in "inet wait" mode. |
||
881 | Example inetd.conf line (note "wait", not usual "nowait"): |
||
882 | |||
883 | telnet stream tcp wait root /bin/telnetd telnetd -w10 |
||
884 | |||
885 | In this example, inetd passes _listening_ socket_ as fd 0 |
||
886 | to telnetd when connection appears. |
||
887 | telnetd will wait for connections until all existing |
||
888 | connections are closed, and no new connections |
||
889 | appear during 10 seconds. Then it exits, and inetd continues |
||
890 | to listen for new connections. |
||
891 | |||
892 | This option is rarely used. "tcp nowait" is much more usual |
||
893 | way of running tcp services, including telnetd. |
||
894 | You most probably want to say N here. |
||
895 | config BUSYBOX_CONFIG_TFTP |
||
896 | bool "tftp" |
||
897 | default BUSYBOX_DEFAULT_TFTP |
||
898 | help |
||
899 | This enables the Trivial File Transfer Protocol client program. TFTP |
||
900 | is usually used for simple, small transfers such as a root image |
||
901 | for a network-enabled bootloader. |
||
902 | |||
903 | config BUSYBOX_CONFIG_TFTPD |
||
904 | bool "tftpd" |
||
905 | default BUSYBOX_DEFAULT_TFTPD |
||
906 | help |
||
907 | This enables the Trivial File Transfer Protocol server program. |
||
908 | It expects that stdin is a datagram socket and a packet |
||
909 | is already pending on it. It will exit after one transfer. |
||
910 | In other words: it should be run from inetd in nowait mode, |
||
911 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" |
||
912 | |||
913 | comment "Common options for tftp/tftpd" |
||
914 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
||
915 | |||
916 | config BUSYBOX_CONFIG_FEATURE_TFTP_GET |
||
917 | bool "Enable 'tftp get' and/or tftpd upload code" |
||
918 | default BUSYBOX_DEFAULT_FEATURE_TFTP_GET |
||
919 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
||
920 | help |
||
921 | Add support for the GET command within the TFTP client. This allows |
||
922 | a client to retrieve a file from a TFTP server. |
||
923 | Also enable upload support in tftpd, if tftpd is selected. |
||
924 | |||
925 | Note: this option does _not_ make tftpd capable of download |
||
926 | (the usual operation people need from it)! |
||
927 | |||
928 | config BUSYBOX_CONFIG_FEATURE_TFTP_PUT |
||
929 | bool "Enable 'tftp put' and/or tftpd download code" |
||
930 | default BUSYBOX_DEFAULT_FEATURE_TFTP_PUT |
||
931 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
||
932 | help |
||
933 | Add support for the PUT command within the TFTP client. This allows |
||
934 | a client to transfer a file to a TFTP server. |
||
935 | Also enable download support in tftpd, if tftpd is selected. |
||
936 | |||
937 | config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE |
||
938 | bool "Enable 'blksize' and 'tsize' protocol options" |
||
939 | default BUSYBOX_DEFAULT_FEATURE_TFTP_BLOCKSIZE |
||
940 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
||
941 | help |
||
942 | Allow tftp to specify block size, and tftpd to understand |
||
943 | "blksize" and "tsize" options. |
||
944 | |||
945 | config BUSYBOX_CONFIG_FEATURE_TFTP_PROGRESS_BAR |
||
946 | bool "Enable progress bar" |
||
947 | default BUSYBOX_DEFAULT_FEATURE_TFTP_PROGRESS_BAR |
||
948 | depends on BUSYBOX_CONFIG_TFTP && BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE |
||
949 | |||
950 | config BUSYBOX_CONFIG_TFTP_DEBUG |
||
951 | bool "Enable debug" |
||
952 | default BUSYBOX_DEFAULT_TFTP_DEBUG |
||
953 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
||
954 | help |
||
955 | Make tftp[d] print debugging messages on stderr. |
||
956 | This is useful if you are diagnosing a bug in tftp[d]. |
||
957 | config BUSYBOX_CONFIG_TLS |
||
958 | bool #No description makes it a hidden option |
||
959 | default BUSYBOX_DEFAULT_TLS |
||
960 | config BUSYBOX_CONFIG_TRACEROUTE |
||
961 | bool "traceroute" |
||
962 | default BUSYBOX_DEFAULT_TRACEROUTE |
||
963 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
964 | help |
||
965 | Utility to trace the route of IP packets. |
||
966 | |||
967 | config BUSYBOX_CONFIG_TRACEROUTE6 |
||
968 | bool "traceroute6" |
||
969 | default BUSYBOX_DEFAULT_TRACEROUTE6 |
||
970 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
||
971 | help |
||
972 | Utility to trace the route of IPv6 packets. |
||
973 | |||
974 | config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE |
||
975 | bool "Enable verbose output" |
||
976 | default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_VERBOSE |
||
977 | depends on BUSYBOX_CONFIG_TRACEROUTE || BUSYBOX_CONFIG_TRACEROUTE6 |
||
978 | help |
||
979 | Add some verbosity to traceroute. This includes among other things |
||
980 | hostnames and ICMP response types. |
||
981 | |||
982 | config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP |
||
983 | bool "Enable -I option (use ICMP instead of UDP)" |
||
984 | default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_USE_ICMP |
||
985 | depends on BUSYBOX_CONFIG_TRACEROUTE || BUSYBOX_CONFIG_TRACEROUTE6 |
||
986 | config BUSYBOX_CONFIG_TUNCTL |
||
987 | bool "tunctl" |
||
988 | default BUSYBOX_DEFAULT_TUNCTL |
||
989 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
990 | help |
||
991 | tunctl creates or deletes tun devices. |
||
992 | |||
993 | config BUSYBOX_CONFIG_FEATURE_TUNCTL_UG |
||
994 | bool "Support owner:group assignment" |
||
995 | default BUSYBOX_DEFAULT_FEATURE_TUNCTL_UG |
||
996 | depends on BUSYBOX_CONFIG_TUNCTL |
||
997 | help |
||
998 | Allow to specify owner and group of newly created interface. |
||
999 | 340 bytes of pure bloat. Say no here. |
||
1000 | config BUSYBOX_CONFIG_VCONFIG |
||
1001 | bool "vconfig" |
||
1002 | default BUSYBOX_DEFAULT_VCONFIG |
||
1003 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
1004 | help |
||
1005 | Creates, removes, and configures VLAN interfaces |
||
1006 | config BUSYBOX_CONFIG_WGET |
||
1007 | bool "wget" |
||
1008 | default BUSYBOX_DEFAULT_WGET |
||
1009 | help |
||
1010 | wget is a utility for non-interactive download of files from HTTP |
||
1011 | and FTP servers. |
||
1012 | |||
1013 | config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS |
||
1014 | bool "Enable long options" |
||
1015 | default BUSYBOX_DEFAULT_FEATURE_WGET_LONG_OPTIONS |
||
1016 | depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_LONG_OPTS |
||
1017 | |||
1018 | config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR |
||
1019 | bool "Enable progress bar (+2k)" |
||
1020 | default BUSYBOX_DEFAULT_FEATURE_WGET_STATUSBAR |
||
1021 | depends on BUSYBOX_CONFIG_WGET |
||
1022 | |||
1023 | config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION |
||
1024 | bool "Enable HTTP authentication" |
||
1025 | default BUSYBOX_DEFAULT_FEATURE_WGET_AUTHENTICATION |
||
1026 | depends on BUSYBOX_CONFIG_WGET |
||
1027 | help |
||
1028 | Support authenticated HTTP transfers. |
||
1029 | |||
1030 | config BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT |
||
1031 | bool "Enable timeout option -T SEC" |
||
1032 | default BUSYBOX_DEFAULT_FEATURE_WGET_TIMEOUT |
||
1033 | depends on BUSYBOX_CONFIG_WGET |
||
1034 | help |
||
1035 | Supports network read and connect timeouts for wget, |
||
1036 | so that wget will give up and timeout, through the -T |
||
1037 | command line option. |
||
1038 | |||
1039 | Currently only connect and network data read timeout are |
||
1040 | supported (i.e., timeout is not applied to the DNS query). When |
||
1041 | FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option |
||
1042 | will work in addition to -T. |
||
1043 | |||
1044 | config BUSYBOX_CONFIG_FEATURE_WGET_HTTPS |
||
1045 | bool "Support HTTPS using internal TLS code" |
||
1046 | default BUSYBOX_DEFAULT_FEATURE_WGET_HTTPS |
||
1047 | depends on BUSYBOX_CONFIG_WGET |
||
1048 | select BUSYBOX_CONFIG_TLS |
||
1049 | help |
||
1050 | wget will use internal TLS code to connect to https:// URLs. |
||
1051 | Note: |
||
1052 | On NOMMU machines, ssl_helper applet should be available |
||
1053 | in the $PATH for this to work. Make sure to select that applet. |
||
1054 | |||
1055 | Note: currently, TLS code only makes TLS I/O work, it |
||
1056 | does *not* check that the peer is who it claims to be, etc. |
||
1057 | IOW: it uses peer-supplied public keys to establish encryption |
||
1058 | and signing keys, then encrypts and signs outgoing data and |
||
1059 | decrypts incoming data. |
||
1060 | It does not check signature hashes on the incoming data: |
||
1061 | this means that attackers manipulating TCP packets can |
||
1062 | send altered data and we unknowingly receive garbage. |
||
1063 | (This check might be relatively easy to add). |
||
1064 | It does not check public key's certificate: |
||
1065 | this means that the peer may be an attacker impersonating |
||
1066 | the server we think we are talking to. |
||
1067 | |||
1068 | If you think this is unacceptable, consider this. As more and more |
||
1069 | servers switch to HTTPS-only operation, without such "crippled" |
||
1070 | TLS code it is *impossible* to simply download a kernel source |
||
1071 | from kernel.org. Which can in real world translate into |
||
1072 | "my small automatic tooling to build cross-compilers from sources |
||
1073 | no longer works, I need to additionally keep a local copy |
||
1074 | of ~4 megabyte source tarball of a SSL library and ~2 megabyte |
||
1075 | source of wget, need to compile and built both before I can |
||
1076 | download anything. All this despite the fact that the build |
||
1077 | is done in a QEMU sandbox on a machine with absolutely nothing |
||
1078 | worth stealing, so I don't care if someone would go to a lot |
||
1079 | of trouble to intercept my HTTPS download to send me an altered |
||
1080 | kernel tarball". |
||
1081 | |||
1082 | If you still think this is unacceptable, send patches. |
||
1083 | |||
1084 | If you still think this is unacceptable, do not want to send |
||
1085 | patches, but do want to waste bandwidth expaining how wrong |
||
1086 | it is, you will be ignored. |
||
1087 | |||
1088 | config BUSYBOX_CONFIG_FEATURE_WGET_OPENSSL |
||
1089 | bool "Try to connect to HTTPS using openssl" |
||
1090 | default BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL |
||
1091 | depends on BUSYBOX_CONFIG_WGET |
||
1092 | help |
||
1093 | Try to use openssl to handle HTTPS. |
||
1094 | |||
1095 | OpenSSL has a simple SSL client for debug purposes. |
||
1096 | If you select this option, wget will effectively run: |
||
1097 | "openssl s_client -quiet -connect hostname:443 |
||
1098 | -servername hostname 2>/dev/null" and pipe its data |
||
1099 | through it. -servername is not used if hostname is numeric. |
||
1100 | Note inconvenient API: host resolution is done twice, |
||
1101 | and there is no guarantee openssl's idea of IPv6 address |
||
1102 | format is the same as ours. |
||
1103 | Another problem is that s_client prints debug information |
||
1104 | to stderr, and it needs to be suppressed. This means |
||
1105 | all error messages get suppressed too. |
||
1106 | openssl is also a big binary, often dynamically linked |
||
1107 | against ~15 libraries. |
||
1108 | |||
1109 | If openssl can't be executed, internal TLS code will be used |
||
1110 | (if you enabled it); if openssl can be executed but fails later, |
||
1111 | wget can't detect this, and download will fail. |
||
1112 | config BUSYBOX_CONFIG_WHOIS |
||
1113 | bool "whois" |
||
1114 | default BUSYBOX_DEFAULT_WHOIS |
||
1115 | help |
||
1116 | whois is a client for the whois directory service |
||
1117 | config BUSYBOX_CONFIG_ZCIP |
||
1118 | bool "zcip" |
||
1119 | default BUSYBOX_DEFAULT_ZCIP |
||
1120 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
||
1121 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
||
1122 | help |
||
1123 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
||
1124 | It's a daemon that allocates and defends a dynamically assigned |
||
1125 | address on the 169.254/16 network, requiring no system administrator. |
||
1126 | |||
1127 | See http://www.zeroconf.org for further details, and "zcip.script" |
||
1128 | in the busybox examples. |
||
1129 | |||
1130 | source udhcp/Config.in |
||
1131 | |||
1132 | config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS |
||
1133 | string "ifup udhcpc command line options" |
||
1134 | default BUSYBOX_DEFAULT_IFUPDOWN_UDHCPC_CMD_OPTIONS |
||
1135 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
||
1136 | help |
||
1137 | Command line options to pass to udhcpc from ifup. |
||
1138 | Intended to alter options not available in /etc/network/interfaces. |
||
1139 | (IE: --syslog --background etc...) |
||
1140 | |||
1141 | endmenu |