Goodbye, Privileged Ports! [was Re: MacOS TCP port permissions]

Liste des GroupesRevenir à cu programmer 
Sujet : Goodbye, Privileged Ports! [was Re: MacOS TCP port permissions]
De : cross (at) *nospam* spitfire.i.gajendra.net (Dan Cross)
Groupes : comp.unix.programmer
Date : 17. Apr 2026, 15:58:41
Autres entêtes
Organisation : PANIX Public Access Internet and UNIX, NYC
Message-ID : <10rthr1$449$2@reader1.panix.com>
References : 1 2 3
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <10rqsr8$1bra1$1@dont-email.me>,  <boltar@caprica.universe> wrote:
On Thu, 16 Apr 2026 13:23:47 +0100
Geoff Clare <geoff@clare.See-My-Signature.invalid> gabbled:
boltar wrote:
>
I've just discovered that the current version of MacOS I'm running (15.7.5)
doesn't seem to enforce restricted TCP ports below 1024 and a process
without root permission seems to be able to open a listening socket on any
port it pleases. I'm using a standard user account without AFAIK any special
>
priviledges given to it.
 
Perhaps MacOS never enforced this, anyone know?
>
Apparently it changed in MacOS Mojave to match how iOS behaves.
>
See https://developer.apple.com/forums/thread/674179
>
Cheers for that. Whoever "DTS Engineer" is he clearly doesn't understand the
reasons the restriction was put in in the first place - ie that the services
on low ports are the real deal and not maybe some credential snatcher spun
up by a user. eg, running a hacked version of sshd on port 22.

You're right.

That engineer probably never had to deal with computationally
expensive cryptographic code on a slow VAX-11 computer with
performance masured at less than one million instructions per
second and RAM in the single-digit megabytes, running an
operating system designed for unnetworked timesharing on a
single machine, with no useful data that would let them securely
authenticate users across an untrusted network (let alone
provide mutual authentication of the server!), all while the
system was loaded down with 20 interactive timesharing users all
trying to do real work.

Well, having dealt with that myself, all I can say is, thank
goodness those days ended in the mid-1980s!

- Dan C.


Date Sujet#  Auteur
16 Apr09:44 * MacOS TCP port permissions71boltar
16 Apr13:23 `* Re: MacOS TCP port permissions70Geoff Clare
16 Apr15:48  `* Re: MacOS TCP port permissions69boltar
16 Apr20:29   +* Re: MacOS TCP port permissions56Richard Kettlewell
17 Apr11:31   i`* Re: MacOS TCP port permissions55boltar
17 Apr15:04   i `* Re: MacOS TCP port permissions54Dan Cross
17 Apr15:41   i  `* Re: MacOS TCP port permissions53boltar
17 Apr16:20   i   +* Re: MacOS TCP port permissions35Dan Cross
17 Apr16:50   i   i`* Re: MacOS TCP port permissions34boltar
17 Apr17:09   i   i +* Re: MacOS TCP port permissions14Dan Cross
18 Apr11:28   i   i i`* Re: MacOS TCP port permissions13boltar
18 Apr16:06   i   i i +* Re: MacOS TCP port permissions8Dan Cross
18 Apr16:26   i   i i i`* Re: MacOS TCP port permissions7boltar
18 Apr16:48   i   i i i `* Re: MacOS TCP port permissions6Dan Cross
18 Apr16:52   i   i i i  `* Re: MacOS TCP port permissions5boltar
18 Apr16:56   i   i i i   `* Re: MacOS TCP port permissions4Dan Cross
18 Apr16:59   i   i i i    `* Re: MacOS TCP port permissions3boltar
18 Apr17:12   i   i i i     `* Re: MacOS TCP port permissions2Dan Cross
19 Apr10:02   i   i i i      `- Re: MacOS TCP port permissions1boltar
18 Apr16:58   i   i i +* Re: MacOS TCP port permissions2boltar
19 Apr00:05   i   i i i`- Re: MacOS TCP port permissions1Nuno Silva
19 Apr00:01   i   i i `* Re: MacOS TCP port permissions2Nuno Silva
19 Apr00:50   i   i i  `- Re: MacOS TCP port permissions1Dan Cross
17 Apr21:34   i   i +* Re: MacOS TCP port permissions18Keith Thompson
17 Apr22:53   i   i i+- Re: MacOS TCP port permissions1Richard Kettlewell
17 Apr23:56   i   i i+* Re: MacOS TCP port permissions11Dan Cross
18 Apr00:48   i   i ii+* Re: MacOS TCP port permissions2Keith Thompson
18 Apr02:56   i   i iii`- Re: MacOS TCP port permissions1Dan Cross
18 Apr11:39   i   i ii`* Re: MacOS TCP port permissions8boltar
18 Apr16:08   i   i ii `* Re: MacOS TCP port permissions7Dan Cross
18 Apr16:28   i   i ii  `* Re: MacOS TCP port permissions6boltar
18 Apr16:48   i   i ii   `* Re: MacOS TCP port permissions5Dan Cross
18 Apr16:55   i   i ii    `* Re: MacOS TCP port permissions4boltar
18 Apr16:57   i   i ii     `* Re: MacOS TCP port permissions3Dan Cross
19 Apr10:00   i   i ii      `* Re: MacOS TCP port permissions2boltar
19 Apr14:20   i   i ii       `- Re: MacOS TCP port permissions1Dan Cross
18 Apr11:36   i   i i`* Re: MacOS TCP port permissions5boltar
19 Apr01:54   i   i i +* Re: MacOS TCP port permissions3Keith Thompson
19 Apr10:08   i   i i i`* Re: MacOS TCP port permissions2baltar
19 Apr14:29   i   i i i `- Re: MacOS TCP port permissions1Dan Cross
19 Apr10:45   i   i i `- Re: MacOS TCP port permissions1Nuno Silva
18 Apr11:30   i   i `- Re: MacOS TCP port permissions1boltar
17 Apr20:09   i   `* Re: MacOS TCP port permissions17Richard Kettlewell
18 Apr11:32   i    `* Re: MacOS TCP port permissions16boltar
18 Apr13:02   i     `* Re: MacOS TCP port permissions15Richard Kettlewell
18 Apr15:40   i      `* Re: MacOS TCP port permissions14boltar
18 Apr16:14   i       +* Re: MacOS TCP port permissions11Kalevi Kolttonen
18 Apr16:29   i       i`* Re: MacOS TCP port permissions10boltar
18 Apr16:52   i       i +* Re: MacOS TCP port permissions3Kalevi Kolttonen
18 Apr16:57   i       i i`* Re: MacOS TCP port permissions2boltar
18 Apr16:59   i       i i `- Re: MacOS TCP port permissions1Kalevi Kolttonen
19 Apr00:24   i       i `* Re: MacOS TCP port permissions6Nuno Silva
19 Apr00:53   i       i  +* Re: MacOS TCP port permissions3Dan Cross
19 Apr17:01   i       i  i`* Running sshd on another port does have merit - even if in theory it does not (Was: MacOS TCP port permissions)2Kenny McCormack
19 Apr17:28   i       i  i `- Re: Running sshd on another port does have merit - even if in theory it does not1Kalevi Kolttonen
19 Apr10:03   i       i  `* Re: MacOS TCP port permissions2boltar
19 Apr10:26   i       i   `- Re: MacOS TCP port permissions1Nuno Silva
18 Apr17:07   i       +- Re: MacOS TCP port permissions1Richard Kettlewell
18 Apr23:36   i       `- Re: MacOS TCP port permissions1Lawrence D’Oliveiro
17 Apr00:23   +* Re: MacOS TCP port permissions11Lawrence D’Oliveiro
17 Apr00:34   i+- Re: MacOS TCP port permissions1Keith Thompson
17 Apr01:00   i+- Re: MacOS TCP port permissions1Nuno Silva
17 Apr08:12   i+* Re: MacOS TCP port permissions6Nicolas George
17 Apr08:54   ii`* Re: MacOS TCP port permissions5Richard Kettlewell
17 Apr14:49   ii `* Re: MacOS TCP port permissions4Nicolas George
17 Apr15:50   ii  +- Re: MacOS TCP port permissions1Dan Cross
18 Apr09:22   ii  `* Re: MacOS TCP port permissions2Nuno Silva
18 Apr17:09   ii   `- Re: MacOS TCP port permissions1Dan Cross
17 Apr11:31   i`* Re: MacOS TCP port permissions2boltar
17 Apr23:53   i `- Re: MacOS TCP port permissions1Lawrence D’Oliveiro
17 Apr15:58   `- Goodbye, Privileged Ports! [was Re: MacOS TCP port permissions]1Dan Cross

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal