Understanding Port Scanner [closed]











up vote
0
down vote

favorite












Question 1: I want to do a port scanner in Windows. What exactly is a port Scanner?
Its basically netstat -ano and showing the user what ports are open and the services behind it?



Or does it mean the system ports that are listening and that are vulnerable?



I'm pretty much confused what exactly a port scanner does.



Question 2: Ports that are open are basically ports that have the state "LISTENING" or "ESTABLISHED"?










share|improve this question













closed as off-topic by Ramhound, DavidPostill Nov 15 at 21:02


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.













  • What exactly is a port Scanner? Port scanner sends packet(s) to some external node and port. If any answer is received the port is opened. The packet can be generic or special (adapted to some service which can be attached to this port).
    – Akina
    Nov 15 at 12:50










  • @Akina I scanned my windows using Solaris port scanner. I can see some ports as open apart from the ones shown in netstat. Any reason for this behaviour?
    – Oxia
    Nov 15 at 13:08










  • Your OS accepts any packet received from network (if packet destination is equal to any local interface address or the packet is broadcast/multicast of any type). Depending of packet parameters (protocol, port, source IP, etc.) OS can: 1) drop packet without answer; 2) send some answer by itself; 3) transmit packet to some service/application (including some OS service rather than IP stack) which will send some answer; 4) transmit packet to some service/application which will not send answer. Scanner shows ports from categories 2 and 3 whereas netstat - only from category 3.
    – Akina
    Nov 15 at 13:23

















up vote
0
down vote

favorite












Question 1: I want to do a port scanner in Windows. What exactly is a port Scanner?
Its basically netstat -ano and showing the user what ports are open and the services behind it?



Or does it mean the system ports that are listening and that are vulnerable?



I'm pretty much confused what exactly a port scanner does.



Question 2: Ports that are open are basically ports that have the state "LISTENING" or "ESTABLISHED"?










share|improve this question













closed as off-topic by Ramhound, DavidPostill Nov 15 at 21:02


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.













  • What exactly is a port Scanner? Port scanner sends packet(s) to some external node and port. If any answer is received the port is opened. The packet can be generic or special (adapted to some service which can be attached to this port).
    – Akina
    Nov 15 at 12:50










  • @Akina I scanned my windows using Solaris port scanner. I can see some ports as open apart from the ones shown in netstat. Any reason for this behaviour?
    – Oxia
    Nov 15 at 13:08










  • Your OS accepts any packet received from network (if packet destination is equal to any local interface address or the packet is broadcast/multicast of any type). Depending of packet parameters (protocol, port, source IP, etc.) OS can: 1) drop packet without answer; 2) send some answer by itself; 3) transmit packet to some service/application (including some OS service rather than IP stack) which will send some answer; 4) transmit packet to some service/application which will not send answer. Scanner shows ports from categories 2 and 3 whereas netstat - only from category 3.
    – Akina
    Nov 15 at 13:23















up vote
0
down vote

favorite









up vote
0
down vote

favorite











Question 1: I want to do a port scanner in Windows. What exactly is a port Scanner?
Its basically netstat -ano and showing the user what ports are open and the services behind it?



Or does it mean the system ports that are listening and that are vulnerable?



I'm pretty much confused what exactly a port scanner does.



Question 2: Ports that are open are basically ports that have the state "LISTENING" or "ESTABLISHED"?










share|improve this question













Question 1: I want to do a port scanner in Windows. What exactly is a port Scanner?
Its basically netstat -ano and showing the user what ports are open and the services behind it?



Or does it mean the system ports that are listening and that are vulnerable?



I'm pretty much confused what exactly a port scanner does.



Question 2: Ports that are open are basically ports that have the state "LISTENING" or "ESTABLISHED"?







windows port






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 15 at 12:42









Oxia

1




1




closed as off-topic by Ramhound, DavidPostill Nov 15 at 21:02


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Ramhound, DavidPostill Nov 15 at 21:02


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.












  • What exactly is a port Scanner? Port scanner sends packet(s) to some external node and port. If any answer is received the port is opened. The packet can be generic or special (adapted to some service which can be attached to this port).
    – Akina
    Nov 15 at 12:50










  • @Akina I scanned my windows using Solaris port scanner. I can see some ports as open apart from the ones shown in netstat. Any reason for this behaviour?
    – Oxia
    Nov 15 at 13:08










  • Your OS accepts any packet received from network (if packet destination is equal to any local interface address or the packet is broadcast/multicast of any type). Depending of packet parameters (protocol, port, source IP, etc.) OS can: 1) drop packet without answer; 2) send some answer by itself; 3) transmit packet to some service/application (including some OS service rather than IP stack) which will send some answer; 4) transmit packet to some service/application which will not send answer. Scanner shows ports from categories 2 and 3 whereas netstat - only from category 3.
    – Akina
    Nov 15 at 13:23




















  • What exactly is a port Scanner? Port scanner sends packet(s) to some external node and port. If any answer is received the port is opened. The packet can be generic or special (adapted to some service which can be attached to this port).
    – Akina
    Nov 15 at 12:50










  • @Akina I scanned my windows using Solaris port scanner. I can see some ports as open apart from the ones shown in netstat. Any reason for this behaviour?
    – Oxia
    Nov 15 at 13:08










  • Your OS accepts any packet received from network (if packet destination is equal to any local interface address or the packet is broadcast/multicast of any type). Depending of packet parameters (protocol, port, source IP, etc.) OS can: 1) drop packet without answer; 2) send some answer by itself; 3) transmit packet to some service/application (including some OS service rather than IP stack) which will send some answer; 4) transmit packet to some service/application which will not send answer. Scanner shows ports from categories 2 and 3 whereas netstat - only from category 3.
    – Akina
    Nov 15 at 13:23


















What exactly is a port Scanner? Port scanner sends packet(s) to some external node and port. If any answer is received the port is opened. The packet can be generic or special (adapted to some service which can be attached to this port).
– Akina
Nov 15 at 12:50




What exactly is a port Scanner? Port scanner sends packet(s) to some external node and port. If any answer is received the port is opened. The packet can be generic or special (adapted to some service which can be attached to this port).
– Akina
Nov 15 at 12:50












@Akina I scanned my windows using Solaris port scanner. I can see some ports as open apart from the ones shown in netstat. Any reason for this behaviour?
– Oxia
Nov 15 at 13:08




@Akina I scanned my windows using Solaris port scanner. I can see some ports as open apart from the ones shown in netstat. Any reason for this behaviour?
– Oxia
Nov 15 at 13:08












Your OS accepts any packet received from network (if packet destination is equal to any local interface address or the packet is broadcast/multicast of any type). Depending of packet parameters (protocol, port, source IP, etc.) OS can: 1) drop packet without answer; 2) send some answer by itself; 3) transmit packet to some service/application (including some OS service rather than IP stack) which will send some answer; 4) transmit packet to some service/application which will not send answer. Scanner shows ports from categories 2 and 3 whereas netstat - only from category 3.
– Akina
Nov 15 at 13:23






Your OS accepts any packet received from network (if packet destination is equal to any local interface address or the packet is broadcast/multicast of any type). Depending of packet parameters (protocol, port, source IP, etc.) OS can: 1) drop packet without answer; 2) send some answer by itself; 3) transmit packet to some service/application (including some OS service rather than IP stack) which will send some answer; 4) transmit packet to some service/application which will not send answer. Scanner shows ports from categories 2 and 3 whereas netstat - only from category 3.
– Akina
Nov 15 at 13:23

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...