ping is blocked hwo to check connection


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ping is blocked hwo to check connection
# 1  
Old 03-18-2009
ping is blocked hwo to check connection

Hi

How to check connection with another IP/Server not using ping?

Thanks
# 2  
Old 03-18-2009
telnet ip port
# 3  
Old 03-18-2009
and what about using netstat?
# 4  
Old 03-18-2009
how about traceroute
# 5  
Old 03-18-2009
how about spray?
# 6  
Old 03-18-2009
Error

You are asking a rather complex question. The target may be in a completely defensive posture and thus, there will be no indirect way of ascertaining the status of the machine.

If time is not a consideration *and* if the machine is reachable *and* the machine will return any result from a port scan, then "nmap" may be the solution.

Nmap - Wikipedia, the free encyclopedia
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check internet connection?

Hello, I need a simple shell script that returns a value if the system is internet connected and a different value if the system is not connected. Can anyone please help? Thanks Daniele (3 Replies)
Discussion started by: dcaccount
3 Replies

2. Red Hat

Is connection possible without ping request

I have a question which is conceptual in nature, is it possible to receive traffic from a remote host to my host machine even if the ping from host to remote machine is not happening in Linux( Red Hat). I hope my question is clear that is it possible for a connection to happen from a host to... (1 Reply)
Discussion started by: RHCE
1 Replies

3. Shell Programming and Scripting

check the DB connection through Unix

Hi all, I have written the script to check the connectivity of the Database ,the scripts show me the correct error when i try to give the wrong credential's but it also show Connected and trigger's the child jobs which that should not happen , whenever the connection is not established properly... (2 Replies)
Discussion started by: bshivali
2 Replies

4. Shell Programming and Scripting

How to check sftp connection

Hi All, in our system , the sftp server is continuously up. but suddenly it is brought down. how can i find out the reason behind of these , is their any log files or how can i check the connectvity with sftp. please help me to solve this issue (1 Reply)
Discussion started by: aish11
1 Replies

5. Solaris

PING broken check

Dear All, Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames. If ping response is not responding(i.e when hostname is not alive) then this cmd to be executed : opcmsg object=PING a=OS msg_grp=win-ping severity=critical... (20 Replies)
Discussion started by: mjoshi87
20 Replies

6. Programming

TCP connection check

Hi. I am writing client - server application using TCP sockets. I need some very basic functionality, namely: how to check if another "participant" of the connection is still present? I want to handle situations, when client is gone, or server breaks down, etc. (25 Replies)
Discussion started by: Shang
25 Replies

7. Shell Programming and Scripting

[ASK] How to check whether ipv4 or ipv6 and ping those IP

I have perl script that I use to check and ping a list of ip, The problem is, I didnt understand how to ping ipv6 on perl, Could I use Ping::External??And how could I get the ping result (reply or not)? This is my code #!/usr/bin/perl -- use Net::Ping; use Data::Validate::IP; use... (3 Replies)
Discussion started by: franzramadhan
3 Replies

8. UNIX for Dummies Questions & Answers

check Internet connection?

I am using SUSE OS and want to check internet connection... I have tried: ping -c3 google.com The output i have got is: Unknown host google.com does it means that i do not have Internet connection?? Or please help me with any Command to find Internet connection? Thanks for any help. (1 Reply)
Discussion started by: salil2012
1 Replies

9. Solaris

Check SSH Connection .. help ..

I've script where i check connection to many hosts ... it take input from HOSTLIST.txt Ex. cat HOSTLIST.txt host1 host2 while read HOSTNAME do echo $HOSTNAME ssh -o "BatchMode=yes" ${HOSTNAME} "echo 2>&1" $$ echo flag=0 || flag=1; if ; then echo "No SSH... (3 Replies)
Discussion started by: prash184u
3 Replies

10. UNIX for Advanced & Expert Users

hwo do I print ' in an awk statment?

hi 2 all, I'm trying 2 print " ' " in an awk statement but the sign deosn't show. The only way I came with is 2 declare the ' as a variable and call that variable. I'm trying 2 do: awk '{printf("insert into ba_memo_01 values ('%s');",$1)}' and get the output: insert into ba_memo_01 values... (7 Replies)
Discussion started by: baraka
7 Replies
Login or Register to Ask a Question