Skip to contentSkip to conversation

Possibility to adjust the only-root-can-bind-to-port-under-1024 limit

DISCUSSION Mikael Ståldal 1 participant 1 message Dec 6, 2007 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Casey Schaufler skrev:

Quoted 8 lines
Quoted 2 lines

How do you protect ports greater than 1024 from any user binding to them? E.g. port 1080.

Should the OS manage port number allocations? I don't think so based on the notion of ports being names in an uncontrolled flat namespace. The whole problem is that people want to make assumptions about the applications providing services on a particular port, and no amount of OS control is going to solve that one.

This means that the OS should allow any user to bind to all ports, even those <1024.

/Mikael