User Tools
Writing /app/www/public/data/meta/watchdogs/ping.meta failed
watchdogs:ping
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| watchdogs:ping [2017/02/22 17:29] – [Trace Route] 1carew1 | watchdogs:ping [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Linux - Ping, trace route and TCP dump diagnostic utilities ====== | ||
| + | ===== Ping ===== | ||
| + | Used to determine if you can reach a server | ||
| + | |||
| + | A Successful Ping : | ||
| + | |||
| + | < | ||
| + | ping 8.8.8.8 | ||
| + | PING 8.8.8.8 (8.8.8.8): 56 data bytes | ||
| + | 64 bytes from 8.8.8.8: icmp_seq=0 ttl=57 time=12.892 ms | ||
| + | 64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=12.521 ms | ||
| + | </ | ||
| + | |||
| + | An unsuccessful ping | ||
| + | |||
| + | < | ||
| + | ping 8.8.8.9 | ||
| + | PING 8.8.8.9 (8.8.8.9): 56 data bytes | ||
| + | Request timeout for icmp_seq 0 | ||
| + | Request timeout for icmp_seq 1 | ||
| + | </ | ||
| + | |||
| + | Can be entered in CMD or Linux Terminal | ||
| + | ping <URL OR IP Address> | ||
| + | |||
| + | |||
| + | ===== Trace Route ===== | ||
| + | traceroute used to track route packets take to network host | ||
| + | |||
| + | Successful Traceroute | ||
| + | < | ||
| + | traceroute google.ie | ||
| + | traceroute to google.ie (216.58.194.195), | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 216.239.42.223 (216.239.42.223) | ||
| + | 10 209.85.253.248 (209.85.253.248) | ||
| + | 11 72.14.232.70 (72.14.232.70) | ||
| + | 12 209.85.251.139 (209.85.251.139) | ||
| + | 13 216.239.49.34 (216.239.49.34) | ||
| + | 14 209.85.249.62 (209.85.249.62) | ||
| + | 209.85.246.39 (209.85.246.39) | ||
| + | 15 108.170.242.225 (108.170.242.225) | ||
| + | 108.170.243.1 (108.170.243.1) | ||
| + | 16 108.170.237.105 (108.170.237.105) | ||
| + | 17 sfo03s01-in-f3.1e100.net (216.58.194.195) | ||
| + | </ | ||
| + | |||
| + | |||
| + | Unsuccessful Traceroute | ||
| + | < | ||
| + | traceroute 8.8.8.9 | ||
| + | traceroute to 8.8.8.9 (8.8.8.9), 64 hops max, 52 byte packets | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 209.85.252.198 (209.85.252.198) | ||
| + | | ||
| + | 216.239.50.243 (216.239.50.243) | ||
| + | 209.85.248.57 (209.85.248.57) | ||
| + | | ||
| + | 209.85.246.231 (209.85.246.231) | ||
| + | 209.85.253.108 (209.85.253.108) | ||
| + | 10 108.170.237.131 (108.170.237.131) | ||
| + | 108.170.232.7 (108.170.232.7) | ||
| + | 72.14.238.201 (72.14.238.201) | ||
| + | 11 * * * | ||
| + | 12 * * * | ||
| + | </ | ||
| + | Note recurring * * * means that it cannot reach the server | ||
| + | |||
| + | Can be entered in Linux Terminal | ||
| + | |||
| + | traceroute <IP or URL> | ||
| + | |||
| + | ===== TCP Dump ===== | ||
| + | A lot can be done with TCP Dump such as monitoring traffic on a specific ethernet port or wifi. A specific port on that device such as port 8080 can be monitored or the traffic from a certain ip address can be monitored. | ||
| + | |||
| + | The data from tcpdump can be sent to a file but please visit http:// | ||
| + | |||
| + | For a list of commonly used tcpdump commands. | ||
| + | |||
| + | Note as TCP may be listening on reserved ports you may need to run it as sudo | ||