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