From nobody@FreeBSD.org  Thu Jul 20 11:40:32 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E39D816A4DD
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Jul 2006 11:40:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B26F443D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Jul 2006 11:40:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6KBeWVM078583
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Jul 2006 11:40:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6KBeWdw078582;
	Thu, 20 Jul 2006 11:40:32 GMT
	(envelope-from nobody)
Message-Id: <200607201140.k6KBeWdw078582@www.freebsd.org>
Date: Thu, 20 Jul 2006 11:40:32 GMT
From: Ralph Meijer <freebsd-gnats2@ralphm.ik.nu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/services maps incorrect names for XMPP
X-Send-Pr-Version: www-2.3

>Number:         100606
>Category:       conf
>Synopsis:       /etc/services maps incorrect names for XMPP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 11:50:15 GMT 2006
>Closed-Date:    Sun Jun 24 08:23:17 GMT 2007
>Last-Modified:  Sun Jun 24 08:23:17 GMT 2007
>Originator:     Ralph Meijer
>Release:        
>Organization:
>Environment:
>Description:
The /etc/services file lists jabber-client and jabber-server mapped to ports 5222 and 5269 respectively. However, IANA changed the registration on 2004-02-20 to be xmpp-client and xmpp-server. This should be reflected in the /etc/services file. I don't think retaining the old names is needed (the IANA services file doesn't list them).

One of the problems this causes is that applications developed on Linux based systems, that do SRV lookups, and want to use the port number from /etc/services as a fallback, fail mysteriously.
>How-To-Repeat:

>Fix:
Rename jabber-client and jabber-server to xmpp-client and xmpp-server, optionally using the former two as aliases.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->stas 
Responsible-Changed-By: stas 
Responsible-Changed-When: Wed Apr 11 12:29:25 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100606 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/100606: commit references a PR
Date: Wed, 11 Apr 2007 13:06:16 +0000 (UTC)

 stas        2007-04-11 13:06:06 UTC
 
   FreeBSD src repository (ports committer)
 
   Modified files:
     etc                  services 
   Log:
   - Sync service names with IANA (http://www.iana.org/assignments/port-numbers).
     The registration names for 5222(tcp,udp) and 5269(tcp,udp) was changed to
     xmpp-client and xmpp-server correspondingly.
   
     This inconsistency causes problems to applications developed on other
     systems, as they tries to use port numbers from /etc/services as fallback.
   
   PR:             conf/100606
   Submitted by:   Ralph Meijer <freebsd-gnats2@ralphm.ik.nu>
   Approved by:    maxim
   MFC after:      1 week
   
   Revision  Changes    Path
   1.104     +4 -4      src/etc/services
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: stas 
State-Changed-When: Wed Apr 11 13:11:12 UTC 2007 
State-Changed-Why:  
The fix was committed to HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100606 
State-Changed-From-To: patched->closed 
State-Changed-By: stas 
State-Changed-When: Sun Jun 24 08:23:15 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100606 
>Unformatted:
