- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Testing Firewall connections
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2009 09:46 AM
03-31-2009 09:46 AM
Most of the WebServers are deployed in DMZ zones.
Sometime we used to test the connections with ping,telnet, and ssh etc.
But sometime they have configured not to respond to any connections
via ping,telnet,and ssh.
I have seen some socket, sock method of testing the connections some places.
Not sure how it works ? Any idea ??
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2009 09:53 AM
03-31-2009 09:53 AM
Re: Testing Firewall connections
$ telnet {destination} {port number}
If you can get a login prompt, then it is available. Otherwise, not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2009 10:36 AM
03-31-2009 10:36 AM
Re: Testing Firewall connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2009 11:56 AM
03-31-2009 11:56 AM
SolutionThere is more than one way "not to respond".
For example, normally, a "Connection refused"
complaint (errno = ECONNREFUSED) means that
you reached the destination system, but
there's no one listening (or configured to
respond) at that port.
A fancy firewall could be arranged to respond
in many ways to a connection attempt, so it's
not clear that you can ever really know
what's on the other side.
Much depends on exactly what you mean by
"test the connections". If I wished to test
a Web server, I'd probably ask it to do what
it's intended to do. That is, I'd use a
program like wget to try to fetch a Web page.
It's pretty easy to write a script (for cron
to run periodically) which will try to fetch
a test page, and send an e-mail notification
to someone who might care if it fails. (I do
this on my VMS system, using a
self-resubmitting batch job, but the concept
is essentially similar.)
What, exactly, are you trying to test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2009 01:36 PM
03-31-2009 01:36 PM