[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [idn] UTF-8 / RACE



Patrik Fältström <paf@cisco.com> wrote:

> The problem is NOT the DNS protocol or gethostbyname() or such, the
> problem are all the applications while using some application layer
> protocol, and what charset they are going to use when passing around
> what they belive is a domainname.

Oh yes, I understand this.

> All applications have to be changed.

There are some small applications that never pass domain names around
except to/from the user and to/from DNS (like ping and netstat, and
telnet I think).  For these applications, changing gethostbyname() to
support the encoding of the current locale might be enough (if they are
already 8-bit clean).

But application-layer protocols do indeed need to define a common
representation of domain names and convert between that and the local
charset.

AMC