Bug 100606

Summary: /etc/services maps incorrect names for XMPP
Product: Base System Reporter: Ralph Meijer <freebsd-gnats2>
Component: confAssignee: Stanislav Sedov <stas>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 1.0-CURRENT   
Hardware: Any   
OS: Any   

Description Ralph Meijer 2006-07-20 12:50:15 UTC
The /etc/services file lists jabber-client and jabber-server mapped to ports r5222 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.

Fix: 

Rename jabber-client and jabber-server to xmpp-client and xmpp-server, optionally using the former two as aliases.
Comment 1 Stanislav Sedov freebsd_committer freebsd_triage 2007-04-11 13:29:25 UTC
Responsible Changed
From-To: freebsd-bugs->stas

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-04-11 14:06:16 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"
Comment 3 Stanislav Sedov freebsd_committer freebsd_triage 2007-04-11 14:11:12 UTC
State Changed
From-To: open->patched

The fix was committed to HEAD.
Comment 4 Stanislav Sedov freebsd_committer freebsd_triage 2007-06-24 09:23:15 UTC
State Changed
From-To: patched->closed

Committed. Thanks!