Config.in 18 KB

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