Config.in 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see scripts/kbuild/config-language.txt.
  5. #
  6. menu "Networking Utilities"
  7. config FEATURE_IPV6
  8. bool "Enable IPv6 support"
  9. default y
  10. help
  11. Enable IPv6 support in busybox.
  12. This adds IPv6 support in the networking applets.
  13. config FEATURE_UNIX_LOCAL
  14. bool "Enable Unix domain socket support (usually not needed)"
  15. default n
  16. help
  17. Enable Unix domain socket support in all busybox networking
  18. applets. Address of the form local:/path/to/unix/socket
  19. will be recognized.
  20. This extension is almost never used in real world usage.
  21. You most likely want to say N.
  22. config FEATURE_PREFER_IPV4_ADDRESS
  23. bool "Prefer IPv4 addresses from DNS queries"
  24. default y
  25. depends on FEATURE_IPV6
  26. help
  27. Use IPv4 address of network host if it has one.
  28. If this option is off, the first returned address will be used.
  29. This may cause problems when your DNS server is IPv6-capable and
  30. is returning IPv6 host addresses too. If IPv6 address
  31. precedes IPv4 one in DNS reply, busybox network applets
  32. (e.g. wget) will use IPv6 address. On an IPv6-incapable host
  33. or network applets will fail to connect to the host
  34. using IPv6 address.
  35. config VERBOSE_RESOLUTION_ERRORS
  36. bool "Verbose resolution errors"
  37. default n
  38. help
  39. Enable if you are not satisfied with simplistic
  40. "can't resolve 'hostname.com'" and want to know more.
  41. This may increase size of your executable a bit.
  42. config ARP
  43. bool "arp (11 kb)"
  44. default y
  45. select PLATFORM_LINUX
  46. help
  47. Manipulate the system ARP cache.
  48. config ARPING
  49. bool "arping (9.3 kb)"
  50. default y
  51. select PLATFORM_LINUX
  52. help
  53. Ping hosts by ARP packets.
  54. config BRCTL
  55. bool "brctl (4.7 kb)"
  56. default y
  57. select PLATFORM_LINUX
  58. help
  59. Manage ethernet bridges.
  60. Supports addbr/delbr and addif/delif.
  61. config FEATURE_BRCTL_FANCY
  62. bool "Fancy options"
  63. default y
  64. depends on BRCTL
  65. help
  66. Add support for extended option like:
  67. setageing, setfd, sethello, setmaxage,
  68. setpathcost, setportprio, setbridgeprio,
  69. stp
  70. This adds about 600 bytes.
  71. config FEATURE_BRCTL_SHOW
  72. bool "Support show"
  73. default y
  74. depends on BRCTL && FEATURE_BRCTL_FANCY
  75. help
  76. Add support for option which prints the current config:
  77. show
  78. config DNSD
  79. bool "dnsd (9.8 kb)"
  80. default y
  81. help
  82. Small and static DNS server daemon.
  83. config ETHER_WAKE
  84. bool "ether-wake (6.6 kb)"
  85. default y
  86. select PLATFORM_LINUX
  87. help
  88. Send a magic packet to wake up sleeping machines.
  89. config FTPD
  90. bool "ftpd (30 kb)"
  91. default y
  92. help
  93. Simple FTP daemon. You have to run it via inetd.
  94. config FEATURE_FTPD_WRITE
  95. bool "Enable -w (upload commands)"
  96. default y
  97. depends on FTPD
  98. help
  99. Enable -w option. "ftpd -w" will accept upload commands
  100. such as STOR, STOU, APPE, DELE, MKD, RMD, rename commands.
  101. config FEATURE_FTPD_ACCEPT_BROKEN_LIST
  102. bool "Enable workaround for RFC-violating clients"
  103. default y
  104. depends on FTPD
  105. help
  106. Some ftp clients (among them KDE's Konqueror) issue illegal
  107. "LIST -l" requests. This option works around such problems.
  108. It might prevent you from listing files starting with "-" and
  109. it increases the code size by ~40 bytes.
  110. Most other ftp servers seem to behave similar to this.
  111. config FEATURE_FTPD_AUTHENTICATION
  112. bool "Enable authentication"
  113. default y
  114. depends on FTPD
  115. help
  116. Require login, and change to logged in user's UID:GID before
  117. accessing any files. Option "-a USER" allows "anonymous"
  118. logins (treats them as if USER logged in).
  119. If this option is not selected, ftpd runs with the rights
  120. of the user it was started under, and does not require login.
  121. Take care to not launch it under root.
  122. config FTPGET
  123. bool "ftpget (8 kb)"
  124. default y
  125. help
  126. Retrieve a remote file via FTP.
  127. config FTPPUT
  128. bool "ftpput (7.7 kb)"
  129. default y
  130. help
  131. Store a remote file via FTP.
  132. config FEATURE_FTPGETPUT_LONG_OPTIONS
  133. bool "Enable long options in ftpget/ftpput"
  134. default y
  135. depends on LONG_OPTS && (FTPGET || FTPPUT)
  136. config HOSTNAME
  137. bool "hostname (5.6 kb)"
  138. default y
  139. help
  140. Show or set the system's host name.
  141. config DNSDOMAINNAME
  142. bool "dnsdomainname (3.6 kb)"
  143. default y
  144. help
  145. Alias to "hostname -d".
  146. config HTTPD
  147. bool "httpd (32 kb)"
  148. default y
  149. help
  150. HTTP server.
  151. config FEATURE_HTTPD_RANGES
  152. bool "Support 'Ranges:' header"
  153. default y
  154. depends on HTTPD
  155. help
  156. Makes httpd emit "Accept-Ranges: bytes" header and understand
  157. "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
  158. downloads, seeking in multimedia players etc.
  159. config FEATURE_HTTPD_SETUID
  160. bool "Enable -u <user> option"
  161. default y
  162. depends on HTTPD
  163. help
  164. This option allows the server to run as a specific user
  165. rather than defaulting to the user that starts the server.
  166. Use of this option requires special privileges to change to a
  167. different user.
  168. config FEATURE_HTTPD_BASIC_AUTH
  169. bool "Enable HTTP authentication"
  170. default y
  171. depends on HTTPD
  172. help
  173. Utilizes password settings from /etc/httpd.conf for basic
  174. authentication on a per url basis.
  175. Example for httpd.conf file:
  176. /adm:toor:PaSsWd
  177. config FEATURE_HTTPD_AUTH_MD5
  178. bool "Support MD5-encrypted passwords in HTTP authentication"
  179. default y
  180. depends on FEATURE_HTTPD_BASIC_AUTH
  181. help
  182. Enables encrypted passwords, and wildcard user/passwords
  183. in httpd.conf file.
  184. User '*' means 'any system user name is ok',
  185. password of '*' means 'use system password for this user'
  186. Examples:
  187. /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0
  188. /adm:root:*
  189. /wiki:*:*
  190. config FEATURE_HTTPD_CGI
  191. bool "Support Common Gateway Interface (CGI)"
  192. default y
  193. depends on HTTPD
  194. help
  195. This option allows scripts and executables to be invoked
  196. when specific URLs are requested.
  197. config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
  198. bool "Support running scripts through an interpreter"
  199. default y
  200. depends on FEATURE_HTTPD_CGI
  201. help
  202. This option enables support for running scripts through an
  203. interpreter. Turn this on if you want PHP scripts to work
  204. properly. You need to supply an additional line in your
  205. httpd.conf file:
  206. *.php:/path/to/your/php
  207. config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
  208. bool "Set REMOTE_PORT environment variable for CGI"
  209. default y
  210. depends on FEATURE_HTTPD_CGI
  211. help
  212. Use of this option can assist scripts in generating
  213. references that contain a unique port number.
  214. config FEATURE_HTTPD_ENCODE_URL_STR
  215. bool "Enable -e option (useful for CGIs written as shell scripts)"
  216. default y
  217. depends on HTTPD
  218. help
  219. This option allows html encoding of arbitrary strings for display
  220. by the browser. Output goes to stdout.
  221. For example, httpd -e "<Hello World>" produces
  222. "&#60Hello&#32World&#62".
  223. config FEATURE_HTTPD_ERROR_PAGES
  224. bool "Support custom error pages"
  225. default y
  226. depends on HTTPD
  227. help
  228. This option allows you to define custom error pages in
  229. the configuration file instead of the default HTTP status
  230. error pages. For instance, if you add the line:
  231. E404:/path/e404.html
  232. in the config file, the server will respond the specified
  233. '/path/e404.html' file instead of the terse '404 NOT FOUND'
  234. message.
  235. config FEATURE_HTTPD_PROXY
  236. bool "Support reverse proxy"
  237. default y
  238. depends on HTTPD
  239. help
  240. This option allows you to define URLs that will be forwarded
  241. to another HTTP server. To setup add the following line to the
  242. configuration file
  243. P:/url/:http://hostname[:port]/new/path/
  244. Then a request to /url/myfile will be forwarded to
  245. http://hostname[:port]/new/path/myfile.
  246. config FEATURE_HTTPD_GZIP
  247. bool "Support GZIP content encoding"
  248. default y
  249. depends on HTTPD
  250. help
  251. Makes httpd send files using GZIP content encoding if the
  252. client supports it and a pre-compressed <file>.gz exists.
  253. config IFCONFIG
  254. bool "ifconfig (12 kb)"
  255. default y
  256. select PLATFORM_LINUX
  257. help
  258. Ifconfig is used to configure the kernel-resident network interfaces.
  259. config FEATURE_IFCONFIG_STATUS
  260. bool "Enable status reporting output (+7k)"
  261. default y
  262. depends on IFCONFIG
  263. help
  264. If ifconfig is called with no arguments it will display the status
  265. of the currently active interfaces.
  266. config FEATURE_IFCONFIG_SLIP
  267. bool "Enable slip-specific options \"keepalive\" and \"outfill\""
  268. default y
  269. depends on IFCONFIG
  270. help
  271. Allow "keepalive" and "outfill" support for SLIP. If you're not
  272. planning on using serial lines, leave this unchecked.
  273. config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
  274. bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
  275. default y
  276. depends on IFCONFIG
  277. help
  278. Allow the start address for shared memory, start address for I/O,
  279. and/or the interrupt line used by the specified device.
  280. config FEATURE_IFCONFIG_HW
  281. bool "Enable option \"hw\" (ether only)"
  282. default y
  283. depends on IFCONFIG
  284. help
  285. Set the hardware address of this interface, if the device driver
  286. supports this operation. Currently, we only support the 'ether'
  287. class.
  288. config FEATURE_IFCONFIG_BROADCAST_PLUS
  289. bool "Set the broadcast automatically"
  290. default y
  291. depends on IFCONFIG
  292. help
  293. Setting this will make ifconfig attempt to find the broadcast
  294. automatically if the value '+' is used.
  295. config IFENSLAVE
  296. bool "ifenslave (13 kb)"
  297. default y
  298. select PLATFORM_LINUX
  299. help
  300. Userspace application to bind several interfaces
  301. to a logical interface (use with kernel bonding driver).
  302. config IFPLUGD
  303. bool "ifplugd (9.9 kb)"
  304. default y
  305. select PLATFORM_LINUX
  306. help
  307. Network interface plug detection daemon.
  308. config IFUP
  309. bool "ifup (17 kb)"
  310. default y
  311. help
  312. Activate the specified interfaces. This applet makes use
  313. of either "ifconfig" and "route" or the "ip" command to actually
  314. configure network interfaces. Therefore, you will probably also want
  315. to enable either IFCONFIG and ROUTE, or enable
  316. FEATURE_IFUPDOWN_IP and the various IP options. Of
  317. course you could use non-busybox versions of these programs, so
  318. against my better judgement (since this will surely result in plenty
  319. of support questions on the mailing list), I do not force you to
  320. enable these additional options. It is up to you to supply either
  321. "ifconfig", "route" and "run-parts" or the "ip" command, either
  322. via busybox or via standalone utilities.
  323. config IFDOWN
  324. bool "ifdown (15 kb)"
  325. default y
  326. help
  327. Deactivate the specified interfaces.
  328. config IFUPDOWN_IFSTATE_PATH
  329. string "Absolute path to ifstate file"
  330. default "/var/run/ifstate"
  331. depends on IFUP || IFDOWN
  332. help
  333. ifupdown keeps state information in a file called ifstate.
  334. Typically it is located in /var/run/ifstate, however
  335. some distributions tend to put it in other places
  336. (debian, for example, uses /etc/network/run/ifstate).
  337. This config option defines location of ifstate.
  338. config FEATURE_IFUPDOWN_IP
  339. bool "Use ip tool (else ifconfig/route is used)"
  340. default y
  341. depends on IFUP || IFDOWN
  342. help
  343. Use the iproute "ip" command to implement "ifup" and "ifdown", rather
  344. than the default of using the older "ifconfig" and "route" utilities.
  345. If Y: you must install either the full-blown iproute2 package
  346. or enable "ip" applet in busybox, or the "ifup" and "ifdown" applets
  347. will not work.
  348. If N: you must install either the full-blown ifconfig and route
  349. utilities, or enable these applets in busybox.
  350. config FEATURE_IFUPDOWN_IPV4
  351. bool "Support IPv4"
  352. default y
  353. depends on IFUP || IFDOWN
  354. help
  355. If you want ifup/ifdown to talk IPv4, leave this on.
  356. config FEATURE_IFUPDOWN_IPV6
  357. bool "Support IPv6"
  358. default y
  359. depends on (IFUP || IFDOWN) && FEATURE_IPV6
  360. help
  361. If you need support for IPv6, turn this option on.
  362. config FEATURE_IFUPDOWN_MAPPING
  363. bool "Enable mapping support"
  364. default y
  365. depends on IFUP || IFDOWN
  366. help
  367. This enables support for the "mapping" stanza, unless you have
  368. a weird network setup you don't need it.
  369. config FEATURE_IFUPDOWN_EXTERNAL_DHCP
  370. bool "Support external DHCP clients"
  371. default n
  372. depends on IFUP || IFDOWN
  373. help
  374. This enables support for the external dhcp clients. Clients are
  375. tried in the following order: dhcpcd, dhclient, pump and udhcpc.
  376. Otherwise, if udhcpc applet is enabled, it is used.
  377. Otherwise, ifup/ifdown will have no support for DHCP.
  378. config INETD
  379. bool "inetd (18 kb)"
  380. default y
  381. select FEATURE_SYSLOG
  382. help
  383. Internet superserver daemon
  384. config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
  385. bool "Support echo service on port 7"
  386. default y
  387. depends on INETD
  388. help
  389. Internal service which echoes data back.
  390. Activated by configuration lines like these:
  391. echo stream tcp nowait root internal
  392. echo dgram udp wait root internal
  393. config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
  394. bool "Support discard service on port 8"
  395. default y
  396. depends on INETD
  397. help
  398. Internal service which discards all input.
  399. Activated by configuration lines like these:
  400. discard stream tcp nowait root internal
  401. discard dgram udp wait root internal
  402. config FEATURE_INETD_SUPPORT_BUILTIN_TIME
  403. bool "Support time service on port 37"
  404. default y
  405. depends on INETD
  406. help
  407. Internal service which returns big-endian 32-bit number
  408. of seconds passed since 1900-01-01. The number wraps around
  409. on overflow.
  410. Activated by configuration lines like these:
  411. time stream tcp nowait root internal
  412. time dgram udp wait root internal
  413. config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
  414. bool "Support daytime service on port 13"
  415. default y
  416. depends on INETD
  417. help
  418. Internal service which returns human-readable time.
  419. Activated by configuration lines like these:
  420. daytime stream tcp nowait root internal
  421. daytime dgram udp wait root internal
  422. config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
  423. bool "Support chargen service on port 19"
  424. default y
  425. depends on INETD
  426. help
  427. Internal service which generates endless stream
  428. of all ASCII chars beetween space and char 126.
  429. Activated by configuration lines like these:
  430. chargen stream tcp nowait root internal
  431. chargen dgram udp wait root internal
  432. config FEATURE_INETD_RPC
  433. bool "Support RPC services"
  434. default n # very rarely used, and needs Sun RPC support in libc
  435. depends on INETD
  436. help
  437. Support Sun-RPC based services
  438. config IP
  439. bool "ip (34 kb)"
  440. default y
  441. select PLATFORM_LINUX
  442. help
  443. The "ip" applet is a TCP/IP interface configuration and routing
  444. utility.
  445. Short forms (enabled below) are busybox-specific extensions.
  446. The standard "ip" utility does not provide them. If you are
  447. trying to be portable, it's better to use "ip CMD" forms.
  448. config IPADDR
  449. bool "ipaddr (14 kb)"
  450. default y
  451. select FEATURE_IP_ADDRESS
  452. select PLATFORM_LINUX
  453. help
  454. Short form of "ip addr"
  455. config IPLINK
  456. bool "iplink (16 kb)"
  457. default y
  458. select FEATURE_IP_LINK
  459. select PLATFORM_LINUX
  460. help
  461. Short form of "ip link"
  462. config IPROUTE
  463. bool "iproute (15 kb)"
  464. default y
  465. select FEATURE_IP_ROUTE
  466. select PLATFORM_LINUX
  467. help
  468. Short form of "ip route"
  469. config IPTUNNEL
  470. bool "iptunnel (9.6 kb)"
  471. default y
  472. select FEATURE_IP_TUNNEL
  473. select PLATFORM_LINUX
  474. help
  475. Short form of "ip tunnel"
  476. config IPRULE
  477. bool "iprule (10 kb)"
  478. default y
  479. select FEATURE_IP_RULE
  480. select PLATFORM_LINUX
  481. help
  482. Short form of "ip rule"
  483. config IPNEIGH
  484. bool "ipneigh (8.3 kb)"
  485. default y
  486. select FEATURE_IP_NEIGH
  487. select PLATFORM_LINUX
  488. help
  489. Short form of "ip neigh"
  490. config FEATURE_IP_ADDRESS
  491. bool "ip address"
  492. default y
  493. depends on IP || IPADDR
  494. help
  495. Address manipulation support for the "ip" applet.
  496. config FEATURE_IP_LINK
  497. bool "ip link"
  498. default y
  499. depends on IP || IPLINK
  500. help
  501. Configure network devices with "ip".
  502. config FEATURE_IP_ROUTE
  503. bool "ip route"
  504. default y
  505. depends on IP || IPROUTE
  506. help
  507. Add support for routing table management to "ip".
  508. config FEATURE_IP_ROUTE_DIR
  509. string "ip route configuration directory"
  510. default "/etc/iproute2"
  511. depends on FEATURE_IP_ROUTE
  512. help
  513. Location of the "ip" applet routing configuration.
  514. config FEATURE_IP_TUNNEL
  515. bool "ip tunnel"
  516. default y
  517. depends on IP || IPTUNNEL
  518. help
  519. Add support for tunneling commands to "ip".
  520. config FEATURE_IP_RULE
  521. bool "ip rule"
  522. default y
  523. depends on IP || IPRULE
  524. help
  525. Add support for rule commands to "ip".
  526. config FEATURE_IP_NEIGH
  527. bool "ip neighbor"
  528. default y
  529. depends on IP || IPNEIGH
  530. help
  531. Add support for neighbor commands to "ip".
  532. config FEATURE_IP_RARE_PROTOCOLS
  533. bool "Support displaying rarely used link types"
  534. default n
  535. depends on IP || IPADDR || IPLINK || IPROUTE || IPTUNNEL || IPRULE || IPNEIGH
  536. help
  537. If you are not going to use links of type "frad", "econet",
  538. "bif" etc, you probably don't need to enable this.
  539. Ethernet, wireless, infrared, ppp/slip, ip tunnelling
  540. link types are supported without this option selected.
  541. config IPCALC
  542. bool "ipcalc (4.3 kb)"
  543. default y
  544. help
  545. ipcalc takes an IP address and netmask and calculates the
  546. resulting broadcast, network, and host range.
  547. config FEATURE_IPCALC_LONG_OPTIONS
  548. bool "Enable long options"
  549. default y
  550. depends on IPCALC && LONG_OPTS
  551. config FEATURE_IPCALC_FANCY
  552. bool "Fancy IPCALC, more options, adds 1 kbyte"
  553. default y
  554. depends on IPCALC
  555. help
  556. Adds the options hostname, prefix and silent to the output of
  557. "ipcalc".
  558. config FAKEIDENTD
  559. bool "fakeidentd (8.9 kb)"
  560. default y
  561. select FEATURE_SYSLOG
  562. help
  563. fakeidentd listens on the ident port and returns a predefined
  564. fake value on any query.
  565. config NAMEIF
  566. bool "nameif (6.6 kb)"
  567. default y
  568. select PLATFORM_LINUX
  569. select FEATURE_SYSLOG
  570. help
  571. nameif is used to rename network interface by its MAC address.
  572. Renamed interfaces MUST be in the down state.
  573. It is possible to use a file (default: /etc/mactab)
  574. with list of new interface names and MACs.
  575. Maximum interface name length: IFNAMSIZ = 16
  576. File fields are separated by space or tab.
  577. File format:
  578. # Comment
  579. new_interface_name XX:XX:XX:XX:XX:XX
  580. config FEATURE_NAMEIF_EXTENDED
  581. bool "Extended nameif"
  582. default y
  583. depends on NAMEIF
  584. help
  585. This extends the nameif syntax to support the bus_info, driver,
  586. phyaddr selectors. The syntax is compatible to the normal nameif.
  587. File format:
  588. new_interface_name driver=asix bus=usb-0000:00:08.2-3
  589. new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
  590. new_interface_name phy_address=2 00:80:C8:38:91:B5
  591. new_interface_name mac=00:80:C8:38:91:B5
  592. new_interface_name 00:80:C8:38:91:B5
  593. config NBDCLIENT
  594. bool "nbd-client (4.6 kb)"
  595. default y
  596. help
  597. Network block device client
  598. config NC
  599. bool "nc (11 kb)"
  600. default y
  601. help
  602. A simple Unix utility which reads and writes data across network
  603. connections.
  604. config NETCAT
  605. bool "netcat (11 kb)"
  606. default n
  607. help
  608. Alias to nc.
  609. config NC_SERVER
  610. bool "Netcat server options (-l)"
  611. default y
  612. depends on NC || NETCAT
  613. help
  614. Allow netcat to act as a server.
  615. config NC_EXTRA
  616. bool "Netcat extensions (-eiw and -f FILE)"
  617. default y
  618. depends on NC || NETCAT
  619. help
  620. Add -e (support for executing the rest of the command line after
  621. making or receiving a successful connection), -i (delay interval for
  622. lines sent), -w (timeout for initial connection).
  623. config NC_110_COMPAT
  624. bool "Netcat 1.10 compatibility (+2.5k)"
  625. default y
  626. depends on NC || NETCAT
  627. help
  628. This option makes nc closely follow original nc-1.10.
  629. The code is about 2.5k bigger. It enables
  630. -s ADDR, -n, -u, -v, -o FILE, -z options, but loses
  631. busybox-specific extensions: -f FILE.
  632. config NETSTAT
  633. bool "netstat (10 kb)"
  634. default y
  635. select PLATFORM_LINUX
  636. help
  637. netstat prints information about the Linux networking subsystem.
  638. config FEATURE_NETSTAT_WIDE
  639. bool "Enable wide output"
  640. default y
  641. depends on NETSTAT
  642. help
  643. Add support for wide columns. Useful when displaying IPv6 addresses
  644. (-W option).
  645. config FEATURE_NETSTAT_PRG
  646. bool "Enable PID/Program name output"
  647. default y
  648. depends on NETSTAT
  649. help
  650. Add support for -p flag to print out PID and program name.
  651. +700 bytes of code.
  652. config NSLOOKUP
  653. bool "nslookup (4.5 kb)"
  654. default y
  655. help
  656. nslookup is a tool to query Internet name servers.
  657. config NTPD
  658. bool "ntpd (17 kb)"
  659. default y
  660. select PLATFORM_LINUX
  661. help
  662. The NTP client/server daemon.
  663. config FEATURE_NTPD_SERVER
  664. bool "Make ntpd usable as a NTP server"
  665. default y
  666. depends on NTPD
  667. help
  668. Make ntpd usable as a NTP server. If you disable this option
  669. ntpd will be usable only as a NTP client.
  670. config FEATURE_NTPD_CONF
  671. bool "Make ntpd understand /etc/ntp.conf"
  672. default y
  673. depends on NTPD
  674. help
  675. Make ntpd look in /etc/ntp.conf for peers. Only "server address"
  676. is supported.
  677. config PING
  678. bool "ping (9.5 kb)"
  679. default y
  680. select PLATFORM_LINUX
  681. help
  682. ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
  683. elicit an ICMP ECHO_RESPONSE from a host or gateway.
  684. config PING6
  685. bool "ping6 (10 kb)"
  686. default y
  687. depends on FEATURE_IPV6
  688. help
  689. Alias to "ping -6".
  690. config FEATURE_FANCY_PING
  691. bool "Enable fancy ping output"
  692. default y
  693. depends on PING || PING6
  694. help
  695. With this option off, ping will say "HOST is alive!"
  696. or terminate with SIGALRM in 5 seconds otherwise.
  697. No command-line options will be recognized.
  698. config PSCAN
  699. bool "pscan (6.6 kb)"
  700. default y
  701. help
  702. Simple network port scanner.
  703. config ROUTE
  704. bool "route (8.9 kb)"
  705. default y
  706. select PLATFORM_LINUX
  707. help
  708. Route displays or manipulates the kernel's IP routing tables.
  709. config SLATTACH
  710. bool "slattach (6.1 kb)"
  711. default y
  712. select PLATFORM_LINUX
  713. help
  714. slattach configures serial line as SLIP network interface.
  715. config SSL_CLIENT
  716. bool "ssl_client (23 kb)"
  717. default y
  718. select TLS
  719. help
  720. This tool pipes data to/from a socket, TLS-encrypting it.
  721. config TCPSVD
  722. bool "tcpsvd (13 kb)"
  723. default y
  724. help
  725. tcpsvd listens on a TCP port and runs a program for each new
  726. connection.
  727. config UDPSVD
  728. bool "udpsvd (13 kb)"
  729. default y
  730. help
  731. udpsvd listens on an UDP port and runs a program for each new
  732. connection.
  733. config TELNET
  734. bool "telnet (8.7 kb)"
  735. default y
  736. help
  737. Telnet is an interface to the TELNET protocol, but is also commonly
  738. used to test other simple protocols.
  739. config FEATURE_TELNET_TTYPE
  740. bool "Pass TERM type to remote host"
  741. default y
  742. depends on TELNET
  743. help
  744. Setting this option will forward the TERM environment variable to the
  745. remote host you are connecting to. This is useful to make sure that
  746. things like ANSI colors and other control sequences behave.
  747. config FEATURE_TELNET_AUTOLOGIN
  748. bool "Pass USER type to remote host"
  749. default y
  750. depends on TELNET
  751. help
  752. Setting this option will forward the USER environment variable to the
  753. remote host you are connecting to. This is useful when you need to
  754. log into a machine without telling the username (autologin). This
  755. option enables '-a' and '-l USER' options.
  756. config FEATURE_TELNET_WIDTH
  757. bool "Enable window size autodetection"
  758. default y
  759. depends on TELNET
  760. config TELNETD
  761. bool "telnetd (12 kb)"
  762. default y
  763. select FEATURE_SYSLOG
  764. help
  765. A daemon for the TELNET protocol, allowing you to log onto the host
  766. running the daemon. Please keep in mind that the TELNET protocol
  767. sends passwords in plain text. If you can't afford the space for an
  768. SSH daemon and you trust your network, you may say 'y' here. As a
  769. more secure alternative, you should seriously consider installing the
  770. very small Dropbear SSH daemon instead:
  771. http://matt.ucc.asn.au/dropbear/dropbear.html
  772. Note that for busybox telnetd to work you need several things:
  773. First of all, your kernel needs:
  774. CONFIG_UNIX98_PTYS=y
  775. Next, you need a /dev/pts directory on your root filesystem:
  776. $ ls -ld /dev/pts
  777. drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
  778. Next you need the pseudo terminal master multiplexer /dev/ptmx:
  779. $ ls -la /dev/ptmx
  780. crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
  781. Any /dev/ttyp[0-9]* files you may have can be removed.
  782. Next, you need to mount the devpts filesystem on /dev/pts using:
  783. mount -t devpts devpts /dev/pts
  784. You need to be sure that busybox has LOGIN and
  785. FEATURE_SUID enabled. And finally, you should make
  786. certain that busybox has been installed setuid root:
  787. chown root.root /bin/busybox
  788. chmod 4755 /bin/busybox
  789. with all that done, telnetd _should_ work....
  790. config FEATURE_TELNETD_STANDALONE
  791. bool "Support standalone telnetd (not inetd only)"
  792. default y
  793. depends on TELNETD
  794. help
  795. Selecting this will make telnetd able to run standalone.
  796. config FEATURE_TELNETD_INETD_WAIT
  797. bool "Support -w SEC option (inetd wait mode)"
  798. default y
  799. depends on FEATURE_TELNETD_STANDALONE
  800. help
  801. This option allows you to run telnetd in "inet wait" mode.
  802. Example inetd.conf line (note "wait", not usual "nowait"):
  803. telnet stream tcp wait root /bin/telnetd telnetd -w10
  804. In this example, inetd passes _listening_ socket_ as fd 0
  805. to telnetd when connection appears.
  806. telnetd will wait for connections until all existing
  807. connections are closed, and no new connections
  808. appear during 10 seconds. Then it exits, and inetd continues
  809. to listen for new connections.
  810. This option is rarely used. "tcp nowait" is much more usual
  811. way of running tcp services, including telnetd.
  812. You most probably want to say N here.
  813. config TFTP
  814. bool "tftp (12 kb)"
  815. default y
  816. help
  817. Trivial File Transfer Protocol client. TFTP is usually used
  818. for simple, small transfers such as a root image
  819. for a network-enabled bootloader.
  820. config FEATURE_TFTP_PROGRESS_BAR
  821. bool "Enable progress bar"
  822. default y
  823. depends on TFTP
  824. config TFTPD
  825. bool "tftpd (10 kb)"
  826. default y
  827. help
  828. Trivial File Transfer Protocol server.
  829. It expects that stdin is a datagram socket and a packet
  830. is already pending on it. It will exit after one transfer.
  831. In other words: it should be run from inetd in nowait mode,
  832. or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
  833. comment "Common options for tftp/tftpd"
  834. depends on TFTP || TFTPD
  835. config FEATURE_TFTP_GET
  836. bool "Enable 'tftp get' and/or tftpd upload code"
  837. default y
  838. depends on TFTP || TFTPD
  839. help
  840. Add support for the GET command within the TFTP client. This allows
  841. a client to retrieve a file from a TFTP server.
  842. Also enable upload support in tftpd, if tftpd is selected.
  843. Note: this option does _not_ make tftpd capable of download
  844. (the usual operation people need from it)!
  845. config FEATURE_TFTP_PUT
  846. bool "Enable 'tftp put' and/or tftpd download code"
  847. default y
  848. depends on TFTP || TFTPD
  849. help
  850. Add support for the PUT command within the TFTP client. This allows
  851. a client to transfer a file to a TFTP server.
  852. Also enable download support in tftpd, if tftpd is selected.
  853. config FEATURE_TFTP_BLOCKSIZE
  854. bool "Enable 'blksize' and 'tsize' protocol options"
  855. default y
  856. depends on TFTP || TFTPD
  857. help
  858. Allow tftp to specify block size, and tftpd to understand
  859. "blksize" and "tsize" options.
  860. config TFTP_DEBUG
  861. bool "Enable debug"
  862. default n
  863. depends on TFTP || TFTPD
  864. help
  865. Make tftp[d] print debugging messages on stderr.
  866. This is useful if you are diagnosing a bug in tftp[d].
  867. config TLS
  868. bool #No description makes it a hidden option
  869. default n
  870. config TRACEROUTE
  871. bool "traceroute (11 kb)"
  872. default y
  873. select PLATFORM_LINUX
  874. help
  875. Utility to trace the route of IP packets.
  876. config TRACEROUTE6
  877. bool "traceroute6 (12 kb)"
  878. default y
  879. depends on FEATURE_IPV6
  880. help
  881. Utility to trace the route of IPv6 packets.
  882. config FEATURE_TRACEROUTE_VERBOSE
  883. bool "Enable verbose output"
  884. default y
  885. depends on TRACEROUTE || TRACEROUTE6
  886. help
  887. Add some verbosity to traceroute. This includes among other things
  888. hostnames and ICMP response types.
  889. config FEATURE_TRACEROUTE_USE_ICMP
  890. bool "Enable -I option (use ICMP instead of UDP)"
  891. default y
  892. depends on TRACEROUTE || TRACEROUTE6
  893. config TUNCTL
  894. bool "tunctl (6.4 kb)"
  895. default y
  896. select PLATFORM_LINUX
  897. help
  898. tunctl creates or deletes tun devices.
  899. config FEATURE_TUNCTL_UG
  900. bool "Support owner:group assignment"
  901. default y
  902. depends on TUNCTL
  903. help
  904. Allow to specify owner and group of newly created interface.
  905. 340 bytes of pure bloat. Say no here.
  906. config VCONFIG
  907. bool "vconfig (2.5 kb)"
  908. default y
  909. select PLATFORM_LINUX
  910. help
  911. Creates, removes, and configures VLAN interfaces
  912. config WGET
  913. bool "wget (35 kb)"
  914. default y
  915. help
  916. wget is a utility for non-interactive download of files from HTTP
  917. and FTP servers.
  918. config FEATURE_WGET_LONG_OPTIONS
  919. bool "Enable long options"
  920. default y
  921. depends on WGET && LONG_OPTS
  922. config FEATURE_WGET_STATUSBAR
  923. bool "Enable progress bar (+2k)"
  924. default y
  925. depends on WGET
  926. config FEATURE_WGET_AUTHENTICATION
  927. bool "Enable HTTP authentication"
  928. default y
  929. depends on WGET
  930. help
  931. Support authenticated HTTP transfers.
  932. config FEATURE_WGET_TIMEOUT
  933. bool "Enable timeout option -T SEC"
  934. default y
  935. depends on WGET
  936. help
  937. Supports network read and connect timeouts for wget,
  938. so that wget will give up and timeout, through the -T
  939. command line option.
  940. Currently only connect and network data read timeout are
  941. supported (i.e., timeout is not applied to the DNS query). When
  942. FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option
  943. will work in addition to -T.
  944. config FEATURE_WGET_HTTPS
  945. bool "Support HTTPS using internal TLS code"
  946. default y
  947. depends on WGET
  948. select TLS
  949. help
  950. wget will use internal TLS code to connect to https:// URLs.
  951. Note:
  952. On NOMMU machines, ssl_helper applet should be available
  953. in the $PATH for this to work. Make sure to select that applet.
  954. Note: currently, TLS code only makes TLS I/O work, it
  955. does *not* check that the peer is who it claims to be, etc.
  956. IOW: it uses peer-supplied public keys to establish encryption
  957. and signing keys, then encrypts and signs outgoing data and
  958. decrypts incoming data.
  959. It does not check signature hashes on the incoming data:
  960. this means that attackers manipulating TCP packets can
  961. send altered data and we unknowingly receive garbage.
  962. (This check might be relatively easy to add).
  963. It does not check public key's certificate:
  964. this means that the peer may be an attacker impersonating
  965. the server we think we are talking to.
  966. If you think this is unacceptable, consider this. As more and more
  967. servers switch to HTTPS-only operation, without such "crippled"
  968. TLS code it is *impossible* to simply download a kernel source
  969. from kernel.org. Which can in real world translate into
  970. "my small automatic tooling to build cross-compilers from sources
  971. no longer works, I need to additionally keep a local copy
  972. of ~4 megabyte source tarball of a SSL library and ~2 megabyte
  973. source of wget, need to compile and built both before I can
  974. download anything. All this despite the fact that the build
  975. is done in a QEMU sandbox on a machine with absolutely nothing
  976. worth stealing, so I don't care if someone would go to a lot
  977. of trouble to intercept my HTTPS download to send me an altered
  978. kernel tarball".
  979. If you still think this is unacceptable, send patches.
  980. If you still think this is unacceptable, do not want to send
  981. patches, but do want to waste bandwidth expaining how wrong
  982. it is, you will be ignored.
  983. config FEATURE_WGET_OPENSSL
  984. bool "Try to connect to HTTPS using openssl"
  985. default y
  986. depends on WGET
  987. help
  988. Try to use openssl to handle HTTPS.
  989. OpenSSL has a simple SSL client for debug purposes.
  990. If you select this option, wget will effectively run:
  991. "openssl s_client -quiet -connect hostname:443
  992. -servername hostname 2>/dev/null" and pipe its data
  993. through it. -servername is not used if hostname is numeric.
  994. Note inconvenient API: host resolution is done twice,
  995. and there is no guarantee openssl's idea of IPv6 address
  996. format is the same as ours.
  997. Another problem is that s_client prints debug information
  998. to stderr, and it needs to be suppressed. This means
  999. all error messages get suppressed too.
  1000. openssl is also a big binary, often dynamically linked
  1001. against ~15 libraries.
  1002. If openssl can't be executed, internal TLS code will be used
  1003. (if you enabled it); if openssl can be executed but fails later,
  1004. wget can't detect this, and download will fail.
  1005. config WHOIS
  1006. bool "whois (6.6 kb)"
  1007. default y
  1008. help
  1009. whois is a client for the whois directory service
  1010. config ZCIP
  1011. bool "zcip (7.8 kb)"
  1012. default y
  1013. select PLATFORM_LINUX
  1014. select FEATURE_SYSLOG
  1015. help
  1016. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
  1017. It's a daemon that allocates and defends a dynamically assigned
  1018. address on the 169.254/16 network, requiring no system administrator.
  1019. See http://www.zeroconf.org for further details, and "zcip.script"
  1020. in the busybox examples.
  1021. source networking/udhcp/Config.in
  1022. config IFUPDOWN_UDHCPC_CMD_OPTIONS
  1023. string "ifup udhcpc command line options"
  1024. default "-R -n"
  1025. depends on IFUP || IFDOWN
  1026. help
  1027. Command line options to pass to udhcpc from ifup.
  1028. Intended to alter options not available in /etc/network/interfaces.
  1029. (IE: --syslog --background etc...)
  1030. endmenu