Hey everyone I was wondering if you could take a look at my netstat that I ran... back to back with two totally amounts of IP addresses... Just thought it should be always one or always the other? Any advice/ criticism greatly appreciated.
mikes-computer:/ Michael$ netstat -nat | sed -n -e '/ESTABLISHED/p' | awk '{print $5}' | sed 's/\./ /g' | awk '{print $1"."$2"."$3"."$4}' | sort
17.110.228.89
216.58.216.170
216.58.217.193
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.219.33
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.38
216.58.219.38
216.58.219.38
216.58.219.41
216.58.219.41
74.125.20.108
74.125.20.109
74.125.20.109
74.125.20.109
74.125.20.94
74.125.25.95
mikes-computer:/ Michael$ netstat -nat | sed -n -e '/ESTABLISHED/p' | awk '{print $5}' | sed 's/\./ /g' | awk '{print $1"."$2"."$3"."$4}' | sort | uniq -c | sort -n
1 17.110.228.89
1 74.125.20.108
3 74.125.20.109
mikes-computer:/ Michael$ netstat -nat | sed -n -e '/ESTABLISHED/p' | awk '{print $5}' | sed 's/\./ /g' | awk '{print $1"."$2"."$3"."$4}' | sort
141.101.120.14
17.110.228.89
216.58.216.170
216.58.216.170
216.58.216.170
216.58.216.170
216.58.217.196
216.58.219.34
74.125.20.108
74.125.20.109
74.125.20.109
74.125.20.109
74.125.20.120
74.125.20.120
mikes-computer:/ Michael$ netstat -nat | sed -n -e '/ESTABLISHED/p' | awk '{print $5}' | sed 's/\./ /g' | awk '{print $1"."$2"."$3"."$4}' | sort
17.110.228.89
216.58.216.170
216.58.217.193
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.217.206
216.58.219.33
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.34
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.35
216.58.219.38
216.58.219.38
216.58.219.38
216.58.219.41
216.58.219.41
74.125.20.108
74.125.20.109
74.125.20.109
74.125.20.109
74.125.20.94
74.125.25.95
mikes-computer:/ Michael$ netstat -nat | sed -n -e '/ESTABLISHED/p' | awk '{print $5}' | sed 's/\./ /g' | awk '{print $1"."$2"."$3"."$4}' | sort | uniq -c | sort -n
1 17.110.228.89
1 74.125.20.108
3 74.125.20.109
mikes-computer:/ Michael$ netstat -nat | sed -n -e '/ESTABLISHED/p' | awk '{print $5}' | sed 's/\./ /g' | awk '{print $1"."$2"."$3"."$4}' | sort
141.101.120.14
17.110.228.89
216.58.216.170
216.58.216.170
216.58.216.170
216.58.216.170
216.58.217.196
216.58.219.34
74.125.20.108
74.125.20.109
74.125.20.109
74.125.20.109
74.125.20.120
74.125.20.120