Config.in 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210
  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 docs/Kconfig-language.txt.
  5. #
  6. menu "Networking Utilities"
  7. config BUSYBOX_CONFIG_FEATURE_IPV6
  8. bool "Enable IPv6 support"
  9. default BUSYBOX_DEFAULT_FEATURE_IPV6
  10. help
  11. Enable IPv6 support in busybox.
  12. This adds IPv6 support in the networking applets.
  13. config BUSYBOX_CONFIG_FEATURE_UNIX_LOCAL
  14. bool "Enable Unix domain socket support (usually not needed)"
  15. default BUSYBOX_DEFAULT_FEATURE_UNIX_LOCAL
  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 BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS
  23. bool "Prefer IPv4 addresses from DNS queries"
  24. default BUSYBOX_DEFAULT_FEATURE_PREFER_IPV4_ADDRESS
  25. depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS
  36. bool "Verbose resolution errors"
  37. default BUSYBOX_DEFAULT_VERBOSE_RESOLUTION_ERRORS
  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 BUSYBOX_CONFIG_FEATURE_TLS_SHA1
  43. bool "In TLS code, support ciphers which use deprecated SHA1"
  44. depends on BUSYBOX_CONFIG_TLS
  45. default BUSYBOX_DEFAULT_FEATURE_TLS_SHA1
  46. help
  47. Selecting this option increases interoperability with very old
  48. servers, but slightly increases code size.
  49. Most TLS servers support SHA256 today (2018), since SHA1 is
  50. considered possibly insecure (although not yet definitely broken).
  51. config BUSYBOX_CONFIG_ARP
  52. bool "arp (10 kb)"
  53. default BUSYBOX_DEFAULT_ARP
  54. select BUSYBOX_CONFIG_PLATFORM_LINUX
  55. help
  56. Manipulate the system ARP cache.
  57. config BUSYBOX_CONFIG_ARPING
  58. bool "arping (9 kb)"
  59. default BUSYBOX_DEFAULT_ARPING
  60. select BUSYBOX_CONFIG_PLATFORM_LINUX
  61. help
  62. Ping hosts by ARP packets.
  63. config BUSYBOX_CONFIG_BRCTL
  64. bool "brctl (4.7 kb)"
  65. default BUSYBOX_DEFAULT_BRCTL
  66. select BUSYBOX_CONFIG_PLATFORM_LINUX
  67. help
  68. Manage ethernet bridges.
  69. Supports addbr/delbr and addif/delif.
  70. config BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY
  71. bool "Fancy options"
  72. default BUSYBOX_DEFAULT_FEATURE_BRCTL_FANCY
  73. depends on BUSYBOX_CONFIG_BRCTL
  74. help
  75. Add support for extended option like:
  76. setageing, setfd, sethello, setmaxage,
  77. setpathcost, setportprio, setbridgeprio,
  78. stp
  79. This adds about 600 bytes.
  80. config BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW
  81. bool "Support show"
  82. default BUSYBOX_DEFAULT_FEATURE_BRCTL_SHOW
  83. depends on BUSYBOX_CONFIG_BRCTL && BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY
  84. help
  85. Add support for option which prints the current config:
  86. show
  87. config BUSYBOX_CONFIG_DNSD
  88. bool "dnsd (9.8 kb)"
  89. default BUSYBOX_DEFAULT_DNSD
  90. help
  91. Small and static DNS server daemon.
  92. config BUSYBOX_CONFIG_ETHER_WAKE
  93. bool "ether-wake (4.9 kb)"
  94. default BUSYBOX_DEFAULT_ETHER_WAKE
  95. select BUSYBOX_CONFIG_PLATFORM_LINUX
  96. help
  97. Send a magic packet to wake up sleeping machines.
  98. config BUSYBOX_CONFIG_FTPD
  99. bool "ftpd (30 kb)"
  100. default BUSYBOX_DEFAULT_FTPD
  101. help
  102. Simple FTP daemon. You have to run it via inetd.
  103. config BUSYBOX_CONFIG_FEATURE_FTPD_WRITE
  104. bool "Enable -w (upload commands)"
  105. default BUSYBOX_DEFAULT_FEATURE_FTPD_WRITE
  106. depends on BUSYBOX_CONFIG_FTPD
  107. help
  108. Enable -w option. "ftpd -w" will accept upload commands
  109. such as STOR, STOU, APPE, DELE, MKD, RMD, rename commands.
  110. config BUSYBOX_CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST
  111. bool "Enable workaround for RFC-violating clients"
  112. default BUSYBOX_DEFAULT_FEATURE_FTPD_ACCEPT_BROKEN_LIST
  113. depends on BUSYBOX_CONFIG_FTPD
  114. help
  115. Some ftp clients (among them KDE's Konqueror) issue illegal
  116. "LIST -l" requests. This option works around such problems.
  117. It might prevent you from listing files starting with "-" and
  118. it increases the code size by ~40 bytes.
  119. Most other ftp servers seem to behave similar to this.
  120. config BUSYBOX_CONFIG_FEATURE_FTPD_AUTHENTICATION
  121. bool "Enable authentication"
  122. default BUSYBOX_DEFAULT_FEATURE_FTPD_AUTHENTICATION
  123. depends on BUSYBOX_CONFIG_FTPD
  124. help
  125. Require login, and change to logged in user's UID:GID before
  126. accessing any files. Option "-a USER" allows "anonymous"
  127. logins (treats them as if USER logged in).
  128. If this option is not selected, ftpd runs with the rights
  129. of the user it was started under, and does not require login.
  130. Take care to not launch it under root.
  131. config BUSYBOX_CONFIG_FTPGET
  132. bool "ftpget (7.8 kb)"
  133. default BUSYBOX_DEFAULT_FTPGET
  134. help
  135. Retrieve a remote file via FTP.
  136. config BUSYBOX_CONFIG_FTPPUT
  137. bool "ftpput (7.5 kb)"
  138. default BUSYBOX_DEFAULT_FTPPUT
  139. help
  140. Store a remote file via FTP.
  141. config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS
  142. bool "Enable long options in ftpget/ftpput"
  143. default BUSYBOX_DEFAULT_FEATURE_FTPGETPUT_LONG_OPTIONS
  144. depends on BUSYBOX_CONFIG_LONG_OPTS && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT)
  145. config BUSYBOX_CONFIG_HOSTNAME
  146. bool "hostname (5.5 kb)"
  147. default BUSYBOX_DEFAULT_HOSTNAME
  148. help
  149. Show or set the system's host name.
  150. config BUSYBOX_CONFIG_DNSDOMAINNAME
  151. bool "dnsdomainname (3.6 kb)"
  152. default BUSYBOX_DEFAULT_DNSDOMAINNAME
  153. help
  154. Alias to "hostname -d".
  155. config BUSYBOX_CONFIG_HTTPD
  156. bool "httpd (32 kb)"
  157. default BUSYBOX_DEFAULT_HTTPD
  158. help
  159. HTTP server.
  160. config BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES
  161. bool "Support 'Ranges:' header"
  162. default BUSYBOX_DEFAULT_FEATURE_HTTPD_RANGES
  163. depends on BUSYBOX_CONFIG_HTTPD
  164. help
  165. Makes httpd emit "Accept-Ranges: bytes" header and understand
  166. "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
  167. downloads, seeking in multimedia players etc.
  168. config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID
  169. bool "Enable -u <user> option"
  170. default BUSYBOX_DEFAULT_FEATURE_HTTPD_SETUID
  171. depends on BUSYBOX_CONFIG_HTTPD
  172. help
  173. This option allows the server to run as a specific user
  174. rather than defaulting to the user that starts the server.
  175. Use of this option requires special privileges to change to a
  176. different user.
  177. config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
  178. bool "Enable HTTP authentication"
  179. default BUSYBOX_DEFAULT_FEATURE_HTTPD_BASIC_AUTH
  180. depends on BUSYBOX_CONFIG_HTTPD
  181. help
  182. Utilizes password settings from /etc/httpd.conf for basic
  183. authentication on a per url basis.
  184. Example for httpd.conf file:
  185. /adm:toor:PaSsWd
  186. config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5
  187. bool "Support MD5-encrypted passwords in HTTP authentication"
  188. default BUSYBOX_DEFAULT_FEATURE_HTTPD_AUTH_MD5
  189. depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
  190. help
  191. Enables encrypted passwords, and wildcard user/passwords
  192. in httpd.conf file.
  193. User '*' means 'any system user name is ok',
  194. password of '*' means 'use system password for this user'
  195. Examples:
  196. /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0
  197. /adm:root:*
  198. /wiki:*:*
  199. config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
  200. bool "Support Common Gateway Interface (CGI)"
  201. default BUSYBOX_DEFAULT_FEATURE_HTTPD_CGI
  202. depends on BUSYBOX_CONFIG_HTTPD
  203. help
  204. This option allows scripts and executables to be invoked
  205. when specific URLs are requested.
  206. config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
  207. bool "Support running scripts through an interpreter"
  208. default BUSYBOX_DEFAULT_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
  209. depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
  210. help
  211. This option enables support for running scripts through an
  212. interpreter. Turn this on if you want PHP scripts to work
  213. properly. You need to supply an additional line in your
  214. httpd.conf file:
  215. *.php:/path/to/your/php
  216. config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
  217. bool "Set REMOTE_PORT environment variable for CGI"
  218. default BUSYBOX_DEFAULT_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
  219. depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
  220. help
  221. Use of this option can assist scripts in generating
  222. references that contain a unique port number.
  223. config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
  224. bool "Enable -e option (useful for CGIs written as shell scripts)"
  225. default BUSYBOX_DEFAULT_FEATURE_HTTPD_ENCODE_URL_STR
  226. depends on BUSYBOX_CONFIG_HTTPD
  227. help
  228. This option allows html encoding of arbitrary strings for display
  229. by the browser. Output goes to stdout.
  230. For example, httpd -e "<Hello World>" produces
  231. "&#60Hello&#32World&#62".
  232. config BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES
  233. bool "Support custom error pages"
  234. default BUSYBOX_DEFAULT_FEATURE_HTTPD_ERROR_PAGES
  235. depends on BUSYBOX_CONFIG_HTTPD
  236. help
  237. This option allows you to define custom error pages in
  238. the configuration file instead of the default HTTP status
  239. error pages. For instance, if you add the line:
  240. E404:/path/e404.html
  241. in the config file, the server will respond the specified
  242. '/path/e404.html' file instead of the terse '404 NOT FOUND'
  243. message.
  244. config BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY
  245. bool "Support reverse proxy"
  246. default BUSYBOX_DEFAULT_FEATURE_HTTPD_PROXY
  247. depends on BUSYBOX_CONFIG_HTTPD
  248. help
  249. This option allows you to define URLs that will be forwarded
  250. to another HTTP server. To setup add the following line to the
  251. configuration file
  252. P:/url/:http://hostname[:port]/new/path/
  253. Then a request to /url/myfile will be forwarded to
  254. http://hostname[:port]/new/path/myfile.
  255. config BUSYBOX_CONFIG_FEATURE_HTTPD_GZIP
  256. bool "Support GZIP content encoding"
  257. default BUSYBOX_DEFAULT_FEATURE_HTTPD_GZIP
  258. depends on BUSYBOX_CONFIG_HTTPD
  259. help
  260. Makes httpd send files using GZIP content encoding if the
  261. client supports it and a pre-compressed <file>.gz exists.
  262. config BUSYBOX_CONFIG_IFCONFIG
  263. bool "ifconfig (12 kb)"
  264. default BUSYBOX_DEFAULT_IFCONFIG
  265. select BUSYBOX_CONFIG_PLATFORM_LINUX
  266. help
  267. Ifconfig is used to configure the kernel-resident network interfaces.
  268. config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS
  269. bool "Enable status reporting output (+7k)"
  270. default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_STATUS
  271. depends on BUSYBOX_CONFIG_IFCONFIG
  272. help
  273. If ifconfig is called with no arguments it will display the status
  274. of the currently active interfaces.
  275. config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP
  276. bool "Enable slip-specific options \"keepalive\" and \"outfill\""
  277. default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_SLIP
  278. depends on BUSYBOX_CONFIG_IFCONFIG
  279. help
  280. Allow "keepalive" and "outfill" support for SLIP. If you're not
  281. planning on using serial lines, leave this unchecked.
  282. config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
  283. bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
  284. default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
  285. depends on BUSYBOX_CONFIG_IFCONFIG
  286. help
  287. Allow the start address for shared memory, start address for I/O,
  288. and/or the interrupt line used by the specified device.
  289. config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW
  290. bool "Enable option \"hw\" (ether only)"
  291. default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_HW
  292. depends on BUSYBOX_CONFIG_IFCONFIG
  293. help
  294. Set the hardware address of this interface, if the device driver
  295. supports this operation. Currently, we only support the 'ether'
  296. class.
  297. config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
  298. bool "Set the broadcast automatically"
  299. default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_BROADCAST_PLUS
  300. depends on BUSYBOX_CONFIG_IFCONFIG
  301. help
  302. Setting this will make ifconfig attempt to find the broadcast
  303. automatically if the value '+' is used.
  304. config BUSYBOX_CONFIG_IFENSLAVE
  305. bool "ifenslave (13 kb)"
  306. default BUSYBOX_DEFAULT_IFENSLAVE
  307. select BUSYBOX_CONFIG_PLATFORM_LINUX
  308. help
  309. Userspace application to bind several interfaces
  310. to a logical interface (use with kernel bonding driver).
  311. config BUSYBOX_CONFIG_IFPLUGD
  312. bool "ifplugd (10 kb)"
  313. default BUSYBOX_DEFAULT_IFPLUGD
  314. select BUSYBOX_CONFIG_PLATFORM_LINUX
  315. help
  316. Network interface plug detection daemon.
  317. config BUSYBOX_CONFIG_IFUP
  318. bool "ifup (14 kb)"
  319. default BUSYBOX_DEFAULT_IFUP
  320. help
  321. Activate the specified interfaces. This applet makes use
  322. of either "ifconfig" and "route" or the "ip" command to actually
  323. configure network interfaces. Therefore, you will probably also want
  324. to enable either IFCONFIG and ROUTE, or enable
  325. FEATURE_IFUPDOWN_IP and the various IP options. Of
  326. course you could use non-busybox versions of these programs, so
  327. against my better judgement (since this will surely result in plenty
  328. of support questions on the mailing list), I do not force you to
  329. enable these additional options. It is up to you to supply either
  330. "ifconfig", "route" and "run-parts" or the "ip" command, either
  331. via busybox or via standalone utilities.
  332. config BUSYBOX_CONFIG_IFDOWN
  333. bool "ifdown (13 kb)"
  334. default BUSYBOX_DEFAULT_IFDOWN
  335. help
  336. Deactivate the specified interfaces.
  337. config BUSYBOX_CONFIG_IFUPDOWN_IFSTATE_PATH
  338. string "Absolute path to ifstate file"
  339. default BUSYBOX_DEFAULT_IFUPDOWN_IFSTATE_PATH
  340. depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
  341. help
  342. ifupdown keeps state information in a file called ifstate.
  343. Typically it is located in /var/run/ifstate, however
  344. some distributions tend to put it in other places
  345. (debian, for example, uses /etc/network/run/ifstate).
  346. This config option defines location of ifstate.
  347. config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP
  348. bool "Use ip tool (else ifconfig/route is used)"
  349. default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IP
  350. depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
  351. help
  352. Use the iproute "ip" command to implement "ifup" and "ifdown", rather
  353. than the default of using the older "ifconfig" and "route" utilities.
  354. If Y: you must install either the full-blown iproute2 package
  355. or enable "ip" applet in busybox, or the "ifup" and "ifdown" applets
  356. will not work.
  357. If N: you must install either the full-blown ifconfig and route
  358. utilities, or enable these applets in busybox.
  359. config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4
  360. bool "Support IPv4"
  361. default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV4
  362. depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
  363. help
  364. If you want ifup/ifdown to talk IPv4, leave this on.
  365. config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6
  366. bool "Support IPv6"
  367. default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV6
  368. depends on (BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN) && BUSYBOX_CONFIG_FEATURE_IPV6
  369. help
  370. If you need support for IPv6, turn this option on.
  371. config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING
  372. bool "Enable mapping support"
  373. default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_MAPPING
  374. depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
  375. help
  376. This enables support for the "mapping" stanza, unless you have
  377. a weird network setup you don't need it.
  378. config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP
  379. bool "Support external DHCP clients"
  380. default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_EXTERNAL_DHCP
  381. depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
  382. help
  383. This enables support for the external dhcp clients. Clients are
  384. tried in the following order: dhcpcd, dhclient, pump and udhcpc.
  385. Otherwise, if udhcpc applet is enabled, it is used.
  386. Otherwise, ifup/ifdown will have no support for DHCP.
  387. config BUSYBOX_CONFIG_INETD
  388. bool "inetd (18 kb)"
  389. default BUSYBOX_DEFAULT_INETD
  390. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  391. help
  392. Internet superserver daemon
  393. config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO
  394. bool "Support echo service on port 7"
  395. default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_ECHO
  396. depends on BUSYBOX_CONFIG_INETD
  397. help
  398. Internal service which echoes data back.
  399. Activated by configuration lines like these:
  400. echo stream tcp nowait root internal
  401. echo dgram udp wait root internal
  402. config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
  403. bool "Support discard service on port 8"
  404. default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
  405. depends on BUSYBOX_CONFIG_INETD
  406. help
  407. Internal service which discards all input.
  408. Activated by configuration lines like these:
  409. discard stream tcp nowait root internal
  410. discard dgram udp wait root internal
  411. config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME
  412. bool "Support time service on port 37"
  413. default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_TIME
  414. depends on BUSYBOX_CONFIG_INETD
  415. help
  416. Internal service which returns big-endian 32-bit number
  417. of seconds passed since 1900-01-01. The number wraps around
  418. on overflow.
  419. Activated by configuration lines like these:
  420. time stream tcp nowait root internal
  421. time dgram udp wait root internal
  422. config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
  423. bool "Support daytime service on port 13"
  424. default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
  425. depends on BUSYBOX_CONFIG_INETD
  426. help
  427. Internal service which returns human-readable time.
  428. Activated by configuration lines like these:
  429. daytime stream tcp nowait root internal
  430. daytime dgram udp wait root internal
  431. config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
  432. bool "Support chargen service on port 19"
  433. default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
  434. depends on BUSYBOX_CONFIG_INETD
  435. help
  436. Internal service which generates endless stream
  437. of all ASCII chars beetween space and char 126.
  438. Activated by configuration lines like these:
  439. chargen stream tcp nowait root internal
  440. chargen dgram udp wait root internal
  441. config BUSYBOX_CONFIG_FEATURE_INETD_RPC
  442. bool "Support RPC services"
  443. default BUSYBOX_DEFAULT_FEATURE_INETD_RPC # very rarely used, and needs Sun RPC support in libc
  444. depends on BUSYBOX_CONFIG_INETD
  445. help
  446. Support Sun-RPC based services
  447. config BUSYBOX_CONFIG_IP
  448. bool "ip (35 kb)"
  449. default BUSYBOX_DEFAULT_IP
  450. select BUSYBOX_CONFIG_PLATFORM_LINUX
  451. help
  452. The "ip" applet is a TCP/IP interface configuration and routing
  453. utility.
  454. Short forms (enabled below) are busybox-specific extensions.
  455. The standard "ip" utility does not provide them. If you are
  456. trying to be portable, it's better to use "ip CMD" forms.
  457. config BUSYBOX_CONFIG_IPADDR
  458. bool "ipaddr (14 kb)"
  459. default BUSYBOX_DEFAULT_IPADDR
  460. select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
  461. select BUSYBOX_CONFIG_PLATFORM_LINUX
  462. help
  463. Short form of "ip addr"
  464. config BUSYBOX_CONFIG_IPLINK
  465. bool "iplink (17 kb)"
  466. default BUSYBOX_DEFAULT_IPLINK
  467. select BUSYBOX_CONFIG_FEATURE_IP_LINK
  468. select BUSYBOX_CONFIG_PLATFORM_LINUX
  469. help
  470. Short form of "ip link"
  471. config BUSYBOX_CONFIG_IPROUTE
  472. bool "iproute (15 kb)"
  473. default BUSYBOX_DEFAULT_IPROUTE
  474. select BUSYBOX_CONFIG_FEATURE_IP_ROUTE
  475. select BUSYBOX_CONFIG_PLATFORM_LINUX
  476. help
  477. Short form of "ip route"
  478. config BUSYBOX_CONFIG_IPTUNNEL
  479. bool "iptunnel (9.6 kb)"
  480. default BUSYBOX_DEFAULT_IPTUNNEL
  481. select BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
  482. select BUSYBOX_CONFIG_PLATFORM_LINUX
  483. help
  484. Short form of "ip tunnel"
  485. config BUSYBOX_CONFIG_IPRULE
  486. bool "iprule (10 kb)"
  487. default BUSYBOX_DEFAULT_IPRULE
  488. select BUSYBOX_CONFIG_FEATURE_IP_RULE
  489. select BUSYBOX_CONFIG_PLATFORM_LINUX
  490. help
  491. Short form of "ip rule"
  492. config BUSYBOX_CONFIG_IPNEIGH
  493. bool "ipneigh (8.3 kb)"
  494. default BUSYBOX_DEFAULT_IPNEIGH
  495. select BUSYBOX_CONFIG_FEATURE_IP_NEIGH
  496. select BUSYBOX_CONFIG_PLATFORM_LINUX
  497. help
  498. Short form of "ip neigh"
  499. config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
  500. bool "ip address"
  501. default BUSYBOX_DEFAULT_FEATURE_IP_ADDRESS
  502. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR
  503. help
  504. Address manipulation support for the "ip" applet.
  505. config BUSYBOX_CONFIG_FEATURE_IP_LINK
  506. bool "ip link"
  507. default BUSYBOX_DEFAULT_FEATURE_IP_LINK
  508. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPLINK
  509. help
  510. Configure network devices with "ip".
  511. config BUSYBOX_CONFIG_FEATURE_IP_ROUTE
  512. bool "ip route"
  513. default BUSYBOX_DEFAULT_FEATURE_IP_ROUTE
  514. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPROUTE
  515. help
  516. Add support for routing table management to "ip".
  517. config BUSYBOX_CONFIG_FEATURE_IP_ROUTE_DIR
  518. string "ip route configuration directory"
  519. default BUSYBOX_DEFAULT_FEATURE_IP_ROUTE_DIR
  520. depends on BUSYBOX_CONFIG_FEATURE_IP_ROUTE
  521. help
  522. Location of the "ip" applet routing configuration.
  523. config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL
  524. bool "ip tunnel"
  525. default BUSYBOX_DEFAULT_FEATURE_IP_TUNNEL
  526. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPTUNNEL
  527. help
  528. Add support for tunneling commands to "ip".
  529. config BUSYBOX_CONFIG_FEATURE_IP_RULE
  530. bool "ip rule"
  531. default BUSYBOX_DEFAULT_FEATURE_IP_RULE
  532. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPRULE
  533. help
  534. Add support for rule commands to "ip".
  535. config BUSYBOX_CONFIG_FEATURE_IP_NEIGH
  536. bool "ip neighbor"
  537. default BUSYBOX_DEFAULT_FEATURE_IP_NEIGH
  538. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPNEIGH
  539. help
  540. Add support for neighbor commands to "ip".
  541. config BUSYBOX_CONFIG_FEATURE_IP_RARE_PROTOCOLS
  542. bool "Support displaying rarely used link types"
  543. default BUSYBOX_DEFAULT_FEATURE_IP_RARE_PROTOCOLS
  544. depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR || BUSYBOX_CONFIG_IPLINK || BUSYBOX_CONFIG_IPROUTE || BUSYBOX_CONFIG_IPTUNNEL || BUSYBOX_CONFIG_IPRULE || BUSYBOX_CONFIG_IPNEIGH
  545. help
  546. If you are not going to use links of type "frad", "econet",
  547. "bif" etc, you probably don't need to enable this.
  548. Ethernet, wireless, infrared, ppp/slip, ip tunnelling
  549. link types are supported without this option selected.
  550. config BUSYBOX_CONFIG_IPCALC
  551. bool "ipcalc (4.4 kb)"
  552. default BUSYBOX_DEFAULT_IPCALC
  553. help
  554. ipcalc takes an IP address and netmask and calculates the
  555. resulting broadcast, network, and host range.
  556. config BUSYBOX_CONFIG_FEATURE_IPCALC_LONG_OPTIONS
  557. bool "Enable long options"
  558. default BUSYBOX_DEFAULT_FEATURE_IPCALC_LONG_OPTIONS
  559. depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_LONG_OPTS
  560. config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY
  561. bool "Fancy IPCALC, more options, adds 1 kbyte"
  562. default BUSYBOX_DEFAULT_FEATURE_IPCALC_FANCY
  563. depends on BUSYBOX_CONFIG_IPCALC
  564. help
  565. Adds the options hostname, prefix and silent to the output of
  566. "ipcalc".
  567. config BUSYBOX_CONFIG_FAKEIDENTD
  568. bool "fakeidentd (8.7 kb)"
  569. default BUSYBOX_DEFAULT_FAKEIDENTD
  570. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  571. help
  572. fakeidentd listens on the ident port and returns a predefined
  573. fake value on any query.
  574. config BUSYBOX_CONFIG_NAMEIF
  575. bool "nameif (6.6 kb)"
  576. default BUSYBOX_DEFAULT_NAMEIF
  577. select BUSYBOX_CONFIG_PLATFORM_LINUX
  578. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  579. help
  580. nameif is used to rename network interface by its MAC address.
  581. Renamed interfaces MUST be in the down state.
  582. It is possible to use a file (default: /etc/mactab)
  583. with list of new interface names and MACs.
  584. Maximum interface name length: IFNAMSIZ = 16
  585. File fields are separated by space or tab.
  586. File format:
  587. # Comment
  588. new_interface_name XX:XX:XX:XX:XX:XX
  589. config BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED
  590. bool "Extended nameif"
  591. default BUSYBOX_DEFAULT_FEATURE_NAMEIF_EXTENDED
  592. depends on BUSYBOX_CONFIG_NAMEIF
  593. help
  594. This extends the nameif syntax to support the bus_info, driver,
  595. phyaddr selectors. The syntax is compatible to the normal nameif.
  596. File format:
  597. new_interface_name driver=asix bus=usb-0000:00:08.2-3
  598. new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
  599. new_interface_name phy_address=2 00:80:C8:38:91:B5
  600. new_interface_name mac=00:80:C8:38:91:B5
  601. new_interface_name 00:80:C8:38:91:B5
  602. config BUSYBOX_CONFIG_NBDCLIENT
  603. bool "nbd-client (6 kb)"
  604. default BUSYBOX_DEFAULT_NBDCLIENT
  605. help
  606. Network block device client
  607. config BUSYBOX_CONFIG_NC
  608. bool "nc (11 kb)"
  609. default BUSYBOX_DEFAULT_NC
  610. help
  611. A simple Unix utility which reads and writes data across network
  612. connections.
  613. config BUSYBOX_CONFIG_NETCAT
  614. bool "netcat (11 kb)"
  615. default BUSYBOX_DEFAULT_NETCAT
  616. help
  617. Alias to nc.
  618. config BUSYBOX_CONFIG_NC_SERVER
  619. bool "Netcat server options (-l)"
  620. default BUSYBOX_DEFAULT_NC_SERVER
  621. depends on BUSYBOX_CONFIG_NC || BUSYBOX_CONFIG_NETCAT
  622. help
  623. Allow netcat to act as a server.
  624. config BUSYBOX_CONFIG_NC_EXTRA
  625. bool "Netcat extensions (-eiw and -f FILE)"
  626. default BUSYBOX_DEFAULT_NC_EXTRA
  627. depends on BUSYBOX_CONFIG_NC || BUSYBOX_CONFIG_NETCAT
  628. help
  629. Add -e (support for executing the rest of the command line after
  630. making or receiving a successful connection), -i (delay interval for
  631. lines sent), -w (timeout for initial connection).
  632. config BUSYBOX_CONFIG_NC_110_COMPAT
  633. bool "Netcat 1.10 compatibility (+2.5k)"
  634. default BUSYBOX_DEFAULT_NC_110_COMPAT
  635. depends on BUSYBOX_CONFIG_NC || BUSYBOX_CONFIG_NETCAT
  636. help
  637. This option makes nc closely follow original nc-1.10.
  638. The code is about 2.5k bigger. It enables
  639. -s ADDR, -n, -u, -v, -o FILE, -z options, but loses
  640. busybox-specific extensions: -f FILE.
  641. config BUSYBOX_CONFIG_NETMSG
  642. bool "netmsg"
  643. default BUSYBOX_DEFAULT_NETMSG
  644. help
  645. simple program for sending udp broadcast messages
  646. config BUSYBOX_CONFIG_NETSTAT
  647. bool "netstat (10 kb)"
  648. default BUSYBOX_DEFAULT_NETSTAT
  649. select BUSYBOX_CONFIG_PLATFORM_LINUX
  650. help
  651. netstat prints information about the Linux networking subsystem.
  652. config BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE
  653. bool "Enable wide output"
  654. default BUSYBOX_DEFAULT_FEATURE_NETSTAT_WIDE
  655. depends on BUSYBOX_CONFIG_NETSTAT
  656. help
  657. Add support for wide columns. Useful when displaying IPv6 addresses
  658. (-W option).
  659. config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG
  660. bool "Enable PID/Program name output"
  661. default BUSYBOX_DEFAULT_FEATURE_NETSTAT_PRG
  662. depends on BUSYBOX_CONFIG_NETSTAT
  663. help
  664. Add support for -p flag to print out PID and program name.
  665. +700 bytes of code.
  666. config BUSYBOX_CONFIG_NSLOOKUP
  667. bool "nslookup (9.7 kb)"
  668. default BUSYBOX_DEFAULT_NSLOOKUP
  669. help
  670. nslookup is a tool to query Internet name servers.
  671. config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_BIG
  672. bool "Use internal resolver code instead of libc"
  673. depends on BUSYBOX_CONFIG_NSLOOKUP
  674. default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_BIG
  675. config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS
  676. bool "Enable long options"
  677. default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_LONG_OPTIONS
  678. depends on BUSYBOX_CONFIG_FEATURE_NSLOOKUP_BIG && BUSYBOX_CONFIG_LONG_OPTS
  679. config BUSYBOX_CONFIG_NSLOOKUP_OPENWRT
  680. bool "nslookup_openwrt"
  681. depends on !BUSYBOX_CONFIG_NSLOOKUP
  682. default BUSYBOX_DEFAULT_NSLOOKUP_OPENWRT
  683. help
  684. nslookup is a tool to query Internet name servers (LEDE flavor).
  685. config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS
  686. bool "Enable long options"
  687. default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS
  688. depends on BUSYBOX_CONFIG_NSLOOKUP_OPENWRT && BUSYBOX_CONFIG_LONG_OPTS
  689. help
  690. Support long options for the nslookup applet.
  691. config BUSYBOX_CONFIG_NTPD
  692. bool "ntpd (22 kb)"
  693. default BUSYBOX_DEFAULT_NTPD
  694. select BUSYBOX_CONFIG_PLATFORM_LINUX
  695. help
  696. The NTP client/server daemon.
  697. config BUSYBOX_CONFIG_FEATURE_NTPD_SERVER
  698. bool "Make ntpd usable as a NTP server"
  699. default BUSYBOX_DEFAULT_FEATURE_NTPD_SERVER
  700. depends on BUSYBOX_CONFIG_NTPD
  701. help
  702. Make ntpd usable as a NTP server. If you disable this option
  703. ntpd will be usable only as a NTP client.
  704. config BUSYBOX_CONFIG_FEATURE_NTPD_CONF
  705. bool "Make ntpd understand /etc/ntp.conf"
  706. default BUSYBOX_DEFAULT_FEATURE_NTPD_CONF
  707. depends on BUSYBOX_CONFIG_NTPD
  708. help
  709. Make ntpd look in /etc/ntp.conf for peers. Only "server address"
  710. is supported.
  711. config BUSYBOX_CONFIG_FEATURE_NTP_AUTH
  712. bool "Support md5/sha1 message authentication codes"
  713. default BUSYBOX_DEFAULT_FEATURE_NTP_AUTH
  714. depends on BUSYBOX_CONFIG_NTPD
  715. config BUSYBOX_CONFIG_PING
  716. bool "ping (10 kb)"
  717. default BUSYBOX_DEFAULT_PING
  718. select BUSYBOX_CONFIG_PLATFORM_LINUX
  719. help
  720. ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
  721. elicit an ICMP ECHO_RESPONSE from a host or gateway.
  722. config BUSYBOX_CONFIG_PING6
  723. bool "ping6 (11 kb)"
  724. default BUSYBOX_DEFAULT_PING6
  725. depends on BUSYBOX_CONFIG_FEATURE_IPV6
  726. help
  727. Alias to "ping -6".
  728. config BUSYBOX_CONFIG_FEATURE_FANCY_PING
  729. bool "Enable fancy ping output"
  730. default BUSYBOX_DEFAULT_FEATURE_FANCY_PING
  731. depends on BUSYBOX_CONFIG_PING || BUSYBOX_CONFIG_PING6
  732. help
  733. With this option off, ping will say "HOST is alive!"
  734. or terminate with SIGALRM in 5 seconds otherwise.
  735. No command-line options will be recognized.
  736. config BUSYBOX_CONFIG_PSCAN
  737. bool "pscan (6 kb)"
  738. default BUSYBOX_DEFAULT_PSCAN
  739. help
  740. Simple network port scanner.
  741. config BUSYBOX_CONFIG_ROUTE
  742. bool "route (8.7 kb)"
  743. default BUSYBOX_DEFAULT_ROUTE
  744. select BUSYBOX_CONFIG_PLATFORM_LINUX
  745. help
  746. Route displays or manipulates the kernel's IP routing tables.
  747. config BUSYBOX_CONFIG_SLATTACH
  748. bool "slattach (6.2 kb)"
  749. default BUSYBOX_DEFAULT_SLATTACH
  750. select BUSYBOX_CONFIG_PLATFORM_LINUX
  751. help
  752. slattach configures serial line as SLIP network interface.
  753. config BUSYBOX_CONFIG_SSL_CLIENT
  754. bool "ssl_client (25 kb)"
  755. default BUSYBOX_DEFAULT_SSL_CLIENT
  756. select BUSYBOX_CONFIG_TLS
  757. help
  758. This tool pipes data to/from a socket, TLS-encrypting it.
  759. config BUSYBOX_CONFIG_TC
  760. bool "tc (8.3 kb)"
  761. default BUSYBOX_DEFAULT_TC
  762. help
  763. Show / manipulate traffic control settings
  764. config BUSYBOX_CONFIG_FEATURE_TC_INGRESS
  765. bool "Enable ingress"
  766. default BUSYBOX_DEFAULT_FEATURE_TC_INGRESS
  767. depends on BUSYBOX_CONFIG_TC
  768. config BUSYBOX_CONFIG_TCPSVD
  769. bool "tcpsvd (14 kb)"
  770. default BUSYBOX_DEFAULT_TCPSVD
  771. help
  772. tcpsvd listens on a TCP port and runs a program for each new
  773. connection.
  774. config BUSYBOX_CONFIG_UDPSVD
  775. bool "udpsvd (13 kb)"
  776. default BUSYBOX_DEFAULT_UDPSVD
  777. help
  778. udpsvd listens on an UDP port and runs a program for each new
  779. connection.
  780. config BUSYBOX_CONFIG_TELNET
  781. bool "telnet (8.8 kb)"
  782. default BUSYBOX_DEFAULT_TELNET
  783. help
  784. Telnet is an interface to the TELNET protocol, but is also commonly
  785. used to test other simple protocols.
  786. config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE
  787. bool "Pass TERM type to remote host"
  788. default BUSYBOX_DEFAULT_FEATURE_TELNET_TTYPE
  789. depends on BUSYBOX_CONFIG_TELNET
  790. help
  791. Setting this option will forward the TERM environment variable to the
  792. remote host you are connecting to. This is useful to make sure that
  793. things like ANSI colors and other control sequences behave.
  794. config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN
  795. bool "Pass USER type to remote host"
  796. default BUSYBOX_DEFAULT_FEATURE_TELNET_AUTOLOGIN
  797. depends on BUSYBOX_CONFIG_TELNET
  798. help
  799. Setting this option will forward the USER environment variable to the
  800. remote host you are connecting to. This is useful when you need to
  801. log into a machine without telling the username (autologin). This
  802. option enables '-a' and '-l USER' options.
  803. config BUSYBOX_CONFIG_FEATURE_TELNET_WIDTH
  804. bool "Enable window size autodetection"
  805. default BUSYBOX_DEFAULT_FEATURE_TELNET_WIDTH
  806. depends on BUSYBOX_CONFIG_TELNET
  807. config BUSYBOX_CONFIG_TELNETD
  808. bool "telnetd (12 kb)"
  809. default BUSYBOX_DEFAULT_TELNETD
  810. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  811. help
  812. A daemon for the TELNET protocol, allowing you to log onto the host
  813. running the daemon. Please keep in mind that the TELNET protocol
  814. sends passwords in plain text. If you can't afford the space for an
  815. SSH daemon and you trust your network, you may say 'y' here. As a
  816. more secure alternative, you should seriously consider installing the
  817. very small Dropbear SSH daemon instead:
  818. http://matt.ucc.asn.au/dropbear/dropbear.html
  819. Note that for busybox telnetd to work you need several things:
  820. First of all, your kernel needs:
  821. CONFIG_UNIX98_PTYS=y
  822. Next, you need a /dev/pts directory on your root filesystem:
  823. $ ls -ld /dev/pts
  824. drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
  825. Next you need the pseudo terminal master multiplexer /dev/ptmx:
  826. $ ls -la /dev/ptmx
  827. crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
  828. Any /dev/ttyp[0-9]* files you may have can be removed.
  829. Next, you need to mount the devpts filesystem on /dev/pts using:
  830. mount -t devpts devpts /dev/pts
  831. You need to be sure that busybox has LOGIN and
  832. FEATURE_SUID enabled. And finally, you should make
  833. certain that busybox has been installed setuid root:
  834. chown root.root /bin/busybox
  835. chmod 4755 /bin/busybox
  836. with all that done, telnetd _should_ work....
  837. config BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE
  838. bool "Support standalone telnetd (not inetd only)"
  839. default BUSYBOX_DEFAULT_FEATURE_TELNETD_STANDALONE
  840. depends on BUSYBOX_CONFIG_TELNETD
  841. help
  842. Selecting this will make telnetd able to run standalone.
  843. config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD_WAIT
  844. bool "Support -w SEC option (inetd wait mode)"
  845. default BUSYBOX_DEFAULT_FEATURE_TELNETD_INETD_WAIT
  846. depends on BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE
  847. help
  848. This option allows you to run telnetd in "inet wait" mode.
  849. Example inetd.conf line (note "wait", not usual "nowait"):
  850. telnet stream tcp wait root /bin/telnetd telnetd -w10
  851. In this example, inetd passes _listening_ socket_ as fd 0
  852. to telnetd when connection appears.
  853. telnetd will wait for connections until all existing
  854. connections are closed, and no new connections
  855. appear during 10 seconds. Then it exits, and inetd continues
  856. to listen for new connections.
  857. This option is rarely used. "tcp nowait" is much more usual
  858. way of running tcp services, including telnetd.
  859. You most probably want to say N here.
  860. config BUSYBOX_CONFIG_TFTP
  861. bool "tftp (11 kb)"
  862. default BUSYBOX_DEFAULT_TFTP
  863. help
  864. Trivial File Transfer Protocol client. TFTP is usually used
  865. for simple, small transfers such as a root image
  866. for a network-enabled bootloader.
  867. config BUSYBOX_CONFIG_FEATURE_TFTP_PROGRESS_BAR
  868. bool "Enable progress bar"
  869. default BUSYBOX_DEFAULT_FEATURE_TFTP_PROGRESS_BAR
  870. depends on BUSYBOX_CONFIG_TFTP
  871. config BUSYBOX_CONFIG_FEATURE_TFTP_HPA_COMPAT
  872. bool "tftp-hpa compat (support -c get/put FILE)"
  873. default BUSYBOX_DEFAULT_FEATURE_TFTP_HPA_COMPAT
  874. depends on BUSYBOX_CONFIG_TFTP
  875. config BUSYBOX_CONFIG_TFTPD
  876. bool "tftpd (10 kb)"
  877. default BUSYBOX_DEFAULT_TFTPD
  878. help
  879. Trivial File Transfer Protocol server.
  880. It expects that stdin is a datagram socket and a packet
  881. is already pending on it. It will exit after one transfer.
  882. In other words: it should be run from inetd in nowait mode,
  883. or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
  884. config BUSYBOX_CONFIG_FEATURE_TFTP_GET
  885. bool "Enable 'tftp get' and/or tftpd upload code"
  886. default BUSYBOX_DEFAULT_FEATURE_TFTP_GET
  887. depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD
  888. help
  889. Add support for the GET command within the TFTP client. This allows
  890. a client to retrieve a file from a TFTP server.
  891. Also enable upload support in tftpd, if tftpd is selected.
  892. Note: this option does _not_ make tftpd capable of download
  893. (the usual operation people need from it)!
  894. config BUSYBOX_CONFIG_FEATURE_TFTP_PUT
  895. bool "Enable 'tftp put' and/or tftpd download code"
  896. default BUSYBOX_DEFAULT_FEATURE_TFTP_PUT
  897. depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD
  898. help
  899. Add support for the PUT command within the TFTP client. This allows
  900. a client to transfer a file to a TFTP server.
  901. Also enable download support in tftpd, if tftpd is selected.
  902. config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE
  903. bool "Enable 'blksize' and 'tsize' protocol options"
  904. default BUSYBOX_DEFAULT_FEATURE_TFTP_BLOCKSIZE
  905. depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD
  906. help
  907. Allow tftp to specify block size, and tftpd to understand
  908. "blksize" and "tsize" options.
  909. config BUSYBOX_CONFIG_TFTP_DEBUG
  910. bool "Enable debug"
  911. default BUSYBOX_DEFAULT_TFTP_DEBUG
  912. depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD
  913. help
  914. Make tftp[d] print debugging messages on stderr.
  915. This is useful if you are diagnosing a bug in tftp[d].
  916. config BUSYBOX_CONFIG_TLS
  917. bool #No description makes it a hidden option
  918. default BUSYBOX_DEFAULT_TLS
  919. config BUSYBOX_CONFIG_TRACEROUTE
  920. bool "traceroute (11 kb)"
  921. default BUSYBOX_DEFAULT_TRACEROUTE
  922. select BUSYBOX_CONFIG_PLATFORM_LINUX
  923. help
  924. Utility to trace the route of IP packets.
  925. config BUSYBOX_CONFIG_TRACEROUTE6
  926. bool "traceroute6 (13 kb)"
  927. default BUSYBOX_DEFAULT_TRACEROUTE6
  928. depends on BUSYBOX_CONFIG_FEATURE_IPV6
  929. help
  930. Utility to trace the route of IPv6 packets.
  931. config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE
  932. bool "Enable verbose output"
  933. default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_VERBOSE
  934. depends on BUSYBOX_CONFIG_TRACEROUTE || BUSYBOX_CONFIG_TRACEROUTE6
  935. help
  936. Add some verbosity to traceroute. This includes among other things
  937. hostnames and ICMP response types.
  938. config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP
  939. bool "Enable -I option (use ICMP instead of UDP)"
  940. default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_USE_ICMP
  941. depends on BUSYBOX_CONFIG_TRACEROUTE || BUSYBOX_CONFIG_TRACEROUTE6
  942. config BUSYBOX_CONFIG_TUNCTL
  943. bool "tunctl (6.2 kb)"
  944. default BUSYBOX_DEFAULT_TUNCTL
  945. select BUSYBOX_CONFIG_PLATFORM_LINUX
  946. help
  947. tunctl creates or deletes tun devices.
  948. config BUSYBOX_CONFIG_FEATURE_TUNCTL_UG
  949. bool "Support owner:group assignment"
  950. default BUSYBOX_DEFAULT_FEATURE_TUNCTL_UG
  951. depends on BUSYBOX_CONFIG_TUNCTL
  952. help
  953. Allow to specify owner and group of newly created interface.
  954. 340 bytes of pure bloat. Say no here.
  955. config BUSYBOX_CONFIG_VCONFIG
  956. bool "vconfig (2.3 kb)"
  957. default BUSYBOX_DEFAULT_VCONFIG
  958. select BUSYBOX_CONFIG_PLATFORM_LINUX
  959. help
  960. Creates, removes, and configures VLAN interfaces
  961. config BUSYBOX_CONFIG_WGET
  962. bool "wget (38 kb)"
  963. default BUSYBOX_DEFAULT_WGET
  964. help
  965. wget is a utility for non-interactive download of files from HTTP
  966. and FTP servers.
  967. config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS
  968. bool "Enable long options"
  969. default BUSYBOX_DEFAULT_FEATURE_WGET_LONG_OPTIONS
  970. depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_LONG_OPTS
  971. config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR
  972. bool "Enable progress bar (+2k)"
  973. default BUSYBOX_DEFAULT_FEATURE_WGET_STATUSBAR
  974. depends on BUSYBOX_CONFIG_WGET
  975. config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION
  976. bool "Enable HTTP authentication"
  977. default BUSYBOX_DEFAULT_FEATURE_WGET_AUTHENTICATION
  978. depends on BUSYBOX_CONFIG_WGET
  979. help
  980. Support authenticated HTTP transfers.
  981. config BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT
  982. bool "Enable timeout option -T SEC"
  983. default BUSYBOX_DEFAULT_FEATURE_WGET_TIMEOUT
  984. depends on BUSYBOX_CONFIG_WGET
  985. help
  986. Supports network read and connect timeouts for wget,
  987. so that wget will give up and timeout, through the -T
  988. command line option.
  989. Currently only connect and network data read timeout are
  990. supported (i.e., timeout is not applied to the DNS query). When
  991. FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option
  992. will work in addition to -T.
  993. config BUSYBOX_CONFIG_FEATURE_WGET_HTTPS
  994. bool "Support HTTPS using internal TLS code"
  995. default BUSYBOX_DEFAULT_FEATURE_WGET_HTTPS
  996. depends on BUSYBOX_CONFIG_WGET
  997. select BUSYBOX_CONFIG_TLS
  998. help
  999. wget will use internal TLS code to connect to https:// URLs.
  1000. Note:
  1001. On NOMMU machines, ssl_helper applet should be available
  1002. in the $PATH for this to work. Make sure to select that applet.
  1003. Note: currently, TLS code only makes TLS I/O work, it
  1004. does *not* check that the peer is who it claims to be, etc.
  1005. IOW: it uses peer-supplied public keys to establish encryption
  1006. and signing keys, then encrypts and signs outgoing data and
  1007. decrypts incoming data.
  1008. It does not check signature hashes on the incoming data:
  1009. this means that attackers manipulating TCP packets can
  1010. send altered data and we unknowingly receive garbage.
  1011. (This check might be relatively easy to add).
  1012. It does not check public key's certificate:
  1013. this means that the peer may be an attacker impersonating
  1014. the server we think we are talking to.
  1015. If you think this is unacceptable, consider this. As more and more
  1016. servers switch to HTTPS-only operation, without such "crippled"
  1017. TLS code it is *impossible* to simply download a kernel source
  1018. from kernel.org. Which can in real world translate into
  1019. "my small automatic tooling to build cross-compilers from sources
  1020. no longer works, I need to additionally keep a local copy
  1021. of ~4 megabyte source tarball of a SSL library and ~2 megabyte
  1022. source of wget, need to compile and built both before I can
  1023. download anything. All this despite the fact that the build
  1024. is done in a QEMU sandbox on a machine with absolutely nothing
  1025. worth stealing, so I don't care if someone would go to a lot
  1026. of trouble to intercept my HTTPS download to send me an altered
  1027. kernel tarball".
  1028. If you still think this is unacceptable, send patches.
  1029. If you still think this is unacceptable, do not want to send
  1030. patches, but do want to waste bandwidth expaining how wrong
  1031. it is, you will be ignored.
  1032. config BUSYBOX_CONFIG_FEATURE_WGET_OPENSSL
  1033. bool "Try to connect to HTTPS using openssl"
  1034. default BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL
  1035. depends on BUSYBOX_CONFIG_WGET
  1036. help
  1037. Try to use openssl to handle HTTPS.
  1038. OpenSSL has a simple SSL client for debug purposes.
  1039. If you select this option, wget will effectively run:
  1040. "openssl s_client -quiet -connect hostname:443
  1041. -servername hostname 2>/dev/null" and pipe its data
  1042. through it. -servername is not used if hostname is numeric.
  1043. Note inconvenient API: host resolution is done twice,
  1044. and there is no guarantee openssl's idea of IPv6 address
  1045. format is the same as ours.
  1046. Another problem is that s_client prints debug information
  1047. to stderr, and it needs to be suppressed. This means
  1048. all error messages get suppressed too.
  1049. openssl is also a big binary, often dynamically linked
  1050. against ~15 libraries.
  1051. If openssl can't be executed, internal TLS code will be used
  1052. (if you enabled it); if openssl can be executed but fails later,
  1053. wget can't detect this, and download will fail.
  1054. config BUSYBOX_CONFIG_WHOIS
  1055. bool "whois (6.3 kb)"
  1056. default BUSYBOX_DEFAULT_WHOIS
  1057. help
  1058. whois is a client for the whois directory service
  1059. config BUSYBOX_CONFIG_ZCIP
  1060. bool "zcip (8.4 kb)"
  1061. default BUSYBOX_DEFAULT_ZCIP
  1062. select BUSYBOX_CONFIG_PLATFORM_LINUX
  1063. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  1064. help
  1065. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
  1066. It's a daemon that allocates and defends a dynamically assigned
  1067. address on the 169.254/16 network, requiring no system administrator.
  1068. See http://www.zeroconf.org for further details, and "zcip.script"
  1069. in the busybox examples.
  1070. source udhcp/Config.in
  1071. config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS
  1072. string "ifup udhcpc command line options"
  1073. default BUSYBOX_DEFAULT_IFUPDOWN_UDHCPC_CMD_OPTIONS
  1074. depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN
  1075. help
  1076. Command line options to pass to udhcpc from ifup.
  1077. Intended to alter options not available in /etc/network/interfaces.
  1078. (IE: --syslog --background etc...)
  1079. endmenu