Config.in 6.7 KB

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