Config.src 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. INSERT
  6. config UDHCPD
  7. bool "udhcp server (udhcpd)"
  8. default y
  9. depends on 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 DHCPRELAY
  14. bool "dhcprelay"
  15. default y
  16. depends on UDHCPD
  17. help
  18. dhcprelay listens for dhcp requests on one or more interfaces
  19. and forwards these requests to a different interface or dhcp
  20. server.
  21. config DUMPLEASES
  22. bool "Lease display utility (dumpleases)"
  23. default y
  24. depends on UDHCPD
  25. help
  26. dumpleases displays the leases written out by the udhcpd server.
  27. Lease times are stored in the file by time remaining in lease, or
  28. by the absolute time that it expires in seconds from epoch.
  29. config FEATURE_UDHCPD_WRITE_LEASES_EARLY
  30. bool "Rewrite the lease file at every new acknowledge"
  31. default y
  32. depends on UDHCPD
  33. help
  34. If selected, udhcpd will write a new file with leases every
  35. time a new lease has been accepted, thus eliminating the need
  36. to send SIGUSR1 for the initial writing or updating. Any timed
  37. rewriting remains undisturbed
  38. config DHCPD_LEASES_FILE
  39. string "Absolute path to lease file"
  40. default "/var/lib/misc/udhcpd.leases"
  41. depends on UDHCPD
  42. help
  43. udhcpd stores addresses in a lease file. This is the absolute path
  44. of the file. Normally it is safe to leave it untouched.
  45. config UDHCPC
  46. bool "udhcp client (udhcpc)"
  47. default y
  48. depends on PLATFORM_LINUX
  49. help
  50. udhcpc is a DHCP client geared primarily toward embedded systems,
  51. while striving to be fully functional and RFC compliant.
  52. The udhcp client negotiates a lease with the DHCP server and
  53. runs a script when a lease is obtained or lost.
  54. config FEATURE_UDHCPC_ARPING
  55. bool "Verify that the offered address is free, using ARP ping"
  56. default y
  57. depends on UDHCPC
  58. help
  59. If selected, udhcpc will send ARP probes and make sure
  60. the offered address is really not in use by anyone. The client
  61. will DHCPDECLINE the offer if the address is in use,
  62. and restart the discover process.
  63. config FEATURE_UDHCP_PORT
  64. bool "Enable '-P port' option for udhcpd and udhcpc"
  65. default y
  66. depends on UDHCPD || UDHCPC
  67. help
  68. At the cost of ~300 bytes, enables -P port option.
  69. This feature is typically not needed.
  70. config UDHCP_DEBUG
  71. int "Maximum verbosity level for udhcp applets (0..9)"
  72. default 9
  73. range 0 9
  74. depends on UDHCPD || UDHCPC || DHCPRELAY
  75. help
  76. Verbosity can be increased with multiple -v options.
  77. This option controls how high it can be cranked up.
  78. Bigger values result in bigger code. Levels above 1
  79. are very verbose and useful for debugging only.
  80. config FEATURE_UDHCP_RFC3397
  81. bool "Support for RFC3397 domain search (experimental)"
  82. default y
  83. depends on UDHCPD || UDHCPC
  84. help
  85. If selected, both client and server will support passing of domain
  86. search lists via option 119, specified in RFC 3397,
  87. and SIP servers option 120, specified in RFC 3361.
  88. config UDHCPC_DEFAULT_SCRIPT
  89. string "Absolute path to config script"
  90. default "/usr/share/udhcpc/default.script"
  91. depends on UDHCPC
  92. help
  93. This script is called after udhcpc receives an answer. See
  94. examples/udhcp for a working example. Normally it is safe
  95. to leave this untouched.
  96. config UDHCPC_SLACK_FOR_BUGGY_SERVERS
  97. int "DHCP options slack buffer size"
  98. default 80
  99. range 0 924
  100. depends on UDHCPD || UDHCPC
  101. help
  102. Some buggy DHCP servers send DHCP offer packets with option
  103. field larger than we expect (which might also be considered a
  104. buffer overflow attempt). These packets are normally discarded.
  105. If circumstances beyond your control force you to support such
  106. servers, this may help. The upper limit (924) makes dhcpc accept
  107. even 1500 byte packets (maximum-sized ethernet packets).
  108. This option does not make dhcp[cd] emit non-standard
  109. sized packets.
  110. Known buggy DHCP servers:
  111. 3Com OfficeConnect Remote 812 ADSL Router:
  112. seems to confuse maximum allowed UDP packet size with
  113. maximum size of entire IP packet, and sends packets which are
  114. 28 bytes too large.
  115. Seednet (ISP) VDSL: sends packets 2 bytes too large.