Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2020 02:09:37 +0100
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        Pedro Giffuni <pfg@FreeBSD.org>
Cc:        Florian Smeets <flo@smeets.xyz>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r358153 - head/usr.sbin/services_mkdb
Message-ID:  <20200223010937.fTLhW%steffen@sdaoden.eu>
In-Reply-To: <ed430f6a-e612-5fdb-2d70-058da5c04b09@FreeBSD.org>
References:  <202002200354.01K3s8ib077553@repo.freebsd.org> <03606e17-08fc-f575-95f5-c3c5128bff4f@smeets.xyz> <ed430f6a-e612-5fdb-2d70-058da5c04b09@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey, just so, because i posted to such a thing the last time.

Pedro Giffuni wrote in
<ed430f6a-e612-5fdb-2d70-058da5c04b09@FreeBSD.org>:
 |On 22/02/2020 11:18, Florian Smeets wrote:
 |> On 20.02.20 04:54, Pedro F. Giffuni wrote:
 |>> Author: pfg
 |>> Date: Thu Feb 20 03:54:07 2020
 |>> New Revision: 358153
 |>> URL: https://svnweb.freebsd.org/changeset/base/358153
 |>>
 |>> Log:
 |>>    /etc/services: attempt bring the database to this century.
 |>>    
 |>> -smtps             465/tcp    #smtp protocol over TLS/SSL (was ssmtp)
 |>> -smtps             465/udp    #smtp protocol over TLS/SSL (was ssmtp)
 |> I'm not sure how removals of services have been handled in the past.
 |> This change broke loading of my pf rule set, as I had smtps in there.
 |
 |Excellent!
 |
 |Not that the change broke something but that since we had to revert it 
 |we get a second chance to review such things.
 |
 |> I'm not saying that this change is wrong, but I think removing entries
 |> from services can break all kinds of stuff. Not just firewall rule sets,
 |> also scripts and thinking more about it, it will most certainly also
 |> break postfix as it also uses smtps as an alias for port 465 in its
 |> master.cnf
 |
 |According to latest IANA registy:
 ...

  kpasswd           464/udp   # kpasswd (Theodore Ts o)
  urd               465/tcp   # URL Rendezvous Directory for SSM (Toerless Eckert)
  submissions       465/tcp   # Message Submission over TLS protocol (IESG, IETF Chair, rfc8314) [2017-12-12]
  igmpv3lite        465/udp   # IGMP over UDP for SSM (Toerless Eckert)
  digital-vrc       466/tcp   # digital-vrc (Peter Higginson)

Oh yes, they finally managed to overcome the SMTPS problems.
The RFC has a nice reading on that (as i seem to remember), yay IETF.
I am really happy.  (I never understood why POP3S and IMAPS where
done but SMTPS was not.)

 |Anything that can be done upstream to sort this out?
 |
 |> I guess this needs to be at least mentioned in the release notes, and
 |> maybe smtps kept as an alias, and check all the others that were removed?
 |
 |For the time being, we can absolutely keep the legacy value with a 
 |conflict note. I wish the services list were a bit easier to maintain 
 |for such situations.

Doesn't it just search until it finds the string?
Btw. i can only offer the simple awk script that i have for
updating services and protocols again, after the critics last time
i have evolved it from its ArchLinux base, and added a verbose
mode, as you can see above.  (That Theodore Ts'o missspelling is
IANA rooted.)  Whereas it made it more complicated, 139 lines for
download and preparation is not that much.
Additions could simply be echoed?

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200223010937.fTLhW%steffen>