I heard, that it would be possible to get man-in-the-middle-attacked this way, but the details are not clear to me.

Is it dangerous to use ports above 1024 for things like SSL? And why?


I think you are mixing up two things:

  • A man-in-the-middle attack happens outside your computer in the network. All ports are in principle vulnerable against such attacks, unless you use a secure protocol on them
  • Only the root user can bind to the lower ports (up to 1023), but any user can bind to the other ports. Therefore, you usually don't want to use a higher port for things like ssl.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.