Added Script to check Satellite IP CDN addresses#62
Open
red-tux wants to merge 2 commits intoRedHatSatellite:masterfrom
Open
Added Script to check Satellite IP CDN addresses#62red-tux wants to merge 2 commits intoRedHatSatellite:masterfrom
red-tux wants to merge 2 commits intoRedHatSatellite:masterfrom
Conversation
sthirugn
reviewed
Dec 15, 2020
| HAVE_NMAP=true | ||
| elif command -v nc &> /dev/null; then | ||
| echo "nmap not found, using nc" | ||
| HAVE_NMAP=false |
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 |
|
When I ran my python version, I saw similar results. |
Author
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Script to loop through IP addresses listed in kbase 1525183 to help determine if firewall ports have been adequately open.