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