How to detect host not responding or firewall rule not implemented

May 06, 2009 1 Replies

Is there any scriptable way to know why a connection failed from the source? For example when a failure occurs...to know whether the connection was blocked by the firewall or it made it through but the remote host was not listening.



I submitted some firewall rules today which will be implemented before all the destination hosts are live on the network. In the past I put a perl script on each source server and controlled them from a central location to initiate a connection to each of the destinations to check the connectivity. In this case that will not work.


-Inet


It may also depend on whether the fw is in stealth mode or not, ie. was the connection actively refused, or did the connection sit there and timeout. both scenarios could happen in both situations.

Flamer.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required