OpenWrt – Diff between revs 2 and 3

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