Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I was wondering what would cause a firewall to block a TCP Java socket from connecting. What would trigger that?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

There are two main types of firewalls. The first type is the network kind where it simply blocks a port in general. It does this by simply not allowing a connection on that port, typically unless an outgoing connection is made on the port first. The other is an application firewall which runs on a client and restricts which applications specifically can access the network or be accessed by the network.

A firewall is going to block a particular TCP port simply because that is how it is configured. There isn't anything that "triggers" it. It's just the behavior of the device to not allow connections that aren't configured.

If it is an intrusion detection system rather than a simple firewall, there could be traffic analysis done on the data being exchanged and if suspicious activity is detected, then it could be configured to start blocking the port, but that's a more rare situation. If this covers your situation, you'd have to talk to the people that configured the IDS rules to know what caused the blocking.

share|improve this answer
    
Thanks! That helped! –  coding_corgi May 19 '13 at 2:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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