What is the response from an open TCP port which is not behind a firewall

0 votes
If a TCP port is open and not behind a firewall, what should I expect the response to be when I send a SYN packet? Does the target system send a SYN-ACK back to indicate the port is open? Or, in cases where there’s no service listening on the port, will the system respond differently?
Jan 7 in Cyber Security & Ethical Hacking by Anupam
• 9,050 points
96 views

1 answer to this question.

0 votes

When you send a TCP SYN packet to a target system, the response varies based on the state of the destination port:

  • Open Port: If an application is actively listening on the port, the target system responds with a SYN-ACK packet, indicating readiness to establish a connection.

  • Closed Port: If no application is listening, the system responds with a RST (Reset) packet, signaling that the connection cannot be established.

  • Filtered Port: If a firewall or filter is present, it may block the SYN packet, resulting in no response or an ICMP unreachable error, indicating the port's status cannot be determined.

answered Jan 8 by CaLLmeDaDDY
• 15,040 points

Related Questions In Cyber Security & Ethical Hacking

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I check if a port is open in Nmap?

To check if a specific port is ...READ MORE

answered Jan 8 in Cyber Security & Ethical Hacking by CaLLmeDaDDY
• 15,040 points
30 views
0 votes
1 answer

What happens if an SSL certificate is not renewed?

When an SSL certificate expires and is ...READ MORE

answered Jan 10 in Cyber Security & Ethical Hacking by CaLLmeDaDDY
• 15,040 points
22 views
+1 vote
1 answer

How do you decrypt a ROT13 encryption on the terminal itself?

Yes, it's possible to decrypt a ROT13 ...READ MORE

answered Oct 17, 2024 in Cyber Security & Ethical Hacking by CaLLmeDaDDY
• 15,040 points
199 views
+1 vote
1 answer

How does the LIMIT clause in SQL queries lead to injection attacks?

The LIMIT clause in SQL can indeed ...READ MORE

answered Oct 17, 2024 in Cyber Security & Ethical Hacking by CaLLmeDaDDY
• 15,040 points
351 views
+1 vote
1 answer

Is it safe to use string concatenation for dynamic SQL queries in Python with psycopg2?

The use of string concatenation while building ...READ MORE

answered Oct 17, 2024 in Cyber Security & Ethical Hacking by CaLLmeDaDDY
• 15,040 points
199 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

Is it possible to get a list of services running on an open port?

Yes, it is possible to identify services ...READ MORE

answered Jan 7 in Cyber Security & Ethical Hacking by CaLLmeDaDDY
• 15,040 points
59 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP