Config.in 5.6 KB

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