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.
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? Two additional cents... Fábio -- ex sed lex awk yacc, e pluribus unix, amem _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
