[mod_cluster-issues] [JBoss JIRA] Reopened: (MODCLUSTER-173) Alias max length too low

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Fri Dec 10 11:24:52 EST 2010


     [ https://issues.jboss.org/browse/MODCLUSTER-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar reopened MODCLUSTER-173:
---------------------------------------



I don't believe in this fix as it doesn't adhere to DNS specs RFC-1123 and I see no performance reason not to follow it.

An Alias is a valid hostname - a valid DNS record might be an Alias. The specification reads:

  The DNS defines domain name syntax very generally -- a
                 string of labels each containing up to 63 8-bit octets,
                 separated by dots, and with a maximum total of 255
                 octets. (http://www.ietf.org/rfc/rfc1123.txt)


Furthermore, the Alias size is truncated to 100 characters without letting the user know. This should rather result in configuration exception.


> Alias max length too low
> ------------------------
>
>                 Key: MODCLUSTER-173
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-173
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.0.3.GA
>         Environment: Windows server 2008
>            Reporter: Gregory Lardiere
>            Assignee: Jean-Frederic Clere
>             Fix For: 1.0.5, 1.1.1.Final
>
>         Attachments: alias.patch, makefile.patch, patch.txt
>
>
> We have virtual-hosts in server.xml with aliases of more than 40 characters. No problem on the jboss side, but on apache side, mod_cluster fails with the following message : "MEM: Can't read host alias".
> Changing HOSTALIASZ from 40 to 64 (mod_clustersize.h) resolves the problem (see patch #1).
> NB: I had to fix a few "NMAKEmakefile", otherwise it won't compile with Visual Studio 2010 (see patch #2)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the mod_cluster-issues mailing list