Last active
March 1, 2024 13:09
-
-
Save jozefizso/ea489ba06e7fb28b917d28b74728ae59 to your computer and use it in GitHub Desktop.
Slido network connectivity test
This file contains 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
:: | |
:: Slido network connectivity test, AWS v2 | |
:: | |
:: (c) 2024 Cisco Systems, Inc. All rights reserved. | |
:: | |
@echo off | |
setlocal | |
setlocal enableextensions enabledelayedexpansion | |
mkdir logs | |
set /a c=1 | |
for /F "tokens=*" %%x in (aws.txt) do ( | |
echo Server !c! at ^[%%x^] | |
curl -m 3 -6 --verbose -s "https://m.cf.bondarev.me/" --resolve "m.cf.bondarev.me:443:[%%x]" > logs-defaults\server!c!.log 2>&1 | |
:: curl -m 3 -6 --verbose -s "https://m.cf.bondarev.me/" --resolve "m.cf.bondarev.me:443:[%%x]" --tls-max 1.2 > logs-tlsmax12\server!c!.log 2>&1 | |
set /a c += 1 | |
) |
This file contains 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
2600:9000:2530:d000:e:12d2:2dc0:93a1 | |
2600:9000:2530:ea00:e:12d2:2dc0:93a1 | |
2600:9000:2530:7a00:e:12d2:2dc0:93a1 | |
2600:9000:2530:2c00:e:12d2:2dc0:93a1 | |
2600:9000:2530:400:e:12d2:2dc0:93a1 | |
2600:9000:2530:e200:e:12d2:2dc0:93a1 | |
2600:9000:2530:7400:e:12d2:2dc0:93a1 | |
2600:9000:2530:a400:e:12d2:2dc0:93a1 | |
2600:9000:2449:ea00:e:12d2:2dc0:93a1 | |
2600:9000:2449:de00:e:12d2:2dc0:93a1 | |
2600:9000:2449:6000:e:12d2:2dc0:93a1 | |
2600:9000:2449:9c00:e:12d2:2dc0:93a1 | |
2600:9000:2449:3200:e:12d2:2dc0:93a1 | |
2600:9000:2449:4000:e:12d2:2dc0:93a1 | |
2600:9000:2449:5600:e:12d2:2dc0:93a1 | |
2600:9000:2449:dc00:e:12d2:2dc0:93a1 | |
2600:9000:221c:6400:e:12d2:2dc0:93a1 | |
2600:9000:2224:e800:e:12d2:2dc0:93a1 | |
2600:9000:2352:de00:e:12d2:2dc0:93a1 | |
2600:9000:221c:0:e:12d2:2dc0:93a1 | |
2600:9000:2224:be00:e:12d2:2dc0:93a1 | |
2600:9000:2224:5c00:e:12d2:2dc0:93a1 | |
2600:9000:2224:b600:e:12d2:2dc0:93a1 | |
2600:9000:2224:b000:e:12d2:2dc0:93a1 | |
2600:9000:211e:5000:e:12d2:2dc0:93a1 | |
2600:9000:211e:f400:e:12d2:2dc0:93a1 | |
2600:9000:211e:ba00:e:12d2:2dc0:93a1 | |
2600:9000:211e:ec00:e:12d2:2dc0:93a1 | |
2600:9000:211e:5600:e:12d2:2dc0:93a1 | |
2600:9000:211e:4800:e:12d2:2dc0:93a1 | |
2600:9000:211e:2a00:e:12d2:2dc0:93a1 | |
2600:9000:211e:ce00:e:12d2:2dc0:93a1 | |
2600:9000:20be:3a00:e:12d2:2dc0:93a1 | |
2600:9000:20be:5200:e:12d2:2dc0:93a1 | |
2600:9000:20be:d600:e:12d2:2dc0:93a1 | |
2600:9000:20be:9800:e:12d2:2dc0:93a1 | |
2600:9000:20be:7c00:e:12d2:2dc0:93a1 | |
2600:9000:20be:2200:e:12d2:2dc0:93a1 | |
2600:9000:20be:8c00:e:12d2:2dc0:93a1 | |
2600:9000:20be:b000:e:12d2:2dc0:93a1 |
This file contains 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
:: | |
:: Slido network connectivity test | |
:: | |
:: (c) 2024 Cisco Systems, Inc. All rights reserved. | |
:: | |
@echo off | |
setlocal | |
set URL=https://api.slido.com/api/latest/ping | |
mkdir SlidoNetworkLogs | |
echo Testing connectivity to %URL% | |
echo TLSv1.0 | |
curl -m 3 --trace - -s "%URL%" --tlsv1.0 > SlidoNetworkLogs\slido-api-tlsv1.0.log 2>&1 | |
echo TLSv1.1 | |
curl -m 3 --trace - -s "%URL%" --tlsv1.1 > SlidoNetworkLogs\slido-api-tlsv1.1.log 2>&1 | |
echo TLSv1.2 | |
curl -m 3 --trace - -s "%URL%" --tlsv1.2 > SlidoNetworkLogs\slido-api-tlsv1.2.log 2>&1 | |
echo TLSv1.3 | |
curl -m 3 --trace - -s "%URL%" --tlsv1.3 > SlidoNetworkLogs\slido-api-tlsv1.3.log 2>&1 | |
echo TLS max v1.0 | |
curl -m 3 --trace - -s "%URL%" --tls-max 1.0 > SlidoNetworkLogs\slido-api-tls-max-v1.0.log 2>&1 | |
echo TLS max v1.1 | |
curl -m 3 --trace - -s "%URL%" --tls-max 1.1 > SlidoNetworkLogs\slido-api-tls-max-v1.1.log 2>&1 | |
echo TLS max v1.2 | |
curl -m 3 --trace - -s "%URL%" --tls-max 1.2 > SlidoNetworkLogs\slido-api-tls-max-v1.2.log 2>&1 | |
echo TLS max v1.3 | |
curl -m 3 --trace - -s "%URL%" --tls-max 1.3 > SlidoNetworkLogs\slido-api-tls-max-v1.3.log 2>&1 | |
echo Capturing log files | |
tar -a -cf SlidoNetworkLogs.zip SlidoNetworkLogs/*.* | |
rmdir /s /q SlidoNetworkLogs | |
echo Please send the SlidoNetworkLogs.zip file to the support team for further analysis. | |
pause |
This file contains 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
:: | |
:: Slido network connectivity test, v2 | |
:: | |
:: (c) 2024 Cisco Systems, Inc. All rights reserved. | |
:: | |
@echo off | |
setlocal | |
setlocal enableextensions enabledelayedexpansion | |
set URL=https://api.slido.com/api/latest/ping | |
mkdir SlidoNetworkLogs | |
echo Testing connectivity to %URL% | |
set /a c=1 | |
for /F %%x in ('dig api.slido.com AAAA +short') do ( | |
echo Server %%x !c! | |
echo TLSv1.0 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tlsv1.0 > SlidoNetworkLogs\slido-api-server!c!-tlsv1.0.log 2>&1 | |
echo TLSv1.1 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tlsv1.1 > SlidoNetworkLogs\slido-api-server!c!-tlsv1.1.log 2>&1 | |
echo TLSv1.2 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tlsv1.2 > SlidoNetworkLogs\slido-api-server!c!-tlsv1.2.log 2>&1 | |
echo TLSv1.3 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tlsv1.3 > SlidoNetworkLogs\slido-api-server!c!-tlsv1.3.log 2>&1 | |
echo TLS max v1.0 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tls-max 1.0 > SlidoNetworkLogs\slido-api-server!c!-tls-max-v1.0.log 2>&1 | |
echo TLS max v1.1 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tls-max 1.1 > SlidoNetworkLogs\slido-api-server!c!-tls-max-v1.1.log 2>&1 | |
echo TLS max v1.2 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tls-max 1.2 > SlidoNetworkLogs\slido-api-server!c!-tls-max-v1.2.log 2>&1 | |
echo TLS max v1.3 | |
curl -m 3 -6 --verbose -s "%URL%" --connect-to "%URL%:443:[%%x]:443" --tls-max 1.3 > SlidoNetworkLogs\slido-api-server!c!-tls-max-v1.3.log 2>&1 | |
set /a c += 1 | |
) | |
echo Capturing log files | |
tar -a -cf SlidoNetworkLogs.zip SlidoNetworkLogs/*.* | |
:: rmdir /s /q SlidoNetworkLogs | |
echo Please send the SlidoNetworkLogs.zip file to the support team for further analysis. | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment