1 | #
|
---|
2 | # For a description of the syntax of this configuration file,
|
---|
3 | # see scripts/kbuild/config-language.txt.
|
---|
4 | #
|
---|
5 |
|
---|
6 | menu "Networking Utilities"
|
---|
7 |
|
---|
8 | INSERT
|
---|
9 |
|
---|
10 | config FEATURE_IPV6
|
---|
11 | bool "Enable IPv6 support"
|
---|
12 | default y
|
---|
13 | help
|
---|
14 | Enable IPv6 support in busybox.
|
---|
15 | This adds IPv6 support in the networking applets.
|
---|
16 |
|
---|
17 | config FEATURE_UNIX_LOCAL
|
---|
18 | bool "Enable Unix domain socket support (usually not needed)"
|
---|
19 | default n
|
---|
20 | help
|
---|
21 | Enable Unix domain socket support in all busybox networking
|
---|
22 | applets. Address of the form local:/path/to/unix/socket
|
---|
23 | will be recognized.
|
---|
24 |
|
---|
25 | This extension is almost never used in real world usage.
|
---|
26 | You most likely want to say N.
|
---|
27 |
|
---|
28 | config FEATURE_PREFER_IPV4_ADDRESS
|
---|
29 | bool "Prefer IPv4 addresses from DNS queries"
|
---|
30 | default y
|
---|
31 | depends on FEATURE_IPV6
|
---|
32 | help
|
---|
33 | Use IPv4 address of network host if it has one.
|
---|
34 |
|
---|
35 | If this option is off, the first returned address will be used.
|
---|
36 | This may cause problems when your DNS server is IPv6-capable and
|
---|
37 | is returning IPv6 host addresses too. If IPv6 address
|
---|
38 | precedes IPv4 one in DNS reply, busybox network applets
|
---|
39 | (e.g. wget) will use IPv6 address. On an IPv6-incapable host
|
---|
40 | or network applets will fail to connect to the host
|
---|
41 | using IPv6 address.
|
---|
42 |
|
---|
43 | config VERBOSE_RESOLUTION_ERRORS
|
---|
44 | bool "Verbose resolution errors"
|
---|
45 | default n
|
---|
46 | help
|
---|
47 | Enable if you are not satisfied with simplistic
|
---|
48 | "can't resolve 'hostname.com'" and want to know more.
|
---|
49 | This may increase size of your executable a bit.
|
---|
50 |
|
---|
51 | config ARP
|
---|
52 | bool "arp"
|
---|
53 | default y
|
---|
54 | depends on PLATFORM_LINUX
|
---|
55 | help
|
---|
56 | Manipulate the system ARP cache.
|
---|
57 |
|
---|
58 | config ARPING
|
---|
59 | bool "arping"
|
---|
60 | default y
|
---|
61 | depends on PLATFORM_LINUX
|
---|
62 | help
|
---|
63 | Ping hosts by ARP packets.
|
---|
64 |
|
---|
65 | config BRCTL
|
---|
66 | bool "brctl"
|
---|
67 | default y
|
---|
68 | depends on PLATFORM_LINUX
|
---|
69 | help
|
---|
70 | Manage ethernet bridges.
|
---|
71 | Supports addbr/delbr and addif/delif.
|
---|
72 |
|
---|
73 | config FEATURE_BRCTL_FANCY
|
---|
74 | bool "Fancy options"
|
---|
75 | default y
|
---|
76 | depends on BRCTL
|
---|
77 | help
|
---|
78 | Add support for extended option like:
|
---|
79 | setageing, setfd, sethello, setmaxage,
|
---|
80 | setpathcost, setportprio, setbridgeprio,
|
---|
81 | stp
|
---|
82 | This adds about 600 bytes.
|
---|
83 |
|
---|
84 | config FEATURE_BRCTL_SHOW
|
---|
85 | bool "Support show, showmac and showstp"
|
---|
86 | default y
|
---|
87 | depends on BRCTL && FEATURE_BRCTL_FANCY
|
---|
88 | help
|
---|
89 | Add support for option which prints the current config:
|
---|
90 | showmacs, showstp, show
|
---|
91 |
|
---|
92 | config DNSD
|
---|
93 | bool "dnsd"
|
---|
94 | default y
|
---|
95 | help
|
---|
96 | Small and static DNS server daemon.
|
---|
97 |
|
---|
98 | config ETHER_WAKE
|
---|
99 | bool "ether-wake"
|
---|
100 | default y
|
---|
101 | depends on PLATFORM_LINUX
|
---|
102 | help
|
---|
103 | Send a magic packet to wake up sleeping machines.
|
---|
104 |
|
---|
105 | config FAKEIDENTD
|
---|
106 | bool "fakeidentd"
|
---|
107 | default y
|
---|
108 | select FEATURE_SYSLOG
|
---|
109 | help
|
---|
110 | fakeidentd listens on the ident port and returns a predefined
|
---|
111 | fake value on any query.
|
---|
112 |
|
---|
113 | config FTPD
|
---|
114 | bool "ftpd"
|
---|
115 | default y
|
---|
116 | help
|
---|
117 | simple FTP daemon. You have to run it via inetd.
|
---|
118 |
|
---|
119 | config FEATURE_FTP_WRITE
|
---|
120 | bool "Enable upload commands"
|
---|
121 | default y
|
---|
122 | depends on FTPD
|
---|
123 | help
|
---|
124 | Enable all kinds of FTP upload commands (-w option)
|
---|
125 |
|
---|
126 | config FEATURE_FTPD_ACCEPT_BROKEN_LIST
|
---|
127 | bool "Enable workaround for RFC-violating clients"
|
---|
128 | default y
|
---|
129 | depends on FTPD
|
---|
130 | help
|
---|
131 | Some ftp clients (among them KDE's Konqueror) issue illegal
|
---|
132 | "LIST -l" requests. This option works around such problems.
|
---|
133 | It might prevent you from listing files starting with "-" and
|
---|
134 | it increases the code size by ~40 bytes.
|
---|
135 | Most other ftp servers seem to behave similar to this.
|
---|
136 |
|
---|
137 | config FTPGET
|
---|
138 | bool "ftpget"
|
---|
139 | default y
|
---|
140 | help
|
---|
141 | Retrieve a remote file via FTP.
|
---|
142 |
|
---|
143 | config FTPPUT
|
---|
144 | bool "ftpput"
|
---|
145 | default y
|
---|
146 | help
|
---|
147 | Store a remote file via FTP.
|
---|
148 |
|
---|
149 | config FEATURE_FTPGETPUT_LONG_OPTIONS
|
---|
150 | bool "Enable long options in ftpget/ftpput"
|
---|
151 | default y
|
---|
152 | depends on LONG_OPTS && (FTPGET || FTPPUT)
|
---|
153 | help
|
---|
154 | Support long options for the ftpget/ftpput applet.
|
---|
155 |
|
---|
156 | config HOSTNAME
|
---|
157 | bool "hostname"
|
---|
158 | default y
|
---|
159 | help
|
---|
160 | Show or set the system's host name.
|
---|
161 |
|
---|
162 | config HTTPD
|
---|
163 | bool "httpd"
|
---|
164 | default y
|
---|
165 | help
|
---|
166 | Serve web pages via an HTTP server.
|
---|
167 |
|
---|
168 | config FEATURE_HTTPD_RANGES
|
---|
169 | bool "Support 'Ranges:' header"
|
---|
170 | default y
|
---|
171 | depends on HTTPD
|
---|
172 | help
|
---|
173 | Makes httpd emit "Accept-Ranges: bytes" header and understand
|
---|
174 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
|
---|
175 | downloads, seeking in multimedia players etc.
|
---|
176 |
|
---|
177 | config FEATURE_HTTPD_USE_SENDFILE
|
---|
178 | bool "Use sendfile system call"
|
---|
179 | default y
|
---|
180 | depends on HTTPD
|
---|
181 | help
|
---|
182 | When enabled, httpd will use the kernel sendfile() function
|
---|
183 | instead of read/write loop.
|
---|
184 |
|
---|
185 | config FEATURE_HTTPD_SETUID
|
---|
186 | bool "Enable -u <user> option"
|
---|
187 | default y
|
---|
188 | depends on HTTPD
|
---|
189 | help
|
---|
190 | This option allows the server to run as a specific user
|
---|
191 | rather than defaulting to the user that starts the server.
|
---|
192 | Use of this option requires special privileges to change to a
|
---|
193 | different user.
|
---|
194 |
|
---|
195 | config FEATURE_HTTPD_BASIC_AUTH
|
---|
196 | bool "Enable Basic http Authentication"
|
---|
197 | default y
|
---|
198 | depends on HTTPD
|
---|
199 | help
|
---|
200 | Utilizes password settings from /etc/httpd.conf for basic
|
---|
201 | authentication on a per url basis.
|
---|
202 |
|
---|
203 | config FEATURE_HTTPD_AUTH_MD5
|
---|
204 | bool "Support MD5 crypted passwords for http Authentication"
|
---|
205 | default y
|
---|
206 | depends on FEATURE_HTTPD_BASIC_AUTH
|
---|
207 | help
|
---|
208 | Enables basic per URL authentication from /etc/httpd.conf
|
---|
209 | using md5 passwords.
|
---|
210 |
|
---|
211 | config FEATURE_HTTPD_CGI
|
---|
212 | bool "Support Common Gateway Interface (CGI)"
|
---|
213 | default y
|
---|
214 | depends on HTTPD
|
---|
215 | help
|
---|
216 | This option allows scripts and executables to be invoked
|
---|
217 | when specific URLs are requested.
|
---|
218 |
|
---|
219 | config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
|
---|
220 | bool "Support for running scripts through an interpreter"
|
---|
221 | default y
|
---|
222 | depends on FEATURE_HTTPD_CGI
|
---|
223 | help
|
---|
224 | This option enables support for running scripts through an
|
---|
225 | interpreter. Turn this on if you want PHP scripts to work
|
---|
226 | properly. You need to supply an additional line in your httpd
|
---|
227 | config file:
|
---|
228 | *.php:/path/to/your/php
|
---|
229 |
|
---|
230 | config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
|
---|
231 | bool "Set REMOTE_PORT environment variable for CGI"
|
---|
232 | default y
|
---|
233 | depends on FEATURE_HTTPD_CGI
|
---|
234 | help
|
---|
235 | Use of this option can assist scripts in generating
|
---|
236 | references that contain a unique port number.
|
---|
237 |
|
---|
238 | config FEATURE_HTTPD_ENCODE_URL_STR
|
---|
239 | bool "Enable -e option (useful for CGIs written as shell scripts)"
|
---|
240 | default y
|
---|
241 | depends on HTTPD
|
---|
242 | help
|
---|
243 | This option allows html encoding of arbitrary strings for display
|
---|
244 | by the browser. Output goes to stdout.
|
---|
245 | For example, httpd -e "<Hello World>" produces
|
---|
246 | "<Hello World>".
|
---|
247 |
|
---|
248 | config FEATURE_HTTPD_ERROR_PAGES
|
---|
249 | bool "Support for custom error pages"
|
---|
250 | default y
|
---|
251 | depends on HTTPD
|
---|
252 | help
|
---|
253 | This option allows you to define custom error pages in
|
---|
254 | the configuration file instead of the default HTTP status
|
---|
255 | error pages. For instance, if you add the line:
|
---|
256 | E404:/path/e404.html
|
---|
257 | in the config file, the server will respond the specified
|
---|
258 | '/path/e404.html' file instead of the terse '404 NOT FOUND'
|
---|
259 | message.
|
---|
260 |
|
---|
261 | config FEATURE_HTTPD_PROXY
|
---|
262 | bool "Support for reverse proxy"
|
---|
263 | default y
|
---|
264 | depends on HTTPD
|
---|
265 | help
|
---|
266 | This option allows you to define URLs that will be forwarded
|
---|
267 | to another HTTP server. To setup add the following line to the
|
---|
268 | configuration file
|
---|
269 | P:/url/:http://hostname[:port]/new/path/
|
---|
270 | Then a request to /url/myfile will be forwarded to
|
---|
271 | http://hostname[:port]/new/path/myfile.
|
---|
272 |
|
---|
273 | config FEATURE_HTTPD_GZIP
|
---|
274 | bool "Support for GZIP content encoding"
|
---|
275 | default y
|
---|
276 | depends on HTTPD
|
---|
277 | help
|
---|
278 | Makes httpd send files using GZIP content encoding if the
|
---|
279 | client supports it and a pre-compressed <file>.gz exists.
|
---|
280 |
|
---|
281 | config IFCONFIG
|
---|
282 | bool "ifconfig"
|
---|
283 | default y
|
---|
284 | depends on PLATFORM_LINUX
|
---|
285 | help
|
---|
286 | Ifconfig is used to configure the kernel-resident network interfaces.
|
---|
287 |
|
---|
288 | config FEATURE_IFCONFIG_STATUS
|
---|
289 | bool "Enable status reporting output (+7k)"
|
---|
290 | default y
|
---|
291 | depends on IFCONFIG
|
---|
292 | help
|
---|
293 | If ifconfig is called with no arguments it will display the status
|
---|
294 | of the currently active interfaces.
|
---|
295 |
|
---|
296 | config FEATURE_IFCONFIG_SLIP
|
---|
297 | bool "Enable slip-specific options \"keepalive\" and \"outfill\""
|
---|
298 | default y
|
---|
299 | depends on IFCONFIG
|
---|
300 | help
|
---|
301 | Allow "keepalive" and "outfill" support for SLIP. If you're not
|
---|
302 | planning on using serial lines, leave this unchecked.
|
---|
303 |
|
---|
304 | config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
|
---|
305 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
|
---|
306 | default y
|
---|
307 | depends on IFCONFIG
|
---|
308 | help
|
---|
309 | Allow the start address for shared memory, start address for I/O,
|
---|
310 | and/or the interrupt line used by the specified device.
|
---|
311 |
|
---|
312 | config FEATURE_IFCONFIG_HW
|
---|
313 | bool "Enable option \"hw\" (ether only)"
|
---|
314 | default y
|
---|
315 | depends on IFCONFIG
|
---|
316 | help
|
---|
317 | Set the hardware address of this interface, if the device driver
|
---|
318 | supports this operation. Currently, we only support the 'ether'
|
---|
319 | class.
|
---|
320 |
|
---|
321 | config FEATURE_IFCONFIG_BROADCAST_PLUS
|
---|
322 | bool "Set the broadcast automatically"
|
---|
323 | default y
|
---|
324 | depends on IFCONFIG
|
---|
325 | help
|
---|
326 | Setting this will make ifconfig attempt to find the broadcast
|
---|
327 | automatically if the value '+' is used.
|
---|
328 |
|
---|
329 | config IFENSLAVE
|
---|
330 | bool "ifenslave"
|
---|
331 | default y
|
---|
332 | depends on PLATFORM_LINUX
|
---|
333 | help
|
---|
334 | Userspace application to bind several interfaces
|
---|
335 | to a logical interface (use with kernel bonding driver).
|
---|
336 |
|
---|
337 | config IFPLUGD
|
---|
338 | bool "ifplugd"
|
---|
339 | default y
|
---|
340 | depends on PLATFORM_LINUX
|
---|
341 | help
|
---|
342 | Network interface plug detection daemon.
|
---|
343 |
|
---|
344 | config IFUPDOWN
|
---|
345 | bool "ifupdown"
|
---|
346 | default y
|
---|
347 | help
|
---|
348 | Activate or deactivate the specified interfaces. This applet makes
|
---|
349 | use of either "ifconfig" and "route" or the "ip" command to actually
|
---|
350 | configure network interfaces. Therefore, you will probably also want
|
---|
351 | to enable either IFCONFIG and ROUTE, or enable
|
---|
352 | FEATURE_IFUPDOWN_IP and the various IP options. Of
|
---|
353 | course you could use non-busybox versions of these programs, so
|
---|
354 | against my better judgement (since this will surely result in plenty
|
---|
355 | of support questions on the mailing list), I do not force you to
|
---|
356 | enable these additional options. It is up to you to supply either
|
---|
357 | "ifconfig", "route" and "run-parts" or the "ip" command, either
|
---|
358 | via busybox or via standalone utilities.
|
---|
359 |
|
---|
360 | config IFUPDOWN_IFSTATE_PATH
|
---|
361 | string "Absolute path to ifstate file"
|
---|
362 | default "/var/run/ifstate"
|
---|
363 | depends on IFUPDOWN
|
---|
364 | help
|
---|
365 | ifupdown keeps state information in a file called ifstate.
|
---|
366 | Typically it is located in /var/run/ifstate, however
|
---|
367 | some distributions tend to put it in other places
|
---|
368 | (debian, for example, uses /etc/network/run/ifstate).
|
---|
369 | This config option defines location of ifstate.
|
---|
370 |
|
---|
371 | config FEATURE_IFUPDOWN_IP
|
---|
372 | bool "Use ip applet"
|
---|
373 | default y
|
---|
374 | depends on IFUPDOWN
|
---|
375 | help
|
---|
376 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather
|
---|
377 | than the default of using the older 'ifconfig' and 'route' utilities.
|
---|
378 |
|
---|
379 | config FEATURE_IFUPDOWN_IP_BUILTIN
|
---|
380 | bool "Use busybox ip applet"
|
---|
381 | default y
|
---|
382 | depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX
|
---|
383 | select IP
|
---|
384 | select FEATURE_IP_ADDRESS
|
---|
385 | select FEATURE_IP_LINK
|
---|
386 | select FEATURE_IP_ROUTE
|
---|
387 | help
|
---|
388 | Use the busybox iproute "ip" applet to implement "ifupdown".
|
---|
389 |
|
---|
390 | If left disabled, you must install the full-blown iproute2
|
---|
391 | utility or the "ifup" and "ifdown" applets will not work.
|
---|
392 |
|
---|
393 | config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
|
---|
394 | bool "Use busybox ifconfig and route applets"
|
---|
395 | default n
|
---|
396 | depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
|
---|
397 | select IFCONFIG
|
---|
398 | select ROUTE
|
---|
399 | help
|
---|
400 | Use the busybox iproute "ifconfig" and "route" applets to
|
---|
401 | implement the "ifup" and "ifdown" utilities.
|
---|
402 |
|
---|
403 | If left disabled, you must install the full-blown ifconfig
|
---|
404 | and route utilities, or the "ifup" and "ifdown" applets will not
|
---|
405 | work.
|
---|
406 |
|
---|
407 | config FEATURE_IFUPDOWN_IPV4
|
---|
408 | bool "Support for IPv4"
|
---|
409 | default y
|
---|
410 | depends on IFUPDOWN
|
---|
411 | help
|
---|
412 | If you want ifup/ifdown to talk IPv4, leave this on.
|
---|
413 |
|
---|
414 | config FEATURE_IFUPDOWN_IPV6
|
---|
415 | bool "Support for IPv6"
|
---|
416 | default y
|
---|
417 | depends on IFUPDOWN && FEATURE_IPV6
|
---|
418 | help
|
---|
419 | If you need support for IPv6, turn this option on.
|
---|
420 |
|
---|
421 | ### UNUSED
|
---|
422 | ###config FEATURE_IFUPDOWN_IPX
|
---|
423 | ### bool "Support for IPX"
|
---|
424 | ### default y
|
---|
425 | ### depends on IFUPDOWN
|
---|
426 | ### help
|
---|
427 | ### If this option is selected you can use busybox to work with IPX
|
---|
428 | ### networks.
|
---|
429 |
|
---|
430 | config FEATURE_IFUPDOWN_MAPPING
|
---|
431 | bool "Enable mapping support"
|
---|
432 | default y
|
---|
433 | depends on IFUPDOWN
|
---|
434 | help
|
---|
435 | This enables support for the "mapping" stanza, unless you have
|
---|
436 | a weird network setup you don't need it.
|
---|
437 |
|
---|
438 | config FEATURE_IFUPDOWN_EXTERNAL_DHCP
|
---|
439 | bool "Support for external dhcp clients"
|
---|
440 | default n
|
---|
441 | depends on IFUPDOWN
|
---|
442 | help
|
---|
443 | This enables support for the external dhcp clients. Clients are
|
---|
444 | tried in the following order: dhcpcd, dhclient, pump and udhcpc.
|
---|
445 | Otherwise, if udhcpc applet is enabled, it is used.
|
---|
446 | Otherwise, ifup/ifdown will have no support for DHCP.
|
---|
447 |
|
---|
448 | config INETD
|
---|
449 | bool "inetd"
|
---|
450 | default y
|
---|
451 | select FEATURE_SYSLOG
|
---|
452 | help
|
---|
453 | Internet superserver daemon
|
---|
454 |
|
---|
455 | config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
|
---|
456 | bool "Support echo service"
|
---|
457 | default y
|
---|
458 | depends on INETD
|
---|
459 | help
|
---|
460 | Echo received data internal inetd service
|
---|
461 |
|
---|
462 | config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
|
---|
463 | bool "Support discard service"
|
---|
464 | default y
|
---|
465 | depends on INETD
|
---|
466 | help
|
---|
467 | Internet /dev/null internal inetd service
|
---|
468 |
|
---|
469 | config FEATURE_INETD_SUPPORT_BUILTIN_TIME
|
---|
470 | bool "Support time service"
|
---|
471 | default y
|
---|
472 | depends on INETD
|
---|
473 | help
|
---|
474 | Return 32 bit time since 1900 internal inetd service
|
---|
475 |
|
---|
476 | config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
|
---|
477 | bool "Support daytime service"
|
---|
478 | default y
|
---|
479 | depends on INETD
|
---|
480 | help
|
---|
481 | Return human-readable time internal inetd service
|
---|
482 |
|
---|
483 | config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
|
---|
484 | bool "Support chargen service"
|
---|
485 | default y
|
---|
486 | depends on INETD
|
---|
487 | help
|
---|
488 | Familiar character generator internal inetd service
|
---|
489 |
|
---|
490 | config FEATURE_INETD_RPC
|
---|
491 | bool "Support RPC services"
|
---|
492 | default y
|
---|
493 | depends on INETD
|
---|
494 | select FEATURE_HAVE_RPC
|
---|
495 | help
|
---|
496 | Support Sun-RPC based services
|
---|
497 |
|
---|
498 | config IP
|
---|
499 | bool "ip"
|
---|
500 | default y
|
---|
501 | depends on PLATFORM_LINUX
|
---|
502 | help
|
---|
503 | The "ip" applet is a TCP/IP interface configuration and routing
|
---|
504 | utility. You generally don't need "ip" to use busybox with
|
---|
505 | TCP/IP.
|
---|
506 |
|
---|
507 | config FEATURE_IP_ADDRESS
|
---|
508 | bool "ip address"
|
---|
509 | default y
|
---|
510 | depends on IP
|
---|
511 | help
|
---|
512 | Address manipulation support for the "ip" applet.
|
---|
513 |
|
---|
514 | config FEATURE_IP_LINK
|
---|
515 | bool "ip link"
|
---|
516 | default y
|
---|
517 | depends on IP
|
---|
518 | help
|
---|
519 | Configure network devices with "ip".
|
---|
520 |
|
---|
521 | config FEATURE_IP_ROUTE
|
---|
522 | bool "ip route"
|
---|
523 | default y
|
---|
524 | depends on IP
|
---|
525 | help
|
---|
526 | Add support for routing table management to "ip".
|
---|
527 |
|
---|
528 | config FEATURE_IP_TUNNEL
|
---|
529 | bool "ip tunnel"
|
---|
530 | default y
|
---|
531 | depends on IP
|
---|
532 | help
|
---|
533 | Add support for tunneling commands to "ip".
|
---|
534 |
|
---|
535 | config FEATURE_IP_RULE
|
---|
536 | bool "ip rule"
|
---|
537 | default y
|
---|
538 | depends on IP
|
---|
539 | help
|
---|
540 | Add support for rule commands to "ip".
|
---|
541 |
|
---|
542 | config FEATURE_IP_SHORT_FORMS
|
---|
543 | bool "Support short forms of ip commands"
|
---|
544 | default y
|
---|
545 | depends on IP
|
---|
546 | help
|
---|
547 | Also support short-form of ip <OBJECT> commands:
|
---|
548 | ip addr -> ipaddr
|
---|
549 | ip link -> iplink
|
---|
550 | ip route -> iproute
|
---|
551 | ip tunnel -> iptunnel
|
---|
552 | ip rule -> iprule
|
---|
553 |
|
---|
554 | Say N unless you desparately need the short form of the ip
|
---|
555 | object commands.
|
---|
556 |
|
---|
557 | config FEATURE_IP_RARE_PROTOCOLS
|
---|
558 | bool "Support displaying rarely used link types"
|
---|
559 | default n
|
---|
560 | depends on IP
|
---|
561 | help
|
---|
562 | If you are not going to use links of type "frad", "econet",
|
---|
563 | "bif" etc, you probably don't need to enable this.
|
---|
564 | Ethernet, wireless, infrared, ppp/slip, ip tunnelling
|
---|
565 | link types are supported without this option selected.
|
---|
566 |
|
---|
567 | config IPADDR
|
---|
568 | bool
|
---|
569 | default y
|
---|
570 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
|
---|
571 |
|
---|
572 | config IPLINK
|
---|
573 | bool
|
---|
574 | default y
|
---|
575 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
|
---|
576 |
|
---|
577 | config IPROUTE
|
---|
578 | bool
|
---|
579 | default y
|
---|
580 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
|
---|
581 |
|
---|
582 | config IPTUNNEL
|
---|
583 | bool
|
---|
584 | default y
|
---|
585 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
|
---|
586 |
|
---|
587 | config IPRULE
|
---|
588 | bool
|
---|
589 | default y
|
---|
590 | depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
|
---|
591 |
|
---|
592 | config IPCALC
|
---|
593 | bool "ipcalc"
|
---|
594 | default y
|
---|
595 | help
|
---|
596 | ipcalc takes an IP address and netmask and calculates the
|
---|
597 | resulting broadcast, network, and host range.
|
---|
598 |
|
---|
599 | config FEATURE_IPCALC_FANCY
|
---|
600 | bool "Fancy IPCALC, more options, adds 1 kbyte"
|
---|
601 | default y
|
---|
602 | depends on IPCALC
|
---|
603 | help
|
---|
604 | Adds the options hostname, prefix and silent to the output of
|
---|
605 | "ipcalc".
|
---|
606 |
|
---|
607 | config FEATURE_IPCALC_LONG_OPTIONS
|
---|
608 | bool "Enable long options"
|
---|
609 | default y
|
---|
610 | depends on IPCALC && LONG_OPTS
|
---|
611 | help
|
---|
612 | Support long options for the ipcalc applet.
|
---|
613 |
|
---|
614 | config NAMEIF
|
---|
615 | bool "nameif"
|
---|
616 | default y
|
---|
617 | depends on PLATFORM_LINUX
|
---|
618 | select FEATURE_SYSLOG
|
---|
619 | help
|
---|
620 | nameif is used to rename network interface by its MAC address.
|
---|
621 | Renamed interfaces MUST be in the down state.
|
---|
622 | It is possible to use a file (default: /etc/mactab)
|
---|
623 | with list of new interface names and MACs.
|
---|
624 | Maximum interface name length: IFNAMSIZ = 16
|
---|
625 | File fields are separated by space or tab.
|
---|
626 | File format:
|
---|
627 | # Comment
|
---|
628 | new_interface_name XX:XX:XX:XX:XX:XX
|
---|
629 |
|
---|
630 | config FEATURE_NAMEIF_EXTENDED
|
---|
631 | bool "Extended nameif"
|
---|
632 | default y
|
---|
633 | depends on NAMEIF
|
---|
634 | help
|
---|
635 | This extends the nameif syntax to support the bus_info and driver
|
---|
636 | checks. The syntax is compatible to the normal nameif.
|
---|
637 | File format:
|
---|
638 | new_interface_name driver=asix bus=usb-0000:00:08.2-3
|
---|
639 | new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
|
---|
640 | new_interface_name mac=00:80:C8:38:91:B5
|
---|
641 | new_interface_name 00:80:C8:38:91:B5
|
---|
642 |
|
---|
643 | config NETSTAT
|
---|
644 | bool "netstat"
|
---|
645 | default y
|
---|
646 | depends on PLATFORM_LINUX
|
---|
647 | help
|
---|
648 | netstat prints information about the Linux networking subsystem.
|
---|
649 |
|
---|
650 | config FEATURE_NETSTAT_WIDE
|
---|
651 | bool "Enable wide netstat output"
|
---|
652 | default y
|
---|
653 | depends on NETSTAT
|
---|
654 | help
|
---|
655 | Add support for wide columns. Useful when displaying IPv6 addresses
|
---|
656 | (-W option).
|
---|
657 |
|
---|
658 | config FEATURE_NETSTAT_PRG
|
---|
659 | bool "Enable PID/Program name output"
|
---|
660 | default y
|
---|
661 | depends on NETSTAT
|
---|
662 | help
|
---|
663 | Add support for -p flag to print out PID and program name.
|
---|
664 | +700 bytes of code.
|
---|
665 |
|
---|
666 | config NSLOOKUP
|
---|
667 | bool "nslookup"
|
---|
668 | default y
|
---|
669 | help
|
---|
670 | nslookup is a tool to query Internet name servers.
|
---|
671 |
|
---|
672 | config NTPD
|
---|
673 | bool "ntpd"
|
---|
674 | default y
|
---|
675 | depends on PLATFORM_LINUX
|
---|
676 | help
|
---|
677 | The NTP client/server daemon.
|
---|
678 |
|
---|
679 | config FEATURE_NTPD_SERVER
|
---|
680 | bool "Make ntpd usable as a NTP server"
|
---|
681 | default y
|
---|
682 | depends on NTPD
|
---|
683 | help
|
---|
684 | Make ntpd usable as a NTP server. If you disable this option
|
---|
685 | ntpd will be usable only as a NTP client.
|
---|
686 |
|
---|
687 | config PING
|
---|
688 | bool "ping"
|
---|
689 | default y
|
---|
690 | depends on PLATFORM_LINUX
|
---|
691 | help
|
---|
692 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
|
---|
693 | elicit an ICMP ECHO_RESPONSE from a host or gateway.
|
---|
694 |
|
---|
695 | config PING6
|
---|
696 | bool "ping6"
|
---|
697 | default y
|
---|
698 | depends on FEATURE_IPV6 && PING
|
---|
699 | help
|
---|
700 | This will give you a ping that can talk IPv6.
|
---|
701 |
|
---|
702 | config FEATURE_FANCY_PING
|
---|
703 | bool "Enable fancy ping output"
|
---|
704 | default y
|
---|
705 | depends on PING
|
---|
706 | help
|
---|
707 | Make the output from the ping applet include statistics, and at the
|
---|
708 | same time provide full support for ICMP packets.
|
---|
709 |
|
---|
710 | config PSCAN
|
---|
711 | bool "pscan"
|
---|
712 | default y
|
---|
713 | help
|
---|
714 | Simple network port scanner.
|
---|
715 |
|
---|
716 | config ROUTE
|
---|
717 | bool "route"
|
---|
718 | default y
|
---|
719 | depends on PLATFORM_LINUX
|
---|
720 | help
|
---|
721 | Route displays or manipulates the kernel's IP routing tables.
|
---|
722 |
|
---|
723 | config SLATTACH
|
---|
724 | bool "slattach"
|
---|
725 | default y
|
---|
726 | depends on PLATFORM_LINUX
|
---|
727 | help
|
---|
728 | slattach is a small utility to attach network interfaces to serial
|
---|
729 | lines.
|
---|
730 |
|
---|
731 | #config TC
|
---|
732 | # bool "tc"
|
---|
733 | # default y
|
---|
734 | # help
|
---|
735 | # show / manipulate traffic control settings
|
---|
736 | #
|
---|
737 | #config FEATURE_TC_INGRESS
|
---|
738 | # def_bool n
|
---|
739 | # depends on TC
|
---|
740 |
|
---|
741 | config TCPSVD
|
---|
742 | bool "tcpsvd"
|
---|
743 | default y
|
---|
744 | help
|
---|
745 | tcpsvd listens on a TCP port and runs a program for each new
|
---|
746 | connection.
|
---|
747 |
|
---|
748 | config TELNET
|
---|
749 | bool "telnet"
|
---|
750 | default y
|
---|
751 | help
|
---|
752 | Telnet is an interface to the TELNET protocol, but is also commonly
|
---|
753 | used to test other simple protocols.
|
---|
754 |
|
---|
755 | config FEATURE_TELNET_TTYPE
|
---|
756 | bool "Pass TERM type to remote host"
|
---|
757 | default y
|
---|
758 | depends on TELNET
|
---|
759 | help
|
---|
760 | Setting this option will forward the TERM environment variable to the
|
---|
761 | remote host you are connecting to. This is useful to make sure that
|
---|
762 | things like ANSI colors and other control sequences behave.
|
---|
763 |
|
---|
764 | config FEATURE_TELNET_AUTOLOGIN
|
---|
765 | bool "Pass USER type to remote host"
|
---|
766 | default y
|
---|
767 | depends on TELNET
|
---|
768 | help
|
---|
769 | Setting this option will forward the USER environment variable to the
|
---|
770 | remote host you are connecting to. This is useful when you need to
|
---|
771 | log into a machine without telling the username (autologin). This
|
---|
772 | option enables `-a' and `-l USER' arguments.
|
---|
773 |
|
---|
774 | config TELNETD
|
---|
775 | bool "telnetd"
|
---|
776 | default y
|
---|
777 | select FEATURE_SYSLOG
|
---|
778 | help
|
---|
779 | A daemon for the TELNET protocol, allowing you to log onto the host
|
---|
780 | running the daemon. Please keep in mind that the TELNET protocol
|
---|
781 | sends passwords in plain text. If you can't afford the space for an
|
---|
782 | SSH daemon and you trust your network, you may say 'y' here. As a
|
---|
783 | more secure alternative, you should seriously consider installing the
|
---|
784 | very small Dropbear SSH daemon instead:
|
---|
785 | http://matt.ucc.asn.au/dropbear/dropbear.html
|
---|
786 |
|
---|
787 | Note that for busybox telnetd to work you need several things:
|
---|
788 | First of all, your kernel needs:
|
---|
789 | UNIX98_PTYS=y
|
---|
790 | DEVPTS_FS=y
|
---|
791 |
|
---|
792 | Next, you need a /dev/pts directory on your root filesystem:
|
---|
793 |
|
---|
794 | $ ls -ld /dev/pts
|
---|
795 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
|
---|
796 |
|
---|
797 | Next you need the pseudo terminal master multiplexer /dev/ptmx:
|
---|
798 |
|
---|
799 | $ ls -la /dev/ptmx
|
---|
800 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
|
---|
801 |
|
---|
802 | Any /dev/ttyp[0-9]* files you may have can be removed.
|
---|
803 | Next, you need to mount the devpts filesystem on /dev/pts using:
|
---|
804 |
|
---|
805 | mount -t devpts devpts /dev/pts
|
---|
806 |
|
---|
807 | You need to be sure that busybox has LOGIN and
|
---|
808 | FEATURE_SUID enabled. And finally, you should make
|
---|
809 | certain that Busybox has been installed setuid root:
|
---|
810 |
|
---|
811 | chown root.root /bin/busybox
|
---|
812 | chmod 4755 /bin/busybox
|
---|
813 |
|
---|
814 | with all that done, telnetd _should_ work....
|
---|
815 |
|
---|
816 |
|
---|
817 | config FEATURE_TELNETD_STANDALONE
|
---|
818 | bool "Support standalone telnetd (not inetd only)"
|
---|
819 | default y
|
---|
820 | depends on TELNETD
|
---|
821 | help
|
---|
822 | Selecting this will make telnetd able to run standalone.
|
---|
823 |
|
---|
824 | config FEATURE_TELNETD_INETD_WAIT
|
---|
825 | bool "Support -w SEC option (inetd wait mode)"
|
---|
826 | default y
|
---|
827 | depends on FEATURE_TELNETD_STANDALONE
|
---|
828 | help
|
---|
829 | This option allows you to run telnetd in "inet wait" mode.
|
---|
830 | Example inetd.conf line (note "wait", not usual "nowait"):
|
---|
831 |
|
---|
832 | telnet stream tcp wait root /bin/telnetd telnetd -w10
|
---|
833 |
|
---|
834 | In this example, inetd passes _listening_ socket_ as fd 0
|
---|
835 | to telnetd when connection appears.
|
---|
836 | telnetd will wait for connections until all existing
|
---|
837 | connections are closed, and no new connections
|
---|
838 | appear during 10 seconds. Then it exits, and inetd continues
|
---|
839 | to listen for new connections.
|
---|
840 |
|
---|
841 | This option is rarely used. "tcp nowait" is much more usual
|
---|
842 | way of running tcp services, including telnetd.
|
---|
843 | You most probably want to say N here.
|
---|
844 |
|
---|
845 | config TFTP
|
---|
846 | bool "tftp"
|
---|
847 | default y
|
---|
848 | help
|
---|
849 | This enables the Trivial File Transfer Protocol client program. TFTP
|
---|
850 | is usually used for simple, small transfers such as a root image
|
---|
851 | for a network-enabled bootloader.
|
---|
852 |
|
---|
853 | config TFTPD
|
---|
854 | bool "tftpd"
|
---|
855 | default y
|
---|
856 | help
|
---|
857 | This enables the Trivial File Transfer Protocol server program.
|
---|
858 | It expects that stdin is a datagram socket and a packet
|
---|
859 | is already pending on it. It will exit after one transfer.
|
---|
860 | In other words: it should be run from inetd in nowait mode,
|
---|
861 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
|
---|
862 |
|
---|
863 | comment "Common options for tftp/tftpd"
|
---|
864 | depends on TFTP || TFTPD
|
---|
865 |
|
---|
866 | config FEATURE_TFTP_GET
|
---|
867 | bool "Enable 'tftp get' and/or tftpd upload code"
|
---|
868 | default y
|
---|
869 | depends on TFTP || TFTPD
|
---|
870 | help
|
---|
871 | Add support for the GET command within the TFTP client. This allows
|
---|
872 | a client to retrieve a file from a TFTP server.
|
---|
873 | Also enable upload support in tftpd, if tftpd is selected.
|
---|
874 |
|
---|
875 | Note: this option does _not_ make tftpd capable of download
|
---|
876 | (the usual operation people need from it)!
|
---|
877 |
|
---|
878 | config FEATURE_TFTP_PUT
|
---|
879 | bool "Enable 'tftp put' and/or tftpd download code"
|
---|
880 | default y
|
---|
881 | depends on TFTP || TFTPD
|
---|
882 | help
|
---|
883 | Add support for the PUT command within the TFTP client. This allows
|
---|
884 | a client to transfer a file to a TFTP server.
|
---|
885 | Also enable download support in tftpd, if tftpd is selected.
|
---|
886 |
|
---|
887 | config FEATURE_TFTP_BLOCKSIZE
|
---|
888 | bool "Enable 'blksize' and 'tsize' protocol options"
|
---|
889 | default y
|
---|
890 | depends on TFTP || TFTPD
|
---|
891 | help
|
---|
892 | Allow tftp to specify block size, and tftpd to understand
|
---|
893 | "blksize" and "tsize" options.
|
---|
894 |
|
---|
895 | config FEATURE_TFTP_PROGRESS_BAR
|
---|
896 | bool "Enable tftp progress meter"
|
---|
897 | default y
|
---|
898 | depends on TFTP && FEATURE_TFTP_BLOCKSIZE
|
---|
899 | help
|
---|
900 | Show progress bar.
|
---|
901 |
|
---|
902 | config TFTP_DEBUG
|
---|
903 | bool "Enable debug"
|
---|
904 | default n
|
---|
905 | depends on TFTP || TFTPD
|
---|
906 | help
|
---|
907 | Make tftp[d] print debugging messages on stderr.
|
---|
908 | This is useful if you are diagnosing a bug in tftp[d].
|
---|
909 |
|
---|
910 | config TRACEROUTE
|
---|
911 | bool "traceroute"
|
---|
912 | default y
|
---|
913 | depends on PLATFORM_LINUX
|
---|
914 | help
|
---|
915 | Utility to trace the route of IP packets.
|
---|
916 |
|
---|
917 | config TRACEROUTE6
|
---|
918 | bool "traceroute6"
|
---|
919 | default y
|
---|
920 | depends on FEATURE_IPV6 && TRACEROUTE
|
---|
921 | help
|
---|
922 | Utility to trace the route of IPv6 packets.
|
---|
923 |
|
---|
924 | config FEATURE_TRACEROUTE_VERBOSE
|
---|
925 | bool "Enable verbose output"
|
---|
926 | default y
|
---|
927 | depends on TRACEROUTE
|
---|
928 | help
|
---|
929 | Add some verbosity to traceroute. This includes among other things
|
---|
930 | hostnames and ICMP response types.
|
---|
931 |
|
---|
932 | config FEATURE_TRACEROUTE_SOURCE_ROUTE
|
---|
933 | bool "Enable loose source route"
|
---|
934 | default n
|
---|
935 | depends on TRACEROUTE
|
---|
936 | help
|
---|
937 | Add option to specify a loose source route gateway
|
---|
938 | (8 maximum).
|
---|
939 |
|
---|
940 | config FEATURE_TRACEROUTE_USE_ICMP
|
---|
941 | bool "Use ICMP instead of UDP"
|
---|
942 | default n
|
---|
943 | depends on TRACEROUTE
|
---|
944 | help
|
---|
945 | Add option -I to use ICMP ECHO instead of UDP datagrams.
|
---|
946 |
|
---|
947 | config TUNCTL
|
---|
948 | bool "tunctl"
|
---|
949 | default y
|
---|
950 | depends on PLATFORM_LINUX
|
---|
951 | help
|
---|
952 | tunctl creates or deletes tun devices.
|
---|
953 |
|
---|
954 | config FEATURE_TUNCTL_UG
|
---|
955 | bool "Support owner:group assignment"
|
---|
956 | default y
|
---|
957 | depends on TUNCTL
|
---|
958 | help
|
---|
959 | Allow to specify owner and group of newly created interface.
|
---|
960 | 340 bytes of pure bloat. Say no here.
|
---|
961 |
|
---|
962 | source networking/udhcp/Config.in
|
---|
963 |
|
---|
964 | config IFUPDOWN_UDHCPC_CMD_OPTIONS
|
---|
965 | string "ifup udhcpc command line options"
|
---|
966 | default "-R -n"
|
---|
967 | depends on IFUPDOWN && UDHCPC
|
---|
968 | help
|
---|
969 | Command line options to pass to udhcpc from ifup.
|
---|
970 | Intended to alter options not available in /etc/network/interfaces.
|
---|
971 | (IE: --syslog --background etc...)
|
---|
972 |
|
---|
973 | config UDPSVD
|
---|
974 | bool "udpsvd"
|
---|
975 | default y
|
---|
976 | help
|
---|
977 | udpsvd listens on an UDP port and runs a program for each new
|
---|
978 | connection.
|
---|
979 |
|
---|
980 | config VCONFIG
|
---|
981 | bool "vconfig"
|
---|
982 | default y
|
---|
983 | depends on PLATFORM_LINUX
|
---|
984 | help
|
---|
985 | Creates, removes, and configures VLAN interfaces
|
---|
986 |
|
---|
987 | config WGET
|
---|
988 | bool "wget"
|
---|
989 | default y
|
---|
990 | help
|
---|
991 | wget is a utility for non-interactive download of files from HTTP,
|
---|
992 | HTTPS, and FTP servers.
|
---|
993 |
|
---|
994 | config FEATURE_WGET_STATUSBAR
|
---|
995 | bool "Enable a nifty process meter (+2k)"
|
---|
996 | default y
|
---|
997 | depends on WGET
|
---|
998 | help
|
---|
999 | Enable the transfer progress bar for wget transfers.
|
---|
1000 |
|
---|
1001 | config FEATURE_WGET_AUTHENTICATION
|
---|
1002 | bool "Enable HTTP authentication"
|
---|
1003 | default y
|
---|
1004 | depends on WGET
|
---|
1005 | help
|
---|
1006 | Support authenticated HTTP transfers.
|
---|
1007 |
|
---|
1008 | config FEATURE_WGET_LONG_OPTIONS
|
---|
1009 | bool "Enable long options"
|
---|
1010 | default y
|
---|
1011 | depends on WGET && LONG_OPTS
|
---|
1012 | help
|
---|
1013 | Support long options for the wget applet.
|
---|
1014 |
|
---|
1015 | config FEATURE_WGET_TIMEOUT
|
---|
1016 | bool "Enable read timeout option -T SEC"
|
---|
1017 | default y
|
---|
1018 | depends on WGET
|
---|
1019 | help
|
---|
1020 | Supports network read timeout for wget, so that wget will give
|
---|
1021 | up and timeout when reading network data, through the -T command
|
---|
1022 | line option. Currently only network data read timeout is
|
---|
1023 | supported (i.e., timeout is not applied to the DNS nor TCP
|
---|
1024 | connection initialization). When FEATURE_WGET_LONG_OPTIONS is
|
---|
1025 | also enabled, the --timeout option will work in addition to -T.
|
---|
1026 |
|
---|
1027 | config ZCIP
|
---|
1028 | bool "zcip"
|
---|
1029 | default y
|
---|
1030 | depends on PLATFORM_LINUX
|
---|
1031 | select FEATURE_SYSLOG
|
---|
1032 | help
|
---|
1033 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
|
---|
1034 | It's a daemon that allocates and defends a dynamically assigned
|
---|
1035 | address on the 169.254/16 network, requiring no system administrator.
|
---|
1036 |
|
---|
1037 | See http://www.zeroconf.org for further details, and "zcip.script"
|
---|
1038 | in the busybox examples.
|
---|
1039 |
|
---|
1040 | endmenu
|
---|