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