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