rpcd: iwinfo plugin fixes
[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         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_UDHCPC_SANITIZEOPT
94         bool "Do not pass malformed host and domain names"
95         default BUSYBOX_DEFAULT_FEATURE_UDHCPC_SANITIZEOPT
96         depends on BUSYBOX_CONFIG_UDHCPC
97         help
98           If selected, udhcpc will check some options (such as option 12 -
99           hostname) and if they don't look like valid hostnames
100           (for example, if they start with dash or contain spaces),
101           they will be replaced with string "bad" when exporting
102           to the environment.
103
104 config BUSYBOX_CONFIG_FEATURE_UDHCP_PORT
105         bool "Enable '-P port' option for udhcpd and udhcpc"
106         default BUSYBOX_DEFAULT_FEATURE_UDHCP_PORT
107         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
108         help
109           At the cost of ~300 bytes, enables -P port option.
110           This feature is typically not needed.
111
112 config BUSYBOX_CONFIG_UDHCP_DEBUG
113         int "Maximum verbosity level for udhcp applets (0..9)"
114         default BUSYBOX_DEFAULT_UDHCP_DEBUG
115         range 0 9
116         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_DHCPRELAY
117         help
118           Verbosity can be increased with multiple -v options.
119           This option controls how high it can be cranked up.
120
121           Bigger values result in bigger code. Levels above 1
122           are very verbose and useful for debugging only.
123
124 config BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397
125         bool "Support for RFC3397 domain search (experimental)"
126         default BUSYBOX_DEFAULT_FEATURE_UDHCP_RFC3397
127         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
128         help
129           If selected, both client and server will support passing of domain
130           search lists via option 119, specified in RFC 3397,
131           and SIP servers option 120, specified in RFC 3361.
132
133 config BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q
134         bool "Support for 802.1Q VLAN parameters"
135         default BUSYBOX_DEFAULT_FEATURE_UDHCP_8021Q
136         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
137         help
138           If selected, both client and server will support passing of VLAN
139           ID and priority via options 132 and 133 as per 802.1Q.
140
141 config BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT
142         string "Absolute path to config script"
143         default BUSYBOX_DEFAULT_UDHCPC_DEFAULT_SCRIPT
144         depends on BUSYBOX_CONFIG_UDHCPC
145         help
146           This script is called after udhcpc receives an answer. See
147           examples/udhcp for a working example. Normally it is safe
148           to leave this untouched.
149
150 config BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS
151         int "DHCP options slack buffer size"
152         default BUSYBOX_DEFAULT_UDHCPC_SLACK_FOR_BUGGY_SERVERS
153         range 0 924
154         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
155         help
156           Some buggy DHCP servers send DHCP offer packets with option
157           field larger than we expect (which might also be considered a
158           buffer overflow attempt). These packets are normally discarded.
159           If circumstances beyond your control force you to support such
160           servers, this may help. The upper limit (924) makes dhcpc accept
161           even 1500 byte packets (maximum-sized ethernet packets).
162
163           This option does not make dhcp[cd] emit non-standard
164           sized packets.
165
166           Known buggy DHCP servers:
167           3Com OfficeConnect Remote 812 ADSL Router:
168             seems to confuse maximum allowed UDP packet size with
169             maximum size of entire IP packet, and sends packets which are
170             28 bytes too large.
171           Seednet (ISP) VDSL: sends packets 2 bytes too large.