Config.src 25 KB

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