Hi,
I've read several wishy washy articles about computer ports, and several which are so technical I don't understand them. I was hoping someone could explain them in simple terms (or point me to a good article!)
This is what I think I know so far:
- Ports are used to communicate between computer hardware and software
- Applications are assigned specific ports to communicate on
- They are virtual links/pipes (what's the right word?!), but they run over physical links
- If you don't use a firewall then all ports are open and can be attacked
This is what I specifically don't understand:
- How are they "set up"? Which part of the computer hardware controls ports?
- Applications are assigned specific ports for security reasons, but how does that stop people just attacking those specified ports? For example everyone knows http uses port 80, so how does that stop people attacking port 80 since it's open?
- What happens is 2 applications try and use the same port?
- When an application is accessed over the Internet and port forwarding is setup, does the application need to know which port the request is coming in on? i.e. I've seen scenarios where source & destination ports are different.
I know that's a lot of questions, but I'd be grateful to know the answer to any of them!