Config.in 4.1 KB

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