El 10/8/25 a las 23:13, Grant Edwards escribió:
PD: nc -l myip myultracriticalport breaks your countermeasure of using proc to avoid port use (ip_local_reserved_ports) is part of the solution, not the solution itself. You need iptables in all cases.On 2025-08-10, Grant Taylor <[email protected]> wrote:and it looks like I'm going to need to do that to avoid possible collisionsI would ask why. But you hint at some additional complications.I need to be able to run servers that are required to bind to specific, well-known, reserved ports that are within the Linux ephemeral port range. If some client connection happens to be using one of those reserved ports, then the server will be unable to run. At least that's what my googling and reading have led me to believe. Is that wrong? Can a server bind to a and listen on a local port that is already in-use as the source port for a TCP connection? I guess I should test it... -- Grant
OpenPGP_0x57E64E0B7FC3BEDF.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature

