Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 6 | config APP_UDHCPD |
Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 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 | See http://udhcp.busybox.net for further details. |
| 14 | |
Denis Vlasenko | 736230e | 2006-11-20 19:40:36 +0000 | [diff] [blame] | 15 | config APP_DHCPRELAY |
| 16 | bool "dhcprelay" |
| 17 | default n |
| 18 | depends on APP_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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 24 | config APP_DUMPLEASES |
Mike Frysinger | 91a3390 | 2006-07-24 07:35:52 +0000 | [diff] [blame] | 25 | bool "Lease display utility (dumpleases)" |
| 26 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 27 | depends on APP_UDHCPD |
Mike Frysinger | 91a3390 | 2006-07-24 07:35:52 +0000 | [diff] [blame] | 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 | See http://udhcp.busybox.net for further details. |
| 34 | |
Denis Vlasenko | c82b510 | 2007-07-01 17:05:57 +0000 | [diff] [blame] | 35 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY |
| 36 | bool "Rewrite the lease file at every new acknowledge" |
| 37 | default n |
| 38 | depends on APP_UDHCPD |
| 39 | help |
| 40 | If selected, udhcpd will write a new file with leases every |
| 41 | time a new lease has been accepted, thus eleminating the need |
| 42 | to send SIGUSR1 for the initial writing, or updating. Any timed |
| 43 | rewriting remains undisturbed |
| 44 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 45 | config APP_UDHCPC |
Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 46 | bool "udhcp Client (udhcpc)" |
| 47 | default n |
| 48 | help |
| 49 | uDHCPc is a DHCP client geared primarily toward embedded systems, |
| 50 | while striving to be fully functional and RFC compliant. |
| 51 | |
| 52 | The udhcp client negotiates a lease with the DHCP server and |
| 53 | notifies a set of scripts when a lease is obtained or lost. |
| 54 | |
| 55 | See http://udhcp.busybox.net for further details. |
| 56 | |
Denis Vlasenko | 223bc97 | 2007-11-22 00:58:49 +0000 | [diff] [blame] | 57 | config FEATURE_UDHCPC_ARPING |
| 58 | bool "Ask udhcpc to verify that the offered address is free, using arpping" |
| 59 | default y |
| 60 | depends on APP_UDHCPC |
| 61 | help |
| 62 | If selected, udhcpc will use arpping to make sure the offered address |
| 63 | is really available. The client will DHCPDECLINE the offer if the |
| 64 | address is in use, and restart the discover process. |
| 65 | |
| 66 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 67 | config FEATURE_UDHCP_DEBUG |
Mike Frysinger | 91a3390 | 2006-07-24 07:35:52 +0000 | [diff] [blame] | 68 | bool "Compile udhcp with noisy debugging messages" |
Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 69 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 70 | depends on APP_UDHCPD || APP_UDHCPC |
Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 71 | help |
| 72 | If selected, udhcpd will output extra debugging output. If using |
| 73 | this option, compile uDHCP with "-g", and do not fork the daemon to |
| 74 | the background. |
| 75 | |
| 76 | See http://udhcp.busybox.net for further details. |
Denis Vlasenko | 5066473 | 2007-02-27 21:15:08 +0000 | [diff] [blame] | 77 | |
| 78 | config FEATURE_RFC3397 |
| 79 | bool "Support for RFC3397 domain search (experimental)" |
| 80 | default n |
| 81 | depends on APP_UDHCPD || APP_UDHCPC |
| 82 | help |
| 83 | If selected, both client and server will support passing of domain |
| 84 | search lists via option 119, specified in RFC3397. |
Denis Vlasenko | 72e7604 | 2007-11-25 03:15:24 +0000 | [diff] [blame] | 85 | |
| 86 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS |
| 87 | int "DHCP options slack buffer size" |
| 88 | default 80 |
| 89 | range 0 924 |
| 90 | depends on APP_UDHCPD || APP_UDHCPC |
| 91 | help |
| 92 | Some buggy DHCP servers will send DHCP offer packets with option |
| 93 | field larger than we expect (which might also be considered a |
| 94 | buffer overflow attempt). These packets are normally discarded. |
| 95 | If circumstances beyond your control force you to support such |
| 96 | servers, this may help. The upper limit (924) makes dhcpc accept |
| 97 | even 1500 byte packets (maximum-sized ethernet packets). |
| 98 | |
| 99 | This options does not make dhcp[cd] emit non-standard |
| 100 | sized packets. |
| 101 | |
| 102 | Known buggy DHCP servers: |
| 103 | 3Com OfficeConnect Remote 812 ADSL Router: |
| 104 | seems to confuse maximum allowed UDP packet size with |
| 105 | maximum size of entire IP packet, and sends packets which are |
| 106 | 28 bytes too large. |
Denis Vlasenko | 2bec513 | 2007-12-02 08:56:53 +0000 | [diff] [blame] | 107 | Seednet (ISP) VDSL: sends packets 2 bytes too big. |