[jboss-jira] [JBoss JIRA] (AS7-3847) Non-standard format of IPv6 address(-es) in LOG files
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Feb 21 20:09:36 EST 2012
[ https://issues.jboss.org/browse/AS7-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-3847:
----------------------------------
Priority: Major (was: Critical)
The issue here is java.net.Inet6Address.getHostAddress() does not follow the RFC 5952 standard; specifically http://tools.ietf.org/html/rfc5952#section-4.2.
A separate JBWEB JIRA needs to be filed for org.apache.coyote.http11.Http11Protocol as that code is not part of the AS7 code base.
> Non-standard format of IPv6 address(-es) in LOG files
> -----------------------------------------------------
>
> Key: AS7-3847
> URL: https://issues.jboss.org/browse/AS7-3847
> Project: Application Server 7
> Issue Type: Bug
> Affects Versions: 7.1.0.Final
> Reporter: Pavel Janousek
>
> There are several places where some IPv6 address related info is logged. The format of a such info is formally correct, but used format is against [RFC-5952|http://tools.ietf.org/html/rfc5952] - this RFC has status of +Proposed standard+ and I don't know any software product which doesn't follow it (at least by-default).
> I think in enterprise product we should not violate this RFC.
> I'm mentioning about LOG messages like:
> {code}
> 15:14:15,985 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /0:0:0:0:0:0:0:1%1:9999
>
> 15:14:15,990 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on localhost6.localdomain6/0:0:0:0:0:0:0:1%1:4447
> {code}
> In both lines IPv6 address should be stretched to "::1" string.
> More "funny" and obfuscated version of the same LOG content is LOG line like this:
> {code}
> 15:14:14,363 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--0%3A0%3A0%3A0%3A0%3A0%3A0%3A1%251-8080
> {code}
> But both version of the issue is almost unreadable by human.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list