Config.in 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. config APP_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 APP_DHCPRELAY
  12. bool "dhcprelay"
  13. default n
  14. depends on APP_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 APP_DUMPLEASES
  20. bool "Lease display utility (dumpleases)"
  21. default n
  22. depends on APP_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 APP_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 APP_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 APP_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 APP_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 APP_UDHCPD || APP_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. bool "Compile udhcp with noisy debugging messages"
  69. default n
  70. depends on APP_UDHCPD || APP_UDHCPC
  71. help
  72. If selected, udhcpd will output extra debugging output.
  73. config FEATURE_UDHCP_RFC3397
  74. bool "Support for RFC3397 domain search (experimental)"
  75. default n
  76. depends on APP_UDHCPD || APP_UDHCPC
  77. help
  78. If selected, both client and server will support passing of domain
  79. search lists via option 119, specified in RFC3397.
  80. config UDHCPC_DEFAULT_SCRIPT
  81. string "Absolute path to config script"
  82. default "/usr/share/udhcpc/default.script"
  83. depends on APP_UDHCPC
  84. help
  85. This script is called after udhcpc receives an answer. See
  86. examples/udhcp for a working example. Normally it is safe
  87. to leave this untouched.
  88. config UDHCPC_SLACK_FOR_BUGGY_SERVERS
  89. int "DHCP options slack buffer size"
  90. default 80
  91. range 0 924
  92. depends on APP_UDHCPD || APP_UDHCPC
  93. help
  94. Some buggy DHCP servers send DHCP offer packets with option
  95. field larger than we expect (which might also be considered a
  96. buffer overflow attempt). These packets are normally discarded.
  97. If circumstances beyond your control force you to support such
  98. servers, this may help. The upper limit (924) makes dhcpc accept
  99. even 1500 byte packets (maximum-sized ethernet packets).
  100. This option does not make dhcp[cd] emit non-standard
  101. sized packets.
  102. Known buggy DHCP servers:
  103. 3Com OfficeConnect Remote 812 ADSL Router:
  104. seems to confuse maximum allowed UDP packet size with
  105. maximum size of entire IP packet, and sends packets which are
  106. 28 bytes too large.
  107. Seednet (ISP) VDSL: sends packets 2 bytes too large.