Config.src 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Networking Utilities"
  6. INSERT
  7. config FEATURE_IPV6
  8. bool "Enable IPv6 support"
  9. default y
  10. help
  11. Enable IPv6 support in busybox.
  12. This adds IPv6 support in the networking applets.
  13. config FEATURE_UNIX_LOCAL
  14. bool "Enable Unix domain socket support (usually not needed)"
  15. default n
  16. help
  17. Enable Unix domain socket support in all busybox networking
  18. applets. Address of the form local:/path/to/unix/socket
  19. will be recognized.
  20. This extension is almost never used in real world usage.
  21. You most likely want to say N.
  22. config FEATURE_PREFER_IPV4_ADDRESS
  23. bool "Prefer IPv4 addresses from DNS queries"
  24. default y
  25. depends on FEATURE_IPV6
  26. help
  27. Use IPv4 address of network host if it has one.
  28. If this option is off, the first returned address will be used.
  29. This may cause problems when your DNS server is IPv6-capable and
  30. is returning IPv6 host addresses too. If IPv6 address
  31. precedes IPv4 one in DNS reply, busybox network applets
  32. (e.g. wget) will use IPv6 address. On an IPv6-incapable host
  33. or network applets will fail to connect to the host
  34. using IPv6 address.
  35. config VERBOSE_RESOLUTION_ERRORS
  36. bool "Verbose resolution errors"
  37. default n
  38. help
  39. Enable if you are not satisfied with simplistic
  40. "can't resolve 'hostname.com'" and want to know more.
  41. This may increase size of your executable a bit.
  42. config ARP
  43. bool "arp"
  44. default y
  45. select PLATFORM_LINUX
  46. help
  47. Manipulate the system ARP cache.
  48. config ARPING
  49. bool "arping"
  50. default y
  51. select PLATFORM_LINUX
  52. help
  53. Ping hosts by ARP packets.
  54. config BRCTL
  55. bool "brctl"
  56. default y
  57. select PLATFORM_LINUX
  58. help
  59. Manage ethernet bridges.
  60. Supports addbr/delbr and addif/delif.
  61. config FEATURE_BRCTL_FANCY
  62. bool "Fancy options"
  63. default y
  64. depends on BRCTL
  65. help
  66. Add support for extended option like:
  67. setageing, setfd, sethello, setmaxage,
  68. setpathcost, setportprio, setbridgeprio,
  69. stp
  70. This adds about 600 bytes.
  71. config FEATURE_BRCTL_SHOW
  72. bool "Support show"
  73. default y
  74. depends on BRCTL && FEATURE_BRCTL_FANCY
  75. help
  76. Add support for option which prints the current config:
  77. show
  78. config DNSD
  79. bool "dnsd"
  80. default y
  81. help
  82. Small and static DNS server daemon.
  83. config ETHER_WAKE
  84. bool "ether-wake"
  85. default y
  86. select PLATFORM_LINUX
  87. help
  88. Send a magic packet to wake up sleeping machines.
  89. config FAKEIDENTD
  90. bool "fakeidentd"
  91. default y
  92. select FEATURE_SYSLOG
  93. help
  94. fakeidentd listens on the ident port and returns a predefined
  95. fake value on any query.
  96. config FTPD
  97. bool "ftpd"
  98. default y
  99. help
  100. simple FTP daemon. You have to run it via inetd.
  101. config FEATURE_FTP_WRITE
  102. bool "Enable upload commands"
  103. default y
  104. depends on FTPD
  105. help
  106. Enable all kinds of FTP upload commands (-w option)
  107. config FEATURE_FTPD_ACCEPT_BROKEN_LIST
  108. bool "Enable workaround for RFC-violating clients"
  109. default y
  110. depends on FTPD
  111. help
  112. Some ftp clients (among them KDE's Konqueror) issue illegal
  113. "LIST -l" requests. This option works around such problems.
  114. It might prevent you from listing files starting with "-" and
  115. it increases the code size by ~40 bytes.
  116. Most other ftp servers seem to behave similar to this.
  117. config FTPGET
  118. bool "ftpget"
  119. default y
  120. help
  121. Retrieve a remote file via FTP.
  122. config FTPPUT
  123. bool "ftpput"
  124. default y
  125. help
  126. Store a remote file via FTP.
  127. config FEATURE_FTPGETPUT_LONG_OPTIONS
  128. bool "Enable long options in ftpget/ftpput"
  129. default y
  130. depends on LONG_OPTS && (FTPGET || FTPPUT)
  131. help
  132. Support long options for the ftpget/ftpput applet.
  133. config HOSTNAME
  134. bool "hostname"
  135. default y
  136. help
  137. Show or set the system's host name.
  138. config HTTPD
  139. bool "httpd"
  140. default y
  141. help
  142. Serve web pages via an HTTP server.
  143. config FEATURE_HTTPD_RANGES
  144. bool "Support 'Ranges:' header"
  145. default y
  146. depends on HTTPD
  147. help
  148. Makes httpd emit "Accept-Ranges: bytes" header and understand
  149. "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
  150. downloads, seeking in multimedia players etc.
  151. config FEATURE_HTTPD_USE_SENDFILE
  152. bool "Use sendfile system call"
  153. default y
  154. depends on HTTPD
  155. help
  156. When enabled, httpd will use the kernel sendfile() function
  157. instead of read/write loop.
  158. config FEATURE_HTTPD_SETUID
  159. bool "Enable -u <user> option"
  160. default y
  161. depends on HTTPD
  162. help
  163. This option allows the server to run as a specific user
  164. rather than defaulting to the user that starts the server.
  165. Use of this option requires special privileges to change to a
  166. different user.
  167. config FEATURE_HTTPD_BASIC_AUTH
  168. bool "Enable Basic http Authentication"
  169. default y
  170. depends on HTTPD
  171. help
  172. Utilizes password settings from /etc/httpd.conf for basic
  173. authentication on a per url basis.
  174. Example for httpd.conf file:
  175. /adm:toor:PaSsWd
  176. config FEATURE_HTTPD_AUTH_MD5
  177. bool "Support MD5 crypted passwords for http Authentication"
  178. default y
  179. depends on FEATURE_HTTPD_BASIC_AUTH
  180. help
  181. Enables encrypted passwords, and wildcard user/passwords
  182. in httpd.conf file.
  183. User '*' means 'any system user name is ok',
  184. password of '*' means 'use system password for this user'
  185. Examples:
  186. /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0
  187. /adm:root:*
  188. /wiki:*:*
  189. config FEATURE_HTTPD_CGI
  190. bool "Support Common Gateway Interface (CGI)"
  191. default y
  192. depends on HTTPD
  193. help
  194. This option allows scripts and executables to be invoked
  195. when specific URLs are requested.
  196. config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
  197. bool "Support for running scripts through an interpreter"
  198. default y
  199. depends on FEATURE_HTTPD_CGI
  200. help
  201. This option enables support for running scripts through an
  202. interpreter. Turn this on if you want PHP scripts to work
  203. properly. You need to supply an additional line in your
  204. httpd.conf file:
  205. *.php:/path/to/your/php
  206. config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
  207. bool "Set REMOTE_PORT environment variable for CGI"
  208. default y
  209. depends on FEATURE_HTTPD_CGI
  210. help
  211. Use of this option can assist scripts in generating
  212. references that contain a unique port number.
  213. config FEATURE_HTTPD_ENCODE_URL_STR
  214. bool "Enable -e option (useful for CGIs written as shell scripts)"
  215. default y
  216. depends on HTTPD
  217. help
  218. This option allows html encoding of arbitrary strings for display
  219. by the browser. Output goes to stdout.
  220. For example, httpd -e "<Hello World>" produces
  221. "&#60Hello&#32World&#62".
  222. config FEATURE_HTTPD_ERROR_PAGES
  223. bool "Support for custom error pages"
  224. default y
  225. depends on HTTPD
  226. help
  227. This option allows you to define custom error pages in
  228. the configuration file instead of the default HTTP status
  229. error pages. For instance, if you add the line:
  230. E404:/path/e404.html
  231. in the config file, the server will respond the specified
  232. '/path/e404.html' file instead of the terse '404 NOT FOUND'
  233. message.
  234. config FEATURE_HTTPD_PROXY
  235. bool "Support for reverse proxy"
  236. default y
  237. depends on HTTPD
  238. help
  239. This option allows you to define URLs that will be forwarded
  240. to another HTTP server. To setup add the following line to the
  241. configuration file
  242. P:/url/:http://hostname[:port]/new/path/
  243. Then a request to /url/myfile will be forwarded to
  244. http://hostname[:port]/new/path/myfile.
  245. config FEATURE_HTTPD_GZIP
  246. bool "Support for GZIP content encoding"
  247. default y
  248. depends on HTTPD
  249. help
  250. Makes httpd send files using GZIP content encoding if the
  251. client supports it and a pre-compressed <file>.gz exists.
  252. config IFCONFIG
  253. bool "ifconfig"
  254. default y
  255. select PLATFORM_LINUX
  256. help
  257. Ifconfig is used to configure the kernel-resident network interfaces.
  258. config FEATURE_IFCONFIG_STATUS
  259. bool "Enable status reporting output (+7k)"
  260. default y
  261. depends on IFCONFIG
  262. help
  263. If ifconfig is called with no arguments it will display the status
  264. of the currently active interfaces.
  265. config FEATURE_IFCONFIG_SLIP
  266. bool "Enable slip-specific options \"keepalive\" and \"outfill\""
  267. default y
  268. depends on IFCONFIG
  269. help
  270. Allow "keepalive" and "outfill" support for SLIP. If you're not
  271. planning on using serial lines, leave this unchecked.
  272. config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
  273. bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
  274. default y
  275. depends on IFCONFIG
  276. help
  277. Allow the start address for shared memory, start address for I/O,
  278. and/or the interrupt line used by the specified device.
  279. config FEATURE_IFCONFIG_HW
  280. bool "Enable option \"hw\" (ether only)"
  281. default y
  282. depends on IFCONFIG
  283. help
  284. Set the hardware address of this interface, if the device driver
  285. supports this operation. Currently, we only support the 'ether'
  286. class.
  287. config FEATURE_IFCONFIG_BROADCAST_PLUS
  288. bool "Set the broadcast automatically"
  289. default y
  290. depends on IFCONFIG
  291. help
  292. Setting this will make ifconfig attempt to find the broadcast
  293. automatically if the value '+' is used.
  294. config IFENSLAVE
  295. bool "ifenslave"
  296. default y
  297. select PLATFORM_LINUX
  298. help
  299. Userspace application to bind several interfaces
  300. to a logical interface (use with kernel bonding driver).
  301. config IFPLUGD
  302. bool "ifplugd"
  303. default y
  304. select PLATFORM_LINUX
  305. help
  306. Network interface plug detection daemon.
  307. config IFUPDOWN
  308. bool "ifupdown"
  309. default y
  310. help
  311. Activate or deactivate the specified interfaces. This applet makes
  312. use of either "ifconfig" and "route" or the "ip" command to actually
  313. configure network interfaces. Therefore, you will probably also want
  314. to enable either IFCONFIG and ROUTE, or enable
  315. FEATURE_IFUPDOWN_IP and the various IP options. Of
  316. course you could use non-busybox versions of these programs, so
  317. against my better judgement (since this will surely result in plenty
  318. of support questions on the mailing list), I do not force you to
  319. enable these additional options. It is up to you to supply either
  320. "ifconfig", "route" and "run-parts" or the "ip" command, either
  321. via busybox or via standalone utilities.
  322. config IFUPDOWN_IFSTATE_PATH
  323. string "Absolute path to ifstate file"
  324. default "/var/run/ifstate"
  325. depends on IFUPDOWN
  326. help
  327. ifupdown keeps state information in a file called ifstate.
  328. Typically it is located in /var/run/ifstate, however
  329. some distributions tend to put it in other places
  330. (debian, for example, uses /etc/network/run/ifstate).
  331. This config option defines location of ifstate.
  332. config FEATURE_IFUPDOWN_IP
  333. bool "Use ip applet"
  334. default y
  335. depends on IFUPDOWN
  336. help
  337. Use the iproute "ip" command to implement "ifup" and "ifdown", rather
  338. than the default of using the older 'ifconfig' and 'route' utilities.
  339. config FEATURE_IFUPDOWN_IP_BUILTIN
  340. bool "Use busybox ip applet"
  341. default y
  342. depends on FEATURE_IFUPDOWN_IP
  343. select PLATFORM_LINUX
  344. select IP
  345. select FEATURE_IP_ADDRESS
  346. select FEATURE_IP_LINK
  347. select FEATURE_IP_ROUTE
  348. help
  349. Use the busybox iproute "ip" applet to implement "ifupdown".
  350. If left disabled, you must install the full-blown iproute2
  351. utility or the "ifup" and "ifdown" applets will not work.
  352. config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
  353. bool "Use busybox ifconfig and route applets"
  354. default n
  355. depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
  356. select IFCONFIG
  357. select ROUTE
  358. help
  359. Use the busybox iproute "ifconfig" and "route" applets to
  360. implement the "ifup" and "ifdown" utilities.
  361. If left disabled, you must install the full-blown ifconfig
  362. and route utilities, or the "ifup" and "ifdown" applets will not
  363. work.
  364. config FEATURE_IFUPDOWN_IPV4
  365. bool "Support for IPv4"
  366. default y
  367. depends on IFUPDOWN
  368. help
  369. If you want ifup/ifdown to talk IPv4, leave this on.
  370. config FEATURE_IFUPDOWN_IPV6
  371. bool "Support for IPv6"
  372. default y
  373. depends on IFUPDOWN && FEATURE_IPV6
  374. help
  375. If you need support for IPv6, turn this option on.
  376. ### UNUSED
  377. ###config FEATURE_IFUPDOWN_IPX
  378. ### bool "Support for IPX"
  379. ### default y
  380. ### depends on IFUPDOWN
  381. ### help
  382. ### If this option is selected you can use busybox to work with IPX
  383. ### networks.
  384. config FEATURE_IFUPDOWN_MAPPING
  385. bool "Enable mapping support"
  386. default y
  387. depends on IFUPDOWN
  388. help
  389. This enables support for the "mapping" stanza, unless you have
  390. a weird network setup you don't need it.
  391. config FEATURE_IFUPDOWN_EXTERNAL_DHCP
  392. bool "Support for external dhcp clients"
  393. default n
  394. depends on IFUPDOWN
  395. help
  396. This enables support for the external dhcp clients. Clients are
  397. tried in the following order: dhcpcd, dhclient, pump and udhcpc.
  398. Otherwise, if udhcpc applet is enabled, it is used.
  399. Otherwise, ifup/ifdown will have no support for DHCP.
  400. config INETD
  401. bool "inetd"
  402. default y
  403. select FEATURE_SYSLOG
  404. help
  405. Internet superserver daemon
  406. config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
  407. bool "Support echo service"
  408. default y
  409. depends on INETD
  410. help
  411. Echo received data internal inetd service
  412. config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
  413. bool "Support discard service"
  414. default y
  415. depends on INETD
  416. help
  417. Internet /dev/null internal inetd service
  418. config FEATURE_INETD_SUPPORT_BUILTIN_TIME
  419. bool "Support time service"
  420. default y
  421. depends on INETD
  422. help
  423. Return 32 bit time since 1900 internal inetd service
  424. config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
  425. bool "Support daytime service"
  426. default y
  427. depends on INETD
  428. help
  429. Return human-readable time internal inetd service
  430. config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
  431. bool "Support chargen service"
  432. default y
  433. depends on INETD
  434. help
  435. Familiar character generator internal inetd service
  436. config FEATURE_INETD_RPC
  437. bool "Support RPC services"
  438. default y
  439. depends on INETD
  440. select FEATURE_HAVE_RPC
  441. help
  442. Support Sun-RPC based services
  443. config IP
  444. bool "ip"
  445. default y
  446. select PLATFORM_LINUX
  447. help
  448. The "ip" applet is a TCP/IP interface configuration and routing
  449. utility. You generally don't need "ip" to use busybox with
  450. TCP/IP.
  451. config FEATURE_IP_ADDRESS
  452. bool "ip address"
  453. default y
  454. depends on IP
  455. help
  456. Address manipulation support for the "ip" applet.
  457. config FEATURE_IP_LINK
  458. bool "ip link"
  459. default y
  460. depends on IP
  461. help
  462. Configure network devices with "ip".
  463. config FEATURE_IP_ROUTE
  464. bool "ip route"
  465. default y
  466. depends on IP
  467. help
  468. Add support for routing table management to "ip".
  469. config FEATURE_IP_TUNNEL
  470. bool "ip tunnel"
  471. default y
  472. depends on IP
  473. help
  474. Add support for tunneling commands to "ip".
  475. config FEATURE_IP_RULE
  476. bool "ip rule"
  477. default y
  478. depends on IP
  479. help
  480. Add support for rule commands to "ip".
  481. config FEATURE_IP_SHORT_FORMS
  482. bool "Support short forms of ip commands"
  483. default y
  484. depends on IP
  485. help
  486. Also support short-form of ip <OBJECT> commands:
  487. ip addr -> ipaddr
  488. ip link -> iplink
  489. ip route -> iproute
  490. ip tunnel -> iptunnel
  491. ip rule -> iprule
  492. Say N unless you desparately need the short form of the ip
  493. object commands.
  494. config FEATURE_IP_RARE_PROTOCOLS
  495. bool "Support displaying rarely used link types"
  496. default n
  497. depends on IP
  498. help
  499. If you are not going to use links of type "frad", "econet",
  500. "bif" etc, you probably don't need to enable this.
  501. Ethernet, wireless, infrared, ppp/slip, ip tunnelling
  502. link types are supported without this option selected.
  503. config IPADDR
  504. bool
  505. default y
  506. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
  507. config IPLINK
  508. bool
  509. default y
  510. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
  511. config IPROUTE
  512. bool
  513. default y
  514. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
  515. config IPTUNNEL
  516. bool
  517. default y
  518. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
  519. config IPRULE
  520. bool
  521. default y
  522. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
  523. config IPCALC
  524. bool "ipcalc"
  525. default y
  526. help
  527. ipcalc takes an IP address and netmask and calculates the
  528. resulting broadcast, network, and host range.
  529. config FEATURE_IPCALC_FANCY
  530. bool "Fancy IPCALC, more options, adds 1 kbyte"
  531. default y
  532. depends on IPCALC
  533. help
  534. Adds the options hostname, prefix and silent to the output of
  535. "ipcalc".
  536. config FEATURE_IPCALC_LONG_OPTIONS
  537. bool "Enable long options"
  538. default y
  539. depends on IPCALC && LONG_OPTS
  540. help
  541. Support long options for the ipcalc applet.
  542. config NETSTAT
  543. bool "netstat"
  544. default y
  545. select PLATFORM_LINUX
  546. help
  547. netstat prints information about the Linux networking subsystem.
  548. config FEATURE_NETSTAT_WIDE
  549. bool "Enable wide netstat output"
  550. default y
  551. depends on NETSTAT
  552. help
  553. Add support for wide columns. Useful when displaying IPv6 addresses
  554. (-W option).
  555. config FEATURE_NETSTAT_PRG
  556. bool "Enable PID/Program name output"
  557. default y
  558. depends on NETSTAT
  559. help
  560. Add support for -p flag to print out PID and program name.
  561. +700 bytes of code.
  562. config NSLOOKUP
  563. bool "nslookup"
  564. default y
  565. help
  566. nslookup is a tool to query Internet name servers.
  567. config NTPD
  568. bool "ntpd"
  569. default y
  570. select PLATFORM_LINUX
  571. help
  572. The NTP client/server daemon.
  573. config FEATURE_NTPD_SERVER
  574. bool "Make ntpd usable as a NTP server"
  575. default y
  576. depends on NTPD
  577. help
  578. Make ntpd usable as a NTP server. If you disable this option
  579. ntpd will be usable only as a NTP client.
  580. config PSCAN
  581. bool "pscan"
  582. default y
  583. help
  584. Simple network port scanner.
  585. config ROUTE
  586. bool "route"
  587. default y
  588. select PLATFORM_LINUX
  589. help
  590. Route displays or manipulates the kernel's IP routing tables.
  591. config SLATTACH
  592. bool "slattach"
  593. default y
  594. select PLATFORM_LINUX
  595. help
  596. slattach is a small utility to attach network interfaces to serial
  597. lines.
  598. #config TC
  599. # bool "tc"
  600. # default y
  601. # help
  602. # show / manipulate traffic control settings
  603. #
  604. #config FEATURE_TC_INGRESS
  605. # def_bool n
  606. # depends on TC
  607. config TCPSVD
  608. bool "tcpsvd"
  609. default y
  610. help
  611. tcpsvd listens on a TCP port and runs a program for each new
  612. connection.
  613. config TELNET
  614. bool "telnet"
  615. default y
  616. help
  617. Telnet is an interface to the TELNET protocol, but is also commonly
  618. used to test other simple protocols.
  619. config FEATURE_TELNET_TTYPE
  620. bool "Pass TERM type to remote host"
  621. default y
  622. depends on TELNET
  623. help
  624. Setting this option will forward the TERM environment variable to the
  625. remote host you are connecting to. This is useful to make sure that
  626. things like ANSI colors and other control sequences behave.
  627. config FEATURE_TELNET_AUTOLOGIN
  628. bool "Pass USER type to remote host"
  629. default y
  630. depends on TELNET
  631. help
  632. Setting this option will forward the USER environment variable to the
  633. remote host you are connecting to. This is useful when you need to
  634. log into a machine without telling the username (autologin). This
  635. option enables `-a' and `-l USER' arguments.
  636. config TELNETD
  637. bool "telnetd"
  638. default y
  639. select FEATURE_SYSLOG
  640. help
  641. A daemon for the TELNET protocol, allowing you to log onto the host
  642. running the daemon. Please keep in mind that the TELNET protocol
  643. sends passwords in plain text. If you can't afford the space for an
  644. SSH daemon and you trust your network, you may say 'y' here. As a
  645. more secure alternative, you should seriously consider installing the
  646. very small Dropbear SSH daemon instead:
  647. http://matt.ucc.asn.au/dropbear/dropbear.html
  648. Note that for busybox telnetd to work you need several things:
  649. First of all, your kernel needs:
  650. UNIX98_PTYS=y
  651. DEVPTS_FS=y
  652. Next, you need a /dev/pts directory on your root filesystem:
  653. $ ls -ld /dev/pts
  654. drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
  655. Next you need the pseudo terminal master multiplexer /dev/ptmx:
  656. $ ls -la /dev/ptmx
  657. crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
  658. Any /dev/ttyp[0-9]* files you may have can be removed.
  659. Next, you need to mount the devpts filesystem on /dev/pts using:
  660. mount -t devpts devpts /dev/pts
  661. You need to be sure that busybox has LOGIN and
  662. FEATURE_SUID enabled. And finally, you should make
  663. certain that Busybox has been installed setuid root:
  664. chown root.root /bin/busybox
  665. chmod 4755 /bin/busybox
  666. with all that done, telnetd _should_ work....
  667. config FEATURE_TELNETD_STANDALONE
  668. bool "Support standalone telnetd (not inetd only)"
  669. default y
  670. depends on TELNETD
  671. help
  672. Selecting this will make telnetd able to run standalone.
  673. config FEATURE_TELNETD_INETD_WAIT
  674. bool "Support -w SEC option (inetd wait mode)"
  675. default y
  676. depends on FEATURE_TELNETD_STANDALONE
  677. help
  678. This option allows you to run telnetd in "inet wait" mode.
  679. Example inetd.conf line (note "wait", not usual "nowait"):
  680. telnet stream tcp wait root /bin/telnetd telnetd -w10
  681. In this example, inetd passes _listening_ socket_ as fd 0
  682. to telnetd when connection appears.
  683. telnetd will wait for connections until all existing
  684. connections are closed, and no new connections
  685. appear during 10 seconds. Then it exits, and inetd continues
  686. to listen for new connections.
  687. This option is rarely used. "tcp nowait" is much more usual
  688. way of running tcp services, including telnetd.
  689. You most probably want to say N here.
  690. config TFTP
  691. bool "tftp"
  692. default y
  693. help
  694. This enables the Trivial File Transfer Protocol client program. TFTP
  695. is usually used for simple, small transfers such as a root image
  696. for a network-enabled bootloader.
  697. config TFTPD
  698. bool "tftpd"
  699. default y
  700. help
  701. This enables the Trivial File Transfer Protocol server program.
  702. It expects that stdin is a datagram socket and a packet
  703. is already pending on it. It will exit after one transfer.
  704. In other words: it should be run from inetd in nowait mode,
  705. or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
  706. comment "Common options for tftp/tftpd"
  707. depends on TFTP || TFTPD
  708. config FEATURE_TFTP_GET
  709. bool "Enable 'tftp get' and/or tftpd upload code"
  710. default y
  711. depends on TFTP || TFTPD
  712. help
  713. Add support for the GET command within the TFTP client. This allows
  714. a client to retrieve a file from a TFTP server.
  715. Also enable upload support in tftpd, if tftpd is selected.
  716. Note: this option does _not_ make tftpd capable of download
  717. (the usual operation people need from it)!
  718. config FEATURE_TFTP_PUT
  719. bool "Enable 'tftp put' and/or tftpd download code"
  720. default y
  721. depends on TFTP || TFTPD
  722. help
  723. Add support for the PUT command within the TFTP client. This allows
  724. a client to transfer a file to a TFTP server.
  725. Also enable download support in tftpd, if tftpd is selected.
  726. config FEATURE_TFTP_BLOCKSIZE
  727. bool "Enable 'blksize' and 'tsize' protocol options"
  728. default y
  729. depends on TFTP || TFTPD
  730. help
  731. Allow tftp to specify block size, and tftpd to understand
  732. "blksize" and "tsize" options.
  733. config FEATURE_TFTP_PROGRESS_BAR
  734. bool "Enable tftp progress meter"
  735. default y
  736. depends on TFTP && FEATURE_TFTP_BLOCKSIZE
  737. help
  738. Show progress bar.
  739. config TFTP_DEBUG
  740. bool "Enable debug"
  741. default n
  742. depends on TFTP || TFTPD
  743. help
  744. Make tftp[d] print debugging messages on stderr.
  745. This is useful if you are diagnosing a bug in tftp[d].
  746. config TRACEROUTE
  747. bool "traceroute"
  748. default y
  749. select PLATFORM_LINUX
  750. help
  751. Utility to trace the route of IP packets.
  752. config TRACEROUTE6
  753. bool "traceroute6"
  754. default y
  755. depends on FEATURE_IPV6 && TRACEROUTE
  756. help
  757. Utility to trace the route of IPv6 packets.
  758. config FEATURE_TRACEROUTE_VERBOSE
  759. bool "Enable verbose output"
  760. default y
  761. depends on TRACEROUTE
  762. help
  763. Add some verbosity to traceroute. This includes among other things
  764. hostnames and ICMP response types.
  765. config FEATURE_TRACEROUTE_SOURCE_ROUTE
  766. bool "Enable loose source route"
  767. default n
  768. depends on TRACEROUTE
  769. help
  770. Add option to specify a loose source route gateway
  771. (8 maximum).
  772. config FEATURE_TRACEROUTE_USE_ICMP
  773. bool "Use ICMP instead of UDP"
  774. default n
  775. depends on TRACEROUTE
  776. help
  777. Add option -I to use ICMP ECHO instead of UDP datagrams.
  778. config TUNCTL
  779. bool "tunctl"
  780. default y
  781. select PLATFORM_LINUX
  782. help
  783. tunctl creates or deletes tun devices.
  784. config FEATURE_TUNCTL_UG
  785. bool "Support owner:group assignment"
  786. default y
  787. depends on TUNCTL
  788. help
  789. Allow to specify owner and group of newly created interface.
  790. 340 bytes of pure bloat. Say no here.
  791. source networking/udhcp/Config.in
  792. config IFUPDOWN_UDHCPC_CMD_OPTIONS
  793. string "ifup udhcpc command line options"
  794. default "-R -n"
  795. depends on IFUPDOWN && UDHCPC
  796. help
  797. Command line options to pass to udhcpc from ifup.
  798. Intended to alter options not available in /etc/network/interfaces.
  799. (IE: --syslog --background etc...)
  800. config UDPSVD
  801. bool "udpsvd"
  802. default y
  803. help
  804. udpsvd listens on an UDP port and runs a program for each new
  805. connection.
  806. config VCONFIG
  807. bool "vconfig"
  808. default y
  809. select PLATFORM_LINUX
  810. help
  811. Creates, removes, and configures VLAN interfaces
  812. config WGET
  813. bool "wget"
  814. default y
  815. help
  816. wget is a utility for non-interactive download of files from HTTP
  817. and FTP servers.
  818. config FEATURE_WGET_STATUSBAR
  819. bool "Enable a nifty process meter (+2k)"
  820. default y
  821. depends on WGET
  822. help
  823. Enable the transfer progress bar for wget transfers.
  824. config FEATURE_WGET_AUTHENTICATION
  825. bool "Enable HTTP authentication"
  826. default y
  827. depends on WGET
  828. help
  829. Support authenticated HTTP transfers.
  830. config FEATURE_WGET_LONG_OPTIONS
  831. bool "Enable long options"
  832. default y
  833. depends on WGET && LONG_OPTS
  834. help
  835. Support long options for the wget applet.
  836. config FEATURE_WGET_TIMEOUT
  837. bool "Enable read timeout option -T SEC"
  838. default y
  839. depends on WGET
  840. help
  841. Supports network read timeout for wget, so that wget will give
  842. up and timeout when reading network data, through the -T command
  843. line option. Currently only network data read timeout is
  844. supported (i.e., timeout is not applied to the DNS nor TCP
  845. connection initialization). When FEATURE_WGET_LONG_OPTIONS is
  846. also enabled, the --timeout option will work in addition to -T.
  847. config ZCIP
  848. bool "zcip"
  849. default y
  850. select PLATFORM_LINUX
  851. select FEATURE_SYSLOG
  852. help
  853. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
  854. It's a daemon that allocates and defends a dynamically assigned
  855. address on the 169.254/16 network, requiring no system administrator.
  856. See http://www.zeroconf.org for further details, and "zcip.script"
  857. in the busybox examples.
  858. endmenu