Config.in 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Networking Utilities"
  6. config FEATURE_IPV6
  7. bool "Enable IPv6 support"
  8. default n
  9. help
  10. Enable IPv6 support in busybox.
  11. This adds IPv6 support in the networking applets.
  12. config ARPING
  13. bool "arping"
  14. default n
  15. help
  16. Ping hosts by ARP packets
  17. config DNSD
  18. bool "dnsd"
  19. default n
  20. help
  21. Small and static DNS server daemon.
  22. config ETHER_WAKE
  23. bool "ether-wake"
  24. default n
  25. help
  26. Send a magic packet to wake up sleeping machines.
  27. config FAKEIDENTD
  28. bool "fakeidentd"
  29. default n
  30. select FEATURE_SYSLOG
  31. help
  32. fakeidentd listens on the ident port and returns a predefined
  33. fake value on any query.
  34. config FTPGET
  35. bool "ftpget"
  36. default n
  37. help
  38. Retrieve a remote file via FTP.
  39. config FTPPUT
  40. bool "ftpput"
  41. default n
  42. help
  43. Store a remote file via FTP.
  44. config FEATURE_FTPGETPUT_LONG_OPTIONS
  45. bool "Enable long options in ftpget/ftpput"
  46. default n
  47. depends on GETOPT_LONG && (FTPGET || FTPPUT)
  48. help
  49. Support long options for the ftpget/ftpput applet.
  50. config HOSTNAME
  51. bool "hostname"
  52. default n
  53. help
  54. Show or set the system's host name
  55. config HTTPD
  56. bool "httpd"
  57. default n
  58. help
  59. Serve web pages via an HTTP server.
  60. config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
  61. bool "Support reloading the global config file using hup signal"
  62. default n
  63. depends on HTTPD && FEATURE_HTTPD_WITHOUT_INETD
  64. help
  65. This option enables processing of SIGHUP to reload cached
  66. configuration settings.
  67. config FEATURE_HTTPD_SETUID
  68. bool "Enable support -u <user> option"
  69. default n
  70. depends on HTTPD && FEATURE_HTTPD_WITHOUT_INETD
  71. help
  72. This option allows the server to run as a specific user
  73. rather than defaulting to the user that starts the server.
  74. Use of this option requires special privileges to change to a
  75. different user.
  76. config FEATURE_HTTPD_BASIC_AUTH
  77. bool "Enable Basic http Authentication"
  78. default y
  79. depends on HTTPD
  80. help
  81. Utilizes password settings from /etc/httpd.conf for basic
  82. authentication on a per url basis.
  83. config FEATURE_HTTPD_AUTH_MD5
  84. bool "Support MD5 crypted passwords for http Authentication"
  85. default n
  86. depends on FEATURE_HTTPD_BASIC_AUTH
  87. help
  88. Enables basic per URL authentication from /etc/httpd.conf
  89. using md5 passwords.
  90. config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
  91. bool "Support loading additional MIME types at run-time"
  92. default n
  93. depends on HTTPD
  94. help
  95. This option enables support for additional MIME types at
  96. run-time to be specified in the configuration file.
  97. config FEATURE_HTTPD_CGI
  98. bool "Support Common Gateway Interface (CGI)"
  99. default y
  100. depends on HTTPD
  101. help
  102. This option allows scripts and executables to be invoked
  103. when specific URLs are requested.
  104. config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
  105. bool "Enable support for running scripts through an interpreter"
  106. default n
  107. depends on FEATURE_HTTPD_CGI
  108. help
  109. This option enables support for running scripts through an
  110. interpreter. Turn this on if you want PHP scripts to work
  111. properly. You need to supply an addition line in your httpd
  112. config file:
  113. *.php:/path/to/your/php
  114. config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
  115. bool "Support the REMOTE_PORT environment variable for CGI"
  116. default n
  117. depends on FEATURE_HTTPD_CGI
  118. help
  119. Use of this option can assist scripts in generating
  120. references that contain a unique port number.
  121. config FEATURE_HTTPD_ENCODE_URL_STR
  122. bool "Enable the -e option for shell script CGI simplification."
  123. default y
  124. depends on HTTPD
  125. help
  126. This option allows html encoding arbitrary
  127. strings for display of the browser. Output goes to stdout.
  128. For example, httpd -e "<Hello World>" as
  129. "&#60Hello&#32World&#62".
  130. config IFCONFIG
  131. bool "ifconfig"
  132. default n
  133. help
  134. Ifconfig is used to configure the kernel-resident network interfaces.
  135. config FEATURE_IFCONFIG_STATUS
  136. bool "Enable status reporting output (+7k)"
  137. default y
  138. depends on IFCONFIG
  139. help
  140. If ifconfig is called with no arguments it will display the status
  141. of the currently active interfaces.
  142. config FEATURE_IFCONFIG_SLIP
  143. bool "Enable slip-specific options \"keepalive\" and \"outfill\""
  144. default n
  145. depends on IFCONFIG
  146. help
  147. Allow "keepalive" and "outfill" support for SLIP. If you're not
  148. planning on using serial lines, leave this unchecked.
  149. config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
  150. bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
  151. default n
  152. depends on IFCONFIG
  153. help
  154. Allow the start address for shared memory, start address for I/O,
  155. and/or the interrupt line used by the specified device.
  156. config FEATURE_IFCONFIG_HW
  157. bool "Enable option \"hw\" (ether only)"
  158. default y
  159. depends on IFCONFIG
  160. help
  161. Set the hardware address of this interface, if the device driver
  162. supports this operation. Currently, we only support the 'ether'
  163. class.
  164. config FEATURE_IFCONFIG_BROADCAST_PLUS
  165. bool "Set the broadcast automatically"
  166. default n
  167. depends on IFCONFIG
  168. help
  169. Setting this will make ifconfig attempt to find the broadcast
  170. automatically if the value '+' is used.
  171. config IFUPDOWN
  172. bool "ifupdown"
  173. default n
  174. select RUN_PARTS
  175. help
  176. Activate or deactivate the specified interfaces. This applet makes
  177. use of either "ifconfig" and "route" or the "ip" command to actually
  178. configure network interfaces. Therefore, you will probably also want
  179. to enable either IFCONFIG and ROUTE, or enable
  180. FEATURE_IFUPDOWN_IP and the various IP options. Of
  181. course you could use non-busybox versions of these programs, so
  182. against my better judgement (since this will surely result in plenty
  183. of support questions on the mailing list), I do not force you to
  184. enable these additional options. It is up to you to supply either
  185. "ifconfig" and "route" or the "ip" command, either via busybox or via
  186. standalone utilities.
  187. config FEATURE_IFUPDOWN_IP
  188. bool "Use ip applet"
  189. default n
  190. depends on 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. config FEATURE_IFUPDOWN_IP_BUILTIN
  195. bool "Use busybox ip applet"
  196. default y
  197. depends on FEATURE_IFUPDOWN_IP
  198. select IP
  199. select FEATURE_IP_ADDRESS
  200. select FEATURE_IP_LINK
  201. select FEATURE_IP_ROUTE
  202. help
  203. Use the busybox iproute "ip" applet to implement "ifupdown".
  204. If left disabled, you must install the full-blown iproute2
  205. utility or the "ifup" and "ifdown" applets will not work.
  206. config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
  207. bool "Use busybox ifconfig and route applets"
  208. default y
  209. depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
  210. select IFCONFIG
  211. select ROUTE
  212. help
  213. Use the busybox iproute "ifconfig" and "route" applets to
  214. implement the "ifup" and "ifdown" utilities.
  215. If left disabled, you must install the full-blown ifconfig
  216. and route utilities, or the "ifup" and "ifdown" applets will not
  217. work.
  218. config FEATURE_IFUPDOWN_IPV4
  219. bool "Enable support for IPv4"
  220. default y
  221. depends on IFUPDOWN
  222. help
  223. If you want busybox to talk IPv4, leave this on.
  224. config FEATURE_IFUPDOWN_IPV6
  225. bool "Enable support for IPv6"
  226. default n
  227. depends on IFUPDOWN && FEATURE_IPV6
  228. help
  229. If you need support for IPv6, turn this option on.
  230. config FEATURE_IFUPDOWN_IPX
  231. bool "Enable support for IPX"
  232. default n
  233. depends on IFUPDOWN
  234. help
  235. If this option is selected you can use busybox to work with IPX
  236. networks.
  237. config FEATURE_IFUPDOWN_MAPPING
  238. bool "Enable mapping support"
  239. default n
  240. depends on IFUPDOWN
  241. help
  242. This enables support for the "mapping" stanza, unless you have
  243. a weird network setup you don't need it.
  244. config INETD
  245. bool "inetd"
  246. default n
  247. select FEATURE_SYSLOG
  248. help
  249. Internet superserver daemon
  250. config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
  251. bool "Support echo service"
  252. default y
  253. depends on INETD
  254. help
  255. Echo received data internal inetd service
  256. config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
  257. bool "Support discard service"
  258. default y
  259. depends on INETD
  260. help
  261. Internet /dev/null internal inetd service
  262. config FEATURE_INETD_SUPPORT_BUILTIN_TIME
  263. bool "Support time service"
  264. default y
  265. depends on INETD
  266. help
  267. Return 32 bit time since 1900 internal inetd service
  268. config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
  269. bool "Support daytime service"
  270. default y
  271. depends on INETD
  272. help
  273. Return human-readable time internal inetd service
  274. config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
  275. bool "Support chargen service"
  276. default y
  277. depends on INETD
  278. help
  279. Familiar character generator internal inetd service
  280. config FEATURE_INETD_RPC
  281. bool "Support RPC services"
  282. default n
  283. depends on INETD
  284. depends on FEATURE_HAVE_RPC
  285. help
  286. Support Sun-RPC based services
  287. config IP
  288. bool "ip"
  289. default n
  290. help
  291. The "ip" applet is a TCP/IP interface configuration and routing
  292. utility. You generally don't need "ip" to use busybox with
  293. TCP/IP.
  294. config FEATURE_IP_ADDRESS
  295. bool "ip address"
  296. default y
  297. depends on IP
  298. help
  299. Address manipulation support for the "ip" applet.
  300. config FEATURE_IP_LINK
  301. bool "ip link"
  302. default y
  303. depends on IP
  304. help
  305. Configure network devices with "ip".
  306. config FEATURE_IP_ROUTE
  307. bool "ip route"
  308. default y
  309. depends on IP
  310. help
  311. Add support for routing table management to "ip".
  312. config FEATURE_IP_TUNNEL
  313. bool "ip tunnel"
  314. default n
  315. depends on IP
  316. help
  317. Add support for tunneling commands to "ip".
  318. config FEATURE_IP_RULE
  319. bool "ip rule"
  320. default n
  321. depends on IP
  322. help
  323. Add support for rule commands to "ip".
  324. config FEATURE_IP_SHORT_FORMS
  325. bool "Support short forms of ip commands."
  326. default n
  327. depends on IP
  328. help
  329. Also support short-form of ip <OBJECT> commands:
  330. ip addr -> ipaddr
  331. ip link -> iplink
  332. ip route -> iproute
  333. ip tunnel -> iptunnel
  334. Say N unless you desparately need the short form of the ip
  335. object commands.
  336. config IPADDR
  337. bool
  338. default y
  339. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
  340. config IPLINK
  341. bool
  342. default y
  343. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
  344. config IPROUTE
  345. bool
  346. default y
  347. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
  348. config IPTUNNEL
  349. bool
  350. default y
  351. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
  352. config IPRULE
  353. bool
  354. default y
  355. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
  356. config IPCALC
  357. bool "ipcalc"
  358. default n
  359. help
  360. ipcalc takes an IP address and netmask and calculates the
  361. resulting broadcast, network, and host range.
  362. config FEATURE_IPCALC_FANCY
  363. bool "Fancy IPCALC, more options, adds 1 kbyte"
  364. default y
  365. depends on IPCALC
  366. help
  367. Adds the options hostname, prefix and silent to the output of "ipcalc".
  368. config FEATURE_IPCALC_LONG_OPTIONS
  369. bool "Enable long options"
  370. default n
  371. depends on IPCALC && GETOPT_LONG
  372. help
  373. Support long options for the ipcalc applet.
  374. config NAMEIF
  375. bool "nameif"
  376. default n
  377. select FEATURE_SYSLOG
  378. help
  379. nameif is used to rename network interface by its MAC address.
  380. Renamed interfaces MUST be in the down state.
  381. It is possible to use a file (default: /etc/mactab)
  382. with list of new interface names and MACs.
  383. Maximum interface name length: IF_NAMESIZE = 16
  384. File fields are separated by space or tab.
  385. File format:
  386. # Comment
  387. new_interface_name XX:XX:XX:XX:XX:XX
  388. config NC
  389. bool "nc"
  390. default n
  391. help
  392. A simple Unix utility which reads and writes data across network
  393. connections.
  394. config NC_SERVER
  395. bool "Netcat server options (-lp)"
  396. default n
  397. depends on NC
  398. help
  399. Allow netcat to act as a server.
  400. config NC_EXTRA
  401. bool "Netcat extensions (-eiw and filename)"
  402. default n
  403. depends on NC
  404. help
  405. Add -e (support for executing the rest of the command line after
  406. making or receiving a successful connection), -i (delay interval for
  407. lines sent), -w (timeout for initial connection).
  408. config NETSTAT
  409. bool "netstat"
  410. default n
  411. help
  412. netstat prints information about the Linux networking subsystem.
  413. config NSLOOKUP
  414. bool "nslookup"
  415. default n
  416. help
  417. nslookup is a tool to query Internet name servers.
  418. config PING
  419. bool "ping"
  420. default n
  421. help
  422. ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
  423. elicit an ICMP ECHO_RESPONSE from a host or gateway.
  424. config FEATURE_FANCY_PING
  425. bool "Enable fancy ping output"
  426. default y
  427. depends on PING
  428. help
  429. Make the output from the ping applet include statistics, and at the
  430. same time provide full support for ICMP packets.
  431. config PING6
  432. bool "ping6"
  433. default n
  434. depends on FEATURE_IPV6
  435. help
  436. This will give you a ping that can talk IPv6.
  437. config FEATURE_FANCY_PING6
  438. bool "Enable fancy ping6 output"
  439. default y
  440. depends on PING6
  441. help
  442. Make the output from the ping6 applet include statistics, and at the
  443. same time provide full support for ICMP packets.
  444. config ROUTE
  445. bool "route"
  446. default n
  447. help
  448. Route displays or manipulates the kernel's IP routing tables.
  449. config TELNET
  450. bool "telnet"
  451. default n
  452. help
  453. Telnet is an interface to the TELNET protocol, but is also commonly
  454. used to test other simple protocols.
  455. config FEATURE_TELNET_TTYPE
  456. bool "Pass TERM type to remote host"
  457. default y
  458. depends on TELNET
  459. help
  460. Setting this option will forward the TERM environment variable to the
  461. remote host you are connecting to. This is useful to make sure that
  462. things like ANSI colors and other control sequences behave.
  463. config FEATURE_TELNET_AUTOLOGIN
  464. bool "Pass USER type to remote host"
  465. default y
  466. depends on TELNET
  467. help
  468. Setting this option will forward the USER environment variable to the
  469. remote host you are connecting to. This is useful when you need to
  470. log into a machine without telling the username (autologin). This
  471. option enables `-a' and `-l USER' arguments.
  472. config TELNETD
  473. bool "telnetd"
  474. default n
  475. select FEATURE_SYSLOG
  476. help
  477. A daemon for the TELNET protocol, allowing you to log onto the host
  478. running the daemon. Please keep in mind that the TELNET protocol
  479. sends passwords in plain text. If you can't afford the space for an
  480. SSH daemon and you trust your network, you may say 'y' here. As a
  481. more secure alternative, you should seriously consider installing the
  482. very small Dropbear SSH daemon instead:
  483. http://matt.ucc.asn.au/dropbear/dropbear.html
  484. Note that for busybox telnetd to work you need several things:
  485. First of all, your kernel needs:
  486. UNIX98_PTYS=y
  487. DEVPTS_FS=y
  488. Next, you need a /dev/pts directory on your root filesystem:
  489. $ ls -ld /dev/pts
  490. drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
  491. Next you need the pseudo terminal master multiplexer /dev/ptmx:
  492. $ ls -la /dev/ptmx
  493. crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
  494. Any /dev/ttyp[0-9]* files you may have can be removed.
  495. Next, you need to mount the devpts filesystem on /dev/pts using:
  496. mount -t devpts devpts /dev/pts
  497. You need to be sure that Busybox has LOGIN and
  498. FEATURE_SUID enabled. And finally, you should make
  499. certain that Busybox has been installed setuid root:
  500. chown root.root /bin/busybox
  501. chmod 4755 /bin/busybox
  502. with all that done, telnetd _should_ work....
  503. config FEATURE_TELNETD_STANDALONE
  504. bool "Support standalone telnetd (not inetd only)"
  505. default n
  506. depends on TELNETD
  507. help
  508. Selecting this will make telnetd able to run standalone.
  509. config TFTP
  510. bool "tftp"
  511. default n
  512. help
  513. This enables the Trivial File Transfer Protocol client program. TFTP
  514. is usually used for simple, small transfers such as a root image
  515. for a network-enabled bootloader.
  516. config FEATURE_TFTP_GET
  517. bool "Enable \"get\" command"
  518. default y
  519. depends on TFTP
  520. help
  521. Add support for the GET command within the TFTP client. This allows
  522. a client to retrieve a file from a TFTP server.
  523. config FEATURE_TFTP_PUT
  524. bool "Enable \"put\" command"
  525. default y
  526. depends on TFTP
  527. help
  528. Add support for the PUT command within the TFTP client. This allows
  529. a client to transfer a file to a TFTP server.
  530. config FEATURE_TFTP_BLOCKSIZE
  531. bool "Enable \"blocksize\" command"
  532. default n
  533. depends on TFTP
  534. help
  535. Allow the client to specify the desired block size for transfers.
  536. config DEBUG_TFTP
  537. bool "Enable debug"
  538. default n
  539. depends on TFTP
  540. help
  541. Enable debug settings for tftp. This is useful if you're running
  542. into problems with tftp as the protocol doesn't help you much when
  543. you run into problems.
  544. config TRACEROUTE
  545. bool "traceroute"
  546. default n
  547. help
  548. Utility to trace the route of IP packets
  549. config FEATURE_TRACEROUTE_VERBOSE
  550. bool "Enable verbose output"
  551. default n
  552. depends on TRACEROUTE
  553. help
  554. Add some verbosity to traceroute. This includes amongst other things
  555. hostnames and ICMP response types.
  556. config FEATURE_TRACEROUTE_SOURCE_ROUTE
  557. bool "Enable loose source route"
  558. default n
  559. depends on TRACEROUTE
  560. help
  561. Add option to specify a loose source route gateway
  562. (8 maximum).
  563. config FEATURE_TRACEROUTE_USE_ICMP
  564. bool "Use ICMP instead of UDP"
  565. default n
  566. depends on TRACEROUTE
  567. help
  568. Add feature to allow for ICMP ECHO instead of UDP datagrams.
  569. source networking/udhcp/Config.in
  570. config VCONFIG
  571. bool "vconfig"
  572. default n
  573. help
  574. Creates, removes, and configures VLAN interfaces
  575. config WGET
  576. bool "wget"
  577. default n
  578. help
  579. wget is a utility for non-interactive download of files from HTTP,
  580. HTTPS, and FTP servers.
  581. config FEATURE_WGET_STATUSBAR
  582. bool "Enable a nifty process meter (+2k)"
  583. default y
  584. depends on WGET
  585. help
  586. Enable the transfer progress bar for wget transfers.
  587. config FEATURE_WGET_AUTHENTICATION
  588. bool "Enable HTTP authentication"
  589. default y
  590. depends on WGET
  591. help
  592. Support authenticated HTTP transfers.
  593. config FEATURE_WGET_IP6_LITERAL
  594. bool "Enable IPv6 literal addresses"
  595. default y
  596. depends on WGET && FEATURE_IPV6
  597. help
  598. Support IPv6 address literal notation in URLs.
  599. config FEATURE_WGET_LONG_OPTIONS
  600. bool "Enable long options"
  601. default n
  602. depends on WGET && GETOPT_LONG
  603. help
  604. Support long options for the wget applet.
  605. config ZCIP
  606. bool "zcip"
  607. default n
  608. select FEATURE_SYSLOG
  609. help
  610. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
  611. It's a daemon that allocates and defends a dynamically assigned
  612. address on the 169.254/16 network, requiring no system administrator.
  613. See http://www.zeroconf.org for further details, and "zcip.script"
  614. in the busybox examples.
  615. endmenu