busybox: update to 1.27.2
[openwrt/openwrt.git] / package / utils / busybox / config / networking / udhcp / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 config BUSYBOX_CONFIG_UDHCPC6
8 bool "udhcpc6 (DHCPv6 client, EXPERIMENTAL)"
9 default BUSYBOX_DEFAULT_UDHCPC6 # not yet ready
10 depends on BUSYBOX_CONFIG_FEATURE_IPV6
11 help
12 udhcpc6 is a DHCPv6 client
13
14 config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC3646
15 bool "Support RFC 3646 (DNS server and search list)"
16 default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC3646
17 depends on BUSYBOX_CONFIG_UDHCPC6
18 help
19 List of DNS servers and domain search list can be requested with
20 "-O dns" and "-O search". If server gives these values,
21 they will be set in environment variables "dns" and "search".
22
23 config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC4704
24 bool "Support RFC 4704 (Client FQDN)"
25 default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC4704
26 depends on BUSYBOX_CONFIG_UDHCPC6
27 help
28 You can request FQDN to be given by server using "-O fqdn".
29
30 config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC4833
31 bool "Support RFC 4833 (Timezones)"
32 default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC4833
33 depends on BUSYBOX_CONFIG_UDHCPC6
34 help
35 You can request POSIX timezone with "-O tz" and timezone name
36 with "-O timezone".
37
38 config BUSYBOX_CONFIG_UDHCPD
39 bool "udhcpd (DHCP server)"
40 default BUSYBOX_DEFAULT_UDHCPD
41 select BUSYBOX_CONFIG_PLATFORM_LINUX
42 help
43 udhcpd is a DHCP server geared primarily toward embedded systems,
44 while striving to be fully functional and RFC compliant.
45
46 config BUSYBOX_CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY
47 bool "Rewrite the lease file at every new acknowledge"
48 default BUSYBOX_DEFAULT_FEATURE_UDHCPD_WRITE_LEASES_EARLY
49 depends on BUSYBOX_CONFIG_UDHCPD
50 help
51 If selected, udhcpd will write a new file with leases every
52 time a new lease has been accepted, thus eliminating the need
53 to send SIGUSR1 for the initial writing or updating. Any timed
54 rewriting remains undisturbed.
55
56 config BUSYBOX_CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC
57 bool "Select IP address based on client MAC"
58 default BUSYBOX_DEFAULT_FEATURE_UDHCPD_BASE_IP_ON_MAC
59 depends on BUSYBOX_CONFIG_UDHCPD
60 help
61 If selected, udhcpd will base its selection of IP address to offer
62 on the client's hardware address. Otherwise udhcpd uses the next
63 consecutive free address.
64
65 This reduces the frequency of IP address changes for clients
66 which let their lease expire, and makes consecutive DHCPOFFERS
67 for the same client to (almost always) contain the same
68 IP address.
69
70 config BUSYBOX_CONFIG_DHCPD_LEASES_FILE
71 string "Absolute path to lease file"
72 default BUSYBOX_DEFAULT_DHCPD_LEASES_FILE
73 depends on BUSYBOX_CONFIG_UDHCPD
74 help
75 udhcpd stores addresses in a lease file. This is the absolute path
76 of the file. Normally it is safe to leave it untouched.
77
78 config BUSYBOX_CONFIG_DUMPLEASES
79 bool "dumpleases"
80 default BUSYBOX_DEFAULT_DUMPLEASES
81 help
82 dumpleases displays the leases written out by the udhcpd.
83 Lease times are stored in the file by time remaining in lease, or
84 by the absolute time that it expires in seconds from epoch.
85
86 config BUSYBOX_CONFIG_DHCPRELAY
87 bool "dhcprelay"
88 default BUSYBOX_DEFAULT_DHCPRELAY
89 help
90 dhcprelay listens for dhcp requests on one or more interfaces
91 and forwards these requests to a different interface or dhcp
92 server.
93
94 config BUSYBOX_CONFIG_UDHCPC
95 bool "udhcpc (DHCP client)"
96 default BUSYBOX_DEFAULT_UDHCPC
97 select BUSYBOX_CONFIG_PLATFORM_LINUX
98 help
99 udhcpc is a DHCP client geared primarily toward embedded systems,
100 while striving to be fully functional and RFC compliant.
101
102 The udhcp client negotiates a lease with the DHCP server and
103 runs a script when a lease is obtained or lost.
104
105 config BUSYBOX_CONFIG_FEATURE_UDHCPC_ARPING
106 bool "Verify that the offered address is free, using ARP ping"
107 default BUSYBOX_DEFAULT_FEATURE_UDHCPC_ARPING
108 depends on BUSYBOX_CONFIG_UDHCPC
109 help
110 If selected, udhcpc will send ARP probes and make sure
111 the offered address is really not in use by anyone. The client
112 will DHCPDECLINE the offer if the address is in use,
113 and restart the discover process.
114
115 config BUSYBOX_CONFIG_FEATURE_UDHCPC_SANITIZEOPT
116 bool "Do not pass malformed host and domain names"
117 default BUSYBOX_DEFAULT_FEATURE_UDHCPC_SANITIZEOPT
118 depends on BUSYBOX_CONFIG_UDHCPC
119 help
120 If selected, udhcpc will check some options (such as option 12 -
121 hostname) and if they don't look like valid hostnames
122 (for example, if they start with dash or contain spaces),
123 they will be replaced with string "bad" when exporting
124 to the environment.
125
126 config BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT
127 string "Absolute path to config script"
128 default BUSYBOX_DEFAULT_UDHCPC_DEFAULT_SCRIPT
129 depends on BUSYBOX_CONFIG_UDHCPC
130 help
131 This script is called after udhcpc receives an answer. See
132 examples/udhcp for a working example. Normally it is safe
133 to leave this untouched.
134
135 config BUSYBOX_CONFIG_FEATURE_UDHCP_PORT
136 bool "Enable '-P port' option for udhcpd and udhcpc"
137 default BUSYBOX_DEFAULT_FEATURE_UDHCP_PORT
138 depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
139 help
140 At the cost of ~300 bytes, enables -P port option.
141 This feature is typically not needed.
142
143 config BUSYBOX_CONFIG_UDHCP_DEBUG
144 int "Maximum verbosity level for udhcp applets (0..9)"
145 default BUSYBOX_DEFAULT_UDHCP_DEBUG
146 range 0 9
147 depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_DHCPRELAY
148 help
149 Verbosity can be increased with multiple -v options.
150 This option controls how high it can be cranked up.
151
152 Bigger values result in bigger code. Levels above 1
153 are very verbose and useful for debugging only.
154
155 config BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397
156 bool "Support RFC3397 domain search (experimental)"
157 default BUSYBOX_DEFAULT_FEATURE_UDHCP_RFC3397
158 depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
159 help
160 If selected, both client and server will support passing of domain
161 search lists via option 119, specified in RFC 3397,
162 and SIP servers option 120, specified in RFC 3361.
163
164 config BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q
165 bool "Support 802.1Q VLAN parameters"
166 default BUSYBOX_DEFAULT_FEATURE_UDHCP_8021Q
167 depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
168 help
169 If selected, both client and server will support passing of VLAN
170 ID and priority via options 132 and 133 as per 802.1Q.
171
172 config BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS
173 int "DHCP options slack buffer size"
174 default BUSYBOX_DEFAULT_UDHCPC_SLACK_FOR_BUGGY_SERVERS
175 range 0 924
176 depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
177 help
178 Some buggy DHCP servers send DHCP offer packets with option
179 field larger than we expect (which might also be considered a
180 buffer overflow attempt). These packets are normally discarded.
181 If circumstances beyond your control force you to support such
182 servers, this may help. The upper limit (924) makes dhcpc accept
183 even 1500 byte packets (maximum-sized ethernet packets).
184
185 This option does not make dhcp[cd] emit non-standard
186 sized packets.
187
188 Known buggy DHCP servers:
189 3Com OfficeConnect Remote 812 ADSL Router:
190 seems to confuse maximum allowed UDP packet size with
191 maximum size of entire IP packet, and sends packets which are
192 28 bytes too large.
193 Seednet (ISP) VDSL: sends packets 2 bytes too large.