3
0

Config.src 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040
  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. depends on PLATFORM_LINUX
  46. help
  47. Manipulate the system ARP cache.
  48. config ARPING
  49. bool "arping"
  50. default y
  51. depends on PLATFORM_LINUX
  52. help
  53. Ping hosts by ARP packets.
  54. config BRCTL
  55. bool "brctl"
  56. default y
  57. depends on 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. depends on 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. depends on 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. depends on 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. depends on 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 && PLATFORM_LINUX
  335. select IP
  336. select FEATURE_IP_ADDRESS
  337. select FEATURE_IP_LINK
  338. select FEATURE_IP_ROUTE
  339. help
  340. Use the busybox iproute "ip" applet to implement "ifupdown".
  341. If left disabled, you must install the full-blown iproute2
  342. utility or the "ifup" and "ifdown" applets will not work.
  343. config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
  344. bool "Use busybox ifconfig and route applets"
  345. default n
  346. depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
  347. select IFCONFIG
  348. select ROUTE
  349. help
  350. Use the busybox iproute "ifconfig" and "route" applets to
  351. implement the "ifup" and "ifdown" utilities.
  352. If left disabled, you must install the full-blown ifconfig
  353. and route utilities, or the "ifup" and "ifdown" applets will not
  354. work.
  355. config FEATURE_IFUPDOWN_IPV4
  356. bool "Support for IPv4"
  357. default y
  358. depends on IFUPDOWN
  359. help
  360. If you want ifup/ifdown to talk IPv4, leave this on.
  361. config FEATURE_IFUPDOWN_IPV6
  362. bool "Support for IPv6"
  363. default y
  364. depends on IFUPDOWN && FEATURE_IPV6
  365. help
  366. If you need support for IPv6, turn this option on.
  367. ### UNUSED
  368. ###config FEATURE_IFUPDOWN_IPX
  369. ### bool "Support for IPX"
  370. ### default y
  371. ### depends on IFUPDOWN
  372. ### help
  373. ### If this option is selected you can use busybox to work with IPX
  374. ### networks.
  375. config FEATURE_IFUPDOWN_MAPPING
  376. bool "Enable mapping support"
  377. default y
  378. depends on IFUPDOWN
  379. help
  380. This enables support for the "mapping" stanza, unless you have
  381. a weird network setup you don't need it.
  382. config FEATURE_IFUPDOWN_EXTERNAL_DHCP
  383. bool "Support for external dhcp clients"
  384. default n
  385. depends on IFUPDOWN
  386. help
  387. This enables support for the external dhcp clients. Clients are
  388. tried in the following order: dhcpcd, dhclient, pump and udhcpc.
  389. Otherwise, if udhcpc applet is enabled, it is used.
  390. Otherwise, ifup/ifdown will have no support for DHCP.
  391. config INETD
  392. bool "inetd"
  393. default y
  394. select FEATURE_SYSLOG
  395. help
  396. Internet superserver daemon
  397. config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
  398. bool "Support echo service"
  399. default y
  400. depends on INETD
  401. help
  402. Echo received data internal inetd service
  403. config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
  404. bool "Support discard service"
  405. default y
  406. depends on INETD
  407. help
  408. Internet /dev/null internal inetd service
  409. config FEATURE_INETD_SUPPORT_BUILTIN_TIME
  410. bool "Support time service"
  411. default y
  412. depends on INETD
  413. help
  414. Return 32 bit time since 1900 internal inetd service
  415. config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
  416. bool "Support daytime service"
  417. default y
  418. depends on INETD
  419. help
  420. Return human-readable time internal inetd service
  421. config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
  422. bool "Support chargen service"
  423. default y
  424. depends on INETD
  425. help
  426. Familiar character generator internal inetd service
  427. config FEATURE_INETD_RPC
  428. bool "Support RPC services"
  429. default y
  430. depends on INETD
  431. select FEATURE_HAVE_RPC
  432. help
  433. Support Sun-RPC based services
  434. config IP
  435. bool "ip"
  436. default y
  437. depends on PLATFORM_LINUX
  438. help
  439. The "ip" applet is a TCP/IP interface configuration and routing
  440. utility. You generally don't need "ip" to use busybox with
  441. TCP/IP.
  442. config FEATURE_IP_ADDRESS
  443. bool "ip address"
  444. default y
  445. depends on IP
  446. help
  447. Address manipulation support for the "ip" applet.
  448. config FEATURE_IP_LINK
  449. bool "ip link"
  450. default y
  451. depends on IP
  452. help
  453. Configure network devices with "ip".
  454. config FEATURE_IP_ROUTE
  455. bool "ip route"
  456. default y
  457. depends on IP
  458. help
  459. Add support for routing table management to "ip".
  460. config FEATURE_IP_TUNNEL
  461. bool "ip tunnel"
  462. default y
  463. depends on IP
  464. help
  465. Add support for tunneling commands to "ip".
  466. config FEATURE_IP_RULE
  467. bool "ip rule"
  468. default y
  469. depends on IP
  470. help
  471. Add support for rule commands to "ip".
  472. config FEATURE_IP_SHORT_FORMS
  473. bool "Support short forms of ip commands"
  474. default y
  475. depends on IP
  476. help
  477. Also support short-form of ip <OBJECT> commands:
  478. ip addr -> ipaddr
  479. ip link -> iplink
  480. ip route -> iproute
  481. ip tunnel -> iptunnel
  482. ip rule -> iprule
  483. Say N unless you desparately need the short form of the ip
  484. object commands.
  485. config FEATURE_IP_RARE_PROTOCOLS
  486. bool "Support displaying rarely used link types"
  487. default n
  488. depends on IP
  489. help
  490. If you are not going to use links of type "frad", "econet",
  491. "bif" etc, you probably don't need to enable this.
  492. Ethernet, wireless, infrared, ppp/slip, ip tunnelling
  493. link types are supported without this option selected.
  494. config IPADDR
  495. bool
  496. default y
  497. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
  498. config IPLINK
  499. bool
  500. default y
  501. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
  502. config IPROUTE
  503. bool
  504. default y
  505. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
  506. config IPTUNNEL
  507. bool
  508. default y
  509. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
  510. config IPRULE
  511. bool
  512. default y
  513. depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
  514. config IPCALC
  515. bool "ipcalc"
  516. default y
  517. help
  518. ipcalc takes an IP address and netmask and calculates the
  519. resulting broadcast, network, and host range.
  520. config FEATURE_IPCALC_FANCY
  521. bool "Fancy IPCALC, more options, adds 1 kbyte"
  522. default y
  523. depends on IPCALC
  524. help
  525. Adds the options hostname, prefix and silent to the output of
  526. "ipcalc".
  527. config FEATURE_IPCALC_LONG_OPTIONS
  528. bool "Enable long options"
  529. default y
  530. depends on IPCALC && LONG_OPTS
  531. help
  532. Support long options for the ipcalc applet.
  533. config NAMEIF
  534. bool "nameif"
  535. default y
  536. depends on PLATFORM_LINUX
  537. select FEATURE_SYSLOG
  538. help
  539. nameif is used to rename network interface by its MAC address.
  540. Renamed interfaces MUST be in the down state.
  541. It is possible to use a file (default: /etc/mactab)
  542. with list of new interface names and MACs.
  543. Maximum interface name length: IFNAMSIZ = 16
  544. File fields are separated by space or tab.
  545. File format:
  546. # Comment
  547. new_interface_name XX:XX:XX:XX:XX:XX
  548. config FEATURE_NAMEIF_EXTENDED
  549. bool "Extended nameif"
  550. default y
  551. depends on NAMEIF
  552. help
  553. This extends the nameif syntax to support the bus_info and driver
  554. checks. The syntax is compatible to the normal nameif.
  555. File format:
  556. new_interface_name driver=asix bus=usb-0000:00:08.2-3
  557. new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5
  558. new_interface_name mac=00:80:C8:38:91:B5
  559. new_interface_name 00:80:C8:38:91:B5
  560. config NETSTAT
  561. bool "netstat"
  562. default y
  563. depends on PLATFORM_LINUX
  564. help
  565. netstat prints information about the Linux networking subsystem.
  566. config FEATURE_NETSTAT_WIDE
  567. bool "Enable wide netstat output"
  568. default y
  569. depends on NETSTAT
  570. help
  571. Add support for wide columns. Useful when displaying IPv6 addresses
  572. (-W option).
  573. config FEATURE_NETSTAT_PRG
  574. bool "Enable PID/Program name output"
  575. default y
  576. depends on NETSTAT
  577. help
  578. Add support for -p flag to print out PID and program name.
  579. +700 bytes of code.
  580. config NSLOOKUP
  581. bool "nslookup"
  582. default y
  583. help
  584. nslookup is a tool to query Internet name servers.
  585. config NTPD
  586. bool "ntpd"
  587. default y
  588. depends on PLATFORM_LINUX
  589. help
  590. The NTP client/server daemon.
  591. config FEATURE_NTPD_SERVER
  592. bool "Make ntpd usable as a NTP server"
  593. default y
  594. depends on NTPD
  595. help
  596. Make ntpd usable as a NTP server. If you disable this option
  597. ntpd will be usable only as a NTP client.
  598. config PING
  599. bool "ping"
  600. default y
  601. depends on PLATFORM_LINUX
  602. help
  603. ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
  604. elicit an ICMP ECHO_RESPONSE from a host or gateway.
  605. config PING6
  606. bool "ping6"
  607. default y
  608. depends on FEATURE_IPV6 && PING
  609. help
  610. This will give you a ping that can talk IPv6.
  611. config FEATURE_FANCY_PING
  612. bool "Enable fancy ping output"
  613. default y
  614. depends on PING
  615. help
  616. Make the output from the ping applet include statistics, and at the
  617. same time provide full support for ICMP packets.
  618. config PSCAN
  619. bool "pscan"
  620. default y
  621. help
  622. Simple network port scanner.
  623. config ROUTE
  624. bool "route"
  625. default y
  626. depends on PLATFORM_LINUX
  627. help
  628. Route displays or manipulates the kernel's IP routing tables.
  629. config SLATTACH
  630. bool "slattach"
  631. default y
  632. depends on PLATFORM_LINUX
  633. help
  634. slattach is a small utility to attach network interfaces to serial
  635. lines.
  636. #config TC
  637. # bool "tc"
  638. # default y
  639. # help
  640. # show / manipulate traffic control settings
  641. #
  642. #config FEATURE_TC_INGRESS
  643. # def_bool n
  644. # depends on TC
  645. config TCPSVD
  646. bool "tcpsvd"
  647. default y
  648. help
  649. tcpsvd listens on a TCP port and runs a program for each new
  650. connection.
  651. config TELNET
  652. bool "telnet"
  653. default y
  654. help
  655. Telnet is an interface to the TELNET protocol, but is also commonly
  656. used to test other simple protocols.
  657. config FEATURE_TELNET_TTYPE
  658. bool "Pass TERM type to remote host"
  659. default y
  660. depends on TELNET
  661. help
  662. Setting this option will forward the TERM environment variable to the
  663. remote host you are connecting to. This is useful to make sure that
  664. things like ANSI colors and other control sequences behave.
  665. config FEATURE_TELNET_AUTOLOGIN
  666. bool "Pass USER type to remote host"
  667. default y
  668. depends on TELNET
  669. help
  670. Setting this option will forward the USER environment variable to the
  671. remote host you are connecting to. This is useful when you need to
  672. log into a machine without telling the username (autologin). This
  673. option enables `-a' and `-l USER' arguments.
  674. config TELNETD
  675. bool "telnetd"
  676. default y
  677. select FEATURE_SYSLOG
  678. help
  679. A daemon for the TELNET protocol, allowing you to log onto the host
  680. running the daemon. Please keep in mind that the TELNET protocol
  681. sends passwords in plain text. If you can't afford the space for an
  682. SSH daemon and you trust your network, you may say 'y' here. As a
  683. more secure alternative, you should seriously consider installing the
  684. very small Dropbear SSH daemon instead:
  685. http://matt.ucc.asn.au/dropbear/dropbear.html
  686. Note that for busybox telnetd to work you need several things:
  687. First of all, your kernel needs:
  688. UNIX98_PTYS=y
  689. DEVPTS_FS=y
  690. Next, you need a /dev/pts directory on your root filesystem:
  691. $ ls -ld /dev/pts
  692. drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/
  693. Next you need the pseudo terminal master multiplexer /dev/ptmx:
  694. $ ls -la /dev/ptmx
  695. crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
  696. Any /dev/ttyp[0-9]* files you may have can be removed.
  697. Next, you need to mount the devpts filesystem on /dev/pts using:
  698. mount -t devpts devpts /dev/pts
  699. You need to be sure that busybox has LOGIN and
  700. FEATURE_SUID enabled. And finally, you should make
  701. certain that Busybox has been installed setuid root:
  702. chown root.root /bin/busybox
  703. chmod 4755 /bin/busybox
  704. with all that done, telnetd _should_ work....
  705. config FEATURE_TELNETD_STANDALONE
  706. bool "Support standalone telnetd (not inetd only)"
  707. default y
  708. depends on TELNETD
  709. help
  710. Selecting this will make telnetd able to run standalone.
  711. config FEATURE_TELNETD_INETD_WAIT
  712. bool "Support -w SEC option (inetd wait mode)"
  713. default y
  714. depends on FEATURE_TELNETD_STANDALONE
  715. help
  716. This option allows you to run telnetd in "inet wait" mode.
  717. Example inetd.conf line (note "wait", not usual "nowait"):
  718. telnet stream tcp wait root /bin/telnetd telnetd -w10
  719. In this example, inetd passes _listening_ socket_ as fd 0
  720. to telnetd when connection appears.
  721. telnetd will wait for connections until all existing
  722. connections are closed, and no new connections
  723. appear during 10 seconds. Then it exits, and inetd continues
  724. to listen for new connections.
  725. This option is rarely used. "tcp nowait" is much more usual
  726. way of running tcp services, including telnetd.
  727. You most probably want to say N here.
  728. config TFTP
  729. bool "tftp"
  730. default y
  731. help
  732. This enables the Trivial File Transfer Protocol client program. TFTP
  733. is usually used for simple, small transfers such as a root image
  734. for a network-enabled bootloader.
  735. config TFTPD
  736. bool "tftpd"
  737. default y
  738. help
  739. This enables the Trivial File Transfer Protocol server program.
  740. It expects that stdin is a datagram socket and a packet
  741. is already pending on it. It will exit after one transfer.
  742. In other words: it should be run from inetd in nowait mode,
  743. or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
  744. comment "Common options for tftp/tftpd"
  745. depends on TFTP || TFTPD
  746. config FEATURE_TFTP_GET
  747. bool "Enable 'tftp get' and/or tftpd upload code"
  748. default y
  749. depends on TFTP || TFTPD
  750. help
  751. Add support for the GET command within the TFTP client. This allows
  752. a client to retrieve a file from a TFTP server.
  753. Also enable upload support in tftpd, if tftpd is selected.
  754. Note: this option does _not_ make tftpd capable of download
  755. (the usual operation people need from it)!
  756. config FEATURE_TFTP_PUT
  757. bool "Enable 'tftp put' and/or tftpd download code"
  758. default y
  759. depends on TFTP || TFTPD
  760. help
  761. Add support for the PUT command within the TFTP client. This allows
  762. a client to transfer a file to a TFTP server.
  763. Also enable download support in tftpd, if tftpd is selected.
  764. config FEATURE_TFTP_BLOCKSIZE
  765. bool "Enable 'blksize' and 'tsize' protocol options"
  766. default y
  767. depends on TFTP || TFTPD
  768. help
  769. Allow tftp to specify block size, and tftpd to understand
  770. "blksize" and "tsize" options.
  771. config FEATURE_TFTP_PROGRESS_BAR
  772. bool "Enable tftp progress meter"
  773. default y
  774. depends on TFTP && FEATURE_TFTP_BLOCKSIZE
  775. help
  776. Show progress bar.
  777. config TFTP_DEBUG
  778. bool "Enable debug"
  779. default n
  780. depends on TFTP || TFTPD
  781. help
  782. Make tftp[d] print debugging messages on stderr.
  783. This is useful if you are diagnosing a bug in tftp[d].
  784. config TRACEROUTE
  785. bool "traceroute"
  786. default y
  787. depends on PLATFORM_LINUX
  788. help
  789. Utility to trace the route of IP packets.
  790. config TRACEROUTE6
  791. bool "traceroute6"
  792. default y
  793. depends on FEATURE_IPV6 && TRACEROUTE
  794. help
  795. Utility to trace the route of IPv6 packets.
  796. config FEATURE_TRACEROUTE_VERBOSE
  797. bool "Enable verbose output"
  798. default y
  799. depends on TRACEROUTE
  800. help
  801. Add some verbosity to traceroute. This includes among other things
  802. hostnames and ICMP response types.
  803. config FEATURE_TRACEROUTE_SOURCE_ROUTE
  804. bool "Enable loose source route"
  805. default n
  806. depends on TRACEROUTE
  807. help
  808. Add option to specify a loose source route gateway
  809. (8 maximum).
  810. config FEATURE_TRACEROUTE_USE_ICMP
  811. bool "Use ICMP instead of UDP"
  812. default n
  813. depends on TRACEROUTE
  814. help
  815. Add option -I to use ICMP ECHO instead of UDP datagrams.
  816. config TUNCTL
  817. bool "tunctl"
  818. default y
  819. depends on PLATFORM_LINUX
  820. help
  821. tunctl creates or deletes tun devices.
  822. config FEATURE_TUNCTL_UG
  823. bool "Support owner:group assignment"
  824. default y
  825. depends on TUNCTL
  826. help
  827. Allow to specify owner and group of newly created interface.
  828. 340 bytes of pure bloat. Say no here.
  829. source networking/udhcp/Config.in
  830. config IFUPDOWN_UDHCPC_CMD_OPTIONS
  831. string "ifup udhcpc command line options"
  832. default "-R -n"
  833. depends on IFUPDOWN && UDHCPC
  834. help
  835. Command line options to pass to udhcpc from ifup.
  836. Intended to alter options not available in /etc/network/interfaces.
  837. (IE: --syslog --background etc...)
  838. config UDPSVD
  839. bool "udpsvd"
  840. default y
  841. help
  842. udpsvd listens on an UDP port and runs a program for each new
  843. connection.
  844. config VCONFIG
  845. bool "vconfig"
  846. default y
  847. depends on PLATFORM_LINUX
  848. help
  849. Creates, removes, and configures VLAN interfaces
  850. config WGET
  851. bool "wget"
  852. default y
  853. help
  854. wget is a utility for non-interactive download of files from HTTP,
  855. HTTPS, and FTP servers.
  856. config FEATURE_WGET_STATUSBAR
  857. bool "Enable a nifty process meter (+2k)"
  858. default y
  859. depends on WGET
  860. help
  861. Enable the transfer progress bar for wget transfers.
  862. config FEATURE_WGET_AUTHENTICATION
  863. bool "Enable HTTP authentication"
  864. default y
  865. depends on WGET
  866. help
  867. Support authenticated HTTP transfers.
  868. config FEATURE_WGET_LONG_OPTIONS
  869. bool "Enable long options"
  870. default y
  871. depends on WGET && LONG_OPTS
  872. help
  873. Support long options for the wget applet.
  874. config FEATURE_WGET_TIMEOUT
  875. bool "Enable read timeout option -T SEC"
  876. default y
  877. depends on WGET
  878. help
  879. Supports network read timeout for wget, so that wget will give
  880. up and timeout when reading network data, through the -T command
  881. line option. Currently only network data read timeout is
  882. supported (i.e., timeout is not applied to the DNS nor TCP
  883. connection initialization). When FEATURE_WGET_LONG_OPTIONS is
  884. also enabled, the --timeout option will work in addition to -T.
  885. config ZCIP
  886. bool "zcip"
  887. default y
  888. depends on PLATFORM_LINUX
  889. select FEATURE_SYSLOG
  890. help
  891. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
  892. It's a daemon that allocates and defends a dynamically assigned
  893. address on the 169.254/16 network, requiring no system administrator.
  894. See http://www.zeroconf.org for further details, and "zcip.script"
  895. in the busybox examples.
  896. endmenu