Package: klibc-utils
Version: 1.5.12-2
Severity: important

Hi,

ipconfig truncates DHCP root-path options (à la 
[<server-ip>:]<root-dir>[,<nfs-options>]) 
after 40 bytes. The reason seems to be this #define:
usr/kinit/ipconfig/netdev.h:7:#define BPLEN             40

This is definitely way too short, especially if you take into account that 
dotted-decimal IP addresses are up to 15 bytes long and that NFS mount options 
may also grow quite long.

AFAICS ISC dhcpd allows more than 1000 bytes for options like this with data 
type 'text' 
and even RFC951 defines a maximum of 128 for the BOOTP file field which is the 
predecessor of DHCP root-path IIRC.

So this should be raised at least to 128 bytes - but even more would be better.

Kind regards,
        Christopher

-- System Information:
Debian Release: 4.0
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages klibc-utils depends on:
ii  libklibc                1.5.12-2~bpo40+1 minimal libc subset for use with i

klibc-utils recommends no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to