OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: valid_hostname chokes on trailing dot

From: Chad Whitacre (chadzetaweb.com)
Date: Wed Oct 01 2008 - 11:34:33 CDT


Happy to if you point me to it. I'm not an expert.

chad

Wietse Venema wrote:
> Chad Whitacre:
>> Greetings,
>>
>> In src/util/valid_hostname.c (version 2.5.5), valid_hostname
>> gives a "misplaced delimiter" warning if the hostname ends in a
>> trailing dot. Since a trailing dot is technically part of a FQDN,
>> I suggest that valid_hostname allow them. Patch attached.
>
> Please cite the relevant section of the relevant RFC.
>
> Wietse
>