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