diff options
Diffstat (limited to 'networking/udhcp/Config.in')
-rw-r--r-- | networking/udhcp/Config.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in index 734db65cc..1aef69ba7 100644 --- a/networking/udhcp/Config.in +++ b/networking/udhcp/Config.in | |||
@@ -82,3 +82,25 @@ config FEATURE_RFC3397 | |||
82 | help | 82 | help |
83 | If selected, both client and server will support passing of domain | 83 | If selected, both client and server will support passing of domain |
84 | search lists via option 119, specified in RFC3397. | 84 | search lists via option 119, specified in RFC3397. |
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. | ||