upload tizen1.0 source
[external/busybox.git] / util-linux / networking / udhcp / Config.src
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 INSERT
7
8 config UDHCPD
9         bool "udhcp server (udhcpd)"
10         default y
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 DHCPRELAY
16         bool "dhcprelay"
17         default y
18         depends on UDHCPD
19         help
20           dhcprelay listens for dhcp requests on one or more interfaces
21           and forwards these requests to a different interface or dhcp
22           server.
23
24 config DUMPLEASES
25         bool "Lease display utility (dumpleases)"
26         default y
27         depends on UDHCPD
28         help
29           dumpleases displays the leases written out by the udhcpd server.
30           Lease times are stored in the file by time remaining in lease, or
31           by the absolute time that it expires in seconds from epoch.
32
33 config FEATURE_UDHCPD_WRITE_LEASES_EARLY
34         bool "Rewrite the lease file at every new acknowledge"
35         default y
36         depends on UDHCPD
37         help
38           If selected, udhcpd will write a new file with leases every
39           time a new lease has been accepted, thus eliminating the need
40           to send SIGUSR1 for the initial writing or updating. Any timed
41           rewriting remains undisturbed
42
43 config DHCPD_LEASES_FILE
44         string "Absolute path to lease file"
45         default "/var/lib/misc/udhcpd.leases"
46         depends on UDHCPD
47         help
48           udhcpd stores addresses in a lease file. This is the absolute path
49           of the file. Normally it is safe to leave it untouched.
50
51 config UDHCPC
52         bool "udhcp client (udhcpc)"
53         default y
54         help
55           udhcpc is a DHCP client geared primarily toward embedded systems,
56           while striving to be fully functional and RFC compliant.
57
58           The udhcp client negotiates a lease with the DHCP server and
59           runs a script when a lease is obtained or lost.
60
61 config FEATURE_UDHCPC_ARPING
62         bool "Verify that the offered address is free, using ARP ping"
63         default y
64         depends on UDHCPC
65         help
66           If selected, udhcpc will send ARP probes and make sure
67           the offered address is really not in use by anyone. The client
68           will DHCPDECLINE the offer if the address is in use,
69           and restart the discover process.
70
71 config FEATURE_UDHCP_PORT
72         bool "Enable '-P port' option for udhcpd and udhcpc"
73         default y
74         depends on UDHCPD || UDHCPC
75         help
76           At the cost of ~300 bytes, enables -P port option.
77           This feature is typically not needed.
78
79 config UDHCP_DEBUG
80         int "Maximum verbosity level for udhcp applets (0..9)"
81         default 9
82         range 0 9
83         depends on UDHCPD || UDHCPC || DHCPRELAY
84         help
85           Verbosity can be increased with multiple -v options.
86           This options controls how high it can be cranked up.
87
88           Bigger values result in bigger code. Levels above 1
89           are very verbose and useful for debugging only.
90
91 config FEATURE_UDHCP_RFC3397
92         bool "Support for RFC3397 domain search (experimental)"
93         default y
94         depends on UDHCPD || UDHCPC
95         help
96           If selected, both client and server will support passing of domain
97           search lists via option 119, specified in RFC 3397,
98           and SIP servers option 120, specified in RFC 3361.
99
100 config UDHCPC_DEFAULT_SCRIPT
101         string "Absolute path to config script"
102         default "/usr/share/udhcpc/default.script"
103         depends on UDHCPC
104         help
105           This script is called after udhcpc receives an answer. See
106           examples/udhcp for a working example. Normally it is safe
107           to leave this untouched.
108
109 config UDHCPC_SLACK_FOR_BUGGY_SERVERS
110         int "DHCP options slack buffer size"
111         default 80
112         range 0 924
113         depends on UDHCPD || UDHCPC
114         help
115           Some buggy DHCP servers send DHCP offer packets with option
116           field larger than we expect (which might also be considered a
117           buffer overflow attempt). These packets are normally discarded.
118           If circumstances beyond your control force you to support such
119           servers, this may help. The upper limit (924) makes dhcpc accept
120           even 1500 byte packets (maximum-sized ethernet packets).
121
122           This option does not make dhcp[cd] emit non-standard
123           sized packets.
124
125           Known buggy DHCP servers:
126           3Com OfficeConnect Remote 812 ADSL Router:
127             seems to confuse maximum allowed UDP packet size with
128             maximum size of entire IP packet, and sends packets which are
129             28 bytes too large.
130           Seednet (ISP) VDSL: sends packets 2 bytes too large.