What do ports look like? Kind of confused too....
What do ports look like? I’m going to feel really dumb for asking this and like I’m throwing myself to the wolves here. I have a pretty high spectrum in networking knowledge and just now I just realized I don’t know everything about ports. Just something I learned to use as a kid and then later on just was comfortable and used to using in my daily life. So it just dawned on me basically.
So are ports a physical thing? Something in your network card / wireless gateway or just a program listening for specific data structures and information dedicated to that service?
All this time I kind of just thought of ports as a physical pin, hole, receiver like object built into my router or network card. I feel that I am about to greatly be disappointed since I just thought of the idea that they could be a little piece of software forwarding assigned information like a softwares process id or something to differentiate what service to use to handle that connection opposed to having an actual established connection to a physical piece of hardware that handles the information. But then when you have a connection and use multiple services on the same port those connections get messed up, are slow, and are all screwy. But with an ethernet cable there is no way so many pins and stuff could go in there. Unless it’s in your router…. or even the modem, but then that last part doesn’t really make sense because everything would have to be done in the LAN and you’re firewall would have no way of detecting something in the modem. At least I don’t think so…. Maybe there’s ports on every device? I know from an old graphic 90’s cartoon that the router was depicted recieving Mr. TCP and filtering out all of the malicious packets, therefore I think they would be there. I’m completely tired and confused, but this won’t let me sleep whatsoever. Please bare with me even if I sound completely dumb. I’ve tried doing research and cannot seem to find an answer at all.
Yes I am aware that ports are part of the TCP/IP suite and handle connectios, internet, network, 16-bit, and all of those other essential information you should know. I’m missing the very very very first thing. I know how a port functions but not what it is. Just think of it in Dr. Steve Brules voice when I ask this very stupidly. What is a port? Where is a port? What does one look like, what does a port smell like, or what even does it taste like? What does the port feel like? Let’s check it out! No seriously though, I feel like a big dingus and really stupid for asking this and at this point in my experience think I should know this. When I first learned anything about networking I just learned the things I needed to know to get the job done. I hope this makes sense and my question gets answered. Wish it could’ve been said better but since I’m lacking the brain capacity, nope. Thanks guys if I fall asleep.
Mm I don’t have much time, but from what I know they’re just a number specified, like a “deal” between your machine, the router and the target. Nothing physical, but also no software. Just like a method.
I might be wrong though, and I will read your post thoroughly in some hours.
Let’s see if someone corrects.
Sorry if that sounded stupid.
All your karamas are belong to us.
There are many types of ports. Like USB port, lan port, virtual ports (which I think you are talking about). There are a lot of definitions of ports. But I seriously doubt that you didn’t Google about “ports” did ya? :|
- @IAmDevil
Its good to be back! :D
Yes I did Google about it @IAmDevil and virtual ports is what I’m talking about.
Any instructional video you watch never refers a port as a virtual port that I’ve watch nor any wikipedia entry, etc. Knew I was going to regret posting this.
Hey @MaxLockhart , check out this link…hope it helps !!
http://www.breakthesecurity.com/2011/07/what-is-virtual-and-physical-ports.html?m=1
- @IAmDevil
Its good to be back! :D
Thank you @Abhi_hacker, yes that again refreshed me on a bunch of other info that wasn’t what I was looking for. I think where it says virtual ports are application based summed it all up. So yes, I am disappointed for sure. I always thought it worked like how I was introduced to networking with that old graphic 90’s cartoon, and thus my experience with nmap started.
Jump to 8:41
So okay to clarify things I have some more questions. All of our devices talk with a piece of hardware of course. No application would handle such if it doesn’t have the physical abilities to. If I wanted to walk to the store and didn’t have legs I wouldn’t be able to, common sense kind of thing.
Our Servers [network card] or [ethernet cable] > [router] > [modem] > [internet] via ISP > further more [Satellite Links] etc.
Correct?
So there’s no physical layer that handles information as a “port” assigned with numbers 0-65535, but all processed in an application layer that determines what service is assigned to that port number in order to determine what protocol to use?
Just read through my original post, I sounded so freakin' retarded. It was 3 A.M. and I had just got off of work. I’m sorry @IAmDevil and @Abhi_hacker
Yes, to vulgarize more:
They’re just a 16bits encoded number used for process to communicate without interfering each others.
port (from latin porta -> door) are managed by the transport layer (the 4th in OSI model).
Only the first 3 layers are considered physical.
Thank you @Memoria . I hope this doesn’t disappoint my bias about ports too much. All very helpful