Config.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. config BUSYBOX_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 BUSYBOX_APP_DHCPRELAY
  12. bool "dhcprelay"
  13. default n
  14. depends on BUSYBOX_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 BUSYBOX_APP_DUMPLEASES
  20. bool "Lease display utility (dumpleases)"
  21. default n
  22. depends on BUSYBOX_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 BUSYBOX_FEATURE_UDHCPD_WRITE_LEASES_EARLY
  28. bool "Rewrite the lease file at every new acknowledge"
  29. default n
  30. depends on BUSYBOX_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 BUSYBOX_DHCPD_LEASES_FILE
  37. string "Absolute path to lease file"
  38. default "/var/lib/misc/udhcpd.leases"
  39. depends on BUSYBOX_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 BUSYBOX_APP_UDHCPC
  44. bool "udhcp client (udhcpc)"
  45. default y
  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 BUSYBOX_FEATURE_UDHCPC_ARPING
  52. bool "Verify that the offered address is free, using ARP ping"
  53. default y
  54. depends on BUSYBOX_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 BUSYBOX_FEATURE_UDHCP_PORT
  61. bool "Enable '-P port' option for udhcpd and udhcpc"
  62. default n
  63. depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC
  64. help
  65. At the cost of ~300 bytes, enables -P port option.
  66. This feature is typically not needed.
  67. config BUSYBOX_UDHCP_DEBUG
  68. int "Maximum verbosity level for udhcp applets (0..9)"
  69. default 0
  70. range 0 9
  71. depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC || BUSYBOX_APP_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 BUSYBOX_FEATURE_UDHCP_RFC3397
  78. bool "Support for RFC3397 domain search (experimental)"
  79. default n
  80. depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC
  81. help
  82. If selected, both client and server will support passing of domain
  83. search lists via option 119, specified in RFC3397.
  84. config BUSYBOX_UDHCPC_DEFAULT_SCRIPT
  85. string "Absolute path to config script"
  86. default "/usr/share/udhcpc/default.script"
  87. depends on BUSYBOX_APP_UDHCPC
  88. help
  89. This script is called after udhcpc receives an answer. See
  90. examples/udhcp for a working example. Normally it is safe
  91. to leave this untouched.
  92. config BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS
  93. int "DHCP options slack buffer size"
  94. default 80
  95. range 0 924
  96. depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC
  97. help
  98. Some buggy DHCP servers send DHCP offer packets with option
  99. field larger than we expect (which might also be considered a
  100. buffer overflow attempt). These packets are normally discarded.
  101. If circumstances beyond your control force you to support such
  102. servers, this may help. The upper limit (924) makes dhcpc accept
  103. even 1500 byte packets (maximum-sized ethernet packets).
  104. This option does not make dhcp[cd] emit non-standard
  105. sized packets.
  106. Known buggy DHCP servers:
  107. 3Com OfficeConnect Remote 812 ADSL Router:
  108. seems to confuse maximum allowed UDP packet size with
  109. maximum size of entire IP packet, and sends packets which are
  110. 28 bytes too large.
  111. Seednet (ISP) VDSL: sends packets 2 bytes too large.