On Fri, 7 Nov 2014 08:46:52 +0000 (UTC), Stuart Henderson
<[email protected]> wrote:

> On 2014-11-07, David Higgs <[email protected]> wrote:
> > I defined the 'svn' port in /etc/services but as of 5.6 this file
> > now appears to be unconditionally overwritten during upgrades
> > (previously it was handled via sysmerge).
> >
> > Is there a better mechanism to keep these, or should I just update
> > pf.conf to use the numeric port number?  The services(5) man page
> > doesn't provide any hints.  
> 
> There's no mechanism to keep these, I tend to use macros in pf.conf
> for ports that aren't in /etc/services. Though in the case of svn I
> think it would be reasonable to add it in the file..

So do I. 

What's the policy of /etc/services?

I mean other than be listed by the IANA [1] and the fact than just
adding tcp or udp if it doesn't use both?

I think xmpp deserves its place :)

[1]:
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt

Cheers,
Daniel

Index: etc/services
===================================================================
RCS file: /cvs/src/etc/services,v
retrieving revision 1.90
diff -u -p -u -p -r1.90 services
--- etc/services        7 Nov 2014 09:23:20 -0000       1.90
+++ etc/services        7 Nov 2014 16:03:16 -0000
@@ -246,6 +246,8 @@ rfe         5002/tcp                        # Radio Free 
Ethernet
 rfe            5002/udp                        # Actually uses UDP only
 sip            5060/tcp                        # SIP
 sip            5060/udp                        # SIP
+xmpp-client    5222/tcp                        # XMPP Client Connection (c2s)
+xmpp-server    5269/tcp                        # XMPP Server Connection (s2s)
 postgresql     5432/tcp                        # PostgreSQL
 postgresql     5432/udp                        # PostgreSQL
 afs3-fileserver        7000/tcp                        # AFS fileserver

Reply via email to