From: Peter Staubach <staubach@redhat.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: [patch] Underscore in hostnames
Date: Wed, 13 Dec 2006 08:26:32 -0500 [thread overview]
Message-ID: <457FFF88.9020601@redhat.com> (raw)
In-Reply-To: <1165979036.3332.15.camel@raven.themaw.net>
Ian Kent wrote:
> On Mon, 2006-12-11 at 14:58 -0200, Fabio Olive Leite wrote:
>
>> On Mon, Dec 11, 2006 at 11:17:31AM -0500, Jeff Moyer wrote:
>>
>>> If you want to disallow this, then surely it is best to simply "fix"
>>> the name resolution routines in libc. At this point, however, that
>>> could be viewed as a regression.
>>>
>
> I've thought more about this and Peter certainly has a valid concern.
>
> However, I think that the decision as to whether a host name may contain
> an "_" is the responsibility of the service that resolves names, such as
> FNS, and not of an application that uses the names. If the name resolves
> I think we should just use it.
>
>
This sounds very reasonable to me.
ps
> So I'm going to add the original patch when I get a chance..
>
>
>> Even though I do my own RFC evangelizing at times, I can't help but
>> think: why limit automount with a hostname validation routine when
>> automount is *not* the authoritative entity that decides what is a
>> valid hostname? Will you want to patch automount again whenever the
>> RFCs get updated?
>>
>> automount should regard the hostname as a string, and if it can be
>> resolved, great. If it cannot, complain in the logs and exit. But it
>> should not enforce validation on top of something that can be
>> redefined under its feet anytime in the future.
>>
>> Will you also include validation for bracketed IPv6 literals? And
>> whatever comes next?
>>
>
> Basically, yes.
> I want input validation and will have to deal with it as and when
> needed.
>
> Ian
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
>
next prev parent reply other threads:[~2006-12-13 13:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 23:22 [patch] Underscore in hostnames Fabio Olive Leite
2006-12-11 3:56 ` Ian Kent
2006-12-11 12:05 ` Fabio Olive Leite
2006-12-11 14:16 ` Jeff Moyer
2006-12-11 15:34 ` Ian Kent
2006-12-11 15:57 ` Peter Staubach
2006-12-11 16:17 ` Jeff Moyer
2006-12-11 16:58 ` Fabio Olive Leite
2006-12-13 3:03 ` Ian Kent
2006-12-13 13:26 ` Peter Staubach [this message]
2006-12-11 16:20 ` Ian Kent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457FFF88.9020601@redhat.com \
--to=staubach@redhat.com \
--cc=autofs@linux.kernel.org \
--cc=raven@themaw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.