Config.in 17 KB

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