Config.in 43 KB

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