Config.src 25 KB

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