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