Config.in 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see docs/Kconfig-language.txt.
  5. #
  6. config BUSYBOX_UDHCPD
  7. bool "udhcpd (21 kb)"
  8. default y
  9. select BUSYBOX_PLATFORM_LINUX
  10. help
  11. udhcpd is a DHCP server geared primarily toward embedded systems,
  12. while striving to be fully functional and RFC compliant.
  13. config BUSYBOX_FEATURE_UDHCPD_BASE_IP_ON_MAC
  14. bool "Select IP address based on client MAC"
  15. default n
  16. depends on BUSYBOX_UDHCPD
  17. help
  18. If selected, udhcpd will base its selection of BUSYBOX_IP address to offer
  19. on the client's hardware address. Otherwise udhcpd uses the next
  20. consecutive free address.
  21. This reduces the frequency of IP address changes for clients
  22. which let their lease expire, and makes consecutive DHCPOFFERS
  23. for the same client to (almost always) contain the same
  24. IP address.
  25. config BUSYBOX_FEATURE_UDHCPD_WRITE_LEASES_EARLY
  26. bool "Rewrite lease file at every new acknowledge"
  27. default y
  28. depends on BUSYBOX_UDHCPD
  29. help
  30. If selected, udhcpd will write a new file with leases every
  31. time a new lease has been accepted, thus eliminating the need
  32. to send SIGUSR1 for the initial writing or updating. Any timed
  33. rewriting remains undisturbed.
  34. config BUSYBOX_DHCPD_LEASES_FILE
  35. string "Absolute path to lease file"
  36. default "/var/lib/misc/udhcpd.leases"
  37. depends on BUSYBOX_UDHCPD
  38. help
  39. udhcpd stores addresses in a lease file. This is the absolute path
  40. of the file. Normally it is safe to leave it untouched.
  41. config BUSYBOX_DUMPLEASES
  42. bool "dumpleases (5.1 kb)"
  43. default y
  44. help
  45. dumpleases displays the leases written out by the udhcpd.
  46. Lease times are stored in the file by time remaining in lease, or
  47. by the absolute time that it expires in seconds from epoch.
  48. config BUSYBOX_DHCPRELAY
  49. bool "dhcprelay (5.2 kb)"
  50. default y
  51. help
  52. dhcprelay listens for DHCP requests on one or more interfaces
  53. and forwards these requests to a different interface or DHCP
  54. server.
  55. config BUSYBOX_UDHCPC
  56. bool "udhcpc (24 kb)"
  57. default y
  58. select BUSYBOX_PLATFORM_LINUX
  59. help
  60. udhcpc is a DHCP client geared primarily toward embedded systems,
  61. while striving to be fully functional and RFC compliant.
  62. The udhcp client negotiates a lease with the DHCP server and
  63. runs a script when a lease is obtained or lost.
  64. config BUSYBOX_FEATURE_UDHCPC_ARPING
  65. bool "Verify that the offered address is free, using ARP ping"
  66. default y
  67. depends on BUSYBOX_UDHCPC
  68. help
  69. If selected, udhcpc will send BUSYBOX_ARP probes and make sure
  70. the offered address is really not in use by anyone. The client
  71. will DHCPDECLINE the offer if the address is in use,
  72. and restart the discover process.
  73. config BUSYBOX_FEATURE_UDHCPC_SANITIZEOPT
  74. bool "Do not pass malformed host and domain names"
  75. default y
  76. depends on BUSYBOX_UDHCPC
  77. help
  78. If selected, udhcpc will check some options (such as option 12 -
  79. hostname) and if they don't look like valid hostnames
  80. (for example, if they start with dash or contain spaces),
  81. they will be replaced with string "bad" when exporting
  82. to the environment.
  83. config BUSYBOX_UDHCPC_DEFAULT_SCRIPT
  84. string "Absolute path to config script"
  85. default "/usr/share/udhcpc/default.script"
  86. depends on BUSYBOX_UDHCPC || BUSYBOX_UDHCPC6
  87. help
  88. This script is called after udhcpc receives an answer. See
  89. examples/udhcp for a working example. Normally it is safe
  90. to leave this untouched.
  91. # udhcpc6 config is inserted here:
  92. config BUSYBOX_UDHCPC6
  93. bool "udhcpc6 (21 kb)"
  94. default y
  95. depends on BUSYBOX_FEATURE_IPV6
  96. help
  97. udhcpc6 is a DHCPv6 client
  98. config BUSYBOX_FEATURE_UDHCPC6_RFC3646
  99. bool "Support RFC 3646 (DNS server and search list)"
  100. default y
  101. depends on BUSYBOX_UDHCPC6
  102. help
  103. List of DNS servers and domain search list can be requested with
  104. "-O dns" and "-O search". If server gives these values,
  105. they will be set in environment variables "dns" and "search".
  106. config BUSYBOX_FEATURE_UDHCPC6_RFC4704
  107. bool "Support RFC 4704 (Client FQDN)"
  108. default y
  109. depends on BUSYBOX_UDHCPC6
  110. help
  111. You can request FQDN to be given by server using "-O fqdn".
  112. config BUSYBOX_FEATURE_UDHCPC6_RFC4833
  113. bool "Support RFC 4833 (Timezones)"
  114. default y
  115. depends on BUSYBOX_UDHCPC6
  116. help
  117. You can request POSIX timezone with "-O tz" and timezone name
  118. with "-O timezone".
  119. config BUSYBOX_FEATURE_UDHCPC6_RFC5970
  120. bool "Support RFC 5970 (Network Boot)"
  121. default y
  122. depends on BUSYBOX_UDHCPC6
  123. help
  124. You can request bootfile-url with "-O bootfile_url" and
  125. bootfile-params with "-O bootfile_params".
  126. comment "Common options for DHCP applets"
  127. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC || BUSYBOX_UDHCPC6 || BUSYBOX_DHCPRELAY
  128. config BUSYBOX_FEATURE_UDHCP_PORT
  129. bool "Enable '-P port' option for udhcpd and udhcpc"
  130. default n
  131. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC || BUSYBOX_UDHCPC6
  132. help
  133. At the cost of ~300 bytes, enables -P port option.
  134. This feature is typically not needed.
  135. config BUSYBOX_UDHCP_DEBUG
  136. int "Maximum verbosity level (0..9)"
  137. default 2
  138. range 0 9
  139. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC || BUSYBOX_UDHCPC6 || BUSYBOX_DHCPRELAY
  140. help
  141. Verbosity can be increased with multiple -v options.
  142. This option controls how high it can be cranked up.
  143. Bigger values result in bigger code. Levels above 1
  144. are very verbose and useful for debugging only.
  145. config BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS
  146. int "DHCP options slack buffer size"
  147. default 80
  148. range 0 924
  149. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC
  150. help
  151. Some buggy DHCP servers send DHCP offer packets with option
  152. field larger than we expect (which might also be considered a
  153. buffer overflow attempt). These packets are normally discarded.
  154. If circumstances beyond your control force you to support such
  155. servers, this may help. The upper limit (924) makes udhcpc accept
  156. even 1500 byte packets (maximum-sized ethernet packets).
  157. This option does not make udhcp[cd] emit non-standard
  158. sized packets.
  159. Known buggy DHCP servers:
  160. 3Com OfficeConnect Remote 812 ADSL Router:
  161. seems to confuse maximum allowed UDP packet size with
  162. maximum size of entire IP packet, and sends packets
  163. which are 28 bytes too large.
  164. Seednet (ISP) VDSL: sends packets 2 bytes too large.
  165. config BUSYBOX_FEATURE_UDHCP_RFC3397
  166. bool "Support RFC 3397 domain search options"
  167. default y
  168. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC
  169. help
  170. If selected, both client and server will support passing of domain
  171. search lists via option 119, specified in RFC 3397,
  172. and SIP servers option 120, specified in RFC 3361.
  173. config BUSYBOX_FEATURE_UDHCP_8021Q
  174. bool "Support 802.1Q VLAN parameters options"
  175. default y
  176. depends on BUSYBOX_UDHCPD || BUSYBOX_UDHCPC
  177. help
  178. If selected, both client and server will support passing of VLAN
  179. ID and priority via options 132 and 133 as per 802.1Q.