Config.in 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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 scripts/kbuild/config-language.txt.
  5. #
  6. config UDHCPD
  7. bool "udhcpd"
  8. default y
  9. select 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 FEATURE_UDHCPD_BASE_IP_ON_MAC
  14. bool "Select IP address based on client MAC"
  15. default n
  16. depends on UDHCPD
  17. help
  18. If selected, udhcpd will base its selection of 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 FEATURE_UDHCPD_WRITE_LEASES_EARLY
  26. bool "Rewrite lease file at every new acknowledge"
  27. default y
  28. depends on 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 DHCPD_LEASES_FILE
  35. string "Absolute path to lease file"
  36. default "/var/lib/misc/udhcpd.leases"
  37. depends on 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 DUMPLEASES
  42. bool "dumpleases (6.4 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 DHCPRELAY
  49. bool "dhcprelay (5.8 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 UDHCPC
  56. bool "udhcpc"
  57. default y
  58. select 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 FEATURE_UDHCPC_ARPING
  65. bool "Verify that the offered address is free, using ARP ping"
  66. default y
  67. depends on UDHCPC
  68. help
  69. If selected, udhcpc will send 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 FEATURE_UDHCPC_SANITIZEOPT
  74. bool "Do not pass malformed host and domain names"
  75. default y
  76. depends on 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 UDHCPC_DEFAULT_SCRIPT
  84. string "Absolute path to config script"
  85. default "/usr/share/udhcpc/default.script"
  86. depends on UDHCPC
  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 UDHCPC6
  93. bool "udhcpc6"
  94. default n # not yet ready
  95. depends on FEATURE_IPV6
  96. help
  97. udhcpc6 is a DHCPv6 client
  98. config FEATURE_UDHCPC6_RFC3646
  99. bool "Support RFC 3646 (DNS server and search list)"
  100. default y
  101. depends on 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 FEATURE_UDHCPC6_RFC4704
  107. bool "Support RFC 4704 (Client FQDN)"
  108. default y
  109. depends on UDHCPC6
  110. help
  111. You can request FQDN to be given by server using "-O fqdn".
  112. config FEATURE_UDHCPC6_RFC4833
  113. bool "Support RFC 4833 (Timezones)"
  114. default y
  115. depends on UDHCPC6
  116. help
  117. You can request POSIX timezone with "-O tz" and timezone name
  118. with "-O timezone".
  119. comment "Common options for DHCP applets"
  120. depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY
  121. config FEATURE_UDHCP_PORT
  122. bool "Enable '-P port' option for udhcpd and udhcpc"
  123. default n
  124. depends on UDHCPD || UDHCPC || UDHCPC6
  125. help
  126. At the cost of ~300 bytes, enables -P port option.
  127. This feature is typically not needed.
  128. config UDHCP_DEBUG
  129. int "Maximum verbosity level (0..9)"
  130. default 9
  131. range 0 9
  132. depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY
  133. help
  134. Verbosity can be increased with multiple -v options.
  135. This option controls how high it can be cranked up.
  136. Bigger values result in bigger code. Levels above 1
  137. are very verbose and useful for debugging only.
  138. config UDHCPC_SLACK_FOR_BUGGY_SERVERS
  139. int "DHCP options slack buffer size"
  140. default 80
  141. range 0 924
  142. depends on UDHCPD || UDHCPC
  143. help
  144. Some buggy DHCP servers send DHCP offer packets with option
  145. field larger than we expect (which might also be considered a
  146. buffer overflow attempt). These packets are normally discarded.
  147. If circumstances beyond your control force you to support such
  148. servers, this may help. The upper limit (924) makes udhcpc accept
  149. even 1500 byte packets (maximum-sized ethernet packets).
  150. This option does not make udhcp[cd] emit non-standard
  151. sized packets.
  152. Known buggy DHCP servers:
  153. 3Com OfficeConnect Remote 812 ADSL Router:
  154. seems to confuse maximum allowed UDP packet size with
  155. maximum size of entire IP packet, and sends packets
  156. which are 28 bytes too large.
  157. Seednet (ISP) VDSL: sends packets 2 bytes too large.
  158. config FEATURE_UDHCP_RFC3397
  159. bool "Support RFC 3397 domain search options"
  160. default y
  161. depends on UDHCPD || UDHCPC
  162. help
  163. If selected, both client and server will support passing of domain
  164. search lists via option 119, specified in RFC 3397,
  165. and SIP servers option 120, specified in RFC 3361.
  166. config FEATURE_UDHCP_8021Q
  167. bool "Support 802.1Q VLAN parameters options"
  168. default y
  169. depends on UDHCPD || UDHCPC
  170. help
  171. If selected, both client and server will support passing of VLAN
  172. ID and priority via options 132 and 133 as per 802.1Q.