aboutsummaryrefslogtreecommitdiff
path: root/busybox/networking/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/networking/Config.in')
-rw-r--r--busybox/networking/Config.in634
1 files changed, 634 insertions, 0 deletions
diff --git a/busybox/networking/Config.in b/busybox/networking/Config.in
new file mode 100644
index 000000000..42176f050
--- /dev/null
+++ b/busybox/networking/Config.in
@@ -0,0 +1,634 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Networking Utilities"
7
8config CONFIG_FEATURE_IPV6
9 bool "Enable IPv6 support"
10 default n
11 help
12 Enable IPv6 support to busybox. This makes applets that talk IP
13 able to work with IPv6.
14
15config CONFIG_ARPING
16 bool "arping"
17 default n
18 help
19 Ping hosts by ARP packets
20
21config CONFIG_FTPGET
22 bool "ftpget"
23 default n
24 help
25 Retrieve a remote file via FTP.
26
27config CONFIG_FTPPUT
28 bool "ftpput"
29 default n
30 help
31 Store a remote file via FTP.
32
33config CONFIG_HOSTNAME
34 bool "hostname"
35 default n
36 help
37 Show or set the system's host name
38
39config CONFIG_HTTPD
40 bool "httpd"
41 default n
42 help
43 Serve web pages via an HTTP server.
44
45config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
46 bool " Support using httpd only from inetd"
47 default n
48 depends on CONFIG_HTTPD
49 help
50 This option disables uid and port options for the httpd applet
51 but requires inetd server daemon.
52
53config CONFIG_FEATURE_HTTPD_BASIC_AUTH
54 bool " Enable Basic http Authentication"
55 default y
56 depends on CONFIG_HTTPD
57 help
58 Utilizes password settings from /etc/httpd.conf for basic
59 authentication on a per url basis.
60
61config CONFIG_FEATURE_HTTPD_AUTH_MD5
62 bool " Support MD5 crypted passwords for http Authentication"
63 default n
64 depends on CONFIG_FEATURE_HTTPD_BASIC_AUTH
65 help
66 Enables basic per url authentication from /etc/httpd.conf
67 using md5 passwords.
68
69
70if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
71config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
72 bool " Support reloading the global config file using hup signal"
73 default n
74 depends on CONFIG_HTTPD
75 help
76 This option enables processing of SIGHUP to reload cached
77 configuration settings.
78
79config CONFIG_FEATURE_HTTPD_SETUID
80 bool " Enable support -u <user> option"
81 default n
82 depends on CONFIG_HTTPD
83 help
84 This option allows the server to run as a specific user
85 rather than defaulting to the user that starts the server.
86 Use of this option requires special privileges to change to a
87 different user.
88endif
89
90config CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
91 bool " Support loading additional MIME types at run-time"
92 default n
93 depends on CONFIG_HTTPD
94 help
95 This option enables support for additional MIME types at
96 run-time to be specified in the configuration file.
97
98config CONFIG_FEATURE_HTTPD_CGI
99 bool " Support Common Gateway Interface (CGI)"
100 default y
101 depends on CONFIG_HTTPD
102 help
103 This option allows scripts and executables to be invoked
104 when specific urls are requested.
105
106config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
107 bool " Support the REMOTE_PORT environment variable for CGI"
108 default n
109 depends on CONFIG_FEATURE_HTTPD_CGI
110 help
111 Use of this option can assist scripts in generating
112 references that contain a unique port number.
113
114config CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
115 bool " Enable the -e option for shell script CGI simplification."
116 default y
117 depends on CONFIG_HTTPD
118 help
119 After set, this option allows html encoding arbitrary
120 strings for display of the browser. Output goes to stdout.
121 For example, httpd -e "<Hello World>" as
122 "&#60Hello&#32World&#62".
123
124config CONFIG_IFCONFIG
125 bool "ifconfig"
126 default n
127 help
128 Ifconfig is used to configure the kernel-resident network interfaces.
129
130config CONFIG_FEATURE_IFCONFIG_STATUS
131 bool " Enable status reporting output (+7k)"
132 default y
133 depends on CONFIG_IFCONFIG
134 help
135 If ifconfig is called with no arguments it will display the status
136 of the currently active interfaces.
137
138config CONFIG_FEATURE_IFCONFIG_SLIP
139 bool " Enable slip-specific options \"keepalive\" and \"outfill\""
140 default n
141 depends on CONFIG_IFCONFIG
142 help
143 Allow "keepalive" and "outfill" support for SLIP. If you're not
144 planning on using serial lines, leave this unchecked.
145
146config CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
147 bool " Enable options \"mem_start\", \"io_addr\", and \"irq\""
148 default n
149 depends on CONFIG_IFCONFIG
150 help
151 Allow the start address for shared memory, start address for I/O,
152 and/or the interrupt line used by the specified device.
153
154config CONFIG_FEATURE_IFCONFIG_HW
155 bool " Enable option \"hw\" (ether only)"
156 default y
157 depends on CONFIG_IFCONFIG
158 help
159 Set the hardware address of this interface, if the device driver
160 supports this operation. Currently, we only support the 'ether'
161 class.
162
163config CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
164 bool " Set the broadcast automatically"
165 default n
166 depends on CONFIG_IFCONFIG
167 help
168 Setting this will make ifconfig attempt to find the broadcast
169 automatically if the value '+' is used.
170
171config CONFIG_IFUPDOWN
172 bool "ifupdown"
173 default n
174 help
175 Activate or deactivate the specified interfaces. This applet makes
176 use of either "ifconfig" and "route" or the "ip" command to actually
177 configure network interfaces. Therefore, you will probably also want
178 to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
179 CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options. Of
180 course you could use non-busybox versions of these programs, so
181 against my better judgement (since this will surely result in plenty
182 of support questions on the mailing list), I do not force you to
183 enable these additional options. It is up to you to supply either
184 "ifconfig" and "route" or the "ip" command, either via busybox or via
185 standalone utilities.
186
187config CONFIG_FEATURE_IFUPDOWN_IP
188 bool " Use ip applet"
189 default n
190 depends on CONFIG_IFUPDOWN
191 help
192 Use the iproute "ip" command to implement "ifup" and "ifdown", rather
193 than the default of using the older 'ifconfig' and 'route' utilities.
194
195config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
196 bool " Use busybox ip applet"
197 default y
198 depends on CONFIG_FEATURE_IFUPDOWN_IP
199 select CONFIG_IP
200 select CONFIG_FEATURE_IP_ADDRESS
201 select CONFIG_FEATURE_IP_LINK
202 select CONFIG_FEATURE_IP_ROUTE
203 help
204 Use the busybox iproute "ip" applet to implement "ifupdown".
205
206 If leave this disabled, you must install the full-blown iproute2
207 utility or the "ifup" and "ifdown" applets will not work.
208
209config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
210 bool " Use busybox ifconfig and route applets"
211 default y
212 depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
213 select CONFIG_IFCONFIG
214 select CONFIG_ROUTE
215 help
216 Use the busybox iproute "ifconfig" and "route" applets to
217 implement the "ifup" and "ifdown" utilities.
218
219 If leave this disabled, you must install the full-blown ifconfig
220 and route utilities, or the "ifup" and "ifdown" applets will not
221 work.
222
223config CONFIG_FEATURE_IFUPDOWN_IPV4
224 bool " Enable support for IPv4"
225 default y
226 depends on CONFIG_IFUPDOWN
227 help
228 If you want busybox to talk IPv4, leave this on.
229
230config CONFIG_FEATURE_IFUPDOWN_IPV6
231 bool " Enable support for IPv6"
232 default n
233 depends on CONFIG_IFUPDOWN
234 help
235 If you need support for IPv6, turn this option on.
236
237config CONFIG_FEATURE_IFUPDOWN_IPX
238 bool " Enable support for IPX"
239 default n
240 depends on CONFIG_IFUPDOWN
241 help
242 If this option is selected you can use busybox to work with IPX
243 networks.
244
245config CONFIG_FEATURE_IFUPDOWN_MAPPING
246 bool " Enable mapping support"
247 default n
248 depends on CONFIG_IFUPDOWN
249 help
250 This enables support for the "mapping" stanza, unless you have
251 a weird network setup you don't need it.
252
253config CONFIG_INETD
254 bool "inetd"
255 default n
256 help
257 Internet superserver daemon
258
259config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO
260 bool " Support echo service"
261 default y
262 depends on CONFIG_INETD
263 help
264 Echo received data internal inetd service
265
266config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD
267 bool " Support discard service"
268 default y
269 depends on CONFIG_INETD
270 help
271 Internet /dev/null internal inetd service
272
273config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME
274 bool " Support time service"
275 default y
276 depends on CONFIG_INETD
277 help
278 Return 32 bit time since 1900 internal inetd service
279
280config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME
281 bool " Support daytime service"
282 default y
283 depends on CONFIG_INETD
284 help
285 Return human-readable time internal inetd service
286
287config CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN
288 bool " Support chargen service"
289 default y
290 depends on CONFIG_INETD
291 help
292 Familiar character generator internal inetd service
293
294
295config CONFIG_IP
296 bool "ip"
297 default n
298 help
299 The "ip" applet is a TCP/IP interface configuration and routing
300 utility. You generally don't need "ip" to use busybox with
301 TCP/IP.
302
303if CONFIG_IP && CONFIG_IPADDR
304 config CONFIG_FEATURE_IP_ADDRESS
305 default y
306 comment " address (forced enabled for ipaddr)"
307endif
308if ! (CONFIG_IP && CONFIG_IPADDR)
309 config CONFIG_FEATURE_IP_ADDRESS
310 bool " address"
311 default y
312 depends on CONFIG_IP
313 help
314 Address manipulation support for the "ip" applet.
315endif
316
317if CONFIG_IP && CONFIG_IPLINK
318 config CONFIG_FEATURE_IP_LINK
319 default y
320 comment " link (forced enabled for iplink)"
321endif
322if !(CONFIG_IP && CONFIG_IPLINK)
323 config CONFIG_FEATURE_IP_LINK
324 bool " link"
325 default y
326 depends on CONFIG_IP
327 help
328 Configure network devices with "ip".
329endif
330
331if CONFIG_IP && CONFIG_IPROUTE
332 config CONFIG_FEATURE_IP_ROUTE
333 default y
334 comment " route (forced enabled for iproute)"
335endif
336if !(CONFIG_IP && CONFIG_IPROUTE)
337 config CONFIG_FEATURE_IP_ROUTE
338 bool " route"
339 default y
340 depends on CONFIG_IP
341 help
342 Add support for routing table management to "ip".
343endif
344
345if CONFIG_IP && CONFIG_IPTUNNEL
346 config CONFIG_FEATURE_IP_TUNNEL
347 default y
348 comment " tunnel (forced enabled for iptunnel)"
349endif
350if !(CONFIG_IP && CONFIG_IPTUNNEL)
351 config CONFIG_FEATURE_IP_TUNNEL
352 bool " tunnel"
353 default n
354 depends on CONFIG_IP
355 help
356 Add support for tunneling commands to "ip".
357endif
358
359config CONFIG_IPCALC
360 bool "ipcalc"
361 default n
362 help
363 ipcalc takes an IP address and netmask and calculates the
364 resulting broadcast, network, and host range.
365
366config CONFIG_FEATURE_IPCALC_FANCY
367 bool " Fancy IPCALC, more options, adds 1 kbyte"
368 default y
369 depends on CONFIG_IPCALC
370 help
371 Adds the options hostname, prefix and silent to the output of "ipcalc".
372
373config CONFIG_IPADDR
374 bool "ipaddr"
375 default n
376 help
377 Equivalent to selecting address support to "ip", above.
378
379config CONFIG_IPLINK
380 bool "iplink"
381 default n
382 help
383 Equivalent to selecting link support to "ip", above.
384
385config CONFIG_IPROUTE
386 bool "iproute"
387 default n
388 help
389 Equivalent to selecting route support to "ip", above.
390
391config CONFIG_IPTUNNEL
392 bool "iptunnel"
393 default n
394 help
395 Equivalent to selecting tunnel support to "ip", above.
396
397config CONFIG_NAMEIF
398 bool "nameif"
399 default n
400 help
401 nameif is used to rename network interface by its MAC address.
402 Renamed interfaces MUST be in the down state.
403 It is possible to use a file (default: /etc/mactab)
404 with list of new interface names and MACs.
405 Maximum interface name length: IF_NAMESIZE = 16
406 File fields are separated by space or tab.
407 File format:
408 # Comment
409 new_interface_name XX:XX:XX:XX:XX:XX
410
411config CONFIG_NC
412 bool "nc"
413 default n
414 help
415 A simple Unix utility which reads and writes data across network
416 connections.
417
418config CONFIG_NETSTAT
419 bool "netstat"
420 default n
421 help
422 netstat prints information about the Linux networking subsystem.
423
424config CONFIG_NSLOOKUP
425 bool "nslookup"
426 default n
427 help
428 nslookup is a tool to query Internet name servers.
429
430config CONFIG_PING
431 bool "ping"
432 default n
433 help
434 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
435 elicit an ICMP ECHO_RESPONSE from a host or gateway.
436
437config CONFIG_FEATURE_FANCY_PING
438 bool " Enable fancy ping output"
439 default y
440 depends on CONFIG_PING
441 help
442 Make the output from the ping applet include statistics, and at the
443 same time provide full support for ICMP packets.
444
445config CONFIG_PING6
446 bool "ping6"
447 default n
448 depends on CONFIG_FEATURE_IPV6
449 help
450 This will give you a ping that can talk IPv6.
451
452config CONFIG_FEATURE_FANCY_PING6
453 bool " Enable fancy ping6 output"
454 default y
455 depends on CONFIG_PING6
456 help
457 Make the output from the ping6 applet include statistics, and at the
458 same time provide full support for ICMP packets.
459
460config CONFIG_ROUTE
461 bool "route"
462 default n
463 help
464 Route displays or manipulates the kernel's IP routing tables.
465
466config CONFIG_TELNET
467 bool "telnet"
468 default n
469 help
470 Telnet is an interface to the TELNET protocol, but is also commonly
471 used to test other simple protocols.
472
473config CONFIG_FEATURE_TELNET_TTYPE
474 bool " Pass TERM type to remote host"
475 default y
476 depends on CONFIG_TELNET
477 help
478 Setting this option will forward the TERM environment variable to the
479 remote host you are connecting to. This is useful to make sure that
480 things like ANSI colors and other control sequences behave.
481
482config CONFIG_FEATURE_TELNET_AUTOLOGIN
483 bool " Pass USER type to remote host"
484 default y
485 depends on CONFIG_TELNET
486 help
487 Setting this option will forward the USER environment variable to the
488 remote host you are connecting to. This is useful when you need to
489 log into a machine without telling the username (autologin). This
490 option enables `-a' and `-l USER' arguments.
491
492config CONFIG_TELNETD
493 bool "telnetd"
494 default n
495 select CONFIG_LOGIN
496 help
497 A daemon for the TELNET protocol, allowing you to log onto the host
498 running the daemon. Please keep in mind that the TELNET protocol
499 sends passwords in plain text. If you can't afford the space for an
500 SSH daemon and you trust your network, you may say 'y' here. As a
501 more secure alternative, you should seriously consider installing the
502 very small Dropbear SSH daemon instead:
503 http://matt.ucc.asn.au/dropbear/dropbear.html
504
505 Note that for busybox telnetd to work you need several things:
506 First of all, your kernel needs:
507 CONFIG_UNIX98_PTYS=y
508 CONFIG_DEVPTS_FS=y
509
510 Next, you need a /dev/pts directory on your root filesystem:
511
512 $ ls -ld /dev/pts
513 drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
514
515 Next you need the pseudo terminal master multiplexer /dev/ptmx:
516
517 $ ls -la /dev/ptmx
518 crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
519
520 Any /dev/ttyp[0-9]* files you may have can be removed.
521 Next, you need to mount the devpts filesystem on /dev/pts using:
522
523 mount -t devpts devpts /dev/pts
524
525 You need to be sure that Busybox has CONFIG_LOGIN and
526 CONFIG_FEATURE_SUID enabled. And finally, you should make
527 certain that Busybox has been installed setuid root:
528
529 chown root.root /bin/busybox
530 chmod 4755 /bin/busybox
531
532 with all that done, telnetd _should_ work....
533
534
535config CONFIG_FEATURE_TELNETD_INETD
536 bool " Support call from inetd only"
537 default n
538 depends on CONFIG_TELNETD
539 help
540 Selecting this will make telnetd only callable from inetd,
541 removing the standalone support.
542
543config CONFIG_TFTP
544 bool "tftp"
545 default n
546 help
547 This enables the Trivial File Transfer Protocol client program. TFTP
548 is usually used for simple, small transfers such as a root image
549 for a network-enabled bootloader.
550
551config CONFIG_FEATURE_TFTP_GET
552 bool " Enable \"get\" command"
553 default y
554 depends on CONFIG_TFTP
555 help
556 Add support for the GET command within the TFTP client. This allows
557 a client to retrieve a file from a TFTP server.
558
559config CONFIG_FEATURE_TFTP_PUT
560 bool " Enable \"put\" command"
561 default y
562 depends on CONFIG_TFTP
563 help
564 Add support for the PUT command within the TFTP client. This allows
565 a client to transfer a file to a TFTP server.
566
567config CONFIG_FEATURE_TFTP_BLOCKSIZE
568 bool " Enable \"blocksize\" command"
569 default n
570 depends on CONFIG_TFTP
571 help
572 Allow the client to specify the desired block size for transfers.
573
574config CONFIG_FEATURE_TFTP_DEBUG
575 bool " Enable debug"
576 default n
577 depends on CONFIG_TFTP
578 help
579 Enable debug settings for tftp. This is useful if you're running
580 into problems with tftp as the protocol doesn't help you much when
581 you run into problems.
582
583config CONFIG_TRACEROUTE
584 bool "traceroute"
585 default n
586 help
587 Utility to trace the route of IP packets
588
589config CONFIG_FEATURE_TRACEROUTE_VERBOSE
590 bool " Enable verbose output"
591 default n
592 depends on CONFIG_TRACEROUTE
593 help
594 Add some verbosity to traceroute. This includes amongst other things
595 hostnames and ICMP response types.
596
597config CONFIG_VCONFIG
598 bool "vconfig"
599 default n
600 help
601 Creates, removes, and configures VLAN interfaces
602
603config CONFIG_WGET
604 bool "wget"
605 default n
606 help
607 wget is a utility for non-interactive download of files from HTTP,
608 HTTPS, and FTP servers.
609
610config CONFIG_FEATURE_WGET_STATUSBAR
611 bool " Enable a nifty process meter (+2k)"
612 default y
613 depends on CONFIG_WGET
614 help
615 Enable the transfer progress bar for wget transfers.
616
617config CONFIG_FEATURE_WGET_AUTHENTICATION
618 bool " Enable HTTP authentication"
619 default y
620 depends on CONFIG_WGET
621 help
622 Support authenticated HTTP transfers.
623
624config CONFIG_FEATURE_WGET_IP6_LITERAL
625 bool " Enable IPv6 literal addresses"
626 default y
627 depends on CONFIG_WGET
628 help
629 Support IPv6 address literal notation in URLs.
630
631source networking/udhcp/Config.in
632
633endmenu
634