Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Script to check Satellite IP CDN addresses #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

red-tux
Copy link

@red-tux red-tux commented Dec 14, 2020

Script to loop through IP addresses listed in kbase 1525183 to help determine if firewall ports have been adequately open.

HAVE_NMAP=true
elif command -v nc &> /dev/null; then
echo "nmap not found, using nc"
HAVE_NMAP=false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sthirugn
Copy link
Collaborator

When I ran the script, it said 11 are not open, is that expected?

# chmod +x check_satellite_ip.sh 
#./check_satellite_ip.sh 
nmap not found, using nc
104.67.28.83  ok
104.68.188.83  ok
104.76.92.83  ok
104.78.76.83  ok
104.81.246.83  ok
104.82.76.83  ok
104.83.76.83  ok
104.83.82.83  ok
104.83.92.83  ok
104.91.156.90  ok
104.94.102.83  Not open
104.98.240.125  ok
114.108.188.251  ok
173.222.100.251  ok
173.222.116.251  ok
173.222.140.251  ok
173.222.144.251  ok
173.222.152.251  ok
173.222.164.251  ok
173.222.188.251  ok
173.222.192.251  ok
173.222.204.251  ok
173.222.212.251  ok
173.222.216.251  ok
173.222.224.251  ok
173.222.244.251  Not open
173.223.140.251  ok
173.223.152.251  ok
173.223.172.251  ok
173.223.228.251  ok
173.223.36.251  ok
173.223.48.251  ok
173.223.92.83  ok
173.223.96.251  Not open
182.51.200.251  ok
184.26.176.251  Not open
184.26.180.251  Not open
184.27.248.251  ok
184.27.40.251  ok
184.50.16.251  ok
184.51.24.251  ok
184.51.36.251  ok
184.51.48.251  ok
184.51.68.251  ok
184.84.184.251  ok
184.84.188.251  ok
184.84.192.251  ok
184.84.196.251  ok
184.84.200.251  ok
184.86.236.251  ok
2.16.128.83  ok
2.16.212.251  ok
2.16.30.83  ok
2.17.124.251  ok
2.18.220.251  ok
2.20.12.251  Not open
2.21.145.130  ok
2.22.0.251  ok
2.22.12.251  ok
2.22.220.83  ok
209.132.183.107  ok
209.132.183.108  ok
23.0.172.83  ok
23.0.230.83  ok
23.0.236.83  ok
23.1.188.83  ok
23.1.44.251  ok
23.1.8.251  ok
23.10.12.83  ok
23.10.60.83  ok
23.12.236.83  ok
23.13.176.251  ok
23.13.44.83  ok
23.14.44.83  ok
23.15.132.83  ok
23.15.204.251  ok
23.15.248.251  ok
23.194.220.83  ok
23.194.236.91  ok
23.197.60.83  ok
23.198.104.83  ok
23.198.106.83  ok
23.204.100.83  ok
23.206.76.83  ok
23.207.148.112  ok
23.212.102.83  ok
23.214.72.83  ok
23.215.140.83  ok
23.221.20.83  ok
23.222.172.83  ok
23.223.76.83  ok
23.3.140.251  ok
23.3.247.117  ok
23.32.12.83  ok
23.38.116.83  ok
23.40.12.83  ok
23.42.76.83  ok
23.45.224.251  ok
23.46.2.83  ok
23.48.80.251  ok
23.49.52.251  ok
23.5.124.83  Not open
23.50.99.181  ok
23.51.12.83  ok
23.51.156.83  ok
23.52.60.20  ok
23.54.12.83  ok
23.57.112.251  ok
23.57.124.251  ok
23.58.0.251  ok
23.58.148.251  ok
23.58.8.251  ok
23.58.90.83  ok
23.59.92.251  ok
23.60.144.251  ok
23.61.12.251  Not open
23.61.124.251  ok
23.63.144.251  ok
23.63.150.83  ok
23.63.16.251  ok
23.64.142.83  ok
23.64.4.251  ok
23.64.56.251  ok
23.65.16.251  ok
23.65.200.83  ok
23.65.216.83  ok
23.66.152.83  ok
23.66.40.83  ok
23.75.218.83  Not open
59.151.136.251  ok
72.246.48.83  ok
72.247.112.251  ok
72.247.116.251  ok
88.221.236.251  ok
88.221.44.251  ok
88.221.56.251  Not open
95.100.244.251  ok
95.101.100.251  ok
95.101.104.251  ok
95.101.152.251  ok
95.101.156.251  ok
95.101.160.251  ok
95.101.164.251  ok
95.101.188.251  ok
95.101.4.251  ok
95.101.44.251  ok
95.101.48.251  ok
95.101.56.251  ok
95.101.60.251  Not open
95.101.64.251  ok
95.101.84.251  ok
95.101.92.251  ok
95.101.96.251  ok
96.17.0.251  ok
96.6.32.251  ok
96.6.36.251  ok
11 out of 156 hosts are not open

@Greek-Fire
Copy link

When I ran my python version, I saw similar results.

@red-tux
Copy link
Author

red-tux commented Dec 16, 2020

When I ran the script, it said 11 are not open, is that expected?

chmod +x check_satellite_ip.sh

#./check_satellite_ip.sh
nmap not found, using nc
<>
11 out of 156 hosts are not open

Yes, I saw similar results on my host as well. What was interesting was that nmap and nc would not return the same number. Nmap I believe showed 10 hosts not responding, vs 11 for nc. The difference was not significant enough for me to want to spend the time to figure out what was happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants