[Bug 7616] New: udhcpc converts hostname to bad

bugzilla at busybox.net bugzilla at busybox.net
Fri Nov 7 11:32:24 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=7616

           Summary: udhcpc converts hostname to bad
           Product: Busybox
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: Hubenau at web.de
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Hello Busybox Team,

I build udhcpc with "ENABLE_FEATURE_UDHCPC_SANITIZEOPT" enabled.

If my client get a hostname prefix with a number udhcpc converts it to "bad".

in source code

http://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c
line 139 ff

there RFC1035 is refered but this is for domains only.
For hostnames RFC952 should by used. For internethosts RFC1123.
Both allow numbers as first character for hostnames.

kind regards
Hubenau

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list