Config.src 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983
  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 n # very rarely used, and needs Sun RPC support in libc
  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_NEIGH
  487. bool "ip neighbor"
  488. default y
  489. depends on IP
  490. help
  491. Add support for neighbor commands to "ip".
  492. config FEATURE_IP_SHORT_FORMS
  493. bool "Support short forms of ip commands"
  494. default y
  495. depends on IP
  496. help
  497. Also support short-form of ip <OBJECT> commands:
  498. ip addr -> ipaddr
  499. ip link -> iplink
  500. ip route -> iproute
  501. ip tunnel -> iptunnel
  502. ip rule -> iprule
  503. ip neigh -> ipneigh
  504. Say N unless you desparately need the short form of the ip
  505. object commands.
  506. config FEATURE_IP_RARE_PROTOCOLS
  507. bool "Support displaying rarely used link types"
  508. default n
  509. depends on IP
  510. help
  511. If you are not going to use links of type "frad", "econet",
  512. "bif" etc, you probably don't need to enable this.
  513. Ethernet, wireless, infrared, ppp/slip, ip tunnelling
  514. link types are supported without this option selected.
  515. config IPADDR
  516. bool
  517. default y
  518. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
  519. config IPLINK
  520. bool
  521. default y
  522. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
  523. config IPROUTE
  524. bool
  525. default y
  526. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
  527. config IPTUNNEL
  528. bool
  529. default y
  530. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
  531. config IPRULE
  532. bool
  533. default y
  534. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
  535. config IPNEIGH
  536. bool
  537. default y
  538. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_NEIGH
  539. config IPCALC
  540. bool "ipcalc"
  541. default y
  542. help
  543. ipcalc takes an IP address and netmask and calculates the
  544. resulting broadcast, network, and host range.
  545. config FEATURE_IPCALC_FANCY
  546. bool "Fancy IPCALC, more options, adds 1 kbyte"
  547. default y
  548. depends on IPCALC
  549. help
  550. Adds the options hostname, prefix and silent to the output of
  551. "ipcalc".
  552. config FEATURE_IPCALC_LONG_OPTIONS
  553. bool "Enable long options"
  554. default y
  555. depends on IPCALC && LONG_OPTS
  556. help
  557. Support long options for the ipcalc applet.
  558. config NETSTAT
  559. bool "netstat"
  560. default y
  561. select PLATFORM_LINUX
  562. help
  563. netstat prints information about the Linux networking subsystem.
  564. config FEATURE_NETSTAT_WIDE
  565. bool "Enable wide netstat output"
  566. default y
  567. depends on NETSTAT
  568. help
  569. Add support for wide columns. Useful when displaying IPv6 addresses
  570. (-W option).
  571. config FEATURE_NETSTAT_PRG
  572. bool "Enable PID/Program name output"
  573. default y
  574. depends on NETSTAT
  575. help
  576. Add support for -p flag to print out PID and program name.
  577. +700 bytes of code.
  578. config NSLOOKUP
  579. bool "nslookup"
  580. default y
  581. help
  582. nslookup is a tool to query Internet name servers.
  583. config NTPD
  584. bool "ntpd"
  585. default y
  586. select PLATFORM_LINUX
  587. help
  588. The NTP client/server daemon.
  589. config FEATURE_NTPD_SERVER
  590. bool "Make ntpd usable as a NTP server"
  591. default y
  592. depends on NTPD
  593. help
  594. Make ntpd usable as a NTP server. If you disable this option
  595. ntpd will be usable only as a NTP client.
  596. config FEATURE_NTPD_CONF
  597. bool "Make ntpd understand /etc/ntp.conf"
  598. default y
  599. depends on NTPD
  600. help
  601. Make ntpd look in /etc/ntp.conf for peers. Only "server address"
  602. is supported.
  603. config PSCAN
  604. bool "pscan"
  605. default y
  606. help
  607. Simple network port scanner.
  608. config ROUTE
  609. bool "route"
  610. default y
  611. select PLATFORM_LINUX
  612. help
  613. Route displays or manipulates the kernel's IP routing tables.
  614. config SLATTACH
  615. bool "slattach"
  616. default y
  617. select PLATFORM_LINUX
  618. help
  619. slattach is a small utility to attach network interfaces to serial
  620. lines.
  621. #config TC
  622. # bool "tc"
  623. # default y
  624. # help
  625. # show / manipulate traffic control settings
  626. #
  627. #config FEATURE_TC_INGRESS
  628. # def_bool n
  629. # depends on TC
  630. config TCPSVD
  631. bool "tcpsvd"
  632. default y
  633. help
  634. tcpsvd listens on a TCP port and runs a program for each new
  635. connection.
  636. config TELNET
  637. bool "telnet"
  638. default y
  639. help
  640. Telnet is an interface to the TELNET protocol, but is also commonly
  641. used to test other simple protocols.
  642. config FEATURE_TELNET_TTYPE
  643. bool "Pass TERM type to remote host"
  644. default y
  645. depends on TELNET
  646. help
  647. Setting this option will forward the TERM environment variable to the
  648. remote host you are connecting to. This is useful to make sure that
  649. things like ANSI colors and other control sequences behave.
  650. config FEATURE_TELNET_AUTOLOGIN
  651. bool "Pass USER type to remote host"
  652. default y
  653. depends on TELNET
  654. help
  655. Setting this option will forward the USER environment variable to the
  656. remote host you are connecting to. This is useful when you need to
  657. log into a machine without telling the username (autologin). This
  658. option enables `-a' and `-l USER' arguments.
  659. config TELNETD
  660. bool "telnetd"
  661. default y
  662. select FEATURE_SYSLOG
  663. help
  664. A daemon for the TELNET protocol, allowing you to log onto the host
  665. running the daemon. Please keep in mind that the TELNET protocol
  666. sends passwords in plain text. If you can't afford the space for an
  667. SSH daemon and you trust your network, you may say 'y' here. As a
  668. more secure alternative, you should seriously consider installing the
  669. very small Dropbear SSH daemon instead:
  670. http://matt.ucc.asn.au/dropbear/dropbear.html
  671. Note that for busybox telnetd to work you need several things:
  672. First of all, your kernel needs:
  673. CONFIG_UNIX98_PTYS=y
  674. Next, you need a /dev/pts directory on your root filesystem:
  675. $ ls -ld /dev/pts
  676. drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
  677. Next you need the pseudo terminal master multiplexer /dev/ptmx:
  678. $ ls -la /dev/ptmx
  679. crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
  680. Any /dev/ttyp[0-9]* files you may have can be removed.
  681. Next, you need to mount the devpts filesystem on /dev/pts using:
  682. mount -t devpts devpts /dev/pts
  683. You need to be sure that busybox has LOGIN and
  684. FEATURE_SUID enabled. And finally, you should make
  685. certain that Busybox has been installed setuid root:
  686. chown root.root /bin/busybox
  687. chmod 4755 /bin/busybox
  688. with all that done, telnetd _should_ work....
  689. config FEATURE_TELNETD_STANDALONE
  690. bool "Support standalone telnetd (not inetd only)"
  691. default y
  692. depends on TELNETD
  693. help
  694. Selecting this will make telnetd able to run standalone.
  695. config FEATURE_TELNETD_INETD_WAIT
  696. bool "Support -w SEC option (inetd wait mode)"
  697. default y
  698. depends on FEATURE_TELNETD_STANDALONE
  699. help
  700. This option allows you to run telnetd in "inet wait" mode.
  701. Example inetd.conf line (note "wait", not usual "nowait"):
  702. telnet stream tcp wait root /bin/telnetd telnetd -w10
  703. In this example, inetd passes _listening_ socket_ as fd 0
  704. to telnetd when connection appears.
  705. telnetd will wait for connections until all existing
  706. connections are closed, and no new connections
  707. appear during 10 seconds. Then it exits, and inetd continues
  708. to listen for new connections.
  709. This option is rarely used. "tcp nowait" is much more usual
  710. way of running tcp services, including telnetd.
  711. You most probably want to say N here.
  712. config TFTP
  713. bool "tftp"
  714. default y
  715. help
  716. This enables the Trivial File Transfer Protocol client program. TFTP
  717. is usually used for simple, small transfers such as a root image
  718. for a network-enabled bootloader.
  719. config TFTPD
  720. bool "tftpd"
  721. default y
  722. help
  723. This enables the Trivial File Transfer Protocol server program.
  724. It expects that stdin is a datagram socket and a packet
  725. is already pending on it. It will exit after one transfer.
  726. In other words: it should be run from inetd in nowait mode,
  727. or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
  728. comment "Common options for tftp/tftpd"
  729. depends on TFTP || TFTPD
  730. config FEATURE_TFTP_GET
  731. bool "Enable 'tftp get' and/or tftpd upload code"
  732. default y
  733. depends on TFTP || TFTPD
  734. help
  735. Add support for the GET command within the TFTP client. This allows
  736. a client to retrieve a file from a TFTP server.
  737. Also enable upload support in tftpd, if tftpd is selected.
  738. Note: this option does _not_ make tftpd capable of download
  739. (the usual operation people need from it)!
  740. config FEATURE_TFTP_PUT
  741. bool "Enable 'tftp put' and/or tftpd download code"
  742. default y
  743. depends on TFTP || TFTPD
  744. help
  745. Add support for the PUT command within the TFTP client. This allows
  746. a client to transfer a file to a TFTP server.
  747. Also enable download support in tftpd, if tftpd is selected.
  748. config FEATURE_TFTP_BLOCKSIZE
  749. bool "Enable 'blksize' and 'tsize' protocol options"
  750. default y
  751. depends on TFTP || TFTPD
  752. help
  753. Allow tftp to specify block size, and tftpd to understand
  754. "blksize" and "tsize" options.
  755. config FEATURE_TFTP_PROGRESS_BAR
  756. bool "Enable tftp progress meter"
  757. default y
  758. depends on TFTP && FEATURE_TFTP_BLOCKSIZE
  759. help
  760. Show progress bar.
  761. config TFTP_DEBUG
  762. bool "Enable debug"
  763. default n
  764. depends on TFTP || TFTPD
  765. help
  766. Make tftp[d] print debugging messages on stderr.
  767. This is useful if you are diagnosing a bug in tftp[d].
  768. config TRACEROUTE
  769. bool "traceroute"
  770. default y
  771. select PLATFORM_LINUX
  772. help
  773. Utility to trace the route of IP packets.
  774. config TRACEROUTE6
  775. bool "traceroute6"
  776. default y
  777. depends on FEATURE_IPV6 && TRACEROUTE
  778. help
  779. Utility to trace the route of IPv6 packets.
  780. config FEATURE_TRACEROUTE_VERBOSE
  781. bool "Enable verbose output"
  782. default y
  783. depends on TRACEROUTE
  784. help
  785. Add some verbosity to traceroute. This includes among other things
  786. hostnames and ICMP response types.
  787. config FEATURE_TRACEROUTE_SOURCE_ROUTE
  788. bool "Enable loose source route"
  789. default n
  790. depends on TRACEROUTE
  791. help
  792. Add option to specify a loose source route gateway
  793. (8 maximum).
  794. config FEATURE_TRACEROUTE_USE_ICMP
  795. bool "Use ICMP instead of UDP"
  796. default n
  797. depends on TRACEROUTE
  798. help
  799. Add option -I to use ICMP ECHO instead of UDP datagrams.
  800. config TUNCTL
  801. bool "tunctl"
  802. default y
  803. select PLATFORM_LINUX
  804. help
  805. tunctl creates or deletes tun devices.
  806. config FEATURE_TUNCTL_UG
  807. bool "Support owner:group assignment"
  808. default y
  809. depends on TUNCTL
  810. help
  811. Allow to specify owner and group of newly created interface.
  812. 340 bytes of pure bloat. Say no here.
  813. source networking/udhcp/Config.in
  814. config IFUPDOWN_UDHCPC_CMD_OPTIONS
  815. string "ifup udhcpc command line options"
  816. default "-R -n"
  817. depends on IFUPDOWN && UDHCPC
  818. help
  819. Command line options to pass to udhcpc from ifup.
  820. Intended to alter options not available in /etc/network/interfaces.
  821. (IE: --syslog --background etc...)
  822. config UDPSVD
  823. bool "udpsvd"
  824. default y
  825. help
  826. udpsvd listens on an UDP port and runs a program for each new
  827. connection.
  828. config VCONFIG
  829. bool "vconfig"
  830. default y
  831. select PLATFORM_LINUX
  832. help
  833. Creates, removes, and configures VLAN interfaces
  834. config ZCIP
  835. bool "zcip"
  836. default y
  837. select PLATFORM_LINUX
  838. select FEATURE_SYSLOG
  839. help
  840. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
  841. It's a daemon that allocates and defends a dynamically assigned
  842. address on the 169.254/16 network, requiring no system administrator.
  843. See http://www.zeroconf.org for further details, and "zcip.script"
  844. in the busybox examples.
  845. endmenu