Thank you for this example. I have looked at my pf logs and found the same.
But correct me if i'm wrong, these tests are in contradiction with what's written in wikipedia.
Quote:
An ephemeral port is a short-lived transport protocol port...used by the Transmission Control Protocol (TCP), User Datagram Protocol (UDP), or the Stream Control Transmission Protocol (SCTP) as the port assignment for the client end of a client–server communication to a well known port on a server...The Internet Assigned Numbers Authority (IANA) suggests the range 49152 to 65535 for dynamic or private ports.
|
In you example, in my logs and on my OpenBSD connect to port 21 or 123 with a port between 1024 and 49151.
Isn't it illogical ?