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